summaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/networking/ping6.py
diff options
context:
space:
mode:
authorkubi <jean.gaoliang@huawei.com>2016-01-16 18:31:42 +0800
committerqi liang <liangqi1@huawei.com>2016-01-16 13:28:21 +0000
commitf0dbb7d2dd25880dbd73df82f9f6830cb2655b6b (patch)
treec9aee44287ad791f67ac8ab8e138e904ff4435a5 /yardstick/benchmark/scenarios/networking/ping6.py
parentd0236479452e507248f7c60b61a71139a11e0483 (diff)
modify sc lab pod yaml as real configure
Change-Id: I6587794b7206cb3d5f13b6c448670d1c97ecd596 Signed-off-by: kubi <jean.gaoliang@huawei.com> (cherry picked from commit cfbefd9ad48e07a1890e022e94cbae117e04f87a)
Diffstat (limited to 'yardstick/benchmark/scenarios/networking/ping6.py')
-rw-r--r--yardstick/benchmark/scenarios/networking/ping6.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/networking/ping6.py b/yardstick/benchmark/scenarios/networking/ping6.py
index 067b8893e..5364cdf26 100644
--- a/yardstick/benchmark/scenarios/networking/ping6.py
+++ b/yardstick/benchmark/scenarios/networking/ping6.py
@@ -116,7 +116,13 @@ class Ping6(base.Scenario): # pragma: no cover
status, stdout, stderr = self.client.execute(cmd)
host_name = stdout.strip()
print host_name
+ self.client.run("cat ~/vRouterKey",
+ stdout=open("/tmp/vRouterKey", "w"))
self._ssh_host(host_name)
+
+ self.client.run("cat > ~/vRouterKey",
+ stdin=open("/tmp/vRouterKey", "rb"))
+
self.client.run("cat > ~/ping6.sh",
stdin=open(self.ping6_script, "rb"))
cmd = "sudo bash ping6.sh"