]> git.proxmox.com Git - ovs.git/commitdiff
ovs-sandbox: Connect ovn-northd to all the SB and NB database instances.
authorBen Pfaff <blp@ovn.org>
Wed, 4 Apr 2018 22:56:20 +0000 (15:56 -0700)
committerBen Pfaff <blp@ovn.org>
Thu, 5 Apr 2018 00:41:33 +0000 (17:41 -0700)
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@ovn.org>
Reviewed-by: aginwala <aginwala@asu.edu>
tutorial/ovs-sandbox

index c3e9f1277730ea67ee091d7a8f0e7a5f97660c0a..730f32290f72ec2f226185407b6e4a762b7e4645 100755 (executable)
@@ -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 \