[SDNGC-5859] copy local change to onap
[sdnc/oam.git] / platform-logic / vnfapi / src / main / json / VNF-API_vnf-topology-assign-vfmodule.json
1 [
2     {
3         "id": "a31dd50.8f7cf28",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 140,
8         "y": 61.42857360839844,
9         "z": "3018bfef.3ec6f",
10         "wires": [
11             [
12                 "fcb8154c.6bd848"
13             ]
14         ]
15     },
16     {
17         "id": "fcb8154c.6bd848",
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": 305.1666564941406,
26         "y": 61.595245361328125,
27         "z": "3018bfef.3ec6f",
28         "wires": [
29             [
30                 "94fe54b7.9c25f8"
31             ]
32         ]
33     },
34     {
35         "id": "94fe54b7.9c25f8",
36         "type": "method",
37         "name": "method vnf-topology-assign-vfmodule",
38         "xml": "<method rpc='vnf-topology-assign-vfmodule' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 237.16668701171875,
42         "y": 114.5952377319336,
43         "z": "3018bfef.3ec6f",
44         "wires": [
45             [
46                 "1d4d3089.10a17f"
47             ]
48         ]
49     },
50     {
51         "id": "1d4d3089.10a17f",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic=\"true\">",
55         "atomic": "true",
56         "outputs": 1,
57         "x": 189.50000762939453,
58         "y": 163.42857360839844,
59         "z": "3018bfef.3ec6f",
60         "wires": [
61             [
62                 "20002884.ee2078",
63                 "b3f35db0.e0e4",
64                 "d031edaa.e6184",
65                 "cb1afc0e.40927",
66                 "3c67b88b.3c6c28",
67                 "9aaf059b.32e0d8",
68                 "9f4073e7.b1211"
69             ]
70         ]
71     },
72     {
73         "id": "637385b9.ca295c",
74         "type": "switchNode",
75         "name": "switch test: INPUT network-id = NULL",
76         "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].network-id == '' or $vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].network-id == '0'`\">",
77         "comments": "",
78         "outputs": 1,
79         "x": 718.9422798156738,
80         "y": 715.4150276184082,
81         "z": "3018bfef.3ec6f",
82         "wires": [
83             [
84                 "49d71e01.633db",
85                 "53a64d09.4de384"
86             ]
87         ]
88     },
89     {
90         "id": "49d71e01.633db",
91         "type": "outcomeTrue",
92         "name": "true",
93         "xml": "<outcome value='true'>\n",
94         "comments": "",
95         "outputs": 1,
96         "x": 959.3057670593262,
97         "y": 758.5968976020813,
98         "z": "3018bfef.3ec6f",
99         "wires": [
100             [
101                 "3983efb0.652cd"
102             ]
103         ]
104     },
105     {
106         "id": "3983efb0.652cd",
107         "type": "switchNode",
108         "name": "switch : INPUT network-name = NULL",
109         "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].network-name == '' or $vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].network-name == '0'`\">",
110         "comments": "",
111         "outputs": 1,
112         "x": 1197.0878677368164,
113         "y": 758.4408760070801,
114         "z": "3018bfef.3ec6f",
115         "wires": [
116             [
117                 "372c9435.92cf3c",
118                 "d62ab763.7f7488"
119             ]
120         ]
121     },
122     {
123         "id": "53a64d09.4de384",
124         "type": "other",
125         "name": "false",
126         "xml": "<outcome value='false'>",
127         "comments": "",
128         "outputs": 1,
129         "x": 959.3260536193848,
130         "y": 715.3039240837097,
131         "z": "3018bfef.3ec6f",
132         "wires": [
133             [
134                 "c6e8f114.6edb3"
135             ]
136         ]
137     },
138     {
139         "id": "372c9435.92cf3c",
140         "type": "other",
141         "name": "false",
142         "xml": "<outcome value='false'>",
143         "comments": "",
144         "outputs": 1,
145         "x": 1435.2798194885254,
146         "y": 797.9963579177856,
147         "z": "3018bfef.3ec6f",
148         "wires": [
149             [
150                 "459aea4a.7ec284"
151             ]
152         ]
153     },
154     {
155         "id": "c6e8f114.6edb3",
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-topology-operation-input.vnf-request-information.vnf-networks[$i].network-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.AnAI.l3network\">\n",
159         "comments": "",
160         "outputs": 1,
161         "x": 1160.548168182373,
162         "y": 715.3040919303894,
163         "z": "3018bfef.3ec6f",
164         "wires": [
165             [
166                 "ef79ca38.6e05a8",
167                 "8a064197.2016f"
168             ]
169         ]
170     },
171     {
172         "id": "ef79ca38.6e05a8",
173         "type": "success",
174         "name": "not found",
175         "xml": "<outcome value='not-found'>\n",
176         "comments": "",
177         "outputs": 1,
178         "x": 1363.4928588867188,
179         "y": 714.8595404624939,
180         "z": "3018bfef.3ec6f",
181         "wires": [
182             [
183                 "df4013d1.53f66"
184             ]
185         ]
186     },
187     {
188         "id": "d4a5dd72.75857",
189         "type": "for",
190         "name": "for i : INPUT vnf-networks",
191         "xml": "<for index=\"i\" start=\"0\" end=\"`$vnf-topology-operation-input.vnf-request-information.vnf-networks_length`\">",
192         "comments": "",
193         "outputs": 1,
194         "x": 548.236156463623,
195         "y": 571.9077110290527,
196         "z": "3018bfef.3ec6f",
197         "wires": [
198             [
199                 "2dd04c5d.087a24"
200             ]
201         ]
202     },
203     {
204         "id": "459aea4a.7ec284",
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-topology-operation-input.vnf-request-information.vnf-networks[$i].network-name\" \n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.AnAI.l3network\">\n\n",
208         "comments": "",
209         "outputs": 1,
210         "x": 1645.7818222045898,
211         "y": 797.7381496429443,
212         "z": "3018bfef.3ec6f",
213         "wires": [
214             [
215                 "3388e17e.b2e1be",
216                 "86e3396f.1580b8"
217             ]
218         ]
219     },
220     {
221         "id": "3388e17e.b2e1be",
222         "type": "success",
223         "name": "not found",
224         "xml": "<outcome value='not-found'>\n",
225         "comments": "",
226         "outputs": 1,
227         "x": 1867.0318222045898,
228         "y": 797.9882106781006,
229         "z": "3018bfef.3ec6f",
230         "wires": [
231             [
232                 "df4013d1.53f66"
233             ]
234         ]
235     },
236     {
237         "id": "b1029783.5d2708",
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": 435.72979736328125,
244         "y": 485.63307189941406,
245         "z": "3018bfef.3ec6f",
246         "wires": [
247             []
248         ]
249     },
250     {
251         "id": "22808f4a.1e8c2",
252         "type": "block",
253         "name": "block: atomic",
254         "xml": "<block atomic=\"true\">\n",
255         "atomic": "false",
256         "comments": "",
257         "outputs": 1,
258         "x": 510.91400146484375,
259         "y": 398.16761016845703,
260         "z": "3018bfef.3ec6f",
261         "wires": [
262             [
263                 "b1029783.5d2708",
264                 "816372ff.06ba2",
265                 "b66fd01c.9af55"
266             ]
267         ]
268     },
269     {
270         "id": "20002884.ee2078",
271         "type": "for",
272         "name": "for j : PRELOAD vnf-networks",
273         "xml": "<for index=\"j\" start=\"0\" end=\"`$preload-data.vnf-topology-information.vnf-assignments.vnf-networks_length`\">",
274         "comments": "",
275         "outputs": 1,
276         "x": 273.8889465332031,
277         "y": 398.6785583496094,
278         "z": "3018bfef.3ec6f",
279         "wires": [
280             [
281                 "22808f4a.1e8c2"
282             ]
283         ]
284     },
285     {
286         "id": "816372ff.06ba2",
287         "type": "block",
288         "name": "block: atomic",
289         "xml": "<block atomic=\"true\">\n",
290         "atomic": "false",
291         "comments": "",
292         "outputs": 1,
293         "x": 315.61627197265625,
294         "y": 571.8376026153564,
295         "z": "3018bfef.3ec6f",
296         "wires": [
297             [
298                 "d4a5dd72.75857",
299                 "fd1635d9.5c1398"
300             ]
301         ]
302     },
303     {
304         "id": "2dd04c5d.087a24",
305         "type": "switchNode",
306         "name": "switch : PRELOAD network-role = INPUT",
307         "xml": "<switch test=\"`$preload-data.vnf-topology-information.vnf-assignments.vnf-networks[$j].network-role == $vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].network-role`\">",
308         "comments": "",
309         "outputs": 1,
310         "x": 857.6163368225098,
311         "y": 572.2012739181519,
312         "z": "3018bfef.3ec6f",
313         "wires": [
314             [
315                 "b66fe12f.c0be8"
316             ]
317         ]
318     },
319     {
320         "id": "b66fe12f.c0be8",
321         "type": "outcomeTrue",
322         "name": "true",
323         "xml": "<outcome value='true'>\n",
324         "comments": "",
325         "outputs": 1,
326         "x": 1108.4117622375488,
327         "y": 572.4969162940979,
328         "z": "3018bfef.3ec6f",
329         "wires": [
330             [
331                 "6c5f5d3f.b58ed4"
332             ]
333         ]
334     },
335     {
336         "id": "6c5f5d3f.b58ed4",
337         "type": "block",
338         "name": "block: atomic",
339         "xml": "<block atomic=\"true\">\n",
340         "atomic": "false",
341         "comments": "",
342         "outputs": 1,
343         "x": 466.6973304748535,
344         "y": 672.2760715484619,
345         "z": "3018bfef.3ec6f",
346         "wires": [
347             [
348                 "637385b9.ca295c",
349                 "13b8f738.862a39",
350                 "989e6dbf.d5d9d"
351             ]
352         ]
353     },
354     {
355         "id": "13b8f738.862a39",
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": 673.060962677002,
362         "y": 672.1852006912231,
363         "z": "3018bfef.3ec6f",
364         "wires": [
365             []
366         ]
367     },
368     {
369         "id": "d62ab763.7f7488",
370         "type": "outcomeTrue",
371         "name": "true",
372         "xml": "<outcome value='true'>\n",
373         "comments": "",
374         "outputs": 1,
375         "x": 1434.8377532958984,
376         "y": 758.7023506164551,
377         "z": "3018bfef.3ec6f",
378         "wires": [
379             [
380                 "df4013d1.53f66"
381             ]
382         ]
383     },
384     {
385         "id": "989e6dbf.d5d9d",
386         "type": "switchNode",
387         "name": "switch : tmp.usePreload= 0",
388         "xml": "<switch test=\"`$tmp.usePreload == 0`\">",
389         "comments": "",
390         "outputs": 1,
391         "x": 699.7430572509766,
392         "y": 951.2915191650391,
393         "z": "3018bfef.3ec6f",
394         "wires": [
395             [
396                 "a94fbeb7.9f49d"
397             ]
398         ]
399     },
400     {
401         "id": "a94fbeb7.9f49d",
402         "type": "outcomeTrue",
403         "name": "true",
404         "xml": "<outcome value='true'>\n",
405         "comments": "",
406         "outputs": 1,
407         "x": 898.7429428100586,
408         "y": 951.5416564941406,
409         "z": "3018bfef.3ec6f",
410         "wires": [
411             [
412                 "f300366b.1bf838"
413             ]
414         ]
415     },
416     {
417         "id": "ae3d7146.3003c",
418         "type": "for",
419         "name": "for k : SERVICE_DATA vnf-networks",
420         "xml": "<for index=\"k\" start=\"0\" end=\"`$service-data.vnf-topology-information.vnf-assignments.vnf-networks_length`\">",
421         "comments": "",
422         "outputs": 1,
423         "x": 800.1870269775391,
424         "y": 1135.3089752197266,
425         "z": "3018bfef.3ec6f",
426         "wires": [
427             [
428                 "6d4a43e6.1837ec"
429             ]
430         ]
431     },
432     {
433         "id": "6d4a43e6.1837ec",
434         "type": "switchNode",
435         "name": "switch: SERVICE-DATA network-role = INPUT",
436         "xml": "<switch test=\"`$service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].network-role == $vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].network-role`\">",
437         "comments": "",
438         "outputs": 1,
439         "x": 1158.0671691894531,
440         "y": 1135.6582279205322,
441         "z": "3018bfef.3ec6f",
442         "wires": [
443             [
444                 "5d39673b.750638"
445             ]
446         ]
447     },
448     {
449         "id": "5d39673b.750638",
450         "type": "outcomeTrue",
451         "name": "true",
452         "xml": "<outcome value='true'>\n",
453         "comments": "",
454         "outputs": 1,
455         "x": 1437.6125793457031,
456         "y": 1135.7038822174072,
457         "z": "3018bfef.3ec6f",
458         "wires": [
459             [
460                 "99507e8d.3fb04"
461             ]
462         ]
463     },
464     {
465         "id": "fd1635d9.5c1398",
466         "type": "switchNode",
467         "name": "switch: tmp.usePreload= 1",
468         "xml": "<switch test=\"`$tmp.usePreload == 1`\">",
469         "comments": "",
470         "outputs": 1,
471         "x": 540.9327087402344,
472         "y": 1653.80224609375,
473         "z": "3018bfef.3ec6f",
474         "wires": [
475             [
476                 "f3fd6148.f130e"
477             ]
478         ]
479     },
480     {
481         "id": "f3fd6148.f130e",
482         "type": "other",
483         "name": "true",
484         "xml": "<outcome value='true'>",
485         "comments": "",
486         "outputs": 1,
487         "x": 748.9642868041992,
488         "y": 1653.5424976348877,
489         "z": "3018bfef.3ec6f",
490         "wires": [
491             [
492                 "394ee13a.df62ee"
493             ]
494         ]
495     },
496     {
497         "id": "df4013d1.53f66",
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": 1629.4458465576172,
504         "y": 899.4613742828369,
505         "z": "3018bfef.3ec6f",
506         "wires": [
507             []
508         ]
509     },
510     {
511         "id": "b7f69264.cf1ab",
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=\"`'Failed to query AnAI for l3-network with network-id = ' + $vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].network-id`\"  />\n",
515         "comments": "",
516         "x": 1514.416659037272,
517         "y": 673.9840910169814,
518         "z": "3018bfef.3ec6f",
519         "wires": []
520     },
521     {
522         "id": "8a064197.2016f",
523         "type": "failure",
524         "name": "failure",
525         "xml": "<outcome value='failure'>\n",
526         "comments": "",
527         "outputs": 1,
528         "x": 1357.1944368150498,
529         "y": 673.9840910169814,
530         "z": "3018bfef.3ec6f",
531         "wires": [
532             [
533                 "b7f69264.cf1ab"
534             ]
535         ]
536     },
537     {
538         "id": "d9b59f8d.62ec6",
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=\"`'Failed to query AnAI for l3-network with network-name = ' + $vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].network-name`\"  />\n",
542         "comments": "",
543         "x": 2015.5275802612305,
544         "y": 756.2063064575195,
545         "z": "3018bfef.3ec6f",
546         "wires": []
547     },
548     {
549         "id": "86e3396f.1580b8",
550         "type": "failure",
551         "name": "failure",
552         "xml": "<outcome value='failure'>\n",
553         "comments": "",
554         "outputs": 1,
555         "x": 1858.3053580390078,
556         "y": 756.2063064575195,
557         "z": "3018bfef.3ec6f",
558         "wires": [
559             [
560                 "d9b59f8d.62ec6"
561             ]
562         ]
563     },
564     {
565         "id": "18ac44d0.2f45cb",
566         "type": "set",
567         "name": "set: SERVICE_DATA vnf-networks = AAI DATA",
568         "xml": "<set>\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].network-name\" value=\"`$tmp.AnAI.l3network.network-name`\" />\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].neutron-id\" value=\"`$tmp.AnAI.l3network.neutron-network-id`\" />\n<parameter name=\"service-data.vnf-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": 1894.9072570800781,
572         "y": 1135.7456226348877,
573         "z": "3018bfef.3ec6f",
574         "wires": [
575             []
576         ]
577     },
578     {
579         "id": "d30c2e81.9d2fd",
580         "type": "success",
581         "name": "not found",
582         "xml": "<outcome value='not-found'>\n",
583         "comments": "",
584         "outputs": 1,
585         "x": 1419.0712356567383,
586         "y": 1653.4231624603271,
587         "z": "3018bfef.3ec6f",
588         "wires": [
589             [
590                 "ae6f9f81.1a798"
591             ]
592         ]
593     },
594     {
595         "id": "10de1549.964beb",
596         "type": "set",
597         "name": "set: SERVICE_DATA vnf-networks = AAI DATA",
598         "xml": "<set>\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].network-name\" value=\"`$tmp.AnAI.l3network.network-name`\" />\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].network-id\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].neutron-id\" value=\"`$tmp.AnAI.l3network.neutron-network-id`\" />\n<parameter name=\"service-data.vnf-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": 2024.2062301635742,
602         "y": 1900.2730236053467,
603         "z": "3018bfef.3ec6f",
604         "wires": [
605             []
606         ]
607     },
608     {
609         "id": "a3d35540.191cd8",
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 = $preload-data.vnf-topology-information.vnf-assignments.vnf-networks[$j].network-name\" \n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.AnAI.l3network\">\n",
613         "comments": "",
614         "outputs": 1,
615         "x": 1153.964256286621,
616         "y": 1653.6891021728516,
617         "z": "3018bfef.3ec6f",
618         "wires": [
619             [
620                 "d30c2e81.9d2fd",
621                 "d435904c.f085c",
622                 "f9269416.45efe8"
623             ]
624         ]
625     },
626     {
627         "id": "394ee13a.df62ee",
628         "type": "block",
629         "name": "block: atomic",
630         "xml": "<block atomic=\"true\">\n",
631         "atomic": "false",
632         "comments": "",
633         "outputs": 1,
634         "x": 904.9758262634277,
635         "y": 1653.9880352020264,
636         "z": "3018bfef.3ec6f",
637         "wires": [
638             [
639                 "a3d35540.191cd8",
640                 "b15670b5.3c9b2",
641                 "ad2f4a81.8af4e8"
642             ]
643         ]
644     },
645     {
646         "id": "e68e26af.0bdf48",
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=\"`'Failed to query AnAI for l3-network with network-name = ' + $vnf-topology-operation-input.vnf-request-information.vnf-networks[$j].network-name`\"  />\n",
650         "comments": "",
651         "x": 1566.3570709228516,
652         "y": 1691.285740852356,
653         "z": "3018bfef.3ec6f",
654         "wires": []
655     },
656     {
657         "id": "d435904c.f085c",
658         "type": "failure",
659         "name": "failure",
660         "xml": "<outcome value='failure'>\n",
661         "comments": "",
662         "outputs": 1,
663         "x": 1411.1348487006294,
664         "y": 1691.285740852356,
665         "z": "3018bfef.3ec6f",
666         "wires": [
667             [
668                 "e68e26af.0bdf48"
669             ]
670         ]
671     },
672     {
673         "id": "ae6f9f81.1a798",
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 = ' + $preload-data.vnf-topology-information.vnf-assignments.vnf-networks[$j].network-name + ' not found in AnAI'`\"  />\n",
677         "comments": "",
678         "x": 1585.3571014404297,
679         "y": 1653.2857656478882,
680         "z": "3018bfef.3ec6f",
681         "wires": []
682     },
683     {
684         "id": "b3f35db0.e0e4",
685         "type": "switchNode",
686         "name": "switch ...PRELOAD vnf-networks[]",
687         "xml": "<switch test=\"`$preload-data.vnf-topology-information.vnf-assignments.vnf-networks_length`\">",
688         "comments": "",
689         "outputs": 1,
690         "x": 453.5,
691         "y": 342.9285774230957,
692         "z": "3018bfef.3ec6f",
693         "wires": [
694             [
695                 "24971653.569cea"
696             ]
697         ]
698     },
699     {
700         "id": "24971653.569cea",
701         "type": "outcome",
702         "name": "NULL",
703         "xml": "<outcome value=''>",
704         "outputs": 1,
705         "x": 680.9444732666016,
706         "y": 342.4562873840332,
707         "z": "3018bfef.3ec6f",
708         "wires": [
709             [
710                 "cbca70d0.7f17"
711             ]
712         ]
713     },
714     {
715         "id": "cbca70d0.7f17",
716         "type": "set",
717         "name": "set PRELOAD vnf-networks[] = 0",
718         "xml": "<set>\n<parameter name = \"preload-data.vnf-topology-information.vnf-assignments.vnf-networks_length\" value=\"0\" />\n",
719         "comments": "",
720         "outputs": 1,
721         "x": 902.5000822279189,
722         "y": 342.4563080469766,
723         "z": "3018bfef.3ec6f",
724         "wires": [
725             []
726         ]
727     },
728     {
729         "id": "b66fd01c.9af55",
730         "type": "switchNode",
731         "name": "switch ...INPUT vnf-networks[]",
732         "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-networks_length`\">",
733         "comments": "",
734         "outputs": 1,
735         "x": 369.00001525878906,
736         "y": 526.6785554885864,
737         "z": "3018bfef.3ec6f",
738         "wires": [
739             [
740                 "3bbc7752.e54408"
741             ]
742         ]
743     },
744     {
745         "id": "3bbc7752.e54408",
746         "type": "outcome",
747         "name": "NULL",
748         "xml": "<outcome value=''>",
749         "outputs": 1,
750         "x": 592.444465637207,
751         "y": 526.4562911987305,
752         "z": "3018bfef.3ec6f",
753         "wires": [
754             [
755                 "ebefaf21.666f1"
756             ]
757         ]
758     },
759     {
760         "id": "ebefaf21.666f1",
761         "type": "set",
762         "name": "set INPUT vnf-networks_length = 0",
763         "xml": "<set>\n<parameter name='vnf-topology-operation-input.vnf-request-information.vnf-networks_length' value='0' />\n",
764         "comments": "",
765         "outputs": 1,
766         "x": 825.0000745985244,
767         "y": 526.4563118616738,
768         "z": "3018bfef.3ec6f",
769         "wires": [
770             []
771         ]
772     },
773     {
774         "id": "8ee6be3c.0943d",
775         "type": "comment",
776         "name": "For each preload network, see if there is an override in input",
777         "info": "",
778         "comments": "",
779         "x": 861.8612213134766,
780         "y": 454.90082454681396,
781         "z": "3018bfef.3ec6f",
782         "wires": []
783     },
784     {
785         "id": "be41e53d.c12d58",
786         "type": "switchNode",
787         "name": "switch: SERVICE-DATA network-role = PRELOAD",
788         "xml": "<switch test=\"`$service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].network-role == $preload-data.vnf-topology-information.vnf-assignments.vnf-networks[$j].network-role`\">",
789         "comments": "",
790         "outputs": 1,
791         "x": 1278.1070175170898,
792         "y": 1900.0358438491821,
793         "z": "3018bfef.3ec6f",
794         "wires": [
795             [
796                 "35b957ef.660a98"
797             ]
798         ]
799     },
800     {
801         "id": "35b957ef.660a98",
802         "type": "outcomeTrue",
803         "name": "true",
804         "xml": "<outcome value='true'>\n",
805         "comments": "",
806         "outputs": 1,
807         "x": 1566.509693145752,
808         "y": 1899.6528720855713,
809         "z": "3018bfef.3ec6f",
810         "wires": [
811             [
812                 "9a01436f.4ed71"
813             ]
814         ]
815     },
816     {
817         "id": "b15670b5.3c9b2",
818         "type": "for",
819         "name": "for k : SERVICE_DATA vnf-networks",
820         "xml": "<for index=\"k\" start=\"0\" end=\"`$service-data.vnf-topology-information.vnf-assignments.vnf-networks_length`\">",
821         "comments": "",
822         "outputs": 1,
823         "x": 1173.642807006836,
824         "y": 1850.6072368621826,
825         "z": "3018bfef.3ec6f",
826         "wires": [
827             [
828                 "be41e53d.c12d58"
829             ]
830         ]
831     },
832     {
833         "id": "c7ee590b.fb69b8",
834         "type": "comment",
835         "name": "CALLED BY vnf-topology-assign AND vnf-topology-changeassign",
836         "info": "",
837         "comments": "",
838         "x": 795.1666564941406,
839         "y": 105.53968811035156,
840         "z": "3018bfef.3ec6f",
841         "wires": []
842     },
843     {
844         "id": "cb1afc0e.40927",
845         "type": "set",
846         "name": "set: service-data =+ input",
847         "xml": "<set>\n\t<parameter name=\"service-data.\" value=\"vnf-topology-operation-input.\" />",
848         "comments": "",
849         "outputs": 1,
850         "x": 425.27777671813965,
851         "y": 251.8730125427246,
852         "z": "3018bfef.3ec6f",
853         "wires": [
854             []
855         ]
856     },
857     {
858         "id": "d031edaa.e6184",
859         "type": "set",
860         "name": "set: service-data = preload-data",
861         "xml": "<set>\n\t<parameter name=\"service-data.\" value=\"preload-data.\" />",
862         "comments": "",
863         "outputs": 1,
864         "x": 445.1818904876709,
865         "y": 210.0194969177246,
866         "z": "3018bfef.3ec6f",
867         "wires": [
868             []
869         ]
870     },
871     {
872         "id": "3c67b88b.3c6c28",
873         "type": "returnSuccess",
874         "name": "return success",
875         "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
876         "comments": "",
877         "x": 396.2857437133789,
878         "y": 1912.2859153747559,
879         "z": "3018bfef.3ec6f",
880         "wires": []
881     },
882     {
883         "id": "9aaf059b.32e0d8",
884         "type": "switchNode",
885         "name": "switch: preload order-status = PendingAssignment",
886         "xml": "<switch test=\"`$preload-data.oper-status.order-status == PendingAssignment`\">\n<!--\nleaf order-status {\n\ttype enumeration {\n\t\tenum \"Active\";\n\t\tenum \"PendingAssignment\";\n\t\tenum \"PendingCreate\";\n\t\tenum \"PendingUpdate\";\n\t\tenum \"Deleted\";\n\t}\n}\n-->",
887         "comments": "",
888         "outputs": 1,
889         "x": 502.2777862548828,
890         "y": 163.4285764694214,
891         "z": "3018bfef.3ec6f",
892         "wires": [
893             [
894                 "113a87df.14b818"
895             ]
896         ]
897     },
898     {
899         "id": "d97cceee.5c382",
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": 919.2170295715332,
905         "y": 163.1255865097046,
906         "z": "3018bfef.3ec6f",
907         "wires": []
908     },
909     {
910         "id": "113a87df.14b818",
911         "type": "other",
912         "name": "false",
913         "xml": "<outcome value='false'>",
914         "comments": "",
915         "outputs": 1,
916         "x": 769.883918762207,
917         "y": 163.1255121231079,
918         "z": "3018bfef.3ec6f",
919         "wires": [
920             [
921                 "d97cceee.5c382"
922             ]
923         ]
924     },
925     {
926         "id": "9f4073e7.b1211",
927         "type": "set",
928         "name": "set: vnf-id",
929         "xml": "<set>\n\t<parameter name=\"service-data.vnf-id\" value=\"`$vnf-topology-operation-input.vnf-request-information.vnf-id`\"/>\n\t<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\"/>\n\t<parameter name=\"service-data.vnf-request-information.vnf-id\" value=\"`$vnf-topology-operation-input.vnf-request-information.vnf-id`\"/>\n    <parameter name=\"service-data.vnf-topology-information.vnf-topology-identifier.vnf-id\" value=\"`$vnf-topology-operation-input.vnf-request-information.vnf-id`\"/>",
930         "comments": "",
931         "outputs": 1,
932         "x": 377.5992889404297,
933         "y": 296.36905097961426,
934         "z": "3018bfef.3ec6f",
935         "wires": [
936             []
937         ]
938     },
939     {
940         "id": "63fc40cc.c84e4",
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": 1676.7500305175781,
947         "y": 1729.1787147521973,
948         "z": "3018bfef.3ec6f",
949         "wires": [
950             [
951                 "f7b88266.11803"
952             ]
953         ]
954     },
955     {
956         "id": "f7b88266.11803",
957         "type": "other",
958         "name": "true",
959         "xml": "<outcome value='true'>",
960         "comments": "",
961         "outputs": 1,
962         "x": 1939.0000305175781,
963         "y": 1729.1787147521973,
964         "z": "3018bfef.3ec6f",
965         "wires": [
966             [
967                 "60aaae18.6b34b"
968             ]
969         ]
970     },
971     {
972         "id": "60aaae18.6b34b",
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 = ' + $preload-data.vnf-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": 2093.000030517578,
978         "y": 1729.6787147521973,
979         "z": "3018bfef.3ec6f",
980         "wires": []
981     },
982     {
983         "id": "f9269416.45efe8",
984         "type": "success",
985         "name": "success",
986         "xml": "<outcome value='success'>\n",
987         "comments": "",
988         "outputs": 1,
989         "x": 1414.750015258789,
990         "y": 1728.928695678711,
991         "z": "3018bfef.3ec6f",
992         "wires": [
993             [
994                 "63fc40cc.c84e4"
995             ]
996         ]
997     },
998     {
999         "id": "365956fb.0b312a",
1000         "type": "switchNode",
1001         "name": "switch: SERVICE-DATA ipv6-sbunet-id == NULL",
1002         "xml": "<switch test=\"`$service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id == ''`\">",
1003         "comments": "",
1004         "outputs": 1,
1005         "x": 2011.41650390625,
1006         "y": 2245.250244140625,
1007         "z": "3018bfef.3ec6f",
1008         "wires": [
1009             [
1010                 "94a6ca67.61df88"
1011             ]
1012         ]
1013     },
1014     {
1015         "id": "94a6ca67.61df88",
1016         "type": "outcomeTrue",
1017         "name": "true",
1018         "xml": "<outcome value='true'>\n",
1019         "comments": "",
1020         "outputs": 1,
1021         "x": 2295.6664695739746,
1022         "y": 2245.00022315979,
1023         "z": "3018bfef.3ec6f",
1024         "wires": [
1025             [
1026                 "34509c24.cfaf64"
1027             ]
1028         ]
1029     },
1030     {
1031         "id": "b4cda74e.ecf228",
1032         "type": "switchNode",
1033         "name": "switch: SERVICE-DATA sbunet-name != NULL",
1034         "xml": "<switch test=\"`$service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].subnet-name != ''`\">",
1035         "comments": "",
1036         "outputs": 1,
1037         "x": 2102.857208251953,
1038         "y": 2050.3570852279663,
1039         "z": "3018bfef.3ec6f",
1040         "wires": [
1041             [
1042                 "117b6909.23fc67"
1043             ]
1044         ]
1045     },
1046     {
1047         "id": "117b6909.23fc67",
1048         "type": "outcomeTrue",
1049         "name": "true",
1050         "xml": "<outcome value='true'>\n",
1051         "comments": "",
1052         "outputs": 1,
1053         "x": 2368.1071739196777,
1054         "y": 2050.1070642471313,
1055         "z": "3018bfef.3ec6f",
1056         "wires": [
1057             [
1058                 "14f42f64.b3e611"
1059             ]
1060         ]
1061     },
1062     {
1063         "id": "f8a8a33e.215bb",
1064         "type": "set",
1065         "name": "set: service-data = AnAI - subnet-id ",
1066         "xml": "<set>\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1067         "comments": "",
1068         "outputs": 1,
1069         "x": 3136.868942260742,
1070         "y": 2164.6549243927,
1071         "z": "3018bfef.3ec6f",
1072         "wires": [
1073             []
1074         ]
1075     },
1076     {
1077         "id": "14f42f64.b3e611",
1078         "type": "switchNode",
1079         "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1080         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1081         "comments": "",
1082         "outputs": 1,
1083         "x": 2228.368927001953,
1084         "y": 2107.9048166275024,
1085         "z": "3018bfef.3ec6f",
1086         "wires": [
1087             [
1088                 "12ee504d.24c76"
1089             ]
1090         ]
1091     },
1092     {
1093         "id": "f8a347b6.06cb48",
1094         "type": "for",
1095         "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1096         "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1097         "comments": "",
1098         "outputs": 1,
1099         "x": 2271.797393798828,
1100         "y": 2166.0834045410156,
1101         "z": "3018bfef.3ec6f",
1102         "wires": [
1103             [
1104                 "f8cb09b3.6b0028"
1105             ]
1106         ]
1107     },
1108     {
1109         "id": "f8cb09b3.6b0028",
1110         "type": "switchNode",
1111         "name": "switch: AnAI == service-data - subnet-name",
1112         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].subnet-name`\">",
1113         "comments": "",
1114         "outputs": 1,
1115         "x": 2644.547348022461,
1116         "y": 2165.3334884643555,
1117         "z": "3018bfef.3ec6f",
1118         "wires": [
1119             [
1120                 "7ed66661.050d48"
1121             ]
1122         ]
1123     },
1124     {
1125         "id": "7ed66661.050d48",
1126         "type": "outcomeTrue",
1127         "name": "true",
1128         "xml": "<outcome value='true'>\n",
1129         "comments": "",
1130         "outputs": 1,
1131         "x": 2902.950038909912,
1132         "y": 2165.2005167007446,
1133         "z": "3018bfef.3ec6f",
1134         "wires": [
1135             [
1136                 "f8a8a33e.215bb"
1137             ]
1138         ]
1139     },
1140     {
1141         "id": "12ee504d.24c76",
1142         "type": "outcomeTrue",
1143         "name": "true",
1144         "xml": "<outcome value='true'>\n",
1145         "comments": "",
1146         "outputs": 1,
1147         "x": 2513.6904106140137,
1148         "y": 2107.4882073402405,
1149         "z": "3018bfef.3ec6f",
1150         "wires": [
1151             [
1152                 "f8a347b6.06cb48"
1153             ]
1154         ]
1155     },
1156     {
1157         "id": "34509c24.cfaf64",
1158         "type": "switchNode",
1159         "name": "switch: SERVICE-DATA ipv6-sbunet-name != NULL",
1160         "xml": "<switch test=\"`$service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-name != ''`\">",
1161         "comments": "",
1162         "outputs": 1,
1163         "x": 2147.6188888549805,
1164         "y": 2299.976417541504,
1165         "z": "3018bfef.3ec6f",
1166         "wires": [
1167             [
1168                 "9d340516.572948"
1169             ]
1170         ]
1171     },
1172     {
1173         "id": "9d340516.572948",
1174         "type": "outcomeTrue",
1175         "name": "true",
1176         "xml": "<outcome value='true'>\n",
1177         "comments": "",
1178         "outputs": 1,
1179         "x": 2432.868854522705,
1180         "y": 2299.726396560669,
1181         "z": "3018bfef.3ec6f",
1182         "wires": [
1183             [
1184                 "1544738d.b38abc"
1185             ]
1186         ]
1187     },
1188     {
1189         "id": "e9ee4f00.4d645",
1190         "type": "set",
1191         "name": "set: service-data = AnAI - ipv6-subnet-id ",
1192         "xml": "<set>\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1193         "comments": "",
1194         "outputs": 1,
1195         "x": 3159.1308670043945,
1196         "y": 2411.7742557525635,
1197         "z": "3018bfef.3ec6f",
1198         "wires": [
1199             []
1200         ]
1201     },
1202     {
1203         "id": "1544738d.b38abc",
1204         "type": "switchNode",
1205         "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1206         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1207         "comments": "",
1208         "outputs": 1,
1209         "x": 2248.1308517456055,
1210         "y": 2355.024024963379,
1211         "z": "3018bfef.3ec6f",
1212         "wires": [
1213             [
1214                 "151974e3.0664ab"
1215             ]
1216         ]
1217     },
1218     {
1219         "id": "5a40afd6.e4ff8",
1220         "type": "for",
1221         "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1222         "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1223         "comments": "",
1224         "outputs": 1,
1225         "x": 2294.0593185424805,
1226         "y": 2413.202735900879,
1227         "z": "3018bfef.3ec6f",
1228         "wires": [
1229             [
1230                 "d120df1f.f811c"
1231             ]
1232         ]
1233     },
1234     {
1235         "id": "d120df1f.f811c",
1236         "type": "switchNode",
1237         "name": "switch: AnAI == service-data - ipv6-subnet-name",
1238         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-name`\">",
1239         "comments": "",
1240         "outputs": 1,
1241         "x": 2666.8092727661133,
1242         "y": 2412.4528198242188,
1243         "z": "3018bfef.3ec6f",
1244         "wires": [
1245             [
1246                 "541bc841.f2b0f8"
1247             ]
1248         ]
1249     },
1250     {
1251         "id": "541bc841.f2b0f8",
1252         "type": "outcomeTrue",
1253         "name": "true",
1254         "xml": "<outcome value='true'>\n",
1255         "comments": "",
1256         "outputs": 1,
1257         "x": 2925.2119636535645,
1258         "y": 2412.319848060608,
1259         "z": "3018bfef.3ec6f",
1260         "wires": [
1261             [
1262                 "e9ee4f00.4d645"
1263             ]
1264         ]
1265     },
1266     {
1267         "id": "151974e3.0664ab",
1268         "type": "outcomeTrue",
1269         "name": "true",
1270         "xml": "<outcome value='true'>\n",
1271         "comments": "",
1272         "outputs": 1,
1273         "x": 2533.452335357666,
1274         "y": 2354.607415676117,
1275         "z": "3018bfef.3ec6f",
1276         "wires": [
1277             [
1278                 "5a40afd6.e4ff8"
1279             ]
1280         ]
1281     },
1282     {
1283         "id": "9a01436f.4ed71",
1284         "type": "block",
1285         "name": "block",
1286         "xml": "<block>\n",
1287         "atomic": "false",
1288         "comments": "",
1289         "outputs": 1,
1290         "x": 1729.9999771118164,
1291         "y": 1900.16672706604,
1292         "z": "3018bfef.3ec6f",
1293         "wires": [
1294             [
1295                 "10de1549.964beb",
1296                 "6110484f.04a978",
1297                 "365956fb.0b312a"
1298             ]
1299         ]
1300     },
1301     {
1302         "id": "6110484f.04a978",
1303         "type": "switchNode",
1304         "name": "switch: SERVICE-DATA sbunet-id == NULL",
1305         "xml": "<switch test=\"`$service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].subnet-id == ''`\">",
1306         "comments": "",
1307         "outputs": 1,
1308         "x": 1996.4285697937012,
1309         "y": 1993.845314025879,
1310         "z": "3018bfef.3ec6f",
1311         "wires": [
1312             [
1313                 "71d2499c.c98928"
1314             ]
1315         ]
1316     },
1317     {
1318         "id": "71d2499c.c98928",
1319         "type": "outcomeFalse",
1320         "name": "true",
1321         "xml": "<outcome value='true'>\n",
1322         "comments": "",
1323         "outputs": 1,
1324         "x": 2252.6785049438477,
1325         "y": 1994.345365524292,
1326         "z": "3018bfef.3ec6f",
1327         "wires": [
1328             [
1329                 "b4cda74e.ecf228"
1330             ]
1331         ]
1332     },
1333     {
1334         "id": "99507e8d.3fb04",
1335         "type": "block",
1336         "name": "block",
1337         "xml": "<block>\n",
1338         "atomic": "false",
1339         "comments": "",
1340         "outputs": 1,
1341         "x": 1601.2500228881836,
1342         "y": 1136.2500171661377,
1343         "z": "3018bfef.3ec6f",
1344         "wires": [
1345             [
1346                 "18ac44d0.2f45cb",
1347                 "aa7965a7.8a0268",
1348                 "fe682f55.17228"
1349             ]
1350         ]
1351     },
1352     {
1353         "id": "9b32ad95.a25bc",
1354         "type": "comment",
1355         "name": "Use INPUT vnf-networks to override preload",
1356         "info": "",
1357         "comments": "",
1358         "x": 906.6070709228516,
1359         "y": 1030.7142543792725,
1360         "z": "3018bfef.3ec6f",
1361         "wires": []
1362     },
1363     {
1364         "id": "f6b569a4.ef41e8",
1365         "type": "comment",
1366         "name": "if INPUT vnf-network not in AnAI, use Preload",
1367         "info": "",
1368         "comments": "",
1369         "x": 1957.1429443359375,
1370         "y": 878.2142715454102,
1371         "z": "3018bfef.3ec6f",
1372         "wires": []
1373     },
1374     {
1375         "id": "acfdf9bf.62cbd8",
1376         "type": "switchNode",
1377         "name": "switch: INPUT sbunet-name != NULL",
1378         "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].subnet-name != ''`\">",
1379         "comments": "",
1380         "outputs": 1,
1381         "x": 2384.226348876953,
1382         "y": 1246.8569526672363,
1383         "z": "3018bfef.3ec6f",
1384         "wires": [
1385             [
1386                 "279dbc6a.3dcd44"
1387             ]
1388         ]
1389     },
1390     {
1391         "id": "279dbc6a.3dcd44",
1392         "type": "outcomeTrue",
1393         "name": "true",
1394         "xml": "<outcome value='true'>\n",
1395         "comments": "",
1396         "outputs": 1,
1397         "x": 2621.4763145446777,
1398         "y": 1246.6069316864014,
1399         "z": "3018bfef.3ec6f",
1400         "wires": [
1401             [
1402                 "7a8c22e0.a09bfc"
1403             ]
1404         ]
1405     },
1406     {
1407         "id": "15630d42.609893",
1408         "type": "set",
1409         "name": "set: service-data = AnAI - subnet-id ",
1410         "xml": "<set>\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1411         "comments": "",
1412         "outputs": 1,
1413         "x": 3360.738327026367,
1414         "y": 1360.154670715332,
1415         "z": "3018bfef.3ec6f",
1416         "wires": [
1417             []
1418         ]
1419     },
1420     {
1421         "id": "7a8c22e0.a09bfc",
1422         "type": "switchNode",
1423         "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1424         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1425         "comments": "",
1426         "outputs": 1,
1427         "x": 2487.238311767578,
1428         "y": 1297.1545581817627,
1429         "z": "3018bfef.3ec6f",
1430         "wires": [
1431             [
1432                 "f12b50fc.bf6ec"
1433             ]
1434         ]
1435     },
1436     {
1437         "id": "3e5c8652.818e1a",
1438         "type": "for",
1439         "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1440         "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1441         "comments": "",
1442         "outputs": 1,
1443         "x": 2495.666778564453,
1444         "y": 1361.5831508636475,
1445         "z": "3018bfef.3ec6f",
1446         "wires": [
1447             [
1448                 "1103bb86.f0b774"
1449             ]
1450         ]
1451     },
1452     {
1453         "id": "1103bb86.f0b774",
1454         "type": "switchNode",
1455         "name": "switch: AnAI == INPUT - subnet-name",
1456         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].subnet-name`\">",
1457         "comments": "",
1458         "outputs": 1,
1459         "x": 2868.416732788086,
1460         "y": 1360.8332347869873,
1461         "z": "3018bfef.3ec6f",
1462         "wires": [
1463             [
1464                 "86b2b0cf.39e87"
1465             ]
1466         ]
1467     },
1468     {
1469         "id": "86b2b0cf.39e87",
1470         "type": "outcomeTrue",
1471         "name": "true",
1472         "xml": "<outcome value='true'>\n",
1473         "comments": "",
1474         "outputs": 1,
1475         "x": 3126.819423675537,
1476         "y": 1360.7002630233765,
1477         "z": "3018bfef.3ec6f",
1478         "wires": [
1479             [
1480                 "15630d42.609893"
1481             ]
1482         ]
1483     },
1484     {
1485         "id": "f12b50fc.bf6ec",
1486         "type": "outcomeTrue",
1487         "name": "true",
1488         "xml": "<outcome value='true'>\n",
1489         "comments": "",
1490         "outputs": 1,
1491         "x": 2772.5597953796387,
1492         "y": 1296.7379488945007,
1493         "z": "3018bfef.3ec6f",
1494         "wires": [
1495             [
1496                 "3e5c8652.818e1a"
1497             ]
1498         ]
1499     },
1500     {
1501         "id": "fe682f55.17228",
1502         "type": "switchNode",
1503         "name": "switch: INPUT sbunet-id != NULL",
1504         "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].subnet-id != ''`\">",
1505         "comments": "",
1506         "outputs": 1,
1507         "x": 1877.797794342041,
1508         "y": 1203.0951328277588,
1509         "z": "3018bfef.3ec6f",
1510         "wires": [
1511             [
1512                 "d47a1488.eef628",
1513                 "c9c1e1fa.1b416"
1514             ]
1515         ]
1516     },
1517     {
1518         "id": "b85f607.859b7a",
1519         "type": "set",
1520         "name": "set: data-data = INPUT - subnet-id ",
1521         "xml": "<set>\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].subnet-id\" value=\"`$vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].subnet-id`\" />",
1522         "comments": "",
1523         "outputs": 1,
1524         "x": 2376.0477905273438,
1525         "y": 1203.3451347351074,
1526         "z": "3018bfef.3ec6f",
1527         "wires": [
1528             []
1529         ]
1530     },
1531     {
1532         "id": "d47a1488.eef628",
1533         "type": "outcomeTrue",
1534         "name": "true",
1535         "xml": "<outcome value='true'>\n",
1536         "comments": "",
1537         "outputs": 1,
1538         "x": 2134.0477600097656,
1539         "y": 1202.8451118469238,
1540         "z": "3018bfef.3ec6f",
1541         "wires": [
1542             [
1543                 "b85f607.859b7a"
1544             ]
1545         ]
1546     },
1547     {
1548         "id": "c9c1e1fa.1b416",
1549         "type": "outcomeFalse",
1550         "name": "false",
1551         "xml": "<outcome value='false'>\n",
1552         "comments": "",
1553         "outputs": 1,
1554         "x": 2135.2978019714355,
1555         "y": 1246.8451328277588,
1556         "z": "3018bfef.3ec6f",
1557         "wires": [
1558             [
1559                 "acfdf9bf.62cbd8"
1560             ]
1561         ]
1562     },
1563     {
1564         "id": "a1734fb1.d43be",
1565         "type": "switchNode",
1566         "name": "switch: INPUT ipv6-sbunet-name != NULL",
1567         "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].ipv6-subnet-name != ''`\">",
1568         "comments": "",
1569         "outputs": 1,
1570         "x": 2392.5,
1571         "y": 1475,
1572         "z": "3018bfef.3ec6f",
1573         "wires": [
1574             [
1575                 "e98fe3c1.1cf8c"
1576             ]
1577         ]
1578     },
1579     {
1580         "id": "e98fe3c1.1cf8c",
1581         "type": "outcomeTrue",
1582         "name": "true",
1583         "xml": "<outcome value='true'>\n",
1584         "comments": "",
1585         "outputs": 1,
1586         "x": 2639.7499656677246,
1587         "y": 1474.749979019165,
1588         "z": "3018bfef.3ec6f",
1589         "wires": [
1590             [
1591                 "77179e25.c032f"
1592             ]
1593         ]
1594     },
1595     {
1596         "id": "7618e85b.df1788",
1597         "type": "set",
1598         "name": "set: service-data = AnAI - ipv6-subnet-id ",
1599         "xml": "<set>\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$tmp.AnAI.l3network.subnets.subnet[$i].neutron-subnet-id`\" />",
1600         "comments": "",
1601         "outputs": 1,
1602         "x": 3369.011978149414,
1603         "y": 1588.2977180480957,
1604         "z": "3018bfef.3ec6f",
1605         "wires": [
1606             []
1607         ]
1608     },
1609     {
1610         "id": "77179e25.c032f",
1611         "type": "switchNode",
1612         "name": "switch: tmp.AnAI.l3network.subnets.subnet != NULL",
1613         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length != ''`\">",
1614         "comments": "",
1615         "outputs": 1,
1616         "x": 2495.511962890625,
1617         "y": 1525.2976055145264,
1618         "z": "3018bfef.3ec6f",
1619         "wires": [
1620             [
1621                 "d63d308e.fbbed"
1622             ]
1623         ]
1624     },
1625     {
1626         "id": "4cf11d6a.ec1414",
1627         "type": "for",
1628         "name": "for i : tmp.AnAI.l3network.subnets.subnet[]",
1629         "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
1630         "comments": "",
1631         "outputs": 1,
1632         "x": 2503.9404296875,
1633         "y": 1589.7261981964111,
1634         "z": "3018bfef.3ec6f",
1635         "wires": [
1636             [
1637                 "1eb54f30.ad23b1"
1638             ]
1639         ]
1640     },
1641     {
1642         "id": "1eb54f30.ad23b1",
1643         "type": "switchNode",
1644         "name": "switch: AnAI == INPUT - ipv6-subnet-name",
1645         "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].subnet-name == $vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].ipv6-subnet-name`\">",
1646         "comments": "",
1647         "outputs": 1,
1648         "x": 2876.690383911133,
1649         "y": 1588.976282119751,
1650         "z": "3018bfef.3ec6f",
1651         "wires": [
1652             [
1653                 "bba8b999.fef0c8"
1654             ]
1655         ]
1656     },
1657     {
1658         "id": "bba8b999.fef0c8",
1659         "type": "outcomeTrue",
1660         "name": "true",
1661         "xml": "<outcome value='true'>\n",
1662         "comments": "",
1663         "outputs": 1,
1664         "x": 3135.093074798584,
1665         "y": 1588.8433103561401,
1666         "z": "3018bfef.3ec6f",
1667         "wires": [
1668             [
1669                 "7618e85b.df1788"
1670             ]
1671         ]
1672     },
1673     {
1674         "id": "d63d308e.fbbed",
1675         "type": "outcomeTrue",
1676         "name": "true",
1677         "xml": "<outcome value='true'>\n",
1678         "comments": "",
1679         "outputs": 1,
1680         "x": 2780.8334465026855,
1681         "y": 1524.8809962272644,
1682         "z": "3018bfef.3ec6f",
1683         "wires": [
1684             [
1685                 "4cf11d6a.ec1414"
1686             ]
1687         ]
1688     },
1689     {
1690         "id": "aa7965a7.8a0268",
1691         "type": "switchNode",
1692         "name": "switch: INPUT ipv6-sbunet-id != NULL",
1693         "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].ipv6-subnet-id != ''`\">",
1694         "comments": "",
1695         "outputs": 1,
1696         "x": 1886.071445465088,
1697         "y": 1431.2381801605225,
1698         "z": "3018bfef.3ec6f",
1699         "wires": [
1700             [
1701                 "dba017f7.db9878",
1702                 "db733b1.265eec8"
1703             ]
1704         ]
1705     },
1706     {
1707         "id": "83458f26.3bb7d",
1708         "type": "set",
1709         "name": "set: service-data = INPUT - ipv6-subnet-id ",
1710         "xml": "<set>\n<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks[$k].ipv6-subnet-id\" value=\"`$vnf-topology-operation-input.vnf-request-information.vnf-networks[$i].ipv6-subnet-id`\" />",
1711         "comments": "",
1712         "outputs": 1,
1713         "x": 2393.3214416503906,
1714         "y": 1431.488182067871,
1715         "z": "3018bfef.3ec6f",
1716         "wires": [
1717             []
1718         ]
1719     },
1720     {
1721         "id": "dba017f7.db9878",
1722         "type": "outcomeTrue",
1723         "name": "true",
1724         "xml": "<outcome value='true'>\n",
1725         "comments": "",
1726         "outputs": 1,
1727         "x": 2142.3214111328125,
1728         "y": 1430.9881591796875,
1729         "z": "3018bfef.3ec6f",
1730         "wires": [
1731             [
1732                 "83458f26.3bb7d"
1733             ]
1734         ]
1735     },
1736     {
1737         "id": "db733b1.265eec8",
1738         "type": "outcomeFalse",
1739         "name": "false",
1740         "xml": "<outcome value='false'>\n",
1741         "comments": "",
1742         "outputs": 1,
1743         "x": 2143.5714530944824,
1744         "y": 1474.9881801605225,
1745         "z": "3018bfef.3ec6f",
1746         "wires": [
1747             [
1748                 "a1734fb1.d43be"
1749             ]
1750         ]
1751     },
1752     {
1753         "id": "f8168a86.067868",
1754         "type": "comment",
1755         "name": "Use Preload Data",
1756         "info": "",
1757         "comments": "",
1758         "x": 576,
1759         "y": 1599.5,
1760         "z": "3018bfef.3ec6f",
1761         "wires": []
1762     },
1763     {
1764         "id": "ad2f4a81.8af4e8",
1765         "type": "switchNode",
1766         "name": "switch: service-data...vnf-networks_length",
1767         "xml": "<switch test=\"`$service-data.vnf-topology-information.vnf-assignments.vnf-networks_length`\">",
1768         "comments": "",
1769         "outputs": 1,
1770         "x": 1190.21435546875,
1771         "y": 1803.0714111328125,
1772         "z": "3018bfef.3ec6f",
1773         "wires": [
1774             [
1775                 "27e3bb35.5afc04"
1776             ]
1777         ]
1778     },
1779     {
1780         "id": "27e3bb35.5afc04",
1781         "type": "other",
1782         "name": "NULL",
1783         "xml": "<outcome value=''>\n",
1784         "comments": "",
1785         "outputs": 1,
1786         "x": 1449.7143478393555,
1787         "y": 1803.0714111328125,
1788         "z": "3018bfef.3ec6f",
1789         "wires": [
1790             [
1791                 "c75309.f948fcf8"
1792             ]
1793         ]
1794     },
1795     {
1796         "id": "c75309.f948fcf8",
1797         "type": "switchNode",
1798         "name": "set: service-data...vnf-networks_length = 0",
1799         "xml": "<set>\n\t<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks_length\" value = \"0\" />",
1800         "comments": "",
1801         "outputs": 1,
1802         "x": 1714.4643478393555,
1803         "y": 1803.0714111328125,
1804         "z": "3018bfef.3ec6f",
1805         "wires": [
1806             []
1807         ]
1808     },
1809     {
1810         "id": "98d3927f.7bccf",
1811         "type": "switchNode",
1812         "name": "switch: service-data...vnf-networks_length",
1813         "xml": "<switch test=\"`$service-data.vnf-topology-information.vnf-assignments.vnf-networks_length`\">",
1814         "comments": "",
1815         "outputs": 1,
1816         "x": 817.6786041259766,
1817         "y": 1087.6786041259766,
1818         "z": "3018bfef.3ec6f",
1819         "wires": [
1820             [
1821                 "d2e9cd7e.23312"
1822             ]
1823         ]
1824     },
1825     {
1826         "id": "d2e9cd7e.23312",
1827         "type": "other",
1828         "name": "NULL",
1829         "xml": "<outcome value=''>\n",
1830         "comments": "",
1831         "outputs": 1,
1832         "x": 1077.178596496582,
1833         "y": 1087.6786041259766,
1834         "z": "3018bfef.3ec6f",
1835         "wires": [
1836             [
1837                 "fcd3cd85.688eb"
1838             ]
1839         ]
1840     },
1841     {
1842         "id": "fcd3cd85.688eb",
1843         "type": "switchNode",
1844         "name": "set: service-data...vnf-networks_length = 0",
1845         "xml": "<set>\n\t<parameter name=\"service-data.vnf-topology-information.vnf-assignments.vnf-networks_length\" value = \"0\" />",
1846         "comments": "",
1847         "outputs": 1,
1848         "x": 1341.928596496582,
1849         "y": 1087.6786041259766,
1850         "z": "3018bfef.3ec6f",
1851         "wires": [
1852             []
1853         ]
1854     },
1855     {
1856         "id": "f300366b.1bf838",
1857         "type": "block",
1858         "name": "block",
1859         "xml": "<block>\n",
1860         "atomic": "false",
1861         "comments": "",
1862         "outputs": 1,
1863         "x": 542.1428298950195,
1864         "y": 1036.6786041259766,
1865         "z": "3018bfef.3ec6f",
1866         "wires": [
1867             [
1868                 "98d3927f.7bccf",
1869                 "ae3d7146.3003c"
1870             ]
1871         ]
1872     }
1873 ]