]> git.puffer.fish Git - mirror/frr.git/commit
tests: Add tests for BGP link-bandwidth and weighted ECMP
authorvivek <vivek@cumulusnetworks.com>
Sat, 28 Mar 2020 19:15:01 +0000 (12:15 -0700)
committervivek <vivek@cumulusnetworks.com>
Tue, 31 Mar 2020 03:12:32 +0000 (20:12 -0700)
commit000022d2056285b2826279641476062bad05d0e7
treeb3e705be42e10bd7da16b45714b6f94ee6e36996
parentfeca4f1e67bb342826d898ae1ce5679798ef1e86
tests: Add tests for BGP link-bandwidth and weighted ECMP

Implement tests to verify BGP link-bandwidth and weighted ECMP
functionality. These tests validate one of the primary use cases for
weighted ECMP (a.k.a. Unequal cost multipath) using BGP link-bandwidth:
https://tools.ietf.org/html/draft-mohanty-bess-ebgp-dmz

The included tests are:
Test #1: Test BGP link-bandwidth advertisement based on number of multipaths
Test #2: Test cumulative link-bandwidth propagation
Test #3: Test weighted ECMP - multipath with next hop weights
Test #4: Test weighted ECMP rebalancing upon change (link flap)
Test #5: Test weighted ECMP for a second anycast IP
Test #6: Test paths with and without link-bandwidth - receiver should resort to regular ECMP
Test #7: Test different options for processing link-bandwidth on the receiver

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
45 files changed:
tests/topotests/bgp_link_bw_ip/__init__.py [new file with mode: 0755]
tests/topotests/bgp_link_bw_ip/r1/bgp-route-1.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/bgp-route-2.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/bgp-route-3.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/bgp-route-4.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/bgp-route-5.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/ip-route-1.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/ip-route-2.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/ip-route-3.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/ip-route-4.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/ip-route-5.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/ip-route-6.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/ip-route-7.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/ip-route-8.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/ip-route-9.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/v4_route.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r1/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r10/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r10/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r2/bgp-route-1.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r2/bgp-route-2.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r2/bgp-route-3.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r2/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r2/ip-route-1.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r2/ip-route-2.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r2/ip-route-3.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r2/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r3/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r3/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r4/bgp-route-1.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r4/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r4/ip-route-1.json [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r4/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r5/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r5/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r6/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r6/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r7/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r7/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r8/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r8/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r9/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/r9/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_link_bw_ip/test_bgp_linkbw_ip.py [new file with mode: 0755]