[aclshow] output only counters per table/rule#442
[aclshow] output only counters per table/rule#442liat-grozovik merged 3 commits intosonic-net:masterfrom
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)
-->