ironic.drivers.modules.xclarity.power.XClarityPower[source]¶Bases: ironic.drivers.base.PowerInterface
get_power_state(**kwargs)[source]¶Gets the current power state.
| Parameters: | task – a TaskManager instance. |
|---|---|
| Returns: | one of ironic.common.states POWER_OFF,
POWER_ON or ERROR. |
| Raises: | XClarityError if fails to retrieve power state of XClarity resource |
get_properties()[source]¶Return the properties of the interface.
| Returns: | dictionary of <property name>:<property description> entries. |
|---|
reboot(**kwargs)[source]¶Soft reboot the node
| Parameters: |
|
|---|
set_power_state(**kwargs)[source]¶Turn the current power state on or off.
| Parameters: |
|
|---|---|
| Raises: | InvalidParameterValue if an invalid power state was specified. |
| Raises: | XClarityError if XClarity fails setting the power state. |
supported = False¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.