The rsd_lib.resources.v2_3.chassis.chassis Module¶
-
class
rsd_lib.resources.v2_3.chassis.chassis.Chassis(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)¶ Bases:
rsd_lib.base.ResourceBaseChassis 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.
-
depth_mm= <sushy.resources.base.Field object>¶ The depth of the chassis.
-
height_mm= <sushy.resources.base.Field object>¶ The height of the chassis.
-
indicator_led= <sushy.resources.base.Field object>¶ The state of the indicator LED, used to identify the chassis.
-
links= <rsd_lib.resources.v2_3.chassis.chassis.LinksField object>¶ Contains references to other resources that are related to this resource.
-
location= <rsd_lib.base.LocationField object>¶ Location of a resource
-
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.
-
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.
-
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
-
weight_kg= <sushy.resources.base.Field object>¶ The weight of the chassis.
-
width_mm= <sushy.resources.base.Field object>¶ The width of the chassis.
-
-
class
rsd_lib.resources.v2_3.chassis.chassis.ChassisCollection(connector, path, redfish_version=None, registries=None, root=None)¶
-
class
rsd_lib.resources.v2_3.chassis.chassis.LinksField(*args, **kwargs)¶ Bases:
rsd_lib.resources.v2_1.chassis.chassis.LinksField-
pcie_devices= <sushy.resources.base.Field object>¶ An array of references to the PCIe Devices located in this Chassis.
-