Add SubnetInUseByIPsecSiteConnection in vpnaas exception
This exception added in commit 0edb0e68f1a2f673d1befa8833eab0ce7a1521ba Change-Id: Ia928ed32970f4a6e58e4b08a0ced18bb55a9e01a
This commit is contained in:
parent
7798139ffc
commit
83bc6ab206
@ -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…
x
Reference in New Issue
Block a user