Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
northd: Fix ACL fair log meters for Port_Group ACLs.
Commit 880dca9 added support for fair meters but didn't cover the case when an ACL is configured on a port group instead of a logical switch. Iterate over PG ACLs too when syncing fair meters to the Southbound database. Due to the fact that a meter might be used for ACLs that are applied on multiple logical datapaths (through port groups) we also need to change the logic of deleting stale SB Meter records. Fixes: 880dca9 ("northd: Enhance the implementation of ACL log meters (pre-ddlog merge).") Reported-by: Dmitry Yusupov <dyusupov@nvidia.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> Acked-by: Flavio Fernandes <flavio@flaviof.com> Signed-off-by: Numan Siddique <numans@ovn.org>
- Loading branch information
1 parent
8952ae2
commit bf4f75f
Showing
2 changed files
with
74 additions
and
29 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
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