diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2016-09-22 15:38:17 +0800 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2016-09-23 11:25:25 +0800 |
commit | 86f92e7761cb6a06d96fbeee984432ce90f8af65 (patch) | |
tree | d7cba7181478ad408ff95c0d3af6dd65ad1217cd /tosca2heat/heat-translator/translator/hot/tests | |
parent | c5df8adbaf4eaa0005c372b242652cc6542df7c6 (diff) |
Add ip output in compute translation
As a template designer,
I want to visit a server which is depleted by parser,
So it's necessary to make the ip exposed.
JIRA:PARSER-109
Change-Id: Idef0605d23df6af38b86e7a393a151b34828e511
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/heat-translator/translator/hot/tests')
-rw-r--r-- | tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py b/tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py index c02a547..12ea355 100644 --- a/tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py +++ b/tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py @@ -33,12 +33,12 @@ class ToscaTemplateOutputTest(TestCase): 'server, http://<IP>:3000', 'value': {'get_attr': - ['app_server', 'networks']}}, + ['app_server', 'first_address']}}, 'mongodb_url': {'description': 'URL for the mongodb server.', 'value': {'get_attr': - ['mongo_server', 'networks']}}} + ['mongo_server', 'first_address']}}} hot_translation_dict = \ toscaparser.utils.yamlparser.simple_parse(hot_translation) |