The ironic_inspector.common.ironic
Module¶
-
exception
ironic_inspector.common.ironic.
NotFound
(node_ident, code=404, *args, **kwargs)[source]¶ Bases:
ironic_inspector.utils.Error
Node not found in Ironic.
-
ironic_inspector.common.ironic.
capabilities_to_dict
(caps)[source]¶ Convert the Node’s capabilities into a dictionary.
-
ironic_inspector.common.ironic.
dict_to_capabilities
(caps_dict)[source]¶ Convert a dictionary into a string with the capabilities syntax.
-
ironic_inspector.common.ironic.
get_client
(token=None, api_version='1.11')[source]¶ Get Ironic client instance.