summaryrefslogtreecommitdiff
path: root/python/ovs
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-07-27 15:52:21 -0700
committerBen Pfaff <blp@nicira.com>2012-08-01 10:55:57 -0700
commitf973f2af2fd4452c8e182caf6a4346cf2a2a394e (patch)
treeeb0a4ac92b8457ef682dfa89447342b209bf0f88 /python/ovs
parent01ca539f5c89fab1ea9a355d4cb75383dfb25da5 (diff)
downloadopenvswitch-f973f2af2fd4452c8e182caf6a4346cf2a2a394e.tar.gz
Make the location of the database separately configurable.
The default is unchanged, /etc/openvswitch/conf.db. This makes it possible to transition each Open vSwitch packaging from /etc/openvswitch/conf.db to /var/lib/openvswitch/conf.db independently. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'python/ovs')
-rw-r--r--python/ovs/dirs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/ovs/dirs.py b/python/ovs/dirs.py
index 5b006cc3e..a5717fcab 100644
--- a/python/ovs/dirs.py
+++ b/python/ovs/dirs.py
@@ -5,4 +5,5 @@ import os
PKGDATADIR = os.environ.get("OVS_PKGDATADIR", "/usr/local/share/openvswitch")
RUNDIR = os.environ.get("OVS_RUNDIR", "/var/run")
LOGDIR = os.environ.get("OVS_LOGDIR", "/usr/local/var/log")
+LOGDIR = os.environ.get("OVS_DBDIR", "/usr/local/etc/openvswitch")
BINDIR = os.environ.get("OVS_BINDIR", "/usr/local/bin")