NM.SettingTeam – libnm Reference Manual
Packages
libnm
NM
SettingTeam
CONFIG
LINK_WATCHERS
MCAST_REJOIN_COUNT
MCAST_REJOIN_INTERVAL
NOTIFY_MCAST_COUNT_ACTIVEBACKUP_DEFAULT
NOTIFY_PEERS_COUNT
NOTIFY_PEERS_COUNT_ACTIVEBACKUP_DEFAULT
NOTIFY_PEERS_INTERVAL
PORT_CONFIG
PORT_LACP_KEY
PORT_LACP_PRIO
PORT_LACP_PRIO_DEFAULT
PORT_LINK_WATCHERS
PORT_PRIO
PORT_QUEUE_ID
PORT_QUEUE_ID_DEFAULT
PORT_SETTING_NAME
PORT_STICKY
RUNNER
RUNNER_ACTIVE
RUNNER_ACTIVEBACKUP
RUNNER_AGG_SELECT_POLICY
RUNNER_AGG_SELECT_POLICY_BANDWIDTH
RUNNER_AGG_SELECT_POLICY_COUNT
RUNNER_AGG_SELECT_POLICY_LACP_PRIO
RUNNER_AGG_SELECT_POLICY_LACP_PRIO_STABLE
RUNNER_AGG_SELECT_POLICY_PORT_CONFIG
RUNNER_BROADCAST
RUNNER_FAST_RATE
RUNNER_HWADDR_POLICY
RUNNER_HWADDR_POLICY_BY_ACTIVE
RUNNER_HWADDR_POLICY_ONLY_ACTIVE
RUNNER_HWADDR_POLICY_SAME_ALL
RUNNER_LACP
RUNNER_LOADBALANCE
RUNNER_MIN_PORTS
RUNNER_RANDOM
RUNNER_ROUNDROBIN
RUNNER_SYS_PRIO
RUNNER_SYS_PRIO_DEFAULT
RUNNER_TX_BALANCER
RUNNER_TX_BALANCER_INTERVAL
RUNNER_TX_BALANCER_INTERVAL_DEFAULT
RUNNER_TX_HASH
SETTING_NAME
config
link_watchers
mcast_rejoin_count
mcast_rejoin_interval
notify_peers_count
notify_peers_interval
runner
runner_active
runner_agg_select_policy
runner_fast_rate
runner_hwaddr_policy
runner_min_ports
runner_sys_prio
runner_tx_balancer
runner_tx_balancer_interval
runner_tx_hash
SettingTeam
add_link_watcher
add_runner_tx_hash
clear_link_watchers
get_config
get_link_watcher
get_mcast_rejoin_count
get_mcast_rejoin_interval
get_notify_peers_count
get_notify_peers_interval
get_num_link_watchers
get_num_runner_tx_hash
get_runner
get_runner_active
get_runner_agg_select_policy
get_runner_fast_rate
get_runner_hwaddr_policy
get_runner_min_ports
get_runner_sys_prio
get_runner_tx_balancer
get_runner_tx_balancer_interval
get_runner_tx_hash
remove_link_watcher
remove_link_watcher_by_value
remove_runner_tx_hash
remove_runner_tx_hash_by_value
SettingTeam
Object Hierarchy:
Description:
[
CCode
( type_id =
"nm_setting_team_get_type ()"
) ]
public
class
SettingTeam
:
Setting
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
FUZZY_IGNORE
REQUIRED
SECRET
SETTING_NAME
compare
diff
duplicate
enumerate_values
get_dbus_property_type
get_enum_property_type
get_name
get_secret_flags
lookup_type
name
option_clear_by_name
option_get
option_get_all_names
option_get_boolean
option_get_uint32
option_set
option_set_boolean
option_set_uint32
set_secret_flags
to_string
verify
verify_secrets
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref