From bdcae10b04debea07e4553aab6e4ce43011d5f62 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 --- 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 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"), -- cgit 1.2.3-korg