-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add BGP cumulative link-bandwidth #1131
base: master
Are you sure you want to change the base?
Conversation
No major YANG version changes in commit 09dadb3 |
The draft-ietf-bess-ebgp-dmz does 2 things:
The
|
The details here are slightly off. Juniper's implementation of link-bw uses a transitive extended community code point. (Embarrassing, because Juniper is the one that published the base spec that uses non-transitive in the document.) This causes interop issues between Juniper and implementations that don't understand the non-draft-compliant transitive format. The link-bw draft is pending an upcoming update in IETF that will address both the transitive and non-transitive cases. It is intended to contain interop procedures. Indirectly, it also addresses some points covered in the DMZ draft. |
I will reiterate it again: The 'global/afi-safis/afi-safi/use-multiple-paths/...' hierarchy is wrong place to control if and how link-bandwidth is propagated send over eBGP because:
|
Too fast on the comments! I agree and have moved it. Pushing commit here now. :)
|
Reviewed by OC operators on Aug 20, 2024 without objection. |
@rszarecki and @jhaas-pfrc thank you for the earlier review, this is ready for your review again. |
Change Scope
Extend configuration of BGP global and peer-groups to permit cumulative link bandwidth and transitive behavior as per draft-ietf-bess-ebgp-dmz.
Also add link-bandwidth parameters to BGP neighbor configuration and state. (Previously these were only defined at the global and peer-group levels)
This change only adds leafs and is backwards compatible.
Example flattened paths:
Platform Implementations
On Cisco IOS XR, there is no special configuration needed other than
link-bandwidth-ext-community/config/enabled
. The OS implicitly sums up the link-bandwidth of ECMP bgp paths.Arista EOS expects an 'aggregate' configuration option on top of enabling link-bandwidth to be added on a per neighbor basis. They further support 'divide' and 'equal' options.
JunOS expects configuration of a BGP policy statement to enable 'aggregate-bandwidth' and additional options for transitive/non-transitive and a 'divide-equal' option. There is also a configuration item, set per bgp neighbor or peer to allow link-bandwidth community to be sent via eBGP (ie: allow sending BGP link-bandwidth which was defined as non-transitive in draft-ietf-idr-link-bandwidth, but then updated by draft-ietf-bess-ebgp-dmz to be transitive.
Tree view
This common stanza of changes is added at each level of BGP configuration:
bgp/global
bgp/peer-group
bgp/neighbor
bgp/global/afi-safis
bgp/peer-group/afi-safis
bgp/neighbor/afi-safis