SettingOvsPort
Object Hierarchy:
Description:
[ CCode ( type_id = "nm_setting_ovs_port_get_type ()" ) ]
public sealed class SettingOvsPort : Setting
public sealed class SettingOvsPort : Setting
OvsPort Link Settings
Namespace: NM
Package: libnm
Content:
Constants:
- public const string BOND_DOWNDELAY
- public const string BOND_MODE
- public const string BOND_UPDELAY
- public const string LACP
- public const string SETTING_NAME
- public const string TAG
- public const string TRUNKS
- public const string VLAN_MODE
Properties:
- public uint bond_downdelay { get; set; }
The time port must be inactive in order to be considered down.
- public string bond_mode { owned get; set; }
Bonding mode.
- public uint bond_updelay { get; set; }
The time port must be active before it starts forwarding traffic.
- public string lacp { owned get; set; }
LACP mode.
- public uint tag { get; set; }
The VLAN tag in the range 0-4095.
- public GenericArray<Range> trunks { owned get; set; }
A list of VLAN ranges that this port trunks.
- public string vlan_mode { owned get; set; }
The VLAN mode.
Creation methods:
- public SettingOvsPort ()
Creates a new SettingOvsPort object with default values.
Methods:
- public void add_trunk (Range trunk)
Appends a new trunk range to the setting.
- public void clear_trunks ()
Removes all configured trunk ranges.
- public uint get_bond_downdelay ()
- public unowned string get_bond_mode ()
- public uint get_bond_updelay ()
- public unowned string get_lacp ()
- public uint get_num_trunks ()
- public uint get_tag ()
- public unowned Range get_trunk (uint idx)
- public unowned string get_vlan_mode ()
- public void remove_trunk (uint idx)
Removes the trunk range at index
idx
. - public bool remove_trunk_by_value (uint start, uint end)
Remove the trunk range with range
start
toend
.
Inherited Members:
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object