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-assign-properties" : {
25 "get_input" : "resolution-key"
28 "config-deploy-properties" : {
30 "get_input" : "resolution-key"
35 "topology_template" : {
39 "activate-process" : {
40 "description" : "Create a configlet",
41 "target" : "config-assign-process",
63 "config-assign-properties" : {
64 "description" : "Dynamic PropertyDefinition for workflow(config-assign).",
66 "type" : "dt-config-assign-properties"
72 "activate-process" : {
73 "description" : "Send a configlet to the pnf",
74 "target" : "config-deploy-process",
85 "config-deploy-properties" : {
86 "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
88 "type" : "dt-config-deploy-properties"
94 "config-assign-process" : {
95 "type" : "dg-generic",
98 "get_artifact" : [ "SELF", "dg-config-assign-process" ]
100 "dependency-node-templates" : [ "config-assign" ]
103 "dg-config-assign-process" : {
104 "type" : "artifact-directed-graph",
105 "file" : "Plans/CONFIG_configAssign.xml"
110 "type" : "component-resource-resolution",
112 "ResourceResolutionComponent" : {
117 "get_input" : "resolution-key"
119 "store-result" : true,
120 "artifact-prefix-names" : ["config-assign"]
123 "resource-assignment-params" : {
124 "get_attribute" : [ "SELF", "assignment-params" ]
133 "config-assign-template" : {
134 "type" : "artifact-template-velocity",
135 "file" : "Templates/config-assign-restconf-configlet-template.vtl"
137 "config-assign-mapping" : {
138 "type" : "artifact-mapping-resource",
139 "file" : "Definitions/config-assign-pnf-mapping.json"
143 "config-deploy-process" : {
144 "type" : "dg-generic",
147 "get_artifact" : [ "SELF", "dg-config-deploy-process" ]
149 "dependency-node-templates" : [ "config-deploy" ]
152 "dg-config-assign-process" : {
153 "type" : "artifact-directed-graph",
154 "file" : "Plans/CONFIG_configDeploy.xml"
159 "type" : "component-restconf-executor",
161 "ComponentRestconfExecutor" : {
165 "primary" : "component-script"
168 "script-type" : "jython",
169 "script-class-reference" : "Scripts/python/RestconfConfigDeploy.py",
170 "instance-dependencies" : [ ],
171 "dynamic-properties" : "*config-deploy-properties"
174 "response-data" : "",
182 "config-deploy-template" : {
183 "type" : "artifact-template-velocity",
184 "file" : "Templates/config-deploy-restconf-mount-template.vtl"
186 "config-deploy-mapping" : {
187 "type" : "artifact-mapping-resource",
188 "file" : "Definitions/config-deploy-pnf-mapping.json"
190 "component-script" : {
191 "type" : "artifact-script-jython",
192 "file" : "Scripts/python/RestconfConfigDeploy.py"