From ed2f6006158e120159f4422bc626cc0d5fe5cecf Mon Sep 17 00:00:00 2001 From: shangxdy Date: Thu, 21 Jul 2016 20:02:51 +0800 Subject: 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 --- tosca2heat/tosca-parser/toscaparser/nodetemplate.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tosca2heat/tosca-parser/toscaparser/nodetemplate.py') 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): -- cgit 1.2.3-korg