NetworkManager/src/tests
Dan Williams 067db6f8d7 core/platform: add address/route sources (rh#1005416, bgo#722843)
Tag addresses and routes with their source.  We'll use this later to do
(or not do) operations based on where the item came from.

One thing to note is that when synchronizing items with the kernel, all
items are read as source=KERNEL even when they originally came from
NetworkManager, since the kernel has no way of providing this source
information.  This requires the source 'priority', which
nm_ip*_config_add_address() and nm_ip*_config_add_route() must respect
to ensure that NM-owned routes don't have their source overwritten
when merging various IP configs in ip*_config_merge_and_apply().

Also of note is that memcmp() can no longer be used to compare
addresses/routes in nm-platform.c, but this had problems before
anyway with ifindex, so that workaround from nm_platform_ip4_route_sync()
can be removed.

https://bugzilla.gnome.org/show_bug.cgi?id=722843
https://bugzilla.redhat.com/show_bug.cgi?id=1005416
2014-01-24 09:42:52 -06:00
..
Makefile.am core: add nm_utils_ascii_str_to_int64() function 2014-01-22 12:12:02 +01:00
test-dcb.c core: add dcbtool manipulation logic 2013-10-31 13:29:22 -05:00
test-dhcp-options.c platform/core: add back support for PtP/peer addresses (rh #1018317) 2013-12-02 15:00:28 -05:00
test-general.c core: add nm_utils_ascii_str_to_int64() function 2014-01-22 12:12:02 +01:00
test-ip4-config.c core/platform: add address/route sources (rh#1005416, bgo#722843) 2014-01-24 09:42:52 -06:00
test-ip6-config.c core/platform: add address/route sources (rh#1005416, bgo#722843) 2014-01-24 09:42:52 -06:00
test-policy-hosts.c tests: clean up gtester usage 2013-02-26 13:07:33 +01:00
test-resolvconf-capture.c core: capture DNS configuration from resolv.conf when generating connections 2013-11-22 15:01:10 -06:00
test-secret-agent.py use /usr/bin/env instead of /bin/env 2011-03-29 01:00:47 +02:00
test-wifi-ap-utils.c core: remove 'wep40' and 'wep104' from several places in NM 2013-09-18 12:07:29 +02:00