SettingTeam
Object Hierarchy:
Description:
Teaming Settings
Namespace: NM
Package: libnm
Content:
Constants:
- public const string CONFIG
- public const string LINK_WATCHERS
- public const string MCAST_REJOIN_COUNT
- public const string MCAST_REJOIN_INTERVAL
- public const int NOTIFY_MCAST_COUNT_ACTIVEBACKUP_DEFAULT
- public const string NOTIFY_PEERS_COUNT
- public const int NOTIFY_PEERS_COUNT_ACTIVEBACKUP_DEFAULT
- public const string NOTIFY_PEERS_INTERVAL
- public const string PORT_CONFIG
- public const string PORT_LACP_KEY
- public const string PORT_LACP_PRIO
- public const int PORT_LACP_PRIO_DEFAULT
- public const string PORT_LINK_WATCHERS
- public const string PORT_PRIO
- public const string PORT_QUEUE_ID
- public const int PORT_QUEUE_ID_DEFAULT
- public const string PORT_SETTING_NAME
- public const string PORT_STICKY
- public const string RUNNER
- public const string RUNNER_ACTIVE
- public const string RUNNER_ACTIVEBACKUP
- public const string RUNNER_AGG_SELECT_POLICY
- public const string RUNNER_AGG_SELECT_POLICY_BANDWIDTH
- public const string RUNNER_AGG_SELECT_POLICY_COUNT
- public const string RUNNER_AGG_SELECT_POLICY_LACP_PRIO
- public const string RUNNER_AGG_SELECT_POLICY_LACP_PRIO_STABLE
- public const string RUNNER_AGG_SELECT_POLICY_PORT_CONFIG
- public const string RUNNER_BROADCAST
- public const string RUNNER_FAST_RATE
- public const string RUNNER_HWADDR_POLICY
- public const string RUNNER_HWADDR_POLICY_BY_ACTIVE
- public const string RUNNER_HWADDR_POLICY_ONLY_ACTIVE
- public const string RUNNER_HWADDR_POLICY_SAME_ALL
- public const string RUNNER_LACP
- public const string RUNNER_LOADBALANCE
- public const string RUNNER_MIN_PORTS
- public const string RUNNER_RANDOM
- public const string RUNNER_ROUNDROBIN
- public const string RUNNER_SYS_PRIO
- public const int RUNNER_SYS_PRIO_DEFAULT
- public const string RUNNER_TX_BALANCER
- public const string RUNNER_TX_BALANCER_INTERVAL
- public const int RUNNER_TX_BALANCER_INTERVAL_DEFAULT
- public const string RUNNER_TX_HASH
- public const string SETTING_NAME
Properties:
- public string config { owned get; set; }
The JSON configuration for the team network interface.
- public GenericArray<TeamLinkWatcher> link_watchers { owned get; set; }
Link watchers configuration for the connection: each link watcher is defined by a dictionary, whose keys depend upon the selected link watcher.
- public int mcast_rejoin_count { get; set; }
Corresponds to the teamd mcast_rejoin.
- public int mcast_rejoin_interval { get; set; }
Corresponds to the teamd mcast_rejoin.
- public int notify_peers_count { get; set; }
Corresponds to the teamd notify_peers.
- public int notify_peers_interval { get; set; }
Corresponds to the teamd notify_peers.
- public string runner { owned get; set; }
Corresponds to the teamd runner.
- public bool runner_active { get; set; }
Corresponds to the teamd runner.
- public string runner_agg_select_policy { owned get; set; }
Corresponds to the teamd runner.
- public bool runner_fast_rate { get; set; }
Corresponds to the teamd runner.
- public string runner_hwaddr_policy { owned get; set; }
Corresponds to the teamd runner.
- public int runner_min_ports { get; set; }
Corresponds to the teamd runner.
- public int runner_sys_prio { get; set; }
Corresponds to the teamd runner.
- public string runner_tx_balancer { owned get; set; }
Corresponds to the teamd runner.
- public int runner_tx_balancer_interval { get; set; }
Corresponds to the teamd runner.
- public string[] runner_tx_hash { owned get; set; }
Corresponds to the teamd runner.
Creation methods:
- public SettingTeam ()
Creates a new SettingTeam object with default values.
Methods:
- public bool add_link_watcher (TeamLinkWatcher link_watcher)
Appends a new link watcher to the setting.
- public bool add_runner_tx_hash (string txhash)
Adds a new txhash element to the setting.
- public void clear_link_watchers ()
Removes all configured link watchers.
- public unowned string get_config ()
- public unowned TeamLinkWatcher get_link_watcher (uint idx)
- public int get_mcast_rejoin_count ()
- public int get_mcast_rejoin_interval ()
- public int get_notify_peers_count ()
- public int get_notify_peers_interval ()
- public uint get_num_link_watchers ()
- public uint get_num_runner_tx_hash ()
- public unowned string get_runner ()
- public bool get_runner_active ()
- public unowned string get_runner_agg_select_policy ()
- public bool get_runner_fast_rate ()
- public unowned string get_runner_hwaddr_policy ()
- public int get_runner_min_ports ()
- public int get_runner_sys_prio ()
- public unowned string get_runner_tx_balancer ()
- public int get_runner_tx_balancer_interval ()
- public unowned string get_runner_tx_hash (uint idx)
- public void remove_link_watcher (uint idx)
Removes the link watcher at index
idx
. - public bool remove_link_watcher_by_value (TeamLinkWatcher link_watcher)
Removes the link watcher entry matching link_watcher.
- public void remove_runner_tx_hash (uint idx)
Removes the txhash element at index
idx
. - public bool remove_runner_tx_hash_by_value (string txhash)
Removes the txhash element
txhash
Inherited Members:
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object