Add relationship of node template associated with tosca template in 77/17977/1
authorshangxdy <shang.xiaodong@zte.com.cn>
Wed, 3 Aug 2016 18:50:00 +0000 (02:50 +0800)
committershangxdy <shang.xiaodong@zte.com.cn>
Wed, 3 Aug 2016 18:50:00 +0000 (02:50 +0800)
commit12d7916e7d1e8047f4109c66616665b9f5011921
tree423bfe6f218313463a2110ea91e3b4f9dd69b9be
parentb74bf46baed7e586028255c8274ebf563d2ff446
Add relationship of node template associated with tosca template in
substitution mapping

As a nested template desinger;
I want to known the tosca template which a substituted node template
associated;
So i will create the relationship under node template which is
substituted.

JIRA:PARSER-76

Change-Id: Ifb9883e5c5f630cd7f1b5d1292eddb54ad4c20be
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
tosca2heat/tosca-parser/toscaparser/nodetemplate.py
tosca2heat/tosca-parser/toscaparser/substitution_mappings.py
tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py
tosca2heat/tosca-parser/toscaparser/tosca_template.py