NM.SettingHsr

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

get_multicast_spec ()

get_port1 ()

get_port2 ()

get_prp ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

multicast-spec

int

r/w/en

port1

str

r/w/en

port2

str

r/w/en

prp

bool

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingHsr(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingHsrClass

HSR/PRP Settings

classmethod new()
Returns:

the new empty NM.SettingHsr object

Return type:

NM.Setting

Creates a new NM.SettingHsr object with default values.

New in version 1.46.

get_multicast_spec()
Returns:

the #NMSettingHsr:multicast_spec property of the setting

Return type:

int

New in version 1.46.

get_port1()
Returns:

the NM.SettingHsr :port1 property of the setting

Return type:

str

New in version 1.46.

get_port2()
Returns:

the NM.SettingHsr :port2 property of the setting

Return type:

str

New in version 1.46.

get_prp()
Returns:

the NM.SettingHsr :prp property of the setting

Return type:

bool

New in version 1.46.

Property Details

NM.SettingHsr.props.multicast_spec
Name:

multicast-spec

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The last byte of supervision address.

New in version 1.46.

NM.SettingHsr.props.port1
Name:

port1

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The port1 interface name of the HSR. This property is mandatory.

New in version 1.46.

NM.SettingHsr.props.port2
Name:

port2

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The port2 interface name of the HSR. This property is mandatory.

New in version 1.46.

NM.SettingHsr.props.prp
Name:

prp

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The protocol used by the interface, whether it is PRP or HSR.

New in version 1.46.