ironic.drivers.modules.inspector.hooks.extra_hardware module

class ironic.drivers.modules.inspector.hooks.extra_hardware.ExtraHardwareHook[source]

Bases: InspectionHook

Hook to gather extra information about the node hardware.

__call__(task, inventory, plugin_data)[source]

Store extra hardware information in plugin_data[‘extra’]

Convert the extra collected data from the format of the hardware-detect tool (list of lists) to a nested dictionary. Remove the original data field from plugin_data, and save the converted data into a new field extra instead.