vmware-nsx/neutron/services/vpn
Paul Michali 083481d7e0 Cisco VPN device driver - support IPSec connection updates
Provides support for IPSec connection updates and state changes. To do
this, the configuration of the connection is maintained, when the
connection is created. This is checked against the current settings, at
sync time, to determine whether a configuration change (as opposed to a
state change) has occurred.

If there is a change to the configuration detected, then the simple
approach is taken of deleting and then re-creating the connection, with
the new settings.

In addition, if the admin state of the connection changes, the tunnel
will be taken admin down/up, as needed. Admin down will occur if the
IPSec connection or the associated VPN service is set to admin down.
Admin up will occur, if both the IPSec connection and the VPN service
are in admin up state.

Added REST client method to allow changing the IPSec connection tunnel
to admin up/down (effectively doing a no-shut/shut on the tunnel I/F),
based on the above mentioned state.

Modified UTs for the support of IPSec connection update requests (used to
throw an "unsupported" exception), and to check that the configuration
and state changing are processed correctly.

Updated so that tunnel_ip is set in device driver, rather than hard
coding, and then overriding in REST client. Since device driver has the
same info, this will fit into future plans to obtain the info from
router, vs reading an .ini file. Revised UTs as well.

Change-Id: I184942d7f2f282c867ba020f62cd48ec53315d3e
Closes-Bug: 1303830
2014-04-30 14:13:52 +00:00
..
common VPNaaS Service Driver for Cisco CSR 2014-03-05 15:08:39 -05:00
device_drivers Cisco VPN device driver - support IPSec connection updates 2014-04-30 14:13:52 +00:00
service_drivers Cisco VPN device driver - support IPSec connection updates 2014-04-30 14:13:52 +00:00
__init__.py VPN as a Service (VPNaaS) API and DataModel 2013-07-30 10:38:00 -07:00
agent.py Set ns_name in RouterInfo as attribute 2014-04-03 17:13:02 +02:00
plugin.py VPNaaS support for VPN service admin state change and reporting 2014-03-21 13:43:12 +00:00