]> git.puffer.fish Git - mirror/frr.git/commit
tests: only test count of nexthops in bgp max-paths test
authorMark Stapp <mjs@voltanet.io>
Tue, 10 Nov 2020 14:50:50 +0000 (09:50 -0500)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 17 Nov 2020 18:07:58 +0000 (21:07 +0300)
commita35eb8317a1cb2e18d5beafce255b040b5bec180
treee6a9987203322f31ef25ff8c32b8891933589823
parent104d07a6e6ecfba8ca86e96bf2df24636c6d6759
tests: only test count of nexthops in bgp max-paths test

Add support to compare the number of RIB nexthops, rather than the
specific nexthop addresses. Use this in the bgp_ecmp topotests that
test maximum-paths - testing the specific nexthops is wrong there,
it's not deterministic and we get spurious failures.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
tests/topotests/bgp-ecmp-topo2/test_ebgp_ecmp_topo2.py
tests/topotests/bgp-ecmp-topo2/test_ibgp_ecmp_topo2.py
tests/topotests/lib/common_config.py