ironic.drivers.modules.redfish.bios.
RedfishBIOS
[source]¶Bases: ironic.drivers.base.BIOSInterface
apply_configuration
(task, settings)[source]¶Apply the BIOS settings to the node.
Parameters: |
|
---|---|
Raises: | RedfishConnectionError when it fails to connect to Redfish |
Raises: | 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.
Parameters: | task – a TaskManager instance containing the node to act on. |
---|---|
Raises: | RedfishConnectionError when it fails to connect to Redfish |
Raises: | RedfishError on an error from the Sushy library |
Raises: | UnsupportedDriverExtension if the system does not support BIOS settings |
factory_reset
(task)[source]¶Reset the BIOS settings of the node to the factory default.
Parameters: | task – a TaskManager instance containing the node to act on. |
---|---|
Raises: | RedfishConnectionError when it fails to connect to Redfish |
Raises: | RedfishError on an error from the Sushy library |
get_properties
()[source]¶Return the properties of the interface.
Returns: | 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.
Parameters: |
|
---|
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.
Parameters: | 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.