NM.SettingIpvlan

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

get_mode ()

get_parent ()

get_private ()

get_vepa ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

mode

int

r/w/en

parent

str

r/w/en

private

bool

r/w/en

vepa

bool

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingIpvlan(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingIpvlanClass

IPVLAN Settings

classmethod new()
Returns:

the new empty NM.SettingIpvlan object

Return type:

NM.Setting

Creates a new NM.SettingIpvlan object with default values.

New in version 1.52.

get_mode()
Returns:

the NM.SettingIpvlan :mode property of the setting

Return type:

NM.SettingIpvlanMode

New in version 1.52.

get_parent()
Returns:

the NM.SettingIpvlan :parent property of the setting

Return type:

str

New in version 1.52.

get_private()
Returns:

the NM.SettingIpvlan :private property of the setting

Return type:

bool

New in version 1.52.

get_vepa()
Returns:

the NM.SettingIpvlan :vepa property of the setting

Return type:

bool

New in version 1.52.

Property Details

NM.SettingIpvlan.props.mode
Name:

mode

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The IPVLAN mode. Valid values: NM.SettingIpvlanMode.L2, NM.SettingIpvlanMode.L3 and NM.SettingIpvlanMode.L3S.

New in version 1.52.

NM.SettingIpvlan.props.parent
Name:

parent

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If given, specifies the parent interface name or parent connection UUID from which this IPVLAN interface should be created. If this property is not specified, the connection must contain an NM.SettingWired setting with a NM.SettingWired :mac-address property.

New in version 1.52.

NM.SettingIpvlan.props.private
Name:

private

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Whether the interface should be put in private mode.

New in version 1.52.

NM.SettingIpvlan.props.vepa
Name:

vepa

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Whether the interface should be put in VEPA mode.

New in version 1.52.