NetworkManager/src/tests
Thomas Haller 5c299454b4 core: rework tracking of gateway/default-route in ip-config
Instead of having 3 properties @gateway, @never_default and @has_gateway
on NMIP4Config/NMIP6Config that determine the default-route, track the
default-route as a regular route.

The gateway setting is the configuration knob for the default-route.
Since an NMIP4Config/NMIP6Config instance only has one gateway property,
it cannot track more then one default-routes (see related bug rh#1445417).
Especially with policy routing, it might be interesting to configure a
default-route in multiple tables.

Also, later it might be interesting to allow adding default-routes as
regular static routes in a connection, so that the user can configure additional
route parameters for the default-route or add default-routes in multiple tables.

With this patch, default-routes now have a rt_source property according to their
origin.

Also, the previous commits of this branch broke handling of the
default-route :) . That should be working now again.
2017-10-10 08:46:47 +02:00
..
config config/tests: remove test artifact after test_config_connectivity_check() 2017-08-18 21:42:22 +02:00
test-dcb.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
test-general-with-expect.c core: remove NMMultiIndex 2017-07-05 18:37:38 +02:00
test-general.c tests/general: allow error margin on comparing floats 2017-03-28 13:52:27 +02:00
test-ip4-config.c core: rework tracking of gateway/default-route in ip-config 2017-10-10 08:46:47 +02:00
test-ip6-config.c core: rework tracking of gateway/default-route in ip-config 2017-10-10 08:46:47 +02:00
test-resolvconf-capture.c core: refactor parsing resolve.conf 2017-10-09 22:05:35 +02:00
test-secret-agent.py python: make test-secret-agent.py python3 ready 2016-12-14 19:00:42 +01:00
test-systemd.c systemd: merge branch systemd into master 2017-09-21 15:33:32 +02:00
test-utils.c core: add assertions for network_id/stable_type 2017-01-09 14:50:33 +01:00
test-wired-defname.c build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00