NM.DeviceVlan

g GObject.Object GObject.Object NM.Object NM.Object GObject.Object->NM.Object NM.Device NM.Device NM.DeviceVlan NM.DeviceVlan NM.Device->NM.DeviceVlan NM.Object->NM.Device

Subclasses:

None

Methods

Inherited:

NM.Device (54), NM.Object (2), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_carrier ()

get_parent ()

get_vlan_id ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Device (32), NM.Object (2)

Name

Type

Flags

Short Description

carrier

bool

r

parent

NM.Device

r

vlan-id

int

r

Signals

Inherited:

NM.Device (1), GObject.Object (1)

Fields

Inherited:

NM.Device (1), GObject.Object (1)

Class Details

class NM.DeviceVlan(**kwargs)
Bases:

NM.Device

Abstract:

No

Structure:

NM.DeviceVlanClass

get_carrier()
Returns:

True if the device has carrier

Return type:

bool

Whether the device has carrier.

get_parent()
Returns:

the device’s parent device

Return type:

NM.Device

get_vlan_id()
Returns:

the device’s VLAN ID

Return type:

int

Property Details

NM.DeviceVlan.props.carrier
Name:

carrier

Type:

bool

Default Value:

False

Flags:

READABLE

Whether the device has carrier.

NM.DeviceVlan.props.parent
Name:

parent

Type:

NM.Device

Default Value:

None

Flags:

READABLE

The devices’s parent device.

NM.DeviceVlan.props.vlan_id
Name:

vlan-id

Type:

int

Default Value:

0

Flags:

READABLE

The device’s VLAN ID.