SettingBond
Object Hierarchy:
Description:
Bonding Settings
Namespace: NM
Package: libnm
Content:
Constants:
- public const string OPTIONS
- public const string OPTION_ACTIVE_SLAVE
- public const string OPTION_AD_ACTOR_SYSTEM
- public const string OPTION_AD_ACTOR_SYS_PRIO
- public const string OPTION_AD_SELECT
- public const string OPTION_AD_USER_PORT_KEY
- public const string OPTION_ALL_SLAVES_ACTIVE
- public const string OPTION_ARP_ALL_TARGETS
- public const string OPTION_ARP_INTERVAL
- public const string OPTION_ARP_IP_TARGET
- public const string OPTION_ARP_MISSED_MAX
- public const string OPTION_ARP_VALIDATE
- public const string OPTION_BALANCE_SLB
- public const string OPTION_DOWNDELAY
- public const string OPTION_FAIL_OVER_MAC
- public const string OPTION_LACP_ACTIVE
- public const string OPTION_LACP_RATE
- public const string OPTION_LP_INTERVAL
- public const string OPTION_MIIMON
- public const string OPTION_MIN_LINKS
- public const string OPTION_MODE
- public const string OPTION_NS_IP6_TARGET
- public const string OPTION_NUM_GRAT_ARP
- public const string OPTION_NUM_UNSOL_NA
- public const string OPTION_PACKETS_PER_SLAVE
- public const string OPTION_PEER_NOTIF_DELAY
- public const string OPTION_PRIMARY
- public const string OPTION_PRIMARY_RESELECT
- public const string OPTION_RESEND_IGMP
- public const string OPTION_TLB_DYNAMIC_LB
- public const string OPTION_UPDELAY
- public const string OPTION_USE_CARRIER
- public const string OPTION_XMIT_HASH_POLICY
- public const string PORT_PRIO
- public const string PORT_QUEUE_ID
- public const string PORT_SETTING_NAME
- public const string SETTING_NAME
Properties:
- public HashTable<string,string> options { owned get; set; }
Dictionary of key/value pairs of bonding options.
Static methods:
- public static bool validate_option (string name, string? value)
Checks whether
name
is a valid bond option andvalue
is a valid value for thename
.
Creation methods:
- public SettingBond ()
Creates a new SettingBond object with default values.
Methods:
- public bool add_option (string name, string value)
Add an option to the table.
- public uint32 get_num_options ()
Returns the number of options that should be set for this bond when it is activated.
- public bool get_option (uint32 idx, out unowned string out_name, out unowned string out_value)
Given an index, return the value of the bonding option at that index.
- public unowned string get_option_by_name (string name)
Returns the value associated with the bonding option specified by
name
, if it exists. - public unowned string get_option_default (string name)
- public unowned string get_option_normalized (string name)
- public unowned string[]? get_valid_options ()
Returns a list of valid bond options.
- public bool remove_option (string name)
Remove the bonding option referenced by
name
from the internal option list.
Inherited Members:
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object