tacker.common.exceptions module

tacker.common.exceptions module

Tacker base exception handling.

exception tacker.common.exceptions.AdminRequired(**kwargs)

Bases: tacker.common.exceptions.NotAuthorized

message = u'User does not have admin privileges: %(reason)s'
exception tacker.common.exceptions.AlarmUrlInvalid(**kwargs)

Bases: tacker.common.exceptions.BadRequest

message = u'Invalid alarm url for VNF %(vnf_id)s'
exception tacker.common.exceptions.BadRequest(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Bad %(resource)s request: %(msg)s'
exception tacker.common.exceptions.Conflict(**kwargs)

Bases: tacker.common.exceptions.TackerException

exception tacker.common.exceptions.DuplicateEntity(**kwargs)

Bases: tacker.common.exceptions.Conflict

message = u'%(_type)s already exist with given %(entry)s'
exception tacker.common.exceptions.DuplicateResourceName(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'%(resource)s with name %(name)s already exists'
exception tacker.common.exceptions.DuplicatedExtension(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Found duplicate extension: %(alias)s'
exception tacker.common.exceptions.InUse(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'The resource is in use'
exception tacker.common.exceptions.Invalid(message=None)

Bases: tacker.common.exceptions.TackerException

exception tacker.common.exceptions.InvalidContentType(**kwargs)

Bases: tacker.common.exceptions.TackerException

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

Bases: tacker.common.exceptions.BadRequest

message = u'Invalid input for operation: %(error_message)s.'
exception tacker.common.exceptions.MalformedRequestBody(**kwargs)

Bases: tacker.common.exceptions.BadRequest

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

Bases: tacker.common.exceptions.TackerException

message = u'VNF configuration failed'
exception tacker.common.exceptions.NetworkVlanRangeError(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u"Invalid network VLAN range: '%(vlan_range)s' - '%(error)s'"
exception tacker.common.exceptions.NotAuthorized(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Not authorized.'
exception tacker.common.exceptions.NotFound(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'%(resource)s %(name)s not Found'
exception tacker.common.exceptions.PolicyCheckError(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Failed to check policy %(policy)s because %(reason)s'
exception tacker.common.exceptions.PolicyInitError(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'Failed to init policy %(policy)s because %(reason)s'
exception tacker.common.exceptions.PolicyNotAuthorized(**kwargs)

Bases: tacker.common.exceptions.NotAuthorized

message = u"Policy doesn't allow %(action)s to be performed."
exception tacker.common.exceptions.ServiceUnavailable(**kwargs)

Bases: tacker.common.exceptions.TackerException

message = u'The service is unavailable'
exception tacker.common.exceptions.TackerException(**kwargs)

Bases: exceptions.Exception

Base Tacker Exception.

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.'
use_fatal_exceptions()

Is the instance using fatal exceptions.

Returns:Always returns False.
exception tacker.common.exceptions.TriggerNotFound(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'Trigger %(trigger_name)s does not exist for VNF %(vnf_id)s'
exception tacker.common.exceptions.VnfPolicyActionInvalid(**kwargs)

Bases: tacker.common.exceptions.BadRequest

message = u'Invalid action %(action)s for policy %(policy)s, should be one of %(valid_actions)s'
exception tacker.common.exceptions.VnfPolicyNotFound(**kwargs)

Bases: tacker.common.exceptions.NotFound

message = u'Policy %(policy)s does not exist for VNF %(vnf_id)s'
exception tacker.common.exceptions.VnfPolicyTypeInvalid(**kwargs)

Bases: tacker.common.exceptions.BadRequest

message = u'Invalid type %(type)s for policy %(policy)s, should be one of %(valid_types)s'
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.