aboutsummaryrefslogtreecommitdiffstats
path: root/vswitches/ovs.py
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2016-07-19 16:11:50 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-19 16:11:51 +0000
commitbd8bb26c67d696aba7b30bf4eb1616a7258b6f5d (patch)
tree4992fe27444dbf0dc89cf2d4720b819242cff07c /vswitches/ovs.py
parent34a550ed0c852d4472b17e9ee565f20d344052bc (diff)
parent6091132bf720b7cedc1780f86c489a7dfe6e6c8e (diff)
Merge "ovs-appctl fix: Fixes ovs-appctl by placing pid file appropriately"
Diffstat (limited to 'vswitches/ovs.py')
-rw-r--r--vswitches/ovs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/vswitches/ovs.py b/vswitches/ovs.py
index 659f7cfa..243619b6 100644
--- a/vswitches/ovs.py
+++ b/vswitches/ovs.py
@@ -38,8 +38,8 @@ class IVSwitchOvs(IVSwitch, tasks.Process):
see the interface.
"""
_logfile = os.path.join(settings.getValue('LOG_DIR'), settings.getValue('LOG_FILE_VSWITCHD'))
- _ovsdb_pidfile_path = os.path.join(settings.getValue('LOG_DIR'), "ovsdb_pidfile.pid")
- _vswitchd_pidfile_path = os.path.join(settings.getValue('LOG_DIR'), "vswitchd_pidfile.pid")
+ _ovsdb_pidfile_path = os.path.join(_OVS_VAR_DIR, "ovsdb-server.pid")
+ _vswitchd_pidfile_path = os.path.join(_OVS_VAR_DIR, "ovs-vswitchd.pid")
_proc_name = 'ovs-vswitchd'
def __init__(self):