Bases: ironic.drivers.base.PowerInterface
Return the power state of the task’s node.
| Parameters: | task – a TaskManager instance containing the node to act on. |
|---|---|
| Raises: | MissingParameterValue if a required parameter is missing. |
| Returns: | a power state. One of ironic.common.states. |
| Raises: | CIMCException if there is an error communicating with CIMC |
Return the properties of the interface.
| Returns: | dictionary of <property name>:<property description> entries. |
|---|
Perform a hard reboot of the task’s node.
If the node is already powered on then it shall reboot the node, if its off then the node will just be turned on.
| Parameters: | task – a TaskManager instance containing the node to act on. |
|---|---|
| Raises: | MissingParameterValue if a required parameter is missing. |
| Raises: | CIMCException if there is an error communicating with CIMC |
Set the power state of the task’s node.
| Parameters: |
|
|---|---|
| Raises: | MissingParameterValue if a required parameter is missing. |
| Raises: | InvalidParameterValue if an invalid power state is passed |
| Raises: | CIMCException if there is an error communicating with CIMC |