The rsd_lib.resources.v2_1.fabric.port Module¶
-
class
rsd_lib.resources.v2_1.fabric.port.ActionsField(*args, **kwargs)¶ Bases:
sushy.resources.base.CompositeField-
reset= <sushy.resources.common.ResetActionField object>¶ The action port reset
-
-
class
rsd_lib.resources.v2_1.fabric.port.IntelRackScaleField(*args, **kwargs)¶ Bases:
sushy.resources.base.CompositeField-
pcie_connection_id= <sushy.resources.base.Field object>¶ An array of references to the PCIe connection identifiers (e.g. cable ID).
-
-
class
rsd_lib.resources.v2_1.fabric.port.LinksField(*args, **kwargs)¶ Bases:
sushy.resources.base.CompositeField-
associated_endpoints= <sushy.resources.base.Field object>¶ An array of references to the endpoints that connect to the switch through this port.
-
connected_switch_ports= <sushy.resources.base.Field object>¶ An array of references to the ports that connect to the switch through this port.
-
connected_switches= <sushy.resources.base.Field object>¶ An array of references to the switches that connect to the switch through this port.
-
oem= <rsd_lib.resources.v2_1.fabric.port.LinksOemField object>¶ Oem specific properties.
-
-
class
rsd_lib.resources.v2_1.fabric.port.LinksIntelRackScaleField(*args, **kwargs)¶ Bases:
sushy.resources.base.CompositeField-
neighbor_port= <sushy.resources.base.Field object>¶ This indicates neighbor port which is connected to this port
-
-
class
rsd_lib.resources.v2_1.fabric.port.LinksOemField(*args, **kwargs)¶ Bases:
sushy.resources.base.CompositeField-
intel_rackscale= <rsd_lib.resources.v2_1.fabric.port.LinksIntelRackScaleField object>¶ Intel Rack Scale Design specific properties.
-
-
class
rsd_lib.resources.v2_1.fabric.port.OemField(*args, **kwargs)¶ Bases:
sushy.resources.base.CompositeField-
intel_rackscale= <rsd_lib.resources.v2_1.fabric.port.IntelRackScaleField object>¶ The oem intel rack scale
-
-
class
rsd_lib.resources.v2_1.fabric.port.Port(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)¶ Bases:
rsd_lib.base.ResourceBasePort resource class
Port contains properties describing a port of a switch.
-
actions= <rsd_lib.resources.v2_1.fabric.port.ActionsField object>¶ The port actions
-
current_speed_gbps= <sushy.resources.base.Field object>¶ The current speed of this port.
-
get_allowed_reset_port_values()¶ Get the allowed values for resetting the port.
- Returns
A set with the allowed values.
-
links= <rsd_lib.resources.v2_1.fabric.port.LinksField object>¶ Contains references to other resources that are related to this resource.
-
max_speed_gbps= <sushy.resources.base.Field object>¶ The maximum speed of this port as currently configured.
-
oem= <rsd_lib.resources.v2_1.fabric.port.OemField object>¶ Oem specific properties.
-
port_id= <sushy.resources.base.Field object>¶ This is the label of this port on the physical switch package.
-
port_protocol= <sushy.resources.base.Field object>¶ The protocol being sent over this port.
-
port_type= <sushy.resources.base.Field object>¶ This is the type of this port.
-
reset_port(value)¶ Reset the port.
- Parameters
value – The target value.
- Raises
InvalidParameterValueError, if the target value is not allowed.
-
status= <rsd_lib.base.StatusField object>¶ This indicates the known state of the resource, such as if it is enabled.
-
width= <sushy.resources.base.Field object>¶ The number of lanes, phys, or other physical transport links that this port contains.
-
-
class
rsd_lib.resources.v2_1.fabric.port.PortCollection(connector, path, redfish_version=None, registries=None, root=None)¶