]> git.proxmox.com Git - mirror_frr.git/commit - tests/isisd/test_common.h
tests: add remote LFA unit tests
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 1 Dec 2020 03:12:08 +0000 (00:12 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 9 Jan 2021 01:22:11 +0000 (22:22 -0300)
commitc40de2944847e549d5c28f850037d8083c7d14af
tree1f9fe53c88e2c2547f26e419d43c233d6a9e4366
parent16fe8cffa1f73b6af767867742435b08217eef9d
tests: add remote LFA unit tests

Extend the existing SPF unit testing infrastructure so that it can
test RLFA as well.

These new unit tests are useful to test the RLFA PQ node
computation on several different network topologies in a timely
manner. Artificial LDP labels (starting from 50000) are used to
activate the computed RLFAs.

It's worth mentioning that the computed backup routing tables
contain both local LFAs and remote LFAs, as running RLFA separately
isn't possible.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
tests/isisd/test_common.c
tests/isisd/test_common.h
tests/isisd/test_isis_spf.c
tests/isisd/test_isis_spf.in
tests/isisd/test_isis_spf.refout