mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-05 10:28:27 +00:00
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 <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
993db04388
commit
c2088e52fc
@ -103,19 +103,6 @@ def setup_module(mod):
|
|||||||
# Initialize all routers.
|
# Initialize all routers.
|
||||||
tgen.start_router()
|
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):
|
def teardown_module(mod):
|
||||||
"Teardown the pytest environment"
|
"Teardown the pytest environment"
|
||||||
|
Loading…
Reference in New Issue
Block a user