NMSettingTeam

NMSettingTeam

Functions

NMTeamLinkWatcher * nm_team_link_watcher_new_ethtool ()
NMTeamLinkWatcher * nm_team_link_watcher_new_nsna_ping ()
NMTeamLinkWatcher * nm_team_link_watcher_new_arp_ping ()
NMTeamLinkWatcher * nm_team_link_watcher_new_arp_ping2 ()
void nm_team_link_watcher_ref ()
void nm_team_link_watcher_unref ()
gboolean nm_team_link_watcher_equal ()
NMTeamLinkWatcher * nm_team_link_watcher_dup ()
const char * nm_team_link_watcher_get_name ()
int nm_team_link_watcher_get_delay_up ()
int nm_team_link_watcher_get_delay_down ()
int nm_team_link_watcher_get_init_wait ()
int nm_team_link_watcher_get_interval ()
int nm_team_link_watcher_get_missed_max ()
const char * nm_team_link_watcher_get_target_host ()
const char * nm_team_link_watcher_get_source_host ()
NMTeamLinkWatcherArpPingFlags nm_team_link_watcher_get_flags ()
int nm_team_link_watcher_get_vlanid ()
NMSetting * nm_setting_team_new ()
const char * nm_setting_team_get_config ()
int nm_setting_team_get_notify_peers_count ()
int nm_setting_team_get_notify_peers_interval ()
int nm_setting_team_get_mcast_rejoin_count ()
int nm_setting_team_get_mcast_rejoin_interval ()
const char * nm_setting_team_get_runner ()
const char * nm_setting_team_get_runner_hwaddr_policy ()
const char * nm_setting_team_get_runner_tx_balancer ()
int nm_setting_team_get_runner_tx_balancer_interval ()
gboolean nm_setting_team_get_runner_active ()
gboolean nm_setting_team_get_runner_fast_rate ()
int nm_setting_team_get_runner_sys_prio ()
int nm_setting_team_get_runner_min_ports ()
const char * nm_setting_team_get_runner_agg_select_policy ()
gboolean nm_setting_team_remove_runner_tx_hash_by_value ()
guint nm_setting_team_get_num_runner_tx_hash ()
const char * nm_setting_team_get_runner_tx_hash ()
void nm_setting_team_remove_runner_tx_hash ()
gboolean nm_setting_team_add_runner_tx_hash ()
guint nm_setting_team_get_num_link_watchers ()
NMTeamLinkWatcher * nm_setting_team_get_link_watcher ()
gboolean nm_setting_team_add_link_watcher ()
void nm_setting_team_remove_link_watcher ()
gboolean nm_setting_team_remove_link_watcher_by_value ()
void nm_setting_team_clear_link_watchers ()

Types and Values

