2 "tosca_definitions_version" : "controller_blueprint_1_0_0",
4 "template_author" : "Alexis de Talhouƫt",
5 "author-email" : "adetalhouet89@gmail.com",
6 "user-groups" : "ADMIN, OPERATION",
7 "template_name" : "test",
8 "template_version" : "1.0.0",
9 "template_tags" : "test"
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"
24 "type" : "token-auth",
25 "url" : "http://localhost:32778",
26 "token" : "Token 0123456789abcdef0123456789abcdef01234567"
28 "config-deploy-properties" : {
30 "get_input" : "resolution-key"
34 "topology_template" : {
36 "resource-assignment" : {
38 "resource-assignment-process" : {
39 "description" : "Resource Assign Workflow",
40 "target" : "resource-assignment-process",
62 "resource-assignment-properties" : {
63 "description" : "Dynamic PropertyDefinition for workflow(resource-assignment).",
65 "type" : "dt-resource-assignment-properties"
72 "description" : "Resource Assign and Python Netconf Activation Workflow",
73 "target" : "config-deploy-process",
96 "config-deploy-properties" : {
97 "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
99 "type" : "dt-config-deploy-properties"
106 "description" : "Roolback Workflow",
107 "target" : "rollback-process",
109 "call_operation" : ""
130 "config-deploy-properties" : {
131 "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
133 "type" : "dt-config-deploy-properties"
135 "rollback-properties" : {
136 "description" : "Dynamic PropertyDefinition for workflow(rollback).",
138 "type" : "dt-rollback-properties"
144 "resource-assignment-process" : {
145 "type" : "dg-generic",
148 "get_artifact" : [ "SELF", "dg-resource-assignment-process" ]
150 "dependency-node-templates" : [ "resource-assignment" ]
153 "dg-resource-assignment-process" : {
154 "type" : "artifact-directed-graph",
155 "file" : "Plans/ResourceAssignment.xml"
159 "resource-assignment" : {
160 "type" : "component-resource-resolution",
162 "ResourceResolutionComponent" : {
167 "get_input" : "resolution-key"
170 "get_input" : "store-result"
172 "artifact-prefix-names" : {
173 "get_input" : "artifact-name"
177 "resource-assignment-params" : {
178 "get_attribute" : [ "SELF", "assignment-params" ]
187 "hostname-template" : {
188 "type" : "artifact-template-velocity",
189 "file" : "Templates/hostname-template.vtl"
191 "hostname-mapping" : {
192 "type" : "artifact-mapping-resource",
193 "file" : "Templates/hostname-mapping.json"
195 "vf-module-1-template" : {
196 "type" : "artifact-template-velocity",
197 "file" : "Templates/vf-module-1-template.vtl"
199 "vf-module-1-mapping" : {
200 "type" : "artifact-mapping-resource",
201 "file" : "Templates/vf-module-1-mapping.json"
205 "config-deploy-process" : {
206 "type" : "dg-generic",
209 "get_artifact" : [ "SELF", "dg-config-deploy-process" ]
211 "dependency-node-templates" : [ "config-deploy" ]
214 "dg-config-deploy-process" : {
215 "type" : "artifact-directed-graph",
216 "file" : "Plans/ConfigDeploy.xml"
221 "type" : "component-netconf-executor",
223 "netconf-connection" : {
224 "capability" : "netconf",
225 "node" : "netconf-device",
226 "relationship" : "tosca.relationships.ConnectsTo"
230 "ComponentNetconfExecutor" : {
234 "script-type" : "jython",
235 "script-class-reference" : "Scripts/python/NetconfRpcExample.py",
236 "instance-dependencies" : [ ],
237 "dynamic-properties" : "*config-deploy-properties"
240 "response-data" : "",
248 "vfw-interface-template" : {
249 "type" : "artifact-template-velocity",
250 "file" : "Templates/vfw-interface-template.vtl"
252 "vfw-interface-mapping" : {
253 "type" : "artifact-mapping-resource",
254 "file" : "Templates/vfw-interface-mapping.json"
258 "rollback-process" : {
259 "type" : "dg-generic",
262 "get_artifact" : [ "SELF", "dg-rollback-process" ]
264 "dependency-node-templates" : [ "config-deploy" ]
267 "dg-rollback-process" : {
268 "type" : "artifact-directed-graph",
269 "file" : "Plans/Rollback.xml"
274 "type" : "component-netconf-executor",
276 "netconf-connection" : {
277 "capability" : "netconf",
278 "node" : "netconf-device",
279 "relationship" : "tosca.relationships.ConnectsTo"
283 "ComponentNetconfExecutor" : {
287 "script-type" : "jython",
288 "script-class-reference" : "Scripts/python/Rollback.py",
289 "instance-dependencies" : [ ],
290 "dynamic-properties" : "*config-deploy-properties"
293 "response-data" : "",
301 "junos-rollback-RPC-template" : {
302 "type" : "artifact-template-velocity",
303 "file" : "Templates/junos-rollback-RPC-template.vtl"
305 "junos-rollback-RPC-mapping" : {
306 "type" : "artifact-mapping-resource",
307 "file" : "Templates/junos-rollback-RPC-mapping.json"
312 "type" : "vnf-netconf-device",
317 "get_input" : "password"
320 "get_input" : "username"
322 "target-ip-address" : {
326 "connection-time-out" : 5