rsd_lib.resources.v2_1.fabric.switch Module¶rsd_lib.resources.v2_1.fabric.switch.ActionsField(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
reset = <sushy.resources.common.ResetActionField object>¶The actions switch reset
rsd_lib.resources.v2_1.fabric.switch.LinksField(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
chassis = <sushy.resources.base.Field object>¶rsd_lib.resources.v2_1.fabric.switch.Switch(connector, identity, redfish_version=None)¶Bases: sushy.resources.base.ResourceBase
actions = <rsd_lib.resources.v2_1.fabric.switch.ActionsField object>¶The switch actions
asset_tag = <sushy.resources.base.Field object>¶The switch custom asset tag
description = <sushy.resources.base.Field object>¶The switch description
domain_id = <sushy.resources.base.Field object>¶The switch domain id
get_allowed_reset_switch_values()¶Get the allowed values for resetting the switch.
| Returns: | A set with the allowed values. |
|---|
identity = <sushy.resources.base.Field object>¶The switch identity
indicator_led = <sushy.resources.base.Field object>¶The switch indicator led
is_managed = <sushy.resources.base.Field object>¶The switch managed state
links = <rsd_lib.resources.v2_1.fabric.switch.LinksField object>¶The switch links
manufacturer = <sushy.resources.base.Field object>¶The switch manufacturer name
model = <sushy.resources.base.Field object>¶The switch model
name = <sushy.resources.base.Field object>¶The switch name
part_number = <sushy.resources.base.Field object>¶The switch part number
ports¶Property to provide reference to ` Ports` instance
It is calculated once when it is queried for the first time. On refresh, this property is reset.
power_state = <sushy.resources.base.Field object>¶The switch power state
reset_switch(value)¶Reset the switch.
| Parameters: | value – The target value. |
|---|---|
| Raises: | InvalidParameterValueError, if the target value is not allowed. |
serial_number = <sushy.resources.base.Field object>¶The switch serial number
sku = <sushy.resources.base.Field object>¶The switch SKU
status = <rsd_lib.common.StatusField object>¶The switch status
switch_type = <sushy.resources.base.Field object>¶The switch type
total_switch_width = <sushy.resources.base.Field object>¶The switch total switch width
rsd_lib.resources.v2_1.fabric.switch.SwitchCollection(connector, path, redfish_version=None)¶Bases: sushy.resources.base.ResourceCollectionBase
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.