-
Notifications
You must be signed in to change notification settings - Fork 0
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 permission annotations to tables #21
Conversation
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.
https://github.com/p4tc-dev/p4tc-e2e/issues/39 - This expects changes in json files for permissions of tables. Please check and update the code accordingly and address the review comments as well
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 check the 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.
Looks fine
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.
Looks fine
@tc_acl will correspond to a 14bit value that encompasses the CRUDXPS permissions for both control and data path.
So for example, "@tc_acl="CRUS:RXP"
Here, control path permission is CRUS and data path permission is RXP. This will map to permission value as 0x38a6
https://github.com/p4tc-dev/p4tc-e2e/issues/39