Redfish Inspect Interface
ironic.drivers.modules.redfish.inspect.
RedfishInspect
[source]¶Bases: ironic.drivers.base.InspectInterface
get_properties
()[source]¶Return the properties of the interface.
dictionary of <property name>:<property description> entries.
inspect_hardware
(task)[source]¶Inspect hardware to get the hardware properties.
Inspects hardware to get the essential properties. It fails if any of the essential properties are not received from the node.
task – a TaskManager instance.
HardwareInspectionFailure if essential properties could not be retrieved successfully.
The resulting state of inspection.
validate
(task)[source]¶Validate the driver-specific Node deployment info.
This method validates whether the ‘driver_info’ properties of the task’s node contains the required information for this interface to function.
This method is often executed synchronously in API requests, so it should not conduct long-running checks.
task – A TaskManager instance containing the node to act on.
InvalidParameterValue on malformed parameter(s)
MissingParameterValue on missing parameter(s)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.