diff options
author | 2017-02-27 01:19:10 +0800 | |
---|---|---|
committer | 2017-02-27 01:27:13 +0800 | |
commit | 99368c87bb2e4a93905759dcfc36046243062fd7 (patch) | |
tree | 530a56817308de8926c8080f0fa1fb28bf9d3ce8 /tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py | |
parent | 5a918c30a6c46605c616c2ffba1737ef9ea3ee3a (diff) |
Add ip output in compute node
After sync the latest heat-translator code from upstream, there is not
ip output in compute node, it's necessary to add.
JIRA:PARSER-121
Change-Id: Idb0126f9d2bcb6100be6083e2a661cc1cdbe0f27
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py')
-rw-r--r-- | tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py | 2 |
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 85f312d..5f6b751 100644 --- a/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py +++ b/tosca2heat/heat-translator/translator/hot/tosca/tosca_compute.py @@ -211,7 +211,7 @@ class ToscaCompute(HotResource): attriute.')) if attribute == 'private_address' or \ attribute == 'public_address': - attr['get_attr'] = [self.name, 'networks', 'private', 0] + attr['get_attr'] = [self.name, 'first_address'] return attr |