summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-30 18:52:40 +0100
committerGitHub <noreply@github.com>2023-10-30 18:52:40 +0100
commit18a0accde0cb6887449be2ced3f092cce77b3d3e (patch)
tree1a80622308918ddeb0de93cb426f6e210df1b6b2 /smoketest/scripts/cli
parentd223ee5fc5c0f1a252659293a3d49056616f8eef (diff)
parentcc7ba8824a5e9ec818f0bbe7fb85e1713a591527 (diff)
downloadvyos-1x-18a0accde0cb6887449be2ced3f092cce77b3d3e.tar.gz
vyos-1x-18a0accde0cb6887449be2ced3f092cce77b3d3e.zip
Merge pull request #2417 from c-po/vxlan-t5699
vxlan: T5699: migrate "external" CLI know to "parameters external"
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_vxlan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_vxlan.py b/smoketest/scripts/cli/test_interfaces_vxlan.py
index e9c9e68fd..cf05148ae 100755
--- a/smoketest/scripts/cli/test_interfaces_vxlan.py
+++ b/smoketest/scripts/cli/test_interfaces_vxlan.py
@@ -107,7 +107,7 @@ class VXLANInterfaceTest(BasicInterfaceTest.TestCase):
def test_vxlan_external(self):
interface = 'vxlan0'
source_address = '192.0.2.1'
- self.cli_set(self._base_path + [interface, 'external'])
+ self.cli_set(self._base_path + [interface, 'parameters', 'external'])
self.cli_set(self._base_path + [interface, 'source-address', source_address])
# Both 'VNI' and 'external' can not be specified at the same time.
@@ -150,7 +150,7 @@ class VXLANInterfaceTest(BasicInterfaceTest.TestCase):
'31': '10031',
}
- self.cli_set(self._base_path + [interface, 'external'])
+ self.cli_set(self._base_path + [interface, 'parameters', 'external'])
self.cli_set(self._base_path + [interface, 'source-interface', source_interface])
for vlan, vni in vlan_to_vni.items():