aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2016-07-18 13:09:57 +0800
committerJingLu5 <lvjing5@huawei.com>2016-07-18 13:13:13 +0800
commit290819311d37937e24907d956f1b5de45b06870c (patch)
tree26b33e52e0322290fc93772234f308d2b765367e /yardstick
parente6277570188829687b2ecf48adbd10bc3c9d46bd (diff)
Modify ComputeCapacity scenario host key name
Adjust target node key name. Signed-off-by: JingLu5 <lvjing5@huawei.com> Change-Id: I5daee8c2579aa1f14aac076c49803eb8b5029a97
Diffstat (limited to 'yardstick')
-rw-r--r--yardstick/benchmark/scenarios/compute/computecapacity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/scenarios/compute/computecapacity.py b/yardstick/benchmark/scenarios/compute/computecapacity.py
index 366b470e8..0d7d76143 100644
--- a/yardstick/benchmark/scenarios/compute/computecapacity.py
+++ b/yardstick/benchmark/scenarios/compute/computecapacity.py
@@ -38,7 +38,7 @@ class ComputeCapacity(base.Scenario):
ComputeCapacity.TARGET_SCRIPT)
nodes = self.context_cfg['nodes']
- node = nodes.get('host1', None)
+ node = nodes.get('host', None)
host_user = node.get('user', 'ubuntu')
host_ip = node.get('ip', None)
host_pwd = node.get('password', 'root')