sushy.resources.system.ethernet_interface
Module¶sushy.resources.system.ethernet_interface.
EthernetInterface
(connector, path='', redfish_version=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.
sushy.resources.system.ethernet_interface.
EthernetInterfaceCollection
(connector, path, redfish_version=None)¶Bases: sushy.resources.base.ResourceCollectionBase
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.
dictionary in the format {‘aa:bb:cc:dd:ee:ff’: sushy.STATE_ENABLED, ‘aa:bb:aa:aa:aa:aa’: sushy.STATE_DISABLED}
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.