NetworkManager/libnm-util/tests
Thomas Haller 2deaa5397a libnm-util: normalize virtual_iface_name in NMSettings
Some type-specific NMSetting implementations (bond, bridge, team, vlan)
have their own 'interface-name' property. This property will be
deprecated in favour of 'interface-name' in NMSettingConnection.

Change verify() and normalize() to check that the redundant
values match and repair/normalize the properties.

Force the virtual interface name of the type-specific setting to be
equal to NMSettingConnection:interface_name. This way, the depreacted
field stays valid and backward compatible.

NMSettingInfiniband is special, because it does not have a backing
property for the interface name, although it implements
get_virtual_iface_name(). To account for this, some special handling
is needed in order not to change the behaviour of get_virtual_iface_name().

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-30 18:35:46 +02:00
..
certs libnm-util: allow AES cipher for private keys 2014-05-12 10:46:41 +02:00
Makefile.am libnm-util: allow AES cipher for private keys 2014-05-12 10:46:41 +02:00
test-crypto.c nmtst: combine files nm-test-helpers.h and nm-test-utils.h 2014-06-05 18:12:56 +02:00
test-general.c libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
test-secrets.c nmtst: combine files nm-test-helpers.h and nm-test-utils.h 2014-06-05 18:12:56 +02:00
test-setting-8021x.c nmtst: combine files nm-test-helpers.h and nm-test-utils.h 2014-06-05 18:12:56 +02:00
test-setting-dcb.c all: g_type_init() has been deprecated in GLib 2.35.0 2014-05-27 16:58:21 +02:00
test-settings-defaults.c nmtst: combine files nm-test-helpers.h and nm-test-utils.h 2014-06-05 18:12:56 +02:00