ironic.drivers.modules.inspector.hooks.ramdisk_error module

class ironic.drivers.modules.inspector.hooks.ramdisk_error.RamdiskErrorHook[source]

Bases: InspectionHook

Hook to process error sent from the ramdisk.

preprocess(task, inventory, plugin_data)[source]

Hook to run before the main inspection data processing.

This hook is run even before sanity checks.

  • task – A TaskManager instance.

  • inventory – Hardware inventory information sent by the ramdisk. Must not be modified by the hook.

  • plugin_data – Plugin data sent by the ramdisk. May be modified by the hook.