Redfish Inspect Interface
ironic.drivers.modules.redfish.inspect.RedfishInspect[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 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.
| Parameters: | task – a TaskManager instance. |
|---|---|
| Raises: | HardwareInspectionFailure if essential properties could not be retrieved successfully. |
| Returns: | 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.
| Parameters: | task – A TaskManager instance containing the node to act on. |
|---|---|
| Raises: | InvalidParameterValue on malformed parameter(s) |
| Raises: | 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.