When counting lsp specific flows, using format "table" for ovn-sbctl
output to make sure each record is counted at most once.

Signed-off-by: Han Zhou <hz...@ovn.org>
---
 tests/ovn-northd.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ovn-northd.at b/tests/ovn-northd.at
index 11461d3f4..5dc910f13 100644
--- a/tests/ovn-northd.at
+++ b/tests/ovn-northd.at
@@ -2486,7 +2486,7 @@ check_row_count Logical_DP_Group 0
 
 dnl Number of logical flows that depends on logical switch or multicast group.
 dnl These will not be combined.
-n_flows_specific=$(ovn-sbctl --bare find Logical_Flow | grep -cE 'swp')
+n_flows_specific=$(ovn-sbctl -f table find Logical_Flow | grep -cE 'swp')
 echo "Number of specific flows: "${n_flows_specific}
 
 dnl Both logical switches configured identically, so there should be same
-- 
2.30.2

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to