ironic.drivers.modules.inspector module¶
- Modules required to work with ironic_inspector:
-
class
ironic.drivers.modules.inspector.
Inspector
(*args, **kwargs)[source]¶ Bases:
ironic.drivers.base.InspectInterface
In-band inspection via ironic-inspector project.
-
get_properties
()[source]¶ Return the properties of the interface.
- Returns
dictionary of <property name>:<property description> entries.
-
inspect_hardware
(task)[source]¶ Inspect hardware to obtain the hardware properties.
This particular implementation only starts inspection using ironic-inspector. Results will be checked in a periodic task.
- Parameters
task – a task from TaskManager.
- Returns
states.INSPECTWAIT
- Raises
HardwareInspectionFailure on failure
-