-
Notifications
You must be signed in to change notification settings - Fork 650
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 aft encapsulation-headers #1153
base: master
Are you sure you want to change the base?
Conversation
No major YANG version changes in commit a85fa26 |
Ok, so something like we are at: /network-instances/network-instance/afts/next-hops/next-hop/
One then sets the appropriate leaves for each item in the encapsulate-stack. (an MPLS encap would set the MPLS things, GRE would set the GRE things, etc...) How does that sound? |
Thanks Darren for the quick response! Couple of clarifications:
|
Here's a better defined, but still conceptual, tree which may answer your questions. For backwards compatibility we will deprecate the existing containers for
|
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.
pop-top-label
should also be deprecated and should be moved undermpls-encap
container?lsp-name
should also move to mpls encap?- Doesn't
encapsulate-header
leaf under next-hop state container need to be deprecated as the encap-headers container has been added? - As the MPLS related leaves are moving to its own encap it would be better to move
vni-label
&tunnel-src-ip-address
fields into a new VXLAN encap container?
Items 1 and 2, done. Regarding item 3, does it make sense to just deprecate these leaves and have the aft indicate an encap-headers/encap-header list with MAC in UDP ? I guess most people would probably expect to see vxlan encap specified versus UDP with a optional VNI-ID header value. |
I don't have enough knowledge on VxLAN about your question on item 3. But the changes you've made in the latest commit, i.e., creation of a new container for VxLAN encap makes sense & kind of preserves the old |
Last-call for comments! This is planned to merge on Sep 26,2024. @rgwilton @nandanarista @earies @LimeHat for comments. |
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.
The overall hierarchy LGTM.
Change Scope
Add AFT container representing next-hop encapsulation headers. A list of encap-headers is defined which is used to represent a stack of one or more packets added to any packet matching a next-hop.
Add containers for GRE, IP, UDP and MPLS encapsulation
Deprecate the existing AFT encapsulation containers for ip-in-ip and gre and MPLS.
Deprecate pop-top-label and move to encap-header/mpls list
Use cases
Platform Implementations
Tree view
Note that deprecated leafs are marked with an 'x'.
we are at: /network-instances/network-instance/afts/