From cda4ba84c82911f4f627198330fbad455fe62398 Mon Sep 17 00:00:00 2001 From: Martin Banszel Date: Wed, 18 Oct 2017 07:59:03 +0200 Subject: Create the ovs-vswitchd logging directory Change-Id: Id7f55f7fcb2fec2866b76821595776908ac30c04 Signed-off-by: Martin Banszel (cherry picked from commit bdcae10b04debea07e4553aab6e4ce43011d5f62) --- yardstick/benchmark/contexts/standalone/ovs_dpdk.py | 1 + 1 file changed, 1 insertion(+) 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"), -- cgit 1.2.3-korg