3 "id": "a6c81f95.1fa118",
7 "x": 100.99998092651367,
8 "y": 142.0476369857788,
9 "z": "65c9aaba.d47f7c",
17 "id": "a7b8fbd6.6571b8",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
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}'>",
25 "x": 346.28569412231445,
26 "y": 141.28571605682373,
27 "z": "65c9aaba.d47f7c",
35 "id": "45cf957f.7d2f24",
37 "name": "method validate-network-input-parameters",
38 "xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
41 "x": 303.9166679382324,
42 "y": 216.30065441131592,
43 "z": "65c9aaba.d47f7c",
51 "id": "c3df6ec7.366e",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 587.916675567627,
58 "y": 204.30067920684814,
59 "z": "65c9aaba.d47f7c",
68 "id": "3e0f268c.78cbaa",
70 "name": "switch svc-action",
71 "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
74 "x": 868.916675567627,
75 "y": 199.3006649017334,
76 "z": "65c9aaba.d47f7c",
84 "id": "8c7d88cf.19c588",
87 "xml": "<outcome value=''>",
90 "x": 1059.6309776306152,
91 "y": 200.30066585540771,
92 "z": "65c9aaba.d47f7c",
100 "id": "a12c30e5.545f9",
101 "type": "returnFailure",
102 "name": "return failure",
103 "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=\"sdnc-request-header.svc-request-id is a required input\" />\n",
105 "x": 1234.05952835083,
106 "y": 199.30065822601318,
107 "z": "65c9aaba.d47f7c",
111 "id": "5d08a6e7.19c55",
112 "type": "switchNode",
113 "name": "switch svc-action",
114 "xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
117 "x": 169.91662216186523,
118 "y": 475.30067920684814,
119 "z": "65c9aaba.d47f7c",
131 "id": "7698d5c.1143dac",
134 "xml": "<outcome value='create'>\n",
137 "x": 371.4167060852051,
138 "y": 475.30067920684814,
139 "z": "65c9aaba.d47f7c",
147 "id": "1379c979.4ffbd7",
149 "name": "block : atomic",
150 "xml": "<block atomic=\"true\">",
153 "x": 537.4167137145996,
154 "y": 475.30067920684814,
155 "z": "65c9aaba.d47f7c",
163 "id": "9bc1551b.7cbc08",
165 "name": "for loop i - Network input parameters",
166 "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
169 "x": 1736.6308555603027,
170 "y": 139.01494884490967,
171 "z": "65c9aaba.d47f7c",
179 "id": "4640e206.76b664",
180 "type": "switchNode",
181 "name": "switch value",
182 "xml": "<switch test=\"`$tmp.value`\">\n",
185 "x": 2590.202205657959,
186 "y": 393.01492404937744,
187 "z": "65c9aaba.d47f7c",
195 "id": "134be211.73f7be",
198 "xml": "<outcome value=''>",
201 "x": 2807.202178955078,
202 "y": 392.01492977142334,
203 "z": "65c9aaba.d47f7c",
211 "id": "d41b48b9.7616f8",
212 "type": "returnFailure",
213 "name": "return failure",
214 "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=\"`'network-request-input.network-input-parameters.param '+ $tmp.name +' is a required input'\" />\n",
216 "x": 2985.6308937072754,
217 "y": 393.01492977142334,
218 "z": "65c9aaba.d47f7c",
222 "id": "c834ebc1.b37db",
224 "name": "deactivate",
225 "xml": "<outcome value='deactivate'>\n",
228 "x": 373.71426010131836,
229 "y": 633.47620677948,
230 "z": "65c9aaba.d47f7c",
238 "id": "280a1dfa.b0ef12",
241 "xml": "<outcome value='delete'>\n",
244 "x": 377.4286422729492,
245 "y": 804.1907644271851,
246 "z": "65c9aaba.d47f7c",
254 "id": "40cce0a9.5132b8",
257 "xml": "<outcome value='Other'>\n",
260 "x": 375.1905212402344,
261 "y": 758.6190328598022,
262 "z": "65c9aaba.d47f7c",
270 "id": "1a84f642.1ab022",
271 "type": "returnFailure",
272 "name": "return failure",
273 "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=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
275 "x": 528.7620964050293,
276 "y": 761.2381768226624,
277 "z": "65c9aaba.d47f7c",
281 "id": "5138f56a.465374",
288 "x": 1614.7142295837402,
289 "y": 285.76189708709717,
290 "z": "65c9aaba.d47f7c",
300 "id": "97127fcd.491ca8",
301 "type": "switchNode",
302 "name": "switch request-action",
303 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
306 "x": 862.9999961853027,
307 "y": 364.71430683135986,
308 "z": "65c9aaba.d47f7c",
317 "id": "b86df3ce.626b8",
319 "name": "CreateNetworkInstance",
320 "xml": "<outcome value='CreateNetworkInstance'>",
323 "x": 1128.9999961853027,
324 "y": 323.71430683135986,
325 "z": "65c9aaba.d47f7c",
333 "id": "ff7737a8.55111",
336 "xml": "<outcome value='Other'>",
339 "x": 1082.9999961853027,
340 "y": 373.71430683135986,
341 "z": "65c9aaba.d47f7c",
349 "id": "64b48b9c.6474c4",
350 "type": "returnFailure",
351 "name": "return failure",
352 "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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=create\" />\n",
354 "x": 1251.9999961853027,
355 "y": 373.71430683135986,
356 "z": "65c9aaba.d47f7c",
360 "id": "b782b5c0.64daa8",
362 "name": "block : atomic",
363 "xml": "<block atomic=\"true\">",
366 "x": 1353.9999961853027,
367 "y": 312.71430683135986,
368 "z": "65c9aaba.d47f7c",
376 "id": "29c502b.740c77e",
378 "name": "clear tmp-data",
379 "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
381 "x": 1806.7142906188965,
382 "y": 239.99999523162842,
383 "z": "65c9aaba.d47f7c",
387 "id": "6b4d7b55.4c2ff4",
389 "name": "set tmp-data",
390 "xml": "<set>\n<parameter name='tmp.name' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'\"/>\n<parameter name='tmp.value' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'\"/>\n",
392 "x": 1795.7142906188965,
393 "y": 329.9999952316284,
394 "z": "65c9aaba.d47f7c",
398 "id": "9b824272.4adc6",
399 "type": "switchNode",
400 "name": "switch name",
401 "xml": "<switch test=\"'$tmp.name'\">\n",
404 "x": 1774.7142906188965,
405 "y": 423.9999952316284,
406 "z": "65c9aaba.d47f7c",
430 "id": "9dc924e4.d5eee8",
433 "xml": "<outcome value=''>",
436 "x": 2314.2855796813965,
437 "y": 926.9999704360962,
438 "z": "65c9aaba.d47f7c",
446 "id": "fd7cd54b.6b7b6",
447 "type": "returnFailure",
448 "name": "return failure",
449 "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=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
451 "x": 2489.2855796813965,
452 "y": 925.9999704360962,
453 "z": "65c9aaba.d47f7c",
457 "id": "d40dab22.2110d",
460 "xml": "<outcome value='name'>",
463 "x": 2291.2855796813965,
464 "y": 48.99997043609619,
465 "z": "65c9aaba.d47f7c",
473 "id": "d21b9753.5ddc7",
475 "name": "service-type",
476 "xml": "<outcome value='service-type'>",
479 "x": 2294.2855796813965,
480 "y": 115.99997043609619,
481 "z": "65c9aaba.d47f7c",
489 "id": "ea7a9601.54836",
492 "xml": "<outcome value='sna2_name'>",
495 "x": 2298.2855796813965,
496 "y": 344.9999704360962,
497 "z": "65c9aaba.d47f7c",
505 "id": "eb828f46.725928",
507 "name": "site1-name",
508 "xml": "<outcome value='site1-name'>",
511 "x": 2295.2855796813965,
512 "y": 176.9999704360962,
513 "z": "65c9aaba.d47f7c",
521 "id": "26f6f12.444ae0e",
523 "name": "site2-name",
524 "xml": "<outcome value='site2-name'>",
527 "x": 2291.2855796813965,
528 "y": 233.9999704360962,
529 "z": "65c9aaba.d47f7c",
537 "id": "79521d4d.d066fc",
540 "xml": "<outcome value='sna1_name'>",
543 "x": 2294.2855796813965,
544 "y": 290.9999704360962,
545 "z": "65c9aaba.d47f7c",
553 "id": "fcdaea7c.60c75",
556 "xml": "<outcome value='pe1_id'>",
559 "x": 2298.2855796813965,
560 "y": 395.9999704360962,
561 "z": "65c9aaba.d47f7c",
569 "id": "dd18a79d.ddd94",
572 "xml": "<outcome value='pe2_id'>",
575 "x": 2301.2855796813965,
576 "y": 443.9999704360962,
577 "z": "65c9aaba.d47f7c",
585 "id": "a1177f41.e35148",
588 "xml": "<outcome value='ac1-id'>",
591 "x": 2306.2855796813965,
592 "y": 492.9999704360962,
593 "z": "65c9aaba.d47f7c",
601 "id": "73ed196f.9f7c8",
604 "xml": "<outcome value='ac2-id'>",
607 "x": 2308.2855796813965,
608 "y": 547.9999704360962,
609 "z": "65c9aaba.d47f7c",
617 "id": "3464140a.8cc06c",
620 "xml": "<outcome value='ac1-ip'>",
623 "x": 2308.2855796813965,
624 "y": 599.9999704360962,
625 "z": "65c9aaba.d47f7c",
633 "id": "87259f41.87e1c8",
636 "xml": "<outcome value='ac2-ip'>",
639 "x": 2310.2855796813965,
640 "y": 660.9999704360962,
641 "z": "65c9aaba.d47f7c",
649 "id": "41479001.27e018",
651 "name": "ac1_peer_ip",
652 "xml": "<outcome value='ac1_peer_ip'>",
655 "x": 2312.2855796813965,
656 "y": 710.9999704360962,
657 "z": "65c9aaba.d47f7c",
665 "id": "19083ff5.a4af58",
667 "name": "ac2_peer_ip",
668 "xml": "<outcome value='ac2_peer_ip'>",
671 "x": 2308.2855796813965,
672 "y": 758.9999704360962,
673 "z": "65c9aaba.d47f7c",
681 "id": "d82aab4b.d86238",
684 "xml": "<outcome value='ac1_svlan'>",
687 "x": 2310.2855796813965,
688 "y": 811.9999704360962,
689 "z": "65c9aaba.d47f7c",
697 "id": "b73417db.a46ef8",
700 "xml": "<outcome value='ac2_svlan'>",
703 "x": 2312.2855796813965,
704 "y": 872.9999704360962,
705 "z": "65c9aaba.d47f7c",
713 "id": "389ea1d5.79e916",
715 "name": "block : atomic",
716 "xml": "<block atomic=\"true\">",
719 "x": 308.57141494750977,
720 "y": 885.857213973999,
721 "z": "65c9aaba.d47f7c",
729 "id": "1f448cd7.9ac43b",
731 "name": "DeleteNetworkInstance",
732 "xml": "<outcome value='DeleteNetworkInstance'>",
735 "x": 775.2857055664062,
736 "y": 798.857177734375,
737 "z": "65c9aaba.d47f7c",
745 "id": "bd139dc0.9ef408",
748 "xml": "<outcome value='Other'>",
751 "x": 835.2857055664062,
752 "y": 928.857177734375,
753 "z": "65c9aaba.d47f7c",
761 "id": "c3650164.8f94",
762 "type": "returnFailure",
763 "name": "return failure",
764 "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=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=delete\" />\n",
766 "x": 1022.2857055664062,
767 "y": 929.857177734375,
768 "z": "65c9aaba.d47f7c",
772 "id": "a7e9fd9d.eefae8",
774 "name": "block : atomic",
775 "xml": "<block atomic=\"true\">",
778 "x": 730.2857055664062,
779 "y": 998.857177734375,
780 "z": "65c9aaba.d47f7c",
789 "id": "374f47e5.09a2f",
790 "type": "switchNode",
791 "name": "switch network-id",
792 "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
795 "x": 884.28564453125,
796 "y": 1098.857177734375,
797 "z": "65c9aaba.d47f7c",
805 "id": "3a8b9cb2.91ca2c",
808 "xml": "<outcome value=''>",
811 "x": 1068.28564453125,
812 "y": 1101.857177734375,
813 "z": "65c9aaba.d47f7c",
821 "id": "ed90dada.d01dc8",
822 "type": "returnFailure",
823 "name": "return failure",
824 "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=\"network-request-input.network-input-parameters.name is a required input\" />\n",
826 "x": 1224.71435546875,
827 "y": 1100.857177734375,
828 "z": "65c9aaba.d47f7c",
832 "id": "5ba97181.5ecc78",
835 "xml": "<outcome value='activate'>\n",
838 "x": 372.42855072021484,
839 "y": 567.7619495391846,
840 "z": "65c9aaba.d47f7c",
848 "id": "3c576c37.cacc9c",
849 "type": "switchNode",
850 "name": "switch request-action",
851 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
854 "x": 555.285717010498,
855 "y": 564.9047994613647,
856 "z": "65c9aaba.d47f7c",
865 "id": "9ef27dfb.32967",
867 "name": "ActivateDCINetworkInstance",
868 "xml": "<outcome value='ActivateDCINetworkInstance'>",
871 "x": 821.285717010498,
872 "y": 523.9047994613647,
873 "z": "65c9aaba.d47f7c",
881 "id": "47a1d56.952aa2c",
884 "xml": "<outcome value='Other'>",
887 "x": 775.285717010498,
888 "y": 573.9047994613647,
889 "z": "65c9aaba.d47f7c",
897 "id": "66c486ba.242f98",
898 "type": "returnFailure",
899 "name": "return failure",
900 "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=\"request-information.request-action is required to be ActivateNetworkInstance for svc-action=activate\" />\n",
902 "x": 944.285717010498,
903 "y": 573.9047994613647,
904 "z": "65c9aaba.d47f7c",
908 "id": "b568716c.746398",
910 "name": "block : atomic",
911 "xml": "<block atomic=\"true\">",
914 "x": 1046.285717010498,
915 "y": 512.9047994613647,
916 "z": "65c9aaba.d47f7c",
924 "id": "ab14b358.9b8f7",
926 "name": "DeActivateDCINetworkInstance",
927 "xml": "<outcome value='DeActivateDCINetworkInstance'>",
930 "x": 817.1428871154785,
931 "y": 635.1906003952026,
932 "z": "65c9aaba.d47f7c",
938 "id": "afd0efcd.371a1",
941 "xml": "<outcome value='Other'>",
944 "x": 732.142879486084,
945 "y": 704.1906080245972,
946 "z": "65c9aaba.d47f7c",
954 "id": "b6887a7a.63ca6",
955 "type": "returnFailure",
956 "name": "return failure",
957 "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=\"request-information.request-action is required to be DeactivateNetworkInstance for svc-action=deactivate\" />\n",
959 "x": 913.142894744873,
960 "y": 705.1906080245972,
961 "z": "65c9aaba.d47f7c",
965 "id": "f1391d7b.3f3618",
967 "name": "call validate-overlay-network-input-parameters",
968 "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
971 "x": 1354.151050567627,
972 "y": 514.3333225250244,
973 "z": "65c9aaba.d47f7c",
979 "id": "2303dff.d38ae2",
980 "type": "switchNode",
981 "name": "switch request-action",
982 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
985 "x": 553.999942779541,
986 "y": 635.6664342880249,
987 "z": "65c9aaba.d47f7c",
996 "id": "54c12db0.6590dc",
997 "type": "switchNode",
998 "name": "switch request-action",
999 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1004 "z": "65c9aaba.d47f7c",
1013 "id": "8ad81c32.d34b9",
1015 "name": "execute requiredParameters",
1016 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"$network-topology-operation-input.network-information.network-id\" value=\"\"/>\n\n",
1021 "z": "65c9aaba.d47f7c",