neutron-vpnaas/neutron_vpnaas/tests/unit/services
Dongcan Ye 3f36a0a552 Match IPSEC SA established state
While using IKE policy with version v2,
the IPsec siteconnection status always down.
From librewan wiki[1], the "phase2" in IKEv2 mistakenly
calls itself a PARENT SA which same as "phase1",
This is a known bug for some versions of libreswan.

For the newer versions of libreswan(3.20+),
the "IPsec SA established" will successful output if
phase2 state established.

Here we match the "established" and "newest IPSEC" for
an established IPSEC SA.

[1] https://libreswan.org/wiki/How_to_read_status_output

Change-Id: Iffff7d00f48e69fbc53bb45df17d6a5be6760a6d
Closes-Bug: #1781354
(cherry picked from commit 321392b9a7)
2018-09-25 15:18:25 +00:00
..
vpn Match IPSEC SA established state 2018-09-25 15:18:25 +00:00
__init__.py VPNaaS: Advanced Services split - unit tests 2014-12-14 14:23:58 -05:00