Top |
NMSetting * | nm_setting_ovs_port_new () |
const char * | nm_setting_ovs_port_get_vlan_mode () |
guint | nm_setting_ovs_port_get_tag () |
const char * | nm_setting_ovs_port_get_lacp () |
const char * | nm_setting_ovs_port_get_bond_mode () |
guint | nm_setting_ovs_port_get_bond_updelay () |
guint | nm_setting_ovs_port_get_bond_downdelay () |
void | nm_setting_ovs_port_add_trunk () |
guint | nm_setting_ovs_port_get_num_trunks () |
NMRange * | nm_setting_ovs_port_get_trunk () |
void | nm_setting_ovs_port_remove_trunk () |
gboolean | nm_setting_ovs_port_remove_trunk_by_value () |
void | nm_setting_ovs_port_clear_trunks () |
#define | NM_SETTING_OVS_PORT_SETTING_NAME |
#define | NM_SETTING_OVS_PORT_VLAN_MODE |
#define | NM_SETTING_OVS_PORT_TAG |
#define | NM_SETTING_OVS_PORT_TRUNKS |
#define | NM_SETTING_OVS_PORT_LACP |
#define | NM_SETTING_OVS_PORT_BOND_MODE |
#define | NM_SETTING_OVS_PORT_BOND_UPDELAY |
#define | NM_SETTING_OVS_PORT_BOND_DOWNDELAY |
The NMSettingOvsPort object is a NMSetting subclass that describes properties necessary for Open vSwitch ports.
NMSetting *
nm_setting_ovs_port_new (void
);
Creates a new NMSettingOvsPort object with default values.
Since: 1.10
const char *
nm_setting_ovs_port_get_vlan_mode (NMSettingOvsPort *self
);
Since: 1.10
guint
nm_setting_ovs_port_get_tag (NMSettingOvsPort *self
);
Since: 1.10
const char *
nm_setting_ovs_port_get_lacp (NMSettingOvsPort *self
);
Since: 1.10
const char *
nm_setting_ovs_port_get_bond_mode (NMSettingOvsPort *self
);
Since: 1.10
guint
nm_setting_ovs_port_get_bond_updelay (NMSettingOvsPort *self
);
Since: 1.10
guint
nm_setting_ovs_port_get_bond_downdelay
(NMSettingOvsPort *self
);
Since: 1.10
void nm_setting_ovs_port_add_trunk (NMSettingOvsPort *setting
,NMRange *trunk
);
Appends a new trunk range to the setting.
This takes a reference to trunk
.
Since: 1.42
guint
nm_setting_ovs_port_get_num_trunks (NMSettingOvsPort *setting
);
Since: 1.42
NMRange * nm_setting_ovs_port_get_trunk (NMSettingOvsPort *setting
,guint idx
);
Since: 1.42
void nm_setting_ovs_port_remove_trunk (NMSettingOvsPort *setting
,guint idx
);
Removes the trunk range at index idx
.
Since: 1.42
gboolean nm_setting_ovs_port_remove_trunk_by_value (NMSettingOvsPort *setting
,guint start
,guint end
);
Remove the trunk range with range start
to end
.
setting |
the NMSettingOvsPort |
|
start |
the trunk range start index |
|
end |
the trunk range end index |
Since: 1.42
void
nm_setting_ovs_port_clear_trunks (NMSettingOvsPort *setting
);
Removes all configured trunk ranges.
Since: 1.42