3 "id": "adccb6.8424d348",
5 "name": "block : atomic",
6 "xml": "<block atomic=\"true\">",
9 "x": 178.7500114440918,
10 "y": 167.50000190734863,
11 "z": "b24c83f7.abbc6",
34 "id": "c7828b0a.e799e8",
35 "type": "get-resource",
36 "name": "get AnAI - l3-network",
37 "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $network-topology-operation-input.network-request-information.network-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.AnAI.l3network\">\n",
40 "x": 424.80941009521484,
41 "y": 168.38485431671143,
42 "z": "b24c83f7.abbc6",
51 "id": "2212dd2d.8e7942",
53 "name": "switch: AnAI == PRELOAD - network-name",
54 "xml": "<switch test=\"`$tmp.AnAI.l3network.network-name == $preload-data.network-topology-information.network-topology-identifier.network-name`\">",
57 "x": 493.2222099304199,
58 "y": 340.5555057525635,
59 "z": "b24c83f7.abbc6",
67 "id": "2dfb355b.d5d24a",
69 "name": "for loop k - tmp.AnAI.l3network.subnets.subnet",
70 "xml": "<for index=\"k\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">\n",
73 "x": 499.5236930847168,
74 "y": 515.6143531799316,
75 "z": "b24c83f7.abbc6",
83 "id": "99484323.6781e",
85 "name": "for loop i - PRELOAD subnets",
86 "xml": "<for index=\"i\" start=\"0\" end=\"`$preload-data.network-topology-information.subnets_length`\">\n",
89 "x": 847.464298248291,
90 "y": 1611.5709714889526,
91 "z": "b24c83f7.abbc6",
99 "id": "313c1584.4f97fa",
100 "type": "returnSuccess",
101 "name": "return success",
102 "xml": "<return status=\"success\">\n\t<parameter name=\"networkId\" value=\"`$network-topology-operation-input.network-request-information.network-id`\" />\n\t<parameter name=\"error-code\" value=\"200\" />",
104 "x": 284.05884170532227,
105 "y": 6246.302718162537,
106 "z": "b24c83f7.abbc6",
110 "id": "812ba46c.1b8558",
113 "xml": "<outcome value='not-found'>\n",
116 "x": 611.7143592834473,
117 "y": 209.57915782928467,
118 "z": "b24c83f7.abbc6",
126 "id": "90e7717c.4ff42",
127 "type": "returnFailure",
128 "name": "return failure",
129 "xml": "<return status='failure'>\n\t<parameter name=\"error-code\" value=\"404\" />\n\t<parameter name=\"error-message\" value=\"`'network-id: ' + $network-topology-operation-input.network-request-information.network-id + 'not found in AnAI'`\" />",
131 "x": 774.3531341552734,
132 "y": 209.4681453704834,
133 "z": "b24c83f7.abbc6",
137 "id": "6a707f17.e585d",
139 "name": "block : atomic",
140 "xml": "<block atomic='true'>",
144 "x": 641.8493194580078,
145 "y": 654.6338815689087,
146 "z": "b24c83f7.abbc6",
155 "id": "c69a9fad.d395d",
157 "name": "initialize tmp.start-address-match = 0",
158 "xml": "<set>\n<parameter name='tmp.start-address-match' value='0' />\n",
160 "x": 714.3761596679688,
161 "y": 563.1682300567627,
162 "z": "b24c83f7.abbc6",
168 "id": "cb84ba2b.90bd48",
170 "name": "block : atomic",
171 "xml": "<block atomic='true'>",
175 "x": 549.4607391357422,
176 "y": 1776.8211612701416,
177 "z": "b24c83f7.abbc6",
186 "id": "7945c8d8.383a58",
188 "name": "initialize tmp.start-address-match = 0",
189 "xml": "<set>\n<parameter name=\"tmp.start-address-match\" value=\"0\" />\n",
191 "x": 738.2764015197754,
192 "y": 1709.0573635101318,
193 "z": "b24c83f7.abbc6",
199 "id": "e1540d8d.4554a",
201 "name": "for loop n PRELOAD subnets",
202 "xml": "<for index=\"n\" start=\"0\" end=\"`$preload-data.network-topology-information.subnets_length`\">\n",
205 "x": 874.579891204834,
206 "y": 655.1577501296997,
207 "z": "b24c83f7.abbc6",
215 "id": "4fd8628d.a08a8c",
216 "type": "switchNode",
217 "name": "switch: tmp.start-address-match = 0",
218 "xml": "<switch test=\"`$tmp.start-address-match == 0`\">",
221 "x": 989.4622459411621,
222 "y": 1282.7005062103271,
223 "z": "b24c83f7.abbc6",
231 "id": "766397f9.d8d1f8",
233 "name": "for loop j - AnAI l3subnet",
234 "xml": "<for index=\"j\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">\n",
237 "x": 770.6567459106445,
238 "y": 1777.2368459701538,
239 "z": "b24c83f7.abbc6",
247 "id": "d695fd69.34476",
248 "type": "outcomeTrue",
250 "xml": "<outcome value='true'>\n",
253 "x": 1226.8745765686035,
254 "y": 1282.2680130004883,
255 "z": "b24c83f7.abbc6",
263 "id": "e08b1d05.35c67",
264 "type": "outcomeTrue",
266 "xml": "<outcome value='true'>\n",
269 "x": 933.4417266845703,
270 "y": 1831.371304512024,
271 "z": "b24c83f7.abbc6",
279 "id": "94c41929.7cf038",
280 "type": "switchNode",
281 "name": "switch: AnAI-k == PRELOAD-n start-address",
282 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$k].network-start-address == $preload-data.network-topology-information.subnets[$n].start-address`\">",
285 "x": 887.6592407226562,
286 "y": 706.0110673904419,
287 "z": "b24c83f7.abbc6",
295 "id": "a27e439b.1f5f7",
296 "type": "switchNode",
297 "name": "switch: PRELOAD-i == AnAI-j start-address",
298 "xml": "<switch test=\"`$preload-data.network-topology-information.subnets[$i].start-address == $tmp.AnAI.l3network.subnets.subnet[$j].network-start-address`\">",
301 "x": 1084.7081756591797,
302 "y": 1777.8203172683716,
303 "z": "b24c83f7.abbc6",
311 "id": "f26659b9.bdc948",
313 "name": "block : atomic",
314 "xml": "<block atomic=\"true\">",
317 "x": 1113.581069946289,
318 "y": 1831.8419494628906,
319 "z": "b24c83f7.abbc6",
332 "id": "5c5db431.fc380c",
333 "type": "outcomeTrue",
335 "xml": "<outcome value='true'>\n",
338 "x": 1154.7284240722656,
339 "y": 706.2167139053345,
340 "z": "b24c83f7.abbc6",
348 "id": "df441732.5a6038",
350 "name": "update AnAI - subnet",
351 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"subnet\" \n\t\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id \n\t\t\tAND subnet.subnet-id = $tmp.AnAI.l3network.subnets.subnet[$k].subnet-id\" >\n<parameter name=\"orchestration-status\" value=\"pending-delete\" />\n\t\t",
354 "x": 1410.3694496154785,
355 "y": 1281.6625576019287,
356 "z": "b24c83f7.abbc6",
366 "id": "c4c3be7b.c7a1b",
367 "type": "outcomeTrue",
369 "xml": "<outcome value='true'>\n",
372 "x": 1335.9098434448242,
373 "y": 1777.2601118087769,
374 "z": "b24c83f7.abbc6",
382 "id": "b8c75959.a07998",
385 "xml": "<outcome value='failure'>\n",
388 "x": 1603.3452911376953,
389 "y": 1281.5433139801025,
390 "z": "b24c83f7.abbc6",
398 "id": "272c0e65.707422",
400 "name": "foreach AnAI l3subnet not found in PRELOAD, set pending-delete",
403 "x": 1032.8700065612793,
404 "y": 1158.146183013916,
405 "z": "b24c83f7.abbc6",
409 "id": "661025a8.9e175c",
411 "name": "foreach PRELOAD subnet not found in AnAI l3subnet, create subnet in AnAI",
414 "x": 626.5205192565918,
415 "y": 1534.1595935821533,
416 "z": "b24c83f7.abbc6",
420 "id": "5138e1dc.f8066",
421 "type": "switchNode",
422 "name": "switch: AnAI-k == PRELOAD-n cidr-mask",
423 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$k].cidr-mask == $preload-data.network-topology-information.subnets[$n].cidr-mask`\">",
426 "x": 1588.1782608032227,
427 "y": 467.1387405395508,
428 "z": "b24c83f7.abbc6",
436 "id": "5bb8c4e2.6d08bc",
438 "name": "set tmp.start-address-match = 1",
439 "xml": "<set>\n<parameter name='tmp.start-address-match' value='1' />\n",
441 "x": 1560.4662246704102,
442 "y": 418.6142053604126,
443 "z": "b24c83f7.abbc6",
449 "id": "b5badb50.692f18",
451 "name": "block : atomic",
452 "xml": "<block atomic='true'>",
456 "x": 1304.9099044799805,
457 "y": 706.583779335022,
458 "z": "b24c83f7.abbc6",
474 "id": "28694ef.e6d40b2",
476 "name": "start-addr matched, compare other subnet attrs",
479 "x": 1184.274257659912,
480 "y": 560.822154045105,
481 "z": "b24c83f7.abbc6",
485 "id": "da70def2.76425",
486 "type": "outcomeFalse",
488 "xml": "<outcome value='false'>\n",
491 "x": 1834.7589530944824,
492 "y": 467.59263038635254,
493 "z": "b24c83f7.abbc6",
501 "id": "17ed7289.814ddd",
503 "name": "update AnAI - subnet",
504 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"subnet\" \n\t\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id \n\t\t\tAND subnet.subnet-id = $tmp.AnAI.l3network.subnets.subnet[$k].subnet-id\" >\n\t<!-- Update l3network.subnet -->\n\t<parameter name=\"gateway-address\" value=\"`$tmp.gateway-address`\"/>\n\t<parameter name=\"subnet-name\" value=\"`$preload-data.network-topology-information.subnets[$n].subnet-name`\"/>\n\t<parameter name=\"cidr-mask\" value=\"`$preload-data.network-topology-information.subnets[$n].cidr-mask`\"/>\n\t<parameter name=\"dhcp-start\" value=\"`$preload-data.network-topology-information.subnets[$n].dhcp-start-address`\"/>\n\t<parameter name=\"dhcp-end\" value=\"`$preload-data.network-topology-information.subnets[$n].dhcp-end-address`\"/>\n\t<parameter name=\"dhcp-enabled\" value=\"`$tmp.dhcpEnabled.boolean`\"/>\n\t<parameter name=\"orchestration-status\" value=\"pending-update\" />\n\t\t",
507 "x": 1941.5383796691895,
508 "y": 1026.5579977035522,
509 "z": "b24c83f7.abbc6",
519 "id": "bfe3db0b.73f948",
521 "name": "foreach AnAI subnet attr different from PRELOAD, update AnAI and set pending-update",
524 "x": 1908.5912628173828,
525 "y": 365.12071228027344,
526 "z": "b24c83f7.abbc6",
530 "id": "cf30dbbc.caf468",
531 "type": "switchNode",
532 "name": "switch: AnAI-k == PRELOAD-n dhcp-enabled.boolean",
533 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$k].dhcp-enabled == $tmp.dhcpEnabled.boolean`\">",
536 "x": 1625.5838432312012,
537 "y": 829.0172414779663,
538 "z": "b24c83f7.abbc6",
546 "id": "7321a40b.545eac",
547 "type": "outcomeFalse",
549 "xml": "<outcome value='false'>\n",
552 "x": 1908.4177474975586,
553 "y": 828.9894180297852,
554 "z": "b24c83f7.abbc6",
562 "id": "8fd779af.d8ec98",
563 "type": "switchNode",
564 "name": "switch : PRELOAD dhcp-enabled",
565 "xml": "<switch test=\"`$preload-data.network-topology-information.subnets[$i].dhcp-enabled`\">",
568 "x": 1376.659194946289,
569 "y": 1831.488842010498,
570 "z": "b24c83f7.abbc6",
579 "id": "7227226.f5b7ddc",
582 "xml": "<outcome value='N'>",
585 "x": 1624.2147521972656,
586 "y": 1832.4095478057861,
587 "z": "b24c83f7.abbc6",
595 "id": "d1241924.ed09f8",
598 "xml": "<outcome value='Y'>",
601 "x": 1624.881492614746,
602 "y": 1878.8540449142456,
603 "z": "b24c83f7.abbc6",
611 "id": "67602934.d76d68",
613 "name": "set tmp.dhcpEnabled.bolean=false",
614 "xml": "<set>\n<parameter name=\"tmp.dhcpEnabled.boolean\" value=\"false\" />\n",
616 "x": 2016.2388725280762,
617 "y": 738.6499919891357,
618 "z": "b24c83f7.abbc6",
624 "id": "25a34e9f.ba3cb2",
626 "name": "set tmp.dhcpEnabled.boolean=true",
627 "xml": "<set>\n<parameter name=\"tmp.dhcpEnabled.boolean\" value=\"true\" />\n",
629 "x": 2017.8779106140137,
630 "y": 780.1221618652344,
631 "z": "b24c83f7.abbc6",
637 "id": "aa1015d0.f81c38",
638 "type": "switchNode",
639 "name": "switch : PRELOAD-n dhcp-enabled",
640 "xml": "<switch test=\"`$preload-data.network-topology-information.subnets[$n].dhcp-enabled`\">",
643 "x": 1567.1460990905762,
644 "y": 738.4153118133545,
645 "z": "b24c83f7.abbc6",
654 "id": "7c02b1e6.66023",
657 "xml": "<outcome value='N'>",
660 "x": 1797.2017631530762,
661 "y": 738.6931438446045,
662 "z": "b24c83f7.abbc6",
670 "id": "d4a0bbfd.813968",
673 "xml": "<outcome value='Y'>",
676 "x": 1796.618564605713,
677 "y": 779.8876571655273,
678 "z": "b24c83f7.abbc6",
686 "id": "4dd3576.8062ba8",
688 "name": "block : atomic",
689 "xml": "<block atomic='true'>",
693 "x": 452.6436080932617,
694 "y": 563.4527454376221,
695 "z": "b24c83f7.abbc6",
705 "id": "d6ebf8bb.4c2de8",
707 "name": "initialize tmp.subnetUpdate = 0",
708 "xml": "<set>\n<parameter name='tmp.subnetUpdate' value='0' />\n",
710 "x": 695.1359634399414,
711 "y": 608.8260974884033,
712 "z": "b24c83f7.abbc6",
718 "id": "f67b8249.bf0ed",
719 "type": "switchNode",
720 "name": "switch: tmp.subnetUpdate = 1",
721 "xml": "<switch test=\"`$tmp.subnetUpdate == 1`\">",
724 "x": 1548.4172706604004,
725 "y": 1027.1630268096924,
726 "z": "b24c83f7.abbc6",
734 "id": "b0b528dc.173918",
735 "type": "outcomeTrue",
737 "xml": "<outcome value='true'>\n",
740 "x": 1756.4172706604004,
741 "y": 1026.8297748565674,
742 "z": "b24c83f7.abbc6",
750 "id": "caf58dc4.3309b",
752 "name": "block : atomic",
753 "xml": "<block atomic='true'>",
757 "x": 476.2505073547363,
758 "y": 1709.036449432373,
759 "z": "b24c83f7.abbc6",
768 "id": "d922f181.c8317",
770 "name": "set tmp.l3networkUpdate = 1",
771 "xml": "<set>\n<parameter name=\"tmp.l3networkUpdate\" value=\"1\" />\n",
773 "x": 2512.298324584961,
774 "y": 1271.3373107910156,
775 "z": "b24c83f7.abbc6",
781 "id": "e5068dd8.d58d5",
784 "xml": "<outcome value='success'>\n",
787 "x": 1610.0681495666504,
788 "y": 1435.3452835083008,
789 "z": "b24c83f7.abbc6",
797 "id": "b0faff93.2dd14",
800 "xml": "<outcome value='success'>\n",
803 "x": 1640.504550933838,
804 "y": 2245.03267288208,
805 "z": "b24c83f7.abbc6",
813 "id": "f20c0bb3.0d7af8",
815 "name": "set tmp.subnetRollback: orchestraton-status",
816 "xml": "<set>\n <parameter name=\"tmp.subnetRollback[$x].subnet-id\" value= \"`$tmp.AnAI.l3network.subnets.subnet[$k].subnet-id`\"/>\n <parameter name=\"tmp.subnetRollback[$x].orchestration-status\" value= \"`$tmp.AnAI.l3network.subnets.subnet[$k].orchestration-status`\" />\n <parameter name=\"tmp.subnetRollback[$x].type\" value = \"delete\" />\n \n\n\n",
818 "x": 2054.0706214904785,
819 "y": 1434.5365447998047,
820 "z": "b24c83f7.abbc6",
826 "id": "87593b73.e592d8",
833 "x": 1746.9279098510742,
834 "y": 1435.1081132888794,
835 "z": "b24c83f7.abbc6",
845 "id": "ee66f92b.ccfb18",
852 "x": 1782.9489860534668,
853 "y": 2244.078380584717,
854 "z": "b24c83f7.abbc6",
864 "id": "eaaa5901.98e238",
866 "name": "set tmp.subnetRollback for create",
867 "xml": "<set>\n <parameter name=\"tmp.subnetRollback[$x].subnet-id\" value= \"`$tmp.return.generate-subnets-subnet-id.uuid`\" />\n <parameter name=\"tmp.subnetRollback[$x].type\" value = \"create\" />",
869 "x": 2019.2348937988281,
870 "y": 2244.792977333069,
871 "z": "b24c83f7.abbc6",
877 "id": "8f7fc73c.e2c3d8",
880 "xml": "<set>\n <parameter name=\"x\" value = \"`$x + 1`\" />\n\n",
882 "x": 1937.775577545166,
883 "y": 1480.5871963500977,
884 "z": "b24c83f7.abbc6",
890 "id": "29738f0c.0d796",
893 "xml": "<set>\n <parameter name=\"x\" value = \"`$x + 1`\" />\n\n",
895 "x": 1936.1711730957031,
896 "y": 2290.3573427200317,
897 "z": "b24c83f7.abbc6",
903 "id": "49957628.a77588",
904 "type": "switchNode",
905 "name": "switch: l3subnet[k] == PRELOAD subnets[n] dhcp-start",
906 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$k].dhcp-start == $preload-data.network-topology-information.subnets[$n].dhcp-start-address`\">",
909 "x": 1627.2202644348145,
910 "y": 877.0411176681519,
911 "z": "b24c83f7.abbc6",
919 "id": "a485a10d.6f0aa",
920 "type": "outcomeFalse",
922 "xml": "<outcome value='false'>\n",
925 "x": 1908.1367721557617,
926 "y": 876.7633323669434,
927 "z": "b24c83f7.abbc6",
935 "id": "c6be995.0b46868",
936 "type": "switchNode",
937 "name": "switch: l3subnet[k] == PRELOAD subnets[n] dhcp-end",
938 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$k].dhcp-end == $preload-data.network-topology-information.subnets[$n].dhcp-end-address`\">",
941 "x": 1624.4424324035645,
942 "y": 924.3744916915894,
943 "z": "b24c83f7.abbc6",
951 "id": "b7005098.53ee7",
952 "type": "outcomeFalse",
954 "xml": "<outcome value='false'>\n",
957 "x": 1907.3589401245117,
958 "y": 924.0967063903809,
959 "z": "b24c83f7.abbc6",
967 "id": "e25fc8a9.1116e8",
969 "name": "method network-topology-changeassign",
970 "xml": "<method rpc=\"network-topology-changeassign\" mode=\"sync\">",
973 "x": 228.1150665283203,
974 "y": 109.55552768707275,
975 "z": "b24c83f7.abbc6",
983 "id": "202a3e03.4ddbf2",
984 "type": "service-logic",
985 "name": "VNF-API ${project.version}",
987 "version": "${project.version}",
989 "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}'>",
991 "x": 282.5594940185547,
992 "y": 53.22220325469971,
993 "z": "b24c83f7.abbc6",
1001 "id": "570ef049.e5ed1",
1005 "x": 118.44837951660156,
1006 "y": 53.22220325469971,
1007 "z": "b24c83f7.abbc6",
1015 "id": "8ace8ce6.55a0e",
1018 "xml": "<outcome value='failure'>\n",
1021 "x": 604.6705780029297,
1022 "y": 168.77773571014404,
1023 "z": "b24c83f7.abbc6",
1031 "id": "77d4339b.2c77fc",
1032 "type": "returnFailure",
1033 "name": "return failure",
1034 "xml": "<return status='failure'>\n\t<parameter name=\"error-code\" value=\"500\" />\n\t<parameter name=\"error-message\" value=\"`'Error retrieving l3-network with network-id=' + $network-topology-operation-input.network-request-information.network-id + ' from AnAI'`\" />",
1036 "x": 763.7816619873047,
1037 "y": 168.9999647140503,
1038 "z": "b24c83f7.abbc6",
1042 "id": "540da71a.6c5d78",
1043 "type": "GenericXML",
1044 "name": "Execute: generate gateway-address",
1045 "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"getGatewayAddress\">\n\t<parameter name=\"ipAddress\" value=\"`$preload-data.network-topology-information.subnets[$n].start-address`\" />\n\t<parameter name=\"ipVersion\" value=\"`$preload-data.network-topology-information.subnets[$n].ip-version`\" />\n\t<parameter name=\"subnet\" value=\"`$preload-data.network-topology-information.subnets[$n].cidr-mask`\" />\n\t<parameter name=\"ctxVariable\" value=\"tmp.return.generate.gateway-address\" />",
1048 "x": 2190.293586730957,
1049 "y": 525.952335357666,
1050 "z": "b24c83f7.abbc6",
1056 "id": "66b36d53.f585d4",
1058 "name": "set tmp.gateway-address",
1059 "xml": "<set>\n<parameter name=\"tmp.gateway-address\" value=\"`$tmp.return.generate.gateway-address`\" />\n",
1061 "x": 2807.043712615967,
1062 "y": 588.9523363113403,
1063 "z": "b24c83f7.abbc6",
1069 "id": "e67b0a35.1d06e8",
1070 "type": "switchNode",
1071 "name": "switch : PRELOAD gateway-address",
1072 "xml": "<switch test=\"`$preload-data.network-topology-information.subnets[$n].gateway-address`\">",
1075 "x": 1575.543586730957,
1076 "y": 525.952335357666,
1077 "z": "b24c83f7.abbc6",
1086 "id": "8b3b77a0.09f798",
1089 "xml": "<outcome value=''>",
1091 "x": 1809.543586730957,
1092 "y": 525.952335357666,
1093 "z": "b24c83f7.abbc6",
1101 "id": "4ab20367.f03b6c",
1104 "xml": "<outcome value='Other'>\n",
1107 "x": 1811.543586730957,
1108 "y": 569.952335357666,
1109 "z": "b24c83f7.abbc6",
1117 "id": "6708d473.7fb07c",
1118 "type": "switchNode",
1119 "name": "switch: AnAI-k == PRELOAD-n gateway-address",
1120 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$k].gateway-address == $preload-data.network-topology-information.subnets[$n].gateway-address`\">",
1123 "x": 2044.543743133545,
1124 "y": 648.6666088104248,
1125 "z": "b24c83f7.abbc6",
1134 "id": "263829a0.412d26",
1135 "type": "outcomeFalse",
1137 "xml": "<outcome value='false'>\n",
1140 "x": 2321.043743133545,
1141 "y": 648.9166088104248,
1142 "z": "b24c83f7.abbc6",
1150 "id": "d3078aa9.d0b7f8",
1152 "name": "set tmp.gateway-address",
1153 "xml": "<set>\n<parameter name=\"tmp.gateway-address\" value=\"`$preload-data.network-topology-information.subnets[$n].gateway-address`\" />\n",
1155 "x": 2808.0437049865723,
1156 "y": 647.0594596862793,
1157 "z": "b24c83f7.abbc6",
1163 "id": "4d8feb3a.3484b4",
1170 "x": 1949.543586730957,
1171 "y": 525.952335357666,
1172 "z": "b24c83f7.abbc6",
1181 "id": "ac91a48c.df4748",
1188 "x": 2460.043743133545,
1189 "y": 648.9166088104248,
1190 "z": "b24c83f7.abbc6",
1199 "id": "6e1e477.31893b8",
1200 "type": "returnSuccess",
1201 "name": "set execute_failure = true",
1202 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
1204 "x": 2527.4322395324707,
1205 "y": 1113.436484336853,
1206 "z": "b24c83f7.abbc6",
1210 "id": "f97c22c3.bd33d",
1211 "type": "not-found",
1213 "xml": "<outcome value='false'>\n",
1216 "x": 747.4722099304199,
1217 "y": 340.55950260162354,
1218 "z": "b24c83f7.abbc6",
1226 "id": "5b49a928.5702a8",
1227 "type": "returnFailure",
1228 "name": "return failure",
1229 "xml": "<return status='failure'>\n\t<parameter name=\"error-code\" value=\"404\" />\n\t<parameter name=\"error-message\" value=\"`'No preload network found with network-name = ' + $tmp.AnAI.l3network.network-name + ' in SDNC'`\" />",
1231 "x": 910.1109848022461,
1232 "y": 340.44849014282227,
1233 "z": "b24c83f7.abbc6",
1237 "id": "cd77a967.3c6308",
1244 "x": 2295.138832092285,
1245 "y": 1026.595251083374,
1246 "z": "b24c83f7.abbc6",
1256 "id": "2d5ecb94.1f2404",
1259 "xml": "<outcome value='failure'>\n",
1262 "x": 2127.6016120910645,
1263 "y": 1026.3078203201294,
1264 "z": "b24c83f7.abbc6",
1272 "id": "80e40fc7.91291",
1275 "xml": "<outcome value='success'>\n",
1278 "x": 2135.163372039795,
1279 "y": 1181.254093170166,
1280 "z": "b24c83f7.abbc6",
1288 "id": "c1d7a122.2a287",
1290 "name": "set tmp.subnetRollback: keys",
1291 "xml": "<set>\n <parameter name=\"tmp.subnetRollback[$x].subnet-id\" value= \"`$tmp.AnAI.l3network.subnets.subnet[$k].subnet-id`\"/>\n <parameter name=\"tmp.subnetRollback[$x].type\" value = \"update\"/>\n \n\n\n",
1293 "x": 2511.4268836975098,
1294 "y": 1181.4888858795166,
1295 "z": "b24c83f7.abbc6",
1301 "id": "3fce51fa.fd9e2e",
1308 "x": 2273.662322998047,
1309 "y": 1181.2392616271973,
1310 "z": "b24c83f7.abbc6",
1320 "id": "61057541.26debc",
1323 "xml": "<set>\n <parameter name=\"x\" value = \"`$x + 1`\" />\n\n",
1325 "x": 2441.1170692443848,
1326 "y": 1227.039545059204,
1327 "z": "b24c83f7.abbc6",
1333 "id": "3d2b0a50.3a8f56",
1334 "type": "returnSuccess",
1335 "name": "set execute_failure = true",
1336 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
1338 "x": 2039.186595916748,
1339 "y": 1368.3451623916626,
1340 "z": "b24c83f7.abbc6",
1344 "id": "84c3d0d1.e984c",
1346 "name": "save AnAI - l3-network.subnets.subnet",
1347 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"subnet\" \n\t\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id \n\t\t\tAND subnet.subnet-id = $tmp.return.generate-subnets-subnet-id.uuid\" >\n\t<!-- Create l3-network object -->\n\t<parameter name=\"network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n\t<parameter name=\"subnet-id\" value=\"`$tmp.return.generate-subnets-subnet-id.uuid`\" />\n\t<parameter name=\"gateway-address\" value=\"`$tmp.gateway-address`\" />\n\t<parameter name=\"subnet-name\" value=\"`$preload-data.network-topology-information.subnets[$i].subnet-name`\" />\t\t\n\t<parameter name=\"network-start-address\" value=\"`$preload-data.network-topology-information.subnets[$i].start-address`\" />\n\t<parameter name=\"cidr-mask\" value=\"`$preload-data.network-topology-information.subnets[$i].cidr-mask`\" />\n\t<parameter name=\"ip-version\" value=\"`$preload-data.network-topology-information.subnets[$i].ip-version`\" />\n\t<parameter name=\"dhcp-start\" value=\"`$preload-data.network-topology-information.subnets[$i].dhcp-start-address`\" />\n\t<parameter name=\"dhcp-end\" value=\"`$preload-data.network-topology-information.subnets[$i].dhcp-end-address`\" />\n\t<parameter name=\"dhcp-enabled\" value=\"`$tmp.dhcpEnabled.boolean`\" />\n\t<parameter name=\"orchestration-status\" value=\"pending-create\" />",
1350 "x": 1392.1628170013428,
1351 "y": 2104.321937561035,
1352 "z": "b24c83f7.abbc6",
1362 "id": "ddd8c8e2.0b4288",
1365 "xml": "<outcome value='failure'>\n",
1368 "x": 1634.7790908813477,
1369 "y": 2104.670440673828,
1370 "z": "b24c83f7.abbc6",
1378 "id": "bdf792c0.b5a28",
1379 "type": "switchNode",
1380 "name": "switch : PRELOAD gateway-address",
1381 "xml": "<switch test=\"`$preload-data.network-topology-information.subnets[$i].gateway-address`\">",
1384 "x": 1391.028793334961,
1385 "y": 1969.615735054016,
1386 "z": "b24c83f7.abbc6",
1394 "id": "b4dd1568.7deed8",
1397 "xml": "<outcome value=''>",
1399 "x": 1614.528793334961,
1400 "y": 1969.615735054016,
1401 "z": "b24c83f7.abbc6",
1409 "id": "a0138d79.73728",
1410 "type": "GenericXML",
1411 "name": "Execute: generate gateway-address",
1412 "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"getGatewayAddress\">\n\t<parameter name=\"ipAddress\" value=\"`$preload-data.network-topology-information.subnets[$i].start-address`\" />\n\t<parameter name=\"ipVersion\" value=\"`$preload-data.network-topology-information.subnets[$i].ip-version`\" />\n\t<parameter name=\"subnet\" value=\"`$preload-data.network-topology-information.subnets[$i].cidr-mask`\" />\n\t<parameter name=\"ctxVariable\" value=\"tmp.return.generate.gateway-address\" />",
1415 "x": 1987.77880859375,
1416 "y": 1969.3657426834106,
1417 "z": "b24c83f7.abbc6",
1423 "id": "cbdcd1c2.b3ed5",
1430 "x": 1756.2788009643555,
1431 "y": 1969.6157455444336,
1432 "z": "b24c83f7.abbc6",
1441 "id": "b1a240fe.72ecb",
1443 "name": "set tmp.gateway-address",
1444 "xml": "<set>\n<parameter name='tmp.gateway-address' value='`$preload-data.network-topology-information.subnets[$i].gateway-address`' />\n",
1446 "x": 1353.52880859375,
1447 "y": 1925.8657417297363,
1448 "z": "b24c83f7.abbc6",
1454 "id": "c95c4bf2.a7bd28",
1456 "name": "set tmp.gateway-address",
1457 "xml": "<set>\n<parameter name=\"tmp.gateway-address\" value=\"`$tmp.return.generate.gateway-address`\" />\n",
1459 "x": 1954.27880859375,
1460 "y": 2011.3657445907593,
1461 "z": "b24c83f7.abbc6",
1467 "id": "2340601b.c0fbc",
1469 "name": "call generate-subnets-subnet-id",
1470 "xml": "<call module=\"VNF-API\" rpc=\"generate-subnets-subnet-id\" mode=\"sync\" >\n",
1473 "x": 1371.1437721252441,
1474 "y": 2057.4728574752808,
1475 "z": "b24c83f7.abbc6",
1483 "id": "8589e64d.6294f8",
1486 "xml": "<outcome value='failure'>\n",
1489 "x": 1634.893756866455,
1490 "y": 2057.7228479385376,
1491 "z": "b24c83f7.abbc6",
1499 "id": "c6b0d6cd.d0a058",
1506 "x": 1807.6506958007812,
1507 "y": 1281.8093757629395,
1508 "z": "b24c83f7.abbc6",
1518 "id": "2a420bce.572e64",
1520 "name": "set tmp.dhcpEnabled.bolean=false",
1521 "xml": "<set>\n<parameter name=\"tmp.dhcpEnabled.boolean\" value=\"false\" />\n",
1523 "x": 1848.3532104492188,
1524 "y": 1831.9525032043457,
1525 "z": "b24c83f7.abbc6",
1531 "id": "797eb8ae.317378",
1533 "name": "set tmp.dhcpEnabled.boolean=true",
1534 "xml": "<set>\n<parameter name=\"tmp.dhcpEnabled.boolean\" value=\"true\" />\n",
1536 "x": 1850.1350021362305,
1537 "y": 1878.5675792694092,
1538 "z": "b24c83f7.abbc6",
1544 "id": "9117f581.49cd58",
1545 "type": "returnSuccess",
1546 "name": "set execute_failure = true",
1547 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
1549 "x": 2045.3016777038574,
1550 "y": 2193.504596710205,
1551 "z": "b24c83f7.abbc6",
1555 "id": "8dabdae5.57ab58",
1562 "x": 1834.5158653259277,
1563 "y": 2104.3617782592773,
1564 "z": "b24c83f7.abbc6",
1574 "id": "a6fad29a.1da73",
1576 "name": "set i, j max + 1",
1577 "xml": "<set>\n\t<parameter name='j' value='`$tmp.AnAI.l3subnet_length + 1`' />\n\t<parameter name='i' value='`$preload-data.network-topology-information.subnets_length + 1`' />",
1579 "x": 2009.0159034729004,
1580 "y": 2104.361795425415,
1581 "z": "b24c83f7.abbc6",
1587 "id": "da60e97d.0ede68",
1588 "type": "returnFailure",
1589 "name": "return failure",
1590 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value=\"`'Error updating l3-network in AnAI with network-id = ' + $tmp.AnAI.l3network.network-id + ' - ' + $tmp.error-message + ' - ' + $tmp.rollback.error-message`\"/>",
1592 "x": 669.991397857666,
1593 "y": 6073.796445846558,
1594 "z": "b24c83f7.abbc6",
1598 "id": "6c413597.876f3c",
1600 "name": "Set final indicator to Y",
1601 "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
1603 "x": 347.87683486938477,
1604 "y": 6179.523144721985,
1605 "z": "b24c83f7.abbc6",
1611 "id": "3b6d36e2.4f5b5a",
1613 "name": "set tmp.l3networkUpdate = 1",
1614 "xml": "<set>\n<parameter name='tmp.l3networkUpdate' value='1' />\n",
1616 "x": 2005.5675163269043,
1617 "y": 2336.881452560425,
1618 "z": "b24c83f7.abbc6",
1624 "id": "4ab836fd.f49d78",
1627 "xml": "<outcome value='failure'>\n",
1630 "x": 1271.8109970092773,
1631 "y": 4664.159008979797,
1632 "z": "b24c83f7.abbc6",
1640 "id": "80e7eee4.21ab2",
1641 "type": "switchNode",
1642 "name": "switch : tmp.l3networkUpdate = 1",
1643 "xml": "<switch test=\"`$tmp.l3networkUpdate == 1`\">\n",
1646 "x": 518.019718170166,
1647 "y": 4664.275115013123,
1648 "z": "b24c83f7.abbc6",
1656 "id": "b8e556ef.dde5f8",
1657 "type": "outcomeTrue",
1659 "xml": "<outcome value='true'>\n",
1662 "x": 731.6863822937012,
1663 "y": 4664.052649497986,
1664 "z": "b24c83f7.abbc6",
1672 "id": "e53a9499.9d4d28",
1674 "name": "update AnAI - l3-network.orchestration-status",
1675 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id\" >\n<parameter name=\"orchestration-status\" value=\"pending-update\" />",
1678 "x": 986.7340812683105,
1679 "y": 4664.179589271545,
1680 "z": "b24c83f7.abbc6",
1690 "id": "b682bac.b292748",
1696 "x": 1446.8769569396973,
1697 "y": 4664.4650774002075,
1698 "z": "b24c83f7.abbc6",
1707 "id": "277621ff.2d16fe",
1709 "name": "set: tmp.error-message",
1710 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"An error occurred while updating l3-network.orchestration-status in AnAI\"/>",
1712 "x": 1694.02103805542,
1713 "y": 4664.2675523757935,
1714 "z": "b24c83f7.abbc6",
1720 "id": "ea36d758.4a9288",
1722 "name": "block : atomic",
1723 "xml": "<block atomic='true'>",
1727 "x": 493.1831245422363,
1728 "y": 2314.7121753692627,
1729 "z": "b24c83f7.abbc6",
1738 "id": "70d1080b.b08868",
1740 "name": "block : atomic",
1741 "xml": "<block atomic='true'>",
1745 "x": 459.1587104797363,
1746 "y": 3271.960355758667,
1747 "z": "b24c83f7.abbc6",
1756 "id": "7d587fe3.3f132",
1758 "name": "Rollback AnAI - l3-network.orchestration-status",
1759 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id\" >\n<parameter name=\"orchestration-status\" value=\"`$tmp.AnAI.l3network.orchestration-status`\" />",
1762 "x": 1280.6508178710938,
1763 "y": 5976.617420196533,
1764 "z": "b24c83f7.abbc6",
1773 "id": "ae8d6ec6.39e21",
1775 "name": "set tmp.subnetUpdate = 1",
1776 "xml": "<set>\n<parameter name=\"tmp.subnetUpdate\" value=\"1\" />\n",
1778 "x": 2313.293930053711,
1779 "y": 828.4881381988525,
1780 "z": "b24c83f7.abbc6",
1786 "id": "3eceba12.f5d206",
1788 "name": "set tmp.l3networkUpdate = 1",
1789 "xml": "<set>\n<parameter name=\"tmp.l3networkUpdate\" value=\"1\" />\n",
1791 "x": 2005.543643951416,
1792 "y": 1525.7023010253906,
1793 "z": "b24c83f7.abbc6",
1799 "id": "9f8d35e4.e55ae8",
1800 "type": "switchNode",
1801 "name": "switch: tmp.start-address-match = 0",
1802 "xml": "<switch test=\"`$tmp.start-address-match == 0`\">",
1805 "x": 693.8650512695312,
1806 "y": 1831.6666650772095,
1807 "z": "b24c83f7.abbc6",
1815 "id": "b390fee8.578a3",
1817 "name": "set tmp.start-address-match = 1",
1818 "xml": "<set>\n<parameter name='tmp.start-address-match' value='1' />\n",
1820 "x": 1557.3650588989258,
1821 "y": 1776.9166612625122,
1822 "z": "b24c83f7.abbc6",
1828 "id": "50318e70.387a9",
1830 "name": "delete relationship: vpn_binding",
1831 "xml": "<delete plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id \n\t\tAND related-to = vpn-binding\" >",
1834 "x": 764.8055114746094,
1835 "y": 2315.0001096725464,
1836 "z": "b24c83f7.abbc6",
1844 "id": "c4f81359.003b8",
1846 "name": "for loop i - PRELOAD vpn-bindings",
1847 "xml": "<for index=\"i\" start=\"0\" end=\"`$preload-data.network-topology-information.vpn-bindings_length`\">\n",
1850 "x": 862.5317022535537,
1851 "y": 2543.666758219401,
1852 "z": "b24c83f7.abbc6",
1860 "id": "7c3e0805.40af68",
1862 "name": "block : atomic",
1863 "xml": "<block atomic='true'>",
1867 "x": 1101.309480879042,
1868 "y": 2543.9167601267495,
1869 "z": "b24c83f7.abbc6",
1880 "id": "d17665c3.e234d8",
1882 "name": "save relationship: vpn_bindings",
1883 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id\" >\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vpn-binding\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vpn-binding.vpn-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.vpn-binding-id`\" />",
1886 "x": 1557.5039176940918,
1887 "y": 2921.8888416290283,
1888 "z": "b24c83f7.abbc6",
1898 "id": "a47b8b14.1829d8",
1899 "type": "switchNode",
1900 "name": "switch ... PRELOAD vpn-bindings[]",
1901 "xml": "<switch test=\"`$preload-data.network-topology-information.vpn-bindings_length`\">",
1904 "x": 862.9091453552246,
1905 "y": 2500.248071670532,
1906 "z": "b24c83f7.abbc6",
1914 "id": "4801868f.077cf8",
1917 "xml": "<outcome value=''>",
1919 "x": 1089.3535957336426,
1920 "y": 2500.0258073806763,
1921 "z": "b24c83f7.abbc6",
1929 "id": "a35d2b.e1e2b2d8",
1931 "name": "set vpn-bindings[] = 0",
1932 "xml": "<set>\n<parameter name=\"preload-data.network-topology-information.vpn-bindings_length\" value=\"0\" />\n",
1934 "x": 1277.90920469496,
1935 "y": 2500.0258280436196,
1936 "z": "b24c83f7.abbc6",
1942 "id": "6940ee9d.942ff",
1945 "xml": "<outcome value='true'>\n",
1948 "x": 1604.0438635084365,
1949 "y": 2637.5160624186196,
1950 "z": "b24c83f7.abbc6",
1958 "id": "96fde5e9.4b32b8",
1960 "name": "query AnAI - vpn-bindings",
1961 "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"vpn-binding\" \n\t\tkey=\"vpn-binding.global-route-target = $preload-data.network-topology-information.vpn-bindings[$i].global-route-target\" \n\t\tpfx=\"tmp.AnAI.vpn-binding\">",
1964 "x": 1808.5438596937393,
1965 "y": 2637.266063372294,
1966 "z": "b24c83f7.abbc6",
1976 "id": "3c316751.c18568",
1979 "xml": "<outcome value='failure'>\n",
1982 "x": 2016.293897840712,
1983 "y": 2684.766030947367,
1984 "z": "b24c83f7.abbc6",
1992 "id": "f1e8d85f.221188",
1993 "type": "not-found",
1994 "name": "not-found",
1995 "xml": "<outcome value='not-found'>\n",
1998 "x": 2021.7939016554092,
1999 "y": 2637.266029993693,
2000 "z": "b24c83f7.abbc6",
2008 "id": "30521316.33fc5c",
2014 "x": 2169.293901655409,
2015 "y": 2684.5160319010415,
2016 "z": "b24c83f7.abbc6",
2025 "id": "c83277b8.bca398",
2027 "name": "set: tmp.error-message",
2028 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'Failed to query vpn-bindings n AnAI where global-route-target = ' + $preload-data.network-topology-information.vpn-bindings[$i].global-route-target`\"/>",
2030 "x": 2410.3934423658584,
2031 "y": 2684.265930811564,
2032 "z": "b24c83f7.abbc6",
2038 "id": "678f44ab.ea50ac",
2039 "type": "switchNode",
2040 "name": "switch: PRELOAD vpn-binding-id",
2041 "xml": "<switch test=\"`$preload-data.network-topology-information.vpn-bindings[$i].vpn-binding-id`\">",
2044 "x": 1346.7938673231338,
2045 "y": 2591.7660023371377,
2046 "z": "b24c83f7.abbc6",
2054 "id": "49c99c5d.db6104",
2057 "xml": "<outcome value='Other'>\n",
2060 "x": 1567.2938749525283,
2061 "y": 2591.516003290812,
2062 "z": "b24c83f7.abbc6",
2070 "id": "dc650ff6.6a37a",
2072 "name": "set tmp.vpn-binding-id",
2073 "xml": "<set>\n<parameter name=\"tmp.vpn-binding-id\" value=\"`$preload-data.network-topology-information.vpn-bindings[$i].vpn-binding-id`\" />\n",
2075 "x": 1762.7938749525283,
2076 "y": 2591.5160042444863,
2077 "z": "b24c83f7.abbc6",
2083 "id": "804fc820.1767b8",
2086 "xml": "<outcome value='success'>\n",
2089 "x": 2021.7107429504395,
2090 "y": 2785.932608604431,
2091 "z": "b24c83f7.abbc6",
2099 "id": "d43a1da1.801f4",
2101 "name": "set tmp.vpn-binding-id",
2102 "xml": "<set>\n<parameter name=\"tmp.vpn-binding-id\" value=\"`$tmp.AnAI.vpn-binding.vpn-id`\" />\n",
2104 "x": 2212.2107429504395,
2105 "y": 2785.932608604431,
2106 "z": "b24c83f7.abbc6",
2112 "id": "cc145aed.800d88",
2115 "xml": "<outcome value='failure'>\n",
2118 "x": 1817.5767936706543,
2119 "y": 2921.3644285202026,
2120 "z": "b24c83f7.abbc6",
2128 "id": "bd84c069.9f407",
2134 "x": 1974.4696731567383,
2135 "y": 2921.000535964966,
2136 "z": "b24c83f7.abbc6",
2146 "id": "d0bc0241.16643",
2148 "name": "set: tmp.error-message",
2149 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while saving l3-newtork vpn-binding relationship in AnAI where vpn-id = ' + $tmp.vpn-binding-id`\"/>",
2151 "x": 2194.5692138671875,
2152 "y": 2920.7504348754883,
2153 "z": "b24c83f7.abbc6",
2159 "id": "d8a1ae30.7e241",
2160 "type": "switchNode",
2161 "name": "switch: tmp.vpn-binding-id != NULL",
2162 "xml": "<switch test=\"`$tmp.vpn-binding-id != ''`\">",
2165 "x": 1387.5438346862793,
2166 "y": 2816.9325428009033,
2167 "z": "b24c83f7.abbc6",
2175 "id": "35e2cab.1320636",
2178 "xml": "<outcome value='true'>\n",
2181 "x": 1609.7938385009766,
2182 "y": 2816.9325428009033,
2183 "z": "b24c83f7.abbc6",
2191 "id": "9dcafbd2.180118",
2192 "type": "switchNode",
2193 "name": "switch ... PRELOAD network-policy[]",
2194 "xml": "<switch test=\"`$preload-data.network-topology-information.network-policy_length`\">",
2197 "x": 815.2102928161621,
2198 "y": 3497.8329753875732,
2199 "z": "b24c83f7.abbc6",
2207 "id": "9a549469.8cf168",
2210 "xml": "<outcome value=''>",
2212 "x": 1044.65474319458,
2213 "y": 3497.6107110977173,
2214 "z": "b24c83f7.abbc6",
2222 "id": "626b2924.e714b8",
2224 "name": "set network-policy[] = 0",
2225 "xml": "<set>\n<parameter name='preload-data.network-topology-information.network-policy_length' value='0' />\n",
2227 "x": 1239.2103521558975,
2228 "y": 3497.6107317606607,
2229 "z": "b24c83f7.abbc6",
2235 "id": "f4907fd3.a65",
2237 "name": "for loop i - PRELOAD network-policy",
2238 "xml": "<for index=\"i\" start=\"0\" end=\"`$preload-data.network-topology-information.network-policy_length`\">\n",
2241 "x": 814.567554473877,
2242 "y": 3543.404366493225,
2243 "z": "b24c83f7.abbc6",
2251 "id": "74c62ee.c142ad",
2253 "name": "save relationship: network-policy",
2254 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id\" >\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-policy\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-policy.network-policy-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.AnAI.network-policy.network-policy-id`\" />",
2257 "x": 2095.9804649353027,
2258 "y": 3742.5910663604736,
2259 "z": "b24c83f7.abbc6",
2269 "id": "c8c91878.a06a48",
2270 "type": "switchNode",
2271 "name": "switch: PRELOAD network-policy-fqdn != NULL",
2272 "xml": "<switch test=\"`$preload-data.network-topology-information.network-policy[$i].network-policy-fqdn != NULL`\">",
2275 "x": 1173.0797521803115,
2276 "y": 3543.5036207834873,
2277 "z": "b24c83f7.abbc6",
2285 "id": "b83dfff2.e2be5",
2288 "xml": "<outcome value='true'>\n",
2291 "x": 1453.8297521803115,
2292 "y": 3543.7536207834873,
2293 "z": "b24c83f7.abbc6",
2301 "id": "72405702.54bef8",
2303 "name": "query AnAI - network-policy",
2304 "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"network-policy\" \n\t\tkey=\"network-policy.network-policy-fqdn = $preload-data.network-topology-information.network-policy[$i].network-policy-fqdn\" \n\t\tpfx=\"tmp.AnAI.network-policy\" >",
2307 "x": 1653.8297882080078,
2308 "y": 3543.753540992737,
2309 "z": "b24c83f7.abbc6",
2319 "id": "9106f450.700d08",
2322 "xml": "<outcome value='failure'>\n",
2325 "x": 1865.8298204210068,
2326 "y": 3584.503463109335,
2327 "z": "b24c83f7.abbc6",
2335 "id": "d7e04886.f0b1b8",
2336 "type": "not-found",
2337 "name": "not-found",
2338 "xml": "<outcome value='not-found'>\n",
2341 "x": 1871.329824235704,
2342 "y": 3544.0034621556606,
2343 "z": "b24c83f7.abbc6",
2351 "id": "8bf9d679.d0ee98",
2357 "x": 2020.829824235704,
2358 "y": 3584.2534640630092,
2359 "z": "b24c83f7.abbc6",
2368 "id": "e5a86167.920af",
2370 "name": "set: tmp.error-message",
2371 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'Failed to query network-policy n AnAI where network-policy-fqdn = ' + $preload-data.network-topology-information.network-policy[$i].network-policy-fqdn`\"/>",
2373 "x": 2236.9293649461533,
2374 "y": 3584.0033629735317,
2375 "z": "b24c83f7.abbc6",
2381 "id": "961c1793.845838",
2384 "xml": "<outcome value='failure'>\n",
2387 "x": 2322.0533409118652,
2388 "y": 3742.066653251648,
2389 "z": "b24c83f7.abbc6",
2397 "id": "9f43abef.bd4728",
2403 "x": 2462.946220397949,
2404 "y": 3741.702760696411,
2405 "z": "b24c83f7.abbc6",
2414 "id": "d2d1e07.7cfa32",
2416 "name": "set: tmp.error-message",
2417 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while saving l3-newtork network-policy relationship in AnAI where network-policy-id = ' + $tmp.AnAI.network-policy.network-policy-id`\"/>",
2419 "x": 2694.0457611083984,
2420 "y": 3741.4526596069336,
2421 "z": "b24c83f7.abbc6",
2427 "id": "85ca29b3.1bb488",
2429 "name": "delete relationship: network-policy",
2430 "xml": "<delete plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id \n\t\t AND related-to = network-policy\" >",
2433 "x": 747.372989654541,
2434 "y": 3271.769684076309,
2435 "z": "b24c83f7.abbc6",
2443 "id": "754d89e8.1de998",
2445 "name": "set tmp.local.network-id",
2446 "xml": "<set>\n<parameter name=\"tmp.local.network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n",
2448 "x": 1350.7499885559082,
2449 "y": 2012.642957687378,
2450 "z": "b24c83f7.abbc6",
2456 "id": "7ffa62de.33fecc",
2458 "name": "query l3-network gets all the subnets and relationships for free",
2461 "x": 1084.7022819519043,
2462 "y": 164.40476989746094,
2463 "z": "b24c83f7.abbc6",
2467 "id": "1598e5df.565bea",
2468 "type": "switchNode",
2469 "name": "switch: PRELOAD route-target != NULL",
2470 "xml": "<switch test=\"`$preload-data.network-topology-information.vpn-bindings[$i].global-route-target != ''`\" >",
2473 "x": 1368.130941602919,
2474 "y": 2637.071567217509,
2475 "z": "b24c83f7.abbc6",
2483 "id": "34af06b5.07d33a",
2485 "name": "initialize tmp variables, x, tmp.error-message, tmp.l3networkUpdate, execute_failure",
2486 "xml": "<set>\n\t<parameter name='x' value='0' />\n\t<parameter name='tmp.error-message' value='' />\n\t<parameter name='execute_failure' value='false' />\n\t<parameter name='tmp.l3networkUpdate' value='0' />",
2488 "x": 617.3453178405762,
2489 "y": 428.8214406967163,
2490 "z": "b24c83f7.abbc6",
2496 "id": "e9310489.7af568",
2497 "type": "switchNode",
2498 "name": "switch: AnAI-k == tmp.return.generate.gateway-address",
2499 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$k].gateway-address == $tmp.return.generate.gateway-address`\">",
2502 "x": 2155.7498893737793,
2503 "y": 588.8214159011841,
2504 "z": "b24c83f7.abbc6",
2512 "id": "fd638c90.7772",
2513 "type": "outcomeTrue",
2515 "xml": "<outcome value='false'>\n",
2518 "x": 2440.3215827941895,
2519 "y": 588.2857179641724,
2520 "z": "b24c83f7.abbc6",
2528 "id": "8a95056c.8243a8",
2535 "x": 2585.0000495910645,
2536 "y": 588.7222108840942,
2537 "z": "b24c83f7.abbc6",
2546 "id": "1bcbd50a.81742b",
2553 "x": 2045.7501602172852,
2554 "y": 829.2222023010254,
2555 "z": "b24c83f7.abbc6",
2563 "id": "ca9a6174.d3216",
2570 "x": 2045.0001602172852,
2571 "y": 876.222204208374,
2572 "z": "b24c83f7.abbc6",
2580 "id": "292eb234.c8484e",
2587 "x": 2044.5001602172852,
2588 "y": 924.4722051620483,
2589 "z": "b24c83f7.abbc6",
2597 "id": "38bde268.aac7fe",
2600 "xml": "<outcome value='success'>\n",
2603 "x": 1870.595417022705,
2604 "y": 3742.094934463501,
2605 "z": "b24c83f7.abbc6",
2613 "id": "36a2784d.cf59e8",
2615 "name": "unset tmp.vpn-binding-id",
2616 "xml": "<set>\n<parameter name=\"tmp.vpn-binding-id\" value=\"\" />\n",
2618 "x": 1320.9166776869033,
2619 "y": 2544.0001236597695,
2620 "z": "b24c83f7.abbc6",
2626 "id": "30ff2667.471baa",
2629 "xml": "<outcome value='failure'>\n",
2632 "x": 996.0833282470703,
2633 "y": 2314.5833377838135,
2634 "z": "b24c83f7.abbc6",
2642 "id": "e69d9ede.c998c",
2649 "x": 1155.8201026916504,
2650 "y": 2315.2746753692627,
2651 "z": "b24c83f7.abbc6",
2660 "id": "7c0a1390.80c06c",
2662 "name": "set: tmp.error-message",
2663 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"An error occurred while deleting l3-network vpn-binding relationship from AnAI\"/>",
2665 "x": 1374.500072479248,
2666 "y": 2315.5835123062134,
2667 "z": "b24c83f7.abbc6",
2673 "id": "e8183966.f88478",
2676 "xml": "<outcome value='failure'>\n",
2679 "x": 971.5079612731934,
2680 "y": 3271.3528950214386,
2681 "z": "b24c83f7.abbc6",
2689 "id": "fc52b15.447615",
2696 "x": 1148.2447357177734,
2697 "y": 3271.044232606888,
2698 "z": "b24c83f7.abbc6",
2707 "id": "18b5ade9.0299e2",
2709 "name": "set: tmp.error-message",
2710 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"An error occurred while deleting l3-network network-policy relationship from AnAI in preparation to regenerate the network-policy relationship from PRELOAD.\"/>",
2712 "x": 1372.2579612731934,
2713 "y": 3271.3528950214386,
2714 "z": "b24c83f7.abbc6",
2720 "id": "28badb43.5ee5d4",
2721 "type": "switchNode",
2722 "name": "switch : tmp.l3network.status.updated = 1",
2723 "xml": "<switch test=\"`$tmp.l3network.status.updated == 1`\">\n",
2726 "x": 764.6190795898438,
2727 "y": 5976.534414291382,
2728 "z": "b24c83f7.abbc6",
2736 "id": "d6b5f392.672a4",
2737 "type": "outcomeTrue",
2739 "xml": "<outcome value='true'>\n",
2742 "x": 1017.2857131958008,
2743 "y": 5976.812002182007,
2744 "z": "b24c83f7.abbc6",
2752 "id": "7d8628e3.bfb0d8",
2754 "name": "set tmp.l3network.status.updated = 1",
2755 "xml": "<set>\n<parameter name='tmp.l3network.status.updated' value='1' />\n",
2757 "x": 1527.988193511963,
2758 "y": 4767.8097858428955,
2759 "z": "b24c83f7.abbc6",
2765 "id": "b3df03dc.e1fb8",
2768 "xml": "<outcome value='success'>\n",
2771 "x": 1275.9168281555176,
2772 "y": 4768.083599090576,
2773 "z": "b24c83f7.abbc6",
2781 "id": "f2214172.a1643",
2783 "name": "for loop z - tmp.AnAI.l3network.relationship-list.relationship[]",
2784 "xml": "<for index=\"z\" start=\"0\" end=\"`$tmp.AnAI.l3network.relationship-list.relationship_length`\">\n",
2787 "x": 824.3810005187988,
2788 "y": 4983.3337116241455,
2789 "z": "b24c83f7.abbc6",
2797 "id": "40b39fed.993b8",
2798 "type": "switchNode",
2799 "name": "switch: relationship[].related-to",
2800 "xml": "<switch test=\"`$tmp.AnAI.l3network.relationship-list.relationship[$z].related-to`\">",
2803 "x": 901.1309394836426,
2804 "y": 5074.583716392517,
2805 "z": "b24c83f7.abbc6",
2815 "id": "445af20b.efd5dc",
2817 "name": "vpn-binding",
2818 "xml": "<outcome value='vpn-binding'>\n",
2821 "x": 1130.6309394836426,
2822 "y": 5074.833716392517,
2823 "z": "b24c83f7.abbc6",
2831 "id": "fb5a4fe8.b156b",
2833 "name": "block : atomic",
2834 "xml": "<block atomic='true'>",
2838 "x": 491.38093185424805,
2839 "y": 4982.8337116241455,
2840 "z": "b24c83f7.abbc6",
2851 "id": "befdd7ed.7d6be8",
2853 "name": "Rollback to save relationship: vpn_binding",
2854 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id\" >\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vpn-binding\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vpn-binding.vpn-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.AnAI.l3network.relationship-list.relationship[$z].relationship-data[0].relationship-value`\" />",
2857 "x": 1294.21431350708,
2858 "y": 5133.833827018738,
2859 "z": "b24c83f7.abbc6",
2868 "id": "a9924139.29c5e",
2871 "xml": "<outcome value='failure'>\n",
2874 "x": 1547.2871894836426,
2875 "y": 5133.309413909912,
2876 "z": "b24c83f7.abbc6",
2884 "id": "3a4aef64.3150d",
2886 "name": "set: tmp.rollback.error-message",
2887 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.rollback.error-message\" value=\"`'An error occurred during rollback of l3-newtork vpn-binding relationship in AnAI where vpn-id = ' + $tmp.AnAI.l3network.relationship-list.relationship[$z].relationship-data[0].relationship-value + ' MANUAL ROLLBACK IS REQUIRED.'`\"/>",
2889 "x": 1787.2795906066895,
2890 "y": 5132.695249557495,
2891 "z": "b24c83f7.abbc6",
2897 "id": "9cd29c09.984bd",
2899 "name": "set tmp.network-policy.updated = 1",
2900 "xml": "<set>\n<parameter name='tmp.network-policy.updated' value='1' />\n",
2902 "x": 2567.38090133667,
2903 "y": 3832.2736530303955,
2904 "z": "b24c83f7.abbc6",
2910 "id": "e0cc74f6.cef2e8",
2912 "name": "set tmp.vpn-binding.updated = 1",
2913 "xml": "<set>\n<parameter name='tmp.vpn-binding.updated' value='1' />\n",
2915 "x": 2044.4286079406738,
2916 "y": 3063.916700363159,
2917 "z": "b24c83f7.abbc6",
2923 "id": "cd9366f0.221d18",
2926 "xml": "<outcome value='success'>\n",
2929 "x": 2328.63090133667,
2930 "y": 3832.5236530303955,
2931 "z": "b24c83f7.abbc6",
2939 "id": "e2c85fda.7c9cd",
2942 "xml": "<outcome value='success'>\n",
2945 "x": 1820.6786003112793,
2946 "y": 3063.916700363159,
2947 "z": "b24c83f7.abbc6",
2955 "id": "7e1ce913.d1ada8",
2957 "name": "network-policy",
2958 "xml": "<outcome value='network-policy'>\n",
2961 "x": 1141.583209991455,
2962 "y": 5223.654871940613,
2963 "z": "b24c83f7.abbc6",
2971 "id": "a1822be9.e1be18",
2973 "name": "Rollback to save relationship: network-policy",
2974 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id\" >\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-policy\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-policy.network-policy-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.AnAI.l3network.relationship-list.relationship[$z].relationship-data[0].relationship-value`\" />",
2977 "x": 1309.16646194458,
2978 "y": 5282.988368034363,
2979 "z": "b24c83f7.abbc6",
2988 "id": "cde96a1a.b38188",
2991 "xml": "<outcome value='failure'>\n",
2994 "x": 1569.2393379211426,
2995 "y": 5282.463954925537,
2996 "z": "b24c83f7.abbc6",
3004 "id": "de78af5a.c6912",
3006 "name": "tmp.rollback.error-message",
3007 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.rollback.error-message\" value=\"`'An error occurred during rollback of l3-newtork network-policy relationship in AnAI where network-policy-id = ' + $tmp.AnAI.l3network.relationship-list.relationship[$z].relationship-data[0].relationship-value + ' MANUAL ROLLBACK IS REQUIRED.'`\"/>",
3009 "x": 1785.2316627502441,
3010 "y": 5282.849543571472,
3011 "z": "b24c83f7.abbc6",
3017 "id": "163697ef.53ddb8",
3018 "type": "switchNode",
3019 "name": "switch: tmp.network-policy.updated == 1",
3020 "xml": "<switch test=\"`$tmp.network-policy.updated == 1`\">",
3023 "x": 1412.9166984558105,
3024 "y": 5223.655074119568,
3025 "z": "b24c83f7.abbc6",
3033 "id": "3307d5fd.2423fa",
3034 "type": "switchNode",
3035 "name": "switch: tmp.vpn-binding.updated == 1",
3036 "xml": "<switch test=\"`$tmp.vpn-binding.updated == 1`\">",
3039 "x": 1372.916706085205,
3040 "y": 5074.655116081238,
3041 "z": "b24c83f7.abbc6",
3049 "id": "462a22ce.3cdbbc",
3052 "xml": "<outcome value='true'>\n",
3055 "x": 1606.916706085205,
3056 "y": 5074.655116081238,
3057 "z": "b24c83f7.abbc6",
3065 "id": "7a01074a.f70308",
3068 "xml": "<outcome value='true'>\n",
3071 "x": 1657.916706085205,
3072 "y": 5223.655116081238,
3073 "z": "b24c83f7.abbc6",
3081 "id": "70aa977b.fe30d8",
3083 "name": "for loop i - tmp.AnAI.l3network.subnets.subnet[]",
3084 "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">\n",
3087 "x": 1018.5593681335449,
3088 "y": 5636.50013256073,
3089 "z": "b24c83f7.abbc6",
3097 "id": "56134ac0.df0084",
3098 "type": "switchNode",
3099 "name": "switch: tmp.subnetRollback[].type",
3100 "xml": "<switch test=\"`$tmp.subnetRollback[$j].type`\">",
3103 "x": 1265.3325576782227,
3104 "y": 5719.288496017456,
3105 "z": "b24c83f7.abbc6",
3114 "id": "cab697cd.251568",
3115 "type": "outcomeTrue",
3117 "xml": "<outcome value='delete'>\n",
3120 "x": 1504.0470352172852,
3121 "y": 5719.137134552002,
3122 "z": "b24c83f7.abbc6",
3130 "id": "d0693ac4.d5ac18",
3131 "type": "outcomeTrue",
3133 "xml": "<outcome value='update'>\n",
3136 "x": 1505.6183624267578,
3137 "y": 5764.709531784058,
3138 "z": "b24c83f7.abbc6",
3146 "id": "74fc00ec.dc13f",
3148 "name": "Rollback AnAI delete - l3network.subnets.subnet",
3149 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"subnet\" \n\t\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id \n\t\t\tAND subnet.subnet-id = $tmp.subnetRollback[$j].subnet-id\" >\n<parameter name=\"orchestration-status\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].orchestration-status`\" />\n\t\t",
3152 "x": 1786.475700378418,
3153 "y": 5718.710096359253,
3154 "z": "b24c83f7.abbc6",
3163 "id": "76cbcff8.a7aa9",
3164 "type": "outcomeTrue",
3166 "xml": "<outcome value='create'>\n",
3169 "x": 1657.0249366760254,
3170 "y": 5868.8378829956055,
3171 "z": "b24c83f7.abbc6",
3179 "id": "5e8f2f9e.a1436",
3181 "name": "Rollback AnAI create - l3-network.subnets.subnet",
3182 "xml": "<delete plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"subnet\" \n\t\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id \n\t\t\tAND subnet.subnet-id = $tmp.subnetRollback[$j].subnet-id\" >",
3185 "x": 1943.310344696045,
3186 "y": 5867.815706253052,
3187 "z": "b24c83f7.abbc6",
3196 "id": "30cb9475.50352c",
3198 "name": "for loop j - subnetRollback[]",
3199 "xml": "<for index=\"j\" start=\"0\" end=\"`$x`\">\n",
3202 "x": 728.845157623291,
3203 "y": 5525.070099830627,
3204 "z": "b24c83f7.abbc6",
3212 "id": "e51d6a24.425c98",
3213 "type": "switchNode",
3214 "name": "switch: subnet-id tmp.AnAI.l3network.subnets.subnet[] == tmp.subnetRollback[]",
3215 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-id == $tmp.subnetRollback[$j].subnet-id`\">",
3218 "x": 1521.5595359802246,
3219 "y": 5636.785568237305,
3220 "z": "b24c83f7.abbc6",
3228 "id": "f63c8882.16f8c8",
3229 "type": "outcomeTrue",
3231 "xml": "<outcome value='true'>\n",
3234 "x": 1899.2739334106445,
3235 "y": 5637.213930130005,
3236 "z": "b24c83f7.abbc6",
3244 "id": "32bdc1c1.96f2ee",
3246 "name": "rollback AnAI update - l3-network.subnets.subnet ",
3247 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"subnet\" \n\t\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id \n\t\t\tAND subnet.subnet-id = $tmp.AnAI.l3network.subnets.subnet[$j].subnet-id\" >\n<parameter name=\"subnet-name\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name`\"/>\n<parameter name=\"gateway-address\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].gateway-address`\"/>\n<parameter name=\"cidr-mask\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].cidr-mask`\"/>\n<parameter name=\"dhcp-start\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].dhcp-start`\"/>\n<parameter name=\"dhcp-end\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].dhcp-end`\"/>\n<parameter name=\"dhcp-enabled\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].dhcp-enabled`\"/>\n<parameter name=\"orchestration-status\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].orchestration-status`\" />\n\t\t",
3250 "x": 1788.274269104004,
3251 "y": 5764.070308685303,
3252 "z": "b24c83f7.abbc6",
3261 "id": "90858a29.37fc08",
3263 "name": "set tmp.subnetUpdate = 1",
3264 "xml": "<set>\n<parameter name=\"tmp.subnetUpdate\" value=\"1\" />\n",
3266 "x": 2039.7500114440918,
3267 "y": 467.30952644348145,
3268 "z": "b24c83f7.abbc6",
3274 "id": "2e3c7ba2.d21b54",
3275 "type": "returnSuccess",
3276 "name": "set execute_failure = true",
3277 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
3279 "x": 1703.5237846374512,
3280 "y": 4707.786193847656,
3281 "z": "b24c83f7.abbc6",
3285 "id": "8ecdb1d7.aea0c",
3286 "type": "outcomeTrue",
3288 "xml": "<outcome value=\"true\">",
3290 "x": 626.4760551452637,
3291 "y": 4866.821534156799,
3292 "z": "b24c83f7.abbc6",
3300 "id": "59c57e09.0c9bd",
3301 "type": "switchNode",
3302 "name": "switch: execute_failure",
3303 "xml": "<switch test=\"`$execute_failure`\">",
3306 "x": 420.53577041625977,
3307 "y": 1611.0597400665283,
3308 "z": "b24c83f7.abbc6",
3316 "id": "41ca0932.f48da8",
3317 "type": "outcomeFalse",
3319 "xml": "<outcome value='false'>\n",
3322 "x": 623.2500190734863,
3323 "y": 1611.059762954712,
3324 "z": "b24c83f7.abbc6",
3332 "id": "15930eb5.9d2c61",
3333 "type": "switchNode",
3334 "name": "switch: execute_failure",
3335 "xml": "<switch test=\"`$execute_failure`\">",
3338 "x": 822.3214836120605,
3339 "y": 1218.0238513946533,
3340 "z": "b24c83f7.abbc6",
3348 "id": "13aa477e.313a59",
3349 "type": "outcomeFalse",
3351 "xml": "<outcome value='false'>\n",
3354 "x": 1028.035732269287,
3355 "y": 1218.023874282837,
3356 "z": "b24c83f7.abbc6",
3364 "id": "eea3a1e.e88116",
3366 "name": "set k, n max + 1",
3367 "xml": "<set>\n\t<parameter name='k' value='`$tmp.AnAI.l3network.subnets.subnet_length + 1`' />\n\t<parameter name='n' value='`$preload-data.network-topology-information.subnets_length + 1`' />",
3369 "x": 2009.035930633545,
3370 "y": 1281.0239906311035,
3371 "z": "b24c83f7.abbc6",
3377 "id": "fcfd2600.488c78",
3379 "name": "set k, n max + 1",
3380 "xml": "<set>\n\t<parameter name='k' value='`$tmp.AnAI.l3network.subnets.subnet_length + 1`' />\n\t<parameter name='n' value='`$preload-data.network-topology-information.subnets_length + 1`' />",
3382 "x": 2495.2500495910645,
3383 "y": 1026.416687965393,
3384 "z": "b24c83f7.abbc6",
3390 "id": "f15dac05.a23f",
3391 "type": "switchNode",
3392 "name": "switch: execute_failure",
3393 "xml": "<switch test=\"`$execute_failure`\">",
3396 "x": 417.50002670288086,
3397 "y": 2252.666706085205,
3398 "z": "b24c83f7.abbc6",
3406 "id": "aae89695.f77e48",
3407 "type": "outcomeFalse",
3409 "xml": "<outcome value='false'>\n",
3412 "x": 620.2142753601074,
3413 "y": 2252.6667289733887,
3414 "z": "b24c83f7.abbc6",
3422 "id": "b16ab5f2.35a148",
3423 "type": "switchNode",
3424 "name": "switch: execute_failure",
3425 "xml": "<switch test=\"`$execute_failure`\">",
3428 "x": 419.91669845581055,
3429 "y": 4867.2497272491455,
3430 "z": "b24c83f7.abbc6",
3438 "id": "bb8ce764.d17888",
3439 "type": "switchNode",
3440 "name": "switch: execute_failure",
3441 "xml": "<switch test=\"`$execute_failure`\">",
3444 "x": 426.8452568054199,
3445 "y": 4584.21407699585,
3446 "z": "b24c83f7.abbc6",
3454 "id": "4b1ed48a.23e81c",
3455 "type": "outcomeFalse",
3457 "xml": "<outcome value='false'>\n",
3460 "x": 629.5595054626465,
3461 "y": 4584.214099884033,
3462 "z": "b24c83f7.abbc6",
3470 "id": "c10e73d.da8889",
3471 "type": "switchNode",
3472 "name": "switch: texecute_failure",
3473 "xml": "<switch test=\"`$execute_failure`\">",
3476 "x": 441.80556869506836,
3477 "y": 3195.333309173584,
3478 "z": "b24c83f7.abbc6",
3486 "id": "452cff0a.34b71",
3487 "type": "outcomeFalse",
3489 "xml": "<outcome value='false'>\n",
3492 "x": 644.5198173522949,
3493 "y": 3195.3333320617676,
3494 "z": "b24c83f7.abbc6",
3502 "id": "6f14f693.d5a4e8",
3503 "type": "switchNode",
3504 "name": "switch: execute_failure",
3505 "xml": "<switch test=\"`$execute_failure`\">",
3508 "x": 748.750057220459,
3509 "y": 2416.8331909179688,
3510 "z": "b24c83f7.abbc6",
3518 "id": "4f7b45c9.8320cc",
3519 "type": "outcomeFalse",
3521 "xml": "<outcome value='false'>\n",
3524 "x": 951.4643058776855,
3525 "y": 2416.8332138061523,
3526 "z": "b24c83f7.abbc6",
3534 "id": "1cdf3f9f.d8ad9",
3536 "name": "block : atomic",
3537 "xml": "<block atomic='true'>",
3541 "x": 575.4166831970215,
3542 "y": 2500.1666870117188,
3543 "z": "b24c83f7.abbc6",
3552 "id": "2f44a8dd.3b2668",
3553 "type": "returnSuccess",
3554 "name": "set execute_failure = true",
3555 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
3557 "x": 1379.3213157653809,
3558 "y": 2357.7857484817505,
3559 "z": "b24c83f7.abbc6",
3563 "id": "69801ad3.b07ae4",
3564 "type": "returnSuccess",
3565 "name": "set execute_failure = true",
3566 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
3568 "x": 2416.083438873291,
3569 "y": 2728.4998531341553,
3570 "z": "b24c83f7.abbc6",
3574 "id": "236011f6.f5e4be",
3575 "type": "switchNode",
3576 "name": "switch: execute_failure",
3577 "xml": "<switch test=\"`$execute_failure`\">",
3580 "x": 1326.7500114440918,
3581 "y": 2731.1666736602783,
3582 "z": "b24c83f7.abbc6",
3590 "id": "a714abe2.f5c9e8",
3591 "type": "outcomeFalse",
3593 "xml": "<outcome value='false'>\n",
3596 "x": 1529.4642601013184,
3597 "y": 2731.166696548462,
3598 "z": "b24c83f7.abbc6",
3606 "id": "67a32bcf.a45a94",
3607 "type": "returnSuccess",
3608 "name": "set execute_failure = true",
3609 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
3611 "x": 2201.1783409118652,
3612 "y": 3006.547595977783,
3613 "z": "b24c83f7.abbc6",
3617 "id": "d62cda9.c225228",
3619 "name": "set i = max + 1",
3620 "xml": "<set>\n <parameter name=\"i\" value = \"`$preload-data.network-topology-information.vpn-bindings_length + 1`\" />\n\n",
3622 "x": 2168.321300506592,
3623 "y": 2963.452346801758,
3624 "z": "b24c83f7.abbc6",
3630 "id": "67e9507e.488ea",
3631 "type": "switchNode",
3632 "name": "switch: execute_failure",
3633 "xml": "<switch test=\"`$execute_failure`\">",
3636 "x": 722.6388664245605,
3637 "y": 3411.7224493026733,
3638 "z": "b24c83f7.abbc6",
3646 "id": "24fa2743.255dc8",
3647 "type": "outcomeFalse",
3649 "xml": "<outcome value='false'>\n",
3652 "x": 925.3531150817871,
3653 "y": 3411.722472190857,
3654 "z": "b24c83f7.abbc6",
3662 "id": "abcc1298.8b121",
3664 "name": "block : atomic",
3665 "xml": "<block atomic='true'>",
3669 "x": 551.5277671813965,
3670 "y": 3498.1664628982544,
3671 "z": "b24c83f7.abbc6",
3680 "id": "8aeb103.23b59f",
3681 "type": "returnSuccess",
3682 "name": "set execute_failure = true",
3683 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
3685 "x": 1377.8608665466309,
3686 "y": 3317.5153970718384,
3687 "z": "b24c83f7.abbc6",
3691 "id": "338842a2.95efee",
3692 "type": "returnSuccess",
3693 "name": "set execute_failure = true",
3694 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
3696 "x": 2245.4166526794434,
3697 "y": 3628.166793823242,
3698 "z": "b24c83f7.abbc6",
3702 "id": "133667f2.eb77f8",
3703 "type": "returnSuccess",
3704 "name": "set execute_failure = true",
3705 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
3707 "x": 2704.7027473449707,
3708 "y": 3785.4525051116943,
3709 "z": "b24c83f7.abbc6",
3713 "id": "9d0c9a84.7d8738",
3715 "name": "set tmp.subnetUpdate = 1",
3716 "xml": "<set>\n<parameter name=\"tmp.subnetUpdate\" value=\"1\" />\n",
3718 "x": 2812.464214324951,
3719 "y": 697.5952434539795,
3720 "z": "b24c83f7.abbc6",
3726 "id": "9e7603e8.19f05",
3727 "type": "outcomeTrue",
3729 "xml": "<outcome value='true'>\n",
3732 "x": 2322.178722381592,
3733 "y": 693.7380847930908,
3734 "z": "b24c83f7.abbc6",
3742 "id": "17af6854.693e78",
3744 "name": "set tmp.gateway-address",
3745 "xml": "<set>\n<parameter name=\"tmp.gateway-address\" value=\"`$preload-data.network-topology-information.subnets[$n].gateway-address`\" />\n",
3747 "x": 2518.035655975342,
3748 "y": 693.8809680938721,
3749 "z": "b24c83f7.abbc6",
3755 "id": "dad835c6.d0c618",
3757 "name": "block : atomic",
3758 "xml": "<block atomic='true'>",
3762 "x": 728.4644050598145,
3763 "y": 5585.832514762878,
3764 "z": "b24c83f7.abbc6",
3774 "id": "f6fe6422.4322c8",
3776 "name": "set: tmp.rollbck.match = 1",
3777 "xml": "<set>\n\t<parameter name=\"tmp.rollback.match\" value=\"1\"/>",
3779 "x": 1242.6072006225586,
3780 "y": 5804.118718147278,
3781 "z": "b24c83f7.abbc6",
3787 "id": "7bc44cc3.686514",
3789 "name": "block : atomic",
3790 "xml": "<block atomic='true'>",
3794 "x": 996.6070785522461,
3795 "y": 5719.1187171936035,
3796 "z": "b24c83f7.abbc6",
3805 "id": "e3487ebb.a5939",
3806 "type": "switchNode",
3807 "name": "switch: tmp.rollback.match == 0",
3808 "xml": "<switch test=\"`$tmp.rollback.match == 0`\">",
3811 "x": 970.8927803039551,
3812 "y": 5869.405124664307,
3813 "z": "b24c83f7.abbc6",
3821 "id": "44553355.40997c",
3822 "type": "switchNode",
3823 "name": "switch: tmp.subnetRollback[].type",
3824 "xml": "<switch test=\"`$tmp.subnetRollback[$j].type`\">",
3827 "x": 1423.607120513916,
3828 "y": 5868.690284729004,
3829 "z": "b24c83f7.abbc6",
3837 "id": "d50c1822.8cb098",
3840 "xml": "<outcome value='failure'>\n",
3843 "x": 2076.3214721679688,
3844 "y": 5718.976065635681,
3845 "z": "b24c83f7.abbc6",
3853 "id": "abd6e5ca.0f7378",
3855 "name": "set: tmp.rollback.error-message",
3856 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.rollback.error-message\" value=\"`'failed to rollback the subnet.orchestration-status in AnAI where subnet-id = ' + $tmp.AnAI.l3network.subnets.subnet[$i].subnet-id + ' MANUAL ROLLBACK IS REQUIRED.'`\"/>",
3858 "x": 2341.3138847351074,
3859 "y": 5718.36167049408,
3860 "z": "b24c83f7.abbc6",
3866 "id": "a1bcb891.4f80b8",
3868 "name": "set: tmp.rollback.error-message",
3869 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.rollback.error-message\" value=\"`'failed to rollback the subnet attributes update in AnAI where subnet-id = ' + $tmp.AnAI.l3network.subnets.subnet[$i].subnet-id + ' MANUAL ROLLBACK IS REQUIRED.'`\"/>",
3871 "x": 2344.1787719726562,
3872 "y": 5763.833457946777,
3873 "z": "b24c83f7.abbc6",
3879 "id": "602727b5.9746c8",
3881 "name": "set: tmp.rollback.error-message",
3882 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.rollback.error-message\" value=\"`'failed to rollback to delete subnet from AnAI where subnet-id = ' + $tmp.subnetRollback[$j].subnet-id + ' MANUAL ROLLBACK IS REQUIRED.'`\"/>",
3884 "x": 2462.321430206299,
3885 "y": 5867.9756507873535,
3886 "z": "b24c83f7.abbc6",
3892 "id": "1f2ad8bc.a55ac7",
3895 "xml": "<outcome value='failure'>\n",
3898 "x": 2076.3212890625,
3899 "y": 5764.11878490448,
3900 "z": "b24c83f7.abbc6",
3908 "id": "eb93aa28.0b07f8",
3911 "xml": "<outcome value='failure'>\n",
3914 "x": 2231.4643592834473,
3915 "y": 5867.404291152954,
3916 "z": "b24c83f7.abbc6",
3924 "id": "cdfeb5ff.d63b08",
3926 "name": "set: tmp.rollback.error-message",
3927 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.rollback.error-message\" value=\"`'failed to rollback l3network.orchestration-status in AnAI where subnet-id = ' + $tmp.AnAI.l3network.subnets.subnet[$i].subnet-id + ' MANUAL ROLLBACK IS REQUIRED.'`\"/>",
3929 "x": 1794.464267730713,
3930 "y": 5975.404790878296,
3931 "z": "b24c83f7.abbc6",
3937 "id": "d11dd828.7802a8",
3940 "xml": "<outcome value='failure'>\n",
3943 "x": 1556.6071968078613,
3944 "y": 5975.8334312438965,
3945 "z": "b24c83f7.abbc6",
3953 "id": "d02a826d.205fd",
3955 "name": "---- ROLLBACK STARTS HERE ----",
3958 "x": 484.1071357727051,
3959 "y": 4820.047375679016,
3960 "z": "b24c83f7.abbc6",
3964 "id": "ca78be2.35c6c4",
3966 "name": "set: tmp.error-message",
3967 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while saving new subnet in AnAI with subnet-id = ' + $tmp.return.generate-subnets-subnet-id.uuid`\"/>",
3969 "x": 2037.1785850524902,
3970 "y": 2146.595244407654,
3971 "z": "b24c83f7.abbc6",
3977 "id": "1623f021.c2b9",
3979 "name": "set: tmp.error-message",
3980 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while updating subnet status to pending-delete in AnAI with subnet-id = ' + $tmp.AnAI.l3network.subnets.subnet[$k].subnet-id`\"/>",
3982 "x": 2030.3214073181152,
3983 "y": 1323.7380981445312,
3984 "z": "b24c83f7.abbc6",
3990 "id": "5d6b7d0.b989584",
3992 "name": "set: tmp.error-message",
3993 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while updating subnet attributes in AnAI with subnet-id = ' + $tmp.AnAI.l3network.subnets.subnet[$k].subnet-id`\"/>",
3995 "x": 2519.464366912842,
3996 "y": 1069.880968093872,
3997 "z": "b24c83f7.abbc6",
4003 "id": "153987c7.1a4048",
4005 "name": "set: tmp.rollbck.match = 0",
4006 "xml": "<set>\n\t<parameter name=\"tmp.rollback.match\" value=\"0\"/>",
4008 "x": 950.8928108215332,
4009 "y": 5586.119483947754,
4010 "z": "b24c83f7.abbc6",
4016 "id": "92778af8.befa68",
4017 "type": "not-found",
4018 "name": "not-found",
4019 "xml": "<outcome value='not-found'>\n",
4022 "x": 1643.0358047485352,
4023 "y": 2149.9285049438477,
4024 "z": "b24c83f7.abbc6",
4032 "id": "150db709.87fab9",
4033 "type": "not-found",
4034 "name": "not-found",
4035 "xml": "<outcome value='not-found'>\n",
4038 "x": 1612.1785697937012,
4039 "y": 1325.3571643829346,
4040 "z": "b24c83f7.abbc6",
4048 "id": "c9c8378e.07a4c8",
4049 "type": "not-found",
4050 "name": "not-found",
4051 "xml": "<outcome value='not-found'>\n",
4054 "x": 2135.8928031921387,
4055 "y": 1069.928575515747,
4056 "z": "b24c83f7.abbc6",
4064 "id": "49306a1.5c79894",
4065 "type": "not-found",
4066 "name": "not-found",
4067 "xml": "<outcome value='not-found'>\n",
4070 "x": 1826.6071586608887,
4071 "y": 2964.214220046997,
4072 "z": "b24c83f7.abbc6",
4080 "id": "c3c189a0.4ccb58",
4081 "type": "not-found",
4082 "name": "not-found",
4083 "xml": "<outcome value='not-found'>\n",
4086 "x": 2330.6071586608887,
4087 "y": 3788.071397781372,
4088 "z": "b24c83f7.abbc6",
4094 "id": "40f41704.9cc688",
4095 "type": "not-found",
4096 "name": "not-found",
4097 "xml": "<outcome value='not-found'>\n",
4100 "x": 1280.1071510314941,
4101 "y": 4706.237885475159,
4102 "z": "b24c83f7.abbc6",
4110 "id": "10056ed4.c3d191",
4111 "type": "switchNode",
4112 "name": "switch: AnAI == INPUT - network-name",
4113 "xml": "<switch test=\"`$tmp.AnAI.l3network.network-name == $network-topology-operation-input.network-request-information.network-name`\">",
4116 "x": 482.1785697937012,
4117 "y": 250.93650436401367,
4118 "z": "b24c83f7.abbc6",
4126 "id": "9ed8a698.ef15c8",
4127 "type": "not-found",
4129 "xml": "<outcome value='false'>\n",
4132 "x": 729.4285697937012,
4133 "y": 250.94050121307373,
4134 "z": "b24c83f7.abbc6",
4142 "id": "669252c9.4ba83c",
4143 "type": "returnFailure",
4144 "name": "return failure",
4145 "xml": "<return status='failure'>\n\t<parameter name=\"error-code\" value=\"404\" />\n\t<parameter name=\"error-message\" value=\"`'The input network-name,' + network-topology-operation-input.network-request-information.network-name + ', does not match what is returned from AnAI with network-id = ' + $network-topology-operation-input.network-request-information.network-id`\" />",
4147 "x": 892.0673446655273,
4148 "y": 250.82948875427246,
4149 "z": "b24c83f7.abbc6",
4153 "id": "b4cd1414.581b48",
4154 "type": "switchNode",
4155 "name": "switch: AnAI == INPUT - network-type",
4156 "xml": "<switch test=\"`$tmp.AnAI.l3network.network-type == $network-topology-operation-input.network-request-information.network-type`\">",
4159 "x": 475.892822265625,
4160 "y": 294.22220611572266,
4161 "z": "b24c83f7.abbc6",
4169 "id": "4ad1dbfd.e57f94",
4170 "type": "not-found",
4172 "xml": "<outcome value='false'>\n",
4175 "x": 730.142822265625,
4176 "y": 294.2262029647827,
4177 "z": "b24c83f7.abbc6",
4185 "id": "3522894b.36b6e6",
4186 "type": "returnFailure",
4187 "name": "return failure",
4188 "xml": "<return status='failure'>\n\t<parameter name=\"error-code\" value=\"404\" />\n\t<parameter name=\"error-message\" value=\"`'The input network-type,' + network-topology-operation-input.network-request-information.network-type + ', does not match what is returned from AnAI with network-id = ' + $network-topology-operation-input.network-request-information.network-id`\" />",
4190 "x": 892.7815971374512,
4191 "y": 294.11519050598145,
4192 "z": "b24c83f7.abbc6",
4196 "id": "e456340c.466478",
4197 "type": "switchNode",
4198 "name": "switch: AnAI == PRELOAD - network-type",
4199 "xml": "<switch test=\"`$tmp.AnAI.l3network.network-type == $preload-data.network-topology-information.network-topology-identifier.network-type`\">",
4202 "x": 491.0357475280762,
4203 "y": 384.22219944000244,
4204 "z": "b24c83f7.abbc6",
4212 "id": "9cd473e1.2c58a",
4213 "type": "not-found",
4215 "xml": "<outcome value='false'>\n",
4218 "x": 747.2857475280762,
4219 "y": 384.2261962890625,
4220 "z": "b24c83f7.abbc6",
4228 "id": "6893351b.74b03c",
4229 "type": "returnFailure",
4230 "name": "return failure",
4231 "xml": "<return status='failure'>\n\t<parameter name=\"error-code\" value=\"404\" />\n\t<parameter name=\"error-message\" value=\"`'No preload network found with network-type = ' + $tmp.AnAI.l3network.network-type + ' in SDNC'`\" />",
4233 "x": 909.9245223999023,
4234 "y": 384.11518383026123,
4235 "z": "b24c83f7.abbc6",
4239 "id": "97427759.0023b8",
4242 "xml": "<outcome value='true'>\n",
4245 "x": 1190.7143287658691,
4246 "y": 5869.460375785828,
4247 "z": "b24c83f7.abbc6",
4255 "id": "c5b6850b.08be08",
4256 "type": "not-found",
4257 "name": "not-found",
4258 "xml": "<outcome value='not-found'>\n",
4261 "x": 1577.4998817443848,
4262 "y": 5322.082991600037,
4263 "z": "b24c83f7.abbc6",
4271 "id": "d4b57fb0.f24f4",
4272 "type": "not-found",
4273 "name": "not-found",
4274 "xml": "<outcome value='not-found'>\n",
4277 "x": 1554.4998817443848,
4278 "y": 5173.749495506287,
4279 "z": "b24c83f7.abbc6",
4287 "id": "ad551bbf.58fcc8",
4288 "type": "not-found",
4289 "name": "not-found",
4290 "xml": "<outcome value='not-found'>\n",
4293 "x": 2084.333240509033,
4294 "y": 5673.749419212341,
4295 "z": "b24c83f7.abbc6",
4303 "id": "e61b880e.096858",
4304 "type": "not-found",
4305 "name": "not-found",
4306 "xml": "<outcome value='not-found'>\n",
4309 "x": 2083.9998664855957,
4310 "y": 5809.082915306091,
4311 "z": "b24c83f7.abbc6",
4319 "id": "c1cf86f2.493818",
4320 "type": "not-found",
4321 "name": "not-found",
4322 "xml": "<outcome value='not-found'>\n",
4325 "x": 2239.999988555908,
4326 "y": 5909.749419212341,
4327 "z": "b24c83f7.abbc6",
4335 "id": "81ba8fb7.9e498",
4336 "type": "not-found",
4337 "name": "not-found",
4338 "xml": "<outcome value='not-found'>\n",
4341 "x": 1564.3332405090332,
4342 "y": 6018.082915306091,
4343 "z": "b24c83f7.abbc6",
4351 "id": "eca5ffa4.23d73",
4352 "type": "switchNode",
4353 "name": "switch ... tmp.AnAI.l3network.subnets.subnet[]",
4354 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
4357 "x": 499.1785697937012,
4358 "y": 470.35716438293457,
4359 "z": "b24c83f7.abbc6",
4367 "id": "48a25cc2.387cb4",
4370 "xml": "<outcome value=''>",
4372 "x": 769.6230201721191,
4373 "y": 470.1349000930786,
4374 "z": "b24c83f7.abbc6",
4382 "id": "8ba49ed0.9ad3c",
4384 "name": "set tmp.AnAI.l3network.subnets.subnet[] = 0",
4385 "xml": "<set>\n<parameter name=\"tmp.AnAI.l3network.subnets.subnet_length\" value=\"0\" />\n",
4387 "x": 1027.1786291334365,
4388 "y": 470.134920756022,
4389 "z": "b24c83f7.abbc6",
4393 "id": "95ceb957.e7a948",
4395 "name": "block : atomic",
4396 "xml": "<block atomic='true'>",
4400 "x": 463.0356864929199,
4401 "y": 4019.404680252075,
4402 "z": "b24c83f7.abbc6",
4411 "id": "2d4379bf.6ca416",
4412 "type": "switchNode",
4413 "name": "switch ... PRELOAD route-table-reference[]",
4414 "xml": "<switch test=\"`$preload-data.network-topology-information.route-table-reference_length`\">",
4417 "x": 837.8372917175293,
4418 "y": 4245.277545928955,
4419 "z": "b24c83f7.abbc6",
4427 "id": "7688d6b7.3bce68",
4430 "xml": "<outcome value=''>",
4432 "x": 1094.5317192077637,
4433 "y": 4245.0550355911255,
4434 "z": "b24c83f7.abbc6",
4442 "id": "26a757db.f17628",
4444 "name": "set route-table-reference[] = 0",
4445 "xml": "<set>\n<parameter name='preload-data.network-topology-information.route-table-reference_length' value='0' />\n",
4447 "x": 1309.087328169081,
4448 "y": 4245.055056254068,
4449 "z": "b24c83f7.abbc6",
4455 "id": "3fbe4ceb.b0e5e4",
4457 "name": "for loop i - PRELOAD route-table-reference",
4458 "xml": "<for index=\"i\" start=\"0\" end=\"`$preload-data.network-topology-information.route-table-reference_length`\">\n",
4461 "x": 837.4445457458496,
4462 "y": 4290.848835945129,
4463 "z": "b24c83f7.abbc6",
4471 "id": "e761c57c.044408",
4473 "name": "save relationship: network-policy",
4474 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id\" >\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"route-table-reference\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"route-table-reference.route-table-reference-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.AnAI.route-table-reference.route-table-reference-id`\" />",
4477 "x": 2229.8574409484863,
4478 "y": 4490.035390853882,
4479 "z": "b24c83f7.abbc6",
4489 "id": "6b695bb.39906a4",
4490 "type": "switchNode",
4491 "name": "switch: PRELOAD route-table-reference-fqdn != NULL",
4492 "xml": "<switch test=\"`$preload-data.network-topology-information.route-table-reference[$i].route-table-reference-fqdn != NULL`\">",
4495 "x": 1248.2067527770996,
4496 "y": 4290.947957038879,
4497 "z": "b24c83f7.abbc6",
4505 "id": "8696f734.56d0f8",
4508 "xml": "<outcome value='true'>\n",
4511 "x": 1533.9567604064941,
4512 "y": 4291.197957038879,
4513 "z": "b24c83f7.abbc6",
4521 "id": "c3ff1f7e.223f6",
4523 "name": "query AnAI - route-table-reference",
4524 "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"route-table-reference\" \n\t\tkey=\"route-table-reference.route-table-reference-fqdn = $preload-data.network-topology-information.route-table-reference[$i].route-table-reference-fqdn\" \n\t\tpfx=\"tmp.AnAI.route-table-reference\">",
4527 "x": 1760.7067642211914,
4528 "y": 4291.197865486145,
4529 "z": "b24c83f7.abbc6",
4539 "id": "c5a368f6.5d1388",
4542 "xml": "<outcome value='failure'>\n",
4545 "x": 1999.7067964341904,
4546 "y": 4331.947787602743,
4547 "z": "b24c83f7.abbc6",
4555 "id": "4611ee89.1d504",
4556 "type": "not-found",
4557 "name": "not-found",
4558 "xml": "<outcome value='not-found'>\n",
4561 "x": 2005.2068002488877,
4562 "y": 4291.447786649069,
4563 "z": "b24c83f7.abbc6",
4571 "id": "c1256682.7b8998",
4577 "x": 2154.7068002488877,
4578 "y": 4331.697788556417,
4579 "z": "b24c83f7.abbc6",
4588 "id": "daaddd41.3513f",
4590 "name": "set: tmp.error-message",
4591 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'Failed to query network-policy n AnAI where network-policy-fqdn = ' + $preload-data.network-topology-information.network-policy[$i].network-policy-fqdn`\"/>",
4593 "x": 2370.806340959337,
4594 "y": 4331.44768746694,
4595 "z": "b24c83f7.abbc6",
4601 "id": "5628f36a.55c77c",
4604 "xml": "<outcome value='failure'>\n",
4607 "x": 2455.930316925049,
4608 "y": 4489.510977745056,
4609 "z": "b24c83f7.abbc6",
4617 "id": "e1c99ca6.e00f4",
4623 "x": 2596.823196411133,
4624 "y": 4489.147085189819,
4625 "z": "b24c83f7.abbc6",
4634 "id": "e0fe20d7.e6c28",
4636 "name": "set: tmp.error-message",
4637 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while saving l3-newtork route-table-reference relationship in AnAI where route-table-reference-id = ' + $tmp.AnAI.route-table-reference.route-table-reference-id`\"/>",
4639 "x": 2827.922737121582,
4640 "y": 4488.896984100342,
4641 "z": "b24c83f7.abbc6",
4647 "id": "c3dd4c7f.8ca1e",
4649 "name": "delete relationship: route-table-reference",
4650 "xml": "<delete plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id \n\t\t AND related-to = route-table-reference\" >",
4653 "x": 751.2499656677246,
4654 "y": 4019.2140085697174,
4655 "z": "b24c83f7.abbc6",
4663 "id": "1c257c97.0acec3",
4666 "xml": "<outcome value='success'>\n",
4669 "x": 2004.4723930358887,
4670 "y": 4489.539258956909,
4671 "z": "b24c83f7.abbc6",
4679 "id": "593b5e06.7f9d3",
4682 "xml": "<outcome value='failure'>\n",
4685 "x": 1044.384937286377,
4686 "y": 4018.797219514847,
4687 "z": "b24c83f7.abbc6",
4695 "id": "72f7191.61f2fe8",
4702 "x": 1221.121711730957,
4703 "y": 4018.488557100296,
4704 "z": "b24c83f7.abbc6",
4713 "id": "35c5090a.a6a506",
4715 "name": "set: tmp.error-message",
4716 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"An error occurred while deleting l3-network route-table-reference relationship from AnAI prior to regenerate the route-table-reference relationship from PRELOAD.\"/>",
4718 "x": 1445.134937286377,
4719 "y": 4018.797219514847,
4720 "z": "b24c83f7.abbc6",
4726 "id": "b1f0d10d.9422f",
4728 "name": "set tmp.route-table-reference.updated = 1",
4729 "xml": "<set>\n<parameter name='tmp.route-table-reference.updated' value='1' />\n",
4731 "x": 2701.2578773498535,
4732 "y": 4579.717977523804,
4733 "z": "b24c83f7.abbc6",
4739 "id": "a92d1865.c2b648",
4742 "xml": "<outcome value='success'>\n",
4745 "x": 2462.5078773498535,
4746 "y": 4579.967977523804,
4747 "z": "b24c83f7.abbc6",
4755 "id": "bd2d9b6e.b5c1d8",
4756 "type": "switchNode",
4757 "name": "switch: texecute_failure",
4758 "xml": "<switch test=\"`$execute_failure`\">",
4761 "x": 441.6825370788574,
4762 "y": 3942.777727127075,
4763 "z": "b24c83f7.abbc6",
4771 "id": "3e54549b.21c4cc",
4772 "type": "outcomeFalse",
4774 "xml": "<outcome value='false'>\n",
4777 "x": 648.3967933654785,
4778 "y": 3942.777656555176,
4779 "z": "b24c83f7.abbc6",
4787 "id": "af6b3c9b.97c77",
4788 "type": "switchNode",
4789 "name": "switch: execute_failure",
4790 "xml": "<switch test=\"`$execute_failure`\">",
4793 "x": 726.5158424377441,
4794 "y": 4159.1667737960815,
4795 "z": "b24c83f7.abbc6",
4803 "id": "96f82eb1.4c085",
4804 "type": "outcomeFalse",
4806 "xml": "<outcome value='false'>\n",
4809 "x": 929.2300910949707,
4810 "y": 4159.166796684265,
4811 "z": "b24c83f7.abbc6",
4819 "id": "ab2bfb98.61b8f8",
4821 "name": "block : atomic",
4822 "xml": "<block atomic='true'>",
4826 "x": 555.4047431945801,
4827 "y": 4245.610787391663,
4828 "z": "b24c83f7.abbc6",
4837 "id": "9f95b6ef.410b58",
4838 "type": "returnSuccess",
4839 "name": "set execute_failure = true",
4840 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
4842 "x": 1450.7378425598145,
4843 "y": 4064.9597215652466,
4844 "z": "b24c83f7.abbc6",
4848 "id": "dabc25b1.2558b8",
4849 "type": "returnSuccess",
4850 "name": "set execute_failure = true",
4851 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
4853 "x": 2379.293628692627,
4854 "y": 4375.61111831665,
4855 "z": "b24c83f7.abbc6",
4859 "id": "6b785063.e94b4",
4860 "type": "returnSuccess",
4861 "name": "set execute_failure = true",
4862 "xml": "<return status='success'>\n\t<parameter name='execute_failure' value='true' />\n",
4864 "x": 2838.5797233581543,
4865 "y": 4532.8968296051025,
4866 "z": "b24c83f7.abbc6",
4870 "id": "3e5fe722.9f7198",
4871 "type": "not-found",
4872 "name": "not-found",
4873 "xml": "<outcome value='not-found'>\n",
4876 "x": 2464.4841346740723,
4877 "y": 4535.51572227478,
4878 "z": "b24c83f7.abbc6",
4884 "id": "63a30c32.764734",
4886 "name": "route-table-reference",
4887 "xml": "<outcome value='route-table-reference'>\n",
4890 "x": 1136.785717010498,
4891 "y": 5378.57142829895,
4892 "z": "b24c83f7.abbc6",
4900 "id": "e64e8959.22cce8",
4902 "name": "Rollback to save relationship: route-table-reference",
4903 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id\" >\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"route-table-reference\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"route-table-reference.route-table-reference-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.AnAI.l3network.relationship-list.relationship[$z].relationship-data[0].relationship-value`\" />",
4906 "x": 1304.368968963623,
4907 "y": 5437.9049243927,
4908 "z": "b24c83f7.abbc6",
4917 "id": "daa92ca8.40a27",
4920 "xml": "<outcome value='failure'>\n",
4923 "x": 1564.4418449401855,
4924 "y": 5437.3805112838745,
4925 "z": "b24c83f7.abbc6",
4933 "id": "5bbb5aa9.dd0a84",
4935 "name": "tmp.rollback.error-message",
4936 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.rollback.error-message\" value=\"`'An error occurred during rollback of l3-newtork route-table-reference relationship in AnAI where route-table-reference-id = ' + $tmp.AnAI.l3network.relationship-list.relationship[$z].relationship-data[0].relationship-value + ' MANUAL ROLLBACK IS REQUIRED.'`\"/>",
4938 "x": 1780.434169769287,
4939 "y": 5437.76609992981,
4940 "z": "b24c83f7.abbc6",
4946 "id": "cb6e6d5b.fb8fc",
4947 "type": "switchNode",
4948 "name": "switch: tmp.route-table-reference.updated == 1",
4949 "xml": "<switch test=\"`$tmp.route-table-reference.updated == 1`\">",
4952 "x": 1408.1192054748535,
4953 "y": 5378.571630477905,
4954 "z": "b24c83f7.abbc6",
4962 "id": "43ccda4d.49fa94",
4965 "xml": "<outcome value='true'>\n",
4968 "x": 1653.119213104248,
4969 "y": 5378.571672439575,
4970 "z": "b24c83f7.abbc6",
4978 "id": "751ffeff.5a4d2",
4979 "type": "not-found",
4980 "name": "not-found",
4981 "xml": "<outcome value='not-found'>\n",
4984 "x": 1572.7023887634277,
4985 "y": 5476.999547958374,
4986 "z": "b24c83f7.abbc6",
4994 "id": "ef8f189e.13e928",
4995 "type": "switchNode",
4996 "name": "switch: l3subnet[k] == PRELOAD subnets[n] subnet-name",
4997 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$k].subnet-name == $preload-data.network-topology-information.subnets[$n].subnet-name`\">",
5000 "x": 1637.285717010498,
5001 "y": 971.0714282989502,
5002 "z": "b24c83f7.abbc6",
5010 "id": "abf8f55e.ce71d8",
5011 "type": "outcomeFalse",
5013 "xml": "<outcome value='false'>\n",
5016 "x": 1937.2022247314453,
5017 "y": 970.7936429977417,
5018 "z": "b24c83f7.abbc6",
5026 "id": "a89a0d2d.9ab2c",
5033 "x": 2075.3434448242188,
5034 "y": 971.1691417694092,
5035 "z": "b24c83f7.abbc6",