Merge "strongswan: Use non-blocking version of ipsec up" into stable/newton

This commit is contained in:
Jenkins 2017-05-24 17:33:18 +00:00 committed by Gerrit Code Review
commit cc72b6b4a8
1 changed files with 2 additions and 1 deletions

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'])