Browse Source

Merge "Add SubnetInUseByIPsecSiteConnection in vpnaas exception"

tags/2.3.0^0
Zuul 3 months ago
committed by Gerrit Code Review
parent
commit
4f787b8d7e
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      neutron_lib/exceptions/vpn.py

+ 5
- 0
neutron_lib/exceptions/vpn.py View File

@@ -63,6 +63,11 @@ class SubnetInUseByEndpointGroup(exceptions.InUse):
message = _("Subnet %(subnet_id)s is used by endpoint group %(group_id)s")


class SubnetInUseByIPsecSiteConnection(exceptions.InUse):
message = _("Subnet %(subnet_id)s is used by ipsec site connection "
"%(ipsec_site_connection_id)s")


class VPNStateInvalidToUpdate(exceptions.BadRequest):
message = _("Invalid state %(state)s of vpnaas resource %(id)s "
"for updating")


Loading…
Cancel
Save