-
Notifications
You must be signed in to change notification settings - Fork 660
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
Multipath link bandwidth enabled #1028
Conversation
No major YANG version changes in commit e0a2d5d |
Should we not specify a default? Since Arista EOS is disabled by default and the other vendors are enabled by default we could leave out a default value, which means the default, if any, is up to the device. We can further give guidance in the description for this leaf to always set the desired value to ensure the desired behavior occurs. |
+1 to not having a default. |
I’m fine with no default in this case.
But in this case implementation must support leaf.
- Do not reject config if leaf value is same as implementation default.
- reject config if value is uncupported.
…--------------
Rafal Szarecki
On Thu, Jan 4, 2024 at 10:18 nandanarista ***@***.***> wrote:
Should we not specify a default? Since Arista EOS is disabled by default
and the other vendors are enabled by default we could leave out a default
value, which means the default, if any, is up to the device. We can further
give guidance in the description for this leaf to always set the desired
value to ensure the desired behavior occurs.
+1 to not having a default.
Depending on how a h/w platform implements wECMP, enabling wECMP can lead
to more resource utilization, so seems like a somewhat unsafe default=True
in that regard.
—
Reply to this email directly, view it on GitHub
<#1028 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALDSOVLAMEIKLXK64SMBRULYM3W67AVCNFSM6AAAAABBFZPYAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGU2TOMJXGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good except the default should be removed as discussed. You may update the description to indicate the expected behavior when setting this leaf.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for putting this together, Rafal!
one nit and one question
This was reviewed at the Jan 9th OC Operators meeting without objection. Setting last call to Jan 16, 2024 |
@rszarecki this is ready except for the version conflicts. Can you fix for us? |
@dplore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @rszarecki !
* BGP link bandwidth multipath enable at global level
Change Scope
This PR provides configuration hirarchy that allows to enable/disable honoring link-bandwidth extended community when BGP multipath is forming RIB/FIB entries.
It is done by by link-bandwidth-ext-community dedicated container, so more attributes can be added in future, without breaking model. (e.g. precission/scalaling/reference factors. Or zero value handling).
same structure repeats for all levels:
This leaf has no effect if BGP multi-path is disabled or if maximum-path attribute of BGP multi-path value is set to 1.
Implementation that do support only one state (e.g. implementation do not support BGP wECMP at all) should still support this leaf and accept configuration if value is set to FALSE, while reject configuration when value is set to TRUE.
Platform Implementations
Arista:
ucmp mode 1
FRRrouting: bgp bestpath bandwidth ignore
Cumulus: net add bestpath bandwidth ignore
Juniper JUNOS, Cisco IOS-XR, Nokia SRL - do not allow to ignore/disable link-bandwidth community. They always instantiate wECMP if all multipath members have link-bandwidth community attached, or ECMP if at least one do not have it attached.