The sushy.resources.system.system Module

The sushy.resources.system.system Module

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

Bases: sushy.resources.base.CompositeField

reset = <sushy.resources.common.ResetActionField object at 0x49e3690>
class sushy.resources.system.system.BootField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

allowed_values = <sushy.resources.base.Field object at 0x49e3850>
enabled = <sushy.resources.base.MappedField object at 0x49e38d0>
mode = <sushy.resources.base.MappedField object at 0x49e3950>
target = <sushy.resources.base.MappedField object at 0x49e3990>
class sushy.resources.system.system.MemorySummaryField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

health = <sushy.resources.base.Field object at 0x49e3b10>

The overall health state of memory.

This signifies health state of memory along with its dependent resources.

size_gib = <sushy.resources.base.Field object at 0x49e3b90>

The size of memory of the system in GiB.

This signifies the total installed, operating system-accessible memory (RAM), measured in GiB.

class sushy.resources.system.system.System(connector, identity, redfish_version=None)

Bases: sushy.resources.base.ResourceBase

asset_tag = <sushy.resources.base.Field object at 0x49e3d50>

The system asset tag

bios_version = <sushy.resources.base.Field object at 0x49e3dd0>

The system BIOS version

boot = <sushy.resources.system.system.BootField object at 0x49e3e10>

A dictionary containg the current boot device, frequency and mode

description = <sushy.resources.base.Field object at 0x49e3ed0>

The system description

get_allowed_reset_system_values()

Get the allowed values for resetting the system.

Returns:A set with the allowed values.
get_allowed_system_boot_source_values()

Get the allowed values for changing the boot source.

Returns:A set with the allowed values.
hostname = <sushy.resources.base.Field object at 0x49e3f10>

The system hostname

identity = <sushy.resources.base.Field object at 0x49e3f50>

The system identity string

indicator_led = <sushy.resources.base.Field object at 0x49e3f90>

Whether the indicator LED is lit or off

manufacturer = <sushy.resources.base.Field object at 0x49e3fd0>

The system manufacturer

memory_summary = <sushy.resources.system.system.MemorySummaryField object at 0x49f0210>

The summary info of memory of the system in general detail

name = <sushy.resources.base.Field object at 0x49f0050>

The system name

part_number = <sushy.resources.base.Field object at 0x49f0090>

The system part number

power_state = <sushy.resources.base.MappedField object at 0x49f00d0>

The system power state

processors

Property to provide reference to ProcessorCollection instance

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

refresh()
reset_system(value)

Reset the system.

Parameters:value – The target value.
Raises:InvalidParameterValueError, if the target value is not allowed.
serial_number = <sushy.resources.base.Field object at 0x49f0110>

The system serial number

set_system_boot_source(target, enabled='once', mode=None)

Set the boot source.

Set the boot source to use on next reboot of the System.

Parameters:
  • target – The target boot source.
  • enabled – The frequency, whether to set it for the next reboot only (BOOT_SOURCE_ENABLED_ONCE) or persistent to all future reboots (BOOT_SOURCE_ENABLED_CONTINUOUS) or disabled (BOOT_SOURCE_ENABLED_DISABLED).
  • mode – The boot mode, UEFI (BOOT_SOURCE_MODE_UEFI) or BIOS (BOOT_SOURCE_MODE_BIOS).
Raises:

InvalidParameterValueError, if any information passed is invalid.

sku = <sushy.resources.base.Field object at 0x49f0150>

The system stock-keeping unit

system_type = <sushy.resources.base.Field object at 0x49f0190>

The system type

uuid = <sushy.resources.base.Field object at 0x49f01d0>

The system UUID

class sushy.resources.system.system.SystemCollection(connector, path, redfish_version=None)

Bases: sushy.resources.base.ResourceCollectionBase

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.