DRAC VendorPassthruBios Driver
Bases: ironic.drivers.base.VendorInterface
Interface for DRAC specific BIOS configuration methods.
Abandon a BIOS configuration job.
This method is used to abandon a BIOS configuration job previously submitted through set_bios_config().
Parameters: |
|
---|---|
Raises: | DracClientError on an error from pywsman library. |
Raises: | DracOperationFailed on error reported back by DRAC. |
Raises: | DracUnexpectedReturnValue if the drac did not report success. |
Returns: | A dictionary containing the abandoned key with no return value. |
Commit a BIOS configuration job.
This method is used to commit a BIOS configuration job. submitted through set_bios_config().
Parameters: |
|
---|---|
Raises: | DracClientError on an error from pywsman library. |
Raises: | DracPendingConfigJobExists if the job is already created. |
Raises: | DracOperationFailed if the client received response with an error message. |
Raises: | DracUnexpectedReturnValue if the client received a response with unexpected return value |
Returns: | A dictionary containing the committing key with no return value, and the reboot_needed key with a value of True. |
Get BIOS settings.
This method is used to retrieve the BIOS settings from a node.
Parameters: |
|
---|---|
Raises: | DracClientError on an error from pywsman. |
Raises: | DracOperationFailed when a BIOS setting cannot be parsed. |
Returns: | a dictionary containing BIOS settings. |
Returns the driver_info properties.
This method returns the driver_info properties for this driver.
Returns: | a dictionary of propery names and their descriptions. |
---|
Change BIOS settings.
This method is used to change the BIOS settings on a node.
Parameters: |
|
---|---|
Raises: | DracOperationFailed if any of the attributes cannot be set for any reason. |
Raises: | DracClientError on an error from the pywsman library. |
Returns: | A dictionary containing the commit_needed key with a boolean value indicating whether commit_config() needs to be called to make the changes. |
Validates the driver_info of a node.
This method validates the driver_info associated with the node that is associated with the task.
Parameters: |
|
---|---|
Raises: | InvalidParameterValue if mandatory information is missing on the node or any driver_info is invalid. |
Returns: | a dict containing information from driver_info and default values. |