AMT Power Driver
Bases: ironic.drivers.base.PowerInterface
AMT Power interface.
This Power interface control the power of node by providing power on/off and reset functions.
Get the power state from the node.
Parameters: | task – a TaskManager instance contains the target node. |
---|---|
Raises: | AMTFailure. |
Raises: | AMTConnectFailure. |
Cycle the power of the node
Parameters: | task – a TaskManager instance contains the target node. |
---|---|
Raises: | PowerStateFailure if failed to reboot. |
Raises: | AMTFailure. |
Raises: | AMTConnectFailure. |
Raises: | InvalidParameterValue |
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: | AMTFailure. |
Raises: | AMTConnectFailure. |
Raises: | InvalidParameterValue |
Validate the driver_info in the node.
Check if the driver_info contains correct required fields
Parameters: | task – a TaskManager instance contains the target node. |
---|---|
Raises: | MissingParameterValue if any required parameters are missing. |
Raises: | InvalidParameterValue if any parameters have invalid values. |