Ironic Cisco UCSM interfaces. Provides basic power control of servers managed by Cisco UCSM using PyUcs Sdk.
Bases: ironic.drivers.base.PowerInterface
Cisco Power Interface.
This PowerInterface class provides a mechanism for controlling the power state of servers managed by Cisco UCS Manager.
Get the current power state.
Poll the host for the current power state of the node.
| Parameters: | 
  | 
|---|---|
| Raises: | MissingParameterValue if required CiscoDriver parameters are missing.  | 
| Raises: | UcsOperationError on error from UCS Client.  | 
| Returns: | power state. One of ironic.common.states.  | 
Cycles the power to a node.
| Parameters: | 
  | 
|---|---|
| Raises: | UcsOperationError on error from UCS Client.  | 
| Raises: | PowerStateFailure if the final state of the node is not POWER_ON.  | 
Turn the power on or off.
Set the power state of a node.
| Parameters: | 
  | 
|---|---|
| Raises: | InvalidParameterValue if an invalid power state was specified.  | 
| Raises: | MissingParameterValue if required CiscoDriver parameters are missing.  | 
| Raises: | UcsOperationError on error from UCS Client.  | 
| Raises: | PowerStateFailure if the desired power state couldn’t be set.  |