diff --git a/neutron_lib/exceptions/taas.py b/neutron_lib/exceptions/taas.py index 00166f9ba..dc8dc6c36 100644 --- a/neutron_lib/exceptions/taas.py +++ b/neutron_lib/exceptions/taas.py @@ -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")