]> git.puffer.fish Git - mirror/frr.git/commitdiff
topotests: remove old FRR version check
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 8 Jun 2020 19:13:25 +0000 (16:13 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 8 Jun 2020 19:13:25 +0000 (16:13 -0300)
Topotest is now part of FRR repo and the code is versioned with the
tests.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
tests/topotests/ospf-sr-topo1/test_ospf_sr_topo1.py

index 114de5861baf28304c015e520dd67ae4dbe81b77..ac97ee7ebd52afe7dbf61d46a13529367c8ae243 100755 (executable)
@@ -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"