enum NMTeamLinkWatcherArpPingFlags
#define NM_TEAM_LINK_WATCHER_ETHTOOL
#define NM_TEAM_LINK_WATCHER_ARP_PING
#define NM_TEAM_LINK_WATCHER_NSNA_PING
#define NM_SETTING_TEAM_SETTING_NAME
#define NM_SETTING_TEAM_CONFIG
#define NM_SETTING_TEAM_NOTIFY_PEERS_COUNT
#define NM_SETTING_TEAM_NOTIFY_PEERS_INTERVAL
#define NM_SETTING_TEAM_MCAST_REJOIN_COUNT
#define NM_SETTING_TEAM_MCAST_REJOIN_INTERVAL
#define NM_SETTING_TEAM_RUNNER
#define NM_SETTING_TEAM_RUNNER_HWADDR_POLICY
#define NM_SETTING_TEAM_RUNNER_TX_HASH
#define NM_SETTING_TEAM_RUNNER_TX_BALANCER
#define NM_SETTING_TEAM_RUNNER_TX_BALANCER_INTERVAL
#define NM_SETTING_TEAM_RUNNER_ACTIVE
#define NM_SETTING_TEAM_RUNNER_FAST_RATE
#define NM_SETTING_TEAM_RUNNER_SYS_PRIO
#define NM_SETTING_TEAM_RUNNER_MIN_PORTS
#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY
#define NM_SETTING_TEAM_LINK_WATCHERS
#define NM_SETTING_TEAM_RUNNER_BROADCAST
#define NM_SETTING_TEAM_RUNNER_ROUNDROBIN
#define NM_SETTING_TEAM_RUNNER_RANDOM
#define NM_SETTING_TEAM_RUNNER_ACTIVEBACKUP
#define NM_SETTING_TEAM_RUNNER_LOADBALANCE
#define NM_SETTING_TEAM_RUNNER_LACP
#define NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_SAME_ALL
#define NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_BY_ACTIVE
#define NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_ONLY_ACTIVE
#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_LACP_PRIO
#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_LACP_PRIO_STABLE
#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_BANDWIDTH
#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_COUNT
#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_PORT_CONFIG
#define NM_SETTING_TEAM_NOTIFY_PEERS_COUNT_ACTIVEBACKUP_DEFAULT
#define NM_SETTING_TEAM_NOTIFY_MCAST_COUNT_ACTIVEBACKUP_DEFAULT
#define NM_SETTING_TEAM_RUNNER_DEFAULT
#define NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_DEFAULT
#define NM_SETTING_TEAM_RUNNER_TX_BALANCER_INTERVAL_DEFAULT
#define NM_SETTING_TEAM_RUNNER_SYS_PRIO_DEFAULT
#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_DEFAULT

Object Hierarchy

    GBoxed
    ╰── NMTeamLinkWatcher
    GFlags
    ╰── NMTeamLinkWatcherArpPingFlags

Description

Functions

nm_team_link_watcher_new_ethtool ()

NMTeamLinkWatcher *
nm_team_link_watcher_new_ethtool (int delay_up,
                                  int delay_down,
                                  GError **error);

nm_team_link_watcher_new_nsna_ping ()

NMTeamLinkWatcher *
nm_team_link_watcher_new_nsna_ping (int init_wait,
                                    int interval,
                                    int missed_max,
                                    const char *target_host,
                                    GError **error);

nm_team_link_watcher_new_arp_ping ()

NMTeamLinkWatcher *
nm_team_link_watcher_new_arp_ping (int init_wait,
                                   int interval,
                                   int missed_max,
                                   const char *target_host,
                                   const char *source_host,
                                   NMTeamLinkWatcherArpPingFlags flags,
                                   GError **error);

nm_team_link_watcher_new_arp_ping2 ()

NMTeamLinkWatcher *
nm_team_link_watcher_new_arp_ping2 (int init_wait,
                                    int interval,
                                    int missed_max,
                                    int vlanid,
                                    const char *target_host,
                                    const char *source_host,
                                    NMTeamLinkWatcherArpPingFlags flags,
                                    GError **error);

nm_team_link_watcher_ref ()

void
nm_team_link_watcher_ref (NMTeamLinkWatcher *watcher);

nm_team_link_watcher_unref ()

void
nm_team_link_watcher_unref (NMTeamLinkWatcher *watcher);

nm_team_link_watcher_equal ()

gboolean
nm_team_link_watcher_equal (const NMTeamLinkWatcher *watcher,
                            const NMTeamLinkWatcher *other);

nm_team_link_watcher_dup ()

NMTeamLinkWatcher *
nm_team_link_watcher_dup (const NMTeamLinkWatcher *watcher);

nm_team_link_watcher_get_name ()

const char *
nm_team_link_watcher_get_name (const NMTeamLinkWatcher *watcher);

nm_team_link_watcher_get_delay_up ()

int
nm_team_link_watcher_get_delay_up (const NMTeamLinkWatcher *watcher);

nm_team_link_watcher_get_delay_down ()

int
nm_team_link_watcher_get_delay_down (const NMTeamLinkWatcher *watcher);

nm_team_link_watcher_get_init_wait ()

int
nm_team_link_watcher_get_init_wait (const NMTeamLinkWatcher *watcher);

