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",
219 "ScaleOutReconfiguration": {
222 "imperative-workflow-step-0": {
223 "description": "Config Assign Workflow",
224 "target": "ScaleOutReconfiguration",
227 "call_operation": "ResourceResolutionComponent.process"
231 "imperative-workflow-step-1"
234 "imperative-workflow-step-1": {
235 "description": "resolve ip for vlb",
236 "target": "nf-account-collection",
239 "call_operation": "ResourceResolutionComponent.process"
243 "imperative-workflow-step-2"
246 "imperative-workflow-step-2": {
247 "description": "execute restconf",
251 "call_operation": "ComponentScriptExecutor.process"
261 "service-instance-id": {
265 "ScaleOutReconfiguration-properties": {
266 "description": "Dynamic PropertyDefinition for workflow(ScaleOutReconfiguration).",
268 "type": "dt-ScaleOutReconfiguration-properties"
272 "vf-config-assign": {
275 "description": "Config Assign Workflow",
276 "target": "config-assign",
289 "config-assign-properties": {
290 "description": "Dynamic PropertyDefinition for workflow(config-assign).",
292 "type": "dt-config-assign-properties"
307 "vf-config-deploy": {
309 "imperative-workflow-step-1": {
310 "description": "resolve ip for vlb",
311 "target": "nf-account-collection",
314 "call_operation": "ResourceResolutionComponent.process"
318 "imperative-workflow-step-2"
321 "imperative-workflow-step-2": {
322 "description": "execute restconf",
326 "call_operation": "ComponentScriptExecutor.process"
336 "service-instance-id": {
340 "config-deploy-properties": {
341 "description": "Dynamic PropertyDefinition for workflow(config-deploy).",
343 "type": "dt-config-deploy-properties"
349 "resource-assignment": {
350 "type": "component-resource-resolution",
352 "ResourceResolutionComponent": {
356 "resolution-summary": true,
357 "artifact-prefix-names": {
358 "get_input": "template-prefix"
366 "base_template-mapping": {
367 "type": "artifact-mapping-resource",
368 "file": "Templates/base_template-mapping.json"
371 "type": "artifact-mapping-resource",
372 "file": "Templates/vpkg-mapping.json"
375 "type": "artifact-mapping-resource",
376 "file": "Templates/vdns-mapping.json"
379 "type": "artifact-mapping-resource",
380 "file": "Templates/vnf-mapping.json"
383 "type": "artifact-mapping-resource",
384 "file": "Templates/vlb-mapping.json"
389 "type": "component-resource-resolution",
391 "ResourceResolutionComponent": {
396 "get_input": "resolution-key"
398 "store-result": true,
399 "artifact-prefix-names": [
408 "baseconfig-template": {
409 "type": "artifact-template-velocity",
410 "file": "Templates/baseconfig-template.vtl"
412 "baseconfig-mapping": {
413 "type": "artifact-mapping-resource",
414 "file": "Templates/baseconfig-mapping.json"
418 "ScaleOutReconfiguration": {
419 "type": "component-resource-resolution",
421 "ResourceResolutionComponent": {
426 "get_input": "resolution-key"
428 "store-result": true,
429 "artifact-prefix-names": [
438 "baseconfig-template": {
439 "type": "artifact-template-velocity",
440 "file": "Templates/baseconfig-template.vtl"
442 "baseconfig-mapping": {
443 "type": "artifact-mapping-resource",
444 "file": "Templates/baseconfig-mapping.json"
449 "type": "vnf-netconf-device",
453 "login-key": "admin",
454 "login-account": "admin",
455 "target-ip-address": {
457 "nf-account-collection",
464 "connection-time-out": 5
469 "login-key": "admin",
470 "login-account": "admin",
471 "target-ip-address": {
473 "nf-account-collection",
480 "connection-time-out": 5
485 "nf-account-collection": {
486 "type": "component-resource-resolution",
488 "ResourceResolutionComponent": {
492 "artifact-prefix-names": [
501 "nf-params-template": {
502 "type": "artifact-template-velocity",
503 "file": "Templates/nf-params-template.vtl"
505 "nf-params-mapping": {
506 "type": "artifact-mapping-resource",
507 "file": "Templates/nf-params-mapping.json"
512 "type": "component-netconf-executor",
514 "netconf-connection": {
515 "capability": "restconf",
516 "node": "netconf-device",
517 "relationship": "tosca.relationships.ConnectsTo"
521 "ComponentNetconfExecutor": {
525 "script-type": "kotlin",
526 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploy",
527 "instance-dependencies": [],
528 "dynamic-properties": "*config-deploy-properties"
535 "executeHealthCheck": {
536 "type": "component-netconf-executor",
538 "netconf-connection": {
539 "capability": "restconf",
540 "node": "netconf-device",
541 "relationship": "tosca.relationships.ConnectsTo"
545 "ComponentNetconfExecutor": {
549 "script-type": "kotlin",
550 "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.HealthCheck",
551 "instance-dependencies": [],
552 "dynamic-properties": "*HealthCheck-properties"