-
Notifications
You must be signed in to change notification settings - Fork 661
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
Augmented attributes interface-ref and metric fields to mpls-static lsp #1021
Conversation
No major YANG version changes in commit e6ab4f0 |
c5f7fea
to
7ae0875
Compare
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.
Please add some additional description where pointed out. I will help with an additional implementation reference.
c789590
to
32afa41
Compare
JunOS static-label-switched-path supports options for setting the next hop as an interface, and setting metric. There is no support for payload-type. Cisco XROS static lsp configuration supports interface as next hop. It does not appear to support metric or payload-type. So based on three references (EOS as submitted and XROS and JunOS), it seems we have at least two which support metric and nexthop, but only Arista has a concept of 'payload-type'. Why is payload-type needed? |
@Shashank-arista ping for any comments, especially regarding payload type. |
/gcbrun |
32afa41
to
ef13c60
Compare
Hi @dplore, Sorry for the delay in getting back on this. I tried to investigate more on payload-type requirement. Arista CLI needs a payload-type mandatorily, although today most of hardware platforms depend on auto-decide for inferring it. But still, there is a use case where payload-type would be necessary/used on a certain platform where we would need to skip applying egress ACLs for certain labels which relies on payload-type for the functionality. [no] mpls static top-label [ intf ] { { swap-label } | { pop [ payload-type { ipv4 | ipv6 } [ access-list bypass ] ] } } [ metric ] So, it seems payload-type is something not a mandatory attribute but would still be required in certain specific scenario. |
/gcbrun |
Ok. In this scenario since we haven't identified at least 2 vendors that support payload type, nor the intent to add a payload type, nor specific operational use cases I suggest the payload type be removed from the OC model. It could added via an Arista specific yang augment. |
7db89df
to
e6ab4f0
Compare
Sure, @dplore. I have updated the pull request by removing the payload type related changes from OC model. Please review, thanks. |
/gcbrun |
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 LGTM. Last call for comments! I plan to merge this on April 17th, 2024.
…sp (#1021) * Add interface-ref and metric fields to mpls-static lsp
…sp (openconfig#1021) * Add interface-ref and metric fields to mpls-static lsp
Change Scope
Platform Implementations
CLI configuration: mpls static top-label top_tag[ bgp peer [peer IP]] [DEST_INTF] NEXTHOP_ADDR ACTION [PRIORITY]