ironic_inspector.plugins.example
Module¶Example plugin.
ironic_inspector.plugins.example.
ExampleProcessingHook
[source]¶Bases: ironic_inspector.plugins.base.ProcessingHook
before_processing
(introspection_data, **kwargs)[source]¶Hook to run before any other data processing.
This hook is run even before sanity checks.
introspection_data – raw information sent by the ramdisk, may be modified by the hook.
kwargs – used for extensibility without breaking existing hooks
nothing.
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.
introspection_data – processed data from the ramdisk.
node_info – NodeInfo instance.
kwargs – used for extensibility without breaking existing hooks.
nothing.
[RFC 6902] - http://tools.ietf.org/html/rfc6902
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.