The sushy.resources.system.ethernet_interface
Module¶
-
class
sushy.resources.system.ethernet_interface.
EthernetInterface
(connector, path='', redfish_version=None, registries=None, reader=None)¶ Bases:
sushy.resources.base.ResourceBase
This class adds the EthernetInterface resource
-
description
= <sushy.resources.base.Field object>¶ Description
-
identity
= <sushy.resources.base.Field object>¶ The Ethernet Interface identity string
-
mac_address
= <sushy.resources.base.Field object>¶ This is the currently configured MAC address of the interface.
-
name
= <sushy.resources.base.Field object>¶ The name of the resource or array element
-
permanent_mac_address
= <sushy.resources.base.Field object>¶ This is the permanent MAC address assigned to this interface (port)
-
speed_mbps
= <sushy.resources.base.Field object>¶ This is the current speed in Mbps of this interface.
-
status
= <sushy.resources.common.StatusField object>¶ Describes the status and health of this interface.
-
-
class
sushy.resources.system.ethernet_interface.
EthernetInterfaceCollection
(connector, path, redfish_version=None, registries=None)¶ Bases:
sushy.resources.base.ResourceCollectionBase
-
property
summary
¶ Summary of MAC addresses and interfaces state
This filters the MACs whose health is OK, which means the MACs in both ‘Enabled’ and ‘Disabled’ States are returned.
- Returns
dictionary in the format {‘aa:bb:cc:dd:ee:ff’: sushy.STATE_ENABLED, ‘aa:bb:aa:aa:aa:aa’: sushy.STATE_DISABLED}
-
property