3 "id":"fa4ef6c1.4eb578",
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":324.95237731933594,
26 "y":117.28590774536133,
35 "id":"8645455c.b98c28",
37 "name":"method validate-network-input-parameters",
38 "xml":"<method rpc='validate-network-input-parameters' mode='sync'>\n",
41 "x":282.5833511352539,
42 "y":192.30084609985352,
51 "id":"9b7f7c48.ea161",
53 "name":"block : atomic",
54 "xml":"<block atomic=\"true\">",
57 "x":566.5833587646484,
58 "y":180.30087089538574,
68 "id":"e6ff88ab.904e18",
70 "name":"switch svc-action",
71 "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
74 "x":847.5833587646484,
87 "xml":"<outcome value=''>",
90 "x":1038.2976608276367,
91 "y":176.3008575439453,
100 "id":"a348b04f.fc644",
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":1212.7262115478516,
106 "y":175.30084991455078,
107 "z":"85858cc8.f3e21",
113 "id":"ddfba2e8.a63b3",
115 "name":"switch svc-action",
116 "xml":"<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
119 "x":148.58330535888672,
120 "y":451.30087089538574,
121 "z":"85858cc8.f3e21",
133 "id":"6e77eb2e.738e04",
136 "xml":"<outcome value='create'>\n",
139 "x":350.08338928222656,
140 "y":451.30087089538574,
141 "z":"85858cc8.f3e21",
149 "id":"89568ddf.5b471",
151 "name":"block : atomic",
152 "xml":"<block atomic=\"true\">",
155 "x":516.0833969116211,
156 "y":451.30087089538574,
157 "z":"85858cc8.f3e21",
165 "id":"6c4b1b37.01f564",
167 "name":"for loop i - Network input parameters",
168 "xml":"<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
171 "x":1715.2975387573242,
172 "y":115.01514053344727,
173 "z":"85858cc8.f3e21",
181 "id":"29338172.3d043e",
183 "name":"switch value",
184 "xml":"<switch test=\"`$tmp.value`\">\n",
187 "x":2568.8688888549805,
188 "y":369.01511573791504,
189 "z":"85858cc8.f3e21",
197 "id":"612b673.300ba98",
200 "xml":"<outcome value=''>",
203 "x":2785.8688621520996,
204 "y":368.01512145996094,
205 "z":"85858cc8.f3e21",
213 "id":"7afa06c2.9e5448",
214 "type":"returnFailure",
215 "name":"return failure",
216 "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",
218 "x":2964.297576904297,
219 "y":369.01512145996094,
220 "z":"85858cc8.f3e21",
226 "id":"e71878f5.f29958",
229 "xml":"<outcome value='deactivate'>\n",
232 "x":352.38094329833984,
233 "y":609.4763984680176,
234 "z":"85858cc8.f3e21",
242 "id":"9addc920.903ef8",
245 "xml":"<outcome value='delete'>\n",
248 "x":356.0953254699707,
249 "y":780.1909561157227,
250 "z":"85858cc8.f3e21",
258 "id":"428444e0.ca842c",
261 "xml":"<outcome value='Other'>\n",
264 "x":353.85720443725586,
265 "y":734.6192245483398,
266 "z":"85858cc8.f3e21",
274 "id":"e64ba27d.4c375",
275 "type":"returnFailure",
276 "name":"return failure",
277 "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",
279 "x":507.4287796020508,
281 "z":"85858cc8.f3e21",
287 "id":"e6126a8f.3bd648",
294 "x":1593.3809127807617,
295 "y":261.76208877563477,
296 "z":"85858cc8.f3e21",
306 "id":"f6c08df5.6fb1",
308 "name":"switch request-action",
309 "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
312 "x":841.6666793823242,
313 "y":340.71449851989746,
314 "z":"85858cc8.f3e21",
323 "id":"a05b6ee5.e1145",
325 "name":"CreateNetworkInstance",
326 "xml":"<outcome value='CreateNetworkInstance'>",
329 "x":1107.6666793823242,
330 "y":299.71449851989746,
331 "z":"85858cc8.f3e21",
339 "id":"5ba95b98.5de334",
342 "xml":"<outcome value='Other'>",
345 "x":1061.6666793823242,
346 "y":349.71449851989746,
347 "z":"85858cc8.f3e21",
355 "id":"df81cf43.83855",
356 "type":"returnFailure",
357 "name":"return failure",
358 "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",
360 "x":1230.6666793823242,
361 "y":349.71449851989746,
362 "z":"85858cc8.f3e21",
368 "id":"90527be5.0854c8",
370 "name":"block : atomic",
371 "xml":"<block atomic=\"true\">",
374 "x":1332.6666793823242,
375 "y":288.71449851989746,
376 "z":"85858cc8.f3e21",
384 "id":"ccd87bc0.9164f8",
386 "name":"clear tmp-data",
387 "xml":"<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
389 "x":1785.380973815918,
390 "y":216.00018692016602,
391 "z":"85858cc8.f3e21",
397 "id":"cb2894ec.bd74d8",
399 "name":"set tmp-data",
400 "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",
402 "x":1774.380973815918,
403 "y":306.000186920166,
404 "z":"85858cc8.f3e21",
410 "id":"6058dc0f.f41074",
412 "name":"switch name",
413 "xml":"<switch test=\"'$tmp.name'\">\n",
416 "x":1753.380973815918,
417 "y":400.000186920166,
418 "z":"85858cc8.f3e21",
442 "id":"225fa6e2.e42a6a",
445 "xml":"<outcome value=''>",
448 "x":2292.952262878418,
449 "y":903.0001621246338,
450 "z":"85858cc8.f3e21",
458 "id":"9eb7590.5f32fa8",
459 "type":"returnFailure",
460 "name":"return failure",
461 "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",
463 "x":2467.952262878418,
464 "y":902.0001621246338,
465 "z":"85858cc8.f3e21",
471 "id":"b1cea899.45bb78",
474 "xml":"<outcome value='name'>",
477 "x":2269.952262878418,
478 "y":25.00016212463379,
479 "z":"85858cc8.f3e21",
487 "id":"b9c18c6.d77387",
489 "name":"service-type",
490 "xml":"<outcome value='service-type'>",
493 "x":2272.952262878418,
494 "y":92.00016212463379,
495 "z":"85858cc8.f3e21",
503 "id":"c510015f.64592",
506 "xml":"<outcome value='sna2_name'>",
509 "x":2276.952262878418,
510 "y":321.0001621246338,
511 "z":"85858cc8.f3e21",
519 "id":"3d722919.f81306",
522 "xml":"<outcome value='site1-name'>",
525 "x":2273.952262878418,
526 "y":153.0001621246338,
527 "z":"85858cc8.f3e21",
535 "id":"7b7495f0.75885c",
538 "xml":"<outcome value='site2-name'>",
541 "x":2269.952262878418,
542 "y":210.0001621246338,
543 "z":"85858cc8.f3e21",
551 "id":"588a0bcd.6eb034",
554 "xml":"<outcome value='sna1_name'>",
557 "x":2272.952262878418,
558 "y":267.0001621246338,
559 "z":"85858cc8.f3e21",
567 "id":"2187bd96.9aa5b2",
570 "xml":"<outcome value='pe1_id'>",
573 "x":2276.952262878418,
574 "y":372.0001621246338,
575 "z":"85858cc8.f3e21",
583 "id":"10a4fa76.533046",
586 "xml":"<outcome value='pe2_id'>",
589 "x":2279.952262878418,
590 "y":420.0001621246338,
591 "z":"85858cc8.f3e21",
599 "id":"f5abb1ff.c1ae",
602 "xml":"<outcome value='ac1-id'>",
605 "x":2284.952262878418,
606 "y":469.0001621246338,
607 "z":"85858cc8.f3e21",
615 "id":"a7b43175.17a1e",
618 "xml":"<outcome value='ac2-id'>",
621 "x":2286.952262878418,
622 "y":524.0001621246338,
623 "z":"85858cc8.f3e21",
631 "id":"7088b07a.e19a",
634 "xml":"<outcome value='ac1-ip'>",
637 "x":2286.952262878418,
638 "y":576.0001621246338,
639 "z":"85858cc8.f3e21",
647 "id":"6b511ebf.25f2b",
650 "xml":"<outcome value='ac2-ip'>",
653 "x":2288.952262878418,
654 "y":637.0001621246338,
655 "z":"85858cc8.f3e21",
663 "id":"77d1b8f5.2028a8",
665 "name":"ac1_peer_ip",
666 "xml":"<outcome value='ac1_peer_ip'>",
669 "x":2290.952262878418,
670 "y":687.0001621246338,
671 "z":"85858cc8.f3e21",
679 "id":"e96ec4f5.f46868",
681 "name":"ac2_peer_ip",
682 "xml":"<outcome value='ac2_peer_ip'>",
685 "x":2286.952262878418,
686 "y":735.0001621246338,
687 "z":"85858cc8.f3e21",
695 "id":"25d82e93.97f172",
698 "xml":"<outcome value='ac1_svlan'>",
701 "x":2288.952262878418,
702 "y":788.0001621246338,
703 "z":"85858cc8.f3e21",
711 "id":"2c0ed5ac.b6f0aa",
714 "xml":"<outcome value='ac2_svlan'>",
717 "x":2290.952262878418,
718 "y":849.0001621246338,
719 "z":"85858cc8.f3e21",
727 "id":"f1a885d0.8cce28",
729 "name":"block : atomic",
730 "xml":"<block atomic=\"true\">",
733 "x":287.23809814453125,
734 "y":861.8574056625366,
735 "z":"85858cc8.f3e21",
744 "id":"53246327.3f169c",
746 "name":"DeleteNetworkInstance",
747 "xml":"<outcome value='DeleteNetworkInstance'>",
750 "x":302.95238876342773,
751 "y":917.8573694229126,
752 "z":"85858cc8.f3e21",
760 "id":"4ad8f670.2e7cb8",
763 "xml":"<outcome value='Other'>",
766 "x":256.95238876342773,
767 "y":967.8573694229126,
768 "z":"85858cc8.f3e21",
776 "id":"5f2c6750.3bbae8",
777 "type":"returnFailure",
778 "name":"return failure",
779 "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",
781 "x":425.95238876342773,
782 "y":967.8573694229126,
783 "z":"85858cc8.f3e21",
789 "id":"b6255d3e.ce53d",
791 "name":"block : atomic",
792 "xml":"<block atomic=\"true\">",
795 "x":527.9523887634277,
796 "y":906.8573694229126,
797 "z":"85858cc8.f3e21",
805 "id":"6d8480b4.bbdb8",
807 "name":"for each network-input-parameters",
808 "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
811 "x":349.95238876342773,
812 "y":1061.8573694229126,
813 "z":"85858cc8.f3e21",
821 "id":"30a4ecd8.0d1034",
828 "x":342.95238876342773,
829 "y":1146.8573694229126,
830 "z":"85858cc8.f3e21",
838 "id":"c6454200.70fda",
840 "name":"switch name",
841 "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
844 "x":525.9523887634277,
845 "y":1139.8573694229126,
846 "z":"85858cc8.f3e21",
854 "id":"f7a7412d.0d646",
855 "type":"outcomeTrue",
857 "xml":"<outcome value='true'>\n",
860 "x":706.9523887634277,
861 "y":1138.8573694229126,
862 "z":"85858cc8.f3e21",
870 "id":"8bfc5d6c.baf0e",
872 "name":"switch value",
873 "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
876 "x":870.9523887634277,
877 "y":1138.8573694229126,
878 "z":"85858cc8.f3e21",
886 "id":"6c6337cf.113798",
889 "xml":"<outcome value=''>",
892 "x":739.9523887634277,
893 "y":1262.8573694229126,
894 "z":"85858cc8.f3e21",
902 "id":"e60613b0.6ba12",
903 "type":"returnFailure",
904 "name":"return failure",
905 "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",
907 "x":918.381103515625,
908 "y":1263.8573694229126,
909 "z":"85858cc8.f3e21",
915 "id":"55e08239.49f15c",
918 "xml":"<outcome value='activate'>\n",
921 "x":351.0952339172363,
922 "y":543.7621412277222,
923 "z":"85858cc8.f3e21",
931 "id":"b69a14cd.1d3d68",
933 "name":"switch request-action",
934 "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
937 "x":533.9524002075195,
938 "y":540.9049911499023,
939 "z":"85858cc8.f3e21",
948 "id":"d54c9f22.ae97d",
950 "name":"ActivateDCINetworkInstance",
951 "xml":"<outcome value='ActivateDCINetworkInstance'>",
954 "x":799.9524002075195,
955 "y":499.90499114990234,
956 "z":"85858cc8.f3e21",
964 "id":"b12bd94e.696e48",
967 "xml":"<outcome value='Other'>",
970 "x":753.9524002075195,
971 "y":549.9049911499023,
972 "z":"85858cc8.f3e21",
980 "id":"bef2ee40.874af",
981 "type":"returnFailure",
982 "name":"return failure",
983 "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",
985 "x":922.9524002075195,
986 "y":549.9049911499023,
987 "z":"85858cc8.f3e21",
993 "id":"cf772b80.a4cba8",
995 "name":"block : atomic",
996 "xml":"<block atomic=\"true\">",
999 "x":1024.9524002075195,
1000 "y":488.90499114990234,
1001 "z":"85858cc8.f3e21",
1009 "id":"8b8b3296.f79f8",
1011 "name":"DeActivateDCINetworkInstance",
1012 "xml":"<outcome value='DeActivateDCINetworkInstance'>",
1016 "y":611.1907920837402,
1017 "z":"85858cc8.f3e21",
1025 "id":"c54688aa.82e958",
1028 "xml":"<outcome value='Other'>",
1031 "x":710.8095626831055,
1032 "y":680.1907997131348,
1033 "z":"85858cc8.f3e21",
1041 "id":"d62ac2c7.17544",
1042 "type":"returnFailure",
1043 "name":"return failure",
1044 "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",
1046 "x":891.8095779418945,
1047 "y":681.1907997131348,
1048 "z":"85858cc8.f3e21",
1054 "id":"36dbd61d.c5357a",
1056 "name":"call validate-overlay-network-input-parameters",
1057 "xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
1060 "x":1332.8177337646484,
1061 "y":490.333514213562,
1062 "z":"85858cc8.f3e21",
1070 "id":"239b0e93.1dcdc2",
1071 "type":"switchNode",
1072 "name":"switch request-action",
1073 "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1076 "x":532.6666259765625,
1077 "y":611.6666259765625,
1078 "z":"85858cc8.f3e21",