<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/src, branch lr/device-conn</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>device: penalize default route metrics for connectivity failures</title>
<updated>2017-03-28T13:26:47+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2017-03-27T15:22:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=6b7e9f9b225e81d365fd95901a88a7bc59c1eb39'/>
<id>6b7e9f9b225e81d365fd95901a88a7bc59c1eb39</id>
<content type='text'>
This makes it possible to retain Internet connectivity when multiple devices
have a default route, but one with the link type of a higher priority can not
reach the Internet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it possible to retain Internet connectivity when multiple devices
have a default route, but one with the link type of a higher priority can not
reach the Internet.
</pre>
</div>
</content>
</entry>
<entry>
<title>core: make connectivity checking per-device</title>
<updated>2017-03-28T13:26:47+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2017-03-20T13:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=9d43869e473b47542520c807dace93a6f9520964'/>
<id>9d43869e473b47542520c807dace93a6f9520964</id>
<content type='text'>
This moves tracking of connectivity to NMDevice and makes the NMManager
negotiate the best of known connectivity states of devices. The NMConnectivity
singleton handles its own configuration and scheduling of the permission
checks, but otherwise greatly simplifies it.

This will be useful to determine correct metrics for multiple default routes
depending on actual internet connectivity.

The per-device connection checks is not yet exposed on the D-Bus, since they
probably should be per-address-family as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This moves tracking of connectivity to NMDevice and makes the NMManager
negotiate the best of known connectivity states of devices. The NMConnectivity
singleton handles its own configuration and scheduling of the permission
checks, but otherwise greatly simplifies it.

This will be useful to determine correct metrics for multiple default routes
depending on actual internet connectivity.

The per-device connection checks is not yet exposed on the D-Bus, since they
probably should be per-address-family as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/general: allow error margin on comparing floats</title>
<updated>2017-03-28T11:52:27+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2017-03-28T11:33:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a482fbe1b6ace34f98d17e8526a2daad5a497bcb'/>
<id>a482fbe1b6ace34f98d17e8526a2daad5a497bcb</id>
<content type='text'>
Fixes test on Fedora/i686.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes test on Fedora/i686.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/lldp: skip test if there's no Tun device</title>
<updated>2017-03-28T11:52:26+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2017-03-28T10:50:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=1f623bacbfdef5438522844c87138ef9418f8d1c'/>
<id>1f623bacbfdef5438522844c87138ef9418f8d1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove assertion for empty DHCP options</title>
<updated>2017-03-28T04:50:54+00:00</updated>
<author>
<name>Alfonso Sánchez-Beato</name>
<email>alfonso.sanchez-beato@canonical.com</email>
</author>
<published>2017-03-27T15:18:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=76cf0e590fff7206378f46568782d3b7244c2ad5'/>
<id>76cf0e590fff7206378f46568782d3b7244c2ad5</id>
<content type='text'>
It turns out that some routers return responses to DHCP6
Information-request messages that do not contain any of the options
that we insert in the "options" table. When that happened and the
info-only flag for DHCP6 was set, the assertion was triggered and
NetworkManager crashed. We remove the assertion as having empty options
is a possibility and is harmless anyway. This happened while using the
internal dhclient.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It turns out that some routers return responses to DHCP6
Information-request messages that do not contain any of the options
that we insert in the "options" table. When that happened and the
info-only flag for DHCP6 was set, the assertion was triggered and
NetworkManager crashed. We remove the assertion as having empty options
is a possibility and is harmless anyway. This happened while using the
internal dhclient.
</pre>
</div>
</content>
</entry>
<entry>
<title>manager: sort slaves to be autoconnected by device name</title>
<updated>2017-03-27T19:51:55+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2017-03-02T15:14:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=529a0a1a7f19614623f83e578c1e8d38c71f3555'/>
<id>529a0a1a7f19614623f83e578c1e8d38c71f3555</id>
<content type='text'>
Autoconnect slaves based on device name order instead of activation
timestamp.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autoconnect slaves based on device name order instead of activation
timestamp.
</pre>
</div>
</content>
</entry>
<entry>
<title>manager: rework find_slaves() to return the matching device</title>
<updated>2017-03-27T19:51:55+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2017-02-24T08:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=826f510303b0e8ef2c9ff64c83b144038b6ad2ae'/>
<id>826f510303b0e8ef2c9ff64c83b144038b6ad2ae</id>
<content type='text'>
Perform the lookup for a matching device earlier, so that in
autoconnect_slaves() we already know which device a connection is
being activated on. This will be needed to sort the returned
connections by interface name.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Perform the lookup for a matching device earlier, so that in
autoconnect_slaves() we already know which device a connection is
being activated on. This will be needed to sort the returned
connections by interface name.
</pre>
</div>
</content>
</entry>
<entry>
<title>manager: change nm_manager_get_best_device_for_connection() signature</title>
<updated>2017-03-27T19:51:55+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2017-02-24T08:08:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=7fd987f7becc16cfca8092caba4d085c7dd512c1'/>
<id>7fd987f7becc16cfca8092caba4d085c7dd512c1</id>
<content type='text'>
Add a @unavailable_devices argument that specifies an hash table of
devices to be excluded from the search.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a @unavailable_devices argument that specifies an hash table of
devices to be excluded from the search.
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: sort links by name instead of ifindex</title>
<updated>2017-03-27T19:51:55+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2017-02-23T17:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=39d0559d9a7a2fe334d0f730f397fc7872a89faa'/>
<id>39d0559d9a7a2fe334d0f730f397fc7872a89faa</id>
<content type='text'>
We should try to guarantee a stable activation order of connections
across reboots; this is required, for example, for bonds because they
get assigned the MAC address of the first device enslaved, and thus
changing the activation order of slaves means also changing the MAC
address of the bond. Since we activate connections in the order links
are discovered, having a stable sorting of links returned by platform
is enough.

The ifindex of interfaces can change between reboots as it depends on
the order in which kernel discover interfaces. Provided that the
system uses a mechanism to enforce persistent interface naming (as
udev rules or systemd-udevd predictable names), and that NM starts
after all interfaces have been announced by udev, using the interface
name instead of ifindex will guarantee a consistent order.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We should try to guarantee a stable activation order of connections
across reboots; this is required, for example, for bonds because they
get assigned the MAC address of the first device enslaved, and thus
changing the activation order of slaves means also changing the MAC
address of the bond. Since we activate connections in the order links
are discovered, having a stable sorting of links returned by platform
is enough.

The ifindex of interfaces can change between reboots as it depends on
the order in which kernel discover interfaces. Provided that the
system uses a mechanism to enforce persistent interface naming (as
udev rules or systemd-udevd predictable names), and that NM starts
after all interfaces have been announced by udev, using the interface
name instead of ifindex will guarantee a consistent order.
</pre>
</div>
</content>
</entry>
<entry>
<title>manager: check that slaves connection have a compatible device</title>
<updated>2017-03-27T19:51:55+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2017-02-23T17:15:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=52b1f0415d558d02afb62f01c8abac75a2ee245b'/>
<id>52b1f0415d558d02afb62f01c8abac75a2ee245b</id>
<content type='text'>
When slave connections are autoactivated as dependency to master we
don't check if a compatible device is available before trying to
activate them, leading to the following failed assertion:

 nm_act_request_new: assertion 'NM_IS_DEVICE (device)' failed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When slave connections are autoactivated as dependency to master we
don't check if a compatible device is available before trying to
activate them, leading to the following failed assertion:

 nm_act_request_new: assertion 'NM_IS_DEVICE (device)' failed
</pre>
</div>
</content>
</entry>
</feed>
