From c2088e52fc11dbf06adc5793a6d13a8b45424142 Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Mon, 8 Jun 2020 16:13:25 -0300 Subject: [PATCH] topotests: remove old FRR version check Topotest is now part of FRR repo and the code is versioned with the tests. Signed-off-by: Rafael Zalamena --- tests/topotests/ospf-sr-topo1/test_ospf_sr_topo1.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/topotests/ospf-sr-topo1/test_ospf_sr_topo1.py b/tests/topotests/ospf-sr-topo1/test_ospf_sr_topo1.py index 114de5861b..ac97ee7ebd 100755 --- a/tests/topotests/ospf-sr-topo1/test_ospf_sr_topo1.py +++ b/tests/topotests/ospf-sr-topo1/test_ospf_sr_topo1.py @@ -103,19 +103,6 @@ def setup_module(mod): # Initialize all routers. tgen.start_router() - # Verify that version, MPLS and Segment Routing are OK - for router in router_list.values(): - # Check for Version - if router.has_version("<", "4"): - tgen.set_error("Unsupported FRR version") - break - # Check that Segment Routing is available - output = tgen.gears[router.name].vtysh_cmd( - "show ip ospf database segment-routing json" - ) - if output.find("Unknown") != -1: - tgen.set_error("Segment Routing is not available") - def teardown_module(mod): "Teardown the pytest environment"