iBMC Power Interface
Bases: ironic.drivers.base.PowerInterface
Get the current power state of the task’s node.
task – A TaskManager instance containing the node to act on.
A power state. One of ironic.common.states
.
InvalidParameterValue on malformed parameter(s)
MissingParameterValue on missing parameter(s)
IBMCConnectionError when it fails to connect to iBMC
IBMCError when iBMC responses an error information
Return the properties of the interface.
dictionary of <property name>:<property description> entries.
Get a list of the supported power states.
task – A TaskManager instance containing the node to act on. Not used by this driver at the moment.
A list with the supported power states defined
in ironic.common.states
.
Perform a hard reboot of the task’s node.
task – A TaskManager instance containing the node to act on.
timeout – Time to wait for the node to become powered on.
InvalidParameterValue on malformed parameter(s)
MissingParameterValue if a required parameter is missing.
IBMCConnectionError when it fails to connect to iBMC
IBMCError when iBMC responses an error information
Set the power state of the task’s node.
task – A TaskManager instance containing the node to act on.
power_state – Any power state from ironic.common.states
.
timeout – Time to wait for the node to reach the requested state.
InvalidParameterValue on malformed parameter(s)
MissingParameterValue if a required parameter is missing.
IBMCConnectionError when it fails to connect to iBMC
IBMCError when iBMC responses an error information
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.