NM.SettingOvsInterface

g GObject.Object GObject.Object NM.Setting NM.Setting GObject.Object->NM.Setting NM.SettingOvsInterface NM.SettingOvsInterface NM.Setting->NM.SettingOvsInterface

Subclasses:

None

Methods

Inherited:

NM.Setting (21), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_interface_type ()

get_ofport_request ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

ofport-request

int

r/w/en

type

str

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingOvsInterface(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingOvsInterfaceClass

Open vSwitch Interface Settings

classmethod new()
Returns:

the new empty NM.SettingOvsInterface object

Return type:

NM.Setting

Creates a new NM.SettingOvsInterface object with default values.

New in version 1.10.

get_interface_type()
Returns:

the NM.SettingOvsInterface :type property of the setting

Return type:

str

New in version 1.10.

get_ofport_request()
Returns:

id of the preassigned ovs port

Return type:

int

New in version 1.42.

Property Details

NM.SettingOvsInterface.props.ofport_request
Name:

ofport-request

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Open vSwitch openflow port number. Defaults to zero which means that port number will not be specified and it will be chosen randomly by ovs. OpenFlow ports are the network interfaces for passing packets between OpenFlow processing and the rest of the network. OpenFlow switches connect logically to each other via their OpenFlow ports.

New in version 1.42.

NM.SettingOvsInterface.props.type
Name:

type

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The interface type. Either “internal”, “system”, “patch”, “dpdk”, or empty.

New in version 1.10.