The ironic_inspector.plugins.pci_devices Module

Gather and distinguish PCI devices from inventory.

class ironic_inspector.plugins.pci_devices.PciDevicesHook[source]

Bases: ironic_inspector.plugins.base.ProcessingHook

Processing hook for counting and distinguishing various PCI devices.

That information can be later used by nova for node scheduling.

aliases = {}
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