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, registries=None)¶ Bases:
sushy.resources.base.ResourceBase
-
property
apply_time_settings
¶
-
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()
orset_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
-
property
pending_attributes
¶ Pending BIOS attributes
BIOS attributes that have been committed 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
-
property
update_status
¶ Status of the last attribute update
- Returns
sushy.resources.settings.SettingsUpdate
object containing status and any messages
-
property