The ironic_inspector.process Module

Handling introspection data from the ramdisk.

ironic_inspector.process.get_introspection_data(uuid, processed=True, get_json=False)[source]

Get introspection data from the storage backend.

Parameters
  • uuid – node UUID

  • processed – Indicates the type of introspection data to be read, set True to request processed introspection data.

  • get_json – Specify whether return the introspection data in json format, string value is returned if False.

Raises

utils.Error

ironic_inspector.process.process(introspection_data)[source]

Process data from the ramdisk.

This function heavily relies on the hooks to do the actual data processing.

ironic_inspector.process.reapply(node_uuid, data=None)[source]

Re-apply introspection steps.

Re-apply preprocessing, postprocessing and introspection rules on stored data.

Parameters
  • node_uuid – node UUID

  • data – unprocessed introspection data to be reapplied

Raises

utils.Error

ironic_inspector.process.store_introspection_data(node_uuid, data, processed=True)[source]

Store introspection data to the storage backend.

Parameters
  • node_uuid – node UUID

  • data – Introspection data to be saved

  • processed – The type of introspection data, set to True means the introspection data is processed, otherwise unprocessed.

Raises

utils.Error