Common functionalities shared between different iRMC modules.
ironic.drivers.modules.irmc.common.
get_irmc_client
(node)[source]¶Gets an iRMC SCCI client.
Given an ironic node object, this method gives back a iRMC SCCI client to do operations on the iRMC.
node – An ironic node object.
scci_cmd partial function which takes a SCCI command param.
InvalidParameterValue on invalid inputs.
MissingParameterValue if some mandatory information is missing on the node
ironic.drivers.modules.irmc.common.
get_irmc_report
(node)[source]¶Gets iRMC SCCI report.
Given an ironic node object, this method gives back a iRMC SCCI report.
node – An ironic node object.
A xml.etree.ElementTree object.
InvalidParameterValue on invalid inputs.
MissingParameterValue if some mandatory information is missing on the node.
scci.SCCIInvalidInputError if required parameters are invalid.
scci.SCCIClientError if SCCI failed.
ironic.drivers.modules.irmc.common.
get_secure_boot_mode
(node)[source]¶Get the current secure boot mode.
node – An ironic node object.
UnsupportedDriverExtension if secure boot is not present.
IRMCOperationError if the operation fails.
ironic.drivers.modules.irmc.common.
parse_driver_info
(node)[source]¶Gets the specific Node driver info.
This method validates whether the ‘driver_info’ property of the supplied node contains the required information for this driver.
node – An ironic node object.
A dict containing information from driver_info and default values.
InvalidParameterValue if invalid value is contained in the ‘driver_info’ property.
MissingParameterValue if some mandatory key is missing in the ‘driver_info’ property.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.