diff options
author | Christian Breunig <christian@breunig.cc> | 2024-12-08 09:11:35 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-12-16 22:24:50 +0100 |
commit | 13baad691410009d1e5f7e6f6bf5afe72afd2f73 (patch) | |
tree | 90cdf1e9e95debfb0717122b23b8cfaaffa19487 /src | |
parent | 3c79477adf3cd4f4efb302b58542ddd668b562ac (diff) | |
download | vyos-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 'src')
-rw-r--r-- | src/tests/test_initial_setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_initial_setup.py b/src/tests/test_initial_setup.py index 4cd5fb169..7737f9df5 100644 --- a/src/tests/test_initial_setup.py +++ b/src/tests/test_initial_setup.py @@ -92,8 +92,8 @@ class TestInitialSetup(TestCase): vis.set_default_gateway(self.config, '192.0.2.1') self.assertTrue(self.config.exists(['protocols', 'static', 'route', '0.0.0.0/0', 'next-hop', '192.0.2.1'])) - self.assertTrue(self.xml.is_tag(['protocols', 'static', 'multicast', 'route', '0.0.0.0/0', 'next-hop'])) - self.assertTrue(self.xml.is_tag(['protocols', 'static', 'multicast', 'route'])) + self.assertTrue(self.xml.is_tag(['protocols', 'static', 'mroute', '0.0.0.0/0', 'next-hop'])) + self.assertTrue(self.xml.is_tag(['protocols', 'static', 'mroute'])) if __name__ == "__main__": unittest.main() |