NMSettingOvsPort: libnm Reference Manual

## NMSettingOvsPort NMSettingOvsPort |

## Functions

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 ()

## Types and Values

#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

## Description

## Functions

### nm_setting_ovs_port_new ()

    NMSetting *
    nm_setting_ovs_port_new (void);

### nm_setting_ovs_port_get_vlan_mode ()

    const char *
    nm_setting_ovs_port_get_vlan_mode (NMSettingOvsPort *self);

### nm_setting_ovs_port_get_tag ()

    guint
    nm_setting_ovs_port_get_tag (NMSettingOvsPort *self);

### nm_setting_ovs_port_get_lacp ()

    const char *
    nm_setting_ovs_port_get_lacp (NMSettingOvsPort *self);

### nm_setting_ovs_port_get_bond_mode ()

    const char *
    nm_setting_ovs_port_get_bond_mode (NMSettingOvsPort *self);

### nm_setting_ovs_port_get_bond_updelay ()

    guint
    nm_setting_ovs_port_get_bond_updelay (NMSettingOvsPort *self);

### nm_setting_ovs_port_get_bond_downdelay ()

    guint
    nm_setting_ovs_port_get_bond_downdelay
                                   (NMSettingOvsPort *self);

### nm_setting_ovs_port_add_trunk ()

    void
    nm_setting_ovs_port_add_trunk (NMSettingOvsPort *setting,
                                   NMRange *trunk);

### nm_setting_ovs_port_get_num_trunks ()

    guint
    nm_setting_ovs_port_get_num_trunks (NMSettingOvsPort *setting);

### nm_setting_ovs_port_get_trunk ()

    NMRange *
    nm_setting_ovs_port_get_trunk (NMSettingOvsPort *setting,
                                   guint idx);

### nm_setting_ovs_port_remove_trunk ()

    void
    nm_setting_ovs_port_remove_trunk (NMSettingOvsPort *setting,
                                      guint idx);

### nm_setting_ovs_port_remove_trunk_by_value ()

    gboolean
    nm_setting_ovs_port_remove_trunk_by_value
                                   (NMSettingOvsPort *setting,
                                    guint start,
                                    guint end);

### nm_setting_ovs_port_clear_trunks ()

    void
    nm_setting_ovs_port_clear_trunks (NMSettingOvsPort *setting);

## Types and Values

### NM_SETTING_OVS_PORT_SETTING_NAME

    #define NM_SETTING_OVS_PORT_SETTING_NAME "ovs-port"

### NM_SETTING_OVS_PORT_VLAN_MODE

    #define NM_SETTING_OVS_PORT_VLAN_MODE      "vlan-mode"

### NM_SETTING_OVS_PORT_TAG

    #define NM_SETTING_OVS_PORT_TAG            "tag"

### NM_SETTING_OVS_PORT_TRUNKS

    #define NM_SETTING_OVS_PORT_TRUNKS         "trunks"

### NM_SETTING_OVS_PORT_LACP

    #define NM_SETTING_OVS_PORT_LACP           "lacp"

### NM_SETTING_OVS_PORT_BOND_MODE

    #define NM_SETTING_OVS_PORT_BOND_MODE      "bond-mode"

### NM_SETTING_OVS_PORT_BOND_UPDELAY

    #define NM_SETTING_OVS_PORT_BOND_UPDELAY   "bond-updelay"

### NM_SETTING_OVS_PORT_BOND_DOWNDELAY

    #define NM_SETTING_OVS_PORT_BOND_DOWNDELAY "bond-downdelay"