3 "id": "4e4a1db5.e19994",
8 "y": 114.04766654968262,
9 "z": "32fe6314.d27544",
17 "id": "b00c6ebc.9f6148",
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": 314.2857131958008,
26 "y": 113.28574562072754,
27 "z": "32fe6314.d27544",
35 "id": "44d4c8c4.c3b998",
37 "name": "method validate-network-input-parameters",
38 "xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
41 "x": 271.91668701171875,
42 "y": 188.30068397521973,
43 "z": "32fe6314.d27544",
51 "id": "b1f5234e.374c1",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 555.9166946411133,
58 "y": 176.30070877075195,
59 "z": "32fe6314.d27544",
68 "id": "911dd6e7.3e5ce",
70 "name": "switch svc-action",
71 "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
74 "x": 836.9166946411133,
75 "y": 171.3006944656372,
76 "z": "32fe6314.d27544",
84 "id": "84d48b8c.b6753",
87 "xml": "<outcome value=''>",
90 "x": 1027.6309967041016,
91 "y": 172.30069541931152,
92 "z": "32fe6314.d27544",
100 "id": "7ddcb143.915a4",
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": 1202.0595474243164,
106 "y": 171.300687789917,
107 "z": "32fe6314.d27544",
111 "id": "30f2c5d1.5e680a",
112 "type": "switchNode",
113 "name": "switch svc-action",
114 "xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
117 "x": 137.91664123535156,
118 "y": 447.30070877075195,
119 "z": "32fe6314.d27544",
131 "id": "adae5694.342958",
134 "xml": "<outcome value='create'>\n",
137 "x": 339.4167251586914,
138 "y": 447.30070877075195,
139 "z": "32fe6314.d27544",
147 "id": "45ac8a67.1ab214",
149 "name": "block : atomic",
150 "xml": "<block atomic=\"true\">",
153 "x": 505.41673278808594,
154 "y": 447.30070877075195,
155 "z": "32fe6314.d27544",
163 "id": "d1354c61.d70e7",
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": 1704.630874633789,
170 "y": 111.01497840881348,
171 "z": "32fe6314.d27544",
179 "id": "560f8ff1.549fe8",
180 "type": "switchNode",
181 "name": "switch value",
182 "xml": "<switch test=\"`$tmp.value`\">\n",
185 "x": 2558.2022247314453,
186 "y": 365.01495361328125,
187 "z": "32fe6314.d27544",
195 "id": "35d7055a.4a3242",
198 "xml": "<outcome value=''>",
201 "x": 2775.2021980285645,
202 "y": 364.01495933532715,
203 "z": "32fe6314.d27544",
211 "id": "d860ff65.a2e1",
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": 2953.6309127807617,
217 "y": 365.01495933532715,
218 "z": "32fe6314.d27544",
222 "id": "500ad4c6.47f08c",
224 "name": "deactivate",
225 "xml": "<outcome value='deactivate'>\n",
228 "x": 341.7142791748047,
229 "y": 605.4762363433838,
230 "z": "32fe6314.d27544",
238 "id": "22013026.8cc88",
241 "xml": "<outcome value='delete'>\n",
244 "x": 345.42866134643555,
245 "y": 932.1907939910889,
246 "z": "32fe6314.d27544",
254 "id": "750fe4a3.ade904",
257 "xml": "<outcome value='Other'>\n",
260 "x": 343.1905403137207,
261 "y": 886.619062423706,
262 "z": "32fe6314.d27544",
270 "id": "3dd4d642.9cafa2",
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": 496.7621154785156,
276 "y": 889.2382063865662,
277 "z": "32fe6314.d27544",
281 "id": "f7be75b2.d145f8",
288 "x": 1582.7142486572266,
289 "y": 257.761926651001,
290 "z": "32fe6314.d27544",
300 "id": "97add15a.4cb3a8",
301 "type": "switchNode",
302 "name": "switch request-action",
303 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
306 "x": 831.0000152587891,
307 "y": 336.7143363952637,
308 "z": "32fe6314.d27544",
317 "id": "76502e63.ceb1a",
319 "name": "CreateNetworkInstance",
320 "xml": "<outcome value='CreateNetworkInstance'>",
323 "x": 1097.000015258789,
324 "y": 295.7143363952637,
325 "z": "32fe6314.d27544",
333 "id": "1255dbb4.75c26c",
336 "xml": "<outcome value='Other'>",
339 "x": 1051.000015258789,
340 "y": 345.7143363952637,
341 "z": "32fe6314.d27544",
349 "id": "dfb2157e.4f1ae",
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": 1220.000015258789,
355 "y": 345.7143363952637,
356 "z": "32fe6314.d27544",
360 "id": "afc2e177.f42c",
362 "name": "block : atomic",
363 "xml": "<block atomic=\"true\">",
366 "x": 1322.000015258789,
367 "y": 284.7143363952637,
368 "z": "32fe6314.d27544",
376 "id": "26bdae61.564c5a",
378 "name": "clear tmp-data",
379 "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
381 "x": 1774.7143096923828,
382 "y": 212.00002479553223,
383 "z": "32fe6314.d27544",
387 "id": "395e8b66.7b0f1c",
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": 1763.7143096923828,
393 "y": 302.0000247955322,
394 "z": "32fe6314.d27544",
398 "id": "84048547.624768",
399 "type": "switchNode",
400 "name": "switch name",
401 "xml": "<switch test=\"'$tmp.name'\">\n",
404 "x": 1742.7143096923828,
405 "y": 396.0000247955322,
406 "z": "32fe6314.d27544",
430 "id": "91870d3c.00766",
433 "xml": "<outcome value=''>",
436 "x": 2282.285598754883,
438 "z": "32fe6314.d27544",
446 "id": "49ed5fbd.14e1c8",
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": 2457.285598754883,
453 "z": "32fe6314.d27544",
457 "id": "9673ceac.9d128",
460 "xml": "<outcome value='name'>",
463 "x": 2259.285598754883,
465 "z": "32fe6314.d27544",
473 "id": "2fa6afd4.470c68",
475 "name": "service-type",
476 "xml": "<outcome value='service-type'>",
479 "x": 2262.285598754883,
481 "z": "32fe6314.d27544",
489 "id": "3f6ebe83.24fb02",
492 "xml": "<outcome value='sna2_name'>",
495 "x": 2266.285598754883,
497 "z": "32fe6314.d27544",
505 "id": "208a2db6.5cd29a",
507 "name": "site1-name",
508 "xml": "<outcome value='site1-name'>",
511 "x": 2263.285598754883,
513 "z": "32fe6314.d27544",
521 "id": "a6950835.4f1f88",
523 "name": "site2-name",
524 "xml": "<outcome value='site2-name'>",
527 "x": 2259.285598754883,
529 "z": "32fe6314.d27544",
537 "id": "f6a60960.64ec1",
540 "xml": "<outcome value='sna1_name'>",
543 "x": 2262.285598754883,
545 "z": "32fe6314.d27544",
553 "id": "6691ccb6.43ba2c",
556 "xml": "<outcome value='pe1_id'>",
559 "x": 2266.285598754883,
561 "z": "32fe6314.d27544",
569 "id": "3e734965.e53836",
572 "xml": "<outcome value='pe2_id'>",
575 "x": 2269.285598754883,
577 "z": "32fe6314.d27544",
585 "id": "7c1d0f2f.d390d8",
588 "xml": "<outcome value='ac1-id'>",
591 "x": 2274.285598754883,
593 "z": "32fe6314.d27544",
601 "id": "90835e79.55fda",
604 "xml": "<outcome value='ac2-id'>",
607 "x": 2276.285598754883,
609 "z": "32fe6314.d27544",
617 "id": "98d98d4e.90457",
620 "xml": "<outcome value='ac1-ip'>",
623 "x": 2276.285598754883,
625 "z": "32fe6314.d27544",
633 "id": "c55ddc64.709ea",
636 "xml": "<outcome value='ac2-ip'>",
639 "x": 2278.285598754883,
641 "z": "32fe6314.d27544",
649 "id": "d3d96688.947678",
651 "name": "ac1_peer_ip",
652 "xml": "<outcome value='ac1_peer_ip'>",
655 "x": 2280.285598754883,
657 "z": "32fe6314.d27544",
665 "id": "de824513.d08848",
667 "name": "ac2_peer_ip",
668 "xml": "<outcome value='ac2_peer_ip'>",
671 "x": 2276.285598754883,
673 "z": "32fe6314.d27544",
681 "id": "bd1ecf5f.f7c2b",
684 "xml": "<outcome value='ac1_svlan'>",
687 "x": 2278.285598754883,
689 "z": "32fe6314.d27544",
697 "id": "499053bc.575afc",
700 "xml": "<outcome value='ac2_svlan'>",
703 "x": 2280.285598754883,
705 "z": "32fe6314.d27544",
713 "id": "4023bbbc.b8c3c4",
715 "name": "block : atomic",
716 "xml": "<block atomic=\"true\">",
719 "x": 276.5714340209961,
720 "y": 1013.8572435379028,
721 "z": "32fe6314.d27544",
730 "id": "97e7ce10.7c85b8",
732 "name": "DeleteNetworkInstance",
733 "xml": "<outcome value='DeleteNetworkInstance'>",
736 "x": 292.2857246398926,
737 "y": 1069.8572072982788,
738 "z": "32fe6314.d27544",
746 "id": "9dc996b.23ff3e8",
749 "xml": "<outcome value='Other'>",
752 "x": 246.28572463989258,
753 "y": 1119.8572072982788,
754 "z": "32fe6314.d27544",
762 "id": "6b8e362b.376518",
763 "type": "returnFailure",
764 "name": "return failure",
765 "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",
767 "x": 415.2857246398926,
768 "y": 1119.8572072982788,
769 "z": "32fe6314.d27544",
773 "id": "841c3464.e35208",
775 "name": "block : atomic",
776 "xml": "<block atomic=\"true\">",
779 "x": 517.2857246398926,
780 "y": 1058.8572072982788,
781 "z": "32fe6314.d27544",
789 "id": "abf4d6e7.91759",
791 "name": "for each network-input-parameters",
792 "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
795 "x": 339.2857246398926,
796 "y": 1213.8572072982788,
797 "z": "32fe6314.d27544",
805 "id": "4d50d8cc.46e0a",
812 "x": 332.2857246398926,
813 "y": 1298.8572072982788,
814 "z": "32fe6314.d27544",
822 "id": "5c906df.eb09894",
823 "type": "switchNode",
824 "name": "switch name",
825 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
828 "x": 515.2857246398926,
829 "y": 1291.8572072982788,
830 "z": "32fe6314.d27544",
838 "id": "1e0b11b0.0c1596",
839 "type": "outcomeTrue",
841 "xml": "<outcome value='true'>\n",
844 "x": 696.2857246398926,
845 "y": 1290.8572072982788,
846 "z": "32fe6314.d27544",
854 "id": "6bd99898.8a25c8",
855 "type": "switchNode",
856 "name": "switch value",
857 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
860 "x": 860.2857246398926,
861 "y": 1290.8572072982788,
862 "z": "32fe6314.d27544",
870 "id": "2612c750.3f1de",
873 "xml": "<outcome value=''>",
876 "x": 729.2857246398926,
877 "y": 1414.8572072982788,
878 "z": "32fe6314.d27544",
886 "id": "27237901.158d7e",
887 "type": "returnFailure",
888 "name": "return failure",
889 "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",
891 "x": 907.7144393920898,
892 "y": 1415.8572072982788,
893 "z": "32fe6314.d27544",
897 "id": "a9f01ff9.d40278",
900 "xml": "<outcome value='activate'>\n",
903 "x": 340.4285697937012,
904 "y": 539.7619791030884,
905 "z": "32fe6314.d27544",
913 "id": "24b1be4.4b9cb42",
914 "type": "switchNode",
915 "name": "switch request-action",
916 "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
919 "x": 523.2857360839844,
920 "y": 536.9048290252686,
921 "z": "32fe6314.d27544",
930 "id": "534344f8.99bd8c",
932 "name": "ActivateNetworkInstance",
933 "xml": "<outcome value='ActivateNetworkInstance'>",
936 "x": 789.2857360839844,
937 "y": 495.90482902526855,
938 "z": "32fe6314.d27544",
946 "id": "3efa7868.7d6d6",
949 "xml": "<outcome value='Other'>",
952 "x": 743.2857360839844,
953 "y": 545.9048290252686,
954 "z": "32fe6314.d27544",
962 "id": "7054bbc2.d71e3c",
963 "type": "returnFailure",
964 "name": "return failure",
965 "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",
967 "x": 912.2857360839844,
968 "y": 545.9048290252686,
969 "z": "32fe6314.d27544",
973 "id": "dbc11e26.b1b04",
975 "name": "block : atomic",
976 "xml": "<block atomic=\"true\">",
979 "x": 1014.2857360839844,
980 "y": 484.90482902526855,
981 "z": "32fe6314.d27544",
989 "id": "4bb419b5.b0e6e",
991 "name": "block : atomic",
992 "xml": "<block atomic=\"true\">",
996 "y": 609.7620029449463,
997 "z": "32fe6314.d27544",
1006 "id": "15adf5d0.a38402",
1008 "name": "DeactivateNetworkInstance",
1009 "xml": "<outcome value='DeactivateNetworkInstance'>",
1012 "x": 606.1428909301758,
1013 "y": 687.1905641555786,
1014 "z": "32fe6314.d27544",
1022 "id": "a37cc3b4.9b7a68",
1025 "xml": "<outcome value='Other'>",
1028 "x": 560.1428909301758,
1029 "y": 737.1905641555786,
1030 "z": "32fe6314.d27544",
1038 "id": "77245576.2c267c",
1039 "type": "returnFailure",
1040 "name": "return failure",
1041 "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",
1043 "x": 729.1428909301758,
1044 "y": 737.1905641555786,
1045 "z": "32fe6314.d27544",
1049 "id": "a95baf99.9c4a6",
1051 "name": "block : atomic",
1052 "xml": "<block atomic=\"true\">",
1055 "x": 831.1428909301758,
1056 "y": 676.1905641555786,
1057 "z": "32fe6314.d27544",
1065 "id": "3994558.cdec22a",
1067 "name": "for each network-input-parameters",
1068 "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
1071 "x": 653.1428909301758,
1072 "y": 831.1905641555786,
1073 "z": "32fe6314.d27544",
1081 "id": "a7f759b2.2be768",
1088 "x": 934.7143325805664,
1089 "y": 804.7619962692261,
1090 "z": "32fe6314.d27544",
1098 "id": "c9fb60d0.70a518",
1099 "type": "switchNode",
1100 "name": "switch id",
1101 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].id == 'id'`\">\n",
1104 "x": 950.5715255737305,
1105 "y": 860.6191473007202,
1106 "z": "32fe6314.d27544",
1114 "id": "56941bc3.f5be04",
1115 "type": "outcomeTrue",
1117 "xml": "<outcome value='true'>\n",
1120 "x": 1131.5715255737305,
1121 "y": 859.6191473007202,
1122 "z": "32fe6314.d27544",
1130 "id": "35a7f799.be48f",
1131 "type": "switchNode",
1132 "name": "switch value",
1133 "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
1136 "x": 1208.4286346435547,
1137 "y": 938.1905860900879,
1138 "z": "32fe6314.d27544",
1146 "id": "ba107d78.943578",
1149 "xml": "<outcome value=''>",
1152 "x": 1117.4285774230957,
1153 "y": 1022.1905422210693,
1154 "z": "32fe6314.d27544",
1162 "id": "b43b580a.2bbc7",
1163 "type": "returnFailure",
1164 "name": "return failure",
1165 "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",
1167 "x": 1295.857292175293,
1168 "y": 1023.1905422210693,
1169 "z": "32fe6314.d27544",
1173 "id": "bae11bcf.54b4c8",
1175 "name": "call validate-overlay-network-input-parameters",
1176 "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
1179 "x": 1322.1510696411133,
1180 "y": 486.3333520889282,
1181 "z": "32fe6314.d27544",