Make OvS to listen on TCP by default 21/63421/5
authorMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Thu, 11 Oct 2018 17:16:06 +0000 (18:16 +0100)
committerVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>
Tue, 30 Oct 2018 15:56:41 +0000 (15:56 +0000)
JIRA: YARDSTICK-1492

Change-Id: I81c682d473ffe3d70ecbb42cce40c2d16e608b41
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
yardstick/benchmark/contexts/standalone/ovs_dpdk.py

index 3ad1097..a1af3c7 100644 (file)
@@ -146,8 +146,8 @@ class OvsDpdkContext(base.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),
+            ("ovsdb-server --remote=punix:/{0}/{1} --remote=ptcp:6640"
+             " --pidfile --detach").format(vpath, ovs_sock_path),
             ovs_other_config.format("--no-wait ", "dpdk-init=true"),
             ovs_other_config.format("--no-wait ", "dpdk-socket-mem='%s,%s'" % (socket0, socket1)),
             lcore_mask,