After mac binding is populated in SB, before sending a packet, we should ensure HVs processed this SB change. This patch ensures it by: ovn-nbctl --wait=hv sync.
Signed-off-by: Han Zhou <[email protected]> --- tests/ovn.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ovn.at b/tests/ovn.at index 4a53165..1eecc9f 100644 --- a/tests/ovn.at +++ b/tests/ovn.at @@ -8410,7 +8410,7 @@ packet=${dst_mac}${src_mac}08004500001c0000000040110000${src_ip}${dst_ip}0035111 # mac_bindings table. as hv1 ovs-appctl netdev-dummy/receive hv1-vif1 $packet OVS_WAIT_UNTIL([test `ovn-sbctl find mac_binding ip="10.0.0.2" | wc -l` -gt 0]) - +ovn-nbctl --wait=hv sync # Send the second packet to reach the destination. as hv1 ovs-appctl netdev-dummy/receive hv1-vif1 $packet -- 2.1.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
