ovs-sandbox: Initialize database before starting ovs-vswitchd.
authorBen Pfaff <blp@nicira.com>
Thu, 26 Mar 2015 05:25:50 +0000 (22:25 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 27 Mar 2015 15:38:27 +0000 (08:38 -0700)
commit6b2771c347547b835cf425878d1d3e636631b1d5
tree0ffd9493d4cbbc0f75680754f7ebab1402320f10
parentc876a4bb9bcc881befac5647a1e311b5af09d549
ovs-sandbox: Initialize database before starting ovs-vswitchd.

Otherwise ovs-vswitchd can't immediately start working (until some other
call to ovs-vsctl initializes the database).  This is most obvious if one
runs "ovs-vsctl list Open_vSwitch ." as the first command, because the
output will not show the changes that ovs-vswitchd will make to the
database at startup (in particular initializing datapath_types and
iface_types), which is confusing.

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