Merge "Add Tap Mirror exception"

This commit is contained in:
Zuul 2024-01-26 10:45:21 +00:00 committed by Gerrit Code Review
commit ba24f0841e
1 changed files with 8 additions and 0 deletions

View File

@ -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")