sushy.resources.chassis.chassis
Module¶sushy.resources.chassis.chassis.
ActionsField
(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
reset
= <sushy.resources.common.ResetActionField object>¶sushy.resources.chassis.chassis.
Chassis
(connector, identity, redfish_version=None, registries=None)¶Bases: sushy.resources.base.ResourceBase
Chassis resource
The Chassis represents the physical components of a system. This resource represents the sheet-metal confined spaces and logical zones such as racks, enclosures, chassis and all other containers.
asset_tag
= <sushy.resources.base.Field object>¶The user assigned asset tag of this chassis
chassis_type
= <sushy.resources.base.MappedField object>¶The type of physical form factor of the chassis
depth_mm
= <sushy.resources.base.Field object>¶Depth in millimeters The depth of the chassis. The value of this property shall represent the depth (length) of the chassis (in millimeters) as specified by the manufacturer.
description
= <sushy.resources.base.Field object>¶The chassis description
get_allowed_reset_chassis_values
()¶Get the allowed values for resetting the chassis.
Returns: | A set of allowed values. |
---|---|
Raises: | MissingAttributeError, if Actions/#Chassis.Reset attribute not present. |
height_mm
= <sushy.resources.base.Field object>¶Height in millimeters The height of the chassis. The value of this property shall represent the height of the chassis (in millimeters) as specified by the manufacturer.
identity
= <sushy.resources.base.Field object>¶Identifier for the chassis
indicator_led
= <sushy.resources.base.MappedField object>¶The state of the indicator LED, used to identify the chassis
managers
¶A list of managers for this chassis.
Returns a list of Manager objects representing the managers that manage this chassis.
Raises: | MissingAttributeError if ‘@odata.id’ field is missing. |
---|---|
Returns: | A list of Manager instances |
manufacturer
= <sushy.resources.base.Field object>¶The manufacturer of this chassis
model
= <sushy.resources.base.Field object>¶The model number of the chassis
name
= <sushy.resources.base.Field object>¶The chassis name
part_number
= <sushy.resources.base.Field object>¶The part number of the chassis
physical_security
= <sushy.resources.chassis.chassis.PhysicalSecurity object>¶PhysicalSecurity This value of this property shall contain the sensor state of the physical security.
power
¶Property to reference Power instance
It is set once when the first time it is queried. On refresh, this property is marked as stale (greedy-refresh not done). Here the actual refresh of the sub-resource happens, if stale.
power_state
= <sushy.resources.base.MappedField object>¶The current power state of the chassis
reset_chassis
(value)¶Reset the chassis.
Parameters: | value – The target value. |
---|---|
Raises: | InvalidParameterValueError, if the target value is not allowed. |
serial_number
= <sushy.resources.base.Field object>¶The serial number of the chassis
set_indicator_led
(state)¶Set IndicatorLED to the given state.
Parameters: | state – Desired LED state, lit (INDICATOR_LED_LIT), blinking (INDICATOR_LED_BLINKING), off (INDICATOR_LED_OFF) |
---|---|
Raises: | InvalidParameterValueError, if any information passed is invalid. |
sku
= <sushy.resources.base.Field object>¶Stock-keeping unit number (SKU) The value of this property shall be the stock-keeping unit number for this chassis.
status
= <sushy.resources.common.StatusField object>¶Status and Health This property describes the status and health of the chassis and its children.
systems
¶A list of systems residing in this chassis.
Returns a list of System objects representing systems being mounted in this chassis/cabinet.
Raises: | MissingAttributeError if ‘@odata.id’ field is missing. |
---|---|
Returns: | A list of System instances |
thermal
¶Property to reference Thermal instance
It is set once when the first time it is queried. On refresh, this property is marked as stale (greedy-refresh not done). Here the actual refresh of the sub-resource happens, if stale.
uuid
= <sushy.resources.base.Field object>¶The Universal Unique Identifier (UUID) for this Chassis.
weight_kg
= <sushy.resources.base.Field object>¶Weight in kilograms The value of this property shall represent the published mass (commonly referred to as weight) of the chassis (in kilograms).
width_mm
= <sushy.resources.base.Field object>¶Width in millimeters The value of this property shall represent the width of the chassis (in millimeters) as specified by the manufacturer.
sushy.resources.chassis.chassis.
ChassisCollection
(connector, path, redfish_version=None, registries=None)¶sushy.resources.chassis.chassis.
PhysicalSecurity
(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
intrusion_sensor
= <sushy.resources.base.MappedField object>¶IntrusionSensor This indicates the known state of the physical security sensor, such as if it is hardware intrusion detected.
intrusion_sensor_number
= <sushy.resources.base.Field object>¶A numerical identifier to represent the physical security sensor
intrusion_sensor_re_arm
= <sushy.resources.base.MappedField object>¶This indicates how the Normal state to be restored
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.