-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Yang][Bugfix] Vxlan tunnel yang model to support dest_ip and name length. #18966
[Yang][Bugfix] Vxlan tunnel yang model to support dest_ip and name length. #18966
Conversation
1) Tunnel name of length 30 characters. 2) dst_ip field.
@@ -55,13 +55,17 @@ module sonic-vxlan { | |||
name should have a max of 10 chars */ | |||
|
|||
type string { | |||
length 1..10; | |||
length 1..30; |
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.
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.
I chose a random sufficiently large number to accommodate the name.
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.
linux interface same is 15 character so we cant use that.
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.
Could you keep the lower limit 1?
@qiluo-msft if you are ok with with the length then please merge this. |
Hi @yxieca , could you help merge to 202311? |
…ngth. (sonic-net#18966) Fixed the Vxlan tunnel yang model to add support for 1) Tunnel name length restriction has been removed 2) dst_ip field. #### Why I did it The yand modle was misisng an element and supported tunnel anme was very small. #### How to verify it run yang model tests
Cherry-pick PR to 202311: #19364 |
…ngth. (#18966) Fixed the Vxlan tunnel yang model to add support for 1) Tunnel name length restriction has been removed 2) dst_ip field. #### Why I did it The yand modle was misisng an element and supported tunnel anme was very small. #### How to verify it run yang model tests
Fixed the Vxlan tunnel yang model to add support for
Why I did it
The yand modle was misisng an element and supported tunnel anme was very small.
Work item tracking
27996821
How I did it
How to verify it
run yang model tests
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)