3 "id": "fa733965.8e1b48",
\r
7 "x": 116.66666412353516,
\r
8 "y": 70.74699592590332,
\r
9 "z": "2d523017.81121",
\r
17 "id": "daf6d1e0.f0a85",
\r
18 "type": "service-logic",
\r
19 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
20 "module": "GENERIC-RESOURCE-API",
\r
21 "version": "${project.version}",
\r
23 "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
\r
25 "x": 231.9523696899414,
\r
26 "y": 112.65177536010742,
\r
27 "z": "2d523017.81121",
\r
35 "id": "3a6f31b4.299cee",
\r
37 "name": "method vnf-topology-operation-assign",
\r
38 "xml": "<method rpc='vnf-topology-operation-assign' mode='sync'>\n",
\r
41 "x": 204.76197052001953,
\r
42 "y": 155.41365909576416,
\r
43 "z": "2d523017.81121",
\r
51 "id": "21dff779.bf4cc8",
\r
53 "name": "vnf-topology-operation-assign",
\r
56 "x": 492.6781921386719,
\r
58 "z": "2d523017.81121",
\r
62 "id": "49a698b9.947698",
\r
63 "type": "switchNode",
\r
64 "name": "switch request-action",
\r
65 "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
\r
68 "x": 503.04761505126953,
\r
69 "y": 303.8898277282715,
\r
70 "z": "2d523017.81121",
\r
79 "id": "725cf24d.8d4b4c",
\r
81 "name": "CreateVnfInstance",
\r
82 "xml": "<outcome value='CreateVnfInstance'>\n",
\r
85 "x": 756.7619094848633,
\r
86 "y": 281.0327091217041,
\r
87 "z": "2d523017.81121",
\r
95 "id": "abc6c6e8.654018",
\r
98 "xml": "<outcome value='Other'>\n",
\r
101 "x": 718.7618751525879,
\r
102 "y": 326.7470369338989,
\r
103 "z": "2d523017.81121",
\r
111 "id": "b07fe8dd.932d38",
\r
114 "xml": "<block>\n",
\r
118 "x": 941.6190376281738,
\r
119 "y": 281.0327386856079,
\r
120 "z": "2d523017.81121",
\r
126 "id": "c8588b9c.b0d898",
\r
128 "name": "block : atomic",
\r
129 "xml": "<block atomic=\"true\">",
\r
132 "x": 174.4048080444336,
\r
133 "y": 3352.7708625793457,
\r
134 "z": "2d523017.81121",
\r
177 "id": "ade9f393.c1d96",
\r
178 "type": "get-resource",
\r
179 "name": "get-resource VF_MODEL",
\r
180 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db.vf-model'>\n\n",
\r
183 "x": 515.3809204101562,
\r
184 "y": 395.0326976776123,
\r
185 "z": "2d523017.81121",
\r
194 "id": "1e3f6d8d.668b62",
\r
197 "xml": "<outcome value='failure'>\n",
\r
200 "x": 716.166618347168,
\r
201 "y": 375.413535118103,
\r
202 "z": "2d523017.81121",
\r
210 "id": "270acedb.4b2862",
\r
211 "type": "not-found",
\r
212 "name": "not-found",
\r
213 "xml": "<outcome value='not-found'>\n",
\r
216 "x": 724.7380485534668,
\r
217 "y": 419.6992483139038,
\r
218 "z": "2d523017.81121",
\r
226 "id": "50e14066.4a8fb",
\r
227 "type": "switchNode",
\r
228 "name": "switch service-data.vnfs.vnf_length",
\r
229 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
232 "x": 549.0475845336914,
\r
233 "y": 1145.9851322174072,
\r
234 "z": "2d523017.81121",
\r
243 "id": "a52ad9f3.5409f8",
\r
246 "xml": "<outcome value=''>\n",
\r
249 "x": 774.7619132995605,
\r
250 "y": 1113.1279201507568,
\r
251 "z": "2d523017.81121",
\r
259 "id": "5a889bed.1fd0a4",
\r
261 "name": "set vnf-index=0",
\r
262 "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",
\r
264 "x": 939.0476341247559,
\r
265 "y": 1112.1279983520508,
\r
266 "z": "2d523017.81121",
\r
270 "id": "f1a27d38.307e4",
\r
273 "xml": "<outcome value='Other'>\n",
\r
276 "x": 776.1904754638672,
\r
277 "y": 1177.4137382507324,
\r
278 "z": "2d523017.81121",
\r
286 "id": "742d47cf.681298",
\r
288 "name": "set vnf-index = vnf_length",
\r
289 "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",
\r
291 "x": 1194.0476303100586,
\r
292 "y": 1155.699426651001,
\r
293 "z": "2d523017.81121",
\r
297 "id": "841debf7.ded508",
\r
299 "name": "for each existing VNF",
\r
300 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
303 "x": 1179.4761428833008,
\r
304 "y": 1201.6993656158447,
\r
305 "z": "2d523017.81121",
\r
313 "id": "ff49d41f.68ca58",
\r
315 "name": "block : atomic",
\r
316 "xml": "<block atomic='true'>",
\r
320 "x": 949.9047355651855,
\r
321 "y": 1177.413703918457,
\r
322 "z": "2d523017.81121",
\r
331 "id": "7d0d1ffd.f9c63",
\r
332 "type": "switchNode",
\r
333 "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",
\r
334 "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",
\r
337 "x": 1533.7619094848633,
\r
338 "y": 1201.270845413208,
\r
339 "z": "2d523017.81121",
\r
347 "id": "8c6a6fdd.7581b",
\r
348 "type": "outcomeTrue",
\r
350 "xml": "<outcome value='true'>\n",
\r
353 "x": 1828.047664642334,
\r
354 "y": 1200.8423299789429,
\r
355 "z": "2d523017.81121",
\r
363 "id": "7be2c7fd.7f9938",
\r
365 "name": "make sure this VNF doesn't exist already",
\r
368 "x": 1520.904640197754,
\r
369 "y": 1158.8422756195068,
\r
370 "z": "2d523017.81121",
\r
374 "id": "945671e8.3d2b7",
\r
376 "name": "set vnf-topology data",
\r
377 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id'\n value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-type'\n value='`$vnf-topology-operation-input.vnf-information.vnf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-type'\n value='`$db.vf-model.nf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-role'\n value='`$db.vf-model.nf-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-function'\n value='`$db.vf-model.nf-function`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-code'\n value='`$db.vf-model.nf-code`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.tenant'\n value='`$vnf-topology-operation-input.vnf-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-cloud-region'\n value='`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`' />\n \n",
\r
379 "x": 514.7618675231934,
\r
380 "y": 1677.6518993377686,
\r
381 "z": "2d523017.81121",
\r
385 "id": "7054feb2.2900b",
\r
386 "type": "switchNode",
\r
387 "name": "switch input vnf-name",
\r
388 "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-name`'>\n",
\r
391 "x": 527.2618865966797,
\r
392 "y": 2039.770956993103,
\r
393 "z": "2d523017.81121",
\r
402 "id": "25919575.6cb00a",
\r
403 "type": "get-resource",
\r
404 "name": "get-resource cloud region",
\r
405 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"cloud-region\" \n\t\tkey=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner AND \n\t\t cloud-region.cloud-region-id = $vnf-topology-operation-input.vnf-request-input.aic-cloud-region AND\n\t\t depth='all'\"\n pfx='aai.cloud-region' local-only='false' >\n\n",
\r
408 "x": 559.4048309326172,
\r
409 "y": 2935.7706928253174,
\r
410 "z": "2d523017.81121",
\r
419 "id": "54304dd.70307b4",
\r
422 "xml": "<outcome value='failure'>\n",
\r
425 "x": 767.5081481933594,
\r
426 "y": 2954.921399116516,
\r
427 "z": "2d523017.81121",
\r
435 "id": "da5da517.ae2e18",
\r
436 "type": "not-found",
\r
437 "name": "not-found",
\r
438 "xml": "<outcome value='not-found'>\n",
\r
441 "x": 776.4367446899414,
\r
442 "y": 2912.2071323394775,
\r
443 "z": "2d523017.81121",
\r
451 "id": "10583438.2574cc",
\r
452 "type": "get-resource",
\r
453 "name": "get-resource VF_TO_NETWORK_ROLE_MAPPING",
\r
454 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_TO_NETWORK_ROLE_MAPPING WHERE vf_customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db.vf-network-role-mapping[]'>\n\n",
\r
457 "x": 624.6429138183594,
\r
458 "y": 3246.8182125091553,
\r
459 "z": "2d523017.81121",
\r
468 "id": "b9431e3d.b421d",
\r
471 "xml": "<outcome value='failure'>\n",
\r
474 "x": 920.4285850524902,
\r
475 "y": 3225.532377243042,
\r
476 "z": "2d523017.81121",
\r
484 "id": "395440a1.5e6de",
\r
485 "type": "not-found",
\r
486 "name": "not-found",
\r
487 "xml": "<outcome value='not-found'>\n",
\r
490 "x": 929.0000152587891,
\r
491 "y": 3269.818090438843,
\r
492 "z": "2d523017.81121",
\r
500 "id": "fde1d716.a4a0e8",
\r
502 "name": "block : atomic",
\r
503 "xml": "<block atomic=\"true\">",
\r
506 "x": 1025.5716133117676,
\r
507 "y": 4363.460702896118,
\r
508 "z": "2d523017.81121",
\r
524 "id": "c223a2fd.f4871",
\r
525 "type": "get-resource",
\r
526 "name": "get-resource l3-network",
\r
527 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-networks\" \n\t\tkey=\"l3-network.network-role = $db.vf-network-role-mapping[$role-index].network-role\"\n pfx='aai.l3-network' local-only='false'\n>\n",
\r
530 "x": 1275.2858123779297,
\r
531 "y": 3453.8417415618896,
\r
532 "z": "2d523017.81121",
\r
541 "id": "3e760d07.8da062",
\r
544 "xml": "<outcome value='failure'>\n",
\r
547 "x": 1480.7621269226074,
\r
548 "y": 3483.1273441314697,
\r
549 "z": "2d523017.81121",
\r
557 "id": "ede95f4d.859fa",
\r
558 "type": "not-found",
\r
559 "name": "not-found",
\r
560 "xml": "<outcome value='not-found'>\n",
\r
563 "x": 1488.2621231079102,
\r
564 "y": 3434.2703142166138,
\r
565 "z": "2d523017.81121",
\r
573 "id": "abcfb9a1.c41368",
\r
575 "name": "set vnf-network data",
\r
576 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-role'\n value='`$db.vf-network-role-mapping[$role-index].network-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-name'\n value='`$aai.l3-network.l3-network[$db-network-index].network-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].neutron-id'\n value='`$aai.l3-network.l3-network[$db-network-index].neutron-network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-id'\n value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].contrail-network-fqdn'\n value='`$aai.l3-network.l3-network[$db-network-index].contrail-network-fqdn`' />\n",
\r
578 "x": 1271.6192779541016,
\r
579 "y": 4259.413550376892,
\r
580 "z": "2d523017.81121",
\r
584 "id": "996bdc9d.0d63b",
\r
586 "name": "for each cloud-region availability zone",
\r
587 "xml": "<for index='idx' start='0' end='`$aai.cloud-region.availability-zones.availability-zone_length`' >\n",
\r
590 "x": 492.00031661987305,
\r
591 "y": 5506.532527923584,
\r
592 "z": "2d523017.81121",
\r
600 "id": "cab1cdc0.80552",
\r
602 "name": "set availability-zone",
\r
603 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone[$idx]'\n value='`$aai.cloud-region.availability-zones.availability-zone[$idx].availability-zone-name`' />\n",
\r
605 "x": 953.6669998168945,
\r
606 "y": 5475.865942001343,
\r
607 "z": "2d523017.81121",
\r
611 "id": "2dd23fff.89a8d",
\r
613 "name": "set vnf-parameters-data",
\r
614 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.'\n value='vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.' />\n",
\r
616 "x": 451.6192436218262,
\r
617 "y": 5356.484888076782,
\r
618 "z": "2d523017.81121",
\r
622 "id": "c622b6f5.5fb0e8",
\r
624 "name": "save generic-vnf l3-network relationships",
\r
625 "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"generic-vnf:relationship-list\"\n key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"l3-network.network-id\" />\n <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-nw-index].network-id`\" />\n",
\r
628 "x": 918.1907768249512,
\r
629 "y": 5650.29474067688,
\r
630 "z": "2d523017.81121",
\r
639 "id": "4eb737ee.442a38",
\r
640 "type": "returnSuccess",
\r
641 "name": "return success",
\r
642 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
644 "x": 405.7145233154297,
\r
645 "y": 6313.055904388428,
\r
646 "z": "2d523017.81121",
\r
650 "id": "1b9bd518.29100b",
\r
652 "name": "set vnf-level-oper-status to PendingCreate",
\r
653 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
\r
655 "x": 501.24223709106445,
\r
656 "y": 6018.250611305237,
\r
657 "z": "2d523017.81121",
\r
661 "id": "13077d8a.632752",
\r
663 "name": "for each network-role",
\r
664 "xml": "<for silentFailure='true' index='role-index' start='0' end='`$db.vf-network-role-mapping_length`'>",
\r
667 "x": 485.57154846191406,
\r
668 "y": 4336.794371604919,
\r
669 "z": "2d523017.81121",
\r
677 "id": "9cd27ab5.524f18",
\r
679 "name": "set network-index = 0",
\r
680 "xml": "<set>\n<parameter name='network-index' value='0' />\n",
\r
682 "x": 527.0714111328125,
\r
683 "y": 3300.8660068511963,
\r
684 "z": "2d523017.81121",
\r
688 "id": "912ecbf0.ffa438",
\r
690 "name": "increment network-index",
\r
691 "xml": "<set>\n<parameter name='network-index' value='`$network-index + 1`' />\n",
\r
693 "x": 1253.6192665100098,
\r
694 "y": 5307.175491333008,
\r
695 "z": "2d523017.81121",
\r
699 "id": "8c40a330.8c84",
\r
701 "name": "set vnf-network_length",
\r
702 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length'\n value='`$network-index`' />\n",
\r
704 "x": 450.4763298034668,
\r
705 "y": 5306.484931945801,
\r
706 "z": "2d523017.81121",
\r
710 "id": "f2f609da.bd9858",
\r
712 "name": "copy input data",
\r
713 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' value='$vnf-topology-operation-input.vnf-request-input.' />\n\n",
\r
715 "x": 416.7620658874512,
\r
716 "y": 5965.913442611694,
\r
717 "z": "2d523017.81121",
\r
721 "id": "3530cc21.a0c0d4",
\r
723 "name": "for each vnf-network",
\r
724 "xml": "<for index='vnf-nw-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",
\r
727 "x": 441.1906852722168,
\r
728 "y": 5649.29465675354,
\r
729 "z": "2d523017.81121",
\r
737 "id": "b6d2730a.405db",
\r
739 "name": "block : atomic",
\r
740 "xml": "<block atomic=\"true\">",
\r
743 "x": 644.8573265075684,
\r
744 "y": 5649.294617652893,
\r
745 "z": "2d523017.81121",
\r
753 "id": "2fcd14d0.0b537c",
\r
755 "name": "set new vnf_length",
\r
756 "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",
\r
758 "x": 497.6905059814453,
\r
759 "y": 1198.0090227127075,
\r
760 "z": "2d523017.81121",
\r
764 "id": "4796fba2.d51144",
\r
766 "name": "for each cloud-region relationship",
\r
767 "xml": "<for index='idx' start='0' end='`$aai.cloud-region.relationship-list.relationship_length`' >\n",
\r
770 "x": 572.2619552612305,
\r
771 "y": 3023.008864402771,
\r
772 "z": "2d523017.81121",
\r
780 "id": "de35f354.4a026",
\r
781 "type": "switchNode",
\r
782 "name": "switch related-to",
\r
783 "xml": "<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n",
\r
786 "x": 819.9404983520508,
\r
787 "y": 3022.7587938308716,
\r
788 "z": "2d523017.81121",
\r
796 "id": "9753c9fc.ee6548",
\r
799 "xml": "<outcome value='complex'>\n",
\r
802 "x": 989.4048194885254,
\r
803 "y": 3022.1516160964966,
\r
804 "z": "2d523017.81121",
\r
812 "id": "49d47361.e5235c",
\r
814 "name": "set aic-clli",
\r
815 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli'\n value='`$aai-uid-split[$aai-uid-split_length - 1]`' />\n",
\r
817 "x": 1366.976203918457,
\r
818 "y": 3020.389811515808,
\r
819 "z": "2d523017.81121",
\r
823 "id": "42f099e.9f61568",
\r
824 "type": "switchNode",
\r
825 "name": "switch aic-clli",
\r
826 "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli`'>\n",
\r
829 "x": 505.3095817565918,
\r
830 "y": 3136.1039962768555,
\r
831 "z": "2d523017.81121",
\r
839 "id": "18989148.50f10f",
\r
842 "xml": "<outcome value=''>",
\r
845 "x": 653.4524154663086,
\r
846 "y": 3136.103979110718,
\r
847 "z": "2d523017.81121",
\r
855 "id": "56b5f776.c4c628",
\r
857 "name": "set from DB",
\r
858 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n value='`$db.vf-model.invariant-uuid`' />\n",
\r
860 "x": 931.7621269226074,
\r
861 "y": 2494.9612531661987,
\r
862 "z": "2d523017.81121",
\r
866 "id": "c7e1c13d.03db5",
\r
868 "name": "for each l3-network",
\r
869 "xml": "<for index='db-network-index' start='0' end='`$aai.l3-network.l3-network_length`' >\n",
\r
872 "x": 1391.8812561035156,
\r
873 "y": 4083.984929084778,
\r
874 "z": "2d523017.81121",
\r
882 "id": "e75f10eb.ced4f",
\r
883 "type": "switchNode",
\r
884 "name": "switch orchestration-status",
\r
885 "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].orchestration-status`'>\n",
\r
888 "x": 1810.4524269104004,
\r
889 "y": 4018.556393623352,
\r
890 "z": "2d523017.81121",
\r
902 "id": "acbbb297.0a07e",
\r
904 "name": "Pending Delete",
\r
905 "xml": "<outcome value='Pending Delete'>\n",
\r
908 "x": 2051.119297027588,
\r
909 "y": 4060.222897529602,
\r
910 "z": "2d523017.81121",
\r
918 "id": "18131921.5c40e7",
\r
921 "xml": "<outcome value='Other'>\n",
\r
924 "x": 2023.9764366149902,
\r
925 "y": 4111.222878456116,
\r
926 "z": "2d523017.81121",
\r
934 "id": "d24ce0d7.c8619",
\r
935 "type": "switchNode",
\r
936 "name": "switch related-to",
\r
937 "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].related-to`'>\n",
\r
940 "x": 2559.6907386779785,
\r
941 "y": 4056.460795402527,
\r
942 "z": "2d523017.81121",
\r
951 "id": "f846017e.0f7b7",
\r
953 "name": "for each relationship",
\r
954 "xml": "<for silentFailure='true' index='db-rel-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship_length`' >\n",
\r
957 "x": 2193.976348876953,
\r
958 "y": 4110.794255256653,
\r
959 "z": "2d523017.81121",
\r
967 "id": "c028438.b008bc",
\r
969 "name": "cloud-region",
\r
970 "xml": "<outcome value='cloud-region'>\n",
\r
973 "x": 2733.9765243530273,
\r
974 "y": 4079.365619659424,
\r
975 "z": "2d523017.81121",
\r
983 "id": "24abd19e.88186e",
\r
985 "name": "for each relationship data",
\r
986 "xml": "<for silentFailure='true' index='db-data-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data_length`' >\n",
\r
989 "x": 2931.11922454834,
\r
990 "y": 4079.794087409973,
\r
991 "z": "2d523017.81121",
\r
999 "id": "6e6e70c9.1f47f",
\r
1000 "type": "switchNode",
\r
1001 "name": "switch relationship-key",
\r
1002 "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-key`'>\n",
\r
1005 "x": 3162.547824859619,
\r
1006 "y": 4079.3654623031616,
\r
1007 "z": "2d523017.81121",
\r
1015 "id": "41f73a04.000a34",
\r
1016 "type": "outcome",
\r
1017 "name": "cloud-region.cloud-region-id",
\r
1018 "xml": "<outcome value='cloud-region.cloud-region-id'>\n",
\r
1021 "x": 3403.976390838623,
\r
1022 "y": 4079.3655586242676,
\r
1023 "z": "2d523017.81121",
\r
1031 "id": "ec6b1424.dae298",
\r
1032 "type": "switchNode",
\r
1033 "name": "switch relationship-value == cloud-region-id",
\r
1034 "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-value == $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`'>\n",
\r
1037 "x": 3708.262310028076,
\r
1038 "y": 4079.22261428833,
\r
1039 "z": "2d523017.81121",
\r
1047 "id": "76d1c220.996b9c",
\r
1048 "type": "outcomeTrue",
\r
1050 "xml": "<outcome value='true'>\n",
\r
1053 "x": 3413.2624473571777,
\r
1054 "y": 4196.865568161011,
\r
1055 "z": "2d523017.81121",
\r
1063 "id": "7e1ee9f5.bc8198",
\r
1066 "xml": "<block>\n",
\r
1067 "atomic": "false",
\r
1070 "x": 1228.0954284667969,
\r
1071 "y": 4015.270573616028,
\r
1072 "z": "2d523017.81121",
\r
1081 "id": "c6001282.4b6e1",
\r
1083 "name": "set l3-network-id = -1",
\r
1084 "xml": "<set>\n<parameter name='l3-network-id' value='-1' />\n",
\r
1086 "x": 1272.4287872314453,
\r
1087 "y": 3887.175227165222,
\r
1088 "z": "2d523017.81121",
\r
1092 "id": "1de3d6a.5295a29",
\r
1094 "name": "block : atomic",
\r
1095 "xml": "<block atomic=\"true\">",
\r
1098 "x": 3559.0954246520996,
\r
1099 "y": 4196.341676712036,
\r
1100 "z": "2d523017.81121",
\r
1104 "6ee99534.f9db3c",
\r
1110 "id": "f676c278.1ddf2",
\r
1112 "name": "set l3-network-id = this l3-network",
\r
1113 "xml": "<set>\n<parameter name='l3-network-id' value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n",
\r
1115 "x": 3794.333427429199,
\r
1116 "y": 4158.484645843506,
\r
1117 "z": "2d523017.81121",
\r
1121 "id": "ea99e7e9.ed0b98",
\r
1122 "type": "switchNode",
\r
1123 "name": "switch l3-network-id",
\r
1124 "xml": "<switch test='`$l3-network-id`'>\n",
\r
1127 "x": 1269.4287109375,
\r
1128 "y": 4210.842268943787,
\r
1129 "z": "2d523017.81121",
\r
1137 "id": "8b18bc8b.1ecc5",
\r
1138 "type": "outcome",
\r
1140 "xml": "<outcome value='-1'>\n",
\r
1143 "x": 1439.4286613464355,
\r
1144 "y": 4210.842024803162,
\r
1145 "z": "2d523017.81121",
\r
1153 "id": "ab296e58.94c7",
\r
1154 "type": "switchNode",
\r
1155 "name": "switch input model-invariant-uuid",
\r
1156 "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`'>\n",
\r
1159 "x": 575.6192016601562,
\r
1160 "y": 2517.7856969833374,
\r
1161 "z": "2d523017.81121",
\r
1164 "a6d2444d.170f18",
\r
1170 "id": "a6d2444d.170f18",
\r
1171 "type": "outcome",
\r
1173 "xml": "<outcome value=''>",
\r
1176 "x": 781.2858734130859,
\r
1177 "y": 2494.9286603927612,
\r
1178 "z": "2d523017.81121",
\r
1186 "id": "d0c4e96a.f0e598",
\r
1189 "xml": "<outcome value='Other'>\n",
\r
1192 "x": 782.714469909668,
\r
1193 "y": 2539.2142515182495,
\r
1194 "z": "2d523017.81121",
\r
1202 "id": "53133cb6.18d844",
\r
1204 "name": "set from input",
\r
1205 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n",
\r
1207 "x": 937.0002059936523,
\r
1208 "y": 2538.6428236961365,
\r
1209 "z": "2d523017.81121",
\r
1213 "id": "6f1bca5a.057ce4",
\r
1215 "name": "set from DB",
\r
1216 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n value='`$db.vf-model.uuid`' />\n",
\r
1218 "x": 932.7143974304199,
\r
1219 "y": 2583.4999294281006,
\r
1220 "z": "2d523017.81121",
\r
1224 "id": "8dc1e7e0.9d5668",
\r
1225 "type": "switchNode",
\r
1226 "name": "switch input model-uuid",
\r
1227 "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`'>\n",
\r
1230 "x": 548.2382202148438,
\r
1231 "y": 2606.3244342803955,
\r
1232 "z": "2d523017.81121",
\r
1241 "id": "8002dd41.ae1f",
\r
1242 "type": "outcome",
\r
1244 "xml": "<outcome value=''>",
\r
1247 "x": 782.2381935119629,
\r
1248 "y": 2583.467366218567,
\r
1249 "z": "2d523017.81121",
\r
1257 "id": "896eccc9.b25eb",
\r
1260 "xml": "<outcome value='Other'>\n",
\r
1263 "x": 783.6667900085449,
\r
1264 "y": 2627.752957344055,
\r
1265 "z": "2d523017.81121",
\r
1273 "id": "17701e26.510582",
\r
1275 "name": "set from input",
\r
1276 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n",
\r
1278 "x": 937.9525260925293,
\r
1279 "y": 2627.181529521942,
\r
1280 "z": "2d523017.81121",
\r
1284 "id": "b6fbf29a.0df09",
\r
1286 "name": "set from DB",
\r
1287 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n value='`$db.vf-model.version`' />\n",
\r
1289 "x": 929.8573303222656,
\r
1290 "y": 2672.3571367263794,
\r
1291 "z": "2d523017.81121",
\r
1295 "id": "d03eeca7.23711",
\r
1296 "type": "switchNode",
\r
1297 "name": "switch input model-version",
\r
1298 "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`'>\n",
\r
1301 "x": 556.3810920715332,
\r
1302 "y": 2695.1815814971924,
\r
1303 "z": "2d523017.81121",
\r
1306 "6aa27ca4.a61d34",
\r
1312 "id": "6aa27ca4.a61d34",
\r
1313 "type": "outcome",
\r
1315 "xml": "<outcome value=''>",
\r
1318 "x": 779.3810768127441,
\r
1319 "y": 2672.324543952942,
\r
1320 "z": "2d523017.81121",
\r
1328 "id": "1ae6e106.ea9c7f",
\r
1331 "xml": "<outcome value='Other'>\n",
\r
1334 "x": 780.8096733093262,
\r
1335 "y": 2716.61013507843,
\r
1336 "z": "2d523017.81121",
\r
1344 "id": "56c362db.13020c",
\r
1346 "name": "set from input",
\r
1347 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`' />\n",
\r
1349 "x": 935.0954093933105,
\r
1350 "y": 2716.038707256317,
\r
1351 "z": "2d523017.81121",
\r
1355 "id": "9fcfee3c.f2226",
\r
1357 "name": "set from DB",
\r
1358 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n value='`$db.vf-model.name`' />\n",
\r
1360 "x": 929.8573303222656,
\r
1361 "y": 2759.4999589920044,
\r
1362 "z": "2d523017.81121",
\r
1366 "id": "494fd3fe.881b4c",
\r
1367 "type": "switchNode",
\r
1368 "name": "switch input model-name",
\r
1369 "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`'>\n",
\r
1372 "x": 551.3810920715332,
\r
1373 "y": 2782.3244037628174,
\r
1374 "z": "2d523017.81121",
\r
1377 "3f7d112e.5f72ee",
\r
1383 "id": "3f7d112e.5f72ee",
\r
1384 "type": "outcome",
\r
1386 "xml": "<outcome value=''>",
\r
1389 "x": 779.3810768127441,
\r
1390 "y": 2759.467366218567,
\r
1391 "z": "2d523017.81121",
\r
1399 "id": "6e803b0d.a54dc4",
\r
1402 "xml": "<outcome value='Other'>\n",
\r
1405 "x": 780.8096733093262,
\r
1406 "y": 2803.752957344055,
\r
1407 "z": "2d523017.81121",
\r
1415 "id": "9d0420e8.1e34b",
\r
1417 "name": "set from input",
\r
1418 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`' />\n",
\r
1420 "x": 935.0954093933105,
\r
1421 "y": 2803.181529521942,
\r
1422 "z": "2d523017.81121",
\r
1426 "id": "bcc48c45.57047",
\r
1429 "xml": "<block>\n",
\r
1430 "atomic": "false",
\r
1433 "x": 2204.3333892822266,
\r
1434 "y": 4060.9997749328613,
\r
1435 "z": "2d523017.81121",
\r
1441 "id": "8306b63a.7a6a88",
\r
1442 "type": "outcome",
\r
1443 "name": "PendingDelete",
\r
1444 "xml": "<outcome value='PendingDelete'>\n",
\r
1447 "x": 2049.000030517578,
\r
1448 "y": 4015.999689102173,
\r
1449 "z": "2d523017.81121",
\r
1457 "id": "ea893bb0.586278",
\r
1460 "xml": "<block>\n",
\r
1461 "atomic": "false",
\r
1464 "x": 2204.214122772217,
\r
1465 "y": 4016.776566505432,
\r
1466 "z": "2d523017.81121",
\r
1472 "id": "a5969f85.edad",
\r
1473 "type": "outcome",
\r
1474 "name": "Pending Create",
\r
1475 "xml": "<outcome value='Pending Create'>\n",
\r
1478 "x": 2051.000030517578,
\r
1479 "y": 3972.666193008423,
\r
1480 "z": "2d523017.81121",
\r
1488 "id": "bab4140b.02b308",
\r
1491 "xml": "<block>\n",
\r
1492 "atomic": "false",
\r
1495 "x": 2204.214122772217,
\r
1496 "y": 3973.443070411682,
\r
1497 "z": "2d523017.81121",
\r
1503 "id": "84ce6f22.6e9ac",
\r
1504 "type": "outcome",
\r
1505 "name": "PendingCreate",
\r
1506 "xml": "<outcome value='PendingCreate'>\n",
\r
1509 "x": 2051.000030517578,
\r
1510 "y": 3929.332941055298,
\r
1511 "z": "2d523017.81121",
\r
1519 "id": "fc3367.845aac98",
\r
1522 "xml": "<block>\n",
\r
1523 "atomic": "false",
\r
1526 "x": 2204.214122772217,
\r
1527 "y": 3930.109818458557,
\r
1528 "z": "2d523017.81121",
\r
1534 "id": "a129d9ae.667dd8",
\r
1536 "name": "for each A&AI subnet",
\r
1537 "xml": "<for index='subnet-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`' >\n",
\r
1540 "x": 1737.3810577392578,
\r
1541 "y": 4350.047110080719,
\r
1542 "z": "2d523017.81121",
\r
1550 "id": "84d519bc.318478",
\r
1552 "name": "set subnet_length",
\r
1553 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data_length'\n value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`' />\n",
\r
1555 "x": 1726.047622680664,
\r
1556 "y": 4395.04719209671,
\r
1557 "z": "2d523017.81121",
\r
1561 "id": "31dc7765.4b4208",
\r
1563 "name": "set availability-zones.max-count and length",
\r
1564 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.max-count'\n value='`$db.vf-model.avail-zone-max-count`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone_length'\n value='`$aai.cloud-region.availability-zones.availability-zone_length`' />\n",
\r
1566 "x": 511.66682052612305,
\r
1567 "y": 5594.547995567322,
\r
1568 "z": "2d523017.81121",
\r
1572 "id": "ae22f7f9.632468",
\r
1574 "name": "set vnf-name",
\r
1575 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name'\n value='`$tmp.vnf-name`' />\n",
\r
1577 "x": 512.5000152587891,
\r
1578 "y": 2451.8334608078003,
\r
1579 "z": "2d523017.81121",
\r
1583 "id": "530dfe10.6f29",
\r
1585 "name": "update generic-vnf",
\r
1586 "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"generic-vnf\"\n key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"vnf-name\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name`\" />\n<parameter name=\"prov-status\" value=\"PREPROV\" />\n<!-- <parameter name=\"operational-status\" value=\"out-of-service-path\" /> -->\n<parameter name=\"equipment-role\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-role`\" />\n<parameter name=\"model-invariant-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid`\" />\n<parameter name=\"in-maint\" value=\"true\" />\n<parameter name=\"selflink\" value=\"`$vnf-object-path`\" />\n",
\r
1589 "x": 432.0000877380371,
\r
1590 "y": 5804.213758468628,
\r
1591 "z": "2d523017.81121",
\r
1594 "8c964a5c.697478",
\r
1600 "id": "2f250d1f.126482",
\r
1602 "name": "set vnf-object-path",
\r
1603 "xml": "<set>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vnf-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vnf-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",
\r
1605 "x": 432.00012588500977,
\r
1606 "y": 5734.214241027832,
\r
1607 "z": "2d523017.81121",
\r
1611 "id": "3c27d937.bf75c6",
\r
1613 "name": "set vnf-id",
\r
1614 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id'\n value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n",
\r
1616 "x": 500.83335876464844,
\r
1617 "y": 2403.5000038146973,
\r
1618 "z": "2d523017.81121",
\r
1622 "id": "6ae8e0f.7c6952",
\r
1623 "type": "execute",
\r
1624 "name": "printContext",
\r
1625 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vnf.log' />\n",
\r
1628 "x": 397.76210021972656,
\r
1629 "y": 6178.976177215576,
\r
1630 "z": "2d523017.81121",
\r
1636 "id": "72e530eb.ef2a9",
\r
1637 "type": "failure",
\r
1638 "name": "failure",
\r
1639 "xml": "<outcome value='failure'>\n",
\r
1642 "x": 1168.0241317749023,
\r
1643 "y": 5627.833315849304,
\r
1644 "z": "2d523017.81121",
\r
1652 "id": "560ad615.6ebaf8",
\r
1653 "type": "not-found",
\r
1654 "name": "not-found",
\r
1655 "xml": "<outcome value='not-found'>\n",
\r
1658 "x": 1176.5955619812012,
\r
1659 "y": 5672.119029045105,
\r
1660 "z": "2d523017.81121",
\r
1668 "id": "8c964a5c.697478",
\r
1669 "type": "failure",
\r
1670 "name": "failure",
\r
1671 "xml": "<outcome value='failure'>\n",
\r
1674 "x": 606.3574180603027,
\r
1675 "y": 5782.833353996277,
\r
1676 "z": "2d523017.81121",
\r
1684 "id": "9e7283af.92a1c",
\r
1685 "type": "not-found",
\r
1686 "name": "not-found",
\r
1687 "xml": "<outcome value='not-found'>\n",
\r
1690 "x": 614.9288482666016,
\r
1691 "y": 5827.119067192078,
\r
1692 "z": "2d523017.81121",
\r
1700 "id": "dfdec27.324004",
\r
1702 "name": "set model-customization-uuid",
\r
1703 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid'\n value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n",
\r
1705 "x": 564.1666793823242,
\r
1706 "y": 2855.1666078567505,
\r
1707 "z": "2d523017.81121",
\r
1711 "id": "f7d7f0fa.89cd2",
\r
1712 "type": "execute",
\r
1713 "name": "split related-link",
\r
1714 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='aai-uid-split' />\n <parameter name='original_string' value='`$aai.cloud-region.relationship-list.relationship[$idx].related-link`' />\n <parameter name='regex' value='/' />\n",
\r
1717 "x": 1386.357063293457,
\r
1718 "y": 2975.1517295837402,
\r
1719 "z": "2d523017.81121",
\r
1725 "id": "f1d0780c.c74608",
\r
1727 "name": "block : atomic",
\r
1728 "xml": "<block atomic=\"true\">",
\r
1731 "x": 1172.0237655639648,
\r
1732 "y": 3021.8185176849365,
\r
1733 "z": "2d523017.81121",
\r
1737 "49d47361.e5235c",
\r
1743 "id": "68e794dc.43eb9c",
\r
1746 "xml": "<break>\n",
\r
1748 "x": 1356.0237274169922,
\r
1749 "y": 3065.1518144607544,
\r
1750 "z": "2d523017.81121",
\r
1754 "id": "b2e77d6f.5c88e",
\r
1756 "name": "block : atomic",
\r
1757 "xml": "<block atomic=\"true\">",
\r
1760 "x": 743.6667594909668,
\r
1761 "y": 5505.628111839294,
\r
1762 "z": "2d523017.81121",
\r
1771 "id": "2c7d624d.a1567e",
\r
1773 "name": "save generic-vnf availability-zone relationship",
\r
1774 "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"generic-vnf:relationship-list\"\n key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"availability-zone\" />\n <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"cloud-region.cloud-owner\" />\n <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.cloud-region.cloud-owner`\" />\n <parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n <parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n <parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"availability-zone.availability-zone-name\" />\n <parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"`$aai.cloud-region.availability-zones.availability-zone[$idx].availability-zone-name`\" />\n",
\r
1777 "x": 1037.0001487731934,
\r
1778 "y": 5528.9615659713745,
\r
1779 "z": "2d523017.81121",
\r
1782 "7e45c7a1.1fc228",
\r
1788 "id": "7e45c7a1.1fc228",
\r
1789 "type": "failure",
\r
1790 "name": "failure",
\r
1791 "xml": "<outcome value='failure'>\n",
\r
1794 "x": 1301.8334007263184,
\r
1795 "y": 5509.833388328552,
\r
1796 "z": "2d523017.81121",
\r
1804 "id": "7cb74929.a6a798",
\r
1805 "type": "not-found",
\r
1806 "name": "not-found",
\r
1807 "xml": "<outcome value='not-found'>\n",
\r
1810 "x": 1310.4048309326172,
\r
1811 "y": 5554.119101524353,
\r
1812 "z": "2d523017.81121",
\r
1820 "id": "4f0a7869.c1d018",
\r
1822 "name": "set mapping rows to 0",
\r
1823 "xml": "<set>\n<parameter name='db.vf-network-role-mapping_length' value='0' />\n",
\r
1825 "x": 1122.9761505126953,
\r
1826 "y": 3269.437578201294,
\r
1827 "z": "2d523017.81121",
\r
1831 "id": "dc580d36.feec6",
\r
1832 "type": "switchNode",
\r
1833 "name": "switch AAI availability-zone_length",
\r
1834 "xml": "<switch test='`$aai.cloud-region.availability-zones.availability-zone_length`'>\n",
\r
1837 "x": 484.381046295166,
\r
1838 "y": 5409.437698364258,
\r
1839 "z": "2d523017.81121",
\r
1847 "id": "65cd03d3.cd933c",
\r
1848 "type": "outcome",
\r
1850 "xml": "<outcome value=''>",
\r
1853 "x": 702.952465057373,
\r
1854 "y": 5409.009107589722,
\r
1855 "z": "2d523017.81121",
\r
1863 "id": "55344fcf.542e2",
\r
1865 "name": "set availability-zone_length to 0",
\r
1866 "xml": "<set>\n<parameter name='aai.cloud-region.availability-zones.availability-zone_length' value='0' />\n",
\r
1868 "x": 1304.3811073303223,
\r
1869 "y": 5427.580345153809,
\r
1870 "z": "2d523017.81121",
\r
1874 "id": "5cdda0db.c6c79",
\r
1875 "type": "switchNode",
\r
1876 "name": "switch AZ max count > 0",
\r
1877 "xml": "<switch test='`$db.vf-model.avail-zone-max-count > 0`'>\n",
\r
1880 "x": 891.5239372253418,
\r
1881 "y": 5409.43741941452,
\r
1882 "z": "2d523017.81121",
\r
1891 "id": "689f8ebb.877dd",
\r
1892 "type": "outcomeTrue",
\r
1894 "xml": "<outcome value='true'>\n",
\r
1897 "x": 1094.3810443878174,
\r
1898 "y": 5383.723169326782,
\r
1899 "z": "2d523017.81121",
\r
1907 "id": "dd9a3b97.b39268",
\r
1908 "type": "outcomeFalse",
\r
1910 "xml": "<outcome value='false'>\n",
\r
1913 "x": 1095.8096656799316,
\r
1914 "y": 5428.008916854858,
\r
1915 "z": "2d523017.81121",
\r
1923 "id": "2bc8145e.9e6d7c",
\r
1924 "type": "execute",
\r
1925 "name": "execute PropertiesNode",
\r
1926 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
\r
1929 "x": 510.95240020751953,
\r
1930 "y": 177.1755828857422,
\r
1931 "z": "2d523017.81121",
\r
1937 "id": "794a160e.b68c48",
\r
1938 "type": "outcome",
\r
1940 "xml": "<outcome value=''>",
\r
1943 "x": 729.2857055664062,
\r
1944 "y": 1853.2470073699951,
\r
1945 "z": "2d523017.81121",
\r
1953 "id": "b4c0271b.8d9548",
\r
1954 "type": "switchNode",
\r
1955 "name": "switch ecomp-naming",
\r
1956 "xml": "<switch test='`$db.vf-model.ecomp-generated-naming`'>\n",
\r
1959 "x": 1106.9050941467285,
\r
1960 "y": 1753.961443901062,
\r
1961 "z": "2d523017.81121",
\r
1964 "1882b0bf.c2311f",
\r
1965 "2eeee2ce.d551be",
\r
1971 "id": "8d68e064.9148",
\r
1973 "name": "block : atomic",
\r
1974 "xml": "<block atomic=\"true\">",
\r
1977 "x": 875.0002059936523,
\r
1978 "y": 1853.247124671936,
\r
1979 "z": "2d523017.81121",
\r
1982 "b4c0271b.8d9548",
\r
1988 "id": "2eeee2ce.d551be",
\r
1989 "type": "outcome",
\r
1991 "xml": "<outcome value='N'>",
\r
1994 "x": 1293.333480834961,
\r
1995 "y": 1754.4375705718994,
\r
1996 "z": "2d523017.81121",
\r
2004 "id": "1882b0bf.c2311f",
\r
2005 "type": "outcome",
\r
2007 "xml": "<outcome value='Y'>",
\r
2010 "x": 1293.3334732055664,
\r
2011 "y": 1713.0090246200562,
\r
2012 "z": "2d523017.81121",
\r
2020 "id": "b8c05ccb.47683",
\r
2023 "xml": "<outcome value='Other'>\n",
\r
2026 "x": 1293.3334197998047,
\r
2027 "y": 1797.2947025299072,
\r
2028 "z": "2d523017.81121",
\r
2036 "id": "18523eea.6d6ad1",
\r
2039 "xml": "<block>\n",
\r
2040 "atomic": "false",
\r
2043 "x": 1430.476390838623,
\r
2044 "y": 1713.151891708374,
\r
2045 "z": "2d523017.81121",
\r
2051 "id": "109f5318.f22f2d",
\r
2054 "xml": "<outcome value='Other'>\n",
\r
2057 "x": 714.476432800293,
\r
2058 "y": 2207.866183280945,
\r
2059 "z": "2d523017.81121",
\r
2067 "id": "fa97f7fa.540fd8",
\r
2069 "name": "set tmp.vnf-name",
\r
2070 "xml": "<set>\n<parameter name='tmp.vnf-name' value=\"`$vnf-topology-operation-input.vnf-information.vnf-name`\" />\n",
\r
2072 "x": 880.238395690918,
\r
2073 "y": 2206.7234535217285,
\r
2074 "z": "2d523017.81121",
\r
2078 "id": "8d7fa952.98d108",
\r
2080 "name": "call GENERIC-RESOURCE-API:generate-unique-name",
\r
2081 "xml": "<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",
\r
2084 "x": 1765.3096733093262,
\r
2085 "y": 1903.0089440345764,
\r
2086 "z": "2d523017.81121",
\r
2089 "681ac6a0.a11838",
\r
2095 "id": "681ac6a0.a11838",
\r
2096 "type": "failure",
\r
2097 "name": "failure",
\r
2098 "xml": "<outcome value='failure'>\n",
\r
2101 "x": 2042.4524765014648,
\r
2102 "y": 1876.5804772377014,
\r
2103 "z": "2d523017.81121",
\r
2111 "id": "f4abec22.90002",
\r
2112 "type": "success",
\r
2113 "name": "success",
\r
2114 "xml": "<outcome value='success'>\n",
\r
2117 "x": 2047.2142219543457,
\r
2118 "y": 1921.9613881111145,
\r
2119 "z": "2d523017.81121",
\r
2127 "id": "b5dba753.21ae88",
\r
2129 "name": "set variables for generating unique name",
\r
2130 "xml": "<set>\n<parameter name='generate-unique-name-input.action' value='ASSIGN' />\n<parameter name='generate-unique-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='generate-unique-name-input.index-table-name' value='VNF_NAME_INDEX' />\n<parameter name='generate-unique-name-input.index-table-prefix-column' value='vnf_name_prefix' />\n<parameter name='generate-unique-name-input.name-table-type' value='VNF_INSTANCE' />\n<parameter name='generate-unique-name-input.prefix' value=\"`'z' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + $db.vf-model.nf-code`\" />\n",
\r
2132 "x": 1720.3099250793457,
\r
2133 "y": 1854.1042637825012,
\r
2134 "z": "2d523017.81121",
\r
2138 "id": "f9e4fa65.eb0968",
\r
2140 "name": "set tmp.vnf-name to generated name",
\r
2141 "xml": "<set>\n<parameter name='tmp.vnf-name' value='`$generate-unique-name-output.generated-name`' />\n",
\r
2143 "x": 2270.1186180114746,
\r
2144 "y": 1921.4374632835388,
\r
2145 "z": "2d523017.81121",
\r
2149 "id": "2febaea8.95a862",
\r
2150 "type": "switchNode",
\r
2151 "name": "switch naming-policy",
\r
2152 "xml": "<switch test='`$db.vf-model.naming-policy`'>\n",
\r
2155 "x": 1104.6906776428223,
\r
2156 "y": 1962.2470607757568,
\r
2157 "z": "2d523017.81121",
\r
2160 "8f7b27bf.e7e3a8",
\r
2166 "id": "8f7b27bf.e7e3a8",
\r
2167 "type": "outcome",
\r
2169 "xml": "<outcome value=''>",
\r
2172 "x": 1294.6906089782715,
\r
2173 "y": 1883.675615310669,
\r
2174 "z": "2d523017.81121",
\r
2182 "id": "b931038a.dea97",
\r
2185 "xml": "<outcome value='Other'>\n",
\r
2188 "x": 1294.9288482666016,
\r
2189 "y": 2011.056559562683,
\r
2190 "z": "2d523017.81121",
\r
2198 "id": "1ce185e2.fb229a",
\r
2200 "name": "block : atomic",
\r
2201 "xml": "<block atomic=\"true\">",
\r
2204 "x": 1447.5478782653809,
\r
2205 "y": 1882.2470817565918,
\r
2206 "z": "2d523017.81121",
\r
2209 "b5dba753.21ae88",
\r
2215 "id": "17d076a4.213ab9",
\r
2217 "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",
\r
2218 "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",
\r
2221 "x": 1786.595802307129,
\r
2222 "y": 2026.7709412574768,
\r
2223 "z": "2d523017.81121",
\r
2232 "id": "42c58d7a.bc5884",
\r
2234 "name": "block : atomic",
\r
2235 "xml": "<block atomic=\"true\">",
\r
2238 "x": 1449.4526977539062,
\r
2239 "y": 2011.056559562683,
\r
2240 "z": "2d523017.81121",
\r
2243 "9ce0b71c.18bda8",
\r
2249 "id": "9ce0b71c.18bda8",
\r
2251 "name": "set variables for generating name",
\r
2252 "xml": "<set>\n<parameter name='naming-policy-generate-name-input.policy-instance-name' value='`$db.vf-model.naming-policy`' />\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='ASSIGN' />\n<parameter name='naming-policy-generate-name-input.query-parameter' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />",
\r
2254 "x": 1696.595718383789,
\r
2255 "y": 1981.05659532547,
\r
2256 "z": "2d523017.81121",
\r
2260 "id": "efe8f3b.6be4a1",
\r
2262 "name": "set tmp.vnf-name to generated name",
\r
2263 "xml": "<set>\n<parameter name='tmp.vnf-name' value='`$naming-policy-generate-name-output.vnf-name`' />\n",
\r
2265 "x": 2346.4527740478516,
\r
2266 "y": 2046.770751953125,
\r
2267 "z": "2d523017.81121",
\r
2271 "id": "f54d4b54.f29d58",
\r
2273 "name": "block : atomic",
\r
2274 "xml": "<block atomic=\"true\">",
\r
2277 "x": 1585.7142028808594,
\r
2278 "y": 6319.317764282227,
\r
2279 "z": "2d523017.81121",
\r
2282 "48898d5.e385374",
\r
2283 "748556dc.ead268",
\r
2290 "id": "748556dc.ead268",
\r
2292 "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",
\r
2293 "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",
\r
2296 "x": 1964.285629272461,
\r
2297 "y": 6294.460662126541,
\r
2298 "z": "2d523017.81121",
\r
2304 "id": "48898d5.e385374",
\r
2306 "name": "set variables for deleting name",
\r
2307 "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",
\r
2309 "x": 1865.7142486572266,
\r
2310 "y": 6247.317733049393,
\r
2311 "z": "2d523017.81121",
\r
2315 "id": "b779e958.044168",
\r
2316 "type": "comment",
\r
2317 "name": "Unassign the VNF name",
\r
2320 "x": 1731.6665725708008,
\r
2321 "y": 6187.889232873917,
\r
2322 "z": "2d523017.81121",
\r
2326 "id": "7ca77e3f.200f2",
\r
2327 "type": "failure",
\r
2328 "name": "failure",
\r
2329 "xml": "<outcome value='failure'>\n",
\r
2332 "x": 2084.761848449707,
\r
2333 "y": 2001.6994485855103,
\r
2334 "z": "2d523017.81121",
\r
2342 "id": "edded880.2d4e08",
\r
2343 "type": "success",
\r
2344 "name": "success",
\r
2345 "xml": "<outcome value='success'>\n",
\r
2348 "x": 2089.523593902588,
\r
2349 "y": 2047.0803594589233,
\r
2350 "z": "2d523017.81121",
\r
2358 "id": "8e72cfc8.575e",
\r
2360 "name": "block : atomic",
\r
2361 "xml": "<block atomic=\"true\">",
\r
2364 "x": 739.9999465942383,
\r
2365 "y": 1356.666666984558,
\r
2366 "z": "2d523017.81121",
\r
2369 "46dd139e.86081c",
\r
2375 "id": "87cefff2.af896",
\r
2377 "name": "for each instance group id",
\r
2378 "xml": "<for silentFailure='true' index='inst-group-index' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids_length`' >\n",
\r
2381 "x": 523.3332939147949,
\r
2382 "y": 1357.333312034607,
\r
2383 "z": "2d523017.81121",
\r
2391 "id": "46dd139e.86081c",
\r
2392 "type": "get-resource",
\r
2393 "name": "get-resource instance-group",
\r
2394 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"instance-group\" \n\t\tkey=\"instance-group.id = $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\"\n pfx='aai.instance-group' local-only='false' >\n\n",
\r
2397 "x": 967.9999847412109,
\r
2398 "y": 1288.3334255218506,
\r
2399 "z": "2d523017.81121",
\r
2402 "113b83c3.c5f2cc",
\r
2408 "id": "1095d6a8.eb1ea9",
\r
2409 "type": "failure",
\r
2410 "name": "failure",
\r
2411 "xml": "<outcome value='failure'>\n",
\r
2414 "x": 1185.5792770385742,
\r
2415 "y": 1319.8174781799316,
\r
2416 "z": "2d523017.81121",
\r
2424 "id": "113b83c3.c5f2cc",
\r
2425 "type": "not-found",
\r
2426 "name": "not-found",
\r
2427 "xml": "<outcome value='not-found'>\n",
\r
2430 "x": 1194.5081100463867,
\r
2431 "y": 1256.4366302490234,
\r
2432 "z": "2d523017.81121",
\r
2440 "id": "761b2c43.67ef34",
\r
2442 "name": "for each relationship",
\r
2443 "xml": "<for index='rel-index' start='0' end='`$aai.instance-group.relationship-list.relationship_length`' >\n",
\r
2446 "x": 944.9999618530273,
\r
2447 "y": 1428.3333644866943,
\r
2448 "z": "2d523017.81121",
\r
2456 "id": "ef07f13d.87a9",
\r
2457 "type": "switchNode",
\r
2458 "name": "switch related-to",
\r
2459 "xml": "<switch test='`$aai.instance-group.relationship-list.relationship[$rel-index].related-to`'>\n",
\r
2462 "x": 1158.3334045410156,
\r
2463 "y": 1428.333303451538,
\r
2464 "z": "2d523017.81121",
\r
2472 "id": "df5b0cc3.ccd9a",
\r
2473 "type": "outcome",
\r
2474 "name": "collection",
\r
2475 "xml": "<outcome value='collection'>\n",
\r
2478 "x": 1330.00004196167,
\r
2479 "y": 1428.3333854675293,
\r
2480 "z": "2d523017.81121",
\r
2488 "id": "98da2133.07fbe",
\r
2489 "type": "get-resource",
\r
2490 "name": "get-resource collection",
\r
2491 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"collection\" \n\t\tkey=\"collection.collection-id = $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n pfx='aai.collection' local-only='false' >\n\n",
\r
2494 "x": 1549.9999465942383,
\r
2495 "y": 1426.6666469573975,
\r
2496 "z": "2d523017.81121",
\r
2499 "c6ab56ad.e1e918",
\r
2506 "id": "c4f813df.f6eb3",
\r
2507 "type": "failure",
\r
2508 "name": "failure",
\r
2509 "xml": "<outcome value='failure'>\n",
\r
2512 "x": 1764.2461395263672,
\r
2513 "y": 1378.1508359909058,
\r
2514 "z": "2d523017.81121",
\r
2522 "id": "c6ab56ad.e1e918",
\r
2523 "type": "not-found",
\r
2524 "name": "not-found",
\r
2525 "xml": "<outcome value='not-found'>\n",
\r
2528 "x": 1773.1747360229492,
\r
2529 "y": 1336.4365692138672,
\r
2530 "z": "2d523017.81121",
\r
2538 "id": "fa511cd0.4acf7",
\r
2539 "type": "success",
\r
2540 "name": "success",
\r
2541 "xml": "<outcome value='success'>\n",
\r
2544 "x": 1783.33345413208,
\r
2545 "y": 1539.9999542236328,
\r
2546 "z": "2d523017.81121",
\r
2554 "id": "2caf3e47.5abe82",
\r
2556 "name": "block : atomic",
\r
2557 "xml": "<block atomic=\"true\">",
\r
2560 "x": 1936.6665954589844,
\r
2561 "y": 1539.3332500457764,
\r
2562 "z": "2d523017.81121",
\r
2565 "889214a0.071c58",
\r
2566 "61c009cd.371838",
\r
2567 "1b8b156c.6c083b",
\r
2574 "id": "889214a0.071c58",
\r
2576 "name": "for each network-instance-group",
\r
2577 "xml": "<for silentFailure='true' index='nig-index' start='0' end='`$service-data.network-instance-groups.network-instance-group_length`' >\n",
\r
2580 "x": 2249.2857360839844,
\r
2581 "y": 1488.5715045928955,
\r
2582 "z": "2d523017.81121",
\r
2590 "id": "61c009cd.371838",
\r
2592 "name": "set found-network-instance-group to false",
\r
2593 "xml": "<set>\n<parameter name='found-network-instance-group' value='false' />\n",
\r
2595 "x": 2279.2856979370117,
\r
2596 "y": 1441.9048767089844,
\r
2597 "z": "2d523017.81121",
\r
2601 "id": "64d1075e.ee3f48",
\r
2602 "type": "switchNode",
\r
2603 "name": "network-instance-group-id matches?",
\r
2604 "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n == $service-data.network-instance-groups.network-instance-group[$nig-index].network-instance-group-id`'>\n",
\r
2607 "x": 2565.952247619629,
\r
2608 "y": 1488.5715036392212,
\r
2609 "z": "2d523017.81121",
\r
2617 "id": "e14a30ad.b266",
\r
2618 "type": "outcomeTrue",
\r
2620 "xml": "<outcome value='true'>\n",
\r
2623 "x": 2787.619026184082,
\r
2624 "y": 1488.5714683532715,
\r
2625 "z": "2d523017.81121",
\r
2633 "id": "338a6e83.74e682",
\r
2636 "xml": "<block>\n",
\r
2637 "atomic": "false",
\r
2640 "x": 2917.61905670166,
\r
2641 "y": 1488.5715446472168,
\r
2642 "z": "2d523017.81121",
\r
2645 "b65b391.a6cd9c8",
\r
2651 "id": "b65b391.a6cd9c8",
\r
2653 "name": "set found-network-instance-group to true",
\r
2654 "xml": "<set>\n<parameter name='found-network-instance-group' value='true' />\n",
\r
2656 "x": 3190.952423095703,
\r
2657 "y": 1463.5715236663818,
\r
2658 "z": "2d523017.81121",
\r
2662 "id": "5a856f0a.aefef",
\r
2665 "xml": "<break>\n",
\r
2667 "x": 3084.2860374450684,
\r
2668 "y": 1511.904893875122,
\r
2669 "z": "2d523017.81121",
\r
2673 "id": "1b8b156c.6c083b",
\r
2674 "type": "switchNode",
\r
2675 "name": "switch found-network-instance-group",
\r
2676 "xml": "<switch test='`$found-network-instance-group`'>\n",
\r
2679 "x": 2260.9523544311523,
\r
2680 "y": 1538.5714855194092,
\r
2681 "z": "2d523017.81121",
\r
2689 "id": "49805ef2.194a",
\r
2690 "type": "outcomeFalse",
\r
2692 "xml": "<outcome value='false'>\n",
\r
2695 "x": 2482.6192016601562,
\r
2696 "y": 1538.5715079307556,
\r
2697 "z": "2d523017.81121",
\r
2705 "id": "9e4b2f5.d8554d",
\r
2707 "name": "set tmp.vnf-network-collection_length to 0",
\r
2708 "xml": "<set>\n<parameter name='tmp.vnf-network-collection_length' value='0' />\n",
\r
2710 "x": 571.666633605957,
\r
2711 "y": 1308.3334436416626,
\r
2712 "z": "2d523017.81121",
\r
2716 "id": "79b15187.90b49",
\r
2718 "name": "set vnf-network-collection data",
\r
2719 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-instance-group-function'\n value='`$aai.instance-group.instance-group-function`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-instance-group-id'\n value='`$aai.instance-group.id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-collection-service-instance-id'\n value='`$service-data.network-instance-groups.network-instance-group[$nig-index].service-instance-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-collection-customization-uuid'\n value='`$aai.collection.collection-customization-id`' />\n",
\r
2721 "x": 2240.95267868042,
\r
2722 "y": 1586.904821395874,
\r
2723 "z": "2d523017.81121",
\r
2727 "id": "67373c69.98b004",
\r
2729 "name": "increment tmp.vnf-network-collection_length",
\r
2730 "xml": "<set>\n<parameter name='tmp.vnf-network-collection_length' value='`$tmp.vnf-network-collection_length + 1`' />\n",
\r
2732 "x": 2282.619384765625,
\r
2733 "y": 1633.5714893341064,
\r
2734 "z": "2d523017.81121",
\r
2738 "id": "5563a4c5.a199ec",
\r
2740 "name": "set vnf-network-collection_length",
\r
2741 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection_length'\n value='`$tmp.vnf-network-collection_length`' />\n",
\r
2743 "x": 550.8333282470703,
\r
2744 "y": 1565.8333930969238,
\r
2745 "z": "2d523017.81121",
\r
2749 "id": "a9b7ab72.63a7e8",
\r
2751 "name": "block : atomic",
\r
2752 "xml": "<block atomic=\"true\">",
\r
2755 "x": 668.6667098999023,
\r
2756 "y": 5898.80961894989,
\r
2757 "z": "2d523017.81121",
\r
2765 "id": "97421a9a.865f98",
\r
2767 "name": "for each instance group id",
\r
2768 "xml": "<for silentFailure='true' index='inst-group-index' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids_length`' >\n",
\r
2771 "x": 452.000057220459,
\r
2772 "y": 5899.476263999939,
\r
2773 "z": "2d523017.81121",
\r
2781 "id": "f0f08819.d9d3b8",
\r
2783 "name": "save generic-vnf relationship to instance-group",
\r
2784 "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"generic-vnf:relationship-list\"\n key=\"generic-vnf.vnf-id = $vnf-topology-operation-input.vnf-information.vnf-id\"\n force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"relationship-list.relationship[0].related-to\" value=\"instance-group\" />\n <parameter name=\"relationship-list.relationship[0].related-link\"\n value=\"`'/aai/v$/network/instance-groups/instance-group/'\n + $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id`\" />\n",
\r
2787 "x": 952.0000381469727,
\r
2788 "y": 5898.333299636841,
\r
2789 "z": "2d523017.81121",
\r
2798 "id": "7a8ee12f.371a6",
\r
2799 "type": "failure",
\r
2800 "name": "failure",
\r
2801 "xml": "<outcome value='failure'>\n",
\r
2804 "x": 1211.3572616577148,
\r
2805 "y": 5875.285715103149,
\r
2806 "z": "2d523017.81121",
\r
2814 "id": "1be782fa.92bfcd",
\r
2815 "type": "not-found",
\r
2816 "name": "not-found",
\r
2817 "xml": "<outcome value='not-found'>\n",
\r
2820 "x": 1219.9286918640137,
\r
2821 "y": 5919.57142829895,
\r
2822 "z": "2d523017.81121",
\r
2830 "id": "c41b6137.b6d4b",
\r
2831 "type": "switchNode",
\r
2832 "name": "switch subnet_length",
\r
2833 "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`'>\n",
\r
2836 "x": 1273.5714569091797,
\r
2837 "y": 4331.428667068481,
\r
2838 "z": "2d523017.81121",
\r
2848 "id": "f2057e5e.eaee4",
\r
2849 "type": "outcome",
\r
2851 "xml": "<outcome value=''>",
\r
2854 "x": 1446.4286193847656,
\r
2855 "y": 4294.285726547241,
\r
2856 "z": "2d523017.81121",
\r
2864 "id": "f813a06e.cb2a1",
\r
2865 "type": "outcome",
\r
2867 "xml": "<outcome value='0'>\n",
\r
2870 "x": 1447.8571891784668,
\r
2871 "y": 4332.856889724731,
\r
2872 "z": "2d523017.81121",
\r
2880 "id": "ce347497.746558",
\r
2883 "xml": "<outcome value='Other'>\n",
\r
2886 "x": 1446.428653717041,
\r
2887 "y": 4371.428281784058,
\r
2888 "z": "2d523017.81121",
\r
2896 "id": "7cc4f5b7.8976ac",
\r
2899 "xml": "<block>\n",
\r
2900 "atomic": "false",
\r
2903 "x": 1567.8572082519531,
\r
2904 "y": 4371.428548812866,
\r
2905 "z": "2d523017.81121",
\r
2908 "a129d9ae.667dd8",
\r
2914 "id": "82fb5a4d.e1f5b8",
\r
2916 "name": "set subnet_length to 0",
\r
2917 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data_length'\n value='0' />\n",
\r
2919 "x": 1639.2858123779297,
\r
2920 "y": 4302.856889724731,
\r
2921 "z": "2d523017.81121",
\r
2925 "id": "9ab83872.914ab8",
\r
2927 "name": "block : atomic",
\r
2928 "xml": "<block atomic=\"true\">",
\r
2931 "x": 256.74603271484375,
\r
2932 "y": 395.61908054351807,
\r
2933 "z": "2d523017.81121",
\r
2936 "2bc8145e.9e6d7c",
\r
2937 "49a698b9.947698",
\r
2939 "36f653c4.5383bc",
\r
2940 "16470885.0e3b37",
\r
2946 "id": "26e050ad.0575e",
\r
2949 "xml": "<block>\n",
\r
2950 "atomic": "false",
\r
2953 "x": 1909.047664642334,
\r
2954 "y": 4350.032744407654,
\r
2955 "z": "2d523017.81121",
\r
2958 "6613870.b132378",
\r
2966 "id": "8dc14ff8.fbd57",
\r
2968 "name": "clear aai.l3-network",
\r
2969 "xml": "<set>\n<parameter name='aai.l3-network.' value='' />\n",
\r
2971 "x": 1260.4762344360352,
\r
2972 "y": 3404.3182973861694,
\r
2973 "z": "2d523017.81121",
\r
2977 "id": "6ee99534.f9db3c",
\r
2980 "xml": "<break>\n",
\r
2982 "x": 3709.3330459594727,
\r
2983 "y": 4250.032426834106,
\r
2984 "z": "2d523017.81121",
\r
2988 "id": "85730c77.85f6e",
\r
2990 "name": "set found-network to false",
\r
2991 "xml": "<set>\n<parameter name='found-network' value='false' />\n",
\r
2993 "x": 1409.0476379394531,
\r
2994 "y": 3955.7468309402466,
\r
2995 "z": "2d523017.81121",
\r
2999 "id": "3979a64c.84ab9a",
\r
3001 "name": "block : atomic",
\r
3002 "xml": "<block atomic=\"true\">",
\r
3005 "x": 2380.7619438171387,
\r
3006 "y": 4110.032627105713,
\r
3007 "z": "2d523017.81121",
\r
3016 "id": "c4e4f6d8.6939d8",
\r
3017 "type": "switchNode",
\r
3018 "name": "switch found-network",
\r
3019 "xml": "<switch test='`$found-network`'>\n",
\r
3022 "x": 2572.1904907226562,
\r
3023 "y": 4140.032681465149,
\r
3024 "z": "2d523017.81121",
\r
3032 "id": "133789d2.fbdb36",
\r
3034 "name": "set found-network to true",
\r
3035 "xml": "<set>\n<parameter name='found-network' value='true' />\n",
\r
3037 "x": 3765.047924041748,
\r
3038 "y": 4204.3181076049805,
\r
3039 "z": "2d523017.81121",
\r
3043 "id": "8700444f.d17ae8",
\r
3044 "type": "outcomeTrue",
\r
3046 "xml": "<outcome value='true'>\n",
\r
3049 "x": 2740.7619819641113,
\r
3050 "y": 4140.0326108932495,
\r
3051 "z": "2d523017.81121",
\r
3059 "id": "4c345848.e3a208",
\r
3062 "xml": "<break>\n",
\r
3064 "x": 2870.762050628662,
\r
3065 "y": 4138.604004859924,
\r
3066 "z": "2d523017.81121",
\r
3070 "id": "c1ed15e6.f88648",
\r
3072 "name": "block : atomic",
\r
3073 "xml": "<block atomic=\"true\">",
\r
3076 "x": 1581.0476608276367,
\r
3077 "y": 4083.7469053268433,
\r
3078 "z": "2d523017.81121",
\r
3087 "id": "be46946a.165bb8",
\r
3088 "type": "switchNode",
\r
3089 "name": "switch found-network",
\r
3090 "xml": "<switch test='`$found-network`'>\n",
\r
3093 "x": 1791.0476150512695,
\r
3094 "y": 4155.746788978577,
\r
3095 "z": "2d523017.81121",
\r
3103 "id": "2f6a30a5.92d22",
\r
3104 "type": "outcomeTrue",
\r
3106 "xml": "<outcome value='true'>\n",
\r
3109 "x": 1959.6191062927246,
\r
3110 "y": 4155.746718406677,
\r
3111 "z": "2d523017.81121",
\r
3119 "id": "587b7976.a36108",
\r
3122 "xml": "<break>\n",
\r
3124 "x": 2089.6191749572754,
\r
3125 "y": 4154.318112373352,
\r
3126 "z": "2d523017.81121",
\r
3130 "id": "9fd39f7.3cbf46",
\r
3132 "name": "set subnet data",
\r
3133 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].ip-version'\n value='`$tmp.ip-version`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].subnet-id'\n value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].neutron-subnet-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].sdnc-subnet-id'\n value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].subnet-role'\n value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].subnet-name'\n value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].network-start-address'\n value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].network-start-address`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].gateway-address'\n value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].gateway-address`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].cidr-mask'\n value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].cidr-mask`' />\n",
\r
3135 "x": 2063.3334312438965,
\r
3136 "y": 4380.714490890503,
\r
3137 "z": "2d523017.81121",
\r
3141 "id": "d3095f31.7d4de",
\r
3142 "type": "switchNode",
\r
3143 "name": "switch dhcp-enabled",
\r
3144 "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].dhcp-enabled`'>\n",
\r
3147 "x": 2077.8572120666504,
\r
3148 "y": 4433.557444572449,
\r
3149 "z": "2d523017.81121",
\r
3152 "a8c627c.ce253d8",
\r
3158 "id": "a8c627c.ce253d8",
\r
3159 "type": "outcomeTrue",
\r
3161 "xml": "<outcome value='true'>\n",
\r
3164 "x": 2240.714376722063,
\r
3165 "y": 4412.1288022994995,
\r
3166 "z": "2d523017.81121",
\r
3174 "id": "39879203.ca3c2e",
\r
3175 "type": "outcomeFalse",
\r
3177 "xml": "<outcome value='false'>\n",
\r
3180 "x": 2239.2857093811035,
\r
3181 "y": 4457.843228340149,
\r
3182 "z": "2d523017.81121",
\r
3190 "id": "85e1593a.3a1828",
\r
3192 "name": "set dhcp-enabled to Y",
\r
3193 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].dhcp-enabled'\n value='Y' />\n",
\r
3195 "x": 2413.571575164795,
\r
3196 "y": 4410.700198173523,
\r
3197 "z": "2d523017.81121",
\r
3201 "id": "d7a92919.2d05e8",
\r
3203 "name": "set dhcp-enabled to N",
\r
3204 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].dhcp-enabled'\n value='N' />\n",
\r
3206 "x": 2410.714344024658,
\r
3207 "y": 4457.843228340149,
\r
3208 "z": "2d523017.81121",
\r
3212 "id": "6613870.b132378",
\r
3213 "type": "switchNode",
\r
3214 "name": "switch subnet-role",
\r
3215 "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role`'>\n",
\r
3218 "x": 2078.333381652832,
\r
3219 "y": 4262.605116844177,
\r
3220 "z": "2d523017.81121",
\r
3228 "id": "75942d08.2adc24",
\r
3229 "type": "outcome",
\r
3231 "xml": "<outcome value=''>",
\r
3234 "x": 2244.999984741211,
\r
3235 "y": 4262.604768753052,
\r
3236 "z": "2d523017.81121",
\r
3244 "id": "4010a065.68c26",
\r
3246 "name": "set subnet-role to NONE",
\r
3247 "xml": "<set>\n<parameter name='aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role' value='NONE' />\n",
\r
3249 "x": 2426.6667709350586,
\r
3250 "y": 4261.93842124939,
\r
3251 "z": "2d523017.81121",
\r
3255 "id": "722310bb.9f769",
\r
3256 "type": "switchNode",
\r
3257 "name": "switch ip-version",
\r
3258 "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].ip-version`'>\n",
\r
3261 "x": 2073.5717163085938,
\r
3262 "y": 4327.096222877502,
\r
3263 "z": "2d523017.81121",
\r
3266 "5fa58662.2f38f8",
\r
3272 "id": "5fa58662.2f38f8",
\r
3273 "type": "outcome",
\r
3275 "xml": "<outcome value='4'>\n",
\r
3278 "x": 2239.285858154297,
\r
3279 "y": 4308.524620056152,
\r
3280 "z": "2d523017.81121",
\r
3288 "id": "df8a7995.4fde48",
\r
3289 "type": "outcome",
\r
3291 "xml": "<outcome value='6'>\n",
\r
3294 "x": 2239.285820007324,
\r
3295 "y": 4349.953363418579,
\r
3296 "z": "2d523017.81121",
\r
3304 "id": "5516675c.dd67e8",
\r
3306 "name": "set tmp.ip-version to ipv4",
\r
3307 "xml": "<set>\n<parameter name='tmp.ip-version' value='ipv4' />\n",
\r
3309 "x": 2426.428623199463,
\r
3310 "y": 4307.667547225952,
\r
3311 "z": "2d523017.81121",
\r
3315 "id": "f2e70afd.b8c238",
\r
3317 "name": "set tmp.ip-version to ipv6",
\r
3318 "xml": "<set>\n<parameter name='tmp.ip-version' value='ipv6' />\n",
\r
3320 "x": 2425.000175476074,
\r
3321 "y": 4349.953365325928,
\r
3322 "z": "2d523017.81121",
\r
3326 "id": "b7e5144f.5264b8",
\r
3327 "type": "switchNode",
\r
3328 "name": "switch network-role",
\r
3329 "xml": "<switch test='`$db.vf-network-role-mapping[$role-index].network-role`'>\n",
\r
3332 "x": 705.9999084472656,
\r
3333 "y": 4335.333273887634,
\r
3334 "z": "2d523017.81121",
\r
3338 "272dba83.a8aed6",
\r
3339 "83078563.934988",
\r
3345 "id": "b3ca721f.fe335",
\r
3346 "type": "outcome",
\r
3348 "xml": "<outcome value=''>",
\r
3351 "x": 874.0951728820801,
\r
3352 "y": 4233.66668510437,
\r
3353 "z": "2d523017.81121",
\r
3361 "id": "272dba83.a8aed6",
\r
3364 "xml": "<outcome value='Other'>\n",
\r
3367 "x": 872.6665496826172,
\r
3368 "y": 4361.999873161316,
\r
3369 "z": "2d523017.81121",
\r
3377 "id": "15298732.e21cb9",
\r
3380 "xml": "<block>\n",
\r
3381 "atomic": "false",
\r
3384 "x": 1011.4761810302734,
\r
3385 "y": 4273.42826461792,
\r
3386 "z": "2d523017.81121",
\r
3392 "id": "4e569933.c14918",
\r
3393 "type": "get-resource",
\r
3394 "name": "get-resource VNF_RELATED_NETWORK_ROLE",
\r
3395 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VNF_RELATED_NETWORK_ROLE where vnf_customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid\n and network_role = $db.vf-network-role-mapping[$role-index].network-role'\n pfx='db.vnf-related-network-role[]'>\n\n",
\r
3398 "x": 1368.0000038146973,
\r
3399 "y": 4665.079788208008,
\r
3400 "z": "2d523017.81121",
\r
3403 "231fd20b.4ba7ee",
\r
3409 "id": "231fd20b.4ba7ee",
\r
3410 "type": "failure",
\r
3411 "name": "failure",
\r
3412 "xml": "<outcome value='failure'>\n",
\r
3415 "x": 1636.6666679382324,
\r
3416 "y": 4495.746629714966,
\r
3417 "z": "2d523017.81121",
\r
3425 "id": "7d447ac2.636e24",
\r
3426 "type": "success",
\r
3427 "name": "success",
\r
3428 "xml": "<outcome value='success'>\n",
\r
3431 "x": 1639.6666984558105,
\r
3432 "y": 4858.41314125061,
\r
3433 "z": "2d523017.81121",
\r
3441 "id": "75a86f84.f58c6",
\r
3443 "name": "block : atomic",
\r
3444 "xml": "<block atomic=\"true\">",
\r
3447 "x": 1806.0000038146973,
\r
3448 "y": 4856.412796020508,
\r
3449 "z": "2d523017.81121",
\r
3452 "ec2c65f9.047778",
\r
3453 "ef924ba7.f37c58",
\r
3454 "13bb35f5.a0401a",
\r
3456 "13a6411b.4f65df",
\r
3458 "dc960591.08f438",
\r
3459 "e90b4b31.6e7908",
\r
3465 "id": "225c2fa8.b622f",
\r
3466 "type": "outcome",
\r
3467 "name": "service-instance",
\r
3468 "xml": "<outcome value='service-instance'>\n",
\r
3471 "x": 2744.285472869873,
\r
3472 "y": 4028.651467323303,
\r
3473 "z": "2d523017.81121",
\r
3481 "id": "99500da8.54e39",
\r
3483 "name": "for each relationship data",
\r
3484 "xml": "<for silentFailure='true' index='db-data-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data_length`' >\n",
\r
3487 "x": 2969.7613105773926,
\r
3488 "y": 4029.0800971984863,
\r
3489 "z": "2d523017.81121",
\r
3497 "id": "ee0dc0db.eb114",
\r
3498 "type": "switchNode",
\r
3499 "name": "switch relationship-key",
\r
3500 "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-key`'>\n",
\r
3503 "x": 3204.9998817443848,
\r
3504 "y": 4027.413528442383,
\r
3505 "z": "2d523017.81121",
\r
3513 "id": "d270b105.8ac1a",
\r
3514 "type": "outcome",
\r
3515 "name": "service-instance.service-instance-id",
\r
3516 "xml": "<outcome value='service-instance.service-instance-id'>\n",
\r
3519 "x": 3471.4282417297363,
\r
3520 "y": 4027.413592338562,
\r
3521 "z": "2d523017.81121",
\r
3529 "id": "bda20892.371be8",
\r
3531 "name": "set network-service-instance-id",
\r
3532 "xml": "<set>\n<parameter name='network-service-instance-id'\n value='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-value`' />\n",
\r
3534 "x": 3765.000026702881,
\r
3535 "y": 4025.747007369995,
\r
3536 "z": "2d523017.81121",
\r
3540 "id": "ec2c65f9.047778",
\r
3541 "type": "execute",
\r
3542 "name": "generate network-topology-identifier-structure url",
\r
3543 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.network-topology-identifier-structure`\"/>\n <parameter name=\"outputPath\" value=\"tmp.part\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$network-service-instance-id`\"/>\n",
\r
3546 "x": 2125.3331718444824,
\r
3547 "y": 4552.080429077148,
\r
3548 "z": "2d523017.81121",
\r
3554 "id": "13bb35f5.a0401a",
\r
3555 "type": "execute",
\r
3556 "name": "execute RestApiCallNode - get network-topology-identifier-structure",
\r
3557 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ntis-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ntis\" />\n\n",
\r
3560 "x": 2182.33296585083,
\r
3561 "y": 4655.509169578552,
\r
3562 "z": "2d523017.81121",
\r
3570 "id": "ef924ba7.f37c58",
\r
3571 "type": "execute",
\r
3572 "name": "generate network-topology-identifier-structure url (part 2)",
\r
3573 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.part`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ntis-url\"/>\n <parameter name=\"target\" value=\"{network-id}\"/>\n <parameter name=\"replacement\" value=\"`$l3-network-id`\"/>\n",
\r
3576 "x": 2146.9997596740723,
\r
3577 "y": 4595.413772583008,
\r
3578 "z": "2d523017.81121",
\r
3584 "id": "59c331da.0d09b",
\r
3585 "type": "execute",
\r
3586 "name": "printContext",
\r
3587 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vnfa.log' />\n",
\r
3590 "x": 452.33337783813477,
\r
3591 "y": 4502.079788208008,
\r
3592 "z": "2d523017.81121",
\r
3598 "id": "3038b18e.e97b7e",
\r
3599 "type": "failure",
\r
3600 "name": "failure",
\r
3601 "xml": "<outcome value='failure'>\n",
\r
3604 "x": 2511.442153930664,
\r
3605 "y": 4655.259647369385,
\r
3606 "z": "2d523017.81121",
\r
3614 "id": "e36fed30.43efa",
\r
3616 "name": "set is-trunked and segmentation-id in vnf-network",
\r
3617 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].is-trunked'\n value='`$mdsal-ntis.network-topology-identifier-structure.is-trunked`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].segmentation-id'\n value='`$mdsal-ntis.network-topology-identifier-structure.segmentation-id`' />\n ",
\r
3619 "x": 2124.999988555908,
\r
3620 "y": 4715.746793746948,
\r
3621 "z": "2d523017.81121",
\r
3625 "id": "e8de30ac.6f904",
\r
3627 "name": "custom query: get owning entity",
\r
3628 "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"custom-query\"\n key=\"format = 'resource'\"\n force=\"true\"\n local-only=\"false\"\n pfx=\"tmp.AnAI-data.oe\">\n<parameter name=\"start[0]\" value=\"`'nodes/service-instances/service-instance?service-instance-id=' + $network-service-instance-id `\" />\n<parameter name=\"start_length\" value=\"1\" />\n<parameter name=\"query\" value=\"/query/owning-entity-fromService-instance\" /> \n",
\r
3631 "x": 2065.9998817443848,
\r
3632 "y": 4791.080276489258,
\r
3633 "z": "2d523017.81121",
\r
3642 "id": "bb11fe98.9b1b9",
\r
3643 "type": "failure",
\r
3644 "name": "failure",
\r
3645 "xml": "<outcome value='failure'>\n",
\r
3648 "x": 2276.2379302978516,
\r
3649 "y": 4769.74663066864,
\r
3650 "z": "2d523017.81121",
\r
3658 "id": "12e91c7e.074344",
\r
3659 "type": "not-found",
\r
3660 "name": "not-found",
\r
3661 "xml": "<outcome value='not-found'>\n",
\r
3664 "x": 2283.3808250427246,
\r
3665 "y": 4815.460855484009,
\r
3666 "z": "2d523017.81121",
\r
3674 "id": "eb288d10.2446b",
\r
3676 "name": "custom query: get tenant network",
\r
3677 "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"custom-query\"\n key=\"format = 'resource'\"\n force=\"true\"\n local-only=\"false\"\n pfx=\"tmp.AnAI-data.get-networks\">\n<parameter name=\"start[0]\" value=\"`'/business/owning-entities/owning-entity/' + $tmp.AnAI-data.oe.results[0].owning-entity.owning-entity-id `\" />\n<parameter name=\"start_length\" value=\"1\" />\n<parameter name=\"query\" value=\"`'/query/getNetworks?networkRole=' + $db.vnf-related-network-role[$rel-network-role-index].related-network-role\n + '&cloudRegionId=' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" /> \n",
\r
3680 "x": 2515.6666984558105,
\r
3681 "y": 4964.080413818359,
\r
3682 "z": "2d523017.81121",
\r
3685 "23ed24a4.2c91dc",
\r
3691 "id": "23ed24a4.2c91dc",
\r
3692 "type": "failure",
\r
3693 "name": "failure",
\r
3694 "xml": "<outcome value='failure'>\n",
\r
3697 "x": 2728.9047470092773,
\r
3698 "y": 4942.746912956238,
\r
3699 "z": "2d523017.81121",
\r
3707 "id": "b4f16506.66bd08",
\r
3708 "type": "not-found",
\r
3709 "name": "not-found",
\r
3710 "xml": "<outcome value='not-found'>\n",
\r
3713 "x": 2736.0476417541504,
\r
3714 "y": 4988.461137771606,
\r
3715 "z": "2d523017.81121",
\r
3723 "id": "e2f76977.fea098",
\r
3725 "name": "for each relationship",
\r
3726 "xml": "<for index='rel-index' start='0' end='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship_length`' >\n",
\r
3729 "x": 2482.6666984558105,
\r
3730 "y": 5090.0805587768555,
\r
3731 "z": "2d523017.81121",
\r
3739 "id": "586febb.af11914",
\r
3740 "type": "switchNode",
\r
3741 "name": "switch related-to",
\r
3742 "xml": "<switch test='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship[$rel-index].related-to`'>\n",
\r
3745 "x": 2680.6666984558105,
\r
3746 "y": 5090.0805587768555,
\r
3747 "z": "2d523017.81121",
\r
3755 "id": "1b7b682d.5dd008",
\r
3756 "type": "outcome",
\r
3757 "name": "vlan-tag",
\r
3758 "xml": "<outcome value='vlan-tag'>\n",
\r
3761 "x": 2850.6666984558105,
\r
3762 "y": 5090.0805587768555,
\r
3763 "z": "2d523017.81121",
\r
3771 "id": "9b43a30b.ab1c1",
\r
3773 "name": "block : atomic",
\r
3774 "xml": "<block atomic=\"true\">",
\r
3777 "x": 3018.6666984558105,
\r
3778 "y": 5088.0805587768555,
\r
3779 "z": "2d523017.81121",
\r
3782 "97d76a2c.076008",
\r
3783 "47618d94.b0d374",
\r
3789 "id": "97d76a2c.076008",
\r
3791 "name": "set vlan-tag-id",
\r
3792 "xml": "<set>\n<parameter name='vlan-tag-id' value='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value`' />\n",
\r
3794 "x": 3194.6666984558105,
\r
3795 "y": 5048.0805587768555,
\r
3796 "z": "2d523017.81121",
\r
3800 "id": "47618d94.b0d374",
\r
3801 "type": "get-resource",
\r
3802 "name": "get-resource vlan-tag",
\r
3803 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"vlan-tag\" \n\t\tkey=\"vlan-tag.vlan-tag-id = $vlan-tag-id\"\n pfx='aai.vlan-tag' local-only='false'\n>\n",
\r
3806 "x": 3216.6666984558105,
\r
3807 "y": 5106.0805587768555,
\r
3808 "z": "2d523017.81121",
\r
3811 "1f2ba326.d9772d",
\r
3817 "id": "1f2ba326.d9772d",
\r
3818 "type": "failure",
\r
3819 "name": "failure",
\r
3820 "xml": "<outcome value='failure'>\n",
\r
3823 "x": 3396.7143058776855,
\r
3824 "y": 5088.2236251831055,
\r
3825 "z": "2d523017.81121",
\r
3833 "id": "13a6411b.4f65df",
\r
3835 "name": "for each related network role",
\r
3836 "xml": "<for index='rel-network-role-index' start='0' end='`$db.vnf-related-network-role_length`' >\n",
\r
3839 "x": 2053.6666297912598,
\r
3840 "y": 5020.414123535156,
\r
3841 "z": "2d523017.81121",
\r
3849 "id": "668947e0.2f65c8",
\r
3851 "name": "block : atomic",
\r
3852 "xml": "<block atomic=\"true\">",
\r
3855 "x": 2258.6666297912598,
\r
3856 "y": 5021.747268676758,
\r
3857 "z": "2d523017.81121",
\r
3861 "e2f76977.fea098",
\r
3867 "id": "e90b4b31.6e7908",
\r
3868 "type": "switchNode",
\r
3869 "name": "switch rn-index",
\r
3870 "xml": "<switch test='`$rn-index`'>\n",
\r
3873 "x": 2014.6666297912598,
\r
3874 "y": 4910.080276489258,
\r
3875 "z": "2d523017.81121",
\r
3883 "id": "dc960591.08f438",
\r
3885 "name": "set rn-index to related network length",
\r
3886 "xml": "<set>\n<parameter name='rn-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network_length`' />\n",
\r
3888 "x": 2083.3332176208496,
\r
3889 "y": 4861.080129623413,
\r
3890 "z": "2d523017.81121",
\r
3894 "id": "896e1959.7fd6a8",
\r
3895 "type": "outcome",
\r
3897 "xml": "<outcome value=''>",
\r
3900 "x": 2178.6666297912598,
\r
3901 "y": 4910.080276489258,
\r
3902 "z": "2d523017.81121",
\r
3910 "id": "83542037.398bf",
\r
3912 "name": "set rn-index to 0",
\r
3913 "xml": "<set>\n<parameter name='rn-index' value='0' />\n",
\r
3915 "x": 2338.6666297912598,
\r
3916 "y": 4910.080276489258,
\r
3917 "z": "2d523017.81121",
\r
3921 "id": "986e7ac7.81d148",
\r
3923 "name": "set related-network data",
\r
3924 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].network-id'\n value='`$tmp.AnAI-data.get-networks.results[0].l3-network.network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].network-role'\n value='`$tmp.AnAI-data.get-networks.results[0].l3-network.network-role`' />\n",
\r
3926 "x": 2486.3332862854004,
\r
3927 "y": 5020.747100830078,
\r
3928 "z": "2d523017.81121",
\r
3932 "id": "56b41d87.a09d94",
\r
3934 "name": "set new related network length",
\r
3935 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network_length'\n value='`$rn-index + 1`' />\n",
\r
3937 "x": 2048.6666984558105,
\r
3938 "y": 5164.080413818359,
\r
3939 "z": "2d523017.81121",
\r
3943 "id": "fbf7fa7c.23d608",
\r
3944 "type": "success",
\r
3945 "name": "success",
\r
3946 "xml": "<outcome value='success'>\n",
\r
3949 "x": 3398.6666984558105,
\r
3950 "y": 5136.080413818359,
\r
3951 "z": "2d523017.81121",
\r
3959 "id": "dc2e5d86.8c21f",
\r
3961 "name": "set related-network data",
\r
3962 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.vlan-interface'\n value='`$aai.vlan-tag.vlan-tag-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.upper-tag-id'\n value='`$aai.vlan-tag.vlan-id-outer`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.lower-tag-id'\n value='`$aai.vlan-tag.vlan-id-inner`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.is-private'\n value='`$aai.vlan-tag.is-private`' />\n",
\r
3964 "x": 3590.6666984558105,
\r
3965 "y": 5136.080413818359,
\r
3966 "z": "2d523017.81121",
\r
3970 "id": "1bf4c98d.f9c076",
\r
3973 "xml": "<break>\n",
\r
3975 "x": 3168.6666984558105,
\r
3976 "y": 5174.080413818359,
\r
3977 "z": "2d523017.81121",
\r
3981 "id": "2f24f627.1d687a",
\r
3982 "type": "comment",
\r
3983 "name": "temporary data issue: also ignore string \"null\" and \"NULL\"",
\r
3986 "x": 845.0000114440918,
\r
3987 "y": 4193.842397689819,
\r
3988 "z": "2d523017.81121",
\r
3992 "id": "83078563.934988",
\r
3993 "type": "outcome",
\r
3995 "xml": "<outcome value='null'>\n",
\r
3998 "x": 872.1428337097168,
\r
3999 "y": 4276.69953918457,
\r
4000 "z": "2d523017.81121",
\r
4008 "id": "5dd2d1e7.b5782",
\r
4009 "type": "outcome",
\r
4011 "xml": "<outcome value='NULL'>",
\r
4014 "x": 872.14284324646,
\r
4015 "y": 4319.556611061096,
\r
4016 "z": "2d523017.81121",
\r
4024 "id": "36f653c4.5383bc",
\r
4025 "type": "switchNode",
\r
4026 "name": "switch input cloud-owner",
\r
4027 "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.cloud-owner`'>\n",
\r
4030 "x": 511.6666564941406,
\r
4031 "y": 232.41365242004395,
\r
4032 "z": "2d523017.81121",
\r
4035 "6073cd09.c47954",
\r
4041 "id": "6073cd09.c47954",
\r
4044 "xml": "<outcome value=''>\n",
\r
4047 "x": 695.0000305175781,
\r
4048 "y": 202.41364097595215,
\r
4049 "z": "2d523017.81121",
\r
4057 "id": "60806490.79275c",
\r
4060 "xml": "<outcome value='Other'>\n",
\r
4063 "x": 694.7619361877441,
\r
4064 "y": 243.3661346435547,
\r
4065 "z": "2d523017.81121",
\r
4073 "id": "a192c343.146f",
\r
4076 "xml": "<block>\n",
\r
4077 "atomic": "false",
\r
4080 "x": 829.9999847412109,
\r
4081 "y": 200.74698066711426,
\r
4082 "z": "2d523017.81121",
\r
4088 "id": "7907b.f03a3f85",
\r
4090 "name": "set prop.cloud-region.cloud-owner",
\r
4091 "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$vnf-topology-operation-input.vnf-request-input.cloud-owner`' />\n",
\r
4093 "x": 911.6666412353516,
\r
4094 "y": 242.4136619567871,
\r
4095 "z": "2d523017.81121",
\r
4099 "id": "16470885.0e3b37",
\r
4101 "name": "call self-serve-vnf-forking-logic",
\r
4102 "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-forking-logic' mode='sync' >\n",
\r
4105 "x": 529.523811340332,
\r
4106 "y": 525.7142963409424,
\r
4107 "z": "2d523017.81121",
\r
4113 "id": "1caeb411.8cfeac",
\r
4114 "type": "switchNode",
\r
4115 "name": "switch ss.self-serve-flag",
\r
4116 "xml": "<switch test=\"`$ss.self-serve-flag`\">\n",
\r
4119 "x": 509.6665267944336,
\r
4120 "y": 691.2857837677002,
\r
4121 "z": "2d523017.81121",
\r
4124 "37f74e26.cb2452",
\r
4130 "id": "37f74e26.cb2452",
\r
4131 "type": "outcomeFalse",
\r
4133 "xml": "<outcome value='false'>\n",
\r
4136 "x": 721.3806838989258,
\r
4137 "y": 764.5710678100586,
\r
4138 "z": "2d523017.81121",
\r
4146 "id": "beba854c.d89668",
\r
4147 "type": "outcomeTrue",
\r
4149 "xml": "<outcome value='true'>\n",
\r
4152 "x": 720.9522018432617,
\r
4153 "y": 628.1429014205933,
\r
4154 "z": "2d523017.81121",
\r
4162 "id": "97a46274.9df5e",
\r
4164 "name": "block : atomic",
\r
4165 "xml": "<block atomic=\"true\">",
\r
4168 "x": 901.111141204834,
\r
4169 "y": 326.8888826370239,
\r
4170 "z": "2d523017.81121",
\r
4173 "2a1c1eb.da980e2",
\r
4179 "id": "df6715d9.ce37d8",
\r
4181 "name": "block : atomic",
\r
4182 "xml": "<block atomic=\"true\">",
\r
4185 "x": 901.111141204834,
\r
4186 "y": 375.46032428741455,
\r
4187 "z": "2d523017.81121",
\r
4190 "b8d206be.845728",
\r
4196 "id": "e48fe633.d5a078",
\r
4198 "name": "block : atomic",
\r
4199 "xml": "<block atomic=\"true\">",
\r
4202 "x": 903.9682579040527,
\r
4203 "y": 419.7460298538208,
\r
4204 "z": "2d523017.81121",
\r
4213 "id": "2a1c1eb.da980e2",
\r
4214 "type": "configure",
\r
4215 "name": "set error-message",
\r
4216 "xml": "<set>\n<parameter name=\"error-message\" value=\"If svc-action is 'assign' then request-action must be 'CreateVnfInstance'\" />\n",
\r
4219 "x": 1137.539722442627,
\r
4220 "y": 326.88887310028076,
\r
4221 "z": "2d523017.81121",
\r
4227 "id": "b8d206be.845728",
\r
4228 "type": "configure",
\r
4229 "name": "set error-message",
\r
4230 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_MODEL table\" />\n",
\r
4233 "x": 1136.1111335754395,
\r
4234 "y": 375.6031675338745,
\r
4235 "z": "2d523017.81121",
\r
4241 "id": "da0200d1.6944b",
\r
4242 "type": "configure",
\r
4243 "name": "set error-message",
\r
4244 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No model found for VNF customization UUID ' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />\n",
\r
4247 "x": 1136.1111335754395,
\r
4248 "y": 419.74602031707764,
\r
4249 "z": "2d523017.81121",
\r
4255 "id": "198f8218.7133ee",
\r
4257 "name": "call self-serve-vnf-assign",
\r
4258 "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-assign' mode='sync' >\n",
\r
4261 "x": 1171.9877891540527,
\r
4262 "y": 525.6072463989258,
\r
4263 "z": "2d523017.81121",
\r
4271 "id": "e83e7b2d.1d4268",
\r
4272 "type": "comment",
\r
4273 "name": "SELF-SERVE FORK",
\r
4276 "x": 891.4285430908203,
\r
4277 "y": 579.011926651001,
\r
4278 "z": "2d523017.81121",
\r
4282 "id": "d458bfd1.de073",
\r
4283 "type": "failure",
\r
4284 "name": "failure",
\r
4285 "xml": "<outcome value='failure'>\n",
\r
4288 "x": 1377.2853698730469,
\r
4289 "y": 525.0952777862549,
\r
4290 "z": "2d523017.81121",
\r
4298 "id": "da6cb5e4.41c2f8",
\r
4299 "type": "returnSuccess",
\r
4300 "name": "return success",
\r
4301 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
4303 "x": 1142.7299880981445,
\r
4304 "y": 727.5396060943604,
\r
4305 "z": "2d523017.81121",
\r
4309 "id": "828a78b6.35b498",
\r
4311 "name": "set vnf-level-oper-status to PendingCreate",
\r
4312 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
\r
4314 "x": 1235.099136352539,
\r
4315 "y": 577.099287033081,
\r
4316 "z": "2d523017.81121",
\r
4320 "id": "b15ef9f9.2e3088",
\r
4321 "type": "execute",
\r
4322 "name": "printContext",
\r
4323 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnfend.log' />\n",
\r
4326 "x": 1134.3014526367188,
\r
4327 "y": 627.5390634536743,
\r
4328 "z": "2d523017.81121",
\r
4334 "id": "4645b056.44eb1",
\r
4336 "name": "block : atomic",
\r
4337 "xml": "<block atomic=\"true\">",
\r
4340 "x": 911.5394134521484,
\r
4341 "y": 627.9999561309814,
\r
4342 "z": "2d523017.81121",
\r
4345 "198f8218.7133ee",
\r
4346 "828a78b6.35b498",
\r
4347 "b15ef9f9.2e3088",
\r
4348 "da6cb5e4.41c2f8",
\r
4354 "id": "6ec4e3b8.36b40c",
\r
4355 "type": "returnFailure",
\r
4356 "name": "return failure",
\r
4357 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
4359 "x": 1959.2064628601074,
\r
4360 "y": 777.6666669845581,
\r
4361 "z": "2d523017.81121",
\r
4365 "id": "ae382d33.4ff8e",
\r
4366 "type": "configure",
\r
4367 "name": "send error to MSO",
\r
4368 "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",
\r
4371 "x": 1978.5655097961426,
\r
4372 "y": 729.4661436080933,
\r
4373 "z": "2d523017.81121",
\r
4379 "id": "22c02af2.d4ee26",
\r
4381 "name": "block : atomic",
\r
4382 "xml": "<block atomic='true'>",
\r
4386 "x": 1766.9843826293945,
\r
4387 "y": 752.7462320327759,
\r
4388 "z": "2d523017.81121",
\r
4397 "id": "c261dd9e.7394e",
\r
4399 "name": "block : atomic",
\r
4400 "xml": "<block atomic=\"true\">",
\r
4403 "x": 1553.301658630371,
\r
4404 "y": 525.2857141494751,
\r
4405 "z": "2d523017.81121",
\r
4408 "6b697ba4.a67094",
\r
4414 "id": "6b697ba4.a67094",
\r
4415 "type": "configure",
\r
4416 "name": "set error-message",
\r
4417 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to create self-serve assignment for vnf with vnf-id=' + $vnf-topology-operation-input.vnf-information.vnf-id + ' with error: ' + $error-message`\" />\n",
\r
4420 "x": 1761.0795211791992,
\r
4421 "y": 497.19053077697754,
\r
4422 "z": "2d523017.81121",
\r
4428 "id": "86c22cc1.3260c",
\r
4429 "type": "configure",
\r
4430 "name": "send success to MSO",
\r
4431 "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"200\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",
\r
4434 "x": 1163.2539367675781,
\r
4435 "y": 673.6189651489258,
\r
4436 "z": "2d523017.81121",
\r
4442 "id": "853dab16.a11508",
\r
4443 "type": "configure",
\r
4444 "name": "set error-message",
\r
4445 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\n + ' already exists'`\" />\n",
\r
4448 "x": 2205.666618347168,
\r
4449 "y": 1201.666597366333,
\r
4450 "z": "2d523017.81121",
\r
4456 "id": "e351344c.af7228",
\r
4457 "type": "configure",
\r
4458 "name": "set error-message",
\r
4459 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Cannot find instance group id ' +\n $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n + ' in AAI'`\" />\n",
\r
4462 "x": 1582.7617416381836,
\r
4463 "y": 1256.476245880127,
\r
4464 "z": "2d523017.81121",
\r
4470 "id": "564bf42f.5df9ac",
\r
4471 "type": "configure",
\r
4472 "name": "set error-message",
\r
4473 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving instance-group from AAI\" />\n",
\r
4476 "x": 1582.761703491211,
\r
4477 "y": 1319.619031906128,
\r
4478 "z": "2d523017.81121",
\r
4484 "id": "33ec168e.11b45a",
\r
4485 "type": "configure",
\r
4486 "name": "set error-message",
\r
4487 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find AAI relationship from collection '\n + $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\n + ' to service instance'`\" />\n",
\r
4490 "x": 2177.333206176758,
\r
4491 "y": 1335.9523315429688,
\r
4492 "z": "2d523017.81121",
\r
4498 "id": "38b03742.d98548",
\r
4499 "type": "configure",
\r
4500 "name": "set error-message",
\r
4501 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to get network service instance '\n + $network-service-instance + ' from MD-SAL'`\" />\n",
\r
4504 "x": 2178.8094482421875,
\r
4505 "y": 1377.666732788086,
\r
4506 "z": "2d523017.81121",
\r
4512 "id": "56ab1164.7603f",
\r
4513 "type": "configure",
\r
4514 "name": "set error-message",
\r
4515 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Could not find network instance group ' +\n $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n + ' in MD-SAL service instance '\n + $network-service-instance`\" />\n",
\r
4518 "x": 2863.3335571289062,
\r
4519 "y": 1536.1904573440552,
\r
4520 "z": "2d523017.81121",
\r
4526 "id": "60b9af41.99ebd",
\r
4528 "name": "block : atomic",
\r
4529 "xml": "<block atomic='true'>",
\r
4533 "x": 2778.095329284668,
\r
4534 "y": 1987.6192593574524,
\r
4535 "z": "2d523017.81121",
\r
4538 "31b39cbf.523334",
\r
4544 "id": "31b39cbf.523334",
\r
4545 "type": "configure",
\r
4546 "name": "send error to MSO",
\r
4547 "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",
\r
4550 "x": 2985.787551879883,
\r
4551 "y": 1964.894714832306,
\r
4552 "z": "2d523017.81121",
\r
4558 "id": "706a1140.f4bf2",
\r
4559 "type": "returnFailure",
\r
4560 "name": "return failure",
\r
4561 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
4563 "x": 2966.4285049438477,
\r
4564 "y": 2013.0952382087708,
\r
4565 "z": "2d523017.81121",
\r
4569 "id": "67d1f32e.64262c",
\r
4571 "name": "block : atomic",
\r
4572 "xml": "<block atomic=\"true\">",
\r
4575 "x": 2000.6664962768555,
\r
4576 "y": 1199.9998836517334,
\r
4577 "z": "2d523017.81121",
\r
4580 "853dab16.a11508",
\r
4586 "id": "3d4ce14c.b56fbe",
\r
4588 "name": "block : atomic",
\r
4589 "xml": "<block atomic=\"true\">",
\r
4592 "x": 1370.999984741211,
\r
4593 "y": 1256.6664772033691,
\r
4594 "z": "2d523017.81121",
\r
4597 "e351344c.af7228",
\r
4603 "id": "6b5b96d7.f11058",
\r
4605 "name": "block : atomic",
\r
4606 "xml": "<block atomic=\"true\">",
\r
4609 "x": 1371.666358947754,
\r
4610 "y": 1319.3331823349,
\r
4611 "z": "2d523017.81121",
\r
4614 "564bf42f.5df9ac",
\r
4620 "id": "75f0b66c.711368",
\r
4622 "name": "block : atomic",
\r
4623 "xml": "<block atomic=\"true\">",
\r
4626 "x": 1959.9998779296875,
\r
4627 "y": 1336.3333625793457,
\r
4628 "z": "2d523017.81121",
\r
4631 "33ec168e.11b45a",
\r
4637 "id": "1cfc4c24.ab0124",
\r
4639 "name": "block : atomic",
\r
4640 "xml": "<block atomic=\"true\">",
\r
4643 "x": 1958.333251953125,
\r
4644 "y": 1378.333251953125,
\r
4645 "z": "2d523017.81121",
\r
4648 "38b03742.d98548",
\r
4654 "id": "a3ec7ac.ac12b88",
\r
4656 "name": "block : atomic",
\r
4657 "xml": "<block atomic=\"true\">",
\r
4660 "x": 2652.619094848633,
\r
4661 "y": 1536.9047193527222,
\r
4662 "z": "2d523017.81121",
\r
4671 "id": "da3712d9.f41f4",
\r
4673 "name": "block : atomic",
\r
4674 "xml": "<block atomic=\"true\">",
\r
4677 "x": 1459.0475540161133,
\r
4678 "y": 1771.9046249389648,
\r
4679 "z": "2d523017.81121",
\r
4682 "62fa2d49.68c884",
\r
4688 "id": "62fa2d49.68c884",
\r
4689 "type": "configure",
\r
4690 "name": "set error-message",
\r
4691 "xml": "<set>\n<parameter name=\"error-message\" value=\"No vnf-name was received but ecomp-generated-naming is not Y\" />\n",
\r
4694 "x": 1688.90478515625,
\r
4695 "y": 1772.3329601287842,
\r
4696 "z": "2d523017.81121",
\r
4702 "id": "6d7f13cc.8d975c",
\r
4704 "name": "block : atomic",
\r
4705 "xml": "<block atomic=\"true\">",
\r
4708 "x": 2211.9046783447266,
\r
4709 "y": 1875.7618045806885,
\r
4710 "z": "2d523017.81121",
\r
4713 "4b15fa7b.a37b24",
\r
4719 "id": "4b15fa7b.a37b24",
\r
4720 "type": "configure",
\r
4721 "name": "set error-message",
\r
4722 "xml": "<set>\n<parameter name=\"error-message\" value=\"`$generate-unique-name-output.error-message`\" />\n",
\r
4725 "x": 2420.0475540161133,
\r
4726 "y": 1875.3331956863403,
\r
4727 "z": "2d523017.81121",
\r
4733 "id": "702e58b3.200b38",
\r
4735 "name": "block : atomic",
\r
4736 "xml": "<block atomic=\"true\">",
\r
4739 "x": 2260.476104736328,
\r
4740 "y": 2001.9045372009277,
\r
4741 "z": "2d523017.81121",
\r
4750 "id": "20b0a05b.f52ee",
\r
4751 "type": "configure",
\r
4752 "name": "set error-message",
\r
4753 "xml": "<set>\n<parameter name=\"error-message\" value=\"Unable to generate VNF name\" />\n",
\r
4756 "x": 2483.3331604003906,
\r
4757 "y": 2002.3332080841064,
\r
4758 "z": "2d523017.81121",
\r
4764 "id": "5de10e3b.8401c",
\r
4771 "x": 2515.7144889831543,
\r
4772 "y": 2183.333490371704,
\r
4773 "z": "2d523017.81121",
\r
4776 "d15d28b1.ee4e78",
\r
4782 "id": "d15d28b1.ee4e78",
\r
4783 "type": "configure",
\r
4784 "name": "send error to MSO",
\r
4785 "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",
\r
4788 "x": 2688.406749725342,
\r
4789 "y": 2162.2756242752075,
\r
4790 "z": "2d523017.81121",
\r
4796 "id": "5678e145.3766c",
\r
4797 "type": "returnFailure",
\r
4798 "name": "return failure",
\r
4799 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
4801 "x": 2669.0477027893066,
\r
4802 "y": 2210.4761476516724,
\r
4803 "z": "2d523017.81121",
\r
4807 "id": "55ab3764.a14138",
\r
4809 "name": "block : atomic",
\r
4810 "xml": "<block atomic=\"true\">",
\r
4813 "x": 952.8571090698242,
\r
4814 "y": 2912.2857341766357,
\r
4815 "z": "2d523017.81121",
\r
4818 "f054f599.b671b8",
\r
4824 "id": "f054f599.b671b8",
\r
4825 "type": "configure",
\r
4826 "name": "set error-message",
\r
4827 "xml": "<set>\n<parameter name=\"error-message\" value=\"Cloud region not found in AAI\" />\n",
\r
4830 "x": 1151.428451538086,
\r
4831 "y": 2878.0000200271606,
\r
4832 "z": "2d523017.81121",
\r
4838 "id": "cbecda63.60f978",
\r
4840 "name": "block : atomic",
\r
4841 "xml": "<block atomic=\"true\">",
\r
4844 "x": 956.1904602050781,
\r
4845 "y": 2955.619020462036,
\r
4846 "z": "2d523017.81121",
\r
4855 "id": "7ff32092.da86f",
\r
4856 "type": "configure",
\r
4857 "name": "set error-message",
\r
4858 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving cloud region from AAI\" />\n",
\r
4861 "x": 1154.7618026733398,
\r
4862 "y": 2921.333306312561,
\r
4863 "z": "2d523017.81121",
\r
4869 "id": "9a466e25.4156f",
\r
4871 "name": "block : atomic",
\r
4872 "xml": "<block atomic=\"true\">",
\r
4875 "x": 814.5238952636719,
\r
4876 "y": 3134.619167327881,
\r
4877 "z": "2d523017.81121",
\r
4886 "id": "9a766ef3.dad01",
\r
4887 "type": "configure",
\r
4888 "name": "set error-message",
\r
4889 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find aic-clli in AAI for aic-cloud-region ' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n",
\r
4892 "x": 1024.5238876342773,
\r
4893 "y": 3113.190655708313,
\r
4894 "z": "2d523017.81121",
\r
4900 "id": "b319ef18.b3bad",
\r
4901 "type": "returnFailure",
\r
4902 "name": "return failure",
\r
4903 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
4905 "x": 1805.047737121582,
\r
4906 "y": 6390.475831985474,
\r
4907 "z": "2d523017.81121",
\r
4911 "id": "87f91dc6.de07b",
\r
4912 "type": "configure",
\r
4913 "name": "send error to MSO",
\r
4914 "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",
\r
4917 "x": 1822.692756652832,
\r
4918 "y": 6342.751573562622,
\r
4919 "z": "2d523017.81121",
\r
4925 "id": "2115eaa4.e5b146",
\r
4927 "name": "block : atomic",
\r
4928 "xml": "<block atomic=\"true\">",
\r
4931 "x": 1932.8570709228516,
\r
4932 "y": 3718.5708351135254,
\r
4933 "z": "2d523017.81121",
\r
4938 "acdf260b.352908",
\r
4944 "id": "d11043da.a1cb",
\r
4946 "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",
\r
4947 "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",
\r
4950 "x": 2311.428497314453,
\r
4951 "y": 3693.71373295784,
\r
4952 "z": "2d523017.81121",
\r
4958 "id": "c740bc4.11d1e4",
\r
4960 "name": "set variables for deleting name",
\r
4961 "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",
\r
4963 "x": 2212.8571166992188,
\r
4964 "y": 3646.5708038806915,
\r
4965 "z": "2d523017.81121",
\r
4969 "id": "65833.6b4487cd8",
\r
4970 "type": "comment",
\r
4971 "name": "Unassign the VNF name",
\r
4974 "x": 2230.238021850586,
\r
4975 "y": 3592.856448173523,
\r
4976 "z": "2d523017.81121",
\r
4980 "id": "a74a208c.91738",
\r
4981 "type": "returnFailure",
\r
4982 "name": "return failure",
\r
4983 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
4985 "x": 2152.190605163574,
\r
4986 "y": 3789.7289028167725,
\r
4987 "z": "2d523017.81121",
\r
4991 "id": "acdf260b.352908",
\r
4992 "type": "configure",
\r
4993 "name": "send error to MSO",
\r
4994 "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",
\r
4997 "x": 2169.835624694824,
\r
4998 "y": 3742.004644393921,
\r
4999 "z": "2d523017.81121",
\r
5005 "id": "5be8614b.d2283",
\r
5007 "name": "block : atomic",
\r
5008 "xml": "<block atomic=\"true\">",
\r
5011 "x": 1099.9999923706055,
\r
5012 "y": 3224.714331626892,
\r
5013 "z": "2d523017.81121",
\r
5016 "8a74d4c9.f4d158",
\r
5022 "id": "8a74d4c9.f4d158",
\r
5023 "type": "configure",
\r
5024 "name": "set error-message",
\r
5025 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_TO_NETWORK_ROLE_MAPPING table\" />\n",
\r
5028 "x": 1302.8571014404297,
\r
5029 "y": 3191.8572273254395,
\r
5030 "z": "2d523017.81121",
\r
5036 "id": "1b9558ce.3c84a7",
\r
5038 "name": "block : atomic",
\r
5039 "xml": "<block atomic=\"true\">",
\r
5042 "x": 1669.9999465942383,
\r
5043 "y": 3434.285619735718,
\r
5044 "z": "2d523017.81121",
\r
5053 "id": "f01f3cd.81c20c",
\r
5054 "type": "configure",
\r
5055 "name": "set error-message",
\r
5056 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find l3-network in AAI for network role ' + $db.vf-network-role-mapping[$role-index].network-role`\" />\n",
\r
5059 "x": 1881.4285507202148,
\r
5060 "y": 3402.8569107055664,
\r
5061 "z": "2d523017.81121",
\r
5067 "id": "f361b5ff.f38548",
\r
5069 "name": "block : atomic",
\r
5070 "xml": "<block atomic=\"true\">",
\r
5073 "x": 2690.4761276245117,
\r
5074 "y": 4655.667684555054,
\r
5075 "z": "2d523017.81121",
\r
5084 "id": "87fd5071.f5e61",
\r
5085 "type": "configure",
\r
5086 "name": "set error-message",
\r
5087 "xml": "<set>\n<parameter name=\"error-message\" value=\"`\n 'Error retrieving network-topology-identifier-structure for service instance '\n + $network-service-instance-id\n + ' and network-id '\n + $l3-network-id`\" />\n",
\r
5090 "x": 2901.9046325683594,
\r
5091 "y": 4624.238899230957,
\r
5092 "z": "2d523017.81121",
\r
5098 "id": "c3080a54.9b9f68",
\r
5100 "name": "block : atomic",
\r
5101 "xml": "<block atomic=\"true\">",
\r
5104 "x": 1803.1428604125977,
\r
5105 "y": 4496.048126220703,
\r
5106 "z": "2d523017.81121",
\r
5109 "67128ab5.195dd4",
\r
5115 "id": "67128ab5.195dd4",
\r
5116 "type": "configure",
\r
5117 "name": "set error-message",
\r
5118 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VNF_RELATED_NETWORK_ROLE table\" />\n",
\r
5121 "x": 2017.1428604125977,
\r
5122 "y": 4477.190979003906,
\r
5123 "z": "2d523017.81121",
\r
5129 "id": "b897f854.8a4f58",
\r
5131 "name": "block : atomic",
\r
5132 "xml": "<block atomic=\"true\">",
\r
5135 "x": 2447.6190872192383,
\r
5136 "y": 4771.667268753052,
\r
5137 "z": "2d523017.81121",
\r
5146 "id": "90365fab.e2211",
\r
5147 "type": "configure",
\r
5148 "name": "set error-message",
\r
5149 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error getting owning entity from service instance\" />\n",
\r
5152 "x": 2654.762107849121,
\r
5153 "y": 4747.381650924683,
\r
5154 "z": "2d523017.81121",
\r
5160 "id": "a1cce433.a5c9a8",
\r
5162 "name": "block : atomic",
\r
5163 "xml": "<block atomic=\"true\">",
\r
5166 "x": 2462.6190872192383,
\r
5167 "y": 4816.667268753052,
\r
5168 "z": "2d523017.81121",
\r
5171 "1a20c9fe.aa7526",
\r
5177 "id": "1a20c9fe.aa7526",
\r
5178 "type": "configure",
\r
5179 "name": "set error-message",
\r
5180 "xml": "<set>\n<parameter name=\"error-message\" value=\"Unable to find owning entity from service instance\" />\n",
\r
5183 "x": 2664.0477294921875,
\r
5184 "y": 4790.953462600708,
\r
5185 "z": "2d523017.81121",
\r
5191 "id": "3e5e2886.704ec8",
\r
5193 "name": "block : atomic",
\r
5194 "xml": "<block atomic=\"true\">",
\r
5197 "x": 2906.6664810180664,
\r
5198 "y": 4942.143200874329,
\r
5199 "z": "2d523017.81121",
\r
5202 "474a1c8f.5b8254",
\r
5208 "id": "474a1c8f.5b8254",
\r
5209 "type": "configure",
\r
5210 "name": "set error-message",
\r
5211 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error calling getNetworks custom query in AAI\" />\n",
\r
5214 "x": 3122.380844116211,
\r
5215 "y": 4912.143190383911,
\r
5216 "z": "2d523017.81121",
\r
5222 "id": "fb3762dd.d74d3",
\r
5224 "name": "block : atomic",
\r
5225 "xml": "<block atomic=\"true\">",
\r
5228 "x": 2918.3332290649414,
\r
5229 "y": 4987.143200874329,
\r
5230 "z": "2d523017.81121",
\r
5233 "d13c17c6.96baa8",
\r
5239 "id": "d13c17c6.96baa8",
\r
5240 "type": "configure",
\r
5241 "name": "set error-message",
\r
5242 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No l3-network returned from getNetworks custom query for related network role '\n + $db.vnf-related-network-role[0].related-network-role`\" />\n",
\r
5245 "x": 3134.047592163086,
\r
5246 "y": 4957.143190383911,
\r
5247 "z": "2d523017.81121",
\r
5253 "id": "cf0cc9f2.e1c008",
\r
5255 "name": "block : atomic",
\r
5256 "xml": "<block atomic=\"true\">",
\r
5259 "x": 3562.618698120117,
\r
5260 "y": 5088.333766937256,
\r
5261 "z": "2d523017.81121",
\r
5270 "id": "583a5088.c3e55",
\r
5271 "type": "configure",
\r
5272 "name": "set error-message",
\r
5273 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error getting vlan-tag object from AAI\" />\n",
\r
5276 "x": 3775.475830078125,
\r
5277 "y": 5061.190900802612,
\r
5278 "z": "2d523017.81121",
\r
5284 "id": "9615c407.df8ac8",
\r
5286 "name": "block : atomic",
\r
5287 "xml": "<block atomic=\"true\">",
\r
5290 "x": 3693.0952529907227,
\r
5291 "y": 5414.525018692017,
\r
5292 "z": "2d523017.81121",
\r
5295 "48c15a99.5b8364",
\r
5296 "981b8897.27de98",
\r
5297 "b2a30503.c3f7c8",
\r
5303 "id": "c725031e.3faf3",
\r
5304 "type": "returnFailure",
\r
5305 "name": "return failure",
\r
5306 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
5308 "x": 3903.8097076416016,
\r
5309 "y": 5474.253993988037,
\r
5310 "z": "2d523017.81121",
\r
5314 "id": "b2a30503.c3f7c8",
\r
5315 "type": "configure",
\r
5316 "name": "send error to MSO",
\r
5317 "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",
\r
5320 "x": 3923.168746948242,
\r
5321 "y": 5429.38673210144,
\r
5322 "z": "2d523017.81121",
\r
5328 "id": "981b8897.27de98",
\r
5330 "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",
\r
5331 "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",
\r
5334 "x": 4059.0476684570312,
\r
5335 "y": 5383.238904953003,
\r
5336 "z": "2d523017.81121",
\r
5342 "id": "48c15a99.5b8364",
\r
5344 "name": "set variables for deleting name",
\r
5345 "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",
\r
5347 "x": 3960.476287841797,
\r
5348 "y": 5336.0959758758545,
\r
5349 "z": "2d523017.81121",
\r
5353 "id": "4fcc2ec6.5268d",
\r
5355 "name": "block : atomic",
\r
5356 "xml": "<block atomic=\"true\">",
\r
5359 "x": 1669.9999313354492,
\r
5360 "y": 3484.2856159210205,
\r
5361 "z": "2d523017.81121",
\r
5370 "id": "75ca8e5d.ce23a",
\r
5371 "type": "configure",
\r
5372 "name": "set error-message",
\r
5373 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving l3-network from AAI\" />\n",
\r
5376 "x": 1881.4285354614258,
\r
5377 "y": 3452.856906890869,
\r
5378 "z": "2d523017.81121",
\r
5384 "id": "39a027a0.277908",
\r
5385 "type": "configure",
\r
5386 "name": "set error-message",
\r
5387 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find l3-network in AAI for network role ' + $db.vf-network-role-mapping[$role-index].network-role`\" />\n",
\r
5390 "x": 1805.71435546875,
\r
5391 "y": 4195.714210510254,
\r
5392 "z": "2d523017.81121",
\r
5398 "id": "d03cff5b.4eae8",
\r
5400 "name": "block : atomic",
\r
5401 "xml": "<block atomic=\"true\">",
\r
5404 "x": 1605.71435546875,
\r
5406 "z": "2d523017.81121",
\r
5409 "39a027a0.277908",
\r
5415 "id": "bb9178af.635d68",
\r
5416 "type": "comment",
\r
5417 "name": "Unassign the VNF name",
\r
5420 "x": 3824.285888671875,
\r
5421 "y": 5262.857421875,
\r
5422 "z": "2d523017.81121",
\r
5426 "id": "63585eee.6f434",
\r
5428 "name": "block : atomic",
\r
5429 "xml": "<block atomic=\"true\">",
\r
5432 "x": 1259.9999389648438,
\r
5433 "y": 5382.856773376465,
\r
5434 "z": "2d523017.81121",
\r
5437 "2dd248fd.0355f8",
\r
5443 "id": "2dd248fd.0355f8",
\r
5444 "type": "configure",
\r
5445 "name": "set error-message",
\r
5446 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No availability zones found in AAI for cloud region '\n + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n",
\r
5449 "x": 1462.8570709228516,
\r
5450 "y": 5364.28534412384,
\r
5451 "z": "2d523017.81121",
\r
5457 "id": "ac3d2a38.193128",
\r
5459 "name": "block : atomic",
\r
5460 "xml": "<block atomic=\"true\">",
\r
5463 "x": 1487.3811264038086,
\r
5464 "y": 5509.524040222168,
\r
5465 "z": "2d523017.81121",
\r
5474 "id": "fcb662f2.e888c",
\r
5475 "type": "configure",
\r
5476 "name": "set error-message",
\r
5477 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating generic-vnf in AAI\" />\n",
\r
5480 "x": 1688.8096771240234,
\r
5481 "y": 5489.524041175842,
\r
5482 "z": "2d523017.81121",
\r
5488 "id": "edd6eeb3.58833",
\r
5490 "name": "block : atomic",
\r
5491 "xml": "<block atomic=\"true\">",
\r
5494 "x": 1489.047752380371,
\r
5495 "y": 5552.857048034668,
\r
5496 "z": "2d523017.81121",
\r
5499 "ed7e59f3.736ce8",
\r
5505 "id": "ed7e59f3.736ce8",
\r
5506 "type": "configure",
\r
5507 "name": "set error-message",
\r
5508 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",
\r
5511 "x": 1690.476303100586,
\r
5512 "y": 5532.857048988342,
\r
5513 "z": "2d523017.81121",
\r
5519 "id": "1d23943a.cc401c",
\r
5521 "name": "block : atomic",
\r
5522 "xml": "<block atomic=\"true\">",
\r
5525 "x": 1346.904800415039,
\r
5526 "y": 5627.618696212769,
\r
5527 "z": "2d523017.81121",
\r
5530 "5db8f40e.5238ec",
\r
5536 "id": "5db8f40e.5238ec",
\r
5537 "type": "configure",
\r
5538 "name": "set error-message",
\r
5539 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating generic-vnf in AAI\" />\n",
\r
5542 "x": 1544.5833358764648,
\r
5543 "y": 5606.011522293091,
\r
5544 "z": "2d523017.81121",
\r
5550 "id": "48b115c8.09c9bc",
\r
5552 "name": "block : atomic",
\r
5553 "xml": "<block atomic=\"true\">",
\r
5556 "x": 1366.9642944335938,
\r
5557 "y": 5672.678614616394,
\r
5558 "z": "2d523017.81121",
\r
5561 "33966a0a.bc1c26",
\r
5567 "id": "33966a0a.bc1c26",
\r
5568 "type": "configure",
\r
5569 "name": "set error-message",
\r
5570 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",
\r
5573 "x": 1571.2500610351562,
\r
5574 "y": 5649.821611404419,
\r
5575 "z": "2d523017.81121",
\r
5581 "id": "b5f5454e.605518",
\r
5583 "name": "block : atomic",
\r
5584 "xml": "<block atomic=\"true\">",
\r
5587 "x": 782.6785583496094,
\r
5588 "y": 5782.29768371582,
\r
5589 "z": "2d523017.81121",
\r
5592 "5a2cf836.80cc88",
\r
5598 "id": "5a2cf836.80cc88",
\r
5599 "type": "configure",
\r
5600 "name": "set error-message",
\r
5601 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating selflink in generic-vnf in AAI\" />\n",
\r
5604 "x": 988.3928985595703,
\r
5605 "y": 5758.011829376221,
\r
5606 "z": "2d523017.81121",
\r
5612 "id": "fb7909b7.07d3a8",
\r
5614 "name": "block : atomic",
\r
5615 "xml": "<block atomic=\"true\">",
\r
5618 "x": 796.0118713378906,
\r
5619 "y": 5825.63117980957,
\r
5620 "z": "2d523017.81121",
\r
5629 "id": "840ebe47.1002a",
\r
5630 "type": "configure",
\r
5631 "name": "set error-message",
\r
5632 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",
\r
5635 "x": 1001.7262115478516,
\r
5636 "y": 5801.345325469971,
\r
5637 "z": "2d523017.81121",
\r
5643 "id": "b5b87fb0.590f",
\r
5645 "name": "block : atomic",
\r
5646 "xml": "<block atomic=\"true\">",
\r
5649 "x": 1376.059555053711,
\r
5650 "y": 5875.011758804321,
\r
5651 "z": "2d523017.81121",
\r
5654 "9605363d.80ae88",
\r
5660 "id": "9605363d.80ae88",
\r
5661 "type": "configure",
\r
5662 "name": "set error-message",
\r
5663 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating relationship in generic-vnf in AAI\" />\n",
\r
5666 "x": 1570.3452758789062,
\r
5667 "y": 5849.2977504730225,
\r
5668 "z": "2d523017.81121",
\r
5674 "id": "610d2304.a3d70c",
\r
5676 "name": "block : atomic",
\r
5677 "xml": "<block atomic=\"true\">",
\r
5680 "x": 1391.059555053711,
\r
5681 "y": 5918.345254898071,
\r
5682 "z": "2d523017.81121",
\r
5685 "70fd7745.526758",
\r
5691 "id": "70fd7745.526758",
\r
5692 "type": "configure",
\r
5693 "name": "set error-message",
\r
5694 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",
\r
5697 "x": 1585.3452758789062,
\r
5698 "y": 5892.6312465667725,
\r
5699 "z": "2d523017.81121",
\r
5705 "id": "b01ba289.b4c4d",
\r
5706 "type": "execute",
\r
5707 "name": "execute RestApiCallNode - PUT vnf",
\r
5708 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + 'vnf-data-assign.json'`\" />\n <parameter name='restapiUrl' value=\"`$prop.controller.url + $tmp.vnf.url`\" />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"vnf-assign\" />\n\n",
\r
5711 "x": 477.2378692626953,
\r
5712 "y": 6091.738591194153,
\r
5713 "z": "2d523017.81121",
\r
5716 "b8a25bcd.5c5768",
\r
5722 "id": "b8a25bcd.5c5768",
\r
5723 "type": "not-found",
\r
5724 "name": "not-found",
\r
5725 "xml": "<outcome value='not-found'>\n",
\r
5728 "x": 724.4506301879883,
\r
5729 "y": 6113.069312095642,
\r
5730 "z": "2d523017.81121",
\r
5738 "id": "336fda4d.6f39d6",
\r
5739 "type": "failure",
\r
5740 "name": "failure",
\r
5741 "xml": "<outcome value='failure'>\n",
\r
5744 "x": 716.879264831543,
\r
5745 "y": 6071.569332122803,
\r
5746 "z": "2d523017.81121",
\r
5754 "id": "dd704ec0.5452",
\r
5756 "name": "block : atomic",
\r
5757 "xml": "<block atomic=\"true\">",
\r
5760 "x": 892.475944519043,
\r
5761 "y": 6091.499786376953,
\r
5762 "z": "2d523017.81121",
\r
5765 "70b79c9a.11b3d4",
\r
5771 "id": "70b79c9a.11b3d4",
\r
5772 "type": "configure",
\r
5773 "name": "set error-message",
\r
5774 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error doing PUT of vnf-data\" />\n",
\r
5777 "x": 1098.1902542114258,
\r
5778 "y": 6057.213903427124,
\r
5779 "z": "2d523017.81121",
\r
5785 "id": "ebd11f4a.d9ea2",
\r
5786 "type": "configure",
\r
5787 "name": "send success to MSO",
\r
5788 "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"200\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",
\r
5791 "x": 423.1902313232422,
\r
5792 "y": 6242.214249610901,
\r
5793 "z": "2d523017.81121",
\r