2 "tosca_definitions_version": "controller_blueprint_1_0_0",
4 "template_author": "Abdelmuhaimen Seaudi",
5 "author-email": "abdelmuhaimen.seaudi@orange.com",
6 "user-groups": "ADMIN, OPERATION",
7 "template_name": "vLB_CDS",
8 "template_version": "1.0.0",
9 "template_tags": "vLB, CDS, RESTONF, IMPERATIVE"
13 "file": "Definitions/data_types.json"
16 "file": "Definitions/relationship_types.json"
19 "file": "Definitions/artifact_types.json"
22 "file": "Definitions/node_types.json"
25 "file": "Definitions/policy_types.json"
31 "url": "http://netbox-nginx:8080",
32 "token": "Token 0123456789abcdef0123456789abcdef01234567"
34 "naming-resolution": {
36 "url": "http://neng-serv:8080/web/service",
37 "username": "ccsdkapps",
38 "password": "ccsdkapps"
40 "config-deploy-properties": {
42 "get_input": "resolution-key"
45 "HealthCheck-properties": {
47 "get_input": "resolution-key"
50 "ScaleOutReconfiguration-properties": {
52 "get_input": "resolution-key"
56 "topology_template": {
58 "resource-assignment": {
60 "resource-assignment": {
61 "description": "Resource Assign Workflow",
62 "target": "resource-assignment"
73 "resource-assignment-properties": {
74 "description": "Dynamic PropertyDefinition for workflow(resource-assignment).",
76 "type": "dt-resource-assignment-properties"
84 "resource-assignment",
94 "description": "Config Assign Workflow",
95 "target": "config-assign",
108 "config-assign-properties": {
109 "description": "Dynamic PropertyDefinition for workflow(config-assign).",
111 "type": "dt-config-assign-properties"
128 "imperative-workflow-step-1": {
129 "description": "resolve ip for vlb",
130 "target": "nf-account-collection",
133 "call_operation": "ResourceResolutionComponent.process"
137 "imperative-workflow-step-2"
140 "imperative-workflow-step-2": {
141 "description": "execute restconf",
145 "call_operation": "ComponentScriptExecutor.process"
155 "service-instance-id": {
159 "config-deploy-properties": {
160 "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
162 "type": "dt-config-deploy-properties"
168 "imperative-workflow-step-1": {
169 "description": "resolve ip for vlb",
170 "target": "nf-account-collection",
173 "call_operation": "ResourceResolutionComponent.process"
177 "imperative-workflow-step-2"
180 "imperative-workflow-step-2": {
181 "description": "execute restconf",
182 "target": "executeHealthCheck",
185 "call_operation": "ComponentScriptExecutor.process"
195 "service-instance-id": {
199 "HealthCheck-properties": {
200 "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
202 "type": "dt-HealthCheck-properties"
207 "description": "Execution Response Data.",
212 "executeHealthCheck",
218 "description": "Status of the Component Execution ( success or failure )",
224 "ScaleOutReconfiguration": {
227 "imperative-workflow-step-0": {
228 "description": "Config Assign Workflow",
229 "target": "ScaleOutReconfiguration",
232 "call_operation": "ResourceResolutionComponent.process"
236 "imperative-workflow-step-1"
239 "imperative-workflow-step-1": {
240 "description": "resolve ip for vlb",
241 "target": "nf-account-collection",
244 "call_operation": "ResourceResolutionComponent.process"
248 "imperative-workflow-step-2"
251 "imperative-workflow-step-2": {
252 "description": "execute restconf",
256 "call_operation": "ComponentScriptExecutor.process"
266 "service-instance-id": {
270 "ScaleOutReconfiguration-properties": {
271 "description": "Dynamic PropertyDefinition for workflow(ScaleOutReconfiguration).",
273 "type": "dt-ScaleOutReconfiguration-properties"
277 "vf-config-assign": {
280 "description": "Config Assign Workflow",
281 "target": "config-assign",
294 "config-assign-properties": {
295 "description": "Dynamic PropertyDefinition for workflow(config-assign).",
297 "type": "dt-config-assign-properties"
312 "vf-config-deploy": {
314 "imperative-workflow-step-1": {
315 "description": "resolve ip for vlb",
316 "target": "nf-account-collection",
319 "call_operation": "ResourceResolutionComponent.process"
323 "imperative-workflow-step-2"
326 "imperative-workflow-step-2": {
327 "description": "execute restconf",
331 "call_operation": "ComponentScriptExecutor.process"
341 "service-instance-id": {
345 "config-deploy-properties": {
346 "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
348 "type": "dt-config-deploy-properties"
354 "resource-assignment": {
355 "type": "component-resource-resolution",
357 "ResourceResolutionComponent": {
361 "resolution-summary": true,
362 "artifact-prefix-names": {
363 "get_input": "template-prefix"
371 "base_template-mapping": {
372 "type": "artifact-mapping-resource",
373 "file": "Templates/base_template-mapping.json"
376 "type": "artifact-mapping-resource",
377 "file": "Templates/vpkg-mapping.json"
380 "type": "artifact-mapping-resource",
381 "file": "Templates/vdns-mapping.json"
384 "type": "artifact-mapping-resource",
385 "file": "Templates/vnf-mapping.json"
388 "type": "artifact-mapping-resource",
389 "file": "Templates/vlb-mapping.json"
394 "type": "component-resource-resolution",
396 "ResourceResolutionComponent": {
401 "get_input": "resolution-key"
403 "store-result": true,
404 "artifact-prefix-names": [
413 "baseconfig-template": {
414 "type": "artifact-template-velocity",
415 "file": "Templates/baseconfig-template.vtl"
417 "baseconfig-mapping": {
418 "type": "artifact-mapping-resource",
419 "file": "Templates/baseconfig-mapping.json"
423 "ScaleOutReconfiguration": {
424 "type": "component-resource-resolution",
426 "ResourceResolutionComponent": {
431 "get_input": "resolution-key"
433 "store-result": true,
434 "artifact-prefix-names": [
443 "baseconfig-template": {
444 "type": "artifact-template-velocity",
445 "file": "Templates/baseconfig-template.vtl"
447 "baseconfig-mapping": {
448 "type": "artifact-mapping-resource",
449 "file": "Templates/baseconfig-mapping.json"
454 "type": "vnf-netconf-device",
458 "login-key": "admin",
459 "login-account": "admin",
460 "target-ip-address": {
462 "nf-account-collection",
469 "connection-time-out": 5
474 "login-key": "admin",
475 "login-account": "admin",
476 "target-ip-address": {
478 "nf-account-collection",
485 "connection-time-out": 5
490 "nf-account-collection": {
491 "type": "component-resource-resolution",
493 "ResourceResolutionComponent": {
497 "artifact-prefix-names": [
506 "nf-params-template": {
507 "type": "artifact-template-velocity",
508 "file": "Templates/nf-params-template.vtl"
510 "nf-params-mapping": {
511 "type": "artifact-mapping-resource",
512 "file": "Templates/nf-params-mapping.json"
517 "type": "component-script-executor",
519 "restconf-connection": {
520 "capability": "restconf",
521 "node": "netconf-device",
522 "relationship": "tosca.relationships.ConnectsTo"
526 "ComponentScriptExecutor": {
530 "script-type": "kotlin",
531 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploy",
532 "instance-dependencies": [],
533 "dynamic-properties": "*config-deploy-properties"
540 "executeHealthCheck": {
541 "type": "component-script-executor",
543 "restconf-connection": {
544 "capability": "restconf",
545 "node": "netconf-device",
546 "relationship": "tosca.relationships.ConnectsTo"
550 "ComponentScriptExecutor": {
554 "script-type": "kotlin",
555 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.HealthCheck",
556 "instance-dependencies": [],
557 "dynamic-properties": "*HealthCheck-properties"