The rsd_lib.resources.v2_1.chassis.chassis Module

class rsd_lib.resources.v2_1.chassis.chassis.Chassis(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)

Bases: rsd_lib.base.ResourceBase

Chassis resource class

A Chassis represents the physical components for any system. This resource represents the sheet-metal confined spaces and logical zones like racks, enclosures, chassis and all other containers. Subsystems (like sensors), which operate outside of a system’s data plane (meaning the resources are not accessible to software running on the system) are linked either directly or indirectly through this resource.

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

The user assigned asset tag for this chassis.

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

This property indicates the type of physical form factor of this resource.

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

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

Contains references to other resources that are related to this resource.

location = <rsd_lib.base.LocationField object>
property 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 chassis.

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

This is the model number for the chassis.

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

Oem specific properties.

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

The part number for this chassis.

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

The state of the physical security sensor.

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>

This is the current power state of the chassis.

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 serial number for this chassis.

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

This is the SKU for this chassis.

status = <rsd_lib.base.StatusField object>

This indicates the known state of the resource, such as if it is enabled.

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, registries=None, root=None)

Bases: rsd_lib.base.ResourceCollectionBase

class rsd_lib.resources.v2_1.chassis.chassis.IntelRackScaleField(*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.LinksField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

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

An array of references to the computer systems contained in this chassis. This will only reference ComputerSystems that are directly and wholly contained in this chassis.

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

A reference to the chassis that this chassis is contained by.

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

An array of references to 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. Normally the ID will be a chassis or a specific set of fans.

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>

An array of references to the Managers responsible for managing this chassis.

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

An array of references to the managers located in this Chassis.

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

Oem specific properties.

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

An array of ID[s] of resources that power this chassis. Normally the ID will be a chassis or a specific set of powerSupplies

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

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

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

Bases: sushy.resources.base.CompositeField

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

An array of references to the ethernet switches located in this Chassis.

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

Bases: sushy.resources.base.CompositeField

intel_rackscale = <rsd_lib.resources.v2_1.chassis.chassis.LinksIntelRackScaleField object>

Intel Rack Scale Design specific properties.

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

intel_rackscale = <rsd_lib.resources.v2_1.chassis.chassis.IntelRackScaleField object>

Intel Rack Scale Design specific properties.

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

Bases: sushy.resources.base.CompositeField

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

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.Field object>

This indicates how the Normal state to be restored.