[ovs-dev] [PATCH 1/2] ovs-sandbox: Connect ovn-northd to all the SB and NB database instances.

Ben Pfaff blp at ovn.org
Wed Apr 4 22:56:20 UTC 2018


For a clustered database instance, we want ovn-northd to connect to the
entire cluster, not just the first server.

Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 tutorial/ovs-sandbox | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tutorial/ovs-sandbox b/tutorial/ovs-sandbox
index c3e9f1277730..730f32290f72 100755
--- a/tutorial/ovs-sandbox
+++ b/tutorial/ovs-sandbox
@@ -510,8 +510,7 @@ if $ovn; then
     fi
     rungdb $gdb_ovn_northd $gdb_ovn_northd_ex ovn-northd --detach \
         --no-chdir --pidfile -vconsole:off --log-file \
-        --ovnsb-db=unix:"$sandbox"/sb1.ovsdb \
-        --ovnnb-db=unix:"$sandbox"/nb1.ovsdb
+        --ovnsb-db="$OVN_SB_DB" --ovnnb-db="$OVN_NB_DB"
     rungdb $gdb_ovn_controller $gdb_ovn_controller_ex ovn-controller \
         $OVN_CTRLR_PKI --detach --no-chdir --pidfile -vconsole:off --log-file
     rungdb $gdb_ovn_controller_vtep $gdb_ovn_controller_vtep_ex \
-- 
2.16.1



More information about the dev mailing list