Generic code for inspector client.
ironic_inspector_client.common.http.BaseClient(api_version, inspector_url=None, session=None, service_type='baremetal-introspection', interface=None, region_name=None)[source]¶Bases: object
Base class for clients, provides common HTTP code.
ironic_inspector_client.common.http.ClientError(response)[source]¶Bases: requests.exceptions.HTTPError
Error returned from a server.
ironic_inspector_client.common.http.EndpointNotFound(service_type)[source]¶Bases: exceptions.Exception
Denotes that endpoint for the introspection service was not found.
| Variables: | service_type – requested service type |
|---|
ironic_inspector_client.common.http.VersionNotSupported(expected, supported)[source]¶Bases: exceptions.Exception
Denotes that requested API versions is not supported by the server.
| Variables: |
|
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.