Skip to content
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] Add TUNNEL_TERM field to ACL_RULE table #20454

Merged
merged 5 commits into from
Nov 22, 2024

Conversation

vivekrnv
Copy link
Contributor

@vivekrnv vivekrnv commented Oct 9, 2024

Why I did it

Add support for user to match on TUNNEL_TERM flag in ACL_RULE table.

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

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)

vivekrnv and others added 4 commits September 24, 2024 22:09
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
@vivekrnv vivekrnv requested a review from qiluo-msft as a code owner October 9, 2024 21:11
@vivekrnv vivekrnv marked this pull request as draft October 17, 2024 22:28
@vivekrnv vivekrnv marked this pull request as ready for review October 18, 2024 16:57
prsunny
prsunny previously approved these changes Oct 30, 2024
@vivekrnv
Copy link
Contributor Author

@prsunny @dgsudharsan Can we merge this?

@qiluo-msft qiluo-msft requested review from wen587 and ganglyu November 18, 2024 17:35
@@ -368,6 +369,7 @@ and migration plan
"PRIORITY": "999",
"PACKET_ACTION": "DROP",
"SRC_IP": "1.1.1.1/32",
"TUNNEL_TERM": 'true"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue here leading ' and ending "?
Please align with "

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated


leaf TUNNEL_TERM {
description "Tunnel Termination Flag";
type boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we allow "True" and "False"?
If so, I susgest use stypes:boolean_type:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code only supports "true" or "false", so i think we can keep it boolean for now.

@oleksandrivantsiv
Copy link
Collaborator

@prsunny can we merge this PR?

@qiluo-msft qiluo-msft merged commit 8f12275 into sonic-net:master Nov 22, 2024
22 checks passed
VladimirKuk pushed a commit to Marvell-switching/sonic-buildimage that referenced this pull request Jan 21, 2025
Why I did it
Add support for user to match on TUNNEL_TERM flag in ACL_RULE table.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants