The ironic_inspector.plugins.standard Module

The ironic_inspector.plugins.standard Module

Standard set of plugins.

class ironic_inspector.plugins.standard.RamdiskErrorHook[source]

Bases: ironic_inspector.plugins.base.ProcessingHook

Hook to process error send from the ramdisk.

before_processing(introspection_data, **kwargs)[source]

Hook to run before any other data processing.

This hook is run even before sanity checks.

Parameters
  • introspection_data – raw information sent by the ramdisk, may be modified by the hook.

  • kwargs – used for extensibility without breaking existing hooks

Returns

nothing.

class ironic_inspector.plugins.standard.RootDiskSelectionHook[source]

Bases: ironic_inspector.plugins.base.ProcessingHook

Smarter root disk selection using Ironic root device hints.

This hook must always go before SchedulerHook, otherwise root_disk field might not be updated.

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

Process root disk information.

class ironic_inspector.plugins.standard.SchedulerHook[source]

Bases: ironic_inspector.plugins.base.ProcessingHook

Nova scheduler required properties.

KEYS = ('cpus', 'cpu_arch', 'memory_mb')
before_update(introspection_data, node_info, **kwargs)[source]

Update node with scheduler properties.

class ironic_inspector.plugins.standard.ValidateInterfacesHook[source]

Bases: ironic_inspector.plugins.base.ProcessingHook

Hook to validate network interfaces.

before_processing(introspection_data, **kwargs)[source]

Validate information about network interfaces.

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

Create new ports and drop ports that are not present in the data.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.