ironic.drivers.modules.redfish.bios.
RedfishBIOS
(*args, **kwargs)[source]¶Bases: ironic.drivers.base.BIOSInterface
apply_configuration
(task, settings)[source]¶Apply the BIOS settings to the node.
task – a TaskManager instance containing the node to act on.
settings – a list of BIOS settings to be updated.
RedfishConnectionError when it fails to connect to Redfish
RedfishError on an error from the Sushy library
cache_bios_settings
(task)[source]¶Store or update the current BIOS settings for the node.
Get the current BIOS settings and store them in the bios_settings database table.
task – a TaskManager instance containing the node to act on.
RedfishConnectionError when it fails to connect to Redfish
RedfishError on an error from the Sushy library
UnsupportedDriverExtension if the system does not support BIOS settings
factory_reset
(task)[source]¶Reset the BIOS settings of the node to the factory default.
task – a TaskManager instance containing the node to act on.
RedfishConnectionError when it fails to connect to Redfish
RedfishError on an error from the Sushy library
get_properties
()[source]¶Return the properties of the interface.
dictionary of <property name>:<property description> entries.
post_configuration
(task, settings)[source]¶Perform post configuration action to store the BIOS settings.
Extension point to allow vendor implementations to extend this class and override this method to perform a custom action to write the BIOS settings to the Redfish service. The default implementation performs a reboot.
task – a TaskManager instance containing the node to act on.
settings – a list of BIOS settings to be updated.
post_reset
(task)[source]¶Perform post reset action to apply the BIOS factory reset.
Extension point to allow vendor implementations to extend this class and override this method to perform a custom action to apply the BIOS factory reset to the Redfish service. The default implementation performs a reboot.
task – a TaskManager instance containing the node to act on.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.