3 "id": "ddf8122b.bf6e5",
8 "y": 115.04766654968262,
9 "z": "8e4867bc.5edaa8",
17 "id": "2fff1e3d.63ab82",
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": 332.2857131958008,
26 "y": 114.28574562072754,
27 "z": "8e4867bc.5edaa8",
35 "id": "5d7ec735.0c4ba8",
37 "name": "method validate-network-input-parameters",
38 "xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
41 "x": 289.91668701171875,
42 "y": 189.30068397521973,
43 "z": "8e4867bc.5edaa8",
51 "id": "c72cc377.3d6a98",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 573.9166946411133,
58 "y": 177.30070877075195,
59 "z": "8e4867bc.5edaa8",
68 "id": "846bb887.500c9",
70 "name": "switch svc-action",
71 "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
74 "x": 854.9166946411133,
75 "y": 172.3006944656372,
76 "z": "8e4867bc.5edaa8",
84 "id": "770a13b8.39f74c",
87 "xml": "<outcome value=''>",
90 "x": 1045.6309967041016,
91 "y": 173.30069541931152,
92 "z": "8e4867bc.5edaa8",
100 "id": "b2cafa38.2cf18",
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": 1220.0595474243164,
106 "y": 172.300687789917,
107 "z": "8e4867bc.5edaa8",
111 "id": "26516dd.068d212",
112 "type": "switchNode",
113 "name": "switch svc-action",
114 "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
117 "x": 155.91664123535156,
118 "y": 448.30070877075195,
119 "z": "8e4867bc.5edaa8",
131 "id": "3553ffe6.e3983",
134 "xml": "<outcome value='create'>\n",
137 "x": 357.4167251586914,
138 "y": 448.30070877075195,
139 "z": "8e4867bc.5edaa8",
147 "id": "dfd730e2.3d41a",
149 "name": "block : atomic",
150 "xml": "<block atomic=\"true\">",
153 "x": 523.4167327880859,
154 "y": 448.30070877075195,
155 "z": "8e4867bc.5edaa8",
163 "id": "786f42e8.a3ebcc",
165 "name": "for loop i - Network input parameters",
166 "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n",
170 "y": 109.01498413085938,
171 "z": "8e4867bc.5edaa8",
179 "id": "4662d843.0df85",
180 "type": "switchNode",
181 "name": "switch value",
182 "xml": "<switch test=\"`$tmp.value`\">\n",
185 "x": 2576.2022247314453,
186 "y": 366.01495361328125,
187 "z": "8e4867bc.5edaa8",
195 "id": "632316ae.127dd",
198 "xml": "<outcome value=''>",
201 "x": 2793.2021980285645,
202 "y": 365.01495933532715,
203 "z": "8e4867bc.5edaa8",
211 "id": "3f61b79e.239a58",
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": 2971.6309127807617,
217 "y": 366.01495933532715,
218 "z": "8e4867bc.5edaa8",
222 "id": "9543c13f.54a338",
224 "name": "deactivate",
225 "xml": "<outcome value='deactivate'>\n",
228 "x": 359.7142791748047,
229 "y": 606.4762363433838,
230 "z": "8e4867bc.5edaa8",
238 "id": "67e65045.59b8a8",
241 "xml": "<outcome value='delete'>\n",
244 "x": 363.42866134643555,
245 "y": 777.1907939910889,
246 "z": "8e4867bc.5edaa8",
254 "id": "72ab0083.c0d808",
257 "xml": "<outcome value='Other'>\n",
260 "x": 363.1905517578125,
261 "y": 950.6190795898438,
262 "z": "8e4867bc.5edaa8",
270 "id": "f0129720.1ef558",
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": 546.7620849609375,
276 "y": 951.2382202148438,
277 "z": "8e4867bc.5edaa8",
281 "id": "39c05252.332006",
288 "x": 1600.7142486572266,
289 "y": 258.761926651001,
290 "z": "8e4867bc.5edaa8",
300 "id": "b792e4c7.13b96",
301 "type": "switchNode",
302 "name": "switch request-action",
303 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
306 "x": 849.0000152587891,
307 "y": 337.7143363952637,
308 "z": "8e4867bc.5edaa8",
317 "id": "c5d42ffb.c9f0d8",
319 "name": "CreateNetworkInstance",
320 "xml": "<outcome value='CreateNetworkInstance'>",
323 "x": 1115.000015258789,
324 "y": 296.7143363952637,
325 "z": "8e4867bc.5edaa8",
333 "id": "69f739d0.28fca",
336 "xml": "<outcome value='Other'>",
339 "x": 1069.000015258789,
340 "y": 346.7143363952637,
341 "z": "8e4867bc.5edaa8",
349 "id": "a4f6f6a1.e1ab58",
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": 1238.000015258789,
355 "y": 346.7143363952637,
356 "z": "8e4867bc.5edaa8",
360 "id": "2a69c84.9676bb8",
362 "name": "block : atomic",
363 "xml": "<block atomic=\"true\">",
366 "x": 1340.000015258789,
367 "y": 285.7143363952637,
368 "z": "8e4867bc.5edaa8",
376 "id": "bd82571.4ad4228",
378 "name": "clear tmp-data",
379 "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
381 "x": 1792.7143096923828,
382 "y": 213.00002479553223,
383 "z": "8e4867bc.5edaa8",
387 "id": "ce182094.ef8a3",
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": 1781.7143096923828,
393 "y": 303.0000247955322,
394 "z": "8e4867bc.5edaa8",
398 "id": "6a5abb1b.52e074",
399 "type": "switchNode",
400 "name": "switch name",
401 "xml": "<switch test=\"`$tmp.name`\">\n",
404 "x": 1760.7143096923828,
405 "y": 397.0000247955322,
406 "z": "8e4867bc.5edaa8",
430 "id": "52effe4f.ac2ae8",
433 "xml": "<outcome value=''>",
436 "x": 2300.285598754883,
438 "z": "8e4867bc.5edaa8",
446 "id": "540cec23.3e0ea4",
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.network-request-input.network-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n",
451 "x": 2475.285598754883,
453 "z": "8e4867bc.5edaa8",
457 "id": "869a7fd8.50b75",
460 "xml": "<outcome value='name'>",
463 "x": 2277.285598754883,
465 "z": "8e4867bc.5edaa8",
473 "id": "407c2eba.5d49f8",
475 "name": "service-type",
476 "xml": "<outcome value='service-type'>",
479 "x": 2280.285598754883,
481 "z": "8e4867bc.5edaa8",
489 "id": "4c528719.50cae",
492 "xml": "<outcome value='sna2_name'>",
495 "x": 2284.285598754883,
497 "z": "8e4867bc.5edaa8",
505 "id": "174077c9.6c10c8",
507 "name": "site1-name",
508 "xml": "<outcome value='site1-name'>",
511 "x": 2281.285598754883,
513 "z": "8e4867bc.5edaa8",
521 "id": "4f610fc8.b35008",
523 "name": "site2-name",
524 "xml": "<outcome value='site2-name'>",
527 "x": 2277.285598754883,
529 "z": "8e4867bc.5edaa8",
537 "id": "10ff2035.1d4618",
540 "xml": "<outcome value='sna1_name'>",
543 "x": 2280.285598754883,
545 "z": "8e4867bc.5edaa8",
553 "id": "a67c5c2f.007308",
556 "xml": "<outcome value='pe1_id'>",
559 "x": 2284.285598754883,
561 "z": "8e4867bc.5edaa8",
569 "id": "8b639e89.f3549",
572 "xml": "<outcome value='pe2_id'>",
575 "x": 2287.285598754883,
577 "z": "8e4867bc.5edaa8",
585 "id": "d88cca1b.f3ea88",
588 "xml": "<outcome value='ac1-id'>",
591 "x": 2292.285598754883,
593 "z": "8e4867bc.5edaa8",
601 "id": "986570e4.376248",
604 "xml": "<outcome value='ac2-id'>",
607 "x": 2294.285598754883,
609 "z": "8e4867bc.5edaa8",
617 "id": "cd383e71.d36be8",
620 "xml": "<outcome value='ac1-ip'>",
623 "x": 2294.285598754883,
625 "z": "8e4867bc.5edaa8",
633 "id": "a1ba7fd7.d88d3",
636 "xml": "<outcome value='ac2-ip'>",
639 "x": 2296.285598754883,
641 "z": "8e4867bc.5edaa8",
649 "id": "a53ac3b.66852c",
651 "name": "ac1_peer_ip",
652 "xml": "<outcome value='ac1_peer_ip'>",
655 "x": 2298.285598754883,
657 "z": "8e4867bc.5edaa8",
665 "id": "3d95e365.11bc6c",
667 "name": "ac2_peer_ip",
668 "xml": "<outcome value='ac2_peer_ip'>",
671 "x": 2294.285598754883,
673 "z": "8e4867bc.5edaa8",
681 "id": "18048265.211a56",
684 "xml": "<outcome value='ac1_svlan'>",
687 "x": 2296.285598754883,
689 "z": "8e4867bc.5edaa8",
697 "id": "e570f120.c01b38",
700 "xml": "<outcome value='ac2_svlan'>",
703 "x": 2298.285598754883,
705 "z": "8e4867bc.5edaa8",
713 "id": "c1e4044f.d7929",
715 "name": "block : atomic",
716 "xml": "<block atomic=\"true\">",
719 "x": 532.5714111328125,
720 "y": 775.8572387695312,
721 "z": "8e4867bc.5edaa8",
729 "id": "4f4bf5a8.a829ac",
731 "name": "DeleteNetworkInstance",
732 "xml": "<outcome value='DeleteNetworkInstance'>",
735 "x": 965.2857055664062,
736 "y": 778.857177734375,
737 "z": "8e4867bc.5edaa8",
745 "id": "548cf43d.62af0c",
748 "xml": "<outcome value='Other'>",
751 "x": 1025.2857055664062,
752 "y": 908.857177734375,
753 "z": "8e4867bc.5edaa8",
761 "id": "5adf131e.a61cf4",
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": 1212.2857055664062,
767 "y": 909.857177734375,
768 "z": "8e4867bc.5edaa8",
772 "id": "562b1ef.a708d6",
774 "name": "block : atomic",
775 "xml": "<block atomic=\"true\">",
778 "x": 920.2857055664062,
779 "y": 978.857177734375,
780 "z": "8e4867bc.5edaa8",
789 "id": "253ad8eb.98869",
790 "type": "switchNode",
791 "name": "switch network-id",
792 "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
795 "x": 1074.28564453125,
796 "y": 1078.857177734375,
797 "z": "8e4867bc.5edaa8",
805 "id": "34e7b676.a0927a",
808 "xml": "<outcome value=''>",
811 "x": 1258.28564453125,
812 "y": 1081.857177734375,
813 "z": "8e4867bc.5edaa8",
821 "id": "8389ad47.02308",
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": 1414.71435546875,
827 "y": 1080.857177734375,
828 "z": "8e4867bc.5edaa8",
832 "id": "1c3c77bb.a2bfc",
835 "xml": "<outcome value='activate'>\n",
838 "x": 358.4285697937012,
839 "y": 540.7619791030884,
840 "z": "8e4867bc.5edaa8",
848 "id": "3c6d4ec3.c79d7a",
849 "type": "switchNode",
850 "name": "switch request-action",
851 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
854 "x": 541.2857360839844,
855 "y": 537.9048290252686,
856 "z": "8e4867bc.5edaa8",
865 "id": "bc964363.f267b",
867 "name": "ActivateDCINetworkInstance",
868 "xml": "<outcome value='ActivateDCINetworkInstance'>",
871 "x": 807.2857360839844,
872 "y": 496.90482902526855,
873 "z": "8e4867bc.5edaa8",
881 "id": "a1a12099.fb3058",
884 "xml": "<outcome value='Other'>",
887 "x": 761.2857360839844,
888 "y": 546.9048290252686,
889 "z": "8e4867bc.5edaa8",
897 "id": "7572ee8e.b0b5b8",
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": 930.2857360839844,
903 "y": 546.9048290252686,
904 "z": "8e4867bc.5edaa8",
908 "id": "a3300122.bf0e6",
910 "name": "block : atomic",
911 "xml": "<block atomic=\"true\">",
914 "x": 1032.2857360839844,
915 "y": 485.90482902526855,
916 "z": "8e4867bc.5edaa8",
924 "id": "e4ddb749.a4dd58",
926 "name": "DeActivateDCINetworkInstance",
927 "xml": "<outcome value='DeActivateDCINetworkInstance'>",
930 "x": 803.1429061889648,
931 "y": 608.1906299591064,
932 "z": "8e4867bc.5edaa8",
940 "id": "b415c4d7.ec51d8",
943 "xml": "<outcome value='Other'>",
946 "x": 718.1428985595703,
947 "y": 677.190637588501,
948 "z": "8e4867bc.5edaa8",
956 "id": "b678cd71.9eea48",
957 "type": "returnFailure",
958 "name": "return failure",
959 "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",
961 "x": 899.1429138183594,
962 "y": 678.190637588501,
963 "z": "8e4867bc.5edaa8",
967 "id": "7cd4d474.99df44",
969 "name": "call validate-overlay-network-input-parameters",
970 "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
973 "x": 1340.1510696411133,
974 "y": 487.3333520889282,
975 "z": "8e4867bc.5edaa8",
981 "id": "ff7f1b4f.30d5a8",
982 "type": "switchNode",
983 "name": "switch request-action",
984 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
987 "x": 539.9999618530273,
988 "y": 608.6664638519287,
989 "z": "8e4867bc.5edaa8",
998 "id": "4d5581d7.e27f88",
999 "type": "switchNode",
1000 "name": "switch request-action",
1001 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1006 "z": "8e4867bc.5edaa8",
1015 "id": "aeedc57a.12dee8",
1017 "name": "execute requiredParameter",
1018 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"network-topology-operation-input.network-information.network-id\" value=\"$network-topology-operation-input.network-information.network-id\"/>\n\n",
1023 "z": "8e4867bc.5edaa8",
1029 "id": "393b880c.5a2ab8",
1031 "name": "block : atomic",
1032 "xml": "<block atomic=\"true\">",
1035 "x": 1091.9999618530273,
1037 "z": "8e4867bc.5edaa8",
1046 "id": "46bbeff4.c42c88",
1047 "type": "switchNode",
1048 "name": "switch network-id",
1049 "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
1052 "x": 1245.999900817871,
1054 "z": "8e4867bc.5edaa8",
1062 "id": "147516eb.099cf9",
1065 "xml": "<outcome value=''>",
1068 "x": 1429.999900817871,
1070 "z": "8e4867bc.5edaa8",
1078 "id": "c957deec.097848",
1079 "type": "returnFailure",
1080 "name": "return failure",
1081 "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",
1083 "x": 1586.428611755371,
1085 "z": "8e4867bc.5edaa8",
1089 "id": "1fbe8bfb.465ce4",
1091 "name": "execute requiredParameters",
1092 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"network-topology-operation-input.network-information.network-id\" value=\"$network-topology-operation-input.network-information.network-id\"/>\n\n",
1095 "x": 1378.714256286621,
1096 "y": 607.142822265625,
1097 "z": "8e4867bc.5edaa8",