ironic_inspector.plugins.accel_device module

Gather and distinguish Accelerator PCI devices from inventory.

class ironic_inspector.plugins.accel_device.AccelDevicesHook[source]

Bases: ProcessingHook

Processing hook for distinguishing accelerator devices.

before_update(introspection_data, node_info, **kwargs)[source]

Hook to run before Ironic node update.

This hook is run after node is found and ports are created, just before the node is updated with the data.

Parameters:
  • introspection_data – processed data from the ramdisk.

  • node_info – NodeInfo instance.

  • kwargs – used for extensibility without breaking existing hooks.

Returns:

nothing.

[RFC 6902] - http://tools.ietf.org/html/rfc6902