ironic.drivers.modules.inspector.interface module¶
- Modules required to work with ironic_inspector:
- class ironic.drivers.modules.inspector.interface.Common(*args, **kwargs)[source]¶
Bases:
InspectInterface
- default_require_managed_boot = False¶
- get_properties()[source]¶
Return the properties of the interface.
- Returns:
dictionary of <property name>:<property description> entries.
- class ironic.drivers.modules.inspector.interface.Inspector(*args, **kwargs)[source]¶
Bases:
Common
In-band inspection via ironic-inspector project.
- continue_inspection(task, inventory, plugin_data=None)[source]¶
Continue in-band hardware inspection.
This implementation simply defers to ironic-inspector. It only exists to simplify the transition to Ironic-native in-band inspection.
- Parameters:
task – a task from TaskManager.
inventory – hardware inventory from the node.
plugin_data – optional plugin-specific data.
- ironic.drivers.modules.inspector.interface.inspection_error_handler(task, error, raise_exc=False, clean_up=True)[source]¶
- ironic.drivers.modules.inspector.interface.ironic_manages_boot(task, raise_exc=False)[source]¶
Whether ironic should manage boot for this node.