]> git.puffer.fish Git - matthieu/frr.git/commit
nhrpd: Add topotest for retrying resolution request
authorJoshua Muthii <jmuthii@labn.net>
Tue, 29 Oct 2024 16:05:59 +0000 (12:05 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 5 Nov 2024 15:11:07 +0000 (15:11 +0000)
commite127b7f46484ae461f9fd437ef3660828600aefc
tree55d879ef1675dbbd1cf66c745020f820f17c28bf
parent02f4fef5ffd88923c63f219b9a118221ea800d80
nhrpd: Add topotest for retrying resolution request

Modified nhrp_topo topotest to test for newly added resolution
request retry feature. Changes to the topotest include adding a spoke to the
existing nhrp_topo topotest so that a topology with two spokes and hub
can be used to create shortcuts and test the sending/resending of
resolution requests and responses between spoke and hub. The resolution
request retry feature was tested by blocking incoming resolution requests on a
receiving nodes to stop the creation of a successful shortcut - which
then triggered the sending spoke to retry sending resolution requests

Signed-off-by: Joshua Muthii <jmuthii@labn.net>
(cherry picked from commit d599aa1da6392c5d116df6bf2fa6bbc5b7b879c3)
tests/topotests/nhrp_topo/r1/nhrp_shortcut_present.json [new file with mode: 0644]
tests/topotests/nhrp_topo/r1/zebra.conf
tests/topotests/nhrp_topo/r2/nhrp4_cache.json
tests/topotests/nhrp_topo/r2/nhrp_route4.json
tests/topotests/nhrp_topo/r2/zebra.conf
tests/topotests/nhrp_topo/r4/nhrp4_cache.json [new file with mode: 0644]
tests/topotests/nhrp_topo/r4/nhrp_route4.json [new file with mode: 0644]
tests/topotests/nhrp_topo/r4/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_topo/r4/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_topo/test_nhrp_topo.py