The rsd_lib.resources.v2_1.chassis.chassis Module

The rsd_lib.resources.v2_1.chassis.chassis Module

class rsd_lib.resources.v2_1.chassis.chassis.Chassis(connector, identity, redfish_version=None)

Bases: sushy.resources.base.ResourceBase

asset_tag = <sushy.resources.base.Field object>

The chassis asset tag

chassis_type = <sushy.resources.base.Field object>

The chassis type

description = <sushy.resources.base.Field object>

The chassis description

identity = <sushy.resources.base.Field object>

The chassis identity string

indicator_led = <sushy.resources.base.Field object>

The state of the indicator LED, used to identify the chassis

The link section of chassis

property log_services

Property to provide reference to LogServices 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>

The chassis manufacturer

model = <sushy.resources.base.Field object>

The chassis Model

name = <sushy.resources.base.Field object>

The chassis name

oem = <rsd_lib.resources.v2_1.chassis.chassis.OemField object>

The chassis oem object

part_number = <sushy.resources.base.Field object>

The chassis part number

physical_security = <rsd_lib.resources.v2_1.chassis.chassis.PhysicalSecurityField object>

The chassis physical security

property power

Property to provide reference to Power 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 chassis power state

property power_zones

Property to provide reference to PowerZoneCollection instance

It is calculated once when it is queried for the first time. On refresh, this property is reset.

serial_number = <sushy.resources.base.Field object>

The chassis serial number

sku = <sushy.resources.base.Field object>

The chassis stock-keeping unit

status = <rsd_lib.common.StatusField object>

The chassis status

property thermal

Property to provide reference to Thermal instance

It is calculated once when it is queried for the first time. On refresh, this property is reset.

property thermal_zones

Property to provide reference to ThermalZoneCollection instance

It is calculated once when it is queried for the first time. On refresh, this property is reset.

update(asset_tag=None, location_id=None)

Update AssetTag and Location->Id properties

Parameters
  • asset_tag – The user assigned asset tag for this chassis

  • location_id – The user assigned location id for this chassis. It can be changed only for a Rack Chassis

class rsd_lib.resources.v2_1.chassis.chassis.ChassisCollection(connector, path, redfish_version=None)

Bases: sushy.resources.base.ResourceCollectionBase

class rsd_lib.resources.v2_1.chassis.chassis.LinksField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

computer_systems = <sushy.resources.base.Field object>

The computer systems contained in this chassis

contained_by = <sushy.resources.base.Field object>

The resource that represents the chassis that contains this chassis and shall be of type Chassis

contains = <sushy.resources.base.Field object>

Any other chassis that this chassis has in it

cooled_by = <sushy.resources.base.Field object>

An array of ID[s] of resources that cool this chassis

drives = <sushy.resources.base.Field object>

“An array of references to the disk drives located in this Chassis

managed_by = <sushy.resources.base.Field object>

The managers contained in this chassis

managers_in_chassis = <sushy.resources.base.Field object>

The managers located in this chassis

powered_by = <sushy.resources.base.Field object>

An array of ID[s] of resources that power this chassis

storage = <sushy.resources.base.Field object>

An array of references to the storage subsystems connected to or inside this Chassis

switches = <sushy.resources.base.Field object>

The Ethernet switches contained in this chassis

class rsd_lib.resources.v2_1.chassis.chassis.LocationField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

identity = <sushy.resources.base.Field object>

The location ID of the chassis

parent_id = <sushy.resources.base.Field object>

The location ID of parent chassis

class rsd_lib.resources.v2_1.chassis.chassis.OemField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

geo_tag = <sushy.resources.base.Field object>

Provides info about the geographical location of this chassis

location = <rsd_lib.resources.v2_1.chassis.chassis.LocationField object>

Property that shows this chassis ID and its parent

rack_supports_disaggregated_power_cooling = <sushy.resources.base.Field object>

Indicates if Rack support is disaggregated (shared) power and cooling capabilities

rmm_present = <sushy.resources.base.Field object>

RMM presence in a rack

uuid = <sushy.resources.base.Field object>

Chassis unique ID

class rsd_lib.resources.v2_1.chassis.chassis.PhysicalSecurityField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

intrusion_sensor = <sushy.resources.base.Field object>

“The physical security intrusion sensor

intrusion_sensor_number = <sushy.resources.base.Field object>

“The physical security intrusion sensor number

intrusion_sensor_rearm = <sushy.resources.base.Field object>

“The physical security intrusion sensor rearm

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.