sushy.resources.chassis.power package

Submodules

sushy.resources.chassis.power.constants module

class sushy.resources.chassis.power.constants.LineInputVoltageType(value)

Bases: Enum

An enumeration.

AC_120V = 'AC120V'

AC 120V nominal input.

AC_240V = 'AC240V'

AC 240V nominal input.

AC_277V = 'AC277V'

AC 277V nominal input.

AC_AND_DC_WIDE_RANGE = 'ACandDCWideRange'

Wide range AC or DC input.

AC_HIGH_LINE = 'ACHighLine'

277V AC input.

AC_LOW_LINE = 'ACLowLine'

100-127V AC input.

AC_MID_LINE = 'ACMidLine'

200-240V AC input.

AC_WIDE_RANGE = 'ACWideRange'

Wide range AC input.

DC_240V = 'DC240V'

DC 240V nominal input.

DC_380V = 'DC380V'

High Voltage DC input (380V).

DC_NEG48V = 'DCNeg48V'

-48V DC input.

UNKNOWN = 'Unknown'

The power supply line input voltage type cannot be determined.

class sushy.resources.chassis.power.constants.PowerInputType(value)

Bases: Enum

An enumeration.

AC = 'AC'

Alternating Current (AC) input range.

DC = 'DC'

Direct Current (DC) input range.

class sushy.resources.chassis.power.constants.PowerSupplyType(value)

Bases: Enum

An enumeration.

AC = 'AC'

Alternating Current (AC) power supply.

AC_OR_DC = 'ACorDC'

The power supply supports both DC or AC.

DC = 'DC'

Direct Current (DC) power supply.

UNKNOWN = 'Unknown'

The power supply type cannot be determined.

sushy.resources.chassis.power.power module

class sushy.resources.chassis.power.power.InputRangeListField(*args, **kwargs)

Bases: ListField

This type describes an input range for a power supply

input_type = <sushy.resources.base.MappedField object>

The Input type (AC or DC)

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

The maximum line input frequency at which this power supply input range is effective

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

The maximum line input voltage at which this power supply input range is effective

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

The minimum line input frequency at which this power supply input range is effective

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

The minimum line input voltage at which this power supply input range is effective

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

The maximum capacity of this Power Supply when operating in this input range

class sushy.resources.chassis.power.power.Power(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)

Bases: ResourceBase

This class represents a Power resource.

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

Identifier of the resource

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

The name of the resource

power_supplies = <sushy.resources.chassis.power.power.PowerSupplyListField object>

Details of a power supplies associated with this system or device

class sushy.resources.chassis.power.power.PowerSupplyListField(*args, **kwargs)

Bases: ListField

The power supplies associated with this Power resource

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

The firmware version for this Power Supply

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

Identifier of the Power Supply

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

The state of the indicator LED, used to identify the power supply

input_ranges = <sushy.resources.chassis.power.power.InputRangeListField object>

This is the input ranges that the power supply can use

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

The average power output of this Power Supply

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

The line input voltage at which the Power Supply is operating

line_input_voltage_type = <sushy.resources.base.MappedField object>

The line voltage type supported as an input to this Power Supply

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

This is the manufacturer of this power supply

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

The model number for this Power Supply

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

Name of the Power Supply

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

The part number for this Power Supply

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

The maximum capacity of this Power Supply

power_supply_type = <sushy.resources.base.MappedField object>

The Power Supply type (AC or DC)

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

The serial number for this Power Supply

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

The spare part number for this Power Supply

status = <sushy.resources.common.StatusField object>

Status of the sensor

Module contents