ironic_inspector.plugins.introspection_data
Module¶Backends for storing introspection data.
ironic_inspector.plugins.introspection_data.
BaseStorageBackend
[source]¶Bases: object
get
(node_uuid, processed=True, get_json=False)[source]¶Get introspected data from storage backend.
node_uuid – node UUID.
processed – Specify whether the data to be retrieved is processed or not.
get_json – Specify whether return the introspection data in json format, string value is returned if False.
the introspection data.
IntrospectionDataStoreDisabled if storage backend is disabled.
save
(node_uuid, data, processed=True)[source]¶Save introspected data to storage backend.
node_uuid – node UUID.
data – the introspected data to be saved, in dict format.
processed – Specify whether the data to be saved is processed or not.
IntrospectionDataStoreDisabled if storage backend is disabled.
ironic_inspector.plugins.introspection_data.
NoStore
[source]¶Bases: ironic_inspector.plugins.introspection_data.BaseStorageBackend
get
(node_uuid, processed=True, get_json=False)[source]¶Get introspected data from storage backend.
node_uuid – node UUID.
processed – Specify whether the data to be retrieved is processed or not.
get_json – Specify whether return the introspection data in json format, string value is returned if False.
the introspection data.
IntrospectionDataStoreDisabled if storage backend is disabled.
save
(node_uuid, data, processed=True)[source]¶Save introspected data to storage backend.
node_uuid – node UUID.
data – the introspected data to be saved, in dict format.
processed – Specify whether the data to be saved is processed or not.
IntrospectionDataStoreDisabled if storage backend is disabled.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.