]> git.proxmox.com Git - mirror_ovs.git/commitdiff
ovn-controller-vtep: Fix wrong value for ovnsb-db argument
authorJaime Caamaño Ruiz <jcaamano@suse.com>
Wed, 8 May 2019 11:53:45 +0000 (13:53 +0200)
committerBen Pfaff <blp@ovn.org>
Mon, 10 Jun 2019 00:16:44 +0000 (17:16 -0700)
Fix help output of ovn-controller-vtep that was suggesting the
openvswitch database instead of the ovn southbound database for the
ovnsb-db argument.

Also fix the corresponding systemd unit that was passing the openvswitch
database instead of the ovn southbound database for the ovnsb-db
argument.

Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/controller-vtep/ovn-controller-vtep.c
rhel/usr_lib_systemd_system_ovn-controller-vtep.service

index 1fc6c8b2d641108301fd80c6fc8ccc712052c8ac..292a3f464d3c72995b74a298092c06b8e4c8e218 100644 (file)
@@ -253,7 +253,7 @@ Options:\n\
   -h, --help                display this help message\n\
   -o, --options             list available options\n\
   -V, --version             display version information\n\
-", program_name, program_name, default_db(), default_db());
+", program_name, program_name, default_db(), default_sb_db());
     stream_usage("database", true, false, true);
     daemon_usage();
     vlog_usage();
index 4ca684ac09dd636336a4a6887069e8edb7a5d9d0..d6bfef1d411b74f9088db274aca405af0887fa0e 100644 (file)
@@ -36,7 +36,7 @@ After=openvswitch.service
 Type=simple
 Restart=on-failure
 Environment=OVS_RUNDIR=%t/openvswitch
-Environment=OVN_DB=unix:%t/openvswitch/db.sock
+Environment=OVN_DB=unix:%t/openvswitch/ovnsb_db.sock
 Environment=VTEP_DB=unix:%t/openvswitch/db.sock
 EnvironmentFile=-/etc/sysconfig/ovn-controller-vtep
 ExecStart=/usr/bin/ovn-controller-vtep -vconsole:emer -vsyslog:err -vfile:info \