nm_team_link_watcher_get_interval ()

int
nm_team_link_watcher_get_interval (const NMTeamLinkWatcher *watcher);

nm_team_link_watcher_get_missed_max ()

int
nm_team_link_watcher_get_missed_max (const NMTeamLinkWatcher *watcher);

nm_team_link_watcher_get_target_host ()

const char *
nm_team_link_watcher_get_target_host (const NMTeamLinkWatcher *watcher);

nm_team_link_watcher_get_source_host ()

const char *
nm_team_link_watcher_get_source_host (const NMTeamLinkWatcher *watcher);

nm_team_link_watcher_get_flags ()

NMTeamLinkWatcherArpPingFlags
nm_team_link_watcher_get_flags (const NMTeamLinkWatcher *watcher);

nm_team_link_watcher_get_vlanid ()

int
nm_team_link_watcher_get_vlanid (const NMTeamLinkWatcher *watcher);

nm_setting_team_new ()

NMSetting *
nm_setting_team_new (void);

nm_setting_team_get_config ()

const char *
nm_setting_team_get_config (NMSettingTeam *setting);

nm_setting_team_get_notify_peers_count ()

int
nm_setting_team_get_notify_peers_count
                               (NMSettingTeam *setting);

nm_setting_team_get_notify_peers_interval ()

int
nm_setting_team_get_notify_peers_interval
                               (NMSettingTeam *setting);

nm_setting_team_get_mcast_rejoin_count ()

int
nm_setting_team_get_mcast_rejoin_count
                               (NMSettingTeam *setting);

nm_setting_team_get_mcast_rejoin_interval ()

int
nm_setting_team_get_mcast_rejoin_interval
                               (NMSettingTeam *setting);

nm_setting_team_get_runner ()

const char *
nm_setting_team_get_runner (NMSettingTeam *setting);

nm_setting_team_get_runner_hwaddr_policy ()

const char *
nm_setting_team_get_runner_hwaddr_policy
                               (NMSettingTeam *setting);

nm_setting_team_get_runner_tx_balancer ()

const char *
nm_setting_team_get_runner_tx_balancer
                               (NMSettingTeam *setting);

nm_setting_team_get_runner_tx_balancer_interval ()

int
nm_setting_team_get_runner_tx_balancer_interval
                               (NMSettingTeam *setting);

nm_setting_team_get_runner_active ()

gboolean
nm_setting_team_get_runner_active (NMSettingTeam *setting);

nm_setting_team_get_runner_fast_rate ()

gboolean
nm_setting_team_get_runner_fast_rate (NMSettingTeam *setting);

nm_setting_team_get_runner_sys_prio ()

int
nm_setting_team_get_runner_sys_prio (NMSettingTeam *setting);

nm_setting_team_get_runner_min_ports ()

int
nm_setting_team_get_runner_min_ports (NMSettingTeam *setting);

nm_setting_team_get_runner_agg_select_policy ()

const char *
nm_setting_team_get_runner_agg_select_policy
                               (NMSettingTeam *setting);

nm_setting_team_remove_runner_tx_hash_by_value ()

gboolean
nm_setting_team_remove_runner_tx_hash_by_value
                               (NMSettingTeam *setting,
                                const char *txhash);

nm_setting_team_get_num_runner_tx_hash ()

guint
nm_setting_team_get_num_runner_tx_hash
                               (NMSettingTeam *setting);

nm_setting_team_get_runner_tx_hash ()

const char *
nm_setting_team_get_runner_tx_hash (NMSettingTeam *setting,
                                    guint idx);

nm_setting_team_remove_runner_tx_hash ()

void
nm_setting_team_remove_runner_tx_hash (NMSettingTeam *setting,
                                       guint idx);

nm_setting_team_add_runner_tx_hash ()

gboolean
nm_setting_team_add_runner_tx_hash (NMSettingTeam *setting,
                                    const char *txhash);

nm_setting_team_get_num_link_watchers ()

