summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_vxlan.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-31 06:56:18 +0100
committerGitHub <noreply@github.com>2023-10-31 06:56:18 +0100
commitc937ef1b220b5d25834b3dd41ae9128b136d7b05 (patch)
tree8e89c81ca1ee4662d9e1e72b04fe0199600c7221 /smoketest/scripts/cli/test_interfaces_vxlan.py
parent2d60bc124447c5f978536b796bda4524b121a03c (diff)
parent4fdecbf61b02c102f0070d9dd1f785643b056de2 (diff)
downloadvyos-1x-c937ef1b220b5d25834b3dd41ae9128b136d7b05.tar.gz
vyos-1x-c937ef1b220b5d25834b3dd41ae9128b136d7b05.zip
Merge pull request #2418 from vyos/mergify/bp/sagitta/pr-2417
vxlan: T5699: migrate "external" CLI know to "parameters external" (backport #2417)
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_vxlan.py')
-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():