Added a sleep of 2 seconds before generating a test packet in ovn.at
so that ovn-northd reads the northbound db changes and updates the
southbound db.

Signed-off-by: Numan Siddique <[email protected]>
---
 tests/ovn.at | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/ovn.at b/tests/ovn.at
index 30ca127..6fea4e0 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -1933,6 +1933,8 @@ done
 # configure lport13 to send and received IPv4 packets with an address range
 ovn-nbctl lport-set-port-security lp13 "f0:00:00:00:00:13 192.168.0.13 
20.0.0.4/24 10.0.0.0/24"
 
+sleep 2
+
 sip=`ip_to_hex 10 0 0 13`
 tip=`ip_to_hex 192 168 0 22`
 # arp packet with inner ip 10.0.0.13 should be allowed for lport13
-- 
2.5.5

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to