]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn.c
bgpd: Additional options for generating link bandwidth
authorvivek <vivek@cumulusnetworks.com>
Tue, 24 Mar 2020 20:57:44 +0000 (13:57 -0700)
committervivek <vivek@cumulusnetworks.com>
Tue, 31 Mar 2020 03:12:31 +0000 (20:12 -0700)
commitb1875e656c7bbe69d690b6ab62c28f5d7bcc4129
tree30b7596880fa6d5c7468c06d443f353e0f93f156
parentf6ca545a214cdd4112f133df3da82fad827186fa
bgpd: Additional options for generating link bandwidth

Implement the code to handle the other route-map options to generate
the link bandwidth, namely, to use the cumulative bandwidth or to
base this on the number of multipaths. In the latter case, a reference
bandwidth is internally chosen - the implementation uses a value of
1 Gbps.

These additional options mean that the prefix may need to be advertised
if there is a link bandwidth change, which is a new criteria. Define a
new path (change) flag to support this and implement the advertisement.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_evpn.c
bgpd/bgp_mpath.c
bgpd/bgp_route.c
bgpd/bgp_route.h
bgpd/bgp_routemap.c
bgpd/bgpd.c
bgpd/bgpd.h