NM.DeviceHsr
- Subclasses:
None
Class Details
-
class NM.DeviceHsr(**kwargs)
- Bases:
NM.Device
- Abstract:
No
- Structure:
NM.DeviceHsrClass
-
get_multicast_spec()
- Returns:
the last byte of the supervision address
- Return type:
int
-
get_port1()
- Returns:
the device’s port1 device
- Return type:
NM.Device
-
get_port2()
- Returns:
the device’s port2 device
- Return type:
NM.Device
-
get_prp()
- Returns:
whether PRP protocol is used or not
- Return type:
bool
-
get_supervision_address()
- Returns:
the supervision MAC adddress
- Return type:
str
Property Details
-
NM.DeviceHsr.props.multicast_spec
- Name:
multicast-spec
- Type:
- Default Value:
0
- Flags:
READABLE
The device last byte of the supervision address.
-
NM.DeviceHsr.props.port1
- Name:
port1
- Type:
NM.Device
- Default Value:
None
- Flags:
READABLE
The device’s port1 device.
-
NM.DeviceHsr.props.port2
- Name:
port2
- Type:
NM.Device
- Default Value:
None
- Flags:
READABLE
The device’s port2 device.
-
NM.DeviceHsr.props.prp
- Name:
prp
- Type:
bool
- Default Value:
False
- Flags:
READABLE
Whether the PRP protocol is used or not.
-
NM.DeviceHsr.props.supervision_address
- Name:
supervision-address
- Type:
str
- Default Value:
None
- Flags:
READABLE
The device supervision MAC adddress.