]> git.proxmox.com Git - mirror_frr.git/commit - doc/user/bgp.rst
bgpd: Add "bgp bestpath peer-type multipath-relax"
authorJoanne Mikkelson <jmmikkel@arista.com>
Wed, 17 Mar 2021 22:26:59 +0000 (15:26 -0700)
committerJoanne Mikkelson <jmmikkel@arista.com>
Tue, 23 Mar 2021 15:59:33 +0000 (08:59 -0700)
commitee88563ac2ead5ca51200e611d0c4b0ef1b70554
treeeeed98b21d901a941a4ff711cbf8f33ef5273bb1
parent8baa41e571f4a741c29116b35b28a8f7dff586f7
bgpd: Add "bgp bestpath peer-type multipath-relax"

This new BGP configuration is akin to "bgp bestpath aspath
multipath-relax". When applied, paths learned from different peer types
will be eligible to be considered for multipath (ECMP). Paths from all
of eBGP, iBGP, and confederation peers may be included in multipaths
if they are otherwise equal cost.

This change preserves the existing bestpath behavior of step 10's result
being returned, not the result from steps 8 and 9, in the case where
both 8+9 and 10 determine a winner.

Signed-off-by: Joanne Mikkelson <jmmikkel@arista.com>
33 files changed:
bgpd/bgp_route.c
bgpd/bgp_vty.c
bgpd/bgpd.h
doc/user/bgp.rst
tests/topotests/bgp_peer-type_multipath-relax/exabgp.env [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/peer1/exa-receive.py [new file with mode: 0755]
tests/topotests/bgp_peer-type_multipath-relax/peer1/exa_readpipe.py [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/peer1/exabgp.cfg [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/peer2/exa-receive.py [new file with mode: 0755]
tests/topotests/bgp_peer-type_multipath-relax/peer2/exa_readpipe.py [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/peer2/exabgp.cfg [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/peer3/exa-receive.py [new file with mode: 0755]
tests/topotests/bgp_peer-type_multipath-relax/peer3/exa_readpipe.py [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/peer3/exabgp.cfg [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/peer4/exa-receive.py [new file with mode: 0755]
tests/topotests/bgp_peer-type_multipath-relax/peer4/exa_readpipe.py [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/peer4/exabgp.cfg [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/multipath.json [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/not-multipath.json [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/prefix1-eBGP-confed.json [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/prefix1-eBGP-iBGP.json [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/prefix1-no-recursive.json [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/prefix1-recursive.json [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/prefix1.json [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/prefix3-ip-route.json [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/prefix3-no-recursive.json [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/prefix3-recursive.json [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r1/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r2/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r2/staticd.conf [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/r2/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_peer-type_multipath-relax/test_bgp_peer-type_multipath-relax.py [new file with mode: 0755]