ironic_inspector_client.client
Module¶Shorthand client functions using V1 API.
All these functions are deprecated, and
ironic_inspector_client.v1.ClientV1
should be used instead.
ironic_inspector_client.client.
introspect
(uuid, base_url=None, auth_token=None, new_ipmi_password=None, new_ipmi_username=None, api_version=(1, 0), session=None, **kwargs)[source]¶Start introspection for a node.
This function is deprecated. Please use ClientV1.introspect()
.
Parameters: |
|
---|---|
Raises: | ClientError on error reported from a server |
Raises: | VersionNotSupported if requested api_version is not supported |
Raises: | requests library exception on connection problems. |
ironic_inspector_client.client.
get_status
(uuid, base_url=None, auth_token=None, api_version=(1, 0), session=None, **kwargs)[source]¶Get introspection status for a node.
This function is deprecated. Please use ClientV1.get_status()
.
New in Ironic Inspector version 1.0.0.
Parameters: |
|
---|---|
Raises: | ClientError on error reported from a server |
Raises: | VersionNotSupported if requested api_version is not supported |
Raises: | requests library exception on connection problems. |
ironic_inspector_client.client.
server_api_versions
(base_url=None, session=None, **kwargs)[source]¶Get minimum and maximum supported API versions from a server.
This function is deprecated.
Please use ClientV1.server_api_versions()
.
Parameters: |
|
---|---|
Returns: | tuple (minimum version, maximum version) each version is returned as a tuple (X, Y) |
Raises: | requests library exception on connection problems. |
Raises: | ValueError if returned version cannot be parsed |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.