[ovs-dev] [PATCH ovn] ovs-sandbox: Allow specifying initial contents for NB and SB database.

Ben Pfaff blp at ovn.org
Fri Jul 2 17:35:48 UTC 2021


On Wed, Jun 30, 2021 at 10:06:39AM +0200, Dumitru Ceara wrote:
> On 6/29/21 8:51 PM, Ben Pfaff wrote:
> > This makes it easier to test northd behavior with particular database
> > contents, like the ones that Dumitru posted to the mailing list:
> > https://mail.openvswitch.org/pipermail/ovs-dev/2021-June/384519.html
> > 
> > You just do something like this:
> > make sandbox SANDBOXFLAGS="--nbdb-source=$HOME/Downloads/ovnnb_db.db --sbdb-source=$HOME/Downloads/ovnsb_db.db --ddlog"
> > 
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
> > CC: Dumitru Ceara <dceara at redhat.com>
> > ---
> 
> Hi Ben,
> 
> Thanks for this!
> 
> Nit: I think the 0-day bot is right about not using tabs in ovs-sandbox.
> We currently only use spaces in that file.

Oops.  Thanks, fixed!

> With tabs converted to spaces:
> 
> Acked-by: Dumitru Ceara <dceara at redhat.com>

I applied this to master.


More information about the dev mailing list