ovs-sandbox: add delay before running ovs-vsctl
authorAndy Zhou <azhou@nicira.com>
Fri, 10 Apr 2015 19:53:26 +0000 (12:53 -0700)
committerAndy Zhou <azhou@nicira.com>
Tue, 14 Apr 2015 21:52:34 +0000 (14:52 -0700)
commite43a07ba6e8995c196d20841ea58208232a3ffd8
treede4df799836a549a52486535f52e7d89befa2716
parentd663136e85bdb88ec11c617bbf07570f612b81e4
ovs-sandbox: add delay before running ovs-vsctl

When running ovsdb-server under gdb, there is a race that ovs-vsctl
command can be called before ovsdb-server is fully launched. This will
cause ovs-vsctl to fail.  This patch fixes this by delay issuing
the ovs-vsctl command until ovsdb-server is fully launched.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
Acked-by: Ben Pfaff <blp@nicira.com>
tutorial/ovs-sandbox