[SDNGC-5859] copy local change to onap
[sdnc/oam.git] / platform-logic / vnfapi / src / main / json / VNF-API_vnf-instance-topology-assign-vnf-networks.json
1 [
2     {
3         "id": "2febef4a.283f9",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 142.85714721679688,
8         "y": 42.85714340209961,
9         "z": "705ac336.10121c",
10         "wires": [
11             [
12                 "87e9f370.e9afd"
13             ]
14         ]
15     },
16     {
17         "id": "87e9f370.e9afd",
18         "type": "service-logic",
19         "name": "VNF-API ${project.version}",
20         "module": "VNF-API",
21         "version": "${project.version}",
22         "comments": "",
23         "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>",
24         "outputs": 1,
25         "x": 308.0238037109375,
26         "y": 43.0238151550293,
27         "z": "705ac336.10121c",
28         "wires": [
29             [
30                 "93f9836d.c6161"
31             ]
32         ]
33     },
34     {
35         "id": "93f9836d.c6161",
36         "type": "method",
37         "name": "method vnf-instance-topology-assign-vnf-networks",
38         "xml": "<method rpc='vnf-instance-topology-assign-vnf-networks' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 271.2738265991211,
42         "y": 97.27380752563477,
43         "z": "705ac336.10121c",
44         "wires": [
45             [
46                 "32b0dfaf.61c42"
47             ]
48         ]
49     },
50     {
51         "id": "32b0dfaf.61c42",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic=\"true\">",
55         "atomic": "true",
56         "outputs": 1,
57         "x": 223.60714721679688,
58         "y": 146.1071434020996,
59         "z": "705ac336.10121c",
60         "wires": [
61             [
62                 "469e6730.fe15a8",
63                 "86c0733.b9d429",
64                 "5927f9c6.e24288",
65                 "62bcb573.1f631c",
66                 "c6c3193c.d163d8",
67                 "c5892e4d.2c5e1",
68                 "675a0354.e31bbc"
69             ]
70         ]
71     },
72     {
73         "id": "5c01cf7e.f97ba",
74         "type": "switchNode",
75         "name": "switch test: INPUT network-id = NULL or 0",
76         "xml": "<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].network-id == '' or $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].network-id == '0'`\">",
77         "comments": "",
78         "outputs": 1,
79         "x": 804.0494194030762,
80         "y": 698.0935974121094,
81         "z": "705ac336.10121c",
82         "wires": [
83             [
84                 "f75a2a6c.ecff98",
85                 "35d46151.35aa0e"
86             ]
87         ]
88     },
89     {
90         "id": "f75a2a6c.ecff98",
91         "type": "outcomeTrue",
92         "name": "true",
93         "xml": "<outcome value='true'>\n",
94         "comments": "",
95         "outputs": 1,
96         "x": 1093.4129066467285,
97         "y": 741.2754673957825,
98         "z": "705ac336.10121c",
99         "wires": [
100             [
101                 "8e53b29.404cb5"
102             ]
103         ]
104     },
105     {
106         "id": "8e53b29.404cb5",
107         "type": "switchNode",
108         "name": "switch : INPUT network-name = NULL",
109         "xml": "<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].network-name == '' or $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].network-name == '0'`\">",
110         "comments": "",
111         "outputs": 1,
112         "x": 1331.1950073242188,
113         "y": 741.1194458007812,
114         "z": "705ac336.10121c",
115         "wires": [
116             [
117                 "8819d24.34e3e3",
118                 "4bb47302.d72c4c"
119             ]
120         ]
121     },
122     {
123         "id": "35d46151.35aa0e",
124         "type": "other",
125         "name": "false",
126         "xml": "<outcome value='false'>",
127         "comments": "",
128         "outputs": 1,
129         "x": 1093.433193206787,
130         "y": 697.9824938774109,
131         "z": "705ac336.10121c",
132         "wires": [
133             [
134                 "6dd56a34.8d5b54"
135             ]
136         ]
137     },
138     {
139         "id": "8819d24.34e3e3",
140         "type": "other",
141         "name": "false",
142         "xml": "<outcome value='false'>",
143         "comments": "",
144         "outputs": 1,
145         "x": 1569.3869590759277,
146         "y": 780.6749277114868,
147         "z": "705ac336.10121c",
148         "wires": [
149             [
150                 "7b1b2acb.ddf7c4"
151             ]
152         ]
153     },
154     {
155         "id": "6dd56a34.8d5b54",
156         "type": "save",
157         "name": "get  AnAI - l3-network by id",
158         "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].network-id\" \n\tpfx=\"tmp.AnAI.l3network\">\n",
159         "comments": "",
160         "outputs": 1,
161         "x": 1294.6553077697754,
162         "y": 697.9826617240906,
163         "z": "705ac336.10121c",
164         "wires": [
165             [
166                 "44c56e39.3f0a8",
167                 "51e53ee8.48261"
168             ]
169         ]
170     },
171     {
172         "id": "44c56e39.3f0a8",
173         "type": "success",
174         "name": "not found",
175         "xml": "<outcome value='not-found'>\n",
176         "comments": "",
177         "outputs": 1,
178         "x": 1497.599998474121,
179         "y": 697.5381102561951,
180         "z": "705ac336.10121c",
181         "wires": [
182             [
183                 "dff64318.2bcdb"
184             ]
185         ]
186     },
187     {
188         "id": "19517c79.8ad8d4",
189         "type": "for",
190         "name": "for i : INPUT vnf-networks",
191         "xml": "<for index=\"i\" start=\"0\" end=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks_length`\">",
192         "comments": "",
193         "outputs": 1,
194         "x": 582.3432960510254,
195         "y": 554.5862808227539,
196         "z": "705ac336.10121c",
197         "wires": [
198             [
199                 "bdc05789.7d3538"
200             ]
201         ]
202     },
203     {
204         "id": "7b1b2acb.ddf7c4",
205         "type": "save",
206         "name": "get AnAI - l3-network by name",
207         "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].network-name\" \n\tpfx=\"tmp.AnAI.l3network\">\n\n",
208         "comments": "",
209         "outputs": 1,
210         "x": 1779.8889617919922,
211         "y": 780.4167194366455,
212         "z": "705ac336.10121c",
213         "wires": [
214             [
215                 "2e045a8b.0e6f96",
216                 "8351920.613ce7"
217             ]
218         ]
219     },
220     {
221         "id": "2e045a8b.0e6f96",
222         "type": "success",
223         "name": "not found",
224         "xml": "<outcome value='not-found'>\n",
225         "comments": "",
226         "outputs": 1,
227         "x": 2001.1389617919922,
228         "y": 780.6667804718018,
229         "z": "705ac336.10121c",
230         "wires": [
231             [
232                 "dff64318.2bcdb"
233             ]
234         ]
235     },
236     {
237         "id": "7b66b18d.2f326",
238         "type": "set",
239         "name": "initialize tmp.usePreload = 1 and tmp.AAI.l3network",
240         "xml": "<set>\n<parameter name='tmp.usePreload' value='1' />\n<parameter name='tmp.AnAI.l3network.' value='' />\n",
241         "comments": "",
242         "outputs": 1,
243         "x": 513.8369369506836,
244         "y": 468.31164169311523,
245         "z": "705ac336.10121c",
246         "wires": [
247             []
248         ]
249     },
250     {
251         "id": "43e60079.dc59f",
252         "type": "block",
253         "name": "block: atomic",
254         "xml": "<block atomic=\"true\">\n",
255         "atomic": "false",
256         "comments": "",
257         "outputs": 1,
258         "x": 173.7711410522461,
259         "y": 468.09618759155273,
260         "z": "705ac336.10121c",
261         "wires": [
262             [
263                 "7b66b18d.2f326",
264                 "47109692.f76808",
265                 "30733a26.180766"
266             ]
267         ]
268     },
269     {
270         "id": "469e6730.fe15a8",
271         "type": "for",
272         "name": "for j : PRELOAD vnf-networks",
273         "xml": "<for index=\"j\" start=\"0\" end=\"`$vnf-instance-preload-data.vnf-instance-topology-information.vnf-assignments.vnf-networks_length`\">",
274         "comments": "",
275         "outputs": 1,
276         "x": 307.99608612060547,
277         "y": 381.35712814331055,
278         "z": "705ac336.10121c",
279         "wires": [
280             [
281                 "43e60079.dc59f"
282             ]
283         ]
284     },
285     {
286         "id": "47109692.f76808",
287         "type": "block",
288         "name": "block: atomic",
289         "xml": "<block atomic=\"true\">\n",
290         "atomic": "false",
291         "comments": "",
292         "outputs": 1,
293         "x": 349.7234115600586,
294         "y": 554.5161724090576,
295         "z": "705ac336.10121c",
296         "wires": [
297             [
298                 "19517c79.8ad8d4",
299                 "7c927d87.7b5564"
300             ]
301         ]
302     },
303     {
304         "id": "bdc05789.7d3538",
305         "type": "switchNode",
306         "name": "switch : PRELOAD network-role = INPUT",
307         "xml": "<switch test=\"`$vnf-instance-preload-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$j].network-role == $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].network-role`\">",
308         "comments": "",
309         "outputs": 1,
310         "x": 891.7234764099121,
311         "y": 553.879843711853,
312         "z": "705ac336.10121c",
313         "wires": [
314             [
315                 "c183486b.a5ef78"
316             ]
317         ]
318     },
319     {
320         "id": "c183486b.a5ef78",
321         "type": "outcomeTrue",
322         "name": "true",
323         "xml": "<outcome value='true'>\n",
324         "comments": "",
325         "outputs": 1,
326         "x": 1142.5189018249512,
327         "y": 554.1754860877991,
328         "z": "705ac336.10121c",
329         "wires": [
330             [
331                 "54abbc42.575c24"
332             ]
333         ]
334     },
335     {
336         "id": "54abbc42.575c24",
337         "type": "block",
338         "name": "block: atomic",
339         "xml": "<block atomic=\"true\">\n",
340         "atomic": "false",
341         "comments": "",
342         "outputs": 1,
343         "x": 500.80447006225586,
344         "y": 654.9546413421631,
345         "z": "705ac336.10121c",
346         "wires": [
347             [
348                 "5c01cf7e.f97ba",
349                 "210d0a9b.6fcbb6",
350                 "90f51ab8.31eb88"
351             ]
352         ]
353     },
354     {
355         "id": "210d0a9b.6fcbb6",
356         "type": "set",
357         "name": "set tmp.usePreload = 0",
358         "xml": "<set>\n<parameter name='tmp.usePreload' value='0' />\n",
359         "comments": "",
360         "outputs": 1,
361         "x": 745.1681022644043,
362         "y": 654.8637704849243,
363         "z": "705ac336.10121c",
364         "wires": [
365             []
366         ]
367     },
368     {
369         "id": "4bb47302.d72c4c",
370         "type": "outcomeTrue",
371         "name": "true",
372         "xml": "<outcome value='true'>\n",
373         "comments": "",
374         "outputs": 1,
375         "x": 1568.9448928833008,
376         "y": 741.3809204101562,
377         "z": "705ac336.10121c",
378         "wires": [
379             [
380                 "dff64318.2bcdb"
381             ]
382         ]
383     },
384     {
385         "id": "90f51ab8.31eb88",
386         "type": "switchNode",
387         "name": "switch : tmp.usePreload= 0",
388         "xml": "<switch test=\"`$tmp.usePreload == 0`\">",
389         "comments": "",
390         "outputs": 1,
391         "x": 753.667610168457,
392         "y": 972.085075378418,
393         "z": "705ac336.10121c",
394         "wires": [
395             [
396                 "d1d0fb28.49edd8"
397             ]
398         ]
399     },
400     {
401         "id": "d1d0fb28.49edd8",
402         "type": "outcomeTrue",
403         "name": "true",
404         "xml": "<outcome value='true'>\n",
405         "comments": "",
406         "outputs": 1,
407         "x": 960.6674880981445,
408         "y": 972.0851974487305,
409         "z": "705ac336.10121c",
410         "wires": [
411             [
412                 "5b8f0229.494b7c"
413             ]
414         ]
415     },
416     {
417         "id": "95ee9ed6.51075",
418         "type": "for",
419         "name": "for k : SERVICE_DATA vnf-networks",
420         "xml": "<for index=\"k\" start=\"0\" end=\"`$vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks_length`\">",
421         "comments": "",
422         "outputs": 1,
423         "x": 834.2347030639648,
424         "y": 1170.0867052078247,
425         "z": "705ac336.10121c",
426         "wires": [
427             [
428                 "5e01584.eae73a8"
429             ]
430         ]
431     },
432     {
433         "id": "5e01584.eae73a8",
434         "type": "switchNode",
435         "name": "switch: SERVICE-DATA network-role = INPUT",
436         "xml": "<switch test=\"`$vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].network-role == $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].network-role`\">",
437         "comments": "",
438         "outputs": 1,
439         "x": 1195.198112487793,
440         "y": 1169.1859922409058,
441         "z": "705ac336.10121c",
442         "wires": [
443             [
444                 "c658b72e.64fd88"
445             ]
446         ]
447     },
448     {
449         "id": "c658b72e.64fd88",
450         "type": "outcomeTrue",
451         "name": "true",
452         "xml": "<outcome value='true'>\n",
453         "comments": "",
454         "outputs": 1,
455         "x": 1474.743522644043,
456         "y": 1169.2316465377808,
457         "z": "705ac336.10121c",
458         "wires": [
459             [
460                 "55115b00.d54c94"
461             ]
462         ]
463     },
464     {
465         "id": "7c927d87.7b5564",
466         "type": "switchNode",
467         "name": "switch: tmp.usePreload= 1",
468         "xml": "<switch test=\"`$tmp.usePreload == 1`\">",
469         "comments": "",
470         "outputs": 1,
471         "x": 577.5398750305176,
472         "y": 1811.4806985855103,
473         "z": "705ac336.10121c",
474         "wires": [
475             [
476                 "cb0441d2.c823a"
477             ]
478         ]
479     },
480     {
481         "id": "cb0441d2.c823a",
482         "type": "other",
483         "name": "true",
484         "xml": "<outcome value='true'>",
485         "comments": "",
486         "outputs": 1,
487         "x": 785.5714530944824,
488         "y": 1811.220950126648,
489         "z": "705ac336.10121c",
490         "wires": [
491             [
492                 "7eabce1e.f927a"
493             ]
494         ]
495     },
496     {
497         "id": "dff64318.2bcdb",
498         "type": "set",
499         "name": "set tmp.usePreload = 1",
500         "xml": "<set>\n<parameter name='tmp.usePreload' value='1' />\n",
501         "comments": "",
502         "outputs": 1,
503         "x": 1763.5529861450195,
504         "y": 882.1399440765381,
505         "z": "705ac336.10121c",
506         "wires": [
507             []
508         ]
509     },
510     {
511         "id": "e2672de2.41ec7",
512         "type": "returnFailure",
513         "name": "return failure",
514         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying AnAI for l3-network with network-id = ' + $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].network-id`\"  />\n",
515         "comments": "",
516         "x": 1648.5237986246743,
517         "y": 656.6626608106826,
518         "z": "705ac336.10121c",
519         "wires": []
520     },
521     {
522         "id": "51e53ee8.48261",
523         "type": "failure",
524         "name": "failure",
525         "xml": "<outcome value='failure'>\n",
526         "comments": "",
527         "outputs": 1,
528         "x": 1491.3015764024522,
529         "y": 656.6626608106826,
530         "z": "705ac336.10121c",
531         "wires": [
532             [
533                 "e2672de2.41ec7"
534             ]
535         ]
536     },
537     {
538         "id": "e8382ace.043858",
539         "type": "returnFailure",
540         "name": "return failure",
541         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying AnAI for l3-network with network-name = ' + $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].network-name`\"  />\n",
542         "comments": "",
543         "x": 2149.634719848633,
544         "y": 738.8848762512207,
545         "z": "705ac336.10121c",
546         "wires": []
547     },
548     {
549         "id": "8351920.613ce7",
550         "type": "failure",
551         "name": "failure",
552         "xml": "<outcome value='failure'>\n",
553         "comments": "",
554         "outputs": 1,
555         "x": 1992.4124976264102,
556         "y": 738.8848762512207,
557         "z": "705ac336.10121c",
558         "wires": [
559             [
560                 "e8382ace.043858"
561             ]
562         ]
563     },
564     {
565         "id": "96febb32.ff1698",
566         "type": "set",
567         "name": "set: SERVICE_DATA vnf-networks = AAI DATA",
568         "xml": "<set>\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].network-name\" value=\"`$tmp.AnAI.l3network.network-name`\" />\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].neutron-id\" value=\"`$tmp.AnAI.l3network.neutron-network-id`\" />\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].contrail-network-fqdn\" value=\"`$tmp.AnAI.l3network.contrail-network-fqdn`\" />\n",
569         "comments": "",
570         "outputs": 1,
571         "x": 1953.2167358398438,
572         "y": 1168.1661186218262,
573         "z": "705ac336.10121c",
574         "wires": [
575             []
576         ]
577     },
578     {
579         "id": "b430a14b.edbac",
580         "type": "success",
581         "name": "not found",
582         "xml": "<outcome value='not-found'>\n",
583         "comments": "",
584         "outputs": 1,
585         "x": 1423.1784019470215,
586         "y": 1811.1015844345093,
587         "z": "705ac336.10121c",
588         "wires": [
589             [
590                 "5e981db0.af4e04"
591             ]
592         ]
593     },
594     {
595         "id": "bfa6a0be.7489",
596         "type": "set",
597         "name": "set: SERVICE_DATA vnf-networks = AAI DATA",
598         "xml": "<set>\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].network-name\" value=\"`$tmp.AnAI.l3network.network-name`\" />\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].neutron-id\" value=\"`$tmp.AnAI.l3network.neutron-network-id`\" />\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].contrail-network-fqdn\" value=\"`$tmp.AnAI.l3network.contrail-network-fqdn`\" />\n\n",
599         "comments": "",
600         "outputs": 1,
601         "x": 2097.6109352111816,
602         "y": 2083.8444538116455,
603         "z": "705ac336.10121c",
604         "wires": [
605             []
606         ]
607     },
608     {
609         "id": "ab894ac3.a9bab8",
610         "type": "save",
611         "name": "get AnAI - l3-network by name",
612         "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $vnf-instance-preload-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$j].network-name\" \n\tpfx=\"tmp.AnAI.l3network\">\n",
613         "comments": "",
614         "outputs": 1,
615         "x": 1200.0714225769043,
616         "y": 1811.3675241470337,
617         "z": "705ac336.10121c",
618         "wires": [
619             [
620                 "b430a14b.edbac",
621                 "c1f93466.7c2698",
622                 "fd1394ec.ad0d08"
623             ]
624         ]
625     },
626     {
627         "id": "7eabce1e.f927a",
628         "type": "block",
629         "name": "block: atomic",
630         "xml": "<block atomic=\"true\">\n",
631         "atomic": "false",
632         "comments": "",
633         "outputs": 1,
634         "x": 941.5829925537109,
635         "y": 1811.6664876937866,
636         "z": "705ac336.10121c",
637         "wires": [
638             [
639                 "ab894ac3.a9bab8",
640                 "74f2ba7a.8cc2c4",
641                 "1538dd04.c879b3"
642             ]
643         ]
644     },
645     {
646         "id": "eb0f970.2983468",
647         "type": "returnFailure",
648         "name": "return failure",
649         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying AnAI for l3-network with network-name = ' + $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$j].network-name`\"  />\n",
650         "comments": "",
651         "x": 1570.4642372131348,
652         "y": 1848.964162826538,
653         "z": "705ac336.10121c",
654         "wires": []
655     },
656     {
657         "id": "c1f93466.7c2698",
658         "type": "failure",
659         "name": "failure",
660         "xml": "<outcome value='failure'>\n",
661         "comments": "",
662         "outputs": 1,
663         "x": 1415.2420149909126,
664         "y": 1848.964162826538,
665         "z": "705ac336.10121c",
666         "wires": [
667             [
668                 "eb0f970.2983468"
669             ]
670         ]
671     },
672     {
673         "id": "5e981db0.af4e04",
674         "type": "returnFailure",
675         "name": "return failure",
676         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'PRELOAD network-name = ' + $vnf-instance-preload-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$j].network-name + ' not found in AnAI'`\"  />\n",
677         "comments": "",
678         "x": 1589.464267730713,
679         "y": 1810.9641876220703,
680         "z": "705ac336.10121c",
681         "wires": []
682     },
683     {
684         "id": "86c0733.b9d429",
685         "type": "switchNode",
686         "name": "switch ...PRELOAD vnf-networks[]",
687         "xml": "<switch test=\"`$vnf-instance-preload-data.vnf-instance-topology-information.vnf-assignments.vnf-networks_length`\">",
688         "comments": "",
689         "outputs": 1,
690         "x": 487.60713958740234,
691         "y": 325.6071472167969,
692         "z": "705ac336.10121c",
693         "wires": [
694             [
695                 "6be8fc2.6fa3c04"
696             ]
697         ]
698     },
699     {
700         "id": "6be8fc2.6fa3c04",
701         "type": "outcome",
702         "name": "NULL",
703         "xml": "<outcome value=''>",
704         "outputs": 1,
705         "x": 715.0516128540039,
706         "y": 325.1348571777344,
707         "z": "705ac336.10121c",
708         "wires": [
709             [
710                 "71d9fad7.21cca4"
711             ]
712         ]
713     },
714     {
715         "id": "71d9fad7.21cca4",
716         "type": "set",
717         "name": "set PRELOAD vnf-networks[] = 0",
718         "xml": "<set>\n<parameter name = \"vnf-instance-preload-data.vnf-instance-topology-information.vnf-assignments.vnf-networks_length\" value=\"0\" />\n",
719         "comments": "",
720         "outputs": 1,
721         "x": 936.6072218153213,
722         "y": 325.13487784067775,
723         "z": "705ac336.10121c",
724         "wires": [
725             []
726         ]
727     },
728     {
729         "id": "30733a26.180766",
730         "type": "switchNode",
731         "name": "switch ...INPUT vnf-networks[]",
732         "xml": "<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks_length`\">",
733         "comments": "",
734         "outputs": 1,
735         "x": 403.1071548461914,
736         "y": 509.3571252822876,
737         "z": "705ac336.10121c",
738         "wires": [
739             [
740                 "65ed996e.186c98"
741             ]
742         ]
743     },
744     {
745         "id": "65ed996e.186c98",
746         "type": "outcome",
747         "name": "NULL",
748         "xml": "<outcome value=''>",
749         "outputs": 1,
750         "x": 626.5516052246094,
751         "y": 509.13486099243164,
752         "z": "705ac336.10121c",
753         "wires": [
754             [
755                 "62ba63ce.b4775c"
756             ]
757         ]
758     },
759     {
760         "id": "62ba63ce.b4775c",
761         "type": "set",
762         "name": "set INPUT vnf-networks_length = 0",
763         "xml": "<set>\n<parameter name='vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks_length' value='0' />\n",
764         "comments": "",
765         "outputs": 1,
766         "x": 859.1072141859268,
767         "y": 509.134881655375,
768         "z": "705ac336.10121c",
769         "wires": [
770             []
771         ]
772     },
773     {
774         "id": "d7d2ccb7.b7852",
775         "type": "comment",
776         "name": "For each preload network, see if there is an override in input",
777         "info": "",
778         "comments": "",
779         "x": 777.218376159668,
780         "y": 417.57937240600586,
781         "z": "705ac336.10121c",
782         "wires": []
783     },
784     {
785         "id": "cb5c7a6.d166888",
786         "type": "switchNode",
787         "name": "switch: SERVICE-DATA network-role = PRELOAD",
788         "xml": "<switch test=\"`$vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].network-role == $vnf-instance-preload-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$j].network-role`\">",
789         "comments": "",
790         "outputs": 1,
791         "x": 1348.2142601013184,
792         "y": 2083.714325904846,
793         "z": "705ac336.10121c",
794         "wires": [
795             [
796                 "44615613.416bf8"
797             ]
798         ]
799     },
800     {
801         "id": "44615613.416bf8",
802         "type": "outcomeTrue",
803         "name": "true",
804         "xml": "<outcome value='true'>\n",
805         "comments": "",
806         "outputs": 1,
807         "x": 1632.6169509887695,
808         "y": 2083.5813541412354,
809         "z": "705ac336.10121c",
810         "wires": [
811             [
812                 "9eb668ef.2179a8"
813             ]
814         ]
815     },
816     {
817         "id": "74f2ba7a.8cc2c4",
818         "type": "for",
819         "name": "for k : SERVICE_DATA vnf-networks",
820         "xml": "<for index=\"k\" start=\"0\" end=\"`$vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks_length`\">",
821         "comments": "",
822         "outputs": 1,
823         "x": 1217.9643058776855,
824         "y": 2030.9642038345337,
825         "z": "705ac336.10121c",
826         "wires": [
827             [
828                 "cb5c7a6.d166888"
829             ]
830         ]
831     },
832     {
833         "id": "24c39fed.a3597",
834         "type": "comment",
835         "name": "CALLED BY vnf-instance-topology-assign AND vnf-instance-topology-changeassign",
836         "info": "",
837         "comments": "",
838         "x": 829.273796081543,
839         "y": 88.21825790405273,
840         "z": "705ac336.10121c",
841         "wires": []
842     },
843     {
844         "id": "62bcb573.1f631c",
845         "type": "set",
846         "name": "set: service-data =+ input",
847         "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.\" value=\"vnf-instance-topology-operation-input.\" />",
848         "comments": "",
849         "outputs": 1,
850         "x": 459.384916305542,
851         "y": 234.55158233642578,
852         "z": "705ac336.10121c",
853         "wires": [
854             []
855         ]
856     },
857     {
858         "id": "5927f9c6.e24288",
859         "type": "set",
860         "name": "set: service-data = preload-data",
861         "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.\" value=\"vnf-instance-preload-data.\" />",
862         "comments": "",
863         "outputs": 1,
864         "x": 479.28903007507324,
865         "y": 192.69806671142578,
866         "z": "705ac336.10121c",
867         "wires": [
868             []
869         ]
870     },
871     {
872         "id": "c6c3193c.d163d8",
873         "type": "returnSuccess",
874         "name": "return success",
875         "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
876         "comments": "",
877         "x": 416.6428451538086,
878         "y": 2581.464366912842,
879         "z": "705ac336.10121c",
880         "wires": []
881     },
882     {
883         "id": "c5892e4d.2c5e1",
884         "type": "switchNode",
885         "name": "switch: preload order-status = PendingAssignment",
886         "xml": "<switch test=\"`$vnf-instance-preload-data.oper-status.order-status == PendingAssignment`\">",
887         "comments": "",
888         "outputs": 1,
889         "x": 536.3849258422852,
890         "y": 146.10714626312256,
891         "z": "705ac336.10121c",
892         "wires": [
893             [
894                 "9e68561a.bf1958"
895             ]
896         ]
897     },
898     {
899         "id": "934076d8.86ea48",
900         "type": "returnFailure",
901         "name": "return failure",
902         "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid preload-data order status'/>",
903         "comments": "",
904         "x": 953.3241691589355,
905         "y": 145.80415630340576,
906         "z": "705ac336.10121c",
907         "wires": []
908     },
909     {
910         "id": "9e68561a.bf1958",
911         "type": "other",
912         "name": "false",
913         "xml": "<outcome value='false'>",
914         "comments": "",
915         "outputs": 1,
916         "x": 803.9910583496094,
917         "y": 145.80408191680908,
918         "z": "705ac336.10121c",
919         "wires": [
920             [
921                 "934076d8.86ea48"
922             ]
923         ]
924     },
925     {
926         "id": "675a0354.e31bbc",
927         "type": "set",
928         "name": "set: vnf-iinstance-d",
929         "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.vnf-instance-id\" value=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-instance-id`\"/>",
930         "comments": "",
931         "outputs": 1,
932         "x": 439.70642852783203,
933         "y": 279.04762077331543,
934         "z": "705ac336.10121c",
935         "wires": [
936             []
937         ]
938     },
939     {
940         "id": "2745e73.af9a018",
941         "type": "switchNode",
942         "name": "switch: tmp.AnAI.l3network.network-id == null",
943         "xml": "<switch test=\"`$tmp.AnAI.l3network.network-id == ''`\">",
944         "comments": "",
945         "outputs": 1,
946         "x": 1680.8571968078613,
947         "y": 1886.8571367263794,
948         "z": "705ac336.10121c",
949         "wires": [
950             [
951                 "e35dc16c.c2c63"
952             ]
953         ]
954     },
955     {
956         "id": "e35dc16c.c2c63",
957         "type": "other",
958         "name": "true",
959         "xml": "<outcome value='true'>",
960         "comments": "",
961         "outputs": 1,
962         "x": 1943.1071968078613,
963         "y": 1886.8571367263794,
964         "z": "705ac336.10121c",
965         "wires": [
966             [
967                 "6722f4ec.b60c2c"
968             ]
969         ]
970     },
971     {
972         "id": "6722f4ec.b60c2c",
973         "type": "returnFailure",
974         "name": "return failure",
975         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'An error occurred while querying l3-network with network-name = ' + $vnf-instance-preload-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$j].network-name + ' , it is likely that there are more than one l3-newtork object with the same network-name in AnAI.'`\"  />\n",
976         "comments": "",
977         "x": 2097.1071968078613,
978         "y": 1887.3571367263794,
979         "z": "705ac336.10121c",
980         "wires": []
981     },
982     {
983         "id": "fd1394ec.ad0d08",
984         "type": "success",
985         "name": "success",
986         "xml": "<outcome value='success'>\n",
987         "comments": "",
988         "outputs": 1,
989         "x": 1420.8571815490723,
990         "y": 1886.607117652893,
991         "z": "705ac336.10121c",
992         "wires": [
993             [
994                 "2745e73.af9a018"
995             ]
996         ]
997     },
998     {
999         "id": "1538dd04.c879b3",
1000         "type": "switchNode",
1001         "name": "switch: vnf-instance-service-data...vnf-networks_length",
1002         "xml": "<switch test=\"`$vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks_length`\">",
1003         "comments": "",
1004         "outputs": 1,
1005         "x": 1273.5357780456543,
1006         "y": 1981.7857370376587,
1007         "z": "705ac336.10121c",
1008         "wires": [
1009             [
1010                 "acdd927c.05908"
1011             ]
1012         ]
1013     },
1014     {
1015         "id": "acdd927c.05908",
1016         "type": "other",
1017         "name": "NULL",
1018         "xml": "<outcome value=''>\n",
1019         "comments": "",
1020         "outputs": 1,
1021         "x": 1561.0357704162598,
1022         "y": 1981.7857370376587,
1023         "z": "705ac336.10121c",
1024         "wires": [
1025             [
1026                 "15d7e90e.01ef77"
1027             ]
1028         ]
1029     },
1030     {
1031         "id": "15d7e90e.01ef77",
1032         "type": "switchNode",
1033         "name": "set: vnf-instance-service-data...vnf-networks_length = 0",
1034         "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks_length\" value = \"0\" />",
1035         "comments": "",
1036         "outputs": 1,
1037         "x": 1859.7857704162598,
1038         "y": 1981.7857370376587,
1039         "z": "705ac336.10121c",
1040         "wires": [
1041             []
1042         ]
1043     },
1044     {
1045         "id": "2dbaf99b.74fa26",
1046         "type": "switchNode",
1047         "name": "switch: SERVICE-DATA sbunet-id == NULL",
1048         "xml": "<switch test=\"`$vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].subnet-id == ''`\">",
1049         "comments": "",
1050         "outputs": 1,
1051         "x": 2083.571506500244,
1052         "y": 2135.749973297119,
1053         "z": "705ac336.10121c",
1054         "wires": [
1055             [
1056                 "72edf3ef.16637c"
1057             ]
1058         ]
1059     },
1060     {
1061         "id": "9eb668ef.2179a8",
1062         "type": "block",
1063         "name": "block",
1064         "xml": "<block>",
1065         "atomic": "true",
1066         "comments": "",
1067         "outputs": 1,
1068         "x": 1790.5714988708496,
1069         "y": 2083.749973297119,
1070         "z": "705ac336.10121c",
1071         "wires": [
1072             [
1073                 "bfa6a0be.7489",
1074                 "2dbaf99b.74fa26",
1075                 "ceefaa2e.4bf518"
1076             ]
1077         ]
1078     },
1079     {
1080         "id": "72edf3ef.16637c",
1081         "type": "outcomeTrue",
1082         "name": "true",
1083         "xml": "<outcome value='true'>\n",
1084         "comments": "",
1085         "outputs": 1,
1086         "x": 2339.8214721679688,
1087         "y": 2135.499952316284,
1088         "z": "705ac336.10121c",
1089         "wires": [
1090             [
1091                 "bfc8e1d2.0b5d2"
1092             ]
1093         ]
1094     },
1095     {
1096         "id": "bfc8e1d2.0b5d2",
1097         "type": "switchNode",
1098         "name": "switch: SERVICE-DATA sbunet-name != NULL",
1099         "xml": "<switch test=\"`$vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].subnet-name != ''`\">",
1100         "comments": "",
1101         "outputs": 1,
1102         "x": 2166.1666564941406,
1103         "y": 2195.6547813415527,
1104         "z": "705ac336.10121c",
1105         "wires": [
1106             [
1107                 "fd2de09f.959e6"
1108             ]
1109         ]
1110     },
1111     {
1112         "id": "fd2de09f.959e6",
1113         "type": "outcomeTrue",
1114         "name": "true",
1115         "xml": "<outcome value='true'>\n",
1116         "comments": "",
1117         "outputs": 1,
1118         "x": 2431.4166221618652,
1119         "y": 2195.404760360718,
1120         "z": "705ac336.10121c",
1121         "wires": [
1122             [
1123                 "2cb0803c.c7bc8"
1124             ]
1125         ]
1126     },
1127     {
1128         "id": "4a5f9fe5.05752",
1129         "type": "set",
1130         "name": "set: service-data = AnAI - subnet-id ",
1131         "xml": "<set>\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1132         "comments": "",
1133         "outputs": 1,
1134         "x": 3187.6786193847656,
1135         "y": 2318.523801803589,
1136         "z": "705ac336.10121c",
1137         "wires": [
1138             []
1139         ]
1140     },
1141     {
1142         "id": "2cb0803c.c7bc8",
1143         "type": "switchNode",
1144         "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1145         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1146         "comments": "",
1147         "outputs": 1,
1148         "x": 2284.892852783203,
1149         "y": 2256.5952796936035,
1150         "z": "705ac336.10121c",
1151         "wires": [
1152             [
1153                 "d4ebe86e.15b258"
1154             ]
1155         ]
1156     },
1157     {
1158         "id": "4954faeb.6cfbf4",
1159         "type": "for",
1160         "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1161         "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1162         "comments": "",
1163         "outputs": 1,
1164         "x": 2322.6070709228516,
1165         "y": 2319.9522819519043,
1166         "z": "705ac336.10121c",
1167         "wires": [
1168             [
1169                 "90d30b64.06a4e8"
1170             ]
1171         ]
1172     },
1173     {
1174         "id": "90d30b64.06a4e8",
1175         "type": "switchNode",
1176         "name": "switch: AnAI == service-data - subnet-name",
1177         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].subnet-name`\">",
1178         "comments": "",
1179         "outputs": 1,
1180         "x": 2695.3570251464844,
1181         "y": 2319.202365875244,
1182         "z": "705ac336.10121c",
1183         "wires": [
1184             [
1185                 "2e058631.959aea"
1186             ]
1187         ]
1188     },
1189     {
1190         "id": "2e058631.959aea",
1191         "type": "outcomeTrue",
1192         "name": "true",
1193         "xml": "<outcome value='true'>\n",
1194         "comments": "",
1195         "outputs": 1,
1196         "x": 2953.7597160339355,
1197         "y": 2319.0693941116333,
1198         "z": "705ac336.10121c",
1199         "wires": [
1200             [
1201                 "4a5f9fe5.05752"
1202             ]
1203         ]
1204     },
1205     {
1206         "id": "d4ebe86e.15b258",
1207         "type": "outcomeTrue",
1208         "name": "true",
1209         "xml": "<outcome value='true'>\n",
1210         "comments": "",
1211         "outputs": 1,
1212         "x": 2570.2143363952637,
1213         "y": 2256.1786704063416,
1214         "z": "705ac336.10121c",
1215         "wires": [
1216             [
1217                 "4954faeb.6cfbf4"
1218             ]
1219         ]
1220     },
1221     {
1222         "id": "59ecf05b.2d584",
1223         "type": "switchNode",
1224         "name": "switch: SERVICE-DATA ipv6-sbunet-name != NULL",
1225         "xml": "<switch test=\"`$vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-name != ''`\">",
1226         "comments": "",
1227         "outputs": 1,
1228         "x": 2179.9881286621094,
1229         "y": 2455.4762382507324,
1230         "z": "705ac336.10121c",
1231         "wires": [
1232             [
1233                 "11682b08.bfbad5"
1234             ]
1235         ]
1236     },
1237     {
1238         "id": "11682b08.bfbad5",
1239         "type": "outcomeTrue",
1240         "name": "true",
1241         "xml": "<outcome value='true'>\n",
1242         "comments": "",
1243         "outputs": 1,
1244         "x": 2465.238094329834,
1245         "y": 2455.2262172698975,
1246         "z": "705ac336.10121c",
1247         "wires": [
1248             [
1249                 "3e72b6d2.9b778a"
1250             ]
1251         ]
1252     },
1253     {
1254         "id": "c982fd9a.aac94",
1255         "type": "set",
1256         "name": "set: service-data = AnAI - ipv6-subnet-id ",
1257         "xml": "<set>\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1258         "comments": "",
1259         "outputs": 1,
1260         "x": 3211.499984741211,
1261         "y": 2570.4882202148438,
1262         "z": "705ac336.10121c",
1263         "wires": [
1264             []
1265         ]
1266     },
1267     {
1268         "id": "3e72b6d2.9b778a",
1269         "type": "switchNode",
1270         "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1271         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1272         "comments": "",
1273         "outputs": 1,
1274         "x": 2277.285858154297,
1275         "y": 2514.2738094329834,
1276         "z": "705ac336.10121c",
1277         "wires": [
1278             [
1279                 "3cfbefe2.89e85"
1280             ]
1281         ]
1282     },
1283     {
1284         "id": "30ffaee.a267252",
1285         "type": "for",
1286         "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1287         "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1288         "comments": "",
1289         "outputs": 1,
1290         "x": 2346.428436279297,
1291         "y": 2571.916700363159,
1292         "z": "705ac336.10121c",
1293         "wires": [
1294             [
1295                 "4c7bf8f0.8c87f8"
1296             ]
1297         ]
1298     },
1299     {
1300         "id": "4c7bf8f0.8c87f8",
1301         "type": "switchNode",
1302         "name": "switch: AnAI == service-data - ipv6-subnet-name",
1303         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-name`\">",
1304         "comments": "",
1305         "outputs": 1,
1306         "x": 2719.1783905029297,
1307         "y": 2571.166784286499,
1308         "z": "705ac336.10121c",
1309         "wires": [
1310             [
1311                 "9622186b.306c98"
1312             ]
1313         ]
1314     },
1315     {
1316         "id": "9622186b.306c98",
1317         "type": "outcomeTrue",
1318         "name": "true",
1319         "xml": "<outcome value='true'>\n",
1320         "comments": "",
1321         "outputs": 1,
1322         "x": 2977.581081390381,
1323         "y": 2571.033812522888,
1324         "z": "705ac336.10121c",
1325         "wires": [
1326             [
1327                 "c982fd9a.aac94"
1328             ]
1329         ]
1330     },
1331     {
1332         "id": "3cfbefe2.89e85",
1333         "type": "outcomeTrue",
1334         "name": "true",
1335         "xml": "<outcome value='true'>\n",
1336         "comments": "",
1337         "outputs": 1,
1338         "x": 2562.6073417663574,
1339         "y": 2513.8572001457214,
1340         "z": "705ac336.10121c",
1341         "wires": [
1342             [
1343                 "30ffaee.a267252"
1344             ]
1345         ]
1346     },
1347     {
1348         "id": "12a1ac30.b20924",
1349         "type": "comment",
1350         "name": "Use INPUT vnf-networks to override preload",
1351         "info": "",
1352         "comments": "",
1353         "x": 919.8214416503906,
1354         "y": 921.9643211364746,
1355         "z": "705ac336.10121c",
1356         "wires": []
1357     },
1358     {
1359         "id": "55115b00.d54c94",
1360         "type": "block",
1361         "name": "block",
1362         "xml": "<block>\n",
1363         "atomic": "false",
1364         "comments": "",
1365         "outputs": 1,
1366         "x": 1635.1701431274414,
1367         "y": 1169.0481853485107,
1368         "z": "705ac336.10121c",
1369         "wires": [
1370             [
1371                 "3532fb1.4b9fd04",
1372                 "f20e0105.06607",
1373                 "96febb32.ff1698"
1374             ]
1375         ]
1376     },
1377     {
1378         "id": "ba99d311.ff42e",
1379         "type": "comment",
1380         "name": "Use INPUT vnf-networks to override preload",
1381         "info": "",
1382         "comments": "",
1383         "x": 940.5271911621094,
1384         "y": 1060.5124225616455,
1385         "z": "705ac336.10121c",
1386         "wires": []
1387     },
1388     {
1389         "id": "7e2271f2.8e943",
1390         "type": "switchNode",
1391         "name": "switch: INPUT sbunet-name != NULL",
1392         "xml": "<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].subnet-name != ''`\">",
1393         "comments": "",
1394         "outputs": 1,
1395         "x": 2418.146469116211,
1396         "y": 1276.6551208496094,
1397         "z": "705ac336.10121c",
1398         "wires": [
1399             [
1400                 "bce7ec0c.26ab4"
1401             ]
1402         ]
1403     },
1404     {
1405         "id": "bce7ec0c.26ab4",
1406         "type": "outcomeTrue",
1407         "name": "true",
1408         "xml": "<outcome value='true'>\n",
1409         "comments": "",
1410         "outputs": 1,
1411         "x": 2655.3964347839355,
1412         "y": 1276.4050998687744,
1413         "z": "705ac336.10121c",
1414         "wires": [
1415             [
1416                 "5ecde9ff.9bcd68"
1417             ]
1418         ]
1419     },
1420     {
1421         "id": "1b75f440.6ce07c",
1422         "type": "set",
1423         "name": "set: service-data = AnAI - subnet-id ",
1424         "xml": "<set>\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1425         "comments": "",
1426         "outputs": 1,
1427         "x": 3394.658447265625,
1428         "y": 1389.952838897705,
1429         "z": "705ac336.10121c",
1430         "wires": [
1431             []
1432         ]
1433     },
1434     {
1435         "id": "5ecde9ff.9bcd68",
1436         "type": "switchNode",
1437         "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1438         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1439         "comments": "",
1440         "outputs": 1,
1441         "x": 2521.158432006836,
1442         "y": 1326.9527263641357,
1443         "z": "705ac336.10121c",
1444         "wires": [
1445             [
1446                 "c5624ea.4db5bb"
1447             ]
1448         ]
1449     },
1450     {
1451         "id": "94a26b5d.774068",
1452         "type": "for",
1453         "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1454         "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1455         "comments": "",
1456         "outputs": 1,
1457         "x": 2529.586898803711,
1458         "y": 1391.3813190460205,
1459         "z": "705ac336.10121c",
1460         "wires": [
1461             [
1462                 "2d6ec25.ba7e33e"
1463             ]
1464         ]
1465     },
1466     {
1467         "id": "2d6ec25.ba7e33e",
1468         "type": "switchNode",
1469         "name": "switch: AnAI == INPUT - subnet-name",
1470         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].subnet-name`\">",
1471         "comments": "",
1472         "outputs": 1,
1473         "x": 2902.3368530273438,
1474         "y": 1390.6314029693604,
1475         "z": "705ac336.10121c",
1476         "wires": [
1477             [
1478                 "81fef1e6.a152e"
1479             ]
1480         ]
1481     },
1482     {
1483         "id": "81fef1e6.a152e",
1484         "type": "outcomeTrue",
1485         "name": "true",
1486         "xml": "<outcome value='true'>\n",
1487         "comments": "",
1488         "outputs": 1,
1489         "x": 3160.739543914795,
1490         "y": 1390.4984312057495,
1491         "z": "705ac336.10121c",
1492         "wires": [
1493             [
1494                 "1b75f440.6ce07c"
1495             ]
1496         ]
1497     },
1498     {
1499         "id": "c5624ea.4db5bb",
1500         "type": "outcomeTrue",
1501         "name": "true",
1502         "xml": "<outcome value='true'>\n",
1503         "comments": "",
1504         "outputs": 1,
1505         "x": 2806.4799156188965,
1506         "y": 1326.5361170768738,
1507         "z": "705ac336.10121c",
1508         "wires": [
1509             [
1510                 "94a26b5d.774068"
1511             ]
1512         ]
1513     },
1514     {
1515         "id": "f20e0105.06607",
1516         "type": "switchNode",
1517         "name": "switch: INPUT sbunet-id != NULL",
1518         "xml": "<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].subnet-id != ''`\">",
1519         "comments": "",
1520         "outputs": 1,
1521         "x": 1911.7179145812988,
1522         "y": 1232.8933010101318,
1523         "z": "705ac336.10121c",
1524         "wires": [
1525             [
1526                 "d4afa68e.bfc558",
1527                 "98804ce8.a13a6"
1528             ]
1529         ]
1530     },
1531     {
1532         "id": "abd5ea69.b13cb8",
1533         "type": "set",
1534         "name": "set: data-data = INPUT - subnet-id ",
1535         "xml": "<set>\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].subnet-id`\" />",
1536         "comments": "",
1537         "outputs": 1,
1538         "x": 2409.9679107666016,
1539         "y": 1233.1433029174805,
1540         "z": "705ac336.10121c",
1541         "wires": [
1542             []
1543         ]
1544     },
1545     {
1546         "id": "d4afa68e.bfc558",
1547         "type": "outcomeTrue",
1548         "name": "true",
1549         "xml": "<outcome value='true'>\n",
1550         "comments": "",
1551         "outputs": 1,
1552         "x": 2167.9678802490234,
1553         "y": 1232.6432800292969,
1554         "z": "705ac336.10121c",
1555         "wires": [
1556             [
1557                 "abd5ea69.b13cb8"
1558             ]
1559         ]
1560     },
1561     {
1562         "id": "98804ce8.a13a6",
1563         "type": "outcomeFalse",
1564         "name": "false",
1565         "xml": "<outcome value='false'>\n",
1566         "comments": "",
1567         "outputs": 1,
1568         "x": 2169.2179222106934,
1569         "y": 1276.6433010101318,
1570         "z": "705ac336.10121c",
1571         "wires": [
1572             [
1573                 "7e2271f2.8e943"
1574             ]
1575         ]
1576     },
1577     {
1578         "id": "1d02e4c9.16f89b",
1579         "type": "switchNode",
1580         "name": "switch: INPUT ipv6-sbunet-name != NULL",
1581         "xml": "<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].ipv6-subnet-name != ''`\">",
1582         "comments": "",
1583         "outputs": 1,
1584         "x": 2426.420120239258,
1585         "y": 1504.798168182373,
1586         "z": "705ac336.10121c",
1587         "wires": [
1588             [
1589                 "560491e4.841a3"
1590             ]
1591         ]
1592     },
1593     {
1594         "id": "560491e4.841a3",
1595         "type": "outcomeTrue",
1596         "name": "true",
1597         "xml": "<outcome value='true'>\n",
1598         "comments": "",
1599         "outputs": 1,
1600         "x": 2673.6700859069824,
1601         "y": 1504.548147201538,
1602         "z": "705ac336.10121c",
1603         "wires": [
1604             [
1605                 "ad4e972e.25b658"
1606             ]
1607         ]
1608     },
1609     {
1610         "id": "dfb01c55.64a29",
1611         "type": "set",
1612         "name": "set: service-data = AnAI - ipv6-subnet-id ",
1613         "xml": "<set>\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1614         "comments": "",
1615         "outputs": 1,
1616         "x": 3402.932098388672,
1617         "y": 1618.0958862304688,
1618         "z": "705ac336.10121c",
1619         "wires": [
1620             []
1621         ]
1622     },
1623     {
1624         "id": "ad4e972e.25b658",
1625         "type": "switchNode",
1626         "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1627         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1628         "comments": "",
1629         "outputs": 1,
1630         "x": 2529.432083129883,
1631         "y": 1555.0957736968994,
1632         "z": "705ac336.10121c",
1633         "wires": [
1634             [
1635                 "c4bb2d17.a6dd2"
1636             ]
1637         ]
1638     },
1639     {
1640         "id": "b53303f1.98bac",
1641         "type": "for",
1642         "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1643         "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1644         "comments": "",
1645         "outputs": 1,
1646         "x": 2537.860549926758,
1647         "y": 1619.5243663787842,
1648         "z": "705ac336.10121c",
1649         "wires": [
1650             [
1651                 "8b2e7716.5aaf38"
1652             ]
1653         ]
1654     },
1655     {
1656         "id": "8b2e7716.5aaf38",
1657         "type": "switchNode",
1658         "name": "switch: AnAI == INPUT - ipv6-subnet-name",
1659         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].ipv6-subnet-name`\">",
1660         "comments": "",
1661         "outputs": 1,
1662         "x": 2910.6105041503906,
1663         "y": 1618.774450302124,
1664         "z": "705ac336.10121c",
1665         "wires": [
1666             [
1667                 "e8ec1e1f.57f23"
1668             ]
1669         ]
1670     },
1671     {
1672         "id": "e8ec1e1f.57f23",
1673         "type": "outcomeTrue",
1674         "name": "true",
1675         "xml": "<outcome value='true'>\n",
1676         "comments": "",
1677         "outputs": 1,
1678         "x": 3169.013195037842,
1679         "y": 1618.6414785385132,
1680         "z": "705ac336.10121c",
1681         "wires": [
1682             [
1683                 "dfb01c55.64a29"
1684             ]
1685         ]
1686     },
1687     {
1688         "id": "c4bb2d17.a6dd2",
1689         "type": "outcomeTrue",
1690         "name": "true",
1691         "xml": "<outcome value='true'>\n",
1692         "comments": "",
1693         "outputs": 1,
1694         "x": 2814.7535667419434,
1695         "y": 1554.6791644096375,
1696         "z": "705ac336.10121c",
1697         "wires": [
1698             [
1699                 "b53303f1.98bac"
1700             ]
1701         ]
1702     },
1703     {
1704         "id": "3532fb1.4b9fd04",
1705         "type": "switchNode",
1706         "name": "switch: INPUT ipv6-sbunet-id != NULL",
1707         "xml": "<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].ipv6-subnet-id != ''`\">",
1708         "comments": "",
1709         "outputs": 1,
1710         "x": 1919.9915657043457,
1711         "y": 1461.0363483428955,
1712         "z": "705ac336.10121c",
1713         "wires": [
1714             [
1715                 "843a8b19.b1c348",
1716                 "8591ce30.50334"
1717             ]
1718         ]
1719     },
1720     {
1721         "id": "f7ba6e82.4320e",
1722         "type": "set",
1723         "name": "set: service-data = INPUT - ipv6-subnet-id ",
1724         "xml": "<set>\n<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-networks[$i].ipv6-subnet-id`\" />",
1725         "comments": "",
1726         "outputs": 1,
1727         "x": 2427.2415618896484,
1728         "y": 1461.2863502502441,
1729         "z": "705ac336.10121c",
1730         "wires": [
1731             []
1732         ]
1733     },
1734     {
1735         "id": "843a8b19.b1c348",
1736         "type": "outcomeTrue",
1737         "name": "true",
1738         "xml": "<outcome value='true'>\n",
1739         "comments": "",
1740         "outputs": 1,
1741         "x": 2176.2415313720703,
1742         "y": 1460.7863273620605,
1743         "z": "705ac336.10121c",
1744         "wires": [
1745             [
1746                 "f7ba6e82.4320e"
1747             ]
1748         ]
1749     },
1750     {
1751         "id": "8591ce30.50334",
1752         "type": "outcomeFalse",
1753         "name": "false",
1754         "xml": "<outcome value='false'>\n",
1755         "comments": "",
1756         "outputs": 1,
1757         "x": 2177.4915733337402,
1758         "y": 1504.7863483428955,
1759         "z": "705ac336.10121c",
1760         "wires": [
1761             [
1762                 "1d02e4c9.16f89b"
1763             ]
1764         ]
1765     },
1766     {
1767         "id": "10ab9be3.5754a4",
1768         "type": "comment",
1769         "name": "Use Preload Data",
1770         "info": "",
1771         "comments": "",
1772         "x": 608.4915390014648,
1773         "y": 1743.5838871002197,
1774         "z": "705ac336.10121c",
1775         "wires": []
1776     },
1777     {
1778         "id": "5b8f0229.494b7c",
1779         "type": "block",
1780         "name": "block",
1781         "xml": "<block>\n",
1782         "atomic": "false",
1783         "comments": "",
1784         "outputs": 1,
1785         "x": 576.0629501342773,
1786         "y": 1066.4767723083496,
1787         "z": "705ac336.10121c",
1788         "wires": [
1789             [
1790                 "c5e10bb0.819f28",
1791                 "95ee9ed6.51075"
1792             ]
1793         ]
1794     },
1795     {
1796         "id": "c5e10bb0.819f28",
1797         "type": "switchNode",
1798         "name": "switch: vnf-instance-service-data...vnf-networks_length",
1799         "xml": "<switch test=\"`$vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks_length`\">",
1800         "comments": "",
1801         "outputs": 1,
1802         "x": 891.2500305175781,
1803         "y": 1120.535732269287,
1804         "z": "705ac336.10121c",
1805         "wires": [
1806             [
1807                 "6761e206.68fe2c"
1808             ]
1809         ]
1810     },
1811     {
1812         "id": "6761e206.68fe2c",
1813         "type": "other",
1814         "name": "NULL",
1815         "xml": "<outcome value=''>\n",
1816         "comments": "",
1817         "outputs": 1,
1818         "x": 1178.7500228881836,
1819         "y": 1120.535732269287,
1820         "z": "705ac336.10121c",
1821         "wires": [
1822             [
1823                 "380d182.b48fce8"
1824             ]
1825         ]
1826     },
1827     {
1828         "id": "380d182.b48fce8",
1829         "type": "switchNode",
1830         "name": "set: vnf-instance-service-data...vnf-networks_length = 0",
1831         "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks_length\" value = \"0\" />",
1832         "comments": "",
1833         "outputs": 1,
1834         "x": 1477.5000228881836,
1835         "y": 1120.535732269287,
1836         "z": "705ac336.10121c",
1837         "wires": [
1838             []
1839         ]
1840     },
1841     {
1842         "id": "ceefaa2e.4bf518",
1843         "type": "switchNode",
1844         "name": "switch: SERVICE-DATA ipv6-sbunet-id == NULL",
1845         "xml": "<switch test=\"`$vnf-instance-service-data.vnf-instance-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id == ''`\">",
1846         "comments": "",
1847         "outputs": 1,
1848         "x": 2094.3213806152344,
1849         "y": 2402.535810470581,
1850         "z": "705ac336.10121c",
1851         "wires": [
1852             [
1853                 "c1f79dd7.d0fc5"
1854             ]
1855         ]
1856     },
1857     {
1858         "id": "c1f79dd7.d0fc5",
1859         "type": "outcomeTrue",
1860         "name": "true",
1861         "xml": "<outcome value='true'>\n",
1862         "comments": "",
1863         "outputs": 1,
1864         "x": 2378.571346282959,
1865         "y": 2402.285789489746,
1866         "z": "705ac336.10121c",
1867         "wires": [
1868             [
1869                 "59ecf05b.2d584"
1870             ]
1871         ]
1872     }
1873 ]