-
Notifications
You must be signed in to change notification settings - Fork 664
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
[aclshow] output only counters per table/rule #442
Conversation
retest this please |
Fixed output "..ACL Tables: %d"
@romankachur-mlnx please fix commit typo 'acs- to acl-' @romankachur-mlnx it might be a good idea to send in the mailing list that the UI is going to change. we dont know if SONiC users has any automation based on it which is not exposed and the community need some time to get ready for it. |
Maybe we should consider combining acl-loader and aclshow logic into one utility, "aclutil"? |
retest this please |
Fixed a case when counters, once reset to 0, are not showed untill they are increased ('>0'). Now counters, if reset to 0, are shown as 0 ('>=0'.)
Following offline discussion it was agreed to have this fix regardless on the suggestion raised. |
- What I did
Modified aclshow utility.
(as this information is duplicated by acl-loader utility).
(now the output is filtered based on the passed arguments).
- How I did it
Modified scripts/aclshow
- How to verify it
Run aclshow utility with all possible options:
aclshow
aclshow -h
aclshow -a -vv
aclshow -t <existing_table,unexisting_table> -a
aclshow -r <existing_rule,unexisting_rule> -a
- Previous command output (if the output of a command-line utility has changed)
- New command output (if the output of a command-line utility has changed)
-->