diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-16 17:07:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 17:07:35 +0200 |
commit | b7359833c6663ac3b00439feae751e968ce68b99 (patch) | |
tree | bd3136690b1f1446fca40d843592867ff586b986 /smoketest/scripts | |
parent | 39bc608060ea31db4c2ae68d81bf60f7e80afe1a (diff) | |
parent | f197b07710c18f0853ce42fb42be26cdf860db5e (diff) | |
download | vyos-1x-b7359833c6663ac3b00439feae751e968ce68b99.tar.gz vyos-1x-b7359833c6663ac3b00439feae751e968ce68b99.zip |
Merge pull request #2366 from sever-sever/T5634
T5634: Smoketest add OpenVPN encryption ciphers
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_openvpn.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_openvpn.py b/smoketest/scripts/cli/test_interfaces_openvpn.py index 4a7e2418c..66c348976 100755 --- a/smoketest/scripts/cli/test_interfaces_openvpn.py +++ b/smoketest/scripts/cli/test_interfaces_openvpn.py @@ -506,11 +506,13 @@ class TestInterfacesOpenVPN(VyOSUnitTestSHIM.TestCase): interface = 'vtun5001' path = base_path + [interface] + encryption_cipher = 'aes256' self.cli_set(path + ['mode', 'site-to-site']) self.cli_set(path + ['local-address', '10.0.0.2']) self.cli_set(path + ['remote-address', '192.168.0.3']) self.cli_set(path + ['shared-secret-key', 'ovpn_test']) + self.cli_set(path + ['encryption', 'cipher', encryption_cipher]) self.cli_commit() @@ -548,6 +550,7 @@ class TestInterfacesOpenVPN(VyOSUnitTestSHIM.TestCase): port = '' local_address = '' remote_address = '' + encryption_cipher = 'aes256' for ii in num_range: interface = f'vtun{ii}' @@ -571,6 +574,7 @@ class TestInterfacesOpenVPN(VyOSUnitTestSHIM.TestCase): self.cli_set(path + ['remote-port', port]) self.cli_set(path + ['shared-secret-key', 'ovpn_test']) self.cli_set(path + ['remote-address', remote_address]) + self.cli_set(path + ['encryption', 'cipher', encryption_cipher]) self.cli_set(path + ['vrf', vrf_name]) self.cli_commit() |