aboutsummaryrefslogtreecommitdiffstats
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
committerkubi <jean.gaoliang@huawei.com>2016-01-16 13:06:58 +0000
commitcfbefd9ad48e07a1890e022e94cbae117e04f87a (patch)
treec9aee44287ad791f67ac8ab8e138e904ff4435a5 /yardstick/benchmark/scenarios/networking/ping6.py
parent6636ef456c6be5b330b84308d74a1f3ea6fa43da (diff)
modify sc lab pod yaml as real configure
Change-Id: I6587794b7206cb3d5f13b6c448670d1c97ecd596 Signed-off-by: kubi <jean.gaoliang@huawei.com>
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"