<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git, branch th/cloud-setup-testable</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>cloud-setup: log about cancellation of provider detection</title>
<updated>2023-05-17T18:27:56+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2023-05-17T11:41:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=fc2e425098ffc734710f430e9b14204d57c728fb'/>
<id>fc2e425098ffc734710f430e9b14204d57c728fb</id>
<content type='text'>
Otherwise, the logging output is confusing as it's not clear what happened about
the provider detection.

Also, don't return from _provider_detect() unless all pending callbacks
returned. It is ugly to leave callbacks pending, because they will be
later dispatched when the caller iterates the GMainContext further.
Instead, cancel pending operations bug keep running until we processed
all cancellation callbacks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, the logging output is confusing as it's not clear what happened about
the provider detection.

Also, don't return from _provider_detect() unless all pending callbacks
returned. It is ugly to leave callbacks pending, because they will be
later dispatched when the caller iterates the GMainContext further.
Instead, cancel pending operations bug keep running until we processed
all cancellation callbacks.
</pre>
</div>
</content>
</entry>
<entry>
<title>cloud-setup: debug log when URL is mocked</title>
<updated>2023-05-17T18:27:56+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2023-05-16T12:31:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ca0c68722b0576e843334b4778a5418618504300'/>
<id>ca0c68722b0576e843334b4778a5418618504300</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cloud-setup: move implementation of getters for base URL to macro</title>
<updated>2023-05-17T18:27:56+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2023-05-16T12:01:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=4525f0d3334800f3fb1980a7a69413549218396f'/>
<id>4525f0d3334800f3fb1980a7a69413549218396f</id>
<content type='text'>
It's the same code, four times. And once it was messed up.
Move the definition of the function to a macro.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's the same code, four times. And once it was messed up.
Move the definition of the function to a macro.
</pre>
</div>
</content>
</entry>
<entry>
<title>cloud-setup: allow mapping device for testing</title>
<updated>2023-05-17T18:27:56+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2023-05-15T18:01:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=1757e78c7faa386cc7dfb710599aa29ab6984a2e'/>
<id>1757e78c7faa386cc7dfb710599aa29ab6984a2e</id>
<content type='text'>
In production systems, the associate an interface by their permanate MAC address.
For testing and CI, we may want to hook that. That allows for example to run
nm-cloud-setup on a veth interface, which doesn't have a permanent MAC address.

This is only for testing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In production systems, the associate an interface by their permanate MAC address.
For testing and CI, we may want to hook that. That allows for example to run
nm-cloud-setup on a veth interface, which doesn't have a permanent MAC address.

This is only for testing.
</pre>
</div>
</content>
</entry>
<entry>
<title>cloud-setup: refactor handling of environment variables</title>
<updated>2023-05-17T18:27:56+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2023-05-15T15:46:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=83f928652f27751cea9f23476780b054906a20eb'/>
<id>83f928652f27751cea9f23476780b054906a20eb</id>
<content type='text'>
Previously, there was NMCS_ENV_VARIABLE() macro. That macro did nothing,
it merely acted as something to grep for, when searching the source for
which environment variables nm-cloud-setup honors. That is an
interesting thing to know, because nm-cloud-setup is configured via
environment variables.

Change that. Instead add a define for each environment variable. You can
now instead grep for "NMCS_ENV_" to find them all.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, there was NMCS_ENV_VARIABLE() macro. That macro did nothing,
it merely acted as something to grep for, when searching the source for
which environment variables nm-cloud-setup honors. That is an
interesting thing to know, because nm-cloud-setup is configured via
environment variables.

Change that. Instead add a define for each environment variable. You can
now instead grep for "NMCS_ENV_" to find them all.
</pre>
</div>
</content>
</entry>
<entry>
<title>cloud-setup: fix _aliyun_base() initializing base URL</title>
<updated>2023-05-17T18:27:56+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2023-05-16T11:28:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=c052649af3f573fe1305aa4da521e467b2712fdd'/>
<id>c052649af3f573fe1305aa4da521e467b2712fdd</id>
<content type='text'>
Fixes: f3404435a9fb ('cloud-setup: configure secondary ip in Aliyun cloud')
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: f3404435a9fb ('cloud-setup: configure secondary ip in Aliyun cloud')
</pre>
</div>
</content>
</entry>
<entry>
<title>test-cloud-meta-mock: allow configuring the provider that are mimicked</title>
<updated>2023-05-17T18:27:56+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2023-05-16T14:32:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=7b483e24c5008917556597b5630b5d207c5f47d5'/>
<id>7b483e24c5008917556597b5630b5d207c5f47d5</id>
<content type='text'>
"test-cloud-meta-mock.py" needs to be mocked, so it only replies
to stuff that we tell it to. Except for the API token, that is
pushed by the client.

We need to be able to tell the mock whether it supports that API
or not. By default it does, but by setting "/.nmtest/providers"
we can limit that.

The DEFAULT_RESOURCE are not grouped by provider. If a path is not
explicitly mocked, we may fallback to the DEFAULT_RESOURCE, but only if
the respective "/.nmtest/providers" is enabled and if /.nmtest/allow-default"
indicates so.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"test-cloud-meta-mock.py" needs to be mocked, so it only replies
to stuff that we tell it to. Except for the API token, that is
pushed by the client.

We need to be able to tell the mock whether it supports that API
or not. By default it does, but by setting "/.nmtest/providers"
we can limit that.

The DEFAULT_RESOURCE are not grouped by provider. If a path is not
explicitly mocked, we may fallback to the DEFAULT_RESOURCE, but only if
the respective "/.nmtest/providers" is enabled and if /.nmtest/allow-default"
indicates so.
</pre>
</div>
</content>
</entry>
<entry>
<title>test-cloue-meta-mock: add and use helper to send response code</title>
<updated>2023-05-17T18:08:20+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2023-05-17T15:09:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=b1dac4b9fbaea8d5b9938625f3fd97d2c03270e0'/>
<id>b1dac4b9fbaea8d5b9938625f3fd97d2c03270e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test-cloue-meta-mock: update default MAC address for test-cloud-meta-mock.py</title>
<updated>2023-05-17T17:23:50+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2023-05-15T18:45:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=b3f8eb06dc2e198820ff70c17c075a2d0024ec62'/>
<id>b3f8eb06dc2e198820ff70c17c075a2d0024ec62</id>
<content type='text'>
Choose a MAC address that is easily recognizable. And where you can
see which is mac1 and mac2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Choose a MAC address that is easily recognizable. And where you can
see which is mac1 and mac2.
</pre>
</div>
</content>
</entry>
<entry>
<title>release: bump version to 1.43.8 (development)</title>
<updated>2023-05-16T15:18:21+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2023-05-16T15:18:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=b05cc4aa0ae6135ae24285470e82f93f4a6ffd2c'/>
<id>b05cc4aa0ae6135ae24285470e82f93f4a6ffd2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
