tacker.common.exceptions
Module¶Tacker base exception handling.
tacker.common.exceptions.
AdminRequired
(**kwargs)¶Bases: tacker.common.exceptions.NotAuthorized
message
= u'User does not have admin privileges: %(reason)s'¶tacker.common.exceptions.
AlarmUrlInvalid
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Invalid alarm url for VNF %(vnf_id)s'¶tacker.common.exceptions.
BadRequest
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Bad %(resource)s request: %(msg)s'¶tacker.common.exceptions.
Conflict
(**kwargs)¶tacker.common.exceptions.
DuplicateEntity
(**kwargs)¶Bases: tacker.common.exceptions.Conflict
message
= u'%(_type)s already exist with given %(entry)s'¶tacker.common.exceptions.
DuplicateResourceName
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'%(resource)s with name %(name)s already exists'¶tacker.common.exceptions.
DuplicatedExtension
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Found duplicate extension: %(alias)s'¶tacker.common.exceptions.
InUse
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'The resource is inuse'¶tacker.common.exceptions.
Invalid
(message=None)¶tacker.common.exceptions.
InvalidContentType
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Invalid content type %(content_type)s'¶tacker.common.exceptions.
InvalidInput
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Invalid input for operation: %(error_message)s.'¶tacker.common.exceptions.
MalformedRequestBody
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Malformed request body: %(reason)s'¶tacker.common.exceptions.
MgmtDriverException
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'VNF configuration failed'¶tacker.common.exceptions.
NetworkVlanRangeError
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u"Invalid network VLAN range: '%(vlan_range)s' - '%(error)s'"¶tacker.common.exceptions.
NotAuthorized
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Not authorized.'¶tacker.common.exceptions.
NotFound
(**kwargs)¶tacker.common.exceptions.
PolicyCheckError
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Failed to check policy %(policy)s because %(reason)s'¶tacker.common.exceptions.
PolicyInitError
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Failed to init policy %(policy)s because %(reason)s'¶tacker.common.exceptions.
PolicyNotAuthorized
(**kwargs)¶Bases: tacker.common.exceptions.NotAuthorized
message
= u"Policy doesn't allow %(action)s to be performed."¶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. |
---|
tacker.common.exceptions.
TriggerNotFound
(**kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'Trigger %(trigger_name)s does not exist for VNF %(vnf_id)s'¶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'¶tacker.common.exceptions.
VnfPolicyNotFound
(**kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'Policy %(policy)s does not exist for VNF %(vnf_id)s'¶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'¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.