-
Notifications
You must be signed in to change notification settings - Fork 657
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 next-hop-unchanged for BGP #1158
base: master
Are you sure you want to change the base?
Conversation
No major YANG version changes in commit 9ebc0b6 |
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.
This should be configurable with per afi/safi granularity and not tied to multihop.
Another Cisco ref that shows per-afi/safi config
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/16-12/configuration_guide/rtng/b_1612_rtng_3650_cg/configuring_bgp_next_hop_unchanged.pdf
I know that Arista supports the config like in the above cisco reference as well, just wasn't able to find a public reference immediately.
Moved to afi-safi container. I also renamed the leaf to 'next-hop-unchanged' to align with something much closer to what implementations are already using. |
This is still inconsistent with how next-hop-self is represented in OpenConfig -- where it is something that is within a policy not a leaf. I don't agree with this proposal unless we have a coherent approach within the models. Note that implementations would already a need to be mapping the current approach to underlying config -- so either this is implemented (and thus can be extended), or unimplementable (and thus the current n-h-s approach should be deprecated). |
Change Scope
By default BGP changes the next hop of a BGP route to itself when advertising to neighbors.
.../afi-safis/afi-safi/.../config/next-hop-unchanged
is added to disable this behavior.This feature is commonly used in combination with BGP based VPN's (RFC4364).
The full paths added are:
This change is backwards compatible.
Platform Implementations