]> git.puffer.fish Git - matthieu/frr.git/commit
tests: add a topotest to verify nhrp shortcuts in a redundant nhs topology
authordleroy <dleroy@labn.net>
Mon, 29 Apr 2024 21:59:25 +0000 (14:59 -0700)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 30 May 2024 23:28:55 +0000 (23:28 +0000)
commit9683c22c2227a015d8b5ab8940476efc2e471ea7
tree3274cae038f9c062898972efd0e09fceb5ca2103
parenta3f4313cf23fad6c8063386a6b4d35887b5554a6
tests: add a topotest to verify nhrp shortcuts in a redundant nhs topology

Contains 2 testcases. The first does a basic configuration/connectivity.
The second testcase initiates a shortcut through the primary NHS,
verifies shortcut routes are installed. Primary NHS interface brought
down and verify that the shortcut is not impacted. Finally verify that
after the shortcut expires, it is able to be re-established via a backup
NHS.

Signed-off-by: dleroy <dleroy@labn.net>
(cherry picked from commit a7037ab23407d5667385f9be096e347caa0c94ad)
25 files changed:
tests/topotests/nhrp_redundancy/r1/nhrp_cache.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r1/nhrp_route.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r1/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r1/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r2/nhrp_cache.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r2/nhrp_route.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r2/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r2/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r3/nhrp_cache.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r3/nhrp_route.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r3/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r3/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r4/nhrp_cache.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r4/nhrp_route.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r4/nhrp_route_shortcut.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r4/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r4/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r5/nhrp_cache.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r5/nhrp_route.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r5/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r5/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r6/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r7/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/test_nhrp_redundancy.dot [new file with mode: 0644]
tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py [new file with mode: 0644]