ironic.drivers.modules.xclarity.management Module¶ironic.drivers.modules.xclarity.management.XClarityManagement[source]¶Bases: ironic.drivers.base.ManagementInterface
get_boot_device(*args, **kwargs)[source]¶Get the current boot device for the task’s node.
| Parameters: | task – a task from TaskManager. |
|---|---|
| Returns: | a dictionary containing: :boot_device: the boot device, one of [PXE, DISK, CDROM, BIOS] :persistent: Whether the boot device will persist or not |
| Raises: | InvalidParameterValue if the boot device is unknown |
| Raises: | XClarityError if the communication with XClarity fails |
get_sensors_data(*args, **kwargs)[source]¶Get sensors data.
| Parameters: | task – a TaskManager instance. |
|---|---|
| Raises: | NotImplementedError |
get_supported_boot_devices(*args, **kwargs)[source]¶Gets a list of the supported boot devices.
| Parameters: | task – a task from TaskManager. |
|---|---|
| Returns: | A list with the supported boot devices defined
in ironic.common.boot_devices. |
set_boot_device(*args, **kwargs)[source]¶Sets the boot device for a node.
| Parameters: |
|
|---|---|
| Raises: | InvalidParameterValue if an invalid boot device is specified. |
| Raises: | XClarityError if the communication with XClarity fails |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.