summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/hot/tosca
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-09-29 17:01:31 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-29 17:01:31 +0000
commit9d425078f44d463dbb20b1e7e74b1c3e6ce928b2 (patch)
tree498b8c6d39d6a72b287aa9654a8b77c83c941d71 /tosca2heat/heat-translator/translator/hot/tosca
parent4fcb3c5ed4446092cdcfceb88edf79b1ffaaddc6 (diff)
parent86f92e7761cb6a06d96fbeee984432ce90f8af65 (diff)
Merge "Add ip output in compute translation"
Diffstat (limited to 'tosca2heat/heat-translator/translator/hot/tosca')
-rw-r--r--tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py b/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py
index 8a959d1..b685d6a 100644
--- a/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py
+++ b/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py
@@ -324,7 +324,7 @@ class ToscaCompute(HotResource):
attriute.'))
if attribute == 'private_address' or \
attribute == 'public_address':
- attr['get_attr'] = [self.name, 'networks']
+ attr['get_attr'] = [self.name, 'first_address']
return attr