[ovs-dev] [PATCH 1/2] ovs-sandbox: Initialize database before starting ovs-vswitchd.

Russell Bryant rbryant at redhat.com
Fri Mar 27 00:04:54 UTC 2015


On 03/26/2015 01:25 AM, Ben Pfaff wrote:
> 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 at nicira.com>

Acked-by: Russell Bryant <rbryant at redhat.com>

The changes look correct to me.

On a related note, I didn't add "init" to ovn-nbctl.  It didn't seem to
matter, but then again, no daemon was trying to use it since we don't
have ovn-nbd yet.  So, perhaps it's needed there too?

-- 
Russell Bryant



More information about the dev mailing list