|
 |
c48088 |
From c6e1b3abc03d686441869c184206780e43a1c13b Mon Sep 17 00:00:00 2001
|
|
 |
c48088 |
From: Francesco Giudici <fgiudici@redhat.com>
|
|
 |
c48088 |
Date: Fri, 12 Jan 2018 14:05:24 +0100
|
|
 |
c48088 |
Subject: [PATCH 1/2] libnm-core: update team.runner description
|
|
 |
c48088 |
|
|
 |
c48088 |
https://bugzilla.redhat.com/show_bug.cgi?id=1533799
|
|
 |
c48088 |
(cherry picked from commit 112f8bd5aff2c5d543699d968f56c7f98be07eec)
|
|
 |
c48088 |
---
|
|
 |
c48088 |
libnm-core/nm-setting-team.c | 4 ++++
|
|
 |
c48088 |
1 file changed, 4 insertions(+)
|
|
 |
c48088 |
|
|
 |
c48088 |
diff --git a/libnm-core/nm-setting-team.c b/libnm-core/nm-setting-team.c
|
|
 |
c48088 |
index 88008e422..01b22d9bd 100644
|
|
 |
c48088 |
--- a/libnm-core/nm-setting-team.c
|
|
 |
c48088 |
+++ b/libnm-core/nm-setting-team.c
|
|
 |
c48088 |
@@ -1656,6 +1656,10 @@ nm_setting_team_class_init (NMSettingTeamClass *setting_class)
|
|
 |
c48088 |
* Corresponds to the teamd runner.name.
|
|
 |
c48088 |
* Permitted values are: "roundrobin", "broadcast", "activebackup",
|
|
 |
c48088 |
* "loadbalance", "lacp".
|
|
 |
c48088 |
+ * When setting the runner, all the properties specific to the runner
|
|
 |
c48088 |
+ * will be reset to the default value; all the properties specific to
|
|
 |
c48088 |
+ * other runners will be set to an empty value (or if not possible to
|
|
 |
c48088 |
+ * a default value).
|
|
 |
c48088 |
*
|
|
 |
c48088 |
* Since: 1.10.2
|
|
 |
c48088 |
**/
|
|
 |
c48088 |
--
|
|
 |
c48088 |
2.14.3
|
|
 |
c48088 |
|
|
 |
c48088 |
|
|
 |
c48088 |
From bcababf6126650e9d9bea7d2c48582f435c287c2 Mon Sep 17 00:00:00 2001
|
|
 |
c48088 |
From: Francesco Giudici <fgiudici@redhat.com>
|
|
 |
c48088 |
Date: Fri, 12 Jan 2018 15:20:23 +0100
|
|
 |
c48088 |
Subject: [PATCH 2/2] libnm-core: docs update requires also settings-docs.c.in
|
|
 |
c48088 |
update
|
|
 |
c48088 |
|
|
 |
c48088 |
Fixes: c6e1b3abc03d686441869c184206780e43a1c13b
|
|
 |
c48088 |
---
|
|
 |
c48088 |
clients/common/settings-docs.c.in | 2 +-
|
|
 |
c48088 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
 |
c48088 |
|
|
 |
c48088 |
diff --git a/clients/common/settings-docs.c.in b/clients/common/settings-docs.c.in
|
|
 |
c48088 |
index bf544ab6e..bf5753c57 100644
|
|
 |
c48088 |
--- a/clients/common/settings-docs.c.in
|
|
 |
c48088 |
+++ b/clients/common/settings-docs.c.in
|
|
 |
c48088 |
@@ -325,7 +325,7 @@
|
|
 |
c48088 |
#define DESCRIBE_DOC_NM_SETTING_TEAM_NAME N_("The setting's name, which uniquely identifies the setting within the connection. Each setting type has a name unique to that type, for example \"ppp\" or \"wireless\" or \"wired\".")
|
|
 |
c48088 |
#define DESCRIBE_DOC_NM_SETTING_TEAM_NOTIFY_PEERS_COUNT N_("Corresponds to the teamd notify_peers.count.")
|
|
 |
c48088 |
#define DESCRIBE_DOC_NM_SETTING_TEAM_NOTIFY_PEERS_INTERVAL N_("Corresponds to the teamd notify_peers.interval.")
|
|
 |
c48088 |
-#define DESCRIBE_DOC_NM_SETTING_TEAM_RUNNER N_("Corresponds to the teamd runner.name. Permitted values are: \"roundrobin\", \"broadcast\", \"activebackup\", \"loadbalance\", \"lacp\".")
|
|
 |
c48088 |
+#define DESCRIBE_DOC_NM_SETTING_TEAM_RUNNER N_("Corresponds to the teamd runner.name. Permitted values are: \"roundrobin\", \"broadcast\", \"activebackup\", \"loadbalance\", \"lacp\". When setting the runner, all the properties specific to the runner will be reset to the default value; all the properties specific to other runners will be set to an empty value (or if not possible to a default value).")
|
|
 |
c48088 |
#define DESCRIBE_DOC_NM_SETTING_TEAM_RUNNER_ACTIVE N_("Corresponds to the teamd runner.active.")
|
|
 |
c48088 |
#define DESCRIBE_DOC_NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY N_("Corresponds to the teamd runner.agg_select_policy.")
|
|
 |
c48088 |
#define DESCRIBE_DOC_NM_SETTING_TEAM_RUNNER_FAST_RATE N_("Corresponds to the teamd runner.fast_rate.")
|
|
 |
c48088 |
--
|
|
 |
c48088 |
2.14.3
|
|
 |
c48088 |
|