summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-08 09:11:35 +0100
committerChristian Breunig <christian@breunig.cc>2024-12-16 22:24:50 +0100
commit13baad691410009d1e5f7e6f6bf5afe72afd2f73 (patch)
tree90cdf1e9e95debfb0717122b23b8cfaaffa19487 /smoketest/scripts
parent3c79477adf3cd4f4efb302b58542ddd668b562ac (diff)
downloadvyos-1x-13baad691410009d1e5f7e6f6bf5afe72afd2f73.tar.gz
vyos-1x-13baad691410009d1e5f7e6f6bf5afe72afd2f73.zip
multicast: T6746: flatten CLI by merging "multicast route" to "mroute" CLI tagNode
This will save an entire level for the configuration and there is no need for a parent "multicast" node, as it will only have "route" as tagNode below. Move set protocols static multicast route <x.x.x.x/y> to: * set protocols static mroute <x.x.x.x/y>
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_static.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_protocols_static.py b/smoketest/scripts/cli/test_protocols_static.py
index 980bc6e7f..086235086 100755
--- a/smoketest/scripts/cli/test_protocols_static.py
+++ b/smoketest/scripts/cli/test_protocols_static.py
@@ -528,7 +528,7 @@ class TestProtocolsStatic(VyOSUnitTestSHIM.TestCase):
def test_04_static_multicast(self):
for route, route_config in multicast_routes.items():
if 'next_hop' in route_config:
- base = base_path + ['multicast', 'route', route]
+ base = base_path + ['mroute', route]
for next_hop, next_hop_config in route_config['next_hop'].items():
self.cli_set(base + ['next-hop', next_hop])
if 'distance' in next_hop_config:
@@ -537,7 +537,7 @@ class TestProtocolsStatic(VyOSUnitTestSHIM.TestCase):
self.cli_set(base + ['next-hop', next_hop, 'disable'])
if 'interface' in route_config:
- base = base_path + ['multicast', 'route', route]
+ base = base_path + ['mroute', route]
for next_hop, next_hop_config in route_config['interface'].items():
self.cli_set(base + ['interface', next_hop])
if 'distance' in next_hop_config: