NetworkManager/libnm-util
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
..
tests libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
COPYING doc: fix FSF address (bgo #575625) 2009-09-10 21:03:30 -04:00
crypto.c libnm-util: allow AES cipher for private keys 2014-05-12 10:46:41 +02:00
crypto.h libnm-util: allow AES cipher for private keys 2014-05-12 10:46:41 +02:00
crypto_gnutls.c libnm-util: add nm_utils_rsa_key_encrypt_aes() encrypting RSA key with AES 2014-05-12 10:46:41 +02:00
crypto_nss.c libnm-util: add nm_utils_rsa_key_encrypt_aes() encrypting RSA key with AES 2014-05-12 10:46:41 +02:00
generate-setting-docs.py libnm-util: build nm-setting-docs.xml from gtk-doc and GParamSpecs 2014-06-19 17:45:02 -04:00
libnm-util.pc.in libnm-glib,libnm-util: -glib requires -util, -util requires NetworkManager 2013-03-14 10:23:19 -05:00
libnm-util.ver libnm-util: add function nm_connection_normalize 2014-06-30 18:35:46 +02:00
Makefile.am build: 'nm-setting-docs.xml' must depend on 'NetworkManager-1.0.typelib' 2014-06-30 17:42:08 +02:00
nm-connection.c libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
nm-connection.h libnm-util: add function nm_connection_normalize 2014-06-30 18:35:46 +02:00
nm-param-spec-specialized.c all: g_type_init() has been deprecated in GLib 2.35.0 2014-05-27 16:58:21 +02:00
nm-param-spec-specialized.h Rename private nm_* functions to _nm_* 2008-08-26 09:34:31 +00:00
nm-setting-8021x.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-8021x.h libnm-util: add *_remove_*_by_value() functions for '802-1x' setting 2014-02-28 10:38:53 +01:00
nm-setting-adsl.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-adsl.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-setting-bluetooth.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-bluetooth.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-setting-bond.c libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
nm-setting-bond.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-setting-bridge-port.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-bridge-port.h libnm-util: add Since tags to new functions and properties 2013-02-22 08:34:06 -06:00
nm-setting-bridge.c libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
nm-setting-bridge.h libnm-util: add property NM_SETTING_BRIDGE_MAC_ADDRESS to NMSettingBridge 2014-05-30 17:02:31 +02:00
nm-setting-cdma.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-cdma.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-setting-connection.c libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
nm-setting-connection.h libnm-util: add *_remove_*_by_value() functions for 'connection' setting 2014-02-28 10:39:09 +01:00
nm-setting-dcb.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-dcb.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-setting-generic.c libnm-util: refactor NMSetting name and register_settings 2013-12-12 21:47:13 +01:00
nm-setting-generic.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-setting-gsm.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-gsm.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-setting-infiniband.c libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
nm-setting-infiniband.h libnm-util: add P_Key support to NMSettingInfiniband 2013-06-13 15:52:51 -03:00
nm-setting-ip4-config.c libnm-util: document "address-labels" property as for internal use only 2014-06-26 14:56:22 +02:00
nm-setting-ip4-config.h libnm-util: add *_remove_*_by_value() functions for 'ipv4' and 'ipv6' settings 2014-02-28 10:31:41 +01:00
nm-setting-ip6-config.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-ip6-config.h libnm-util: add *_remove_*_by_value() functions for 'ipv4' and 'ipv6' settings 2014-02-28 10:31:41 +01:00
nm-setting-olpc-mesh.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-olpc-mesh.h docs: document OLPC Mesh setting errors 2012-08-06 19:51:23 -05:00
nm-setting-ppp.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-ppp.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-setting-pppoe.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-pppoe.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-setting-private.h libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
nm-setting-serial.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-serial.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-setting-team-port.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-team-port.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-setting-team.c libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
nm-setting-team.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-setting-template.c libnm-util: refactor NMSetting name and register_settings 2013-12-12 21:47:13 +01:00
nm-setting-template.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-setting-vlan.c libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
nm-setting-vlan.h libnm-util, libnm-glib: be consistent about "Wi-Fi", "Ethernet", "InfiniBand" in docs 2014-06-19 17:45:01 -04:00
nm-setting-vpn.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-vpn.h libnm-util: make nm_setting_vpn_remove_*() return gboolean instead of void 2013-04-03 08:35:47 +02:00
nm-setting-wimax.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-wimax.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-setting-wired.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-wired.h libnm-util: add *_remove_*_by_value() functions for '802-3-ethernet' setting 2014-02-28 10:39:09 +01:00
nm-setting-wireless-security.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-wireless-security.h libnm-util: fix some parameter names to kill gtk-doc warnings 2014-02-28 16:12:49 -05:00
nm-setting-wireless.c libnm-util: remove NMSetting* GParamSpec docs 2014-06-19 17:45:03 -04:00
nm-setting-wireless.h libnm-util: add *_remove_*_by_value() functions for '802-11-wireless' setting 2014-02-28 10:39:09 +01:00
nm-setting.c libnm-util: normalize virtual_iface_name in NMSettings 2014-06-30 18:35:46 +02:00
nm-setting.h libnm-util: add function nm_connection_normalize 2014-06-30 18:35:46 +02:00
nm-util-private.c libnm-util: add (private API) support for address labels to NMSettingIP4Config 2014-03-26 10:39:36 -04:00
nm-util-private.h libnm-util: add (private API) support for address labels to NMSettingIP4Config 2014-03-26 10:39:36 -04:00
nm-utils-private.h Revert :carrier-detect properties and associated code 2013-04-03 10:23:49 -04:00
nm-utils.c libnm-util, libnm-glib: be consistent about "Wi-Fi", "Ethernet", "InfiniBand" in docs 2014-06-19 17:45:01 -04:00
nm-utils.h libnm-util: add nm_utils_rsa_key_encrypt_aes() encrypting RSA key with AES 2014-05-12 10:46:41 +02:00
nm-value-transforms.c libnm-util: don't append NULL in g_string_append() 2014-06-09 10:36:54 +02:00