guint
nm_setting_team_get_num_link_watchers (NMSettingTeam *setting);

nm_setting_team_get_link_watcher ()

NMTeamLinkWatcher *
nm_setting_team_get_link_watcher (NMSettingTeam *setting,
                                  guint idx);

nm_setting_team_add_link_watcher ()

gboolean
nm_setting_team_add_link_watcher (NMSettingTeam *setting,
                                  NMTeamLinkWatcher *link_watcher);

nm_setting_team_remove_link_watcher ()

void
nm_setting_team_remove_link_watcher (NMSettingTeam *setting,
                                     guint idx);

nm_setting_team_remove_link_watcher_by_value ()

gboolean
nm_setting_team_remove_link_watcher_by_value
                               (NMSettingTeam *setting,
                                NMTeamLinkWatcher *link_watcher);

nm_setting_team_clear_link_watchers ()

void
nm_setting_team_clear_link_watchers (NMSettingTeam *setting);

Types and Values

enum NMTeamLinkWatcherArpPingFlags

Members

NM_TEAM_LINK_WATCHER_ARP_PING_FLAG_NONE

no one among the arp_ping link watcher boolean options ('validate_active', 'validate_inactive', 'send_always') is enabled (set to true).

 

NM_TEAM_LINK_WATCHER_ARP_PING_FLAG_VALIDATE_ACTIVE

the arp_ping link watcher option 'validate_active' is enabled (set to true).

 

NM_TEAM_LINK_WATCHER_ARP_PING_FLAG_VALIDATE_INACTIVE

the arp_ping link watcher option 'validate_inactive' is enabled (set to true).

 

NM_TEAM_LINK_WATCHER_ARP_PING_FLAG_SEND_ALWAYS

the arp_ping link watcher option 'send_always' is enabled (set to true).

 

Since: 1.12


NM_TEAM_LINK_WATCHER_ETHTOOL

#define NM_TEAM_LINK_WATCHER_ETHTOOL   "ethtool"

NM_TEAM_LINK_WATCHER_ARP_PING

#define NM_TEAM_LINK_WATCHER_ARP_PING  "arp_ping"

NM_TEAM_LINK_WATCHER_NSNA_PING

#define NM_TEAM_LINK_WATCHER_NSNA_PING "nsna_ping"

NM_SETTING_TEAM_SETTING_NAME

#define NM_SETTING_TEAM_SETTING_NAME "team"

NM_SETTING_TEAM_CONFIG

#define NM_SETTING_TEAM_CONFIG                      "config"

NM_SETTING_TEAM_NOTIFY_PEERS_COUNT

#define NM_SETTING_TEAM_NOTIFY_PEERS_COUNT          "notify-peers-count"

NM_SETTING_TEAM_NOTIFY_PEERS_INTERVAL

#define NM_SETTING_TEAM_NOTIFY_PEERS_INTERVAL       "notify-peers-interval"

NM_SETTING_TEAM_MCAST_REJOIN_COUNT

#define NM_SETTING_TEAM_MCAST_REJOIN_COUNT          "mcast-rejoin-count"

NM_SETTING_TEAM_MCAST_REJOIN_INTERVAL

#define NM_SETTING_TEAM_MCAST_REJOIN_INTERVAL       "mcast-rejoin-interval"

NM_SETTING_TEAM_RUNNER

#define NM_SETTING_TEAM_RUNNER                      "runner"

NM_SETTING_TEAM_RUNNER_HWADDR_POLICY

#define NM_SETTING_TEAM_RUNNER_HWADDR_POLICY        "runner-hwaddr-policy"

NM_SETTING_TEAM_RUNNER_TX_HASH

#define NM_SETTING_TEAM_RUNNER_TX_HASH              "runner-tx-hash"

NM_SETTING_TEAM_RUNNER_TX_BALANCER

#define NM_SETTING_TEAM_RUNNER_TX_BALANCER          "runner-tx-balancer"

NM_SETTING_TEAM_RUNNER_TX_BALANCER_INTERVAL

