3 "id": "c30b96fb.b54ae8",
7 "x": 107.3214340209961,
8 "y": 47.32143020629883,
9 "z": "1faa4c21.138614",
17 "id": "92128070.77ca8",
18 "type": "service-logic",
19 "name": "VNF-API ${project.version}",
21 "version": "${project.version}",
23 "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>",
25 "x": 272.4880905151367,
26 "y": 47.488101959228516,
27 "z": "1faa4c21.138614",
35 "id": "17c24793.5d4508",
37 "name": "method vf-module-topology-assign-vnf-networks",
38 "xml": "<method rpc='vf-module-topology-assign-vnf-networks' mode='sync'>",
41 "x": 235.7381134033203,
42 "y": 101.73809432983398,
43 "z": "1faa4c21.138614",
51 "id": "4de1dc94.aef9f4",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 188.0714340209961,
58 "y": 150.57143020629883,
59 "z": "1faa4c21.138614",
73 "id": "dc1fefd3.cd357",
75 "name": "switch test: INPUT network-id = NULL or 0",
76 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id == '' or $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id == '0'`\">",
79 "x": 764.5137062072754,
80 "y": 701.5578842163086,
81 "z": "1faa4c21.138614",
90 "id": "ed113fb3.62eda",
91 "type": "outcomeTrue",
93 "xml": "<outcome value='true'>\n",
96 "x": 1039.8771934509277,
97 "y": 745.7397541999817,
98 "z": "1faa4c21.138614",
106 "id": "aba6d801.11f9a8",
107 "type": "switchNode",
108 "name": "switch : INPUT network-name = NULL",
109 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name == '' or $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name == '0'`\">",
112 "x": 1277.659294128418,
113 "y": 745.5837326049805,
114 "z": "1faa4c21.138614",
123 "id": "a0ca4ac5.fdc388",
126 "xml": "<outcome value='false'>",
129 "x": 1039.8974800109863,
130 "y": 702.4467806816101,
131 "z": "1faa4c21.138614",
139 "id": "18391f2.d637de1",
142 "xml": "<outcome value='false'>",
145 "x": 1515.851245880127,
146 "y": 785.139214515686,
147 "z": "1faa4c21.138614",
155 "id": "3c76d450.1a1c5c",
157 "name": "get AnAI - l3-network by id",
158 "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id\" \n\tpfx=\"tmp.AnAI.l3network\">\n",
161 "x": 1241.1195945739746,
162 "y": 702.4469485282898,
163 "z": "1faa4c21.138614",
172 "id": "b7314ceb.79175",
175 "xml": "<outcome value='not-found'>\n",
178 "x": 1444.0642852783203,
179 "y": 702.0023970603943,
180 "z": "1faa4c21.138614",
188 "id": "3c910573.9a235a",
190 "name": "for i : INPUT vnf-networks",
191 "xml": "<for index=\"i\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks_length`\">",
194 "x": 546.8075828552246,
195 "y": 559.0505676269531,
196 "z": "1faa4c21.138614",
204 "id": "4e004f85.49efa",
206 "name": "get AnAI - l3-network by name",
207 "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name\" \n\tpfx=\"tmp.AnAI.l3network\">\n\n",
210 "x": 1726.3532485961914,
211 "y": 784.8810062408447,
212 "z": "1faa4c21.138614",
221 "id": "127c9bfe.0fbf64",
224 "xml": "<outcome value='not-found'>\n",
227 "x": 1947.6032485961914,
228 "y": 785.131067276001,
229 "z": "1faa4c21.138614",
237 "id": "f0b9ed4f.6db11",
239 "name": "initialize tmp.usePreload = 1 and tmp.AAI.l3network",
240 "xml": "<set>\n<parameter name='tmp.usePreload' value='1' />\n<parameter name='tmp.AnAI.l3network.' value='' />\n",
243 "x": 478.3012237548828,
244 "y": 472.77592849731445,
245 "z": "1faa4c21.138614",
251 "id": "e1f0efe6.81d2e",
253 "name": "block: atomic",
254 "xml": "<block atomic=\"true\">\n",
258 "x": 138.2354278564453,
259 "y": 472.56047439575195,
260 "z": "1faa4c21.138614",
270 "id": "70ff54f3.ff0e6c",
272 "name": "for j : PRELOAD vnf-networks",
273 "xml": "<for index=\"j\" start=\"0\" end=\"`$vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
276 "x": 272.4603729248047,
277 "y": 385.82141494750977,
278 "z": "1faa4c21.138614",
286 "id": "6e1813c8.e5e2fc",
288 "name": "block: atomic",
289 "xml": "<block atomic=\"true\">\n",
293 "x": 314.1876983642578,
294 "y": 558.9804592132568,
295 "z": "1faa4c21.138614",
304 "id": "dfdb5bcb.cdcf38",
305 "type": "switchNode",
306 "name": "switch : PRELOAD network-role = INPUT",
307 "xml": "<switch test=\"`$vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-role == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-role`\">",
310 "x": 856.1877632141113,
311 "y": 558.3441305160522,
312 "z": "1faa4c21.138614",
320 "id": "382cc26b.de833e",
321 "type": "outcomeTrue",
323 "xml": "<outcome value='true'>\n",
326 "x": 1106.9831886291504,
327 "y": 558.6397728919983,
328 "z": "1faa4c21.138614",
336 "id": "fb7701c1.24954",
338 "name": "block: atomic",
339 "xml": "<block atomic=\"true\">\n",
343 "x": 465.2687568664551,
344 "y": 659.4189281463623,
345 "z": "1faa4c21.138614",
355 "id": "5a2e54d8.28c0dc",
357 "name": "set tmp.usePreload = 0",
358 "xml": "<set>\n<parameter name='tmp.usePreload' value='0' />\n",
361 "x": 705.6323890686035,
362 "y": 659.3280572891235,
363 "z": "1faa4c21.138614",
369 "id": "d29dc4ee.83b888",
370 "type": "outcomeTrue",
372 "xml": "<outcome value='true'>\n",
375 "x": 1515.4091796875,
376 "y": 745.8452072143555,
377 "z": "1faa4c21.138614",
385 "id": "bc41d36b.5b0d6",
386 "type": "switchNode",
387 "name": "switch : tmp.usePreload= 0",
388 "xml": "<switch test=\"`$tmp.usePreload == 0`\">",
391 "x": 705.0207977294922,
392 "y": 971.0733308792114,
393 "z": "1faa4c21.138614",
401 "id": "9ce9a7a6.6d0d28",
402 "type": "outcomeTrue",
404 "xml": "<outcome value='true'>\n",
407 "x": 906.0206756591797,
408 "y": 971.0734529495239,
409 "z": "1faa4c21.138614",
417 "id": "aeff0ffa.88a75",
418 "type": "switchNode",
419 "name": "switch: tmp.usePreload= 1",
420 "xml": "<switch test=\"`$tmp.usePreload == 1`\">",
423 "x": 467.8374481201172,
424 "y": 1901.7782440185547,
425 "z": "1faa4c21.138614",
433 "id": "35b40dfd.b6e712",
436 "xml": "<outcome value='true'>",
439 "x": 675.869026184082,
440 "y": 1901.5184955596924,
441 "z": "1faa4c21.138614",
449 "id": "32309ba2.0ab454",
451 "name": "set tmp.usePreload = 1",
452 "xml": "<set>\n<parameter name='tmp.usePreload' value='1' />\n",
455 "x": 1710.0172729492188,
456 "y": 886.6042308807373,
457 "z": "1faa4c21.138614",
463 "id": "70579eed.d89c5",
464 "type": "returnFailure",
465 "name": "return failure",
466 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying AnAI for l3-network with network-id = ' + $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-id`\" />\n",
468 "x": 1594.9880854288735,
469 "y": 661.1269476148818,
470 "z": "1faa4c21.138614",
474 "id": "32bd35ee.cb0d2a",
477 "xml": "<outcome value='failure'>\n",
480 "x": 1437.7658632066514,
481 "y": 661.1269476148818,
482 "z": "1faa4c21.138614",
490 "id": "d5ab10a8.40fb5",
491 "type": "returnFailure",
492 "name": "return failure",
493 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred whie querying AnAI for l3-network with network-name = ' + $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-name`\" />\n",
495 "x": 2096.099006652832,
496 "y": 743.3491630554199,
497 "z": "1faa4c21.138614",
501 "id": "7871388.9d854c8",
504 "xml": "<outcome value='failure'>\n",
507 "x": 1938.8767844306099,
508 "y": 743.3491630554199,
509 "z": "1faa4c21.138614",
517 "id": "b46a3430.78ab38",
518 "type": "switchNode",
519 "name": "switch ...PRELOAD vnf-networks[]",
520 "xml": "<switch test=\"`$vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
523 "x": 452.07142639160156,
524 "y": 330.0714340209961,
525 "z": "1faa4c21.138614",
533 "id": "3f756909.e553f6",
536 "xml": "<outcome value=''>",
538 "x": 679.5158996582031,
539 "y": 329.5991439819336,
540 "z": "1faa4c21.138614",
548 "id": "61c7ea59.ae7a54",
550 "name": "set PRELOAD vnf-networks[] = 0",
551 "xml": "<set>\n<parameter name = \"vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks_length\" value=\"0\" />\n",
554 "x": 901.0715086195205,
555 "y": 329.59916464487696,
556 "z": "1faa4c21.138614",
562 "id": "ee2deaea.1bec48",
563 "type": "switchNode",
564 "name": "switch ...INPUT vnf-networks[]",
565 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks_length`\">",
568 "x": 367.5714416503906,
569 "y": 513.8214120864868,
570 "z": "1faa4c21.138614",
578 "id": "b5803df6.ae5a9",
581 "xml": "<outcome value=''>",
583 "x": 591.0158920288086,
584 "y": 513.5991477966309,
585 "z": "1faa4c21.138614",
593 "id": "a3eaa269.9cad5",
595 "name": "set INPUT vnf-networks_length = 0",
596 "xml": "<set>\n<parameter name='vf-module-topology-operation-input.vf-module-request-information.vnf-networks_length' value='0' />\n",
599 "x": 823.571500990126,
600 "y": 513.5991684595742,
601 "z": "1faa4c21.138614",
607 "id": "a5aed389.d71d6",
609 "name": "For each preload network, see if there is an override in input",
612 "x": 741.6826629638672,
613 "y": 422.0436592102051,
614 "z": "1faa4c21.138614",
618 "id": "238b5959.ad0836",
620 "name": "CALLED BY vf-module-topology-assign AND vf-module-topology-changeassign",
623 "x": 793.7380828857422,
624 "y": 92.68254470825195,
625 "z": "1faa4c21.138614",
629 "id": "763de398.5ac24c",
631 "name": "set: service-data =+ input",
632 "xml": "<set>\n\t<parameter name=\"vf-module-service-data.\" value=\"vf-module-topology-operation-input.\" />",
635 "x": 423.8492031097412,
636 "y": 239.015869140625,
637 "z": "1faa4c21.138614",
643 "id": "aaf65e9a.4351f",
645 "name": "set: service-data = preload-data",
646 "xml": "<set>\n\t<parameter name=\"vf-module-service-data.\" value=\"vf-module-preload-data.\" />",
649 "x": 443.75331687927246,
650 "y": 197.162353515625,
651 "z": "1faa4c21.138614",
657 "id": "8fc6861.1cc4c78",
658 "type": "returnSuccess",
659 "name": "return success",
660 "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
662 "x": 396.19046783447266,
663 "y": 2271.0118932724,
664 "z": "1faa4c21.138614",
668 "id": "330d0bd.ba072f4",
669 "type": "switchNode",
670 "name": "switch: preload order-status = PendingAssignment",
671 "xml": "<switch test=\"`$vf-module-preload-data.oper-status.order-status == PendingAssignment`\">",
674 "x": 500.8492126464844,
675 "y": 150.57143306732178,
676 "z": "1faa4c21.138614",
684 "id": "471ae763.ed73c8",
685 "type": "returnFailure",
686 "name": "return failure",
687 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid preload-data order status'/>",
689 "x": 917.7884559631348,
690 "y": 150.26844310760498,
691 "z": "1faa4c21.138614",
695 "id": "4c5e6e0b.0d9a",
698 "xml": "<outcome value='false'>",
701 "x": 768.4553451538086,
702 "y": 150.2683687210083,
703 "z": "1faa4c21.138614",
711 "id": "3600f85a.1aec98",
713 "name": "set: vf-module-id",
714 "xml": "<set>\n\t<parameter name=\"vf-module-service-data.vf-module-id\" value=\"`$vf-module-topology-operation-input.vf-module-request-information.vf-module-id`\"/>",
717 "x": 397.17071533203125,
718 "y": 283.51190757751465,
719 "z": "1faa4c21.138614",
725 "id": "5b189a42.545814",
727 "name": "for k : SERVICE_DATA vnf-networks",
728 "xml": "<for index=\"k\" start=\"0\" end=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
733 "z": "1faa4c21.138614",
741 "id": "a749d767.017348",
742 "type": "switchNode",
743 "name": "switch: SERVICE-DATA network-role = INPUT",
744 "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-role == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].network-role`\">",
747 "x": 1134.9634094238281,
748 "y": 1173.099287033081,
749 "z": "1faa4c21.138614",
757 "id": "b3cb6d4f.0288f",
758 "type": "outcomeTrue",
760 "xml": "<outcome value='true'>\n",
763 "x": 1414.5088195800781,
764 "y": 1173.144941329956,
765 "z": "1faa4c21.138614",
773 "id": "de134847.1f4e48",
775 "name": "set: SERVICE_DATA vnf-networks = AAI DATA",
776 "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-name\" value=\"`$tmp.AnAI.l3network.network-name`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].neutron-id\" value=\"`$tmp.AnAI.l3network.neutron-network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].contrail-network-fqdn\" value=\"`$tmp.AnAI.l3network.contrail-network-fqdn`\" />\n",
779 "x": 1892.982032775879,
780 "y": 1172.0794134140015,
781 "z": "1faa4c21.138614",
787 "id": "24634a0a.d7c076",
794 "x": 1574.9354400634766,
795 "y": 1172.961480140686,
796 "z": "1faa4c21.138614",
806 "id": "a8393abf.7fcee8",
808 "name": "Use INPUT vnf-networks to override preload",
811 "x": 880.2924880981445,
812 "y": 1064.4257173538208,
813 "z": "1faa4c21.138614",
817 "id": "181bc12d.03d83f",
818 "type": "switchNode",
819 "name": "switch: INPUT sbunet-name != NULL",
820 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-name != ''`\">",
823 "x": 2357.911766052246,
824 "y": 1280.5684156417847,
825 "z": "1faa4c21.138614",
833 "id": "b1aab41.1658748",
834 "type": "outcomeTrue",
836 "xml": "<outcome value='true'>\n",
839 "x": 2595.1617317199707,
840 "y": 1280.3183946609497,
841 "z": "1faa4c21.138614",
849 "id": "ce3cc9d0.4cee08",
851 "name": "set: service-data = AnAI - subnet-id ",
852 "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
855 "x": 3334.42374420166,
856 "y": 1393.8661336898804,
857 "z": "1faa4c21.138614",
863 "id": "ebb89f74.08857",
864 "type": "switchNode",
865 "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
866 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
869 "x": 2460.923728942871,
870 "y": 1330.866021156311,
871 "z": "1faa4c21.138614",
879 "id": "94133efa.587e1",
881 "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
882 "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
885 "x": 2469.352195739746,
886 "y": 1395.2946138381958,
887 "z": "1faa4c21.138614",
895 "id": "d4e7d16e.714f7",
896 "type": "switchNode",
897 "name": "switch: AnAI == INPUT - subnet-name",
898 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-name`\">",
901 "x": 2842.102149963379,
902 "y": 1394.5446977615356,
903 "z": "1faa4c21.138614",
911 "id": "cf289518.3fc368",
912 "type": "outcomeTrue",
914 "xml": "<outcome value='true'>\n",
917 "x": 3100.50484085083,
918 "y": 1394.4117259979248,
919 "z": "1faa4c21.138614",
927 "id": "c8277f6a.50834",
928 "type": "outcomeTrue",
930 "xml": "<outcome value='true'>\n",
933 "x": 2746.2452125549316,
934 "y": 1330.449411869049,
935 "z": "1faa4c21.138614",
943 "id": "748cdef5.bc80f",
944 "type": "switchNode",
945 "name": "switch: INPUT sbunet-id != NULL",
946 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-id != ''`\">",
949 "x": 1851.483211517334,
950 "y": 1236.8065958023071,
951 "z": "1faa4c21.138614",
960 "id": "1bed8cec.efe9e3",
962 "name": "set: data-data = INPUT - subnet-id ",
963 "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].subnet-id`\" />",
966 "x": 2349.7332077026367,
967 "y": 1237.0565977096558,
968 "z": "1faa4c21.138614",
974 "id": "87aac3bf.46e16",
975 "type": "outcomeTrue",
977 "xml": "<outcome value='true'>\n",
980 "x": 2107.7331771850586,
981 "y": 1236.5565748214722,
982 "z": "1faa4c21.138614",
990 "id": "8c173a36.9127d8",
991 "type": "outcomeFalse",
993 "xml": "<outcome value='false'>\n",
996 "x": 2108.9832191467285,
997 "y": 1280.5565958023071,
998 "z": "1faa4c21.138614",
1006 "id": "12ef162a.3f441a",
1007 "type": "switchNode",
1008 "name": "switch: INPUT ipv6-sbunet-name != NULL",
1009 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-name != ''`\">",
1012 "x": 2366.185417175293,
1013 "y": 1508.7114629745483,
1014 "z": "1faa4c21.138614",
1022 "id": "f70a96da.79e438",
1023 "type": "outcomeTrue",
1025 "xml": "<outcome value='true'>\n",
1028 "x": 2613.4353828430176,
1029 "y": 1508.4614419937134,
1030 "z": "1faa4c21.138614",
1038 "id": "cc6db42c.cf6378",
1040 "name": "set: service-data = AnAI - ipv6-subnet-id ",
1041 "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1044 "x": 3342.697395324707,
1045 "y": 1622.009181022644,
1046 "z": "1faa4c21.138614",
1052 "id": "f829dcc5.c6de7",
1053 "type": "switchNode",
1054 "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1055 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1058 "x": 2469.197380065918,
1059 "y": 1559.0090684890747,
1060 "z": "1faa4c21.138614",
1068 "id": "4f132648.69d248",
1070 "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1071 "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1074 "x": 2477.625846862793,
1075 "y": 1623.4376611709595,
1076 "z": "1faa4c21.138614",
1084 "id": "cae2d965.d355a8",
1085 "type": "switchNode",
1086 "name": "switch: AnAI == INPUT - ipv6-subnet-name",
1087 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-name`\">",
1090 "x": 2850.375801086426,
1091 "y": 1622.6877450942993,
1092 "z": "1faa4c21.138614",
1100 "id": "1d5397be.45f898",
1101 "type": "outcomeTrue",
1103 "xml": "<outcome value='true'>\n",
1106 "x": 3108.778491973877,
1107 "y": 1622.5547733306885,
1108 "z": "1faa4c21.138614",
1116 "id": "fdeef706.829528",
1117 "type": "outcomeTrue",
1119 "xml": "<outcome value='true'>\n",
1122 "x": 2754.5188636779785,
1123 "y": 1558.5924592018127,
1124 "z": "1faa4c21.138614",
1132 "id": "73a4d8d5.c06308",
1133 "type": "switchNode",
1134 "name": "switch: INPUT ipv6-sbunet-id != NULL",
1135 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-id != ''`\">",
1138 "x": 1859.7568626403809,
1139 "y": 1464.9496431350708,
1140 "z": "1faa4c21.138614",
1149 "id": "ae50028d.0d9f6",
1151 "name": "set: service-data = INPUT - ipv6-subnet-id ",
1152 "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$i].ipv6-subnet-id`\" />",
1155 "x": 2367.0068588256836,
1156 "y": 1465.1996450424194,
1157 "z": "1faa4c21.138614",
1163 "id": "9cb75fc8.62948",
1164 "type": "outcomeTrue",
1166 "xml": "<outcome value='true'>\n",
1169 "x": 2116.0068283081055,
1170 "y": 1464.6996221542358,
1171 "z": "1faa4c21.138614",
1179 "id": "64acb997.b0bf68",
1180 "type": "outcomeFalse",
1182 "xml": "<outcome value='false'>\n",
1185 "x": 2117.2568702697754,
1186 "y": 1508.6996431350708,
1187 "z": "1faa4c21.138614",
1195 "id": "df99f43a.192678",
1202 "x": 515.8282470703125,
1203 "y": 1070.390067100525,
1204 "z": "1faa4c21.138614",
1213 "id": "44440d79.5a1ee4",
1214 "type": "switchNode",
1215 "name": "switch:vf-module-service-data...vnf-networks_length",
1216 "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
1219 "x": 831.0153274536133,
1220 "y": 1124.4490270614624,
1221 "z": "1faa4c21.138614",
1229 "id": "63358e06.3f664",
1232 "xml": "<outcome value=''>\n",
1235 "x": 1118.5153198242188,
1236 "y": 1124.4490270614624,
1237 "z": "1faa4c21.138614",
1245 "id": "ac876566.e9a498",
1246 "type": "switchNode",
1247 "name": "set: vf-module-service-data...vnf-networks_length = 0",
1248 "xml": "<set>\n\t<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length\" value = \"0\" />",
1251 "x": 1417.2653198242188,
1252 "y": 1124.4490270614624,
1253 "z": "1faa4c21.138614",
1259 "id": "a64b9779.a71b08",
1261 "name": "not found",
1262 "xml": "<outcome value='not-found'>\n",
1265 "x": 1339.638515472412,
1266 "y": 1900.6209201812744,
1267 "z": "1faa4c21.138614",
1275 "id": "3b397c6b.f1ef14",
1277 "name": "set: SERVICE_DATA vnf-networks = AAI DATA",
1278 "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-name\" value=\"`$tmp.AnAI.l3network.network-name`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].neutron-id\" value=\"`$tmp.AnAI.l3network.neutron-network-id`\" />\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].contrail-network-fqdn\" value=\"`$tmp.AnAI.l3network.contrail-network-fqdn`\" />\n\n",
1281 "x": 2014.0710487365723,
1282 "y": 2173.3637895584106,
1283 "z": "1faa4c21.138614",
1289 "id": "5d489590.345c3c",
1291 "name": "get AnAI - l3-network by name",
1292 "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-name\" \n\tpfx=\"tmp.AnAI.l3network\">\n",
1295 "x": 1116.531536102295,
1296 "y": 1900.8868598937988,
1297 "z": "1faa4c21.138614",
1307 "id": "9aecd914.8483b8",
1309 "name": "block: atomic",
1310 "xml": "<block atomic=\"true\">\n",
1314 "x": 858.0431060791016,
1315 "y": 1901.1858234405518,
1316 "z": "1faa4c21.138614",
1326 "id": "60582a4c.d77b14",
1327 "type": "returnFailure",
1328 "name": "return failure",
1329 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying AnAI for l3-network with network-name = ' + $vf-module-topology-operation-input.vf-module-request-information.vnf-networks[$j].network-name`\" />\n",
1331 "x": 1486.9243507385254,
1332 "y": 1938.4834985733032,
1333 "z": "1faa4c21.138614",
1337 "id": "96f0e56a.e21d98",
1340 "xml": "<outcome value='failure'>\n",
1343 "x": 1331.7021285163032,
1344 "y": 1938.4834985733032,
1345 "z": "1faa4c21.138614",
1353 "id": "4696ff9e.15cd7",
1354 "type": "returnFailure",
1355 "name": "return failure",
1356 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'PRELOAD network-name = ' + $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-name + ' not found in AnAI'`\" />\n",
1358 "x": 1505.9243812561035,
1359 "y": 1900.4835233688354,
1360 "z": "1faa4c21.138614",
1364 "id": "1f867022.29e93",
1365 "type": "switchNode",
1366 "name": "switch: SERVICE-DATA network-role = PRELOAD",
1367 "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].network-role == $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-role`\">",
1370 "x": 1264.674373626709,
1371 "y": 2173.2336616516113,
1372 "z": "1faa4c21.138614",
1380 "id": "e72c07ef.a09cd8",
1381 "type": "outcomeTrue",
1383 "xml": "<outcome value='true'>\n",
1386 "x": 1549.0770645141602,
1387 "y": 2173.1006898880005,
1388 "z": "1faa4c21.138614",
1396 "id": "eb351c3a.523a",
1398 "name": "for k : SERVICE_DATA vnf-networks",
1399 "xml": "<for index=\"k\" start=\"0\" end=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
1402 "x": 1134.4244194030762,
1403 "y": 2120.483539581299,
1404 "z": "1faa4c21.138614",
1412 "id": "4c2a528c.ae82fc",
1413 "type": "switchNode",
1414 "name": "switch: tmp.AnAI.l3network.network-id == null",
1415 "xml": "<switch test=\"`$tmp.AnAI.l3network.network-id == ''`\">",
1418 "x": 1597.317310333252,
1419 "y": 1976.3764724731445,
1420 "z": "1faa4c21.138614",
1428 "id": "c00f083d.1aa798",
1431 "xml": "<outcome value='true'>",
1434 "x": 1859.567310333252,
1435 "y": 1976.3764724731445,
1436 "z": "1faa4c21.138614",
1444 "id": "45a1f95e.d33e58",
1445 "type": "returnFailure",
1446 "name": "return failure",
1447 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying l3-network with network-name = ' + $vf-module-preload-data.vf-module-topology-information.vnf-assignments.vnf-networks[$j].network-name + ' , it is likely that there are more than one l3-newtork object with the same network-name in AnAI.'`\" />\n",
1449 "x": 2013.567310333252,
1450 "y": 1976.8764724731445,
1451 "z": "1faa4c21.138614",
1455 "id": "1b8842da.0a0e4d",
1458 "xml": "<outcome value='success'>\n",
1461 "x": 1337.317295074463,
1462 "y": 1976.1264533996582,
1463 "z": "1faa4c21.138614",
1471 "id": "a1ca6a21.36bfc8",
1472 "type": "switchNode",
1473 "name": "switch: vf-module-service-data...vnf-networks_length",
1474 "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length`\">",
1477 "x": 1189.995891571045,
1478 "y": 2071.305072784424,
1479 "z": "1faa4c21.138614",
1487 "id": "2beaa433.a0358c",
1490 "xml": "<outcome value=''>\n",
1493 "x": 1477.4958839416504,
1494 "y": 2071.305072784424,
1495 "z": "1faa4c21.138614",
1503 "id": "46d2dad3.6e7a34",
1504 "type": "switchNode",
1505 "name": "set: vf-module-service-data...vnf-networks_length = 0",
1506 "xml": "<set>\n\t<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks_length\" value = \"0\" />",
1509 "x": 1776.2458839416504,
1510 "y": 2071.305072784424,
1511 "z": "1faa4c21.138614",
1517 "id": "19586604.772bba",
1518 "type": "switchNode",
1519 "name": "switch: SERVICE-DATA sbunet-id == NULL",
1520 "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id == ''`\">",
1523 "x": 2000.0316200256348,
1524 "y": 2225.2693090438843,
1525 "z": "1faa4c21.138614",
1533 "id": "946a7c8e.c755c",
1540 "x": 1707.0316123962402,
1541 "y": 2173.2693090438843,
1542 "z": "1faa4c21.138614",
1552 "id": "b3750df1.dad78",
1553 "type": "outcomeTrue",
1555 "xml": "<outcome value='true'>\n",
1558 "x": 2256.2815856933594,
1559 "y": 2225.0192880630493,
1560 "z": "1faa4c21.138614",
1568 "id": "1fb12a07.945fd6",
1569 "type": "switchNode",
1570 "name": "switch: SERVICE-DATA sbunet-name != NULL",
1571 "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-name != ''`\">",
1574 "x": 2082.6267700195312,
1575 "y": 2285.174117088318,
1576 "z": "1faa4c21.138614",
1584 "id": "7263aff8.1dc94",
1585 "type": "outcomeTrue",
1587 "xml": "<outcome value='true'>\n",
1590 "x": 2347.876735687256,
1591 "y": 2284.924096107483,
1592 "z": "1faa4c21.138614",
1600 "id": "1cc5f67b.c5836a",
1602 "name": "set: service-data = AnAI - subnet-id ",
1603 "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1606 "x": 3104.1387329101562,
1607 "y": 2408.043137550354,
1608 "z": "1faa4c21.138614",
1614 "id": "1e753aed.9f0f55",
1615 "type": "switchNode",
1616 "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1617 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1620 "x": 2201.3529663085938,
1621 "y": 2346.1146154403687,
1622 "z": "1faa4c21.138614",
1630 "id": "ea48a7cf.4c4df8",
1632 "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1633 "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1636 "x": 2239.067184448242,
1637 "y": 2409.4716176986694,
1638 "z": "1faa4c21.138614",
1646 "id": "145c2385.46aa9c",
1647 "type": "switchNode",
1648 "name": "switch: AnAI == service-data - subnet-name",
1649 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].subnet-name`\">",
1652 "x": 2611.817138671875,
1653 "y": 2408.7217016220093,
1654 "z": "1faa4c21.138614",
1662 "id": "b42e690f.505ff8",
1663 "type": "outcomeTrue",
1665 "xml": "<outcome value='true'>\n",
1668 "x": 2870.219829559326,
1669 "y": 2408.5887298583984,
1670 "z": "1faa4c21.138614",
1678 "id": "80ab5bcc.2e28c8",
1679 "type": "outcomeTrue",
1681 "xml": "<outcome value='true'>\n",
1684 "x": 2486.6744499206543,
1685 "y": 2345.6980061531067,
1686 "z": "1faa4c21.138614",
1694 "id": "5296c6fd.9fcb48",
1695 "type": "switchNode",
1696 "name": "switch: SERVICE-DATA ipv6-sbunet-name != NULL",
1697 "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-name != ''`\">",
1700 "x": 2096.4482421875,
1701 "y": 2544.9955739974976,
1702 "z": "1faa4c21.138614",
1710 "id": "e32aea1f.9758e8",
1711 "type": "outcomeTrue",
1713 "xml": "<outcome value='true'>\n",
1716 "x": 2381.6982078552246,
1717 "y": 2544.7455530166626,
1718 "z": "1faa4c21.138614",
1726 "id": "13d42cf8.7179b3",
1728 "name": "set: service-data = AnAI - ipv6-subnet-id ",
1729 "xml": "<set>\n<parameter name=\"vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1732 "x": 3127.9600982666016,
1733 "y": 2660.007555961609,
1734 "z": "1faa4c21.138614",
1740 "id": "384e37ed.ea75c8",
1741 "type": "switchNode",
1742 "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1743 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1746 "x": 2193.7459716796875,
1747 "y": 2603.7931451797485,
1748 "z": "1faa4c21.138614",
1756 "id": "1f1251f4.1e980e",
1758 "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1759 "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1762 "x": 2262.8885498046875,
1763 "y": 2661.4360361099243,
1764 "z": "1faa4c21.138614",
1772 "id": "c4b44e57.fc7a1",
1773 "type": "switchNode",
1774 "name": "switch: AnAI == service-data - ipv6-subnet-name",
1775 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-name`\">",
1778 "x": 2635.6385040283203,
1779 "y": 2660.686120033264,
1780 "z": "1faa4c21.138614",
1788 "id": "95800325.64ed4",
1789 "type": "outcomeTrue",
1791 "xml": "<outcome value='true'>\n",
1794 "x": 2894.0411949157715,
1795 "y": 2660.5531482696533,
1796 "z": "1faa4c21.138614",
1804 "id": "21db5d22.4f1eb2",
1805 "type": "outcomeTrue",
1807 "xml": "<outcome value='true'>\n",
1810 "x": 2479.067455291748,
1811 "y": 2603.3765358924866,
1812 "z": "1faa4c21.138614",
1820 "id": "b6579139.05a4d",
1822 "name": "Use Preload Data",
1825 "x": 453.5230941772461,
1826 "y": 1850.9603958129883,
1827 "z": "1faa4c21.138614",
1831 "id": "a54a422d.7f289",
1832 "type": "switchNode",
1833 "name": "switch: SERVICE-DATA ipv6-sbunet-id == NULL",
1834 "xml": "<switch test=\"`$vf-module-service-data.vf-module-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id == ''`\">",
1837 "x": 2010.781494140625,
1838 "y": 2492.055146217346,
1839 "z": "1faa4c21.138614",
1847 "id": "c01ff5de.4ee4b8",
1848 "type": "outcomeTrue",
1850 "xml": "<outcome value='true'>\n",
1853 "x": 2295.0314598083496,
1854 "y": 2491.8051252365112,
1855 "z": "1faa4c21.138614",