NM.DeviceHsr

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

get_multicast_spec ()

get_port1 ()

get_port2 ()

get_prp ()

get_supervision_address ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

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

Name

Type

Flags

Short Description

multicast-spec

r

port1

NM.Device

r

port2

NM.Device

r

prp

bool

r

supervision-address

str

r

Signals

Inherited:

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

Fields

Inherited:

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

Class Details

class NM.DeviceHsr(**kwargs)
Bases:

NM.Device

Abstract:

No

Structure:

NM.DeviceHsrClass

New in version 1.46.

get_multicast_spec()
Returns:

the last byte of the supervision address

Return type:

int

New in version 1.46.

get_port1()
Returns:

the device’s port1 device

Return type:

NM.Device

New in version 1.46.

get_port2()
Returns:

the device’s port2 device

Return type:

NM.Device

New in version 1.46.

get_prp()
Returns:

whether PRP protocol is used or not

Return type:

bool

New in version 1.46.

get_supervision_address()
Returns:

the supervision MAC adddress

Return type:

str

New in version 1.46.

Property Details

NM.DeviceHsr.props.multicast_spec
Name:

multicast-spec

Type:

Default Value:

0

Flags:

READABLE

The device last byte of the supervision address.

New in version 1.46.

NM.DeviceHsr.props.port1
Name:

port1

Type:

NM.Device

Default Value:

None

Flags:

READABLE

The device’s port1 device.

New in version 1.46.

NM.DeviceHsr.props.port2
Name:

port2

Type:

NM.Device

Default Value:

None

Flags:

READABLE

The device’s port2 device.

New in version 1.46.

NM.DeviceHsr.props.prp
Name:

prp

Type:

bool

Default Value:

False

Flags:

READABLE

Whether the PRP protocol is used or not.

New in version 1.46.

NM.DeviceHsr.props.supervision_address
Name:

supervision-address

Type:

str

Default Value:

None

Flags:

READABLE

The device supervision MAC adddress.

New in version 1.46.