-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
@prsunny @dgsudharsan Can we merge this? |
@@ -368,6 +369,7 @@ and migration plan | |||
"PRIORITY": "999", | |||
"PACKET_ACTION": "DROP", | |||
"SRC_IP": "1.1.1.1/32", | |||
"TUNNEL_TERM": 'true" |
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.
Issue here leading '
and ending "
?
Please align with "
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.
Updated
|
||
leaf TUNNEL_TERM { | ||
description "Tunnel Termination Flag"; | ||
type boolean; |
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.
do we allow "True" and "False"?
If so, I susgest use stypes:boolean_type:
typedef boolean_type { |
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.
Code only supports "true" or "false", so i think we can keep it boolean for now.
@prsunny can we merge this PR? |
Why I did it Add support for user to match on TUNNEL_TERM flag in ACL_RULE table.
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)
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)