forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leave 1 ACL rule in test_crm.py::test_acl_entry (sonic-net#9054)
Some platforms (like broadcom-dnx) allocate ACL banks dynamically so if there are no ACL rules it returns a NULL value for CRM purposes. So leave 1 ACL rule when comparing the returned used/available CRM values. Also on broadcom-dnx an ACL entry is used per bind point so account for that when calculating the expected available acl entries. Summary: Fixes sonic-net#8812 Type of change Test case(new/improvement) Back port request 202205 202305
- Loading branch information
1 parent
233abb7
commit 21ac248
Showing
1 changed file
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters