From f60117b41d5433be1b4a96d82cd11d0c3dce9b63 Mon Sep 17 00:00:00 2001
From: Michael Biebl
+
@@ -346,6 +354,11 @@
+NMSettingConnectionMdns
+
+
+nm_setting_connection_get_mdns ()
+
+Read / Write
+
+gint
+mdns
+Read / Write
+
NMMetered
metered
Read / Write
@@ -508,6 +521,10 @@
NM_SETTING_CONNECTION_AUTH_RETRIES
+
+#define
+NM_SETTING_CONNECTION_MDNS
+
@@ -516,6 +533,10 @@
enum
NMSettingConnectionAutoconnectSlaves
NMSettingConnectionLldp
+
+enum
+NMSettingConnectionMdns
+
@@ -526,7 +547,8 @@
NMSettingConnection
Object Hierarchy
GEnum
├── NMSettingConnectionAutoconnectSlaves
- ╰── NMSettingConnectionLldp
+ ├── NMSettingConnectionLldp
+ ╰── NMSettingConnectionMdns
GObject
╰── NMSetting
╰── NMSettingConnection
@@ -1493,6 +1515,32 @@ infinity and -1 means a global default value.
Since: 1.10
+NMSettingConnectionMdns
+nm_setting_connection_get_mdns (NMSettingConnection *setting);
+
+
+Since: 1.12
+NMSettingConnectionAutoconnectSlaves values indicate whether slave connections should be activated when master is activated.
@@ -1720,6 +1774,52 @@ should be activated when master is activated.NMSettingConnectionMdns values indicate whether mDNS should be enabled.
+ +Since: 1.12
+typedef struct _NMSettingConnection NMSettingConnection;
General Connection Profile Settings
@@ -1747,6 +1847,9 @@ retries for 3 times before failing the connection. NetworkManager when the resources for the connection are available.TRUE to automatically activate the connection, FALSE to require manual
intervention to activate the connection.
+Note that autoconnect is not implemented for VPN profiles. See +“secondaries” as an alternative to automatically +connect VPN profiles.
Flags: Read / Write / Construct
Default value: TRUE
“autoconnect-slaves” NMSettingConnectionAutoconnectSlaves
Whether or not slaves of this connection should be automatically brought up when NetworkManager activates this connection. This only has a real effect -for master connections. +for master connections. The properties “autoconnect”, +“autoconnect-priority” and “autoconnect-retries” +are unrelated to this setting. The permitted values are: 0: leave slave connections untouched, 1: activate all the slave connections with this connection, -1: default. If -1 (default) is set, global connection.autoconnect-slaves is read to @@ -1843,6 +1948,22 @@ connection may be applied to the wrong interface.
“mdns” property“mdns” gint+
Whether mDNS is enabled for the connection.
+The permitted values are: yes: register hostname and resolving +for the connection, no: disable mDNS for the interface, resolve: +do not register hostname but allow resolving of mDNS host names. +When updating this property on a currently activated connection, +the change takes effect immediately.
+This feature requires a plugin which supports mDNS. One such +plugin is dns-systemd-resolved.
+Flags: Read / Write
+Default value: -1
+Since: 1.12
+“metered” property“metered” NMMetered
Whether the connection is metered.
@@ -1906,10 +2027,11 @@ slave.The stable-id is used for generating IPv6 stable private addresses with ipv6.addr-gen-mode=stable-privacy. It is also used to seed the generated cloned MAC address for ethernet.cloned-mac-address=stable -and wifi.cloned-mac-address=stable. Note that also the interface name -of the activating connection and a per-host secret key is included -into the address generation so that the same stable-id on different -hosts/devices yields different addresses.
+and wifi.cloned-mac-address=stable. It is also used as DHCP client +identifier with ipv4.dhcp-client-id=stable. +Note that also the interface name of the activating connection and a +per-host secret key is included into the address generation so that the +same stable-id on different hosts/devices yields different addresses.
If the value is unset, an ID unique for the connection is used. Specifying a stable-id allows multiple connections to generate the same addresses. Another use is to generate IDs at runtime via -- cgit 1.3.0-6-gf8a5