Re: [ovs-dev] [PATCH v2] Initialize the right database.

2019-02-14 Thread Ben Pfaff
On Fri, Feb 15, 2019 at 12:59:57AM +, Ted Elhourani wrote:
> Use value of db parameter in order to initialize the correct database.
> 
> Signed-off-by: Ted Elhourani 

Thank you.

I applied this to master and backported as far as branch-2.9.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH v2] Initialize the right database.

2019-02-14 Thread Ted Elhourani
Use value of db parameter in order to initialize the correct database.

Signed-off-by: Ted Elhourani 
---
 ovn/utilities/ovn-ctl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ovn/utilities/ovn-ctl b/ovn/utilities/ovn-ctl
index 1e369b1..f1297a2 100755
--- a/ovn/utilities/ovn-ctl
+++ b/ovn/utilities/ovn-ctl
@@ -222,7 +222,7 @@ $cluster_remote_port
 # Initialize the database if it's running standalone,
 # active-passive, or is the first server in a cluster.
 if test -z "$cluster_remote_addr"; then
-ovn-nbctl init
+ovn-${db}ctl init
 fi
 
 if test $mode = cluster; then
-- 
2.7.4

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev