summaryrefslogtreecommitdiff
path: root/lib/routemap_cli.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2020-03-24 12:25:28 -0700
committervivek <vivek@cumulusnetworks.com>2020-03-30 20:12:31 -0700
commit4e30bc2bfec5ead773e37388d6f407022570262f (patch)
tree43db412e444150550d398c107cf110eded0ed4e4 /lib/routemap_cli.c
parent42d436cf01d52948d9fe86cbe579a3e108224d01 (diff)
bgpd: Install multipath routes with weights
Perform weighted ECMP if the multipaths have link bandwidth. This involves assigning weights to each of the next hops associated with the prefix based on the link bandwidth of the corresponding path as a factor of the total (cumulative) link bandwidth for the prefix. The weight values used are between 1 and 100. Weights are assigned only if all paths in the multipath have link bandwidth, otherwise any bandwidths are ignored and regular ECMP is performed. This is as recommended in https://tools.ietf.org/html/draft-ietf-idr-link-bandwidth A subsequent commit will implement additional (user-configurable) behaviors. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions