NM.SettingHsr¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingHsr(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
HSR/PRP Settings
- classmethod new()¶
- Returns:
the new empty
NM.SettingHsrobject- Return type:
Creates a new
NM.SettingHsrobject with default values.New in version 1.46.
- get_interlink()¶
- Returns:
the
NM.SettingHsr:interlinkproperty of the setting- Return type:
New in version 1.56.
- get_multicast_spec()¶
- Returns:
the #NMSettingHsr:multicast_spec property of the setting
- Return type:
New in version 1.46.
- get_port1()¶
- Returns:
the
NM.SettingHsr:port1property of the setting- Return type:
New in version 1.46.
- get_port2()¶
- Returns:
the
NM.SettingHsr:port2property of the setting- Return type:
New in version 1.46.
- get_protocol_version()¶
- Returns:
the
NM.SettingHsr:protocol-versionproperty of the setting- Return type:
New in version 1.56.
- get_prp()¶
- Returns:
the
NM.SettingHsr:prpproperty of the setting- Return type:
New in version 1.46.
Property Details¶
- NM.SettingHsr.props.interlink¶
- Name:
interlink- Type:
- Default Value:
- Flags:
The optional interlink port name of the HSR interface.
New in version 1.56.
- NM.SettingHsr.props.multicast_spec¶
- Name:
multicast-spec- Type:
- Default Value:
0- Flags:
The last byte of supervision address.
New in version 1.46.
- NM.SettingHsr.props.port1¶
- Name:
port1- Type:
- Default Value:
- Flags:
The port1 interface name of the HSR. This property is mandatory.
New in version 1.46.
- NM.SettingHsr.props.port2¶
- Name:
port2- Type:
- Default Value:
- Flags:
The port2 interface name of the HSR. This property is mandatory.
New in version 1.46.
- NM.SettingHsr.props.protocol_version¶
- Name:
protocol-version- Type:
- Default Value:
-1- Flags:
Configures the protocol version to be used for the HSR/PRP interface.
NM.SettingHsrProtocolVersion.DEFAULTsets the protocol version to the default version for the protocol.NM.SettingHsrProtocolVersion.HSR_2010sets the protocol version to HSRv0 (IEC 62439-3:2010).NM.SettingHsrProtocolVersion.HSR_2012sets the protocol version to HSRv1 (IEC 62439-3:2012).New in version 1.56.