iLO Power Driver
NoneBases: ironic.drivers.base.PowerInterface
IloPower.get_power_state(task)[source]¶Gets the current power state.
| Parameters: |
|
|---|---|
| Returns: | one of |
| Raises: | InvalidParameterValue if required iLO credentials are missing. |
| Raises: | IloOperationError on an error from IloClient library. |
IloPower.get_properties()[source]¶Return the properties of the interface.
| Returns: | dictionary of <property name>:<property description> entries. |
|---|
IloPower.reboot(task, timeout=None)[source]¶Reboot the node
| Parameters: |
|
|---|---|
| Raises: | PowerStateFailure if the final state of the node is not POWER_ON. |
| Raises: | IloOperationError on an error from IloClient library. |
IloPower.set_power_state(task, power_state, timeout=None)[source]¶Turn the current power state on or off.
| Parameters: |
|
|---|---|
| Raises: | InvalidParameterValue if an invalid power state was specified. |
| Raises: | IloOperationError on an error from IloClient library. |
| Raises: | PowerStateFailure if the power couldn’t be set to power_state. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.