[ovs-dev] [PATCH 2/3] ovn-sbctl: Use environment var OVN_SB_DB to find the database by default.

Ben Pfaff blp at nicira.com
Wed Oct 7 21:29:03 UTC 2015


On Wed, Oct 07, 2015 at 02:11:04PM -0700, Justin Pettit wrote:
> 
> > On Oct 7, 2015, at 1:57 PM, Ben Pfaff <blp at nicira.com> wrote:
> > 
> > # ovn_init_db DATABASE
> > #
> > -# Creates and initializes the given DATABASE (one of "ovn-sb" or "ovn-nb")
> > -# and starts its ovsdb-server instance.
> > +# Creates and initializes the given DATABASE (one of "ovn-sb" or "ovn-nb"),
> > +# starts its ovsdb-server instance, and sets the appropriate environment
> > +# variable so that ovn-sbctl or ovn-nbctl uses the database by default.
> 
> Do you think it's worth mentioning what the appropriate environment
> variable is?

That's appropriate.

I added a parenthetical (OVN_SB_DB or OVN_NB_DB).

> Acked-by: Justin Pettit <jpettit at nicira.com>

Thanks, I'll apply this soon.



More information about the dev mailing list