summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-11-22 23:56:44 +0100
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-12-08 00:43:05 +0000
commitaab06c7edb6ad11c6630f6a3b820373b7de273e3 (patch)
treeca814ecd102aa34a61f545fc4cb977b51e091cf6
parentc9f8bbe529efe6843437d1810e51e8767f18535c (diff)
Fix network property validation error
Fix for the validation error on port.properties.network when deploying using OS Kilo or later. Change-Id: I761cc958573d6eb8c909a08f186486f3ac93e816 JIRA: - Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
-rw-r--r--yardstick/orchestrator/heat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/orchestrator/heat.py b/yardstick/orchestrator/heat.py
index a3179a6f1..470f938ed 100644
--- a/yardstick/orchestrator/heat.py
+++ b/yardstick/orchestrator/heat.py
@@ -257,7 +257,7 @@ class HeatTemplate(HeatObject):
'properties': {
'name': name,
'fixed_ips': [{'subnet': {'get_resource': subnet_name}}],
- 'network': network_name,
+ 'network_id': {'get_resource': network_name},
'replacement_policy': 'AUTO',
}
}