aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/contexts
diff options
context:
space:
mode:
authorAkos Farago <akos.farago@ericsson.com>2016-05-30 06:41:06 -0700
committerliang gao <jean.gaoliang@huawei.com>2016-06-01 09:16:21 +0000
commit54eae8aa5db86a983d721f08dd12d7f187af1a09 (patch)
tree15be6b828d98951cbc46184886a6c71e829f3f97 /yardstick/benchmark/contexts
parent438596f8942f13e5c5c429b9ae38878e87a3e6ca (diff)
Change floating ip association method
Change-Id: I694fbce4470a14893310334a39e15b61fbe8905a Signed-off-by: Akos Farago <akos.farago@ericsson.com>
Diffstat (limited to 'yardstick/benchmark/contexts')
-rw-r--r--yardstick/benchmark/contexts/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/contexts/model.py b/yardstick/benchmark/contexts/model.py
index 80abb9df3..2cf31f6ea 100644
--- a/yardstick/benchmark/contexts/model.py
+++ b/yardstick/benchmark/contexts/model.py
@@ -206,7 +206,7 @@ class Server(Object):
template.add_floating_ip_association(
self.floating_ip_assoc["stack_name"],
self.floating_ip["stack_name"],
- server_name)
+ port_name)
template.add_server(server_name, self.image, self.flavor,
ports=port_name_list,