]> git.puffer.fish Git - matthieu/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)
committerMark Stapp <mjs@voltanet.io>
Tue, 10 Nov 2020 14:58:15 +0000 (09:58 -0500)
commit15df6d3165755e1224f1f87102710dce0840fd53
tree0cb8a864be9ce53b3a22ec7e55bac4fe0a48a113
parent340434461b26e454eab6557eaf7a96e5dd0d7997
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