neutron-vpnaas/neutron_vpnaas/db/vpn
Dongcan Ye 20a614fd64 Fix AH-ESP transform protocol in IPSec Policy
When creating ipsec_policy with transform_protocol AH-ESP,
ipsec_site_connection will always PENDING_CREATE, in vpn-agent log
it raise an ERROR: 034 Must do at AH or ESP, not neither.

Currently Openswan, Strongswan and Libreswan do not support AH-ESP.
In this patch, add a validator in service driver for Openswan,
Strongswan and Libreswan, that will raise an exception when
creating or updating the IPSec Policy transform protocol
with "ah-esp".
Other vendors can bypass validate ipsec_policy when creating and
updating transform protocol, or implement specific logic for
themselves.

DocImpact

Change-Id: I0fde0c815adb61e6eb2bf868cf57e1286e0231fc
Closes-Bug: #1488764
2015-09-08 17:23:04 +08:00
..
__init__.py Split vpnaas services code into neutron-vpnaas 2014-12-08 13:37:08 -07:00
vpn_db.py Fix AH-ESP transform protocol in IPSec Policy 2015-09-08 17:23:04 +08:00
vpn_models.py VPNaaS: Splitting out models from database class 2015-08-26 12:48:25 +00:00
vpn_validator.py Fix AH-ESP transform protocol in IPSec Policy 2015-09-08 17:23:04 +08:00