summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Banszel <martinx.banszel@intel.com>2017-10-18 07:59:03 +0200
committerMartin Banszel <martinx.banszel@intel.com>2017-10-18 08:11:50 +0200
commitbdcae10b04debea07e4553aab6e4ce43011d5f62 (patch)
tree46882945f4195101ed3147df393ea7680138ba2c
parentff9f105af636389a7c66dcabf22fb73abed0a833 (diff)
Create the ovs-vswitchd logging directory
Change-Id: Id7f55f7fcb2fec2866b76821595776908ac30c04 Signed-off-by: Martin Banszel <martinx.banszel@intel.com>
-rw-r--r--yardstick/benchmark/contexts/standalone/ovs_dpdk.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yardstick/benchmark/contexts/standalone/ovs_dpdk.py b/yardstick/benchmark/contexts/standalone/ovs_dpdk.py
index 833c3fb80..e8266caed 100644
--- a/yardstick/benchmark/contexts/standalone/ovs_dpdk.py
+++ b/yardstick/benchmark/contexts/standalone/ovs_dpdk.py
@@ -138,6 +138,7 @@ class OvsDpdkContext(Context):
cmd_list = [
"mkdir -p /usr/local/var/run/openvswitch",
+ "mkdir -p {}".format(os.path.dirname(log_path)),
"ovsdb-server --remote=punix:/{0}/{1} --pidfile --detach".format(vpath,
ovs_sock_path),
ovs_other_config.format("--no-wait ", "dpdk-init=true"),