sushy.resources.chassis package

Submodules

sushy.resources.chassis.chassis module

class sushy.resources.chassis.chassis.ActionsField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

reset = <sushy.resources.common.ResetActionField object>
class 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

property 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.

property 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.

property 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

property 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.

class sushy.resources.chassis.chassis.ChassisCollection(connector, path, redfish_version=None, registries=None)

Bases: sushy.resources.base.ResourceCollectionBase

class 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

sushy.resources.chassis.constants module

sushy.resources.chassis.constants.CHASSIS_INTRUSION_SENSOR_HARDWARE_INTRUSION = 'hardware intrusion chassis intrusion sensor'

HardwareIntrusion

A door, lock, or other mechanism protecting the internal system hardware from being accessed is detected as being in an insecure state.

sushy.resources.chassis.constants.CHASSIS_INTRUSION_SENSOR_NORMAL = 'normal chassis intrusion sensor'

No abnormal physical security conditions are detected at this time

sushy.resources.chassis.constants.CHASSIS_INTRUSION_SENSOR_RE_ARM_AUTOMATIC = 'automatic re arm chassis intrusion sensor'

Automatic

This sensor would be restored to the Normal state automatically as no abnormal physical security conditions are detected.

sushy.resources.chassis.constants.CHASSIS_INTRUSION_SENSOR_RE_ARM_MANUAL = 'manual re arm chassis intrusion sensor'

This sensor would be restored to the Normal state by a manual re-arm

sushy.resources.chassis.constants.CHASSIS_INTRUSION_SENSOR_TAMPERING_DETECTED = 'tampering detected chassis intrusion sensor'

Physical tampering of the monitored entity is detected

sushy.resources.chassis.constants.CHASSIS_TYPE_BLADE = 'blade chassis type'

Blade

An enclosed or semi-enclosed, typically vertically-oriented, system chassis which must be plugged into a multi-system chassis to function normally.

sushy.resources.chassis.constants.CHASSIS_TYPE_CARD = 'card chassis type'

Card

A loose device or circuit board intended to be installed in a system or other enclosure.

sushy.resources.chassis.constants.CHASSIS_TYPE_CARTRIDGE = 'cartridge chassis type'

Cartridge

A small self-contained system intended to be plugged into a multi-system chassis

sushy.resources.chassis.constants.CHASSIS_TYPE_COMPONENT = 'component chassis type'

Component

A small chassis, card, or device which contains devices for a particular subsystem or function.

sushy.resources.chassis.constants.CHASSIS_TYPE_DRAWER = 'drawer chassis type'

Drawer

An enclosed or semi-enclosed, typically horizontally-oriented, system chassis which may be slid into a multi-system chassis.

sushy.resources.chassis.constants.CHASSIS_TYPE_ENCLOSURE = 'enclosure chassis type'

A generic term for a chassis that does not fit any other description

sushy.resources.chassis.constants.CHASSIS_TYPE_EXPANSION = 'expansion chassis type'

A chassis which expands the capabilities or capacity of another chassis

sushy.resources.chassis.constants.CHASSIS_TYPE_IP_BASED_DRIVE = 'IP based drive chassis type'

A chassis in a drive form factor with IP-based network connections

sushy.resources.chassis.constants.CHASSIS_TYPE_MODULE = 'module chassis type'

Module

A small, typically removable, chassis or card which contains devices for a particular subsystem or function.

sushy.resources.chassis.constants.CHASSIS_TYPE_OTHER = 'other chassis type'

A chassis that does not fit any of these definitions

sushy.resources.chassis.constants.CHASSIS_TYPE_POD = 'pod chassis type'

Pod

A collection of equipment racks in a large, likely transportable, container

sushy.resources.chassis.constants.CHASSIS_TYPE_RACK = 'rack chassis type'

An equipment rack, typically a 19-inch wide freestanding unit

sushy.resources.chassis.constants.CHASSIS_TYPE_RACK_GROUP = 'rack group chassis type'

A group of racks which form a single entity or share infrastructure

sushy.resources.chassis.constants.CHASSIS_TYPE_RACK_MOUNT = 'rack mount chassis type'

RackMount

A single system chassis designed specifically for mounting in an equipment rack.

sushy.resources.chassis.constants.CHASSIS_TYPE_ROW = 'row chassis type'

A collection of equipment rack

sushy.resources.chassis.constants.CHASSIS_TYPE_SHELF = 'shelf chassis type'

Shelf

An enclosed or semi-enclosed, typically horizontally-oriented, system chassis which must be plugged into a multi-system chassis to function normally.

sushy.resources.chassis.constants.CHASSIS_TYPE_SIDECAR = 'sidecar chassis type'

Sidecar

A chassis that mates mechanically with another chassis to expand its capabilities or capacity.

sushy.resources.chassis.constants.CHASSIS_TYPE_SLED = 'sled chassis type'

Sled

An enclosed or semi-enclosed, system chassis which must be plugged into a multi-system chassis to function normally similar to a blade type chassis.

sushy.resources.chassis.constants.CHASSIS_TYPE_STAND_ALONE = 'stand alone chassis type'

StandAlone

A single, free-standing system, commonly called a tower or desktop chassis.

sushy.resources.chassis.constants.CHASSIS_TYPE_STORAGE_ENCLOSURE = 'storage enclosure chassis type'

A chassis which encloses storage

sushy.resources.chassis.constants.CHASSIS_TYPE_ZONE = 'zone chassis type'

Zone

A logical division or portion of a physical chassis that contains multiple devices or systems that cannot be physically separated.

sushy.resources.chassis.mappings module

Module contents