2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 01:51:26 +00:00

ovs-sandbox: Connect ovn-northd to all the SB and NB database instances.

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>
This commit is contained in:
Ben Pfaff 2018-04-04 15:56:20 -07:00
parent 3456684ed0
commit af45c39daa

View File

@ -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 \