mirror_frr/tests
Renato Westphal e33b95b4bb isisd: uninstall local routes that don't have any valid nexthop
Once the remote end of a connected link is shut down (or lose
its address), isisd will remove the corresponding route from its
RIB after SPF runs. A new route for the same destination should
be computed based on the local LSP, and that route by definition
doesn't have any nexthop.  The problem is that, when isisd tries
to replace the old route by the new one, it fails because routes
without nexthops can't be installed.  That causes the old invalid
route to remain in the RIB when it shouldn't. To fix this problem,
change the zebra interface code to uninstall a route whenever it
can't be installed (because it lacks nexthops) instead of doing
nothing in that case.

This change should fix occasional failures of the test_isis_sr_topo1
topotest.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2020-11-23 14:50:32 -03:00
..
bgpd bgpd, lib, staticd, tests: Convert to using FOREACH_AFI_SAFI 2020-11-14 18:53:03 -05:00
helpers tests: ignore Windows vs Unix style newlines 2020-11-17 13:19:44 +00:00
isisd isisd: fix the TI-LFA repair paths to preserve the original Prefix-SID 2020-10-23 10:31:39 -03:00
lib * : update signature of thread_cancel api 2020-10-23 08:59:34 -04:00
ospf6d ospf6d, tests: Prevent use after free 2020-10-11 11:16:44 -04:00
topotests isisd: uninstall local routes that don't have any valid nexthop 2020-11-23 14:50:32 -03:00
.gitignore tests, isisd: add IS-IS SPF unit tests 2020-08-26 20:16:19 -03:00
Makefile build: non-recursive tests 2018-09-08 21:26:54 +02:00
pytest.ini tests: Exclude topotests from consideration 2018-11-27 20:22:10 -05:00
runtests.py *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am tests: add bgp yang module registery to attr test 2020-10-03 11:25:37 -07:00