]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make VPNaaS 'InUse' exception more clear
authorEugene Nikanorov <enikanorov@mirantis.com>
Tue, 6 May 2014 11:35:04 +0000 (15:35 +0400)
committerenikanorov <enikanorov@mirantis.com>
Wed, 7 May 2014 13:27:50 +0000 (13:27 +0000)
commit14ebdbe77479a72ad1f324663ec795460e03e99a
treeaf0f5275a339acdb6ae68447e28fdaab19a02d74
parentae3e92fe0c820dd851ada8fbac50ade068a07e7a
Make VPNaaS 'InUse' exception more clear

In case IpSecPolicy or IKEPolicy is updated while VPN connection that uses it
is already established, IPsecPolicyInUse or IKEPolicuInUse is raised.
Need to clarify their messages to emphasize that policies can't be updated
because they are used by established connection.

Change-Id: I259f9b8bcff7f8ec13ac630285f6e881c6653309
Closes-Bug: #1315809
neutron/extensions/vpnaas.py