ironic.drivers.modules.inspector module
updated: 2018-09-05 21:22
ironic.drivers.modules.inspector module
- Modules required to work with ironic_inspector:
- https://pypi.org/project/ironic-inspector
-
service
None
Bases: ironic.drivers.base.InspectInterface
In-band inspection via ironic-inspector project.
-
Inspector.
abort
(task)[source]
Abort hardware inspection.
Parameters: | task – a task from TaskManager. |
-
Inspector.
get_properties
()[source]
Return the properties of the interface.
Returns: | dictionary of <property name>:<property description> entries. |
-
Inspector.
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 |
-
Inspector.
validate
(task)[source]
Validate the driver-specific inspection information.
If invalid, raises an exception; otherwise returns None.
Parameters: | task – a task from TaskManager. |
updated: 2018-09-05 21:22