1 # The @variables@ in this file are replaced by default directories for
2 # use in python/ovs/dirs.py in the source directory and replaced by the
3 # configured directories for use in the installed python/ovs/dirs.py.
7 # Note that the use of """ is to aid in dealing with paths with quotes in them.
8 PKGDATADIR = os.environ.get("OVS_PKGDATADIR", """/usr/local/share/openvswitch""")
9 RUNDIR = os.environ.get("OVS_RUNDIR", """/var/run""")
10 LOGDIR = os.environ.get("OVS_LOGDIR", """/usr/local/var/log""")
11 BINDIR = os.environ.get("OVS_BINDIR", """/usr/local/bin""")
13 DBDIR = os.environ.get("OVS_DBDIR")
15 sysconfdir = os.environ.get("OVS_SYSCONFDIR")
17 DBDIR = "%s/openvswitch" % sysconfdir
19 DBDIR = """/usr/local/etc/openvswitch"""