Page MenuHomeVyOS Platform

BGP: add support for extended community bandwidth definition
Closed, ResolvedPublicFEATURE REQUEST

Description

vyos(config-route-map)# set extcommunity bandwidth 
  (1-25600)       Bandwidth value in Mbps
  cumulative      Cumulative bandwidth of all multipaths (outbound-only)
  num-multipaths  Internally computed bandwidth based on number of multipaths (outbound-only)
vyos(config-route-map)# set extcommunity bandwidth 2500 
  <cr>            
  non-transitive  Attribute is set as non-transitive
vyos(config-router)# bgp bestpath bandwidth 
  default-weight-for-missing  Assign a low default weight (value 1) to paths not having link bandwidth
  ignore                      Ignore link bandwidth (i.e.,  do regular ECMP,  not weighted)
  skip-missing                Ignore paths without link bandwidth for ECMP (if other paths have it)

New VyOS CLI commands:

set policy route-map <name> rule <num> set extcommunity-bandwidth
set protocols bgp parameter bestpath bandwidth

Aso extend the smoketests

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)