#define NM_SETTING_TEAM_RUNNER_TX_BALANCER_INTERVAL "runner-tx-balancer-interval"

NM_SETTING_TEAM_RUNNER_ACTIVE

#define NM_SETTING_TEAM_RUNNER_ACTIVE               "runner-active"

NM_SETTING_TEAM_RUNNER_FAST_RATE

#define NM_SETTING_TEAM_RUNNER_FAST_RATE            "runner-fast-rate"

NM_SETTING_TEAM_RUNNER_SYS_PRIO

#define NM_SETTING_TEAM_RUNNER_SYS_PRIO             "runner-sys-prio"

NM_SETTING_TEAM_RUNNER_MIN_PORTS

#define NM_SETTING_TEAM_RUNNER_MIN_PORTS            "runner-min-ports"

NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY

#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY    "runner-agg-select-policy"

NM_SETTING_TEAM_LINK_WATCHERS

#define NM_SETTING_TEAM_LINK_WATCHERS               "link-watchers"

NM_SETTING_TEAM_RUNNER_BROADCAST

#define NM_SETTING_TEAM_RUNNER_BROADCAST    "broadcast"

NM_SETTING_TEAM_RUNNER_ROUNDROBIN

#define NM_SETTING_TEAM_RUNNER_ROUNDROBIN   "roundrobin"

NM_SETTING_TEAM_RUNNER_RANDOM

#define NM_SETTING_TEAM_RUNNER_RANDOM       "random"

NM_SETTING_TEAM_RUNNER_ACTIVEBACKUP

#define NM_SETTING_TEAM_RUNNER_ACTIVEBACKUP "activebackup"

NM_SETTING_TEAM_RUNNER_LOADBALANCE

#define NM_SETTING_TEAM_RUNNER_LOADBALANCE  "loadbalance"

NM_SETTING_TEAM_RUNNER_LACP

#define NM_SETTING_TEAM_RUNNER_LACP         "lacp"

NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_SAME_ALL

#define NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_SAME_ALL    "same_all"

NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_BY_ACTIVE

#define NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_BY_ACTIVE   "by_active"

NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_ONLY_ACTIVE

#define NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_ONLY_ACTIVE "only_active"

NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_LACP_PRIO

#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_LACP_PRIO        "lacp_prio"

NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_LACP_PRIO_STABLE

#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_LACP_PRIO_STABLE "lacp_prio_stable"

NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_BANDWIDTH

#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_BANDWIDTH        "bandwidth"

NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_COUNT

#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_COUNT            "count"

NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_PORT_CONFIG

#define NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_PORT_CONFIG      "port_config"

NM_SETTING_TEAM_NOTIFY_PEERS_COUNT_ACTIVEBACKUP_DEFAULT

#define NM_SETTING_TEAM_NOTIFY_PEERS_COUNT_ACTIVEBACKUP_DEFAULT 1

NM_SETTING_TEAM_NOTIFY_MCAST_COUNT_ACTIVEBACKUP_DEFAULT

#define NM_SETTING_TEAM_NOTIFY_MCAST_COUNT_ACTIVEBACKUP_DEFAULT 1

NM_SETTING_TEAM_RUNNER_DEFAULT

#define NM_SETTING_TEAM_RUNNER_DEFAULT                          NM_SETTING_TEAM_RUNNER_ROUNDROBIN

NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_DEFAULT

#define NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_DEFAULT            NM_SETTING_TEAM_RUNNER_HWADDR_POLICY_SAME_ALL

NM_SETTING_TEAM_RUNNER_TX_BALANCER_INTERVAL_DEFAULT

#define NM_SETTING_TEAM_RUNNER_TX_BALANCER_INTERVAL_DEFAULT     50

NM_SETTING_TEAM_RUNNER_SYS_PRIO_DEFAULT

#define NM_SETTING_TEAM_RUNNER_SYS_PRIO_DEFAULT                 65535

NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_DEFAULT

#define             NM_SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_DEFAULT