The sushy.resources.system.bios Module

The sushy.resources.system.bios Module

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

Bases: sushy.resources.base.CompositeField

change_password = <sushy.resources.common.ActionField object>
reset_bios = <sushy.resources.common.ActionField object>
class sushy.resources.system.bios.Bios(connector, path='', redfish_version=None)

Bases: sushy.resources.base.ResourceBase

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

Vendor-specific key-value dict of effective BIOS attributes

Attributes cannot be updated directly. To update use set_attribute() or set_attributes()

change_password(new_password, old_password, password_name)

Change BIOS password

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

Human-readable description of the BIOS resource

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

The Bios resource identity string

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

The name of the resource

pending_attributes

Pending BIOS attributes

BIOS attributes that have been comitted to the system, but for them to take effect system restart is necessary

reset_bios()

Reset the BIOS attributes to default

set_attribute(key, value)

Update an attribute

Attribute update is not immediate but requires system restart. Committed attributes can be checked at pending_attributes property

Parameters:
  • key – Attribute name
  • value – Attribute value
set_attributes(value)

Update many attributes at once

Attribute update is not immediate but requires system restart. Committed attributes can be checked at pending_attributes property

Parameters:value – Key-value pairs for attribute name and value
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.