NM.SettingVeth

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

get_peer ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

peer

str

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingVeth(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingVethClass

Veth Settings

classmethod new()
Returns:

the new empty NM.SettingVeth object

Return type:

NM.Setting

Creates a new NM.SettingVeth object with default values.

New in version 1.30.

get_peer()
Returns:

the NM.SettingVeth :peer property of the setting

Return type:

str

New in version 1.30.

Property Details

NM.SettingVeth.props.peer
Name:

peer

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

This property specifies the peer interface name of the veth. This property is mandatory.

New in version 1.30.