The ironic.drivers.modules.drac.inspect
Module¶
DRAC inspection interface
-
class
ironic.drivers.modules.drac.inspect.
DracInspect
[source]¶ Bases:
ironic.drivers.base.InspectInterface
-
get_properties
()[source]¶ Return the properties of the interface.
Returns: dictionary of <property name>:<property description> entries.
-
inspect_hardware
(*args, **kwargs)[source]¶ Inspect hardware.
Inspect hardware to obtain the essential & additional hardware properties.
Parameters: task – a TaskManager instance containing the node to act on. Raises: HardwareInspectionFailure, if unable to get essential hardware properties. Returns: states.MANAGEABLE
-
validate
(*args, **kwargs)[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.
-