[ovs-git] [ovn-org/ovn] bf4f75: northd: Fix ACL fair log meters for Port_Group ACLs.
Dumitru Ceara
noreply at github.com
Mon Jan 18 12:14:06 UTC 2021
Branch: refs/heads/master
Home: https://github.com/ovn-org/ovn
Commit: bf4f75f90c3309dbcfac8e098a2c1ff2d822e77d
https://github.com/ovn-org/ovn/commit/bf4f75f90c3309dbcfac8e098a2c1ff2d822e77d
Author: Dumitru Ceara <dceara at redhat.com>
Date: 2021-01-18 (Mon, 18 Jan 2021)
Changed paths:
M northd/ovn-northd.c
M tests/ovn-northd.at
Log Message:
-----------
northd: Fix ACL fair log meters for Port_Group ACLs.
Commit 880dca99eaf7 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: 880dca99eaf7 ("northd: Enhance the implementation of ACL log meters (pre-ddlog merge).")
Reported-by: Dmitry Yusupov <dyusupov at nvidia.com>
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Acked-by: Flavio Fernandes <flavio at flaviof.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
More information about the git
mailing list