Add Tap Mirror exception
Add TapMirrorNotFound and TapMirrorTunnelConflict to taas exceptions. Change-Id: I96413cdeaa85f8f52c80a5e6dd72e0ddaa2e10ed Related-Bug: #2015471
This commit is contained in:
@@ -44,3 +44,11 @@ class TapServiceNotBelongToTenant(qexception.NotAuthorized):
|
||||
|
||||
class TapServiceLimitReached(qexception.OverQuota):
|
||||
message = _("Reached the maximum quota for Tap Services")
|
||||
|
||||
|
||||
class TapMirrorNotFound(qexception.NotFound):
|
||||
message = _("Tap Mirror %(mirror_id)s does not exist")
|
||||
|
||||
|
||||
class TapMirrorTunnelConflict(qexception.Conflict):
|
||||
message = _("Tap Mirror with tunnel_id %(tunnel_id)s already exists")
|
||||
|
Reference in New Issue
Block a user