Create the ovs-vswitchd logging directory 47/45447/1
authorMartin Banszel <martinx.banszel@intel.com>
Wed, 18 Oct 2017 05:59:03 +0000 (07:59 +0200)
committerMartin Banszel <martinx.banszel@intel.com>
Wed, 18 Oct 2017 06:11:50 +0000 (08:11 +0200)
Change-Id: Id7f55f7fcb2fec2866b76821595776908ac30c04
Signed-off-by: Martin Banszel <martinx.banszel@intel.com>
yardstick/benchmark/contexts/standalone/ovs_dpdk.py

index 833c3fb..e8266ca 100644 (file)
@@ -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"),