SettingBond
Object Hierarchy:
Description:
Namespace: NM
Package: libnm-util
Content:
Constants:
- public const string INTERFACE_NAME
- public const string OPTIONS
- public const string OPTION_AD_SELECT
- public const string OPTION_ARP_INTERVAL
- public const string OPTION_ARP_IP_TARGET
- public const string OPTION_ARP_VALIDATE
- public const string OPTION_DOWNDELAY
- public const string OPTION_FAIL_OVER_MAC
- public const string OPTION_LACP_RATE
- public const string OPTION_MIIMON
- public const string OPTION_MODE
- public const string OPTION_PRIMARY
- public const string OPTION_PRIMARY_RESELECT
- public const string OPTION_RESEND_IGMP
- public const string OPTION_UPDELAY
- public const string OPTION_USE_CARRIER
- public const string OPTION_XMIT_HASH_POLICY
- public const string SETTING_NAME
Properties:
- public string interface_name { owned get; set; }
The name of the virtual in-kernel bonding network interface
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 unowned string get_interface_name ()
- 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 string out_name, out 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_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