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>¶A reference to the chassis which contains this switch.
managed_by
= <sushy.resources.base.Field object>¶An array of references to the managers that manage this switch.
rsd_lib.resources.v2_1.fabric.switch.
Switch
(connector, path='', redfish_version=None, registries=None, reader=None)¶Bases: rsd_lib.base.ResourceBase
Switch resource class
Switch contains properties describing a simple fabric switch.
actions
= <rsd_lib.resources.v2_1.fabric.switch.ActionsField object>¶The switch actions
asset_tag
= <sushy.resources.base.Field object>¶The user assigned asset tag for this switch.
domain_id
= <sushy.resources.base.Field object>¶The Domain ID for this switch.
get_allowed_reset_switch_values
()¶Get the allowed values for resetting the switch.
A set with the allowed values.
indicator_led
= <sushy.resources.base.Field object>¶The state of the indicator LED, used to identify the switch.
is_managed
= <sushy.resources.base.Field object>¶This indicates whether the switch is in a managed or unmanaged state.
links
= <rsd_lib.resources.v2_1.fabric.switch.LinksField object>¶Contains references to other resources that are related to this resource.
log_services
¶Property to provide reference to LogServiceCollection instance
It is calculated once when it is queried for the first time. On refresh, this property is reset.
manufacturer
= <sushy.resources.base.Field object>¶This is the manufacturer of this switch.
model
= <sushy.resources.base.Field object>¶The product model number of this switch.
part_number
= <sushy.resources.base.Field object>¶The part number for this switch.
ports
¶Property to provide reference to PortCollection 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>¶This is the current power state of the switch.
redundancy
= <rsd_lib.resources.v2_1.common.redundancy.RedundancyCollectionField object>¶Redundancy information for the switches
reset_switch
(value)¶Reset the switch.
value – The target value.
InvalidParameterValueError, if the target value is not allowed.
serial_number
= <sushy.resources.base.Field object>¶The serial number for this switch.
sku
= <sushy.resources.base.Field object>¶This is the SKU for this switch.
status
= <rsd_lib.base.StatusField object>¶This indicates the known state of the resource, such as if it is enabled.
switch_type
= <sushy.resources.base.Field object>¶The protocol being sent over this switch.
total_switch_width
= <sushy.resources.base.Field object>¶The total number of lanes, phys, or other physical transport links that this switch contains.
rsd_lib.resources.v2_1.fabric.switch.
SwitchCollection
(connector, path, redfish_version=None, registries=None)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.