ovn-sbctl: Use environment var OVN_SB_DB to find the database by default.
authorBen Pfaff <blp@nicira.com>
Wed, 7 Oct 2015 21:29:45 +0000 (14:29 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 7 Oct 2015 21:30:05 +0000 (14:30 -0700)
commitcce9c16394dec197f9d8cd634dc915e242ed73c3
tree4b8aa4167562874ac19439aa284ce94089e9fb62
parent4b2b1a5e25260b7b27142062c6711132d5bda9c0
ovn-sbctl: Use environment var OVN_SB_DB to find the database by default.

This makes it possible to use ovn-sbctl without always typing the --db
option (outside of trivial single-machine OVN deployments).

Also modifies the testsuite to use this.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
ovn/utilities/ovn-sbctl.8.in
ovn/utilities/ovn-sbctl.c
tests/ofproto-macros.at
tests/ovn.at
utilities/ovs-sim.in