summaryrefslogtreecommitdiffstats
path: root/app/toscalib/utils/tosca_operate.py
diff options
context:
space:
mode:
authorManor, Yanir (ym903w) <ym903w@att.com>2018-10-21 11:33:28 +0300
committerManor, Yanir (ym903w) <ym903w@intl.att.com>2018-10-23 12:00:25 +0300
commitc81f7b519874fba8751c5db6a4c0b88fb5426335 (patch)
tree40ee01aebdbe4ff25c3ebb0557188211f46f8ed7 /app/toscalib/utils/tosca_operate.py
parentfaa922c2074d86e4fe9c1082e4c5a2191ff3b688 (diff)
Update code to latest
Change-Id: I3ceb652d415ff50a8f385f64745e5367f3ef3488 Issue-ID: SDC-1800 Signed-off-by: Manor, Yanir (ym903w) <ym903w@intl.att.com>
Diffstat (limited to 'app/toscalib/utils/tosca_operate.py')
-rw-r--r--app/toscalib/utils/tosca_operate.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/toscalib/utils/tosca_operate.py b/app/toscalib/utils/tosca_operate.py
index bc67310..3f47d93 100644
--- a/app/toscalib/utils/tosca_operate.py
+++ b/app/toscalib/utils/tosca_operate.py
@@ -42,6 +42,8 @@ def _create_new_template(template, type_name, prefix_name = None):
new_temp = copy.deepcopy(db.TEMPLATES[type_name])
new_temp._update_prefix(prefix)
+ new_temp._update_get_node_name()
+ new_temp._update_template(template)
template.inputs.update(new_temp.inputs)
template.outputs.update(new_temp.outputs)
template.node_dict.update(new_temp.node_dict)