2 "tosca_definitions_version" : "controller_blueprint_1_0_0",
4 "template_author" : "Rodrigo Ottero",
5 "author-email" : "rodrigo.ottero@est.tech",
6 "user-groups" : "ADMIN, OPERATION",
7 "template_name" : "configuration_over_restconf",
8 "template_version" : "1.0.0",
9 "template_tags" : "pnf, restconf, config, configuration"
12 "file" : "Definitions/data_types.json"
14 "file" : "Definitions/relationship_types.json"
16 "file" : "Definitions/artifact_types.json"
18 "file" : "Definitions/node_types.json"
20 "file" : "Definitions/policy_types.json"
23 "config-deploy-properties" : {
25 "get_input" : "resolution-key"
29 "topology_template" : {
33 "activate-process" : {
34 "description" : "Create a configlet",
35 "target" : "config-assign-process",
50 "config-assign-properties" : {
51 "description" : "Dynamic PropertyDefinition for workflow(config-assign).",
53 "type" : "dt-config-assign-properties"
59 "activate-process" : {
60 "description" : "Send a configlet to the pnf",
61 "target" : "config-deploy-process",
72 "config-deploy-properties" : {
73 "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
75 "type" : "dt-config-deploy-properties"
81 "config-assign-process" : {
82 "type" : "dg-generic",
85 "get_artifact" : [ "SELF", "dg-config-assign-process" ]
87 "dependency-node-templates" : [ "config-assign" ]
90 "dg-config-assign-process" : {
91 "type" : "artifact-directed-graph",
92 "file" : "Plans/CONFIG_configAssign.xml"
97 "type" : "component-resource-resolution",
99 "ResourceResolutionComponent" : {
104 "get_input" : "resolution-key"
106 "store-result" : true,
107 "artifact-prefix-names" : ["config-assign"]
110 "resource-assignment-params" : {
111 "get_attribute" : [ "SELF", "assignment-params" ]
120 "config-assign-template" : {
121 "type" : "artifact-template-velocity",
122 "file" : "Templates/config-assign-restconf-configlet-template.vtl"
124 "config-assign-mapping" : {
125 "type" : "artifact-mapping-resource",
126 "file" : "Definitions/config-assign-pnf-mapping.json"
130 "config-deploy-process" : {
131 "type" : "dg-generic",
134 "get_artifact" : [ "SELF", "dg-config-deploy-process" ]
136 "dependency-node-templates" : [ "config-deploy" ]
139 "dg-config-assign-process" : {
140 "type" : "artifact-directed-graph",
141 "file" : "Plans/CONFIG_configDeploy.xml"
146 "type" : "component-script-executor",
148 "ComponentScriptExecutor" : {
152 "primary" : "component-script"
155 "script-type" : "jython",
156 "script-class-reference" : "Scripts/python/RestconfConfigDeploy.py",
157 "dynamic-properties" : "*config-deploy-properties"
160 "response-data" : "",
168 "config-deploy-template" : {
169 "type" : "artifact-template-velocity",
170 "file" : "Templates/config-deploy-restconf-mount-template.vtl"
172 "config-deploy-mapping" : {
173 "type" : "artifact-mapping-resource",
174 "file" : "Definitions/config-deploy-pnf-mapping.json"
176 "component-script" : {
177 "type" : "artifact-script-jython",
178 "file" : "Scripts/python/RestconfConfigDeploy.py"