summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_openvpn.py
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2024-08-02 14:10:51 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-08-05 10:50:25 +0000
commitf94d7f081074f4debef2eb25855412c26a061ddf (patch)
treed1a4b1a9c754e2a8b4f56f75db5ac65e5ffb4bc4 /smoketest/scripts/cli/test_interfaces_openvpn.py
parentbc2bb1ed9ac977c8ad540d7ccbfff8e9980277cf (diff)
downloadvyos-1x-f94d7f081074f4debef2eb25855412c26a061ddf.tar.gz
vyos-1x-f94d7f081074f4debef2eb25855412c26a061ddf.zip
OPENVPN: T6555: fix name to bridge
(cherry picked from commit d5ae708581d453e2205ad4cf8576503f42e262b6)
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_openvpn.py')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_openvpn.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_openvpn.py b/smoketest/scripts/cli/test_interfaces_openvpn.py
index 53cfa6cf5..3f05dd81c 100755
--- a/smoketest/scripts/cli/test_interfaces_openvpn.py
+++ b/smoketest/scripts/cli/test_interfaces_openvpn.py
@@ -628,7 +628,7 @@ class TestInterfacesOpenVPN(VyOSUnitTestSHIM.TestCase):
def test_openvpn_server_server_bridge(self):
- # Create OpenVPN server interface using server-bridge.
+ # Create OpenVPN server interface using bridge.
# Validate configuration afterwards.
br_if = 'br0'
vtun_if = 'vtun5010'
@@ -644,10 +644,10 @@ class TestInterfacesOpenVPN(VyOSUnitTestSHIM.TestCase):
self.cli_set(path + ['encryption', 'data-ciphers', 'aes192'])
self.cli_set(path + ['hash', auth_hash])
self.cli_set(path + ['mode', 'server'])
- self.cli_set(path + ['server', 'server-bridge', 'gateway', gw_subnet])
- self.cli_set(path + ['server', 'server-bridge', 'start', start_subnet])
- self.cli_set(path + ['server', 'server-bridge', 'stop', stop_subnet])
- self.cli_set(path + ['server', 'server-bridge', 'subnet-mask', mask_subnet])
+ self.cli_set(path + ['server', 'bridge', 'gateway', gw_subnet])
+ self.cli_set(path + ['server', 'bridge', 'start', start_subnet])
+ self.cli_set(path + ['server', 'bridge', 'stop', stop_subnet])
+ self.cli_set(path + ['server', 'bridge', 'subnet-mask', mask_subnet])
self.cli_set(path + ['keep-alive', 'failure-count', '5'])
self.cli_set(path + ['keep-alive', 'interval', '5'])
self.cli_set(path + ['tls', 'ca-certificate', 'ovpn_test'])