The quantumclient.common.exceptions Module

exception quantumclient.common.exceptions.AlreadyAttachedClient(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

exception quantumclient.common.exceptions.AmbiguousEndpoints(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

Found more than one matching endpoint in Service Catalog.

exception quantumclient.common.exceptions.BadInputError

Bases: exceptions.Exception

Error resulting from a client sending bad input to a server

exception quantumclient.common.exceptions.CommandError

Bases: exceptions.Exception

exception quantumclient.common.exceptions.ConnectionFailed(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

message = u'Connection to quantum failed: %(reason)s'
exception quantumclient.common.exceptions.EndpointNotFound(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

Could not find Service or Region in Service Catalog.

message = u'Could not find Service or Region in Service Catalog.'
exception quantumclient.common.exceptions.EndpointTypeNotFound(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

Could not find endpoint type in Service Catalog.

exception quantumclient.common.exceptions.Error(message=None)

Bases: exceptions.Exception

exception quantumclient.common.exceptions.Forbidden(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

HTTP 403 - Forbidden: your credentials don’t give you access to this resource.

message = u"Forbidden: your credentials don't give you access to this resource."
exception quantumclient.common.exceptions.Invalid(message=None)

Bases: quantumclient.common.exceptions.Error

exception quantumclient.common.exceptions.InvalidContentType(message=None)

Bases: quantumclient.common.exceptions.Invalid

message = u'Invalid content type %(content_type)s.'
exception quantumclient.common.exceptions.MalformedRequestBody(**kwargs)

Bases: quantumclient.common.exceptions.QuantumException

message = u'Malformed request body: %(reason)s'
exception quantumclient.common.exceptions.MalformedResponseBody(**kwargs)

Bases: quantumclient.common.exceptions.QuantumException

message = u'Malformed response body: %(reason)s'
exception quantumclient.common.exceptions.NetworkInUseClient(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

exception quantumclient.common.exceptions.NetworkNotFoundClient(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

exception quantumclient.common.exceptions.NotFound(**kwargs)

Bases: quantumclient.common.exceptions.QuantumException

exception quantumclient.common.exceptions.PortInUseClient(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

exception quantumclient.common.exceptions.PortNotFoundClient(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

exception quantumclient.common.exceptions.QuantumCLIError(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

Exception raised when command line parsing fails

exception quantumclient.common.exceptions.QuantumClientException(**kwargs)

Bases: quantumclient.common.exceptions.QuantumException

exception quantumclient.common.exceptions.QuantumException(**kwargs)

Bases: exceptions.Exception

Base Quantum Exception

Taken from nova.exception.NovaException To correctly use this class, inherit from it and define a ‘message’ property. That message will get printf’d with the keyword arguments provided to the constructor.

message = u'An unknown exception occurred.'
exception quantumclient.common.exceptions.StateInvalidClient(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

exception quantumclient.common.exceptions.Unauthorized(**kwargs)

Bases: quantumclient.common.exceptions.QuantumClientException

HTTP 401 - Unauthorized: bad credentials.

message = u'Unauthorized: bad credentials.'
exception quantumclient.common.exceptions.UnsupportedVersion

Bases: exceptions.Exception

Indicates that the user is trying to use an unsupported version of the API

This Page