aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/contexts
diff options
context:
space:
mode:
authorkubi <jean.gaoliang@huawei.com>2015-12-31 14:38:49 +0800
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-01-08 14:09:18 +0000
commit169aadbf7fbfea8ad86011fbac62ccbc0e1c3bf7 (patch)
treec965bb53d0ac66d83354a7b0b3edc0a3345a3945 /yardstick/benchmark/contexts
parent0bbef8513b2ed9166d57e3467d62c823a134d4e6 (diff)
support for ipv6
JIRA:YARDSTICK-187 Change-Id: I1cecd400b4449a09d22d43f4a42e889f00dd4fe7 Signed-off-by: kubi <jean.gaoliang@huawei.com> (cherry picked from commit cd80b44f3fd9b8c9e2afc51bc67d7a5cf34fb1c6)
Diffstat (limited to 'yardstick/benchmark/contexts')
-rw-r--r--yardstick/benchmark/contexts/node.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/yardstick/benchmark/contexts/node.py b/yardstick/benchmark/contexts/node.py
index 04c8e7ca3..54ee076f4 100644
--- a/yardstick/benchmark/contexts/node.py
+++ b/yardstick/benchmark/contexts/node.py
@@ -83,12 +83,5 @@ class NodeContext(Context):
sys.exit(-1)
node = nodes[0]
-
- server = {
- "name": attr_name,
- "ip": node["ip"],
- "user": node["user"],
- "key_filename": node["key_filename"]
- }
-
- return server
+ node["name"] = attr_name
+ return node