Merge "strongswan: Use non-blocking version of ipsec up"

This commit is contained in:
Jenkins 2017-02-18 01:51:03 +00:00 committed by Gerrit Code Review
commit 26a42e6a4f

View File

@ -179,7 +179,8 @@ class StrongSwanProcess(ipsec.BaseSwanProcess):
self._execute([self.binary, 'start'])
# initiate ipsec connection
for ipsec_site_conn in self.vpnservice['ipsec_site_connections']:
self._execute([self.binary, 'up', ipsec_site_conn['id']])
self._execute([self.binary, 'stroke', 'up-nb',
ipsec_site_conn['id']])
def stop(self):
self._execute([self.binary, 'stop'])