summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-11-19 09:42:22 +0100
committerDan Winship <danw@redhat.com>2014-11-19 09:24:10 -0500
commita4d4fa04b5121e11fbf9d453cc396bbc307f2075 (patch)
tree75d6ec0a97c7090868fec8b5b2ebe900772bf527
parent3bcba5ddf9ec6dcaa62d6952f477eff1aee02b0e (diff)
downloadNetworkManager-a4d4fa04b5121e11fbf9d453cc396bbc307f2075.tar.gz
libnm-core: document AUTOCONNECT_PRIORITY for ifcfg-rh
-rw-r--r--libnm-core/nm-setting-connection.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libnm-core/nm-setting-connection.c b/libnm-core/nm-setting-connection.c
index f5fb5b4598..0624c61f2f 100644
--- a/libnm-core/nm-setting-connection.c
+++ b/libnm-core/nm-setting-connection.c
@@ -1391,6 +1391,16 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class)
* connections with higher priority will be preferred. Defaults to 0.
* The higher number means higher priority.
**/
+ /* ---ifcfg-rh---
+ * property: autoconnect-priority
+ * variable: AUTOCONNECT_PRIORITY(+)
+ * values: -999 to 999
+ * default: 0
+ * description: Connection priority for automatic activation. Connections with
+ * higher numbers are preferred when selecting profiles for automatic activation.
+ * example: AUTOCONNECT_PRIORITY=20
+ * ---end---
+ */
g_object_class_install_property
(object_class, PROP_AUTOCONNECT_PRIORITY,
g_param_spec_int (NM_SETTING_CONNECTION_AUTOCONNECT_PRIORITY, "", "",