Skip to content

[aclshow]: Skip rules with 0 count and sort the output#74

Merged
stcheng merged 1 commit intosonic-net:masterfrom
stcheng:acl_sort
Jun 23, 2017
Merged

[aclshow]: Skip rules with 0 count and sort the output#74
stcheng merged 1 commit intosonic-net:masterfrom
stcheng:acl_sort

Conversation

@stcheng
Copy link
Copy Markdown
Contributor

@stcheng stcheng commented Jun 22, 2017

  • Without -d or --details option, simplify the output by skipping the rules
    that doesn't match any packets till now.
  • Sort the output by sorting using table name first and then descending priority.

- Without -d or --details option, simplify the output by skipping the rules
  that doesn't match any packets till now.
- Sort the output by sorting using table name first and then descending priority.
@stcheng
Copy link
Copy Markdown
Contributor Author

stcheng commented Jun 22, 2017

RULE NAME    TABLE NAME                  TYPE      PRIO  ACTION      PACKETS COUNT    BYTES COUNT
-----------  --------------------------  ------  ------  --------  ---------------  -------------
Rule_1       Table_1                     L3        9999  FORWARD         226794954   119626413244
Rule_2       Table_1                     L3        9998  FORWARD               421          26944
Rule_3       Table_1                     L3        9997  FORWARD             94698       16059337
Rule_4       Table_1                     L3        9996  FORWARD         174837880   229183272320
Rule_6       Table_1                     L3        9994  FORWARD        1197380237  1351320680975
Rule_7       Table_1                     L3        9993  FORWARD         356369822   486327063071
Rule_93      Table_1                     L3        9907  FORWARD                 2            156
Rule_130     Table_1                     L3        9870  FORWARD               190         209200

@stcheng stcheng merged commit 7ab269a into sonic-net:master Jun 23, 2017
@stcheng stcheng deleted the acl_sort branch June 23, 2017 22:26
vdahiya12 pushed a commit to vdahiya12/sonic-utilities that referenced this pull request Jul 23, 2021
…nic-net#74)

As part of consolidating all common Python-based functionality into the new sonic-py-common package, this pull request migrates from importing the sonic-daemon-base package to importing the sonic-py-common package. This is the next step toward resolving sonic-net/sonic-buildimage#4999.

- Also reorganize imports for consistency
stepanblyschak referenced this pull request in stepanblyschak/sonic-utilities Apr 28, 2022
[Chassis base] Add sfp error event definition #80
SFP(sff8472 attributes) transciever eeprom attribute support #74
stepanblyschak referenced this pull request in stepanblyschak/sonic-utilities Apr 28, 2022
 [MultiDB]: use python class composition to avoid confusion in base
class (#74)
stepanblyschak referenced this pull request in stepanblyschak/sonic-utilities Apr 28, 2022
cc4c4db14439a2b91690df0189b62e011ec41f4c (HEAD -> 201911, origin/201911) Merge pull request #74 from project-arlo/fix_otel_dep_error
44df06e0d44bdf7ce49d4eb05ced34f06eb65133 Make sure redis library is checkout with correct commit ID
7ab88143fa4b89d2d7b8030c9ac7b5e6dba16251 Remove unsupported commands (#62)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants