]> git.puffer.fish Git - mirror/frr.git/commit
tests: Add ip6_route_zebra lib function 4428/head
authorMark Stapp <mjs@voltanet.io>
Thu, 6 Jun 2019 15:49:15 +0000 (11:49 -0400)
committerMark Stapp <mjs@voltanet.io>
Thu, 6 Jun 2019 17:22:04 +0000 (13:22 -0400)
commite394d9aa5fdc67dc902bf48c02c340ca94bea99c
tree529102b6cb1d1f54e6192c598b7bf810d483cad7
parent92a9c7bd28179b486465e16e12550ce0cc26c4a5
tests: Add ip6_route_zebra lib function

Add a common function to retrieve and canonicalize
'show ipv6 route' output for use in topotests. Use that in
the test_ospf6_topo1 test; update the corresponding 'expected'
results files to match the lib function.

Replace some 'print' with 'logger' statements in that test also.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
tests/topotests/lib/topotest.py
tests/topotests/ospf6-topo1/r1/ospf6d.conf-pre-v4 [deleted file]
tests/topotests/ospf6-topo1/r1/show_ipv6_route.ref
tests/topotests/ospf6-topo1/r2/ospf6d.conf-pre-v4 [deleted file]
tests/topotests/ospf6-topo1/r2/show_ipv6_route.ref
tests/topotests/ospf6-topo1/r3/ospf6d.conf-pre-v4 [deleted file]
tests/topotests/ospf6-topo1/r3/show_ipv6_route.ref
tests/topotests/ospf6-topo1/r4/ospf6d.conf-pre-v4 [deleted file]
tests/topotests/ospf6-topo1/r4/show_ipv6_route.ref
tests/topotests/ospf6-topo1/test_ospf6_topo1.py