rhel: s/OVN_DB/OVS_DB/ in ovn-controller unit.
authorRussell Bryant <rbryant@redhat.com>
Wed, 9 Sep 2015 12:37:14 +0000 (08:37 -0400)
committerBen Pfaff <blp@nicira.com>
Wed, 9 Sep 2015 15:37:57 +0000 (08:37 -0700)
I added a variable called OVN_DB, but had mixed up what this parameter
to ovn-controller was for.  This parameter is the location of the db
for the local ovs-vswitchd.  It then gets the OVN database location
from *that* db.  It seems fine to keep the env var in case someone
needs to override it for some reason, but correct the name and
description of what it is.

Signed-off-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
rhel/usr_lib_systemd_system_ovn-controller.service

index 48dd194..6b53ced 100644 (file)
@@ -1,9 +1,10 @@
 #
 # You may override the following variables to customize ovn-controller behavior:
 #
-#   OVN_DB - Set this variable to the location of the ovsdb server that is
-#            serving the OVN_Southbound database.  See the manpage for
-#            ovn-controller for more details on the format for the db location.
+#   OVS_DB - Set this variable to the location of the ovsdb server that is
+#            serving the Open_vSwitch database for the local ovs-vswitchd.
+#            See the manpage for ovn-controller for more details on the
+#            format for the db location.
 #
 
 [Unit]
@@ -15,7 +16,7 @@ After=openvswitch.service
 [Service]
 Type=simple
 Environment=OVS_RUNDIR=%t/openvswitch
-Environment=OVN_DB=unix:%t/openvswitch/db.sock
+Environment=OVS_DB=unix:%t/openvswitch/db.sock
 ExecStart=/usr/bin/ovn-controller -vconsole:emer -vsyslog:err -vfile:info \
           --log-file=/var/log/openvswitch/ovn-controller.log \
-          --no-chdir --pidfile=${OVS_RUNDIR}/ovn-controller.pid ${OVN_DB}
+          --no-chdir --pidfile=${OVS_RUNDIR}/ovn-controller.pid ${OVS_DB}