3 "id": "761cf409.e7fe2c",
5 "name": "method network-topology-assign",
6 "xml": "<method rpc=\"network-topology-assign\" mode=\"sync\">",
10 "y": 88.57142639160156,
11 "z": "f9c6b4d6.c89d48",
19 "id": "2cc42ce.d3a7dd4",
20 "type": "service-logic",
21 "name": "VNF-API ${project.version}",
23 "version": "${project.version}",
25 "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}'>",
27 "x": 295.4444351196289,
28 "y": 37.238101959228516,
29 "z": "f9c6b4d6.c89d48",
37 "id": "d4150291.a47c7",
41 "x": 131.33332061767578,
42 "y": 37.238101959228516,
43 "z": "f9c6b4d6.c89d48",
51 "id": "f32f7d99.8e885",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
58 "x": 185.76110458374023,
59 "y": 160.88003540039062,
60 "z": "f9c6b4d6.c89d48",
86 "id": "e6608c59.2d82d",
88 "name": "save AnAI - l3-network",
89 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\" >\n<!-- Create l3-network object -->\n<parameter name=\"network-id\" value=\"`$tmp.return.generate-l3network-network-id.uuid`\" />\n<parameter name=\"network-name\" value=\"`$network-topology-operation-input.network-request-information.network-name`\" />\n<parameter name=\"network-type\" value=\"`$network-topology-operation-input.network-request-information.network-type`\" />\n<parameter name=\"network-role\" value=\"`$preload-data.network-topology-information.network-topology-identifier.network-role`\" />\n<parameter name=\"network-technology\" value=\"`$preload-data.network-topology-information.network-topology-identifier.network-technology`\" />\n<parameter name=\"service-id\" value=\"`$network-topology-operation-input.service-information.service-id`\" />\n<parameter name=\"tenant-id\" value=\"`$network-topology-operation-input.network-request-information.tenant`\" />\n<parameter name=\"network-role-instance\" value=\"0\" />\n<parameter name=\"orchestration-status\" value=\"pending-create\" />",
92 "x": 436.1934051513672,
93 "y": 454.1977233886719,
94 "z": "f9c6b4d6.c89d48",
103 "id": "d54bce56.12186",
105 "name": "for loop i - PRELOAD subnets",
106 "xml": "<for index=\"i\" start=\"0\" end=\"`$preload-data.network-topology-information.subnets_length`\">\n",
109 "x": 457.9034957885742,
110 "y": 640.8798131942749,
111 "z": "f9c6b4d6.c89d48",
119 "id": "7c655566.f8d98c",
120 "type": "returnSuccess",
121 "name": "return success",
122 "xml": "<return status=\"success\">\n\t<parameter name=\"networkId\" value=\"`$tmp.return.generate-l3network-network-id.uuid`\" />\n\t<parameter name=\"error-code\" value=\"200\" />",
124 "x": 375.84381103515625,
125 "y": 2471.0271310806274,
126 "z": "f9c6b4d6.c89d48",
130 "id": "d18455b2.897038",
132 "name": "Set final indicator to Y",
133 "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
135 "x": 399.12740325927734,
136 "y": 2422.105136871338,
137 "z": "f9c6b4d6.c89d48",
141 "id": "9de98ca4.f462",
144 "xml": "<outcome value='failure'>\n",
148 "y": 454.213041305542,
149 "z": "f9c6b4d6.c89d48",
157 "id": "4ae47500.3fa4ac",
159 "name": "block : atomic",
160 "xml": "<block atomic='true'>",
164 "x": 672.9021148681641,
165 "y": 640.8888244628906,
166 "z": "f9c6b4d6.c89d48",
179 "id": "c0b37f94.55c04",
180 "type": "returnFailure",
181 "name": "return failure",
182 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value=\"`'Failed to save l3-netework in AnAI with network-id = ' + $tmp.return.generate-l3network-network-id.uuid`\"/>",
184 "x": 829.254035949707,
185 "y": 453.9908256530762,
186 "z": "f9c6b4d6.c89d48",
190 "id": "bf4af859.d229c8",
193 "xml": "<outcome value='failure'>\n",
196 "x": 1152.2541790008545,
197 "y": 868.8520412445068,
198 "z": "f9c6b4d6.c89d48",
206 "id": "c5f09568.abd408",
208 "name": "set tmp.dhcpEnabled.boolean=false",
209 "xml": "<set>\n<parameter name=\"tmp.dhcpEnabled.boolean\" value=\"false\" />\n",
211 "x": 1419.9320831298828,
212 "y": 682.2393565177917,
213 "z": "f9c6b4d6.c89d48",
217 "id": "27c769b5.ca3316",
219 "name": "set tmp.dhcpEnabled.boolean=true",
220 "xml": "<set>\n<parameter name=\"tmp.dhcpEnabled.boolean\" value=\"true\" />\n",
222 "x": 1418.2495880126953,
223 "y": 641.1758060455322,
224 "z": "f9c6b4d6.c89d48",
228 "id": "d2b530e1.e4e06",
229 "type": "switchNode",
230 "name": "switch: PRELOAD dhcp-enabled",
231 "xml": "<switch test=\"`$preload-data.network-topology-information.subnets[$i].dhcp-enabled`\">",
234 "x": 944.2495880126953,
235 "y": 640.6820316314697,
236 "z": "f9c6b4d6.c89d48",
245 "id": "1d57866b.dc0d9a",
248 "xml": "<outcome value='Y'>",
251 "x": 1201.4719314575195,
252 "y": 640.9043521881104,
253 "z": "f9c6b4d6.c89d48",
261 "id": "1656d8a4.c39f97",
264 "xml": "<outcome value='N'>",
267 "x": 1201.3766021728516,
268 "y": 682.7455735206604,
269 "z": "f9c6b4d6.c89d48",
277 "id": "9683e1d.b26132",
279 "name": "for loop i - PRELOAD vpn-bindings",
280 "xml": "<for index=\"i\" start=\"0\" end=\"`$preload-data.network-topology-information.vpn-bindings_length`\">\n",
283 "x": 470.5514221191406,
284 "y": 1153.222297668457,
285 "z": "f9c6b4d6.c89d48",
293 "id": "547d693b.b05e78",
295 "name": "block : atomic",
296 "xml": "<block atomic='true'>",
300 "x": 712.3292007446289,
301 "y": 1153.4722995758057,
302 "z": "f9c6b4d6.c89d48",
313 "id": "42bfa7b6.ab68a8",
315 "name": "save relationship: vpn_bindings",
316 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\" \n\tforce=\"true\" \n\tlocal-only=\"false\">\n\t\n\t<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vpn-binding\" />\n\t<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vpn-binding.vpn-id\" />\n\t<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.vpn-binding-id`\" />",
319 "x": 1053.856918334961,
320 "y": 1378.4445276260376,
321 "z": "f9c6b4d6.c89d48",
331 "id": "d1f10746.e56058",
333 "name": "call: generate-l3network-network-id",
334 "xml": "<call module=\"VNF-API\" rpc=\"generate-l3network-network-id\" mode=\"sync\" >\n",
337 "x": 474.26195526123047,
338 "y": 407.761869430542,
339 "z": "f9c6b4d6.c89d48",
347 "id": "d51eccf4.b117b",
350 "xml": "<outcome value='failure'>\n",
353 "x": 697.0119400024414,
354 "y": 408.0118598937988,
355 "z": "f9c6b4d6.c89d48",
363 "id": "8780710c.05f27",
364 "type": "returnFailure",
365 "name": "return failure",
366 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value='Error in generating l3-network.network-id in SDNC'/>",
368 "x": 853.7894134521484,
369 "y": 407.789644241333,
370 "z": "f9c6b4d6.c89d48",
374 "id": "fdec3d96.4fe6c",
375 "type": "switchNode",
376 "name": "switch ... PRELOAD vpn-bindings[]",
377 "xml": "<switch test=\"`$preload-data.network-topology-information.vpn-bindings_length`\">",
380 "x": 470.92886522081153,
381 "y": 1109.8036111195884,
382 "z": "f9c6b4d6.c89d48",
390 "id": "33a85e7a.541aa2",
393 "xml": "<outcome value=''>",
395 "x": 691.3733155992295,
396 "y": 1109.5813468297324,
397 "z": "f9c6b4d6.c89d48",
405 "id": "8f10e90b.9b56a8",
407 "name": "set vpn-bindings[] = 0",
408 "xml": "<set>\n<parameter name=\"preload-data.network-topology-information.vpn-bindings_length\" value=\"0\" />\n",
410 "x": 885.9289245605469,
411 "y": 1109.5813674926758,
412 "z": "f9c6b4d6.c89d48",
416 "id": "b25a8a99.44e208",
417 "type": "switchNode",
418 "name": "switch ... PRELOAD network-policy[]",
419 "xml": "<switch test=\"`$preload-data.network-topology-information.network-policy_length`\">",
422 "x": 452.0991668701172,
423 "y": 1523.0717792510986,
424 "z": "f9c6b4d6.c89d48",
432 "id": "b82095af.08bfb8",
435 "xml": "<outcome value=''>",
437 "x": 681.5436172485352,
438 "y": 1522.8495149612427,
439 "z": "f9c6b4d6.c89d48",
447 "id": "91c9b9db.ea94b8",
449 "name": "set network-policy[] = 0",
450 "xml": "<set>\n<parameter name='preload-data.network-topology-information.network-policy_length' value='0' />\n",
452 "x": 876.0992262098525,
453 "y": 1522.849535624186,
454 "z": "f9c6b4d6.c89d48",
458 "id": "a4bddbdd.384ca8",
459 "type": "switchNode",
460 "name": "switch test: PRELOAD gateway-address",
461 "xml": "<switch test=\"`$preload-data.network-topology-information.subnets[$i].gateway-address`\">",
464 "x": 968.646915435791,
465 "y": 735.6547451019287,
466 "z": "f9c6b4d6.c89d48",
474 "id": "919f40fc.c3bd9",
477 "xml": "<outcome value=''>",
479 "x": 1212.146915435791,
480 "y": 735.6547451019287,
481 "z": "f9c6b4d6.c89d48",
489 "id": "21deb593.226d7a",
490 "type": "GenericXML",
491 "name": "Execute: generate gateway-address",
492 "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\" />",
495 "x": 1609.39693069458,
496 "y": 735.4047527313232,
497 "z": "f9c6b4d6.c89d48",
503 "id": "82d44a1c.206d88",
505 "name": "block : atomic",
506 "xml": "<block atomic='true'>",
510 "x": 1362.8969230651855,
511 "y": 735.6547555923462,
512 "z": "f9c6b4d6.c89d48",
521 "id": "b441c359.b1ed5",
523 "name": "set tmp.gateway-address",
524 "xml": "<set>\n<parameter name=\"tmp.gateway-address\" value=\"`$preload-data.network-topology-information.subnets[$i].gateway-address`\" />\n",
526 "x": 922.1469306945801,
527 "y": 688.9047517776489,
528 "z": "f9c6b4d6.c89d48",
532 "id": "144c19a.8fa82e6",
534 "name": "set tmp.gateway-address",
535 "xml": "<set>\n<parameter name=\"tmp.gateway-address\" value=\"`$tmp.return.generate.gateway-address`\" />\n",
537 "x": 1575.89693069458,
538 "y": 777.4047546386719,
539 "z": "f9c6b4d6.c89d48",
543 "id": "26c6c645.1a9d3a",
544 "type": "switchNode",
545 "name": "switch: PRELOAD route-target != NULL",
546 "xml": "<switch test=\"`$preload-data.network-topology-information.vpn-bindings[$i].global-route-target != ''`\" >",
549 "x": 975.5635833740234,
550 "y": 1244.8216018676758,
551 "z": "f9c6b4d6.c89d48",
559 "id": "57a4fb2.f593104",
562 "xml": "<outcome value='true'>\n",
565 "x": 1212.0635833740234,
566 "y": 1245.0716018676758,
567 "z": "f9c6b4d6.c89d48",
575 "id": "fc2001b2.ee9d2",
577 "name": "query AnAI - vpn-bindings",
578 "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\tlocal-only=\"false\" \n\t\tpfx=\"tmp.AnAI.vpn-binding\">",
581 "x": 1411.5635795593262,
582 "y": 1244.82160282135,
583 "z": "f9c6b4d6.c89d48",
593 "id": "9d2982aa.7ea2a",
596 "xml": "<outcome value='failure'>\n",
599 "x": 1621.8135795593262,
600 "y": 1325.0716037750244,
601 "z": "f9c6b4d6.c89d48",
609 "id": "78a54b4f.f2a264",
611 "name": "block : atomic",
612 "xml": "<block atomic='true'>",
616 "x": 1351.6470069885254,
617 "y": 868.4881591796875,
618 "z": "f9c6b4d6.c89d48",
627 "id": "5157a0f1.40c66",
629 "name": "set: tmp.error-message",
630 "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.subnet in AnAI where subnet-id = ' + $tmp.return.generate-subnets-subnet-id.uuid`\"/>",
632 "x": 1553.7465476989746,
633 "y": 868.23805809021,
634 "z": "f9c6b4d6.c89d48",
638 "id": "e4f1cfec.80ca7",
640 "name": "delete l3-network",
641 "xml": "<delete plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\tkey=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\">",
644 "x": 1525.530288696289,
645 "y": 2284.034454345703,
646 "z": "f9c6b4d6.c89d48",
652 "id": "2b7509e.d0964f6",
653 "type": "returnFailure",
654 "name": "return failure",
655 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value=\"`'Error writing to l3-netework - ' + $tmp.error-message`\"/>",
657 "x": 1512.4676208496094,
658 "y": 2327.230498313904,
659 "z": "f9c6b4d6.c89d48",
663 "id": "c4a0a4b9.d67758",
666 "xml": "<outcome value='not-found'>\n",
669 "x": 1627.3135833740234,
670 "y": 1284.57160282135,
671 "z": "f9c6b4d6.c89d48",
679 "id": "7598ed5f.703d44",
681 "name": "block : atomic",
682 "xml": "<block atomic='true'>",
686 "x": 1335.7065505981445,
687 "y": 2284.2860431671143,
688 "z": "f9c6b4d6.c89d48",
697 "id": "55368e8d.0d27b",
699 "name": "block : atomic",
700 "xml": "<block atomic='true'>",
704 "x": 1774.8135833740234,
705 "y": 1324.8216047286987,
706 "z": "f9c6b4d6.c89d48",
715 "id": "7756b135.e6c4b",
717 "name": "set: tmp.error-message",
718 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'Failed to query vpn-bindings from AnAI where global-route-target = ' + $preload-data.network-topology-information.vpn-bindings[$i].global-route-target`\"/>",
720 "x": 1996.9131240844727,
721 "y": 1324.5715036392212,
722 "z": "f9c6b4d6.c89d48",
726 "id": "239555fc.bdbfaa",
727 "type": "switchNode",
728 "name": "switch: PRELOAD vpn-binding-id",
729 "xml": "<switch test=\"`$preload-data.network-topology-information.vpn-bindings[$i].vpn-binding-id`\">",
732 "x": 955.8135871887207,
733 "y": 1200.3215417861938,
734 "z": "f9c6b4d6.c89d48",
742 "id": "ea26c779.e30328",
745 "xml": "<outcome value='Other'>\n",
748 "x": 1169.3135948181152,
749 "y": 1200.0715427398682,
750 "z": "f9c6b4d6.c89d48",
758 "id": "d6658c61.93f25",
760 "name": "set tmp.vpn-binding-id",
761 "xml": "<set>\n<parameter name=\"tmp.vpn-binding-id\" value=\"`$preload-data.network-topology-information.vpn-bindings[$i].vpn-binding-id`\" />\n",
763 "x": 1351.8135948181152,
764 "y": 1200.0715436935425,
765 "z": "f9c6b4d6.c89d48",
769 "id": "67b5caf1.ddebd4",
772 "xml": "<outcome value='success'>\n",
775 "x": 1622.8135795593262,
776 "y": 1244.82160282135,
777 "z": "f9c6b4d6.c89d48",
785 "id": "6fc7931.d198c6c",
787 "name": "set tmp.vpn-binding-id",
788 "xml": "<set>\n<parameter name=\"tmp.vpn-binding-id\" value=\"`$tmp.AnAI.vpn-binding.vpn-id`\" />\n",
790 "x": 2277.0636291503906,
791 "y": 1243.571678161621,
792 "z": "f9c6b4d6.c89d48",
796 "id": "80139c48.11b38",
799 "xml": "<outcome value='failure'>\n",
802 "x": 1278.9297943115234,
803 "y": 1377.920114517212,
804 "z": "f9c6b4d6.c89d48",
812 "id": "4dce9a6d.462e74",
814 "name": "block : atomic",
815 "xml": "<block atomic='true'>",
819 "x": 1466.8226737976074,
820 "y": 1377.556221961975,
821 "z": "f9c6b4d6.c89d48",
830 "id": "d7897aa2.314cd8",
832 "name": "set: tmp.error-message",
833 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while saving vpn-binding relationship for l3-network in AnAI where vpn-id = ' + $tmp.vpn-binding-id`\"/>",
835 "x": 1679.9222145080566,
836 "y": 1378.3061208724976,
837 "z": "f9c6b4d6.c89d48",
841 "id": "aec67243.3085b",
843 "name": "for loop i - PRELOAD network-policy",
844 "xml": "<for index=\"i\" start=\"0\" end=\"`$preload-data.network-topology-information.network-policy_length`\">\n",
847 "x": 451.45642852783203,
848 "y": 1568.6431703567505,
849 "z": "f9c6b4d6.c89d48",
857 "id": "efde88cf.9b8748",
859 "name": "save relationship: network-policy",
860 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\" >\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`\" />",
863 "x": 2268.0121154785156,
864 "y": 1701.1154356002808,
865 "z": "f9c6b4d6.c89d48",
874 "id": "9591c346.1a1b4",
875 "type": "switchNode",
876 "name": "switch: PRELOAD network-policy-fqdn != NULL",
877 "xml": "<switch test=\"`$preload-data.network-topology-information.network-policy[$i].network-policy-fqdn != ''`\">",
880 "x": 807.7186872694228,
881 "y": 1568.9924284617105,
882 "z": "f9c6b4d6.c89d48",
890 "id": "28c23efe.60d8c2",
893 "xml": "<outcome value='true'>\n",
896 "x": 1073.4686872694228,
897 "y": 1569.2424284617105,
898 "z": "f9c6b4d6.c89d48",
906 "id": "9a67180c.7e8c88",
908 "name": "query AnAI - network-policy",
909 "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\tlocal-only=\"false\" \n\t\tpfx=\"tmp.AnAI.network-policy\">",
912 "x": 1282.71869108412,
913 "y": 1569.2424284617105,
914 "z": "f9c6b4d6.c89d48",
924 "id": "86e4182d.175af8",
927 "xml": "<outcome value='failure'>\n",
930 "x": 1490.71877500746,
931 "y": 1610.2424379984536,
932 "z": "f9c6b4d6.c89d48",
940 "id": "3ac39ea5.f66bf2",
943 "xml": "<outcome value='not-found'>\n",
946 "x": 1496.2187788221572,
947 "y": 1568.7424370447793,
948 "z": "f9c6b4d6.c89d48",
956 "id": "19951b2e.af9645",
958 "name": "block : atomic",
959 "xml": "<block atomic='true'>",
963 "x": 1660.7187788221572,
964 "y": 1609.992438952128,
965 "z": "f9c6b4d6.c89d48",
974 "id": "1be79b78.b46515",
976 "name": "set: tmp.error-message",
977 "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`\"/>",
979 "x": 1869.8183195326064,
980 "y": 1609.7423378626504,
981 "z": "f9c6b4d6.c89d48",
985 "id": "61a477bc.3c1228",
988 "xml": "<outcome value='failure'>\n",
991 "x": 2491.084991455078,
992 "y": 1700.591022491455,
993 "z": "f9c6b4d6.c89d48",
1001 "id": "905198df.a2e8e8",
1003 "name": "block : atomic",
1004 "xml": "<block atomic='true'>",
1008 "x": 2670.977870941162,
1009 "y": 1700.2271299362183,
1010 "z": "f9c6b4d6.c89d48",
1019 "id": "3c4f721c.b157ae",
1021 "name": "set: tmp.error-message",
1022 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while saving network-policy relationship for l3-network in AnAI where network-policy-id = ' + $tmp.AnAI.network-policy.network-policy-id`\"/>",
1024 "x": 2894.0774116516113,
1025 "y": 1700.9770288467407,
1026 "z": "f9c6b4d6.c89d48",
1030 "id": "a461de0f.d6093",
1032 "name": "call: generate-subnets-subnet-id",
1033 "xml": "<call module=\"VNF-API\" rpc=\"generate-subnets-subnet-id\" mode=\"sync\" >\n",
1036 "x": 941.7618713378906,
1037 "y": 822.5118942260742,
1038 "z": "f9c6b4d6.c89d48",
1046 "id": "6a268e02.7bf99",
1049 "xml": "<outcome value='failure'>\n",
1052 "x": 1239.5118560791016,
1053 "y": 822.761884689331,
1054 "z": "f9c6b4d6.c89d48",
1062 "id": "6a95cc4c.004c34",
1064 "name": "save relationship: tenant and cloud-region",
1065 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\" \n\tforce=\"true\" \n\tlocal-only=\"false\">\n\t<!-- create relationship-list -->\n\t<parameter name=\"relationship-list.relationship[0].related-to\" value=\"tenant\" />\n\t<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"cloud-region.cloud-owner\" />\n\t<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"att-aic\" />\n\t<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n\t<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"`$network-topology-operation-input.network-request-information.aic-cloud-region`\" />\n\t<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"tenant.tenant-id\" />\n\t<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"`$network-topology-operation-input.network-request-information.tenant`\" />\n\t<parameter name=\"relationship-list.relationship[1].related-to\" value=\"cloud-region\" />\n\t<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"cloud-region.cloud-owner\" />\n\t<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"att-aic\" />\n\t<parameter name=\"relationship-list.relationship[1].relationship-data[1].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n\t<parameter name=\"relationship-list.relationship[1].relationship-data[1].relationship-value\" value=\"`$network-topology-operation-input.network-request-information.aic-cloud-region`\" />",
1068 "x": 495.5635681152344,
1069 "y": 953.7380905151367,
1070 "z": "f9c6b4d6.c89d48",
1079 "id": "94d20436.9f5a98",
1082 "xml": "<outcome value='failure'>\n",
1085 "x": 743.5635681152344,
1086 "y": 953.7380905151367,
1087 "z": "f9c6b4d6.c89d48",
1095 "id": "9bdd4cad.3259a",
1097 "name": "block : atomic",
1098 "xml": "<block atomic='true'>",
1102 "x": 931.9563961029053,
1103 "y": 953.3742084503174,
1104 "z": "f9c6b4d6.c89d48",
1113 "id": "9e720f57.6429d",
1115 "name": "set: tmp.error-message",
1116 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while saving tenant and clould-region relationship for l3-network in AnAI where network-id = ' + $tmp.return.generate-l3network-network-id.uuid`\"/>",
1118 "x": 1136.0559368133545,
1119 "y": 953.1241073608398,
1120 "z": "f9c6b4d6.c89d48",
1124 "id": "36380a8c.5dc166",
1125 "type": "switchNode",
1126 "name": "switch: tmp.vpn-binding-id != NULL",
1127 "xml": "<switch test=\"`$tmp.vpn-binding-id != ''`\">",
1130 "x": 962.8135833740234,
1131 "y": 1291.7381057739258,
1132 "z": "f9c6b4d6.c89d48",
1140 "id": "2a156ae6.84e5a6",
1143 "xml": "<outcome value='true'>\n",
1146 "x": 1182.5635681152344,
1147 "y": 1291.7380905151367,
1148 "z": "f9c6b4d6.c89d48",
1156 "id": "bbec29a5.4081f8",
1158 "name": "set tmp.local.network-id",
1159 "xml": "<set>\n<parameter name=\"tmp.local.network-id\" value=\"`$tmp.return.generate-l3network-network-id.uuid`\" />\n",
1161 "x": 917.5714569091797,
1162 "y": 778.9999885559082,
1163 "z": "f9c6b4d6.c89d48",
1167 "id": "69434546.6b177c",
1169 "name": "save AnAI - l3-network.subnets",
1170 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"subnet\" \n\t\tkey=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid \n\t\t\tAND subnet.subnet-id = $tmp.return.generate-subnets-subnet-id.uuid\" >\n<!-- Create l3-network object -->\n<parameter name=\"network-id\" value=\"`$tmp.return.generate-l3network-network-id.uuid`\" />\n<parameter name=\"subnet-id\" value=\"`$tmp.return.generate-subnets-subnet-id.uuid`\" />\n<parameter name=\"subnet-name\" value=\"`$preload-data.network-topology-information.subnets[$i].subnet-name`\" />\n<parameter name=\"gateway-address\" value=\"`$tmp.gateway-address`\" />\n<parameter name=\"network-start-address\" value=\"`$preload-data.network-topology-information.subnets[$i].start-address`\" />\n<parameter name=\"cidr-mask\" value=\"`$preload-data.network-topology-information.subnets[$i].cidr-mask`\" />\n<parameter name=\"ip-version\" value=\"`$preload-data.network-topology-information.subnets[$i].ip-version`\" />\n<parameter name=\"dhcp-start\" value=\"`$preload-data.network-topology-information.subnets[$i].dhcp-start-address`\" />\n<parameter name=\"dhcp-end\" value=\"`$preload-data.network-topology-information.subnets[$i].dhcp-end-address`\" />\n<parameter name=\"dhcp-enabled\" value=\"`$tmp.dhcpEnabled.boolean`\" />\n\t\t<parameter name=\"orchestration-status\" value=\"pending-create\" />",
1173 "x": 940.6379051208496,
1174 "y": 868.5035381317139,
1175 "z": "f9c6b4d6.c89d48",
1184 "id": "cced61c2.cb78b",
1186 "name": "get AnAI - l3-network by name",
1187 "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $network-topology-operation-input.network-request-information.network-name\" \n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.AnAI.l3network.existed\">\n\n",
1191 "y": 254.42857360839844,
1192 "z": "f9c6b4d6.c89d48",
1201 "id": "442f4dcc.0db234",
1204 "xml": "<outcome value='success'>\n",
1208 "y": 296.6786346435547,
1209 "z": "f9c6b4d6.c89d48",
1217 "id": "202129b8.5c0ed6",
1218 "type": "returnFailure",
1219 "name": "return failure",
1220 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying whether l3-network with network-name = ' + $network-topology-operation-input.network-request-information.network-name + ' already exists in AnAI'`\"/>\n",
1222 "x": 832.7457580566406,
1223 "y": 254.89673042297363,
1224 "z": "f9c6b4d6.c89d48",
1228 "id": "b16ddddf.00d98",
1231 "xml": "<outcome value='failure'>\n",
1234 "x": 679.5235358344185,
1235 "y": 254.89673042297363,
1236 "z": "f9c6b4d6.c89d48",
1244 "id": "6a2fcf8c.18eb8",
1245 "type": "returnFailure",
1246 "name": "return failure",
1247 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'A l3-network with network-name = ' + $network-topology-operation-input.network-request-information.network-name + ' already existed in AnAI with network-id = ' + $tmp.AnAI.l3network.existed.network-id`\" />\n",
1249 "x": 835.4286193847656,
1250 "y": 296.42857360839844,
1251 "z": "f9c6b4d6.c89d48",
1255 "id": "d30ff142.3546e",
1257 "name": "set: tmp.error-message to \"\"",
1258 "xml": "<set>\n\t<parameter name=\"tmp.error-message\" value=\"\"/>",
1260 "x": 451.5714111328125,
1261 "y": 362.67857360839844,
1262 "z": "f9c6b4d6.c89d48",
1266 "id": "300d9dbd.6d58a2",
1268 "name": "unset tmp.vpn-binding-id",
1269 "xml": "<set>\n<parameter name=\"tmp.vpn-binding-id\" value=\"\" />\n",
1271 "x": 929.8888931274414,
1272 "y": 1154.015875339508,
1273 "z": "f9c6b4d6.c89d48",
1277 "id": "36636bd5.8e92b4",
1280 "xml": "<outcome value='success'>\n",
1283 "x": 1493.24998304579,
1284 "y": 1654.5715109507241,
1285 "z": "f9c6b4d6.c89d48",
1293 "id": "cd3c019c.f3ce1",
1296 "xml": "<outcome value='success'>\n",
1299 "x": 1282.5872650146484,
1300 "y": 1464.777780532837,
1301 "z": "f9c6b4d6.c89d48",
1309 "id": "b9331242.105a7",
1311 "name": "set tmp.is-bound-to-vpn",
1312 "xml": "<set>\n<parameter name=\"tmp.is-bound-to-vpn\" value=\"true\" />\n",
1314 "x": 1473.0872650146484,
1315 "y": 1464.777780532837,
1316 "z": "f9c6b4d6.c89d48",
1320 "id": "dfebf1ef.060d1",
1322 "name": "update AnAI - l3-network",
1323 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\" >\n<parameter name=\"is-bound-to-vpn\" value=\"true\" />",
1326 "x": 655.3016128540039,
1327 "y": 1956.206524848938,
1328 "z": "f9c6b4d6.c89d48",
1337 "id": "e1336583.4cd0d8",
1340 "xml": "<outcome value='failure'>\n",
1343 "x": 851.5847702026367,
1344 "y": 1956.221842765808,
1345 "z": "f9c6b4d6.c89d48",
1353 "id": "eec55dc8.09816",
1354 "type": "switchNode",
1355 "name": "switch ... tmp.is-bound-to-vpn",
1356 "xml": "<switch test=\"`$tmp.is-bound-to-vpn`\">",
1359 "x": 424.44444274902344,
1360 "y": 1891.3493671417236,
1361 "z": "f9c6b4d6.c89d48",
1369 "id": "34d11c70.e8f384",
1372 "xml": "<outcome value=\"true\">",
1375 "x": 643.8888931274414,
1376 "y": 1891.1271028518677,
1377 "z": "f9c6b4d6.c89d48",
1385 "id": "f55c1f6d.ea9aa",
1387 "name": "block : atomic",
1388 "xml": "<block atomic='true'>",
1392 "x": 1063.694450378418,
1393 "y": 1956.5993690490723,
1394 "z": "f9c6b4d6.c89d48",
1403 "id": "36e75acf.f931c6",
1405 "name": "set: tmp.error-message",
1406 "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 is-bound-to-vpn in AnAI where network-id = ' + $tmp.return.generate-l3network-network-id.uuid`\"/>",
1408 "x": 1282.194435119629,
1409 "y": 1956.349347114563,
1410 "z": "f9c6b4d6.c89d48",
1414 "id": "8cf9ad87.65dd7",
1415 "type": "not-found",
1416 "name": "not-found",
1417 "xml": "<outcome value='not-found'>\n",
1420 "x": 636.5714111328125,
1421 "y": 497.57141304016113,
1422 "z": "f9c6b4d6.c89d48",
1430 "id": "91ca1bcf.ce5e18",
1431 "type": "not-found",
1432 "name": "not-found",
1433 "xml": "<outcome value='not-found'>\n",
1436 "x": 1160.5714111328125,
1437 "y": 909.5714130401611,
1438 "z": "f9c6b4d6.c89d48",
1446 "id": "5c4aab8f.7f8844",
1447 "type": "not-found",
1448 "name": "not-found",
1449 "xml": "<outcome value='not-found'>\n",
1452 "x": 751.5714111328125,
1453 "y": 995.5714130401611,
1454 "z": "f9c6b4d6.c89d48",
1462 "id": "188bd49e.885fbb",
1463 "type": "not-found",
1464 "name": "not-found",
1465 "xml": "<outcome value='not-found'>\n",
1468 "x": 1287.0157318115234,
1469 "y": 1420.5713863372803,
1470 "z": "f9c6b4d6.c89d48",
1478 "id": "8f30eaa4.9bde48",
1479 "type": "not-found",
1480 "name": "not-found",
1481 "xml": "<outcome value='not-found'>\n",
1484 "x": 859.071403503418,
1485 "y": 1997.3214921951294,
1486 "z": "f9c6b4d6.c89d48",
1494 "id": "70ae584f.c14f98",
1495 "type": "not-found",
1496 "name": "not-found",
1497 "xml": "<outcome value='not-found'>\n",
1500 "x": 2498.8214433458115,
1501 "y": 1743.071546872457,
1502 "z": "f9c6b4d6.c89d48",
1510 "id": "93380f51.982a9",
1511 "type": "switchNode",
1512 "name": "switch: tmp.AnAI.vpn-binding.vpn-id",
1513 "xml": "<switch test=\"`$tmp.AnAI.vpn-binding.vpn-id`\" >",
1516 "x": 1830.8214416503906,
1517 "y": 1244.3214302062988,
1518 "z": "f9c6b4d6.c89d48",
1527 "id": "b76ca92c.0ed578",
1529 "name": "block : atomic",
1530 "xml": "<block atomic='true'>",
1534 "x": 2253.5714416503906,
1535 "y": 1283.3214302062988,
1536 "z": "f9c6b4d6.c89d48",
1545 "id": "5bc2956f.787c5c",
1548 "xml": "<outcome value=''>\n",
1551 "x": 2088.5714416503906,
1552 "y": 1283.8214302062988,
1553 "z": "f9c6b4d6.c89d48",
1561 "id": "eff41a9e.00afa8",
1564 "xml": "<outcome value='Other'>\n",
1567 "x": 2088.5714111328125,
1568 "y": 1243.8214130401611,
1569 "z": "f9c6b4d6.c89d48",
1577 "id": "bb1b9631.658388",
1579 "name": "set: tmp.error-message",
1580 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'Failed to query vpn-bindings from AnAI where global-route-target = ' + $preload-data.network-topology-information.vpn-bindings[$i].global-route-target + '. It is likely that the same global-route-target points to more than one vpn-binding objects in AnAI.'`\"/>",
1582 "x": 2469.0714111328125,
1583 "y": 1283.3214130401611,
1584 "z": "f9c6b4d6.c89d48",
1588 "id": "ce9859f8.9238e8",
1589 "type": "switchNode",
1590 "name": "switch: tmp.AnAI.network-policy.network-policy-id",
1591 "xml": "<switch test=\"`$tmp.AnAI.network-policy.network-policy-id`\" >",
1594 "x": 1771.3292541503906,
1595 "y": 1654.0713682174683,
1596 "z": "f9c6b4d6.c89d48",
1605 "id": "3c3f8072.e88a9",
1608 "xml": "<outcome value=''>\n",
1611 "x": 2045.0792541503906,
1612 "y": 1653.5713682174683,
1613 "z": "f9c6b4d6.c89d48",
1621 "id": "78fb0dee.396224",
1623 "name": "block : atomic",
1624 "xml": "<block atomic='true'>",
1628 "x": 2210.0792541503906,
1629 "y": 1653.0713682174683,
1630 "z": "f9c6b4d6.c89d48",
1639 "id": "b7a4e2fe.7602c",
1641 "name": "set: tmp.error-message",
1642 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'Failed to query route-table-reference from AnAI where route-table-reference-fqdn = ' + $preload-data.network-topology-information.route-table-reference[$i].route-table-reference-fqdn + '. It is likely that the same route-table-reference-fqdn points to more than one route-table-reference objects in AnAI.'`\"/>",
1644 "x": 2636.912660386827,
1645 "y": 1851.404614766439,
1646 "z": "f9c6b4d6.c89d48",
1650 "id": "d073d6e1.0db6e8",
1653 "xml": "<outcome value='Other'>\n",
1656 "x": 2044.5714111328125,
1657 "y": 1700.8214664459229,
1658 "z": "f9c6b4d6.c89d48",
1666 "id": "d92a7574.cd1b58",
1668 "name": "update AnAI - l3-network.provider-network-information",
1669 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\" >\n<parameter name=\"physical-network-name\" value=\"`$preload-data.network-topology-information.provider-network-information.physical-network-name`\" />\n<parameter name=\"is-provider-network\" value=\"`$preload-data.network-topology-information.provider-network-information.is-provider-network`\" />\n<parameter name=\"is-shared-network\" value=\"`$preload-data.network-topology-information.provider-network-information.is-shared-network`\" />\n<parameter name=\"is-external-network\" value=\"`$preload-data.network-topology-information.provider-network-information.is-external-network`\" />",
1672 "x": 534.7499847412109,
1673 "y": 541.3214206695557,
1674 "z": "f9c6b4d6.c89d48",
1683 "id": "8d65ff4.75283",
1686 "xml": "<outcome value='failure'>\n",
1689 "x": 848.2831344604492,
1690 "y": 541.3367395401001,
1691 "z": "f9c6b4d6.c89d48",
1699 "id": "19a0604d.6fffb",
1701 "name": "block : atomic",
1702 "xml": "<block atomic='true'>",
1706 "x": 1060.3928146362305,
1707 "y": 541.7142658233643,
1708 "z": "f9c6b4d6.c89d48",
1717 "id": "bfc1c864.dda818",
1719 "name": "set: tmp.error-message",
1720 "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 with provider-network-information in AnAI where network-id = ' + $tmp.return.generate-l3network-network-id.uuid`\"/>",
1722 "x": 1278.8927993774414,
1723 "y": 541.464243888855,
1724 "z": "f9c6b4d6.c89d48",
1728 "id": "a6764a00.4418a8",
1729 "type": "not-found",
1730 "name": "not-found",
1731 "xml": "<outcome value='not-found'>\n",
1734 "x": 855.7697677612305,
1735 "y": 582.4363889694214,
1736 "z": "f9c6b4d6.c89d48",
1744 "id": "f5d35022.8ff6",
1745 "type": "switchNode",
1746 "name": "switch ... PRELOAD route-table-reference[]",
1747 "xml": "<switch test=\"`$preload-data.network-topology-information.route-table-reference_length`\">",
1750 "x": 469.74998474121094,
1751 "y": 1721.5714130401611,
1752 "z": "f9c6b4d6.c89d48",
1760 "id": "4f951dff.ce2564",
1763 "xml": "<outcome value=''>",
1765 "x": 725.1944351196289,
1766 "y": 1721.3491487503052,
1767 "z": "f9c6b4d6.c89d48",
1775 "id": "d46faf09.e831",
1777 "name": "set route-table-reference[] = 0",
1778 "xml": "<set>\n<parameter name='preload-data.network-topology-information.route-table-reference_length' value='0' />\n",
1780 "x": 930.7500440809463,
1781 "y": 1721.3491694132485,
1782 "z": "f9c6b4d6.c89d48",
1786 "id": "30dd8358.aaaadc",
1788 "name": "for loop i - PRELOAD route-table-reference",
1789 "xml": "<for index=\"i\" start=\"0\" end=\"`$preload-data.network-topology-information.route-table-reference_length`\">\n",
1792 "x": 468.1072463989258,
1793 "y": 1769.142804145813,
1794 "z": "f9c6b4d6.c89d48",
1802 "id": "75664f84.1ae09",
1804 "name": "save relationship: route-table-reference",
1805 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\" >\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`\" />",
1808 "x": 2454.9962632921006,
1809 "y": 1900.9483931859336,
1810 "z": "f9c6b4d6.c89d48",
1819 "id": "9bc7e123.4762e",
1820 "type": "switchNode",
1821 "name": "switch: PRELOAD network-policy-fqdn != NULL",
1822 "xml": "<switch test=\"`$preload-data.network-topology-information.route-table-reference[$i].route-table-reference-fqdn != ''`\">",
1825 "x": 853.7028350830078,
1826 "y": 1768.8253860473633,
1827 "z": "f9c6b4d6.c89d48",
1835 "id": "209cfc0f.7ee064",
1838 "xml": "<outcome value='true'>\n",
1841 "x": 1119.4528350830078,
1842 "y": 1769.0753860473633,
1843 "z": "f9c6b4d6.c89d48",
1851 "id": "4c6ed27c.d3899c",
1853 "name": "query AnAI - route-table-reference",
1854 "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\">",
1857 "x": 1348.702838897705,
1858 "y": 1769.0753860473633,
1859 "z": "f9c6b4d6.c89d48",
1869 "id": "32be05d4.ef453a",
1872 "xml": "<outcome value='failure'>\n",
1875 "x": 1574.702922821045,
1876 "y": 1810.0753955841064,
1877 "z": "f9c6b4d6.c89d48",
1885 "id": "d31265a9.dd2a68",
1886 "type": "not-found",
1887 "name": "not-found",
1888 "xml": "<outcome value='not-found'>\n",
1891 "x": 1580.2029266357422,
1892 "y": 1768.5753946304321,
1893 "z": "f9c6b4d6.c89d48",
1901 "id": "c7025ab3.2465e8",
1903 "name": "block : atomic",
1904 "xml": "<block atomic='true'>",
1908 "x": 1744.7029266357422,
1909 "y": 1809.8253965377808,
1910 "z": "f9c6b4d6.c89d48",
1918 "id": "a84e07a3.02c778",
1920 "name": "set: tmp.error-message",
1921 "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`\"/>",
1923 "x": 1953.8024673461914,
1924 "y": 1809.5752954483032,
1925 "z": "f9c6b4d6.c89d48",
1929 "id": "4d7f2cce.5452f4",
1932 "xml": "<outcome value='failure'>\n",
1935 "x": 2710.069139268663,
1936 "y": 1900.423980077108,
1937 "z": "f9c6b4d6.c89d48",
1945 "id": "7402c469.9e6bcc",
1947 "name": "block : atomic",
1948 "xml": "<block atomic='true'>",
1952 "x": 2889.962018754747,
1953 "y": 1900.060087521871,
1954 "z": "f9c6b4d6.c89d48",
1963 "id": "75091979.f14b18",
1965 "name": "set: tmp.error-message",
1966 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while saving route-table-reference relationship for l3-network in AnAI where route-table-reference-id = ' + $tmp.AnAI.route-table-reference.route-table-reference-id`\"/>",
1968 "x": 3114.061586168077,
1969 "y": 1899.8100102742515,
1970 "z": "f9c6b4d6.c89d48",
1974 "id": "fc3f6dcc.3ffa5",
1977 "xml": "<outcome value='success'>\n",
1980 "x": 1577.234130859375,
1981 "y": 1854.404468536377,
1982 "z": "f9c6b4d6.c89d48",
1990 "id": "5883ac21.585844",
1991 "type": "not-found",
1992 "name": "not-found",
1993 "xml": "<outcome value='not-found'>\n",
1996 "x": 2717.8055911593965,
1997 "y": 1942.9045044581098,
1998 "z": "f9c6b4d6.c89d48",
2006 "id": "b4dd51b0.f58dd",
2007 "type": "switchNode",
2008 "name": "switch: tmp.AnAI.route-table-reference.route-table-reference-id",
2009 "xml": "<switch test=\"`$tmp.AnAI.route-table-referencey.route-table-reference-id`\" >",
2012 "x": 1895.3134019639756,
2013 "y": 1853.904325803121,
2014 "z": "f9c6b4d6.c89d48",
2023 "id": "caa62ee1.0e628",
2026 "xml": "<outcome value=''>\n",
2029 "x": 2222.0634019639756,
2030 "y": 1853.404325803121,
2031 "z": "f9c6b4d6.c89d48",
2039 "id": "6ccdc09b.5108b",
2041 "name": "block : atomic",
2042 "xml": "<block atomic='true'>",
2046 "x": 2387.0634019639756,
2047 "y": 1852.904325803121,
2048 "z": "f9c6b4d6.c89d48",
2056 "id": "c12525bf.5dfe18",
2058 "name": "set: tmp.error-message",
2059 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'Failed to query newtork-policy from AnAI where network-policy-fqdn = ' + $preload-data.network-topology-information.network-policy[$i].network-policy-fqdn + '. It is likely that the same network-policy-fqdn points to more than one network-policy objects in AnAI.'`\"/>",
2061 "x": 2455.229965209961,
2062 "y": 1652.5709247589111,
2063 "z": "f9c6b4d6.c89d48",
2067 "id": "70a311b7.2883a",
2070 "xml": "<outcome value='Other'>\n",
2073 "x": 2221.5555589463975,
2074 "y": 1900.6544240315757,
2075 "z": "f9c6b4d6.c89d48",
2083 "id": "830f1b88.627bf8",
2085 "name": "save relationship: service-instance",
2086 "xml": "<save plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network:relationship-list\" \n\tkey=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\" >\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"service-instance\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"customer.global-customer-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$network-topology-operation-input.service-information.subscriber-name`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"service-subscription.service-type\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"`$network-topology-operation-input.service-information.service-type`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"service-instance.service-instance-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"`$network-topology-operation-input.service-information.service-instance-id`\" />",
2089 "x": 449.74998474121094,
2090 "y": 2092.571413040161,
2091 "z": "f9c6b4d6.c89d48",
2100 "id": "862cdb1e.cf3978",
2103 "xml": "<outcome value='failure'>\n",
2106 "x": 704.8228607177734,
2107 "y": 2092.0469999313354,
2108 "z": "f9c6b4d6.c89d48",
2116 "id": "a91510cb.75d29",
2118 "name": "block : atomic",
2119 "xml": "<block atomic='true'>",
2123 "x": 884.7157402038574,
2124 "y": 2091.6831073760986,
2125 "z": "f9c6b4d6.c89d48",
2134 "id": "c6dc81e.9bba78",
2136 "name": "set: tmp.error-message",
2137 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"tmp.error-message\" value=\"`'An error occurred while saving service-instance relationship for l3-network in AnAI where service-instance-id = ' + $network-topology-operation-input.service-information.service-instance-id`\"/>",
2139 "x": 1122.8153076171875,
2140 "y": 2091.433030128479,
2141 "z": "f9c6b4d6.c89d48",
2145 "id": "29684e7c.4d3332",
2146 "type": "not-found",
2147 "name": "not-found",
2148 "xml": "<outcome value='not-found'>\n",
2151 "x": 712.5593126085068,
2152 "y": 2134.5275243123374,
2153 "z": "f9c6b4d6.c89d48",
2161 "id": "4330f5b6.e6251c",
2162 "type": "switchNode",
2163 "name": "switch: INPUT service-type",
2164 "xml": "<switch test=\"`$network-topology-operation-input.service-information.service-type`\">",
2168 "y": 160.57142639160156,
2169 "z": "f9c6b4d6.c89d48",
2177 "id": "a00be1d.7bd562",
2180 "xml": "<outcome value=''>",
2183 "y": 160.57142639160156,
2184 "z": "f9c6b4d6.c89d48",
2192 "id": "84d2b076.55161",
2193 "type": "returnFailure",
2194 "name": "return failure",
2195 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value='service-type, aka AnAI subscription-service-type, is required.'/>",
2198 "y": 160.57142639160156,
2199 "z": "f9c6b4d6.c89d48",
2203 "id": "d045d509.c8ec58",
2204 "type": "switchNode",
2205 "name": "switch: INPUT subscriber-name",
2206 "xml": "<switch test=\"`$network-topology-operation-input.service-information.subscriber-name`\">",
2210 "y": 206.57142639160156,
2211 "z": "f9c6b4d6.c89d48",
2219 "id": "5efbbb28.950c14",
2222 "xml": "<outcome value=''>",
2225 "y": 206.57142639160156,
2226 "z": "f9c6b4d6.c89d48",
2234 "id": "d57a3c68.3825d",
2235 "type": "returnFailure",
2236 "name": "return failure",
2237 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value='subscriber-name, aka AnAI global-customer-id, is required.'/>",
2240 "y": 206.57142639160156,
2241 "z": "f9c6b4d6.c89d48",