<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git, branch th/bgo735512_route_metric-1</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>WIP: core: always add default routes on a device just as non-default routes</title>
<updated>2014-10-12T20:31:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-08-28T22:03:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=3f69af3d08b8da490dae72df960ce2c4b756a350'/>
<id>3f69af3d08b8da490dae72df960ce2c4b756a350</id>
<content type='text'>
I will add a NMDefaultRouteManager instance. Devices will call
update(manager, device), and the manager will handle all the default
routes.

that is needed, to remove duplicate default routes with the same
metric.

NMPolicy also can check there, who has the default route. signals,
properties, all the great stuff is yet to come...

This class is needed, to move functionality (handling of default routes)
our of NMPolicy (which is overcrowded already).

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I will add a NMDefaultRouteManager instance. Devices will call
update(manager, device), and the manager will handle all the default
routes.

that is needed, to remove duplicate default routes with the same
metric.

NMPolicy also can check there, who has the default route. signals,
properties, all the great stuff is yet to come...

This class is needed, to move functionality (handling of default routes)
our of NMPolicy (which is overcrowded already).

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: add nm_ipX_config_get_default_route() functions</title>
<updated>2014-10-12T20:31:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-08-29T07:40:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=b27e3a378371540b7f729522f44cf4452511a722'/>
<id>b27e3a378371540b7f729522f44cf4452511a722</id>
<content type='text'>
Add functions nm_ip4_config_get_default_route() and
nm_ip6_config_get_default_route() to search for a default
route in NMIP4Config and NMIP6Config.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add functions nm_ip4_config_get_default_route() and
nm_ip6_config_get_default_route() to search for a default
route in NMIP4Config and NMIP6Config.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: add nm_ipX_config_get_direct_route_for_host() functions</title>
<updated>2014-10-12T20:31:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-08-28T21:36:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=14bd6830d5fc8f0bf79039e4b5d971e398f81f50'/>
<id>14bd6830d5fc8f0bf79039e4b5d971e398f81f50</id>
<content type='text'>
add two functions nm_ip4_config_get_direct_route_for_host()
and nm_ip6_config_get_direct_route_for_host() to check if we have
a direct (non-gw) route to a certain host.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add two functions nm_ip4_config_get_direct_route_for_host()
and nm_ip6_config_get_direct_route_for_host() to check if we have
a direct (non-gw) route to a certain host.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: add nm_utils_ip6_route_metric_normalize() function</title>
<updated>2014-10-12T20:31:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-08-29T08:06:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=6ade8de1d49157ac8cfcdf38215cd6360ad4372a'/>
<id>6ade8de1d49157ac8cfcdf38215cd6360ad4372a</id>
<content type='text'>
Kernel treats IPv6 route metrics with value zero (0) special.
Add a utility function that helps accounting for that.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kernel treats IPv6 route metrics with value zero (0) special.
Add a utility function that helps accounting for that.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: support overwriting the default route priority per device via connection setting</title>
<updated>2014-10-12T20:31:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-08-28T16:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=7083cde22869116c5cac7e88cf251262c407ea23'/>
<id>7083cde22869116c5cac7e88cf251262c407ea23</id>
<content type='text'>
Make use of the new configuration settings nm_setting_ip4_config_get_route_metric()
and nm_setting_ip6_config_get_route_metric(). If set, they overwrite the route
metric as determined based on the device type.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make use of the new configuration settings nm_setting_ip4_config_get_route_metric()
and nm_setting_ip6_config_get_route_metric(). If set, they overwrite the route
metric as determined based on the device type.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: modify the values/route metric returned by nm_device_get_priority()</title>
<updated>2014-10-12T20:31:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-08-28T16:16:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=86485540000fb5c1deef1b3e39859a66bdda6b53'/>
<id>86485540000fb5c1deef1b3e39859a66bdda6b53</id>
<content type='text'>
nm_device_get_priority() is used to select the "best" device
for the default route. The absolute values don't matter
at that point and the relative ordering is not changed by
this patch.

It is also directly used for route priority/metric. As we soon
allow the user to overwrite the setting, we want to get more
space between the individual device-types.

That way, a user could overwrite the default metric for a wifi
device to be 99 (making it lower then the default value 100), but
still less preferred then other non-wifi types.

Obviously, this patch is a visible change of behavior as now
routes get different metrics assigned.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nm_device_get_priority() is used to select the "best" device
for the default route. The absolute values don't matter
at that point and the relative ordering is not changed by
this patch.

It is also directly used for route priority/metric. As we soon
allow the user to overwrite the setting, we want to get more
space between the individual device-types.

That way, a user could overwrite the default metric for a wifi
device to be 99 (making it lower then the default value 100), but
still less preferred then other non-wifi types.

Obviously, this patch is a visible change of behavior as now
routes get different metrics assigned.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: add explicit functions for the device route priority/metric</title>
<updated>2014-10-12T20:31:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-08-28T16:11:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=d603eacd2490e8f3009672c34066118f420461f2'/>
<id>d603eacd2490e8f3009672c34066118f420461f2</id>
<content type='text'>
Before, we would always call unanimously nm_device_get_priority()
to get the default route metric for a device. Add new functions
nm_device_get_ip4_route_priority() and nm_device_get_ip6_route_priority()
and use them at the proper places.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before, we would always call unanimously nm_device_get_priority()
to get the default route metric for a device. Add new functions
nm_device_get_ip4_route_priority() and nm_device_get_ip6_route_priority()
and use them at the proper places.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: cleanup type of route metric to ensure guint32</title>
<updated>2014-10-12T20:31:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-08-28T15:25:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a6ac60209b2094f986f1bcc84f960c8a18a6b844'/>
<id>a6ac60209b2094f986f1bcc84f960c8a18a6b844</id>
<content type='text'>
Kernel, netlink an NMPlatformRoute treat route metrics as
uint32. Fix several places to use the exact type.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kernel, netlink an NMPlatformRoute treat route metrics as
uint32. Fix several places to use the exact type.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: support new properties NM_SETTING_IP4_CONFIG_ROUTE_METRIC and NM_SETTING_IP6_CONFIG_ROUTE_METRIC</title>
<updated>2014-10-12T20:31:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-08-28T16:42:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=3aaefd4e2293b7b543e36bded1c7518f4c1ebe29'/>
<id>3aaefd4e2293b7b543e36bded1c7518f4c1ebe29</id>
<content type='text'>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: add utility methods for gint64 types</title>
<updated>2014-10-12T20:31:39+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-08-28T16:51:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ec6167267239475126ae5eacb0fd32ddbfeb51dc'/>
<id>ec6167267239475126ae5eacb0fd32ddbfeb51dc</id>
<content type='text'>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
