If "always_learn_from_arp_request" is set to false and source is LLA, the
expected behavior is to update ND NA target address if it is a global one
and it is already learned.[1]
In the existing test, a first ND NA is received, which adds the address to
the MAC Bindings, and creates openflows. A second ND NA is received with
the same target address, a different source header address, and a LLA as
IP source. If this second ND NA is received before openflows related to
the first one are installed in OVS, then this second ND NA is skipped.
This patch avoids this situation by having the test waiting for the flows
related to first ND NA to be installed in OVS.
[1] e3b798bec296 "northd: Use proper field for lookup_nd"
Fixes: e3b798bec296 ("northd: Use proper field for lookup_nd")
Signed-off-by: Xavier Simonart <[email protected]>
---
tests/ovn.at | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/ovn.at b/tests/ovn.at
index 526f76d1f..f283c276a 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -5720,6 +5720,9 @@ spa6="fd00::abcd:1"
test_na 11 $sha $spa6
wait_row_count MAC_Binding 1 ip=\"$spa6\" mac=\"$sha\"
+# Wait for mac binding related flows to be installed.
+check ovn-nbctl --wait=hv sync
+
sha="f0:00:00:00:00:12"
lla6="fe80::abcd:1"
--
2.47.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev