NM.DeviceBridge

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

get_carrier ()

get_slaves ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

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

Name

Type

Flags

Short Description

carrier

bool

r

slaves

GLib.PtrArray

r

Signals

Inherited:

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

Fields

Inherited:

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

Class Details

class NM.DeviceBridge(**kwargs)
Bases:

NM.Device

Abstract:

No

Structure:

NM.DeviceBridgeClass

get_carrier()
Returns:

True if the device has carrier

Return type:

bool

Whether the device has carrier.

get_slaves()
Returns:

the GLib.PtrArray containing NM.Devices that are slaves of self. This is the internal copy used by the device, and must not be modified.

Return type:

[NM.Device]

Gets the devices currently enslaved to self.

Deprecated since version 1.34: Use NM.Device.get_ports() instead.

Property Details

NM.DeviceBridge.props.carrier
Name:

carrier

Type:

bool

Default Value:

False

Flags:

READABLE

Whether the device has carrier.

NM.DeviceBridge.props.slaves
Name:

slaves

Type:

GLib.PtrArray

Default Value:

None

Flags:

READABLE

The devices enslaved to the bridge device.