diff options
author | Alex W <embezzle.dev@proton.me> | 2024-04-21 21:59:56 +0100 |
---|---|---|
committer | Alex W <embezzle.dev@proton.me> | 2024-04-21 21:59:56 +0100 |
commit | 78ea623df20b44309cc6ac9848ed18e97fc4ed03 (patch) | |
tree | b1dcde60d70d02cc63e92028f885e8f7e1995279 /smoketest | |
parent | 4cde677e9e128bc9b62fad720b1b6f6cac506954 (diff) | |
download | vyos-1x-78ea623df20b44309cc6ac9848ed18e97fc4ed03.tar.gz vyos-1x-78ea623df20b44309cc6ac9848ed18e97fc4ed03.zip |
T6237: IPSec remote access VPN: ability to set EAP ID of clients
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_vpn_ipsec.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_vpn_ipsec.py b/smoketest/scripts/cli/test_vpn_ipsec.py index 145b5990e..27356d70e 100755 --- a/smoketest/scripts/cli/test_vpn_ipsec.py +++ b/smoketest/scripts/cli/test_vpn_ipsec.py @@ -782,6 +782,11 @@ class TestVPNIPsec(VyOSUnitTestSHIM.TestCase): self.assertTrue(os.path.exists(os.path.join(CA_PATH, f'{ca_name}.pem'))) self.assertTrue(os.path.exists(os.path.join(CERT_PATH, f'{peer_name}.pem'))) + # Test setting of custom EAP ID + self.cli_set(base_path + ['remote-access', 'connection', conn_name, 'authentication', 'eap-id', 'eap-user@vyos.net']) + self.cli_commit() + self.assertIn(r'eap_id = eap-user@vyos.net', read_file(swanctl_file)) + self.tearDownPKI() def test_remote_access_x509(self): |