The ironic.drivers.modules.ilo.inspect Module

The ironic.drivers.modules.ilo.inspect Module

iLO Inspect Interface

class ironic.drivers.modules.ilo.inspect.IloInspect[source]

Bases: ironic.drivers.base.InspectInterface

inspect_hardware(*args, **kwargs)[source]

Inspect hardware to get the hardware properties.

Inspects hardware to get the essential and additional hardware properties. It fails if any of the essential properties are not received from the node. It doesn’t fail if node fails to return any capabilities as the capabilities differ from hardware to hardware mostly.

Parameters:task – a TaskManager instance.
Raises:HardwareInspectionFailure if essential properties could not be retrieved successfully.
Raises:IloOperationError if system fails to get power state.
Returns:The resulting state of inspection.
validate(*args, **kwargs)[source]

Check that ‘driver_info’ contains required ILO credentials.

Validates whether the ‘driver_info’ property of the supplied task’s node contains the required credentials information.

Parameters:task – a task from TaskManager.
Raises:InvalidParameterValue if required iLO parameters are not valid.
Raises:MissingParameterValue if a required parameter is missing.
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.