Remove active printContexts from DGs
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vnf-topology-operation-assign.json
1 [
2   {
3     "id":"9ccf5f2f.39236",
4     "type":"dgstart",
5     "name":"DGSTART",
6     "outputs":1,
7     "x":116,
8     "y":91,
9     "z":"fd246789.67c9b8",
10     "wires":[
11       [
12         "6691cc73.e873a4"
13       ]
14     ]
15   },
16   {
17     "id":"6691cc73.e873a4",
18     "type":"service-logic",
19     "name":"GENERIC-RESOURCE-API ${project.version}",
20     "module":"GENERIC-RESOURCE-API",
21     "version":"${project.version}",
22     "comments":"",
23     "xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
24     "outputs":1,
25     "x":229.61902618408203,
26     "y":131.2381134033203,
27     "z":"fd246789.67c9b8",
28     "wires":[
29       [
30         "cc1c0bf8.946078"
31       ]
32     ]
33   },
34   {
35     "id":"cc1c0bf8.946078",
36     "type":"method",
37     "name":"method vnf-topology-operation-assign",
38     "xml":"<method rpc='vnf-topology-operation-assign' mode='sync'>\n",
39     "comments":"",
40     "outputs":1,
41     "x":207.42862701416016,
42     "y":171,
43     "z":"fd246789.67c9b8",
44     "wires":[
45       [
46         "640dc66a.a29d78"
47       ]
48     ]
49   },
50   {
51     "id":"4433df34.49523",
52     "type":"comment",
53     "name":"vnf-topology-operation-assign",
54     "info":"",
55     "comments":"",
56     "x":510.34485626220703,
57     "y":38.58634376525879,
58     "z":"fd246789.67c9b8",
59     "wires":[
60
61     ]
62   },
63   {
64     "id":"69555d22.201ae4",
65     "type":"switchNode",
66     "name":"switch request-action",
67     "xml":"<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
68     "comments":"",
69     "outputs":1,
70     "x":517.8571395874023,
71     "y":368.19043922424316,
72     "z":"fd246789.67c9b8",
73     "wires":[
74       [
75         "21e7c9f9.301dc6",
76         "4592f6ea.c358a8"
77       ]
78     ]
79   },
80   {
81     "id":"21e7c9f9.301dc6",
82     "type":"outcome",
83     "name":"CreateVnfInstance",
84     "xml":"<outcome value='CreateVnfInstance'>\n",
85     "comments":"",
86     "outputs":1,
87     "x":771.5714340209961,
88     "y":345.3333206176758,
89     "z":"fd246789.67c9b8",
90     "wires":[
91       [
92         "68be9a6d.905a74"
93       ]
94     ]
95   },
96   {
97     "id":"4592f6ea.c358a8",
98     "type":"other",
99     "name":"other",
100     "xml":"<outcome value='Other'>\n",
101     "comments":"",
102     "outputs":1,
103     "x":733.5713996887207,
104     "y":391.0476484298706,
105     "z":"fd246789.67c9b8",
106     "wires":[
107       [
108         "f9f1fcba.f8b9a"
109       ]
110     ]
111   },
112   {
113     "id":"68be9a6d.905a74",
114     "type":"block",
115     "name":"block",
116     "xml":"<block>\n",
117     "atomic":"false",
118     "comments":"",
119     "outputs":1,
120     "x":956.4285621643066,
121     "y":345.3333501815796,
122     "z":"fd246789.67c9b8",
123     "wires":[
124       [
125
126       ]
127     ]
128   },
129   {
130     "id":"f9f1fcba.f8b9a",
131     "type":"returnFailure",
132     "name":"return failure",
133     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"If svc-action is 'assign' then request-action must be 'CreateVnfInstance'\" />\n",
134     "comments":"",
135     "x":973.5714073181152,
136     "y":391.0476064682007,
137     "z":"fd246789.67c9b8",
138     "wires":[
139
140     ]
141   },
142   {
143     "id":"640dc66a.a29d78",
144     "type":"block",
145     "name":"block : atomic",
146     "xml":"<block atomic=\"true\">",
147     "atomic":"true",
148     "outputs":1,
149     "x":146.11905670166016,
150     "y":1702.7857055664062,
151     "z":"fd246789.67c9b8",
152     "wires":[
153       [
154         "69555d22.201ae4",
155         "8493543d.d5add8",
156         "44e96447.88a55c",
157         "60a9b28e.fdbd6c",
158         "a2f5b96a.0efe28",
159         "38295564.a1749a",
160         "4b89c8dc.b86128",
161         "fdb92e2f.a354e",
162         "2a1ab274.7c2bee",
163         "992ab3fb.83b44",
164         "181944c4.0d0f9b",
165         "41755ac8.072364",
166         "e106d4bd.0d1078",
167         "1b1ec882.086847",
168         "2567269e.02750a",
169         "da9c0753.0051f8",
170         "e38c22e2.cce52",
171         "66001fe6.d89e4",
172         "99ebc7f4.ea5d68",
173         "c1d69c5f.488e1",
174         "71b9cf5e.13115",
175         "4bbcb529.9daacc",
176         "12e97c5b.66ee84",
177         "3d1f814c.368f2e",
178         "3315c9d5.fbc886",
179         "435802ab.cae41c",
180         "79756539.60282c",
181         "ca1ff11f.a4d9c",
182         "a7335a29.c13d48",
183         "ffd11c87.313e8",
184         "c8f006fe.b172c8"
185       ]
186     ]
187   },
188   {
189     "id":"8493543d.d5add8",
190     "type":"get-resource",
191     "name":"get-resource VF_MODEL",
192     "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n  pfx='db.vf-model'>\n\n",
193     "comments":"",
194     "outputs":1,
195     "x":530.1904449462891,
196     "y":459.333309173584,
197     "z":"fd246789.67c9b8",
198     "wires":[
199       [
200         "d5535827.ea8598",
201         "48a8f1af.2c0e6"
202       ]
203     ]
204   },
205   {
206     "id":"6f7a7f57.b3d91",
207     "type":"returnFailure",
208     "name":"return failure",
209     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No model found for VNF customization UUID ' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />\n",
210     "comments":"",
211     "x":971.6189231872559,
212     "y":482.7617950439453,
213     "z":"fd246789.67c9b8",
214     "wires":[
215
216     ]
217   },
218   {
219     "id":"d5535827.ea8598",
220     "type":"failure",
221     "name":"failure",
222     "xml":"<outcome value='failure'>\n",
223     "comments":"",
224     "outputs":1,
225     "x":730.9761428833008,
226     "y":439.7141466140747,
227     "z":"fd246789.67c9b8",
228     "wires":[
229       [
230         "6cb659f6.a3ccc8"
231       ]
232     ]
233   },
234   {
235     "id":"48a8f1af.2c0e6",
236     "type":"not-found",
237     "name":"not-found",
238     "xml":"<outcome value='not-found'>\n",
239     "comments":"",
240     "outputs":1,
241     "x":739.5475730895996,
242     "y":483.9998598098755,
243     "z":"fd246789.67c9b8",
244     "wires":[
245       [
246         "6f7a7f57.b3d91"
247       ]
248     ]
249   },
250   {
251     "id":"6cb659f6.a3ccc8",
252     "type":"returnFailure",
253     "name":"return failure",
254     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error reading VF_MODEL table\" />\n",
255     "comments":"",
256     "x":970.9761238098145,
257     "y":437.85705375671387,
258     "z":"fd246789.67c9b8",
259     "wires":[
260
261     ]
262   },
263   {
264     "id":"44e96447.88a55c",
265     "type":"switchNode",
266     "name":"switch service-data.vnfs.vnf_length",
267     "xml":"<switch test='`$service-data.vnfs.vnf_length`'>\n",
268     "comments":"",
269     "outputs":1,
270     "x":560.2857131958008,
271     "y":649.5714282989502,
272     "z":"fd246789.67c9b8",
273     "wires":[
274       [
275         "b5587c41.e56ce",
276         "7e264606.a0c498"
277       ]
278     ]
279   },
280   {
281     "id":"b5587c41.e56ce",
282     "type":"other",
283     "name":"NULL",
284     "xml":"<outcome value=''>\n",
285     "comments":"",
286     "outputs":1,
287     "x":786.0000419616699,
288     "y":616.7142162322998,
289     "z":"fd246789.67c9b8",
290     "wires":[
291       [
292         "35287950.3f0336"
293       ]
294     ]
295   },
296   {
297     "id":"35287950.3f0336",
298     "type":"set",
299     "name":"set vnf-index=0",
300     "xml":"<set>\n<parameter name='vnf-index' value='0' />\n",
301     "comments":"",
302     "x":950.2857627868652,
303     "y":615.7142944335938,
304     "z":"fd246789.67c9b8",
305     "wires":[
306
307     ]
308   },
309   {
310     "id":"7e264606.a0c498",
311     "type":"other",
312     "name":"other",
313     "xml":"<outcome value='Other'>\n",
314     "comments":"",
315     "outputs":1,
316     "x":787.4286041259766,
317     "y":681.0000343322754,
318     "z":"fd246789.67c9b8",
319     "wires":[
320       [
321         "1e55cf6a.800ac1"
322       ]
323     ]
324   },
325   {
326     "id":"f93c00a3.b52d2",
327     "type":"set",
328     "name":"set vnf-index = vnf_length",
329     "xml":"<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",
330     "comments":"",
331     "x":1126.285758972168,
332     "y":659.285722732544,
333     "z":"fd246789.67c9b8",
334     "wires":[
335
336     ]
337   },
338   {
339     "id":"c5a883a5.29173",
340     "type":"for",
341     "name":"for each existing VNF",
342     "xml":"<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
343     "comments":"",
344     "outputs":1,
345     "x":1111.7142715454102,
346     "y":705.2856616973877,
347     "z":"fd246789.67c9b8",
348     "wires":[
349       [
350         "a2daf07b.6ee38"
351       ]
352     ]
353   },
354   {
355     "id":"1e55cf6a.800ac1",
356     "type":"block",
357     "name":"block",
358     "xml":"<block>\n",
359     "atomic":"false",
360     "comments":"",
361     "outputs":1,
362     "x":923.1428642272949,
363     "y":681,
364     "z":"fd246789.67c9b8",
365     "wires":[
366       [
367         "f93c00a3.b52d2",
368         "c5a883a5.29173"
369       ]
370     ]
371   },
372   {
373     "id":"a2daf07b.6ee38",
374     "type":"switchNode",
375     "name":"switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",
376     "xml":"<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",
377     "comments":"",
378     "outputs":1,
379     "x":1466.0000381469727,
380     "y":704.857141494751,
381     "z":"fd246789.67c9b8",
382     "wires":[
383       [
384         "a768ca3d.d2e178"
385       ]
386     ]
387   },
388   {
389     "id":"a768ca3d.d2e178",
390     "type":"outcomeTrue",
391     "name":"true",
392     "xml":"<outcome value='true'>\n",
393     "comments":"",
394     "outputs":1,
395     "x":1760.2857475280762,
396     "y":704.4286136627197,
397     "z":"fd246789.67c9b8",
398     "wires":[
399       [
400         "4be53ad3.39d424"
401       ]
402     ]
403   },
404   {
405     "id":"4be53ad3.39d424",
406     "type":"returnFailure",
407     "name":"return failure",
408     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\n      + ' already exists, and has order status ' + $service-data.vnfs.vnf[$idx].vnf-data.vnf-level-oper-status.order-status`\" />\n",
409     "comments":"",
410     "x":1908.8571548461914,
411     "y":704.4285736083984,
412     "z":"fd246789.67c9b8",
413     "wires":[
414
415     ]
416   },
417   {
418     "id":"5528274.a4ca8d8",
419     "type":"comment",
420     "name":"make sure this VNF doesn't exist already",
421     "info":"",
422     "comments":"",
423     "x":1453.1427688598633,
424     "y":662.4285717010498,
425     "z":"fd246789.67c9b8",
426     "wires":[
427
428     ]
429   },
430   {
431     "id":"60a9b28e.fdbd6c",
432     "type":"set",
433     "name":"set vnf-topology data",
434     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id'\n value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-type'\n value='`$vnf-topology-operation-input.vnf-information.vnf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-type'\n value='`$db.vf-model.nf-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-role'\n value='`$db.vf-model.nf-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-function'\n value='`$db.vf-model.nf-function`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-code'\n value='`$db.vf-model.nf-code`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.tenant'\n value='`$vnf-topology-operation-input.vnf-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-cloud-region'\n value='`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`' />\n \n",
435     "comments":"",
436     "x":515.9999694824219,
437     "y":811.238115310669,
438     "z":"fd246789.67c9b8",
439     "wires":[
440
441     ]
442   },
443   {
444     "id":"a2f5b96a.0efe28",
445     "type":"switchNode",
446     "name":"switch input vnf-name",
447     "xml":"<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-name`'>\n",
448     "comments":"",
449     "outputs":1,
450     "x":522.4285507202148,
451     "y":1053.8571615219116,
452     "z":"fd246789.67c9b8",
453     "wires":[
454       [
455         "a74ff6a8.d70078",
456         "5026858f.a2940c"
457       ]
458     ]
459   },
460   {
461     "id":"a74ff6a8.d70078",
462     "type":"outcome",
463     "name":"NULL",
464     "xml":"<outcome value=''>",
465     "comments":"",
466     "outputs":1,
467     "x":790.6427726745605,
468     "y":976.8333864212036,
469     "z":"fd246789.67c9b8",
470     "wires":[
471       [
472         "a1df7746.405bc8"
473       ]
474     ]
475   },
476   {
477     "id":"a535733d.56088",
478     "type":"switchNode",
479     "name":"switch ecomp-generated-naming",
480     "xml":"<switch test='`$db.vf-model.ecomp-generated-naming`'>\n",
481     "comments":"",
482     "outputs":1,
483     "x":1207.071662902832,
484     "y":883.5002059936523,
485     "z":"fd246789.67c9b8",
486     "wires":[
487       [
488         "c481f2.a0820e1",
489         "fed6ce07.f1c9b",
490         "3606bd75.f9d982"
491       ]
492     ]
493   },
494   {
495     "id":"a1df7746.405bc8",
496     "type":"block",
497     "name":"block : atomic",
498     "xml":"<block atomic=\"true\">",
499     "atomic":"true",
500     "outputs":1,
501     "x":936.3572692871094,
502     "y":976.833498954773,
503     "z":"fd246789.67c9b8",
504     "wires":[
505       [
506         "ba81df66.145ca",
507         "a99511f6.3ff61",
508         "a535733d.56088"
509       ]
510     ]
511   },
512   {
513     "id":"fed6ce07.f1c9b",
514     "type":"outcome",
515     "name":"N",
516     "xml":"<outcome value='N'>",
517     "comments":"",
518     "outputs":1,
519     "x":1456.357322692871,
520     "y":885.404914855957,
521     "z":"fd246789.67c9b8",
522     "wires":[
523       [
524         "10b3babc.98e1d5"
525       ]
526     ]
527   },
528   {
529     "id":"10b3babc.98e1d5",
530     "type":"returnFailure",
531     "name":"return failure",
532     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"No vnf-name was received but ecomp-generated-naming is not Y\" />\n",
533     "comments":"",
534     "x":1610.64310836792,
535     "y":903.9763593673706,
536     "z":"fd246789.67c9b8",
537     "wires":[
538
539     ]
540   },
541   {
542     "id":"c481f2.a0820e1",
543     "type":"outcome",
544     "name":"Y",
545     "xml":"<outcome value='Y'>",
546     "comments":"",
547     "outputs":1,
548     "x":1456.3572883605957,
549     "y":841.1192359924316,
550     "z":"fd246789.67c9b8",
551     "wires":[
552       [
553         "785bb471.695f2c"
554       ]
555     ]
556   },
557   {
558     "id":"3606bd75.f9d982",
559     "type":"other",
560     "name":"other",
561     "xml":"<outcome value='Other'>\n",
562     "comments":"",
563     "outputs":1,
564     "x":1456.357250213623,
565     "y":931.119234085083,
566     "z":"fd246789.67c9b8",
567     "wires":[
568       [
569         "10b3babc.98e1d5"
570       ]
571     ]
572   },
573   {
574     "id":"785bb471.695f2c",
575     "type":"block",
576     "name":"block",
577     "xml":"<block>\n",
578     "atomic":"false",
579     "comments":"",
580     "outputs":1,
581     "x":1593.5002326965332,
582     "y":841.1192359924316,
583     "z":"fd246789.67c9b8",
584     "wires":[
585       [
586
587       ]
588     ]
589   },
590   {
591     "id":"5026858f.a2940c",
592     "type":"other",
593     "name":"other",
594     "xml":"<outcome value='Other'>\n",
595     "comments":"",
596     "outputs":1,
597     "x":793.2144546508789,
598     "y":1123.119125366211,
599     "z":"fd246789.67c9b8",
600     "wires":[
601       [
602         "14a356a5.aabd79"
603       ]
604     ]
605   },
606   {
607     "id":"3f38f6a8.e8ae7a",
608     "type":"set",
609     "name":"set tmp.vnf-name",
610     "xml":"<set>\n<parameter name='tmp.vnf-name' value=\"`$vnf-topology-operation-input.vnf-request-input.vnf-name`\" />\n",
611     "comments":"",
612     "x":1752.0715306599936,
613     "y":1190.5476417541504,
614     "z":"fd246789.67c9b8",
615     "wires":[
616
617     ]
618   },
619   {
620     "id":"ba81df66.145ca",
621     "type":"call",
622     "name":"call GENERIC-RESOURCE-API:generate-unique-name",
623     "xml":"<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",
624     "comments":"",
625     "outputs":1,
626     "x":1275.4763259887695,
627     "y":1049.8333959579468,
628     "z":"fd246789.67c9b8",
629     "wires":[
630       [
631         "d2300850.ff9928",
632         "88893e9e.26f3"
633       ]
634     ]
635   },
636   {
637     "id":"d2300850.ff9928",
638     "type":"failure",
639     "name":"failure",
640     "xml":"<outcome value='failure'>\n",
641     "comments":"",
642     "outputs":1,
643     "x":1571.1906140645347,
644     "y":1022.6906585693359,
645     "z":"fd246789.67c9b8",
646     "wires":[
647       [
648         "a2f8f6ce.0d9048"
649       ]
650     ]
651   },
652   {
653     "id":"88893e9e.26f3",
654     "type":"success",
655     "name":"success",
656     "xml":"<outcome value='success'>\n",
657     "comments":"",
658     "outputs":1,
659     "x":1574.5239639282227,
660     "y":1074.3573017120361,
661     "z":"fd246789.67c9b8",
662     "wires":[
663       [
664         "e379d995.8d07c8"
665       ]
666     ]
667   },
668   {
669     "id":"a99511f6.3ff61",
670     "type":"set",
671     "name":"set variables for generating unique name",
672     "xml":"<set>\n<parameter name='generate-unique-name-input.index-table-name' value='VNF_NAME_INDEX' />\n<parameter name='generate-unique-name-input.index-table-prefix-column' value='vnf_name_prefix' />\n<parameter name='generate-unique-name-input.name-table-type' value='VNF_INSTANCE' />\n<parameter name='generate-unique-name-input.prefix' value=\"`'z' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + $db.vf-model.nf-code`\" />\n<parameter name='generate-unique-name-input.index-length' value='2' />\n",
673     "comments":"",
674     "x":1232.1430130004883,
675     "y":998.1668043136597,
676     "z":"fd246789.67c9b8",
677     "wires":[
678
679     ]
680   },
681   {
682     "id":"e379d995.8d07c8",
683     "type":"set",
684     "name":"set tmp.vnf-name to generated name",
685     "xml":"<set>\n<parameter name='tmp.vnf-name' value='`$generate-unique-name-output.generated-name`' />\n",
686     "comments":"",
687     "x":1815.7143491109214,
688     "y":1074.8333930969238,
689     "z":"fd246789.67c9b8",
690     "wires":[
691
692     ]
693   },
694   {
695     "id":"a2f8f6ce.0d9048",
696     "type":"returnFailure",
697     "name":"return failure",
698     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`$generate-unique-name-output.error-message`\" />\n",
699     "comments":"",
700     "x":1739.0477269490561,
701     "y":1022.1191701889038,
702     "z":"fd246789.67c9b8",
703     "wires":[
704
705     ]
706   },
707   {
708     "id":"14a356a5.aabd79",
709     "type":"block",
710     "name":"block : atomic",
711     "xml":"<block atomic=\"true\">",
712     "atomic":"true",
713     "outputs":1,
714     "x":941.1429824829102,
715     "y":1121.7858123779297,
716     "z":"fd246789.67c9b8",
717     "wires":[
718       [
719         "ddf542b0.c6011",
720         "fea292da.2d62c"
721       ]
722     ]
723   },
724   {
725     "id":"fea292da.2d62c",
726     "type":"call",
727     "name":"call GENERIC-RESOURCE-API:generate-unique-name",
728     "xml":"<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",
729     "comments":"",
730     "outputs":1,
731     "x":1271.1429824829102,
732     "y":1169.7858123779297,
733     "z":"fd246789.67c9b8",
734     "wires":[
735       [
736         "fe79a9ce.cff238",
737         "854320f4.a6951"
738       ]
739     ]
740   },
741   {
742     "id":"fe79a9ce.cff238",
743     "type":"failure",
744     "name":"failure",
745     "xml":"<outcome value='failure'>\n",
746     "comments":"",
747     "outputs":1,
748     "x":1569.7143987019858,
749     "y":1139.785837173462,
750     "z":"fd246789.67c9b8",
751     "wires":[
752       [
753         "c71b771e.d085f8"
754       ]
755     ]
756   },
757   {
758     "id":"854320f4.a6951",
759     "type":"success",
760     "name":"success",
761     "xml":"<outcome value='success'>\n",
762     "comments":"",
763     "outputs":1,
764     "x":1573.0477485656738,
765     "y":1191.452480316162,
766     "z":"fd246789.67c9b8",
767     "wires":[
768       [
769         "3f38f6a8.e8ae7a"
770       ]
771     ]
772   },
773   {
774     "id":"ddf542b0.c6011",
775     "type":"set",
776     "name":"set variables for generating unique name",
777     "xml":"<set>\n<parameter name='generate-unique-name-input.name-table-type' value='VNF_INSTANCE' />\n<parameter name='generate-unique-name-input.supplied-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-name`' />\n",
778     "comments":"",
779     "x":1227.8096542358398,
780     "y":1118.1191844940186,
781     "z":"fd246789.67c9b8",
782     "wires":[
783
784     ]
785   },
786   {
787     "id":"c71b771e.d085f8",
788     "type":"returnFailure",
789     "name":"return failure",
790     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`$generate-unique-name-output.error-message`\" />\n",
791     "comments":"",
792     "x":1737.5715115865073,
793     "y":1139.2143487930298,
794     "z":"fd246789.67c9b8",
795     "wires":[
796
797     ]
798   },
799   {
800     "id":"38295564.a1749a",
801     "type":"get-resource",
802     "name":"get-resource cloud region",
803     "xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"cloud-region\" \n\t\tkey=\"cloud-region.cloud-owner = 'CloudOwner' AND \n\t\t     cloud-region.cloud-region-id = $vnf-topology-operation-input.vnf-request-input.aic-cloud-region AND\n\t\t     depth='0'\"\n        pfx='aai.cloud-region' local-only='false' >\n\n",
804     "comments":"",
805     "outputs":1,
806     "x":544.5714492797852,
807     "y":1731.8569984436035,
808     "z":"fd246789.67c9b8",
809     "wires":[
810       [
811         "705615f3.8b4c9c",
812         "ad2a9079.440fb"
813       ]
814     ]
815   },
816   {
817     "id":"ad2a9079.440fb",
818     "type":"failure",
819     "name":"failure",
820     "xml":"<outcome value='failure'>\n",
821     "comments":"",
822     "outputs":1,
823     "x":769.8176422119141,
824     "y":1750.00785446167,
825     "z":"fd246789.67c9b8",
826     "wires":[
827       [
828         "2721b55e.e28fda"
829       ]
830     ]
831   },
832   {
833     "id":"2721b55e.e28fda",
834     "type":"returnFailure",
835     "name":"return failure",
836     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error retrieving cloud region from AAI\" />\n",
837     "comments":"",
838     "x":944.8176155090332,
839     "y":1750.007890701294,
840     "z":"fd246789.67c9b8",
841     "wires":[
842
843     ]
844   },
845   {
846     "id":"705615f3.8b4c9c",
847     "type":"not-found",
848     "name":"not-found",
849     "xml":"<outcome value='not-found'>\n",
850     "comments":"",
851     "outputs":1,
852     "x":778.7462387084961,
853     "y":1708.2935876846313,
854     "z":"fd246789.67c9b8",
855     "wires":[
856       [
857         "5e971bd2.c85374"
858       ]
859     ]
860   },
861   {
862     "id":"5e971bd2.c85374",
863     "type":"returnFailure",
864     "name":"return failure",
865     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Cloud region not found in AAI\" />\n",
866     "comments":"",
867     "x":945.095516204834,
868     "y":1707.5991649627686,
869     "z":"fd246789.67c9b8",
870     "wires":[
871
872     ]
873   },
874   {
875     "id":"4b89c8dc.b86128",
876     "type":"get-resource",
877     "name":"get-resource VF_TO_NETWORK_ROLE_MAPPING",
878     "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_TO_NETWORK_ROLE_MAPPING WHERE vf_customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n  pfx='db.vf-network-role-mapping[]'>\n\n",
879     "comments":"",
880     "outputs":1,
881     "x":609.8095321655273,
882     "y":2042.9045181274414,
883     "z":"fd246789.67c9b8",
884     "wires":[
885       [
886         "54fe96c4.2ade08",
887         "73ebe04c.8877"
888       ]
889     ]
890   },
891   {
892     "id":"fc2923af.cfa16",
893     "type":"returnFailure",
894     "name":"return failure",
895     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No entries found in VF_TO_NETWORK_ROLE_MAPPING for VNF customization UUID ' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />\n",
896     "comments":"",
897     "x":1345.5237121582031,
898     "y":2060.618698120117,
899     "z":"fd246789.67c9b8",
900     "wires":[
901
902     ]
903   },
904   {
905     "id":"54fe96c4.2ade08",
906     "type":"failure",
907     "name":"failure",
908     "xml":"<outcome value='failure'>\n",
909     "comments":"",
910     "outputs":1,
911     "x":905.5952033996582,
912     "y":2021.6186828613281,
913     "z":"fd246789.67c9b8",
914     "wires":[
915       [
916         "359e53d8.b8194c"
917       ]
918     ]
919   },
920   {
921     "id":"73ebe04c.8877",
922     "type":"not-found",
923     "name":"not-found",
924     "xml":"<outcome value='not-found'>\n",
925     "comments":"",
926     "outputs":1,
927     "x":914.166633605957,
928     "y":2065.904396057129,
929     "z":"fd246789.67c9b8",
930     "wires":[
931       [
932         "ce44b8cb.59b0b8"
933       ]
934     ]
935   },
936   {
937     "id":"359e53d8.b8194c",
938     "type":"returnFailure",
939     "name":"return failure",
940     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error reading VF_TO_NETWORK_ROLE_MAPPING table\" />\n",
941     "comments":"",
942     "x":1080.5951843261719,
943     "y":2021.4283332824707,
944     "z":"fd246789.67c9b8",
945     "wires":[
946
947     ]
948   },
949   {
950     "id":"256b9444.46e22c",
951     "type":"block",
952     "name":"block : atomic",
953     "xml":"<block atomic=\"true\">",
954     "atomic":"true",
955     "outputs":1,
956     "x":710.5715866088867,
957     "y":2491.71391582489,
958     "z":"fd246789.67c9b8",
959     "wires":[
960       [
961         "94f38af4.602b28",
962         "94677688.71e6b8",
963         "adf1fe7e.9a17b",
964         "aae66b2d.04c758",
965         "f2668cde.bd454",
966         "2eaed654.44544a",
967         "ebe74367.6c98d",
968         "a16a767c.1d4a58"
969       ]
970     ]
971   },
972   {
973     "id":"adf1fe7e.9a17b",
974     "type":"get-resource",
975     "name":"get-resource l3-network",
976     "xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-networks\" \n\t\tkey=\"l3-network.network-role = $db.vf-network-role-mapping[$role-index].network-role\"\n        pfx='aai.l3-network' local-only='false'\n>\n",
977     "comments":"",
978     "outputs":1,
979     "x":943.4286041259766,
980     "y":2170.999779701233,
981     "z":"fd246789.67c9b8",
982     "wires":[
983       [
984         "e410cae.f805538",
985         "d30ae5a6.b9bd78"
986       ]
987     ]
988   },
989   {
990     "id":"d30ae5a6.b9bd78",
991     "type":"failure",
992     "name":"failure",
993     "xml":"<outcome value='failure'>\n",
994     "comments":"",
995     "outputs":1,
996     "x":1147.476318359375,
997     "y":2193.1426191329956,
998     "z":"fd246789.67c9b8",
999     "wires":[
1000       [
1001         "3ac2e1b4.70cbce"
1002       ]
1003     ]
1004   },
1005   {
1006     "id":"3ac2e1b4.70cbce",
1007     "type":"returnFailure",
1008     "name":"return failure",
1009     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error retrieving l3-network from AAI\" />\n",
1010     "comments":"",
1011     "x":1322.4762916564941,
1012     "y":2193.1426553726196,
1013     "z":"fd246789.67c9b8",
1014     "wires":[
1015
1016     ]
1017   },
1018   {
1019     "id":"e410cae.f805538",
1020     "type":"not-found",
1021     "name":"not-found",
1022     "xml":"<outcome value='not-found'>\n",
1023     "comments":"",
1024     "outputs":1,
1025     "x":1156.404914855957,
1026     "y":2151.428352355957,
1027     "z":"fd246789.67c9b8",
1028     "wires":[
1029       [
1030         "5d3fbb26.bfed54"
1031       ]
1032     ]
1033   },
1034   {
1035     "id":"5d3fbb26.bfed54",
1036     "type":"returnFailure",
1037     "name":"return failure",
1038     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No active l3-network found in AAI with cloud_region_id '\n          + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + ' and network_role '\n          + $db.vf-network-role-mapping[$network-index].network-role`\" />\n",
1039     "comments":"",
1040     "x":1322.754192352295,
1041     "y":2150.7339296340942,
1042     "z":"fd246789.67c9b8",
1043     "wires":[
1044
1045     ]
1046   },
1047   {
1048     "id":"94f38af4.602b28",
1049     "type":"set",
1050     "name":"set vnf-network data",
1051     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-role'\n    value='`$db.vf-network-role-mapping[$role-index].network-role`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-name'\n    value='`$aai.l3-network.l3-network[$db-network-index].network-name`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].neutron-id'\n    value='`$aai.l3-network.l3-network[$db-network-index].neutron-network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].network-id'\n    value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].contrail-network-fqdn'\n    value='`$aai.l3-network.l3-network[$db-network-index].contrail-network-fqdn`' />\n",
1052     "comments":"",
1053     "x":932.6191940307617,
1054     "y":2658.0000228881836,
1055     "z":"fd246789.67c9b8",
1056     "wires":[
1057
1058     ]
1059   },
1060   {
1061     "id":"181944c4.0d0f9b",
1062     "type":"for",
1063     "name":"for each cloud-region availability zone",
1064     "xml":"<for index='idx' start='0' end='`$aai.az.availability-zone_length`' >\n",
1065     "comments":"",
1066     "outputs":1,
1067     "x":544.3335571289062,
1068     "y":3072.618803024292,
1069     "z":"fd246789.67c9b8",
1070     "wires":[
1071       [
1072         "7193ae4f.a03bb"
1073       ]
1074     ]
1075   },
1076   {
1077     "id":"bec7777f.49caa8",
1078     "type":"set",
1079     "name":"set availability-zone",
1080     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone[$idx]'\n  value='`$aai.az.availability-zone[$idx].availability-zone-name`' />\n",
1081     "comments":"",
1082     "x":1006.0002403259277,
1083     "y":3041.952217102051,
1084     "z":"fd246789.67c9b8",
1085     "wires":[
1086
1087     ]
1088   },
1089   {
1090     "id":"41755ac8.072364",
1091     "type":"set",
1092     "name":"set vnf-parameters-data",
1093     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.'\n  value='vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.' />\n",
1094     "comments":"",
1095     "x":503.9524841308594,
1096     "y":2922.5711631774902,
1097     "z":"fd246789.67c9b8",
1098     "wires":[
1099
1100     ]
1101   },
1102   {
1103     "id":"4fed1d67.892644",
1104     "type":"save",
1105     "name":"save generic-vnf l3-network relationships",
1106     "xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf:relationship-list\"\n   key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"l3-network\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"l3-network.network-id\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-nw-index].network-id`\" />\n",
1107     "comments":"",
1108     "outputs":1,
1109     "x":970.5240173339844,
1110     "y":3216.381015777588,
1111     "z":"fd246789.67c9b8",
1112     "wires":[
1113       [
1114         "b6fac54b.97ab18",
1115         "8f7c44dc.2bfaf8"
1116       ]
1117     ]
1118   },
1119   {
1120     "id":"2567269e.02750a",
1121     "type":"returnSuccess",
1122     "name":"return success",
1123     "xml":"<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
1124     "comments":"",
1125     "x":467.0953674316406,
1126     "y":3603.1901140213013,
1127     "z":"fd246789.67c9b8",
1128     "wires":[
1129
1130     ]
1131   },
1132   {
1133     "id":"1b1ec882.086847",
1134     "type":"set",
1135     "name":"set vnf-level-oper-status to PendingCreate",
1136     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
1137     "comments":"",
1138     "x":556.9088134765625,
1139     "y":3505.527594566345,
1140     "z":"fd246789.67c9b8",
1141     "wires":[
1142
1143     ]
1144   },
1145   {
1146     "id":"2a1ab274.7c2bee",
1147     "type":"for",
1148     "name":"for each network-role",
1149     "xml":"<for index='role-index' start='0' end='`$db.vf-network-role-mapping_length`'>",
1150     "comments":"",
1151     "outputs":1,
1152     "x":493.90489196777344,
1153     "y":2491.7141189575195,
1154     "z":"fd246789.67c9b8",
1155     "wires":[
1156       [
1157         "256b9444.46e22c"
1158       ]
1159     ]
1160   },
1161   {
1162     "id":"fdb92e2f.a354e",
1163     "type":"set",
1164     "name":"set network-index = 0",
1165     "xml":"<set>\n<parameter name='network-index' value='0' />\n",
1166     "comments":"",
1167     "x":512.2380676269531,
1168     "y":2109.8094577789307,
1169     "z":"fd246789.67c9b8",
1170     "wires":[
1171
1172     ]
1173   },
1174   {
1175     "id":"94677688.71e6b8",
1176     "type":"set",
1177     "name":"increment network-index",
1178     "xml":"<set>\n<parameter name='network-index' value='`$network-index + 1`' />\n",
1179     "comments":"",
1180     "x":942.9525146484375,
1181     "y":2795.6189250946045,
1182     "z":"fd246789.67c9b8",
1183     "wires":[
1184
1185     ]
1186   },
1187   {
1188     "id":"992ab3fb.83b44",
1189     "type":"set",
1190     "name":"set vnf-network_length",
1191     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length'\n  value='`$network-index`' />\n",
1192     "comments":"",
1193     "x":502.8095703125,
1194     "y":2872.571207046509,
1195     "z":"fd246789.67c9b8",
1196     "wires":[
1197
1198     ]
1199   },
1200   {
1201     "id":"e106d4bd.0d1078",
1202     "type":"set",
1203     "name":"copy input data",
1204     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' value='$vnf-topology-operation-input.vnf-request-input.' />\n\n",
1205     "comments":"",
1206     "x":472.4286422729492,
1207     "y":3453.1904258728027,
1208     "z":"fd246789.67c9b8",
1209     "wires":[
1210
1211     ]
1212   },
1213   {
1214     "id":"da9c0753.0051f8",
1215     "type":"for",
1216     "name":"for each vnf-network",
1217     "xml":"<for index='vnf-nw-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",
1218     "comments":"",
1219     "outputs":1,
1220     "x":493.52392578125,
1221     "y":3215.380931854248,
1222     "z":"fd246789.67c9b8",
1223     "wires":[
1224       [
1225         "4dd068e4.b72dc8"
1226       ]
1227     ]
1228   },
1229   {
1230     "id":"4dd068e4.b72dc8",
1231     "type":"block",
1232     "name":"block : atomic",
1233     "xml":"<block atomic=\"true\">",
1234     "atomic":"true",
1235     "outputs":1,
1236     "x":697.1905670166016,
1237     "y":3215.380892753601,
1238     "z":"fd246789.67c9b8",
1239     "wires":[
1240       [
1241         "4fed1d67.892644"
1242       ]
1243     ]
1244   },
1245   {
1246     "id":"e38c22e2.cce52",
1247     "type":"set",
1248     "name":"set new vnf_length",
1249     "xml":"<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",
1250     "comments":"",
1251     "x":508.0952491760254,
1252     "y":765.7619781494141,
1253     "z":"fd246789.67c9b8",
1254     "wires":[
1255
1256     ]
1257   },
1258   {
1259     "id":"66001fe6.d89e4",
1260     "type":"for",
1261     "name":"for each cloud-region relationship",
1262     "xml":"<for index='idx' start='0' end='`$aai.cloud-region.relationship-list.relationship_length`' >\n",
1263     "comments":"",
1264     "outputs":1,
1265     "x":557.4285736083984,
1266     "y":1819.0951700210571,
1267     "z":"fd246789.67c9b8",
1268     "wires":[
1269       [
1270         "c5d7b884.059e78"
1271       ]
1272     ]
1273   },
1274   {
1275     "id":"c5d7b884.059e78",
1276     "type":"switchNode",
1277     "name":"switch related-to",
1278     "xml":"<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n",
1279     "comments":"",
1280     "outputs":1,
1281     "x":805.1071166992188,
1282     "y":1818.8450994491577,
1283     "z":"fd246789.67c9b8",
1284     "wires":[
1285       [
1286         "2d88636e.c052fc"
1287       ]
1288     ]
1289   },
1290   {
1291     "id":"2d88636e.c052fc",
1292     "type":"outcome",
1293     "name":"complex",
1294     "xml":"<outcome value='complex'>\n",
1295     "comments":"",
1296     "outputs":1,
1297     "x":974.5714378356934,
1298     "y":1818.2379217147827,
1299     "z":"fd246789.67c9b8",
1300     "wires":[
1301       [
1302         "7c602050.7b0ac"
1303       ]
1304     ]
1305   },
1306   {
1307     "id":"cbda08be.5e00d8",
1308     "type":"set",
1309     "name":"set aic-clli",
1310     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli'\n  value='`$aai-uid-split[$aai-uid-split_length - 1]`' />\n",
1311     "comments":"",
1312     "x":1295.2857360839844,
1313     "y":1817.9045791625977,
1314     "z":"fd246789.67c9b8",
1315     "wires":[
1316
1317     ]
1318   },
1319   {
1320     "id":"99ebc7f4.ea5d68",
1321     "type":"switchNode",
1322     "name":"switch aic-clli",
1323     "xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli`'>\n",
1324     "comments":"",
1325     "outputs":1,
1326     "x":493.3333511352539,
1327     "y":1975.0474872589111,
1328     "z":"fd246789.67c9b8",
1329     "wires":[
1330       [
1331         "1bb0c6a6.aa0059"
1332       ]
1333     ]
1334   },
1335   {
1336     "id":"1bb0c6a6.aa0059",
1337     "type":"outcome",
1338     "name":"NULL",
1339     "xml":"<outcome value=''>",
1340     "comments":"",
1341     "outputs":1,
1342     "x":641.4761848449707,
1343     "y":1975.0474700927734,
1344     "z":"fd246789.67c9b8",
1345     "wires":[
1346       [
1347         "9d910b9.8f160f8"
1348       ]
1349     ]
1350   },
1351   {
1352     "id":"9d910b9.8f160f8",
1353     "type":"returnFailure",
1354     "name":"return failure",
1355     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unable to find aic-clli in AAI for aic-cloud-region ' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n",
1356     "comments":"",
1357     "x":788.6190452575684,
1358     "y":1974.6189041137695,
1359     "z":"fd246789.67c9b8",
1360     "wires":[
1361
1362     ]
1363   },
1364   {
1365     "id":"911708ca.a4ec28",
1366     "type":"set",
1367     "name":"set from DB",
1368     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-model.invariant-uuid`' />\n",
1369     "comments":"",
1370     "x":916.9287452697754,
1371     "y":1291.0475587844849,
1372     "z":"fd246789.67c9b8",
1373     "wires":[
1374
1375     ]
1376   },
1377   {
1378     "id":"b87037e6.eb7448",
1379     "type":"for",
1380     "name":"for each l3-network",
1381     "xml":"<for index='db-network-index' start='0' end='`$aai.l3-network.l3-network_length`' >\n",
1382     "comments":"",
1383     "outputs":1,
1384     "x":1050.8811492919922,
1385     "y":2414.571388244629,
1386     "z":"fd246789.67c9b8",
1387     "wires":[
1388       [
1389         "4cb7a54f.4eeccc"
1390       ]
1391     ]
1392   },
1393   {
1394     "id":"4cb7a54f.4eeccc",
1395     "type":"switchNode",
1396     "name":"switch orchestration-status",
1397     "xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].orchestration-status`'>\n",
1398     "comments":"",
1399     "outputs":1,
1400     "x":1279.452350616455,
1401     "y":2413.142815589905,
1402     "z":"fd246789.67c9b8",
1403     "wires":[
1404       [
1405         "65732b9e.885204",
1406         "f80fc6c2.030438",
1407         "265b5201.897f0e",
1408         "f51d095f.d31e98",
1409         "41d53be7.1f6d94"
1410       ]
1411     ]
1412   },
1413   {
1414     "id":"65732b9e.885204",
1415     "type":"outcome",
1416     "name":"Pending Delete",
1417     "xml":"<outcome value='Pending Delete'>\n",
1418     "comments":"",
1419     "outputs":1,
1420     "x":1516.1192626953125,
1421     "y":2458.8095235824585,
1422     "z":"fd246789.67c9b8",
1423     "wires":[
1424       [
1425         "716a882.9ab7178"
1426       ]
1427     ]
1428   },
1429   {
1430     "id":"f80fc6c2.030438",
1431     "type":"other",
1432     "name":"other",
1433     "xml":"<outcome value='Other'>\n",
1434     "comments":"",
1435     "outputs":1,
1436     "x":1488.9764022827148,
1437     "y":2509.809504508972,
1438     "z":"fd246789.67c9b8",
1439     "wires":[
1440       [
1441         "c6e8990a.ebd138"
1442       ]
1443     ]
1444   },
1445   {
1446     "id":"3a777e92.27b412",
1447     "type":"switchNode",
1448     "name":"switch related-to",
1449     "xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].related-to`'>\n",
1450     "comments":"",
1451     "outputs":1,
1452     "x":1854.6907539367676,
1453     "y":2508.3808450698853,
1454     "z":"fd246789.67c9b8",
1455     "wires":[
1456       [
1457         "7ebd2a2d.1adc64"
1458       ]
1459     ]
1460   },
1461   {
1462     "id":"c6e8990a.ebd138",
1463     "type":"for",
1464     "name":"for each relationship",
1465     "xml":"<for silentFailure='true' index='db-rel-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship_length`' >\n",
1466     "comments":"",
1467     "outputs":1,
1468     "x":1658.9763145446777,
1469     "y":2509.3808813095093,
1470     "z":"fd246789.67c9b8",
1471     "wires":[
1472       [
1473         "3a777e92.27b412"
1474       ]
1475     ]
1476   },
1477   {
1478     "id":"7ebd2a2d.1adc64",
1479     "type":"outcome",
1480     "name":"cloud-region",
1481     "xml":"<outcome value='cloud-region'>\n",
1482     "comments":"",
1483     "outputs":1,
1484     "x":2028.9763946533203,
1485     "y":2507.9522914886475,
1486     "z":"fd246789.67c9b8",
1487     "wires":[
1488       [
1489         "91da1633.e19528"
1490       ]
1491     ]
1492   },
1493   {
1494     "id":"91da1633.e19528",
1495     "type":"for",
1496     "name":"for each relationship data",
1497     "xml":"<for silentFailure='true' index='db-data-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data_length`' >\n",
1498     "comments":"",
1499     "outputs":1,
1500     "x":2226.119094848633,
1501     "y":2508.380759239197,
1502     "z":"fd246789.67c9b8",
1503     "wires":[
1504       [
1505         "7571e6bb.7c1e98"
1506       ]
1507     ]
1508   },
1509   {
1510     "id":"7571e6bb.7c1e98",
1511     "type":"switchNode",
1512     "name":"switch relationship-key",
1513     "xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-key`'>\n",
1514     "comments":"",
1515     "outputs":1,
1516     "x":2457.547695159912,
1517     "y":2507.9521341323853,
1518     "z":"fd246789.67c9b8",
1519     "wires":[
1520       [
1521         "99351695.fbd508"
1522       ]
1523     ]
1524   },
1525   {
1526     "id":"99351695.fbd508",
1527     "type":"outcome",
1528     "name":"cloud-region.cloud-region-id",
1529     "xml":"<outcome value='cloud-region.cloud-region-id'>\n",
1530     "comments":"",
1531     "outputs":1,
1532     "x":2698.9762268066406,
1533     "y":2507.95223903656,
1534     "z":"fd246789.67c9b8",
1535     "wires":[
1536       [
1537         "52fbb392.9ae0fc"
1538       ]
1539     ]
1540   },
1541   {
1542     "id":"52fbb392.9ae0fc",
1543     "type":"switchNode",
1544     "name":"switch relationship-value == cloud-region-id",
1545     "xml":"<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-value == $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`'>\n",
1546     "comments":"",
1547     "outputs":1,
1548     "x":3003.2621459960938,
1549     "y":2507.8092947006226,
1550     "z":"fd246789.67c9b8",
1551     "wires":[
1552       [
1553         "30d6670a.932068"
1554       ]
1555     ]
1556   },
1557   {
1558     "id":"30d6670a.932068",
1559     "type":"outcomeTrue",
1560     "name":"true",
1561     "xml":"<outcome value='true'>\n",
1562     "comments":"",
1563     "outputs":1,
1564     "x":3243.262176513672,
1565     "y":2507.9522399902344,
1566     "z":"fd246789.67c9b8",
1567     "wires":[
1568       [
1569         "f3bd4d0.b8b78b"
1570       ]
1571     ]
1572   },
1573   {
1574     "id":"aae66b2d.04c758",
1575     "type":"block",
1576     "name":"block",
1577     "xml":"<block>\n",
1578     "atomic":"false",
1579     "comments":"",
1580     "outputs":1,
1581     "x":889.0953330993652,
1582     "y":2482.4284858703613,
1583     "z":"fd246789.67c9b8",
1584     "wires":[
1585       [
1586         "b87037e6.eb7448",
1587         "c901ec1c.1186a"
1588       ]
1589     ]
1590   },
1591   {
1592     "id":"c901ec1c.1186a",
1593     "type":"returnSuccess",
1594     "name":"CATCH BREAK",
1595     "xml":"<return status='success'>\n\n",
1596     "comments":"",
1597     "x":1040.4287414550781,
1598     "y":2555.7617197036743,
1599     "z":"fd246789.67c9b8",
1600     "wires":[
1601
1602     ]
1603   },
1604   {
1605     "id":"4cb4ba60.e5ecf4",
1606     "type":"returnFailure",
1607     "name":"BREAK",
1608     "xml":"<return status='failure'>\n",
1609     "comments":"",
1610     "x":3544.095157623291,
1611     "y":2525.761643409729,
1612     "z":"fd246789.67c9b8",
1613     "wires":[
1614
1615     ]
1616   },
1617   {
1618     "id":"f2668cde.bd454",
1619     "type":"set",
1620     "name":"set l3-network-id = -1",
1621     "xml":"<set>\n<parameter name='l3-network-id' value='-1' />\n",
1622     "comments":"",
1623     "x":933.4287033081055,
1624     "y":2285.7616996765137,
1625     "z":"fd246789.67c9b8",
1626     "wires":[
1627
1628     ]
1629   },
1630   {
1631     "id":"f3bd4d0.b8b78b",
1632     "type":"block",
1633     "name":"block : atomic",
1634     "xml":"<block atomic=\"true\">",
1635     "atomic":"true",
1636     "outputs":1,
1637     "x":3389.0951538085938,
1638     "y":2507.4283485412598,
1639     "z":"fd246789.67c9b8",
1640     "wires":[
1641       [
1642         "26d1bdef.32da62",
1643         "4cb4ba60.e5ecf4"
1644       ]
1645     ]
1646   },
1647   {
1648     "id":"26d1bdef.32da62",
1649     "type":"set",
1650     "name":"set l3-network-id = this l3-network",
1651     "xml":"<set>\n<parameter name='l3-network-id' value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n",
1652     "comments":"",
1653     "x":3625.7618255615234,
1654     "y":2482.4283475875854,
1655     "z":"fd246789.67c9b8",
1656     "wires":[
1657
1658     ]
1659   },
1660   {
1661     "id":"2eaed654.44544a",
1662     "type":"switchNode",
1663     "name":"switch l3-network-id",
1664     "xml":"<switch test='`$l3-network-id`'>\n",
1665     "comments":"",
1666     "outputs":1,
1667     "x":930.4286270141602,
1668     "y":2609.428741455078,
1669     "z":"fd246789.67c9b8",
1670     "wires":[
1671       [
1672         "94d5eb5b.9dfb28"
1673       ]
1674     ]
1675   },
1676   {
1677     "id":"94d5eb5b.9dfb28",
1678     "type":"outcome",
1679     "name":"-1",
1680     "xml":"<outcome value='-1'>\n",
1681     "comments":"",
1682     "outputs":1,
1683     "x":1100.4285774230957,
1684     "y":2609.428497314453,
1685     "z":"fd246789.67c9b8",
1686     "wires":[
1687       [
1688         "819df612.f478a8"
1689       ]
1690     ]
1691   },
1692   {
1693     "id":"819df612.f478a8",
1694     "type":"returnFailure",
1695     "name":"return failure",
1696     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unable to find l3-network in AAI for network role ' + $db.vf-network-role-mapping[$role-index].network-role`\" />\n",
1697     "comments":"",
1698     "x":1248.7619400024414,
1699     "y":2609.4286346435547,
1700     "z":"fd246789.67c9b8",
1701     "wires":[
1702
1703     ]
1704   },
1705   {
1706     "id":"c1d69c5f.488e1",
1707     "type":"switchNode",
1708     "name":"switch input model-invariant-uuid",
1709     "xml":"<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`'>\n",
1710     "comments":"",
1711     "outputs":1,
1712     "x":560.7858200073242,
1713     "y":1313.8720026016235,
1714     "z":"fd246789.67c9b8",
1715     "wires":[
1716       [
1717         "81712284.6061f",
1718         "bbef1dff.d32a1"
1719       ]
1720     ]
1721   },
1722   {
1723     "id":"81712284.6061f",
1724     "type":"outcome",
1725     "name":"NULL",
1726     "xml":"<outcome value=''>",
1727     "comments":"",
1728     "outputs":1,
1729     "x":766.4524917602539,
1730     "y":1291.0149660110474,
1731     "z":"fd246789.67c9b8",
1732     "wires":[
1733       [
1734         "911708ca.a4ec28"
1735       ]
1736     ]
1737   },
1738   {
1739     "id":"bbef1dff.d32a1",
1740     "type":"other",
1741     "name":"other",
1742     "xml":"<outcome value='Other'>\n",
1743     "comments":"",
1744     "outputs":1,
1745     "x":767.8810882568359,
1746     "y":1335.3005571365356,
1747     "z":"fd246789.67c9b8",
1748     "wires":[
1749       [
1750         "9d361538.39a998"
1751       ]
1752     ]
1753   },
1754   {
1755     "id":"9d361538.39a998",
1756     "type":"set",
1757     "name":"set from input",
1758     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n",
1759     "comments":"",
1760     "x":922.1668243408203,
1761     "y":1334.7291293144226,
1762     "z":"fd246789.67c9b8",
1763     "wires":[
1764
1765     ]
1766   },
1767   {
1768     "id":"c01c75b7.d771a8",
1769     "type":"set",
1770     "name":"set from DB",
1771     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n  value='`$db.vf-model.uuid`' />\n",
1772     "comments":"",
1773     "x":917.8810157775879,
1774     "y":1379.5862350463867,
1775     "z":"fd246789.67c9b8",
1776     "wires":[
1777
1778     ]
1779   },
1780   {
1781     "id":"71b9cf5e.13115",
1782     "type":"switchNode",
1783     "name":"switch input model-uuid",
1784     "xml":"<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`'>\n",
1785     "comments":"",
1786     "outputs":1,
1787     "x":533.4048385620117,
1788     "y":1402.4107398986816,
1789     "z":"fd246789.67c9b8",
1790     "wires":[
1791       [
1792         "cb6c4216.48671",
1793         "51d9dbfe.50eec4"
1794       ]
1795     ]
1796   },
1797   {
1798     "id":"cb6c4216.48671",
1799     "type":"outcome",
1800     "name":"NULL",
1801     "xml":"<outcome value=''>",
1802     "comments":"",
1803     "outputs":1,
1804     "x":767.4048118591309,
1805     "y":1379.553671836853,
1806     "z":"fd246789.67c9b8",
1807     "wires":[
1808       [
1809         "c01c75b7.d771a8"
1810       ]
1811     ]
1812   },
1813   {
1814     "id":"51d9dbfe.50eec4",
1815     "type":"other",
1816     "name":"other",
1817     "xml":"<outcome value='Other'>\n",
1818     "comments":"",
1819     "outputs":1,
1820     "x":768.8334083557129,
1821     "y":1423.8392629623413,
1822     "z":"fd246789.67c9b8",
1823     "wires":[
1824       [
1825         "8668309.94373d"
1826       ]
1827     ]
1828   },
1829   {
1830     "id":"8668309.94373d",
1831     "type":"set",
1832     "name":"set from input",
1833     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n",
1834     "comments":"",
1835     "x":923.1191444396973,
1836     "y":1423.2678351402283,
1837     "z":"fd246789.67c9b8",
1838     "wires":[
1839
1840     ]
1841   },
1842   {
1843     "id":"f9c5e77b.b35768",
1844     "type":"set",
1845     "name":"set from DB",
1846     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n  value='`$db.vf-model.version`' />\n",
1847     "comments":"",
1848     "x":915.0239486694336,
1849     "y":1468.4434423446655,
1850     "z":"fd246789.67c9b8",
1851     "wires":[
1852
1853     ]
1854   },
1855   {
1856     "id":"4bbcb529.9daacc",
1857     "type":"switchNode",
1858     "name":"switch input model-version",
1859     "xml":"<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`'>\n",
1860     "comments":"",
1861     "outputs":1,
1862     "x":541.5477104187012,
1863     "y":1491.2678871154785,
1864     "z":"fd246789.67c9b8",
1865     "wires":[
1866       [
1867         "a7d107ab.83c758",
1868         "78b9d8ab.538148"
1869       ]
1870     ]
1871   },
1872   {
1873     "id":"a7d107ab.83c758",
1874     "type":"outcome",
1875     "name":"NULL",
1876     "xml":"<outcome value=''>",
1877     "comments":"",
1878     "outputs":1,
1879     "x":764.5476951599121,
1880     "y":1468.410849571228,
1881     "z":"fd246789.67c9b8",
1882     "wires":[
1883       [
1884         "f9c5e77b.b35768"
1885       ]
1886     ]
1887   },
1888   {
1889     "id":"78b9d8ab.538148",
1890     "type":"other",
1891     "name":"other",
1892     "xml":"<outcome value='Other'>\n",
1893     "comments":"",
1894     "outputs":1,
1895     "x":765.9762916564941,
1896     "y":1512.6964406967163,
1897     "z":"fd246789.67c9b8",
1898     "wires":[
1899       [
1900         "e7c733ab.83255"
1901       ]
1902     ]
1903   },
1904   {
1905     "id":"e7c733ab.83255",
1906     "type":"set",
1907     "name":"set from input",
1908     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-version'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`' />\n",
1909     "comments":"",
1910     "x":920.2620277404785,
1911     "y":1512.1250128746033,
1912     "z":"fd246789.67c9b8",
1913     "wires":[
1914
1915     ]
1916   },
1917   {
1918     "id":"5c05bbe1.d44bc4",
1919     "type":"set",
1920     "name":"set from DB",
1921     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n  value='`$db.vf-model.name`' />\n",
1922     "comments":"",
1923     "x":915.0239486694336,
1924     "y":1555.5862646102905,
1925     "z":"fd246789.67c9b8",
1926     "wires":[
1927
1928     ]
1929   },
1930   {
1931     "id":"12e97c5b.66ee84",
1932     "type":"switchNode",
1933     "name":"switch input model-name",
1934     "xml":"<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`'>\n",
1935     "comments":"",
1936     "outputs":1,
1937     "x":536.5477104187012,
1938     "y":1578.4107093811035,
1939     "z":"fd246789.67c9b8",
1940     "wires":[
1941       [
1942         "af70cdb.ef6023",
1943         "f3d34dfc.cbd31"
1944       ]
1945     ]
1946   },
1947   {
1948     "id":"af70cdb.ef6023",
1949     "type":"outcome",
1950     "name":"NULL",
1951     "xml":"<outcome value=''>",
1952     "comments":"",
1953     "outputs":1,
1954     "x":764.5476951599121,
1955     "y":1555.553671836853,
1956     "z":"fd246789.67c9b8",
1957     "wires":[
1958       [
1959         "5c05bbe1.d44bc4"
1960       ]
1961     ]
1962   },
1963   {
1964     "id":"f3d34dfc.cbd31",
1965     "type":"other",
1966     "name":"other",
1967     "xml":"<outcome value='Other'>\n",
1968     "comments":"",
1969     "outputs":1,
1970     "x":765.9762916564941,
1971     "y":1599.8392629623413,
1972     "z":"fd246789.67c9b8",
1973     "wires":[
1974       [
1975         "ba8a085e.f15f18"
1976       ]
1977     ]
1978   },
1979   {
1980     "id":"ba8a085e.f15f18",
1981     "type":"set",
1982     "name":"set from input",
1983     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-name'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`' />\n",
1984     "comments":"",
1985     "x":920.2620277404785,
1986     "y":1599.2678351402283,
1987     "z":"fd246789.67c9b8",
1988     "wires":[
1989
1990     ]
1991   },
1992   {
1993     "id":"716a882.9ab7178",
1994     "type":"block",
1995     "name":"block",
1996     "xml":"<block>\n",
1997     "atomic":"false",
1998     "comments":"",
1999     "outputs":1,
2000     "x":1669.3333549499512,
2001     "y":2459.586400985718,
2002     "z":"fd246789.67c9b8",
2003     "wires":[
2004       [
2005
2006       ]
2007     ]
2008   },
2009   {
2010     "id":"41d53be7.1f6d94",
2011     "type":"outcome",
2012     "name":"PendingDelete",
2013     "xml":"<outcome value='PendingDelete'>\n",
2014     "comments":"",
2015     "outputs":1,
2016     "x":1513.9999961853027,
2017     "y":2414.5863151550293,
2018     "z":"fd246789.67c9b8",
2019     "wires":[
2020       [
2021         "88ce6156.79525"
2022       ]
2023     ]
2024   },
2025   {
2026     "id":"88ce6156.79525",
2027     "type":"block",
2028     "name":"block",
2029     "xml":"<block>\n",
2030     "atomic":"false",
2031     "comments":"",
2032     "outputs":1,
2033     "x":1669.2140884399414,
2034     "y":2415.3631925582886,
2035     "z":"fd246789.67c9b8",
2036     "wires":[
2037       [
2038
2039       ]
2040     ]
2041   },
2042   {
2043     "id":"f51d095f.d31e98",
2044     "type":"outcome",
2045     "name":"Pending Create",
2046     "xml":"<outcome value='Pending Create'>\n",
2047     "comments":"",
2048     "outputs":1,
2049     "x":1515.9999961853027,
2050     "y":2371.2528190612793,
2051     "z":"fd246789.67c9b8",
2052     "wires":[
2053       [
2054         "1d66b0a7.bf415f"
2055       ]
2056     ]
2057   },
2058   {
2059     "id":"1d66b0a7.bf415f",
2060     "type":"block",
2061     "name":"block",
2062     "xml":"<block>\n",
2063     "atomic":"false",
2064     "comments":"",
2065     "outputs":1,
2066     "x":1669.2140884399414,
2067     "y":2372.0296964645386,
2068     "z":"fd246789.67c9b8",
2069     "wires":[
2070       [
2071
2072       ]
2073     ]
2074   },
2075   {
2076     "id":"265b5201.897f0e",
2077     "type":"outcome",
2078     "name":"PendingCreate",
2079     "xml":"<outcome value='PendingCreate'>\n",
2080     "comments":"",
2081     "outputs":1,
2082     "x":1515.9999961853027,
2083     "y":2327.9195671081543,
2084     "z":"fd246789.67c9b8",
2085     "wires":[
2086       [
2087         "569d335c.bf6c3c"
2088       ]
2089     ]
2090   },
2091   {
2092     "id":"569d335c.bf6c3c",
2093     "type":"block",
2094     "name":"block",
2095     "xml":"<block>\n",
2096     "atomic":"false",
2097     "comments":"",
2098     "outputs":1,
2099     "x":1669.2140884399414,
2100     "y":2328.6964445114136,
2101     "z":"fd246789.67c9b8",
2102     "wires":[
2103       [
2104
2105       ]
2106     ]
2107   },
2108   {
2109     "id":"ebe74367.6c98d",
2110     "type":"for",
2111     "name":"for each A&AI subnet",
2112     "xml":"<for index='subnet-index' start='0' end='`$aai.l3-network.l3-network[0].subnets.subnet_length`' >\n",
2113     "comments":"",
2114     "outputs":1,
2115     "x":932.6667633056641,
2116     "y":2702.919626235962,
2117     "z":"fd246789.67c9b8",
2118     "wires":[
2119       [
2120         "cfa19178.3c2c3"
2121       ]
2122     ]
2123   },
2124   {
2125     "id":"cfa19178.3c2c3",
2126     "type":"set",
2127     "name":"set subnet data",
2128     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].ip-version'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].ip-version`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data[$subnet-index].subnet-id'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-id`' />\n",
2129     "comments":"",
2130     "x":1130.9999389648438,
2131     "y":2701.2532052993774,
2132     "z":"fd246789.67c9b8",
2133     "wires":[
2134
2135     ]
2136   },
2137   {
2138     "id":"a16a767c.1d4a58",
2139     "type":"set",
2140     "name":"set subnet_length",
2141     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].subnets-data.subnet-data_length'\n   value='`$aai.l3-network.l3-network[0].subnets.subnet_length`' />\n",
2142     "comments":"",
2143     "x":921.3333282470703,
2144     "y":2747.919708251953,
2145     "z":"fd246789.67c9b8",
2146     "wires":[
2147
2148     ]
2149   },
2150   {
2151     "id":"3d1f814c.368f2e",
2152     "type":"set",
2153     "name":"set availability-zones.max-count and length",
2154     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.max-count'\n   value='`$db.vf-model.avail-zone-max-count`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone_length'\n   value='`$aai.az.availability-zone_length`' />\n",
2155     "comments":"",
2156     "x":564.0000610351562,
2157     "y":3160.6342582702637,
2158     "z":"fd246789.67c9b8",
2159     "wires":[
2160
2161     ]
2162   },
2163   {
2164     "id":"3315c9d5.fbc886",
2165     "type":"set",
2166     "name":"set vnf-name",
2167     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name'\n   value='`$tmp.vnf-name`' />\n",
2168     "comments":"",
2169     "x":497.66663360595703,
2170     "y":1247.9197664260864,
2171     "z":"fd246789.67c9b8",
2172     "wires":[
2173
2174     ]
2175   },
2176   {
2177     "id":"435802ab.cae41c",
2178     "type":"save",
2179     "name":"update generic-vnf",
2180     "xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf\"\n   key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"vnf-name\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name`\" />\n<parameter name=\"prov-status\" value=\"PREPROV\" />\n<parameter name=\"operational-status\" value=\"out-of-service-path\" />\n<parameter name=\"equipment-role\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.nf-role`\" />\n<parameter name=\"model-invariant-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid`\" />\n<parameter name=\"selflink\" value=\"`$vnf-object-path`\" />\n",
2181     "comments":"",
2182     "outputs":1,
2183     "x":484.3333282470703,
2184     "y":3370.300033569336,
2185     "z":"fd246789.67c9b8",
2186     "wires":[
2187       [
2188         "a1a2ecfe.5a9f7",
2189         "63cf7c2e.6403d4"
2190       ]
2191     ]
2192   },
2193   {
2194     "id":"79756539.60282c",
2195     "type":"set",
2196     "name":"set vnf-object-path",
2197     "xml":"<set>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vnf-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology'`\"/>\n\n",
2198     "comments":"",
2199     "x":484.33336639404297,
2200     "y":3300.30051612854,
2201     "z":"fd246789.67c9b8",
2202     "wires":[
2203
2204     ]
2205   },
2206   {
2207     "id":"ca1ff11f.a4d9c",
2208     "type":"set",
2209     "name":"set vnf-id",
2210     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id'\n   value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n",
2211     "comments":"",
2212     "x":485.9999771118164,
2213     "y":1199.5863094329834,
2214     "z":"fd246789.67c9b8",
2215     "wires":[
2216
2217     ]
2218   },
2219   {
2220     "id":"858218a8.523588",
2221     "type":"execute",
2222     "name":"printContext",
2223     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-viprend.log' />\n",
2224     "comments":"",
2225     "outputs":1,
2226     "x":462.00009536743164,
2227     "y":3551.967363357544,
2228     "z":"fd246789.67c9b8",
2229     "wires":[
2230       [
2231
2232       ]
2233     ]
2234   },
2235   {
2236     "id":"90fb466f.03aa88",
2237     "type":"returnFailure",
2238     "name":"return failure",
2239     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",
2240     "comments":"",
2241     "x":1407.666805267334,
2242     "y":3236.9671211242676,
2243     "z":"fd246789.67c9b8",
2244     "wires":[
2245
2246     ]
2247   },
2248   {
2249     "id":"b6fac54b.97ab18",
2250     "type":"failure",
2251     "name":"failure",
2252     "xml":"<outcome value='failure'>\n",
2253     "comments":"",
2254     "outputs":1,
2255     "x":1220.3573722839355,
2256     "y":3193.919590950012,
2257     "z":"fd246789.67c9b8",
2258     "wires":[
2259       [
2260         "3c644fce.dbe83"
2261       ]
2262     ]
2263   },
2264   {
2265     "id":"8f7c44dc.2bfaf8",
2266     "type":"not-found",
2267     "name":"not-found",
2268     "xml":"<outcome value='not-found'>\n",
2269     "comments":"",
2270     "outputs":1,
2271     "x":1228.9288024902344,
2272     "y":3238.205304145813,
2273     "z":"fd246789.67c9b8",
2274     "wires":[
2275       [
2276         "90fb466f.03aa88"
2277       ]
2278     ]
2279   },
2280   {
2281     "id":"3c644fce.dbe83",
2282     "type":"returnFailure",
2283     "name":"return failure",
2284     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating generic-vnf in AAI\" />\n",
2285     "comments":"",
2286     "x":1410.3573989868164,
2287     "y":3193.729326248169,
2288     "z":"fd246789.67c9b8",
2289     "wires":[
2290
2291     ]
2292   },
2293   {
2294     "id":"635e0959.ef5968",
2295     "type":"returnFailure",
2296     "name":"return failure",
2297     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",
2298     "comments":"",
2299     "x":887.6667442321777,
2300     "y":3391.967043876648,
2301     "z":"fd246789.67c9b8",
2302     "wires":[
2303
2304     ]
2305   },
2306   {
2307     "id":"a1a2ecfe.5a9f7",
2308     "type":"failure",
2309     "name":"failure",
2310     "xml":"<outcome value='failure'>\n",
2311     "comments":"",
2312     "outputs":1,
2313     "x":700.3573112487793,
2314     "y":3348.9195137023926,
2315     "z":"fd246789.67c9b8",
2316     "wires":[
2317       [
2318         "dc15263a.8bf0c8"
2319       ]
2320     ]
2321   },
2322   {
2323     "id":"63cf7c2e.6403d4",
2324     "type":"not-found",
2325     "name":"not-found",
2326     "xml":"<outcome value='not-found'>\n",
2327     "comments":"",
2328     "outputs":1,
2329     "x":708.9287414550781,
2330     "y":3393.2052268981934,
2331     "z":"fd246789.67c9b8",
2332     "wires":[
2333       [
2334         "635e0959.ef5968"
2335       ]
2336     ]
2337   },
2338   {
2339     "id":"dc15263a.8bf0c8",
2340     "type":"returnFailure",
2341     "name":"return failure",
2342     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating selflink in generic-vnf in AAI\" />\n",
2343     "comments":"",
2344     "x":890.3573379516602,
2345     "y":3348.7292490005493,
2346     "z":"fd246789.67c9b8",
2347     "wires":[
2348
2349     ]
2350   },
2351   {
2352     "id":"a7335a29.c13d48",
2353     "type":"set",
2354     "name":"set model-customization-uuid",
2355     "xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid'\n  value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n",
2356     "comments":"",
2357     "x":549.3332977294922,
2358     "y":1651.2529134750366,
2359     "z":"fd246789.67c9b8",
2360     "wires":[
2361
2362     ]
2363   },
2364   {
2365     "id":"f96ea41d.1ff208",
2366     "type":"execute",
2367     "name":"split related-link",
2368     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='aai-uid-split' />\n   <parameter name='original_string' value='`$aai.cloud-region.relationship-list.relationship[$idx].related-link`' />\n   <parameter name='regex' value='/' />\n",
2369     "comments":"",
2370     "outputs":1,
2371     "x":1314.6665954589844,
2372     "y":1772.6664972305298,
2373     "z":"fd246789.67c9b8",
2374     "wires":[
2375       [
2376
2377       ]
2378     ]
2379   },
2380   {
2381     "id":"7c602050.7b0ac",
2382     "type":"block",
2383     "name":"block : atomic",
2384     "xml":"<block atomic=\"true\">",
2385     "atomic":"true",
2386     "outputs":1,
2387     "x":1134.3332977294922,
2388     "y":1819.333285331726,
2389     "z":"fd246789.67c9b8",
2390     "wires":[
2391       [
2392         "f96ea41d.1ff208",
2393         "cbda08be.5e00d8",
2394         "b2382668.d3f318"
2395       ]
2396     ]
2397   },
2398   {
2399     "id":"b2382668.d3f318",
2400     "type":"break",
2401     "name":"break",
2402     "xml":"<break>\n",
2403     "comments":"",
2404     "x":1284.3332595825195,
2405     "y":1862.666582107544,
2406     "z":"fd246789.67c9b8",
2407     "wires":[
2408
2409     ]
2410   },
2411   {
2412     "id":"7193ae4f.a03bb",
2413     "type":"block",
2414     "name":"block : atomic",
2415     "xml":"<block atomic=\"true\">",
2416     "atomic":"true",
2417     "outputs":1,
2418     "x":796,
2419     "y":3071.7143869400024,
2420     "z":"fd246789.67c9b8",
2421     "wires":[
2422       [
2423         "bec7777f.49caa8",
2424         "2fe66adc.46b646"
2425       ]
2426     ]
2427   },
2428   {
2429     "id":"2fe66adc.46b646",
2430     "type":"save",
2431     "name":"save generic-vnf availability-zone relationship",
2432     "xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf:relationship-list\"\n   key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"availability-zone\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"cloud-region.cloud-owner\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"CloudOwner\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"`$vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"availability-zone.availability-zone-name\" />\n    <parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"`$aai.az.availability-zone[$idx].availability-zone-name`\" />\n",
2433     "comments":"",
2434     "outputs":1,
2435     "x":1087.9048156738281,
2436     "y":3095.0478343963623,
2437     "z":"fd246789.67c9b8",
2438     "wires":[
2439       [
2440         "31eeede2.e6b5f2",
2441         "9e258d80.f8a09"
2442       ]
2443     ]
2444   },
2445   {
2446     "id":"51e42555.9814cc",
2447     "type":"returnFailure",
2448     "name":"return failure",
2449     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",
2450     "comments":"",
2451     "x":1541.47607421875,
2452     "y":3118.9671936035156,
2453     "z":"fd246789.67c9b8",
2454     "wires":[
2455
2456     ]
2457   },
2458   {
2459     "id":"31eeede2.e6b5f2",
2460     "type":"failure",
2461     "name":"failure",
2462     "xml":"<outcome value='failure'>\n",
2463     "comments":"",
2464     "outputs":1,
2465     "x":1354.1666412353516,
2466     "y":3075.9196634292603,
2467     "z":"fd246789.67c9b8",
2468     "wires":[
2469       [
2470         "e9675503.f145d8"
2471       ]
2472     ]
2473   },
2474   {
2475     "id":"9e258d80.f8a09",
2476     "type":"not-found",
2477     "name":"not-found",
2478     "xml":"<outcome value='not-found'>\n",
2479     "comments":"",
2480     "outputs":1,
2481     "x":1362.7380714416504,
2482     "y":3120.205376625061,
2483     "z":"fd246789.67c9b8",
2484     "wires":[
2485       [
2486         "51e42555.9814cc"
2487       ]
2488     ]
2489   },
2490   {
2491     "id":"e9675503.f145d8",
2492     "type":"returnFailure",
2493     "name":"return failure",
2494     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating generic-vnf in AAI\" />\n",
2495     "comments":"",
2496     "x":1544.1666679382324,
2497     "y":3075.729398727417,
2498     "z":"fd246789.67c9b8",
2499     "wires":[
2500
2501     ]
2502   },
2503   {
2504     "id":"ce44b8cb.59b0b8",
2505     "type":"set",
2506     "name":"set mapping rows to 0",
2507     "xml":"<set>\n<parameter name='db.vf-network-role-mapping_length' value='0' />\n",
2508     "comments":"",
2509     "x":1108.1427688598633,
2510     "y":2065.52388381958,
2511     "z":"fd246789.67c9b8",
2512     "wires":[
2513
2514     ]
2515   },
2516   {
2517     "id":"ffd11c87.313e8",
2518     "type":"switchNode",
2519     "name":"switch AAI availability-zone_length",
2520     "xml":"<switch test='`$aai.az.availability-zone_length`'>\n",
2521     "comments":"",
2522     "outputs":1,
2523     "x":536.7142868041992,
2524     "y":2975.523973464966,
2525     "z":"fd246789.67c9b8",
2526     "wires":[
2527       [
2528         "f7464066.4b3d4"
2529       ]
2530     ]
2531   },
2532   {
2533     "id":"f7464066.4b3d4",
2534     "type":"outcome",
2535     "name":"NULL",
2536     "xml":"<outcome value=''>",
2537     "comments":"",
2538     "outputs":1,
2539     "x":755.2857055664062,
2540     "y":2975.0953826904297,
2541     "z":"fd246789.67c9b8",
2542     "wires":[
2543       [
2544         "632fea45.95b4c4"
2545       ]
2546     ]
2547   },
2548   {
2549     "id":"797aa504.5376fc",
2550     "type":"set",
2551     "name":"set availability-zone_length to 0",
2552     "xml":"<set>\n<parameter name='aai.az.availability-zone_length' value='0' />\n",
2553     "comments":"",
2554     "x":1356.7143478393555,
2555     "y":2993.6666202545166,
2556     "z":"fd246789.67c9b8",
2557     "wires":[
2558
2559     ]
2560   },
2561   {
2562     "id":"632fea45.95b4c4",
2563     "type":"switchNode",
2564     "name":"switch AZ max count > 0",
2565     "xml":"<switch test='`$db.vf-model.avail-zone-max-count &gt; 0`'>\n",
2566     "comments":"",
2567     "outputs":1,
2568     "x":943.857177734375,
2569     "y":2975.5236945152283,
2570     "z":"fd246789.67c9b8",
2571     "wires":[
2572       [
2573         "c29ececd.4b1d9",
2574         "1e15158e.a3fbea"
2575       ]
2576     ]
2577   },
2578   {
2579     "id":"c29ececd.4b1d9",
2580     "type":"outcomeTrue",
2581     "name":"true",
2582     "xml":"<outcome value='true'>\n",
2583     "comments":"",
2584     "outputs":1,
2585     "x":1146.7142848968506,
2586     "y":2949.8094444274902,
2587     "z":"fd246789.67c9b8",
2588     "wires":[
2589       [
2590         "66595a0d.b7fbd4"
2591       ]
2592     ]
2593   },
2594   {
2595     "id":"1e15158e.a3fbea",
2596     "type":"outcomeFalse",
2597     "name":"false",
2598     "xml":"<outcome value='false'>\n",
2599     "comments":"",
2600     "outputs":1,
2601     "x":1148.1429061889648,
2602     "y":2994.0951919555664,
2603     "z":"fd246789.67c9b8",
2604     "wires":[
2605       [
2606         "797aa504.5376fc"
2607       ]
2608     ]
2609   },
2610   {
2611     "id":"66595a0d.b7fbd4",
2612     "type":"returnFailure",
2613     "name":"return failure",
2614     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No availability zones found in AAI for cloud region '\n       + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" />\n",
2615     "comments":"",
2616     "x":1298.142822265625,
2617     "y":2949.5238494873047,
2618     "z":"fd246789.67c9b8",
2619     "wires":[
2620
2621     ]
2622   },
2623   {
2624     "id":"c8f006fe.b172c8",
2625     "type":"get-resource",
2626     "name":"get-resource availability zones",
2627     "xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"availability-zones\" \n\t\tkey=\"cloud-region.cloud-owner = 'CloudOwner' AND \n\t\t     cloud-region.cloud-region-id = $vnf-topology-operation-input.vnf-request-input.aic-cloud-region AND\n\t\t     depth='0'\"\n        pfx='aai.az' local-only='false' >\n\n",
2628     "comments":"",
2629     "outputs":1,
2630     "x":546.7143096923828,
2631     "y":1902.4286441802979,
2632     "z":"fd246789.67c9b8",
2633     "wires":[
2634       [
2635         "9a0f1e6d.bbdfb"
2636       ]
2637     ]
2638   },
2639   {
2640     "id":"9a0f1e6d.bbdfb",
2641     "type":"failure",
2642     "name":"failure",
2643     "xml":"<outcome value='failure'>\n",
2644     "comments":"",
2645     "outputs":1,
2646     "x":771.9605255126953,
2647     "y":1901.829496383667,
2648     "z":"fd246789.67c9b8",
2649     "wires":[
2650       [
2651         "57e15af7.8d7174"
2652       ]
2653     ]
2654   },
2655   {
2656     "id":"57e15af7.8d7174",
2657     "type":"returnFailure",
2658     "name":"return failure",
2659     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error retrieving availability zones from AAI\" />\n",
2660     "comments":"",
2661     "x":945.7104644775391,
2662     "y":1900.5796184539795,
2663     "z":"fd246789.67c9b8",
2664     "wires":[
2665
2666     ]
2667   }
2668 ]