tricircleclient.client.Client(version, *args, **kwargs)¶tricircleclient.client.SessionClient(session, service_type=None, service_name=None, interface=None, region_name=None, endpoint_override=None, version=None, auth=None, user_agent=None, connect_retries=None, logger=None, allow=None, additional_headers=None, client_name=None, client_version=None, allow_version_hack=None, global_request_id=None, min_version=None, max_version=None, default_microversion=None, status_code_retries=None, retriable_status_codes=None, raise_exc=None)¶Bases: keystoneauth1.adapter.Adapter
request(url, method, **kwargs)¶tricircleclient.exceptions.BadRequest(code=None, message=None, request_id=None, url=None, method=None)¶Bases: tricircleclient.exceptions.ClientException
HTTP 400 - Bad request: you sent some malformed data.
http_status = 400¶message = 'Bad request'¶tricircleclient.exceptions.ClientException(code=None, message=None, request_id=None, url=None, method=None)¶Bases: exceptions.Exception
The base exception class for all exceptions this library raises.
message = 'Unknown Error'¶tricircleclient.exceptions.Conflict(code=None, message=None, request_id=None, url=None, method=None)¶Bases: tricircleclient.exceptions.ClientException
HTTP 409 - Conflict
http_status = 409¶message = 'Conflict'¶tricircleclient.exceptions.MutipleMeaningException¶Bases: object
An mixin for exception that can be enhanced by reading the details
tricircleclient.exceptions.NotFound(code=None, message=None, request_id=None, url=None, method=None)¶Bases: tricircleclient.exceptions.ClientException
HTTP 404 - Not found
http_status = 404¶message = 'Not found'¶tricircleclient.exceptions.PodNotFound(code=None, message=None, request_id=None, url=None, method=None)¶Bases: tricircleclient.exceptions.NotFound, tricircleclient.exceptions.MutipleMeaningException
match = <_sre.SRE_Pattern object>¶message = 'Pod not found'¶tricircleclient.exceptions.PodRegionDuplicated(code=None, message=None, request_id=None, url=None, method=None)¶Bases: tricircleclient.exceptions.Conflict, tricircleclient.exceptions.MutipleMeaningException
match = <_sre.SRE_Pattern object at 0x2b36060>¶message = 'Pod region name duplicated with the top region name'¶tricircleclient.exceptions.RecordAlreadyExists(code=None, message=None, request_id=None, url=None, method=None)¶Bases: tricircleclient.exceptions.Conflict, tricircleclient.exceptions.MutipleMeaningException
match = <_sre.SRE_Pattern object>¶message = 'Record already exists'¶tricircleclient.exceptions.RegionRequiredForPod(code=None, message=None, request_id=None, url=None, method=None)¶Bases: tricircleclient.exceptions.UnprocessableEntity, tricircleclient.exceptions.MutipleMeaningException
match = <_sre.SRE_Pattern object at 0x2b9a070>¶message = 'Valid region_name is required for pod'¶tricircleclient.exceptions.RegionRequiredForTopRegion(code=None, message=None, request_id=None, url=None, method=None)¶Bases: tricircleclient.exceptions.UnprocessableEntity, tricircleclient.exceptions.MutipleMeaningException
match = <_sre.SRE_Pattern object at 0x2b36f40>¶message = 'Valid region_name is required for top region'¶tricircleclient.exceptions.TopRegionAlreadyExists(code=None, message=None, request_id=None, url=None, method=None)¶Bases: tricircleclient.exceptions.Conflict, tricircleclient.exceptions.MutipleMeaningException
match = <_sre.SRE_Pattern object at 0x2b566f0>¶message = 'Top region already exists'¶Bases: tricircleclient.exceptions.ClientException
HTTP 401 - Unauthorized: bad credentials.
tricircleclient.exceptions.UnprocessableEntity(code=None, message=None, request_id=None, url=None, method=None)¶Bases: tricircleclient.exceptions.ClientException
HTTP 422 - Unprocessable Entity
http_status = 422¶message = 'Unprocessable Entity'¶tricircleclient.exceptions.from_response(response, method=None)¶Return an instance of one of the ClientException on an requests response.
Usage:
resp, body = requests.request(...)
if resp.status_code != 200:
raise from_response(resp)
OpenStackClient plugin for Multiregion Networking service.
tricircleclient.osc.build_option_parser(parser)¶Hook to add global options.
tricircleclient.osc.make_client(instance)¶tricircleclient.utils.list2cols(cols, objs, headers=None)¶tricircleclient.utils.prepare_column_headers(columns, remap=None)¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.