summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-10-19 04:34:36 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-19 04:34:36 +0000
commite2d429a753b9e97fa4744fecf8a6a13c51b259b5 (patch)
tree20130e2b617d8c8bf7949279a31459cd2609ebfd
parent39ead7aee3610dddbdeae33a5776ae5b98dfabea (diff)
parentbdcae10b04debea07e4553aab6e4ce43011d5f62 (diff)
Merge "Create the ovs-vswitchd logging directory"
-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 e990e46f5..fcb7bb66c 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"),