summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Banszel <martinx.banszel@intel.com>2017-10-18 07:59:03 +0200
committerRoss Brattain <ross.b.brattain@intel.com>2017-10-19 04:34:42 +0000
commitcda4ba84c82911f4f627198330fbad455fe62398 (patch)
tree77ede62646c55221988661bcf43f6e9379e62f7e
parent0389453486af8b58f77a65a6455068fe95346e47 (diff)
Create the ovs-vswitchd logging directory
Change-Id: Id7f55f7fcb2fec2866b76821595776908ac30c04 Signed-off-by: Martin Banszel <martinx.banszel@intel.com> (cherry picked from commit bdcae10b04debea07e4553aab6e4ce43011d5f62)
-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"),