summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/nodetemplate.py
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-07-21 20:02:51 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2016-07-29 22:03:30 +0800
commited2f6006158e120159f4422bc626cc0d5fe5cecf (patch)
tree8b298fcc1fe52b6e993c600c5967f6ce072bed19 /tosca2heat/tosca-parser/toscaparser/nodetemplate.py
parent47821301accde5ecc0dc90be2048f479e5857672 (diff)
tosca-parser support the semantic of substitution mapping
As a template designer, I want to using node template substitution for model composition or chaining subsystems. So firstly tosca-paser should support the substitution mappings analysis. Change-Id: I44371795504415ba8cf5a15f7e1d046e3ff00ade JIRA: PARSER-43 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/nodetemplate.py')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/nodetemplate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/nodetemplate.py b/tosca2heat/tosca-parser/toscaparser/nodetemplate.py
index d969d51..d90b73a 100644
--- a/tosca2heat/tosca-parser/toscaparser/nodetemplate.py
+++ b/tosca2heat/tosca-parser/toscaparser/nodetemplate.py
@@ -48,6 +48,7 @@ class NodeTemplate(EntityTemplate):
self.available_rel_tpls = available_rel_tpls
self.available_rel_types = available_rel_types
self._relationships = {}
+ self.substitution_mapped = False
@property
def relationships(self):