The engine handler needs to return "false" in order to trigger a full
recompute of the physical flows.
Fixes: a42c808f30b4 ("northd: add drop sampling")
Signed-off-by: Adrian Moreno <[email protected]>
---
controller/ovn-controller.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/controller/ovn-controller.c b/controller/ovn-controller.c
index f0fd24820..88eeee2d9 100644
--- a/controller/ovn-controller.c
+++ b/controller/ovn-controller.c
@@ -3779,10 +3779,11 @@ pflow_output_sb_sb_global_handler(struct engine_node
*node, void *data)
if (pfo->debug.collector_set_id != collector_set_id ||
pfo->debug.obs_domain_id != obs_domain_id) {
- engine_set_node_state(node, EN_UPDATED);
pfo->debug.collector_set_id = collector_set_id;
pfo->debug.obs_domain_id = obs_domain_id;
+ return false;
}
+ engine_set_node_state(node, EN_UPDATED);
return true;
}
--
2.38.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev