DRAC management interface
None
Bases: ironic.drivers.base.ManagementInterface
DracManagement.
get_boot_device
(task)[source]¶Get the current boot device for a node.
Returns the current boot device of the node.
Parameters: | task – a TaskManager instance containing the node to act on. | ||||
---|---|---|---|---|---|
Raises: | DracOperationError on an error from python-dracclient. | ||||
Returns: | a dictionary containing:
|
DracManagement.
get_sensors_data
(task)[source]¶Get sensors data.
Parameters: | task – a TaskManager instance. |
---|---|
Raises: | FailedToGetSensorData when getting the sensor data fails. |
Raises: | FailedToParseSensorData when parsing sensor data fails. |
Returns: | returns a consistent format dict of sensor data grouped by sensor type, which can be processed by Ceilometer. |
DracManagement.
get_supported_boot_devices
(task)[source]¶Get a list of the supported boot devices.
Parameters: | task – a TaskManager instance containing the node to act on. |
---|---|
Returns: | A list with the supported boot devices defined
in ironic.common.boot_devices . |
DracManagement.
set_boot_device
(task, device, persistent=False)[source]¶Set the boot device for a node.
Set the boot device to use on next reboot of the node.
Parameters: |
|
---|---|
Raises: | InvalidParameterValue if an invalid boot device is specified. |
DracManagement.
validate
(task)[source]¶Validate the driver-specific info supplied.
This method validates whether the ‘driver_info’ property of the supplied node contains the required information for this driver to manage the node.
Parameters: | task – a TaskManager instance containing the node to act on. |
---|---|
Raises: | InvalidParameterValue if required driver_info attribute is missing or invalid on the node. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.