ironic.drivers.modules.drac.inspect module

DRAC inspection interface

class ironic.drivers.modules.drac.inspect.DracInspect[source]

Bases: ironic.drivers.modules.drac.inspect.DracWSManInspect

Class alias of class DracWSManInspect.

This class provides ongoing support of the deprecated ‘idrac’ inspect interface implementation entrypoint.

All bug fixes and new features should be implemented in its base class, DracWSManInspect. That makes them available to both the deprecated ‘idrac’ and new ‘idrac-wsman’ entrypoints. Such changes should not be made to this class.

class ironic.drivers.modules.drac.inspect.DracRedfishInspect[source]

Bases: ironic.drivers.modules.redfish.inspect.RedfishInspect

iDRAC Redfish interface for inspection-related actions.

Presently, this class entirely defers to its base class, a generic, vendor-independent Redfish interface. Future resolution of Dell EMC- specific incompatibilities and introduction of vendor value added should be implemented by this class.

class ironic.drivers.modules.drac.inspect.DracWSManInspect[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(task)[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(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.