summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_protocols_ospf.py
diff options
context:
space:
mode:
authorCheeze_It <none@none.com>2022-10-13 20:36:37 -0700
committerCheeze_It <none@none.com>2022-10-13 20:36:37 -0700
commite3d66e7eb61c4fd5d29b64370a993d583f597639 (patch)
treed88301348274cfeac9685d79990022b38913d4df /smoketest/scripts/cli/test_protocols_ospf.py
parent57dd8a257052bbfa76447ddf83ef2f7e5efa2744 (diff)
downloadvyos-1x-e3d66e7eb61c4fd5d29b64370a993d583f597639.tar.gz
vyos-1x-e3d66e7eb61c4fd5d29b64370a993d583f597639.zip
T4739: OSPF segment routing being refactored
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_ospf.py')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_ospf.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/smoketest/scripts/cli/test_protocols_ospf.py b/smoketest/scripts/cli/test_protocols_ospf.py
index 93bb761c1..51c947537 100755
--- a/smoketest/scripts/cli/test_protocols_ospf.py
+++ b/smoketest/scripts/cli/test_protocols_ospf.py
@@ -382,10 +382,10 @@ class TestProtocolsOSPF(VyOSUnitTestSHIM.TestCase):
def test_ospf_14_segment_routing_configuration(self):
- global_block_low = "100"
- global_block_high = "199"
- local_block_low = "200"
- local_block_high = "299"
+ global_block_low = "300"
+ global_block_high = "399"
+ local_block_low = "400"
+ local_block_high = "499"
interface = 'lo'
maximum_stack_size = '5'
prefix_one = '192.168.0.1/32'
@@ -408,16 +408,13 @@ class TestProtocolsOSPF(VyOSUnitTestSHIM.TestCase):
self.cli_commit()
# Verify all changes
-
frrconfig = self.getFRRconfig('router ospf')
+ self.assertIn(f' segment-routing on', frrconfig)
self.assertIn(f' segment-routing global-block {global_block_low} {global_block_high} local-block {local_block_low} {local_block_high}', frrconfig)
self.assertIn(f' segment-routing node-msd {maximum_stack_size}', frrconfig)
self.assertIn(f' segment-routing prefix {prefix_one} index {prefix_one_value} explicit-null', frrconfig)
self.assertIn(f' segment-routing prefix {prefix_two} index {prefix_two_value} no-php-flag', frrconfig)
- self.skipTest('https://github.com/FRRouting/frr/issues/12007')
- self.assertIn(f' segment-routing on', frrconfig)
-
if __name__ == '__main__':
unittest.main(verbosity=2)