From 2e5fa45ddfbb5cffa1e78221f1cea706e2f298af Mon Sep 17 00:00:00 2001
From: Michael Biebl
gboolean -nm_team_link_watcher_equal (+nm_team_link_watcher_equal (NMTeamLinkWatcher *watcher, -NMTeamLinkWatcher *other);
const NMTeamLinkWatcher *watcher,
+ const NMTeamLinkWatcher *other);
Determines if two NMTeamLinkWatcher objects contain the same values in all the properties.
NMTeamLinkWatcher *
-nm_team_link_watcher_dup (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_dup (const NMTeamLinkWatcher *watcher);
Creates a copy of watcher
nm_team_link_watcher_get_name ()
const char *
-nm_team_link_watcher_get_name (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_get_name (const NMTeamLinkWatcher *watcher);
Gets the name of the link watcher to be used.
Parameters
@@ -1066,7 +1066,7 @@ nm_team_link_watcher_get_name (
nm_team_link_watcher_get_delay_up ()
int
-nm_team_link_watcher_get_delay_up (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_get_delay_up (const NMTeamLinkWatcher *watcher);
Gets the delay_up interval (in milliseconds) that elapses between the link
coming up and the runner being notified about it.
@@ -1090,7 +1090,7 @@ coming up and the runner being notified about it.
nm_team_link_watcher_get_delay_down ()
int
-nm_team_link_watcher_get_delay_down (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_get_delay_down (const NMTeamLinkWatcher *watcher);
Gets the delay_down interval (in milliseconds) that elapses between the link
going down and the runner being notified about it.
@@ -1114,7 +1114,7 @@ going down and the runner being notified about it.
nm_team_link_watcher_get_init_wait ()
int
-nm_team_link_watcher_get_init_wait (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_get_init_wait (const NMTeamLinkWatcher *watcher);
Gets the init_wait interval (in milliseconds) that the team slave should
wait before sending the first packet to the target host.
@@ -1138,7 +1138,7 @@ wait before sending the first packet to the target host.
nm_team_link_watcher_get_interval ()
int
-nm_team_link_watcher_get_interval (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_get_interval (const NMTeamLinkWatcher *watcher);
Gets the interval (in milliseconds) that the team slave should wait between
sending two check packets to the target host.
@@ -1162,7 +1162,7 @@ sending two check packets to the target host.
nm_team_link_watcher_get_missed_max ()
int
-nm_team_link_watcher_get_missed_max (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_get_missed_max (const NMTeamLinkWatcher *watcher);
Gets the number of missed replies after which the link is considered down.
Parameters
@@ -1185,7 +1185,7 @@ nm_team_link_watcher_get_missed_max (
nm_team_link_watcher_get_target_host ()
const char *
-nm_team_link_watcher_get_target_host (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_get_target_host (const NMTeamLinkWatcher *watcher);
Gets the host name/ip address to be used as destination for the link probing
packets.
@@ -1209,7 +1209,7 @@ packets.
nm_team_link_watcher_get_source_host ()
const char *
-nm_team_link_watcher_get_source_host (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_get_source_host (const NMTeamLinkWatcher *watcher);
Gets the ip address to be used as source for the link probing packets.
Parameters
@@ -1232,7 +1232,7 @@ nm_team_link_watcher_get_source_host (
nm_team_link_watcher_get_flags ()
NMTeamLinkWatcherArpPingFlags
-nm_team_link_watcher_get_flags (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_get_flags (const NMTeamLinkWatcher *watcher);
Gets the arp ping watcher flags.
Parameters
@@ -1255,7 +1255,7 @@ nm_team_link_watcher_get_flags (
nm_team_link_watcher_get_vlanid ()
int
-nm_team_link_watcher_get_vlanid (NMTeamLinkWatcher *watcher);
+nm_team_link_watcher_get_vlanid (const NMTeamLinkWatcher *watcher);
Gets the VLAN tag ID to be used to outgoing link probes
Parameters
@@ -2349,7 +2349,7 @@ arp_ping: all the ones in nsna_ping and 'source-host', 'validate-active',
“mcast-rejoin-count” gint
Corresponds to the teamd mcast_rejoin.count.
Flags: Read / Write
-Default value: 0
+Default value: -1
Since: 1.12
@@ -2358,7 +2358,7 @@ arp_ping: all the ones in nsna_ping and 'source-host', 'validate-active',
“mcast-rejoin-interval” gint
Corresponds to the teamd mcast_rejoin.interval.
Flags: Read / Write
-Default value: 0
+Default value: -1
Since: 1.12
@@ -2367,7 +2367,7 @@ arp_ping: all the ones in nsna_ping and 'source-host', 'validate-active',
“notify-peers-count” gint
Corresponds to the teamd notify_peers.count.
Flags: Read / Write
-Default value: 0
+Default value: -1
Since: 1.12
@@ -2376,7 +2376,7 @@ arp_ping: all the ones in nsna_ping and 'source-host', 'validate-active',
“notify-peers-interval” gint
Corresponds to the teamd notify_peers.interval.
Flags: Read / Write
-Default value: 0
+Default value: -1
Since: 1.12
@@ -2385,11 +2385,7 @@ arp_ping: all the ones in nsna_ping and 'source-host', 'validate-active',
“runner” gchar *
Corresponds to the teamd runner.name.
Permitted values are: "roundrobin", "broadcast", "activebackup",
-"loadbalance", "lacp", "random".
-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).
+"loadbalance", "lacp", "random".
Flags: Read / Write
Default value: NULL
Since: 1.12
@@ -2400,7 +2396,7 @@ a default value).
“runner-active” gboolean
Corresponds to the teamd runner.active.
Flags: Read / Write
-Default value: FALSE
+Default value: TRUE
Since: 1.12
@@ -2436,7 +2432,7 @@ a default value).
“runner-min-ports” gint
Corresponds to the teamd runner.min_ports.
Flags: Read / Write
-Default value: 0
+Default value: -1
Since: 1.12
@@ -2445,7 +2441,7 @@ a default value).
“runner-sys-prio” gint
Corresponds to the teamd runner.sys_prio.
Flags: Read / Write
-Default value: 0
+Default value: -1
Since: 1.12
@@ -2463,7 +2459,7 @@ a default value).
“runner-tx-balancer-interval” gint
Corresponds to the teamd runner.tx_balancer.interval.
Flags: Read / Write
-Default value: 0
+Default value: -1
Since: 1.12
--
cgit 1.3.0-6-gf8a5