summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_vpn_ipsec.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-21 18:21:19 +0100
committerGitHub <noreply@github.com>2021-11-21 18:21:19 +0100
commit39d8f0a4c6d448e20c87df35cf7fd8ba0c8e19c5 (patch)
tree760b1fb10ef61fd8042c6bb9e2f2c66ffd7792b9 /smoketest/scripts/cli/test_vpn_ipsec.py
parentcbd9102ebee55d5c34006ecdfd366bccd14cfd26 (diff)
downloadvyos-1x-39d8f0a4c6d448e20c87df35cf7fd8ba0c8e19c5.tar.gz
vyos-1x-39d8f0a4c6d448e20c87df35cf7fd8ba0c8e19c5.zip
smoketest: ipsec: T4010: fix dmvpn template profile rekey_time
Commit d75403f78aef0 ("dmvpn: T4010: Fix template ipsec profile rekey_time") fixed an issue where the old IKE life_time config option was used. This no longer exists and us named rekey_time for IKE. This commit fixes the expected smoketest result.
Diffstat (limited to 'smoketest/scripts/cli/test_vpn_ipsec.py')
-rwxr-xr-xsmoketest/scripts/cli/test_vpn_ipsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_vpn_ipsec.py b/smoketest/scripts/cli/test_vpn_ipsec.py
index 93569c4ec..c710aec6e 100755
--- a/smoketest/scripts/cli/test_vpn_ipsec.py
+++ b/smoketest/scripts/cli/test_vpn_ipsec.py
@@ -307,7 +307,7 @@ class TestVPNIPsec(VyOSUnitTestSHIM.TestCase):
swanctl_lines = [
f'proposals = aes128-sha1-modp1024,aes256-sha1-modp1024',
f'version = 1',
- f'life_time = {ike_lifetime}s',
+ f'rekey_time = {ike_lifetime}s',
f'rekey_time = {esp_lifetime}s',
f'esp_proposals = aes128-sha1-modp1024,aes256-sha1-modp1024,3des-md5-modp1024',
f'local_ts = dynamic[gre]',