summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorCheeze_It <none@none.com>2022-10-07 21:27:47 -0700
committerCheeze_It <none@none.com>2022-10-11 09:06:30 -0700
commit08c2a057917c357ccf6fac7b51e05d5dae780fc3 (patch)
treeff0e5c89f65b903ed08b9d6e8c3b1d91f4928ae2 /smoketest/scripts/cli
parentbb4901773df9682b67081dda5baf0cb39c742d1e (diff)
downloadvyos-1x-08c2a057917c357ccf6fac7b51e05d5dae780fc3.tar.gz
vyos-1x-08c2a057917c357ccf6fac7b51e05d5dae780fc3.zip
isis: T4739: ISIS segment routing being refactored
This is to refactor ISIS segment routing to match up with OSPF segment routing.
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_isis.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/smoketest/scripts/cli/test_protocols_isis.py b/smoketest/scripts/cli/test_protocols_isis.py
index e4bb9e1f8..c26028253 100755
--- a/smoketest/scripts/cli/test_protocols_isis.py
+++ b/smoketest/scripts/cli/test_protocols_isis.py
@@ -263,10 +263,10 @@ class TestProtocolsISIS(VyOSUnitTestSHIM.TestCase):
self.assertIn(f' isis bfd profile {bfd_profile}', tmp)
def test_isis_07_segment_routing_configuration(self):
- global_block_low = "1000"
- global_block_high = "1999"
- local_block_low = "2000"
- local_block_high = "2999"
+ global_block_low = "100"
+ global_block_high = "199"
+ local_block_low = "200"
+ local_block_high = "299"
interface = 'lo'
maximum_stack_size = '5'
prefix_one = '192.168.0.1/32'
@@ -280,7 +280,6 @@ class TestProtocolsISIS(VyOSUnitTestSHIM.TestCase):
self.cli_set(base_path + ['net', net])
self.cli_set(base_path + ['interface', interface])
- self.cli_set(base_path + ['segment-routing', 'enable'])
self.cli_set(base_path + ['segment-routing', 'maximum-label-depth', maximum_stack_size])
self.cli_set(base_path + ['segment-routing', 'global-block', 'low-label-value', global_block_low])
self.cli_set(base_path + ['segment-routing', 'global-block', 'high-label-value', global_block_high])