]> git.puffer.fish Git - mirror/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)
committerJoshua Muthii <jmuthii@labn.net>
Tue, 29 Oct 2024 17:15:16 +0000 (13:15 -0400)
commitd599aa1da6392c5d116df6bf2fa6bbc5b7b879c3
treea9da730677034088cc1d89c4017fbbd26d64fcf8
parent56495a88dfc4959331e9baf4c442ea665b2fc776
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>
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