MSFT OCS Power Driver
Bases: ironic.drivers.base.PowerInterface
Get the power state from the node.
| Parameters: | task – a TaskManager instance containing the target node. | 
|---|---|
| Raises: | MSFTOCSClientApiException. | 
Cycle the power of the node
| Parameters: | task – a TaskManager instance contains the target node. | 
|---|---|
| Raises: | PowerStateFailure if failed to reboot. | 
Set the power state of the node.
Turn the node power on or off.
| Parameters: | 
 | 
|---|---|
| Raises: | PowerStateFailure if the power cannot set to pstate. | 
| Raises: | InvalidParameterValue | 
Validate the driver_info in the node.
Check if the driver_info contains correct required fields.
| Parameters: | task – a TaskManager instance containing the target node. | 
|---|---|
| Raises: | MissingParameterValue if any required parameters are missing. | 
| Raises: | InvalidParameterValue if any parameters have invalid values. |