]> git.puffer.fish Git - matthieu/frr.git/commit
tests: fix BFD C-bit topotest
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 17 Apr 2024 14:01:23 +0000 (11:01 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Thu, 18 Apr 2024 21:28:36 +0000 (18:28 -0300)
commit790c207fa9c9c0a8a1ec475f09a80f8af4b4a903
tree65fbf2347aded3968587d5e26926ca9871dd3a60
parentd315382d47f9e4e79a2339463386bf20883158dc
tests: fix BFD C-bit topotest

When a BFD down notification is received and the C-bit is set in both
directions, any ongoing graceful restart should be aborted and stale
routes removed from the RIB.

This commit updates the `bfd_bgp_cbit_topo3` topotest accordingly to
fix the expected outcomes in the `test_bfd_loss_intermediate` test.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
tests/topotests/bfd_bgp_cbit_topo3/r1/bgp_ipv6_routes_down.json
tests/topotests/bfd_bgp_cbit_topo3/r1/ipv6_routes.json
tests/topotests/bfd_bgp_cbit_topo3/test_bfd_bgp_cbit_topo3.py