Merge "Fix Service-object-path"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vnf-topology-operation-assign.json
1 [
2     {
3         "id": "7f85b319.ec8264",
4         "name": "DGSTART",
5         "outputs": 1,
6         "type": "dgstart",
7         "wires": [
8             [
9                 "90051ccf.47dd18"
10             ]
11         ],
12         "x": 158,
13         "y": 108,
14         "z": "1f9db9a1.737df6"
15     },
16     {
17         "comments": "",
18         "id": "90051ccf.47dd18",
19         "module": "GENERIC-RESOURCE-API",
20         "name": "GENERIC-RESOURCE-API 1.3.2-SNAPSHOT-20180531",
21         "outputs": 1,
22         "type": "service-logic",
23         "version": "${project.version}",
24         "wires": [
25             [
26                 "62c9c96e.2f8908"
27             ]
28         ],
29         "x": 271.61902618408203,
30         "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}'>",
31         "y": 148.2381134033203,
32         "z": "1f9db9a1.737df6"
33     },
34     {
35         "comments": "",
36         "id": "62c9c96e.2f8908",
37         "name": "method vnf-topology-operation-assign",
38         "outputs": 1,
39         "type": "method",
40         "wires": [
41             [
42                 "8c2093db.c56518"
43             ]
44         ],
45         "x": 249.42862701416016,
46         "xml": "<method rpc='vnf-topology-operation-assign' mode='sync'>\n",
47         "y": 188,
48         "z": "1f9db9a1.737df6"
49     },
50     {
51         "comments": "",
52         "id": "5c8563c8.abc554",
53         "info": "",
54         "name": "vnf-topology-operation-assign",
55         "type": "comment",
56         "wires": [],
57         "x": 552.344856262207,
58         "y": 55.58634376525879,
59         "z": "1f9db9a1.737df6"
60     },
61     {
62         "comments": "",
63         "id": "3ee765f3.a92b8a",
64         "name": "switch request-action",
65         "outputs": 1,
66         "type": "switchNode",
67         "wires": [
68             [
69                 "7d474a32.9007b4",
70                 "46a9e819.26787"
71             ]
72         ],
73         "x": 559.8571395874023,
74         "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
75         "y": 385.19043922424316,
76         "z": "1f9db9a1.737df6"
77     },
78     {
79         "comments": "",
80         "id": "7d474a32.9007b4",
81         "name": "CreateVnfInstance",
82         "outputs": 1,
83         "type": "outcome",
84         "wires": [
85             [
86                 "1dd86dc0.120d9a"
87             ]
88         ],
89         "x": 813.5714340209961,
90         "xml": "<outcome value='CreateVnfInstance'>\n",
91         "y": 362.3333206176758,
92         "z": "1f9db9a1.737df6"
93     },
94     {
95         "comments": "",
96         "id": "46a9e819.26787",
97         "name": "other",
98         "outputs": 1,
99         "type": "other",
100         "wires": [
101             [
102                 "cb51940c.60aca8"
103             ]
104         ],
105         "x": 775.5713996887207,
106         "xml": "<outcome value='Other'>\n",
107         "y": 408.0476484298706,
108         "z": "1f9db9a1.737df6"
109     },
110     {
111         "atomic": "false",
112         "comments": "",
113         "id": "1dd86dc0.120d9a",
114         "name": "block",
115         "outputs": 1,
116         "type": "block",
117         "wires": [
118             []
119         ],
120         "x": 998.4285621643066,
121         "xml": "<block>\n",
122         "y": 362.3333501815796,
123         "z": "1f9db9a1.737df6"
124     },
125     {
126         "comments": "",
127         "id": "cb51940c.60aca8",
128         "name": "return failure",
129         "type": "returnFailure",
130         "wires": [],
131         "x": 1015.5714073181152,
132         "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",
133         "y": 408.0476064682007,
134         "z": "1f9db9a1.737df6"
135     },
136     {
137         "atomic": "true",
138         "id": "8c2093db.c56518",
139         "name": "block : atomic",
140         "outputs": 1,
141         "type": "block",
142         "wires": [
143             [
144                 "3ee765f3.a92b8a",
145                 "d60893e6.15d0e8",
146                 "fb8a3580.e4647",
147                 "aac10be0.39a0e8",
148                 "b403c1ec.e059b",
149                 "b572efaa.cba408",
150                 "8e7983f7.0b8ac8",
151                 "95a9e356.edb75",
152                 "c85d4198.45c628",
153                 "26c17497.86b44c",
154                 "1a64389.04fb547",
155                 "2217154e.6141c2",
156                 "deeeb827.37f63",
157                 "c4c1c921.76e2b8",
158                 "1da784bd.1a325b",
159                 "6ce3245c.227ed4",
160                 "97e88fe.9dab2f",
161                 "84324533.95146",
162                 "fe738685.6c7d7",
163                 "2ab7bc1f.b085b4",
164                 "2dbfa8ac.567be8",
165                 "c33b5d51.3d59e",
166                 "f8b8a722.fd6508",
167                 "f03f1068.5af0c",
168                 "5e785184.8c4128",
169                 "3a4f6bb1.560164",
170                 "9bd6668b.dfc92",
171                 "391ed085.26b75",
172                 "2e7ae530.0e2cea",
173                 "611f691d.f4b31",
174                 "c510e207.134d3"
175             ]
176         ],
177         "x": 188.11905670166016,
178         "xml": "<block atomic=\"true\">",
179         "y": 1719.7857055664062,
180         "z": "1f9db9a1.737df6"
181     },
182     {
183         "comments": "",
184         "id": "d60893e6.15d0e8",
185         "name": "get-resource VF_MODEL",
186         "outputs": 1,
187         "type": "get-resource",
188         "wires": [
189             [
190                 "55ac2b52.c147bc",
191                 "37dc7224.b3292e"
192             ]
193         ],
194         "x": 572.1904449462891,
195         "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",
196         "y": 476.333309173584,
197         "z": "1f9db9a1.737df6"
198     },
199     {
200         "comments": "",
201         "id": "3a32be2b.d9bc92",
202         "name": "return failure",
203         "type": "returnFailure",
204         "wires": [],
205         "x": 1013.6189231872559,
206         "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",
207         "y": 499.7617950439453,
208         "z": "1f9db9a1.737df6"
209     },
210     {
211         "comments": "",
212         "id": "55ac2b52.c147bc",
213         "name": "failure",
214         "outputs": 1,
215         "type": "failure",
216         "wires": [
217             [
218                 "48eedae7.45629c"
219             ]
220         ],
221         "x": 772.9761428833008,
222         "xml": "<outcome value='failure'>\n",
223         "y": 456.7141466140747,
224         "z": "1f9db9a1.737df6"
225     },
226     {
227         "comments": "",
228         "id": "37dc7224.b3292e",
229         "name": "not-found",
230         "outputs": 1,
231         "type": "not-found",
232         "wires": [
233             [
234                 "3a32be2b.d9bc92"
235             ]
236         ],
237         "x": 781.5475730895996,
238         "xml": "<outcome value='not-found'>\n",
239         "y": 500.9998598098755,
240         "z": "1f9db9a1.737df6"
241     },
242     {
243         "comments": "",
244         "id": "48eedae7.45629c",
245         "name": "return failure",
246         "type": "returnFailure",
247         "wires": [],
248         "x": 1012.9761238098145,
249         "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",
250         "y": 454.85705375671387,
251         "z": "1f9db9a1.737df6"
252     },
253     {
254         "comments": "",
255         "id": "fb8a3580.e4647",
256         "name": "switch service-data.vnfs.vnf_length",
257         "outputs": 1,
258         "type": "switchNode",
259         "wires": [
260             [
261                 "465f36d2.0e073",
262                 "2ecc5899.269788"
263             ]
264         ],
265         "x": 602.2857131958008,
266         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
267         "y": 666.5714282989502,
268         "z": "1f9db9a1.737df6"
269     },
270     {
271         "comments": "",
272         "id": "465f36d2.0e073",
273         "name": "NULL",
274         "outputs": 1,
275         "type": "other",
276         "wires": [
277             [
278                 "ba18a24.ad916e"
279             ]
280         ],
281         "x": 828.0000419616699,
282         "xml": "<outcome value=''>\n",
283         "y": 633.7142162322998,
284         "z": "1f9db9a1.737df6"
285     },
286     {
287         "comments": "",
288         "id": "ba18a24.ad916e",
289         "name": "set vnf-index=0",
290         "type": "set",
291         "wires": [],
292         "x": 992.2857627868652,
293         "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",
294         "y": 632.7142944335938,
295         "z": "1f9db9a1.737df6"
296     },
297     {
298         "comments": "",
299         "id": "2ecc5899.269788",
300         "name": "other",
301         "outputs": 1,
302         "type": "other",
303         "wires": [
304             [
305                 "4ebd83c7.528a64"
306             ]
307         ],
308         "x": 829.4286041259766,
309         "xml": "<outcome value='Other'>\n",
310         "y": 698.0000343322754,
311         "z": "1f9db9a1.737df6"
312     },
313     {
314         "comments": "",
315         "id": "7048a1cb.adf078",
316         "name": "set vnf-index = vnf_length",
317         "type": "set",
318         "wires": [],
319         "x": 1168.285758972168,
320         "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",
321         "y": 676.285722732544,
322         "z": "1f9db9a1.737df6"
323     },
324     {
325         "comments": "",
326         "id": "d5aeee8c.b79908",
327         "name": "for each existing VNF",
328         "outputs": 1,
329         "type": "for",
330         "wires": [
331             [
332                 "ce4d4a26.2f4908"
333             ]
334         ],
335         "x": 1153.7142715454102,
336         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
337         "y": 722.2856616973877,
338         "z": "1f9db9a1.737df6"
339     },
340     {
341         "atomic": "false",
342         "comments": "",
343         "id": "4ebd83c7.528a64",
344         "name": "block",
345         "outputs": 1,
346         "type": "block",
347         "wires": [
348             [
349                 "7048a1cb.adf078",
350                 "d5aeee8c.b79908"
351             ]
352         ],
353         "x": 965.1428642272949,
354         "xml": "<block>\n",
355         "y": 698,
356         "z": "1f9db9a1.737df6"
357     },
358     {
359         "comments": "",
360         "id": "ce4d4a26.2f4908",
361         "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",
362         "outputs": 1,
363         "type": "switchNode",
364         "wires": [
365             [
366                 "7bb84912.63e62"
367             ]
368         ],
369         "x": 1508.0000381469727,
370         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",
371         "y": 721.857141494751,
372         "z": "1f9db9a1.737df6"
373     },
374     {
375         "comments": "",
376         "id": "7bb84912.63e62",
377         "name": "true",
378         "outputs": 1,
379         "type": "outcomeTrue",
380         "wires": [
381             [
382                 "8287fea2.8f264"
383             ]
384         ],
385         "x": 1802.2857475280762,
386         "xml": "<outcome value='true'>\n",
387         "y": 721.4286136627197,
388         "z": "1f9db9a1.737df6"
389     },
390     {
391         "comments": "",
392         "id": "8287fea2.8f264",
393         "name": "return failure",
394         "type": "returnFailure",
395         "wires": [],
396         "x": 1950.8571548461914,
397         "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",
398         "y": 721.4285736083984,
399         "z": "1f9db9a1.737df6"
400     },
401     {
402         "comments": "",
403         "id": "7bf5b528.4f469c",
404         "info": "",
405         "name": "make sure this VNF doesn't exist already",
406         "type": "comment",
407         "wires": [],
408         "x": 1495.1427688598633,
409         "y": 679.4285717010498,
410         "z": "1f9db9a1.737df6"
411     },
412     {
413         "comments": "",
414         "id": "aac10be0.39a0e8",
415         "name": "set vnf-topology data",
416         "type": "set",
417         "wires": [],
418         "x": 557.9999694824219,
419         "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",
420         "y": 828.238115310669,
421         "z": "1f9db9a1.737df6"
422     },
423     {
424         "comments": "",
425         "id": "b403c1ec.e059b",
426         "name": "switch input vnf-name",
427         "outputs": 1,
428         "type": "switchNode",
429         "wires": [
430             [
431                 "98b70d2d.7445c8",
432                 "ff9bcb42.eb5f1"
433             ]
434         ],
435         "x": 564.4285507202148,
436         "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-name`'>\n",
437         "y": 1070.8571615219116,
438         "z": "1f9db9a1.737df6"
439     },
440     {
441         "comments": "",
442         "id": "98b70d2d.7445c8",
443         "name": "NULL",
444         "outputs": 1,
445         "type": "outcome",
446         "wires": [
447             [
448                 "5ce76bf0.0fe7fc"
449             ]
450         ],
451         "x": 832.6427726745605,
452         "xml": "<outcome value=''>",
453         "y": 993.8333864212036,
454         "z": "1f9db9a1.737df6"
455     },
456     {
457         "comments": "",
458         "id": "dddcb6fb.6fadd",
459         "name": "switch ecomp-generated-naming",
460         "outputs": 1,
461         "type": "switchNode",
462         "wires": [
463             [
464                 "a0e8eebb.f2bf6",
465                 "fcddb1f1.15f2c8",
466                 "fb5bcd7b.93abb8"
467             ]
468         ],
469         "x": 1249.071662902832,
470         "xml": "<switch test='`$db.vf-model.ecomp-generated-naming`'>\n",
471         "y": 900.5002059936523,
472         "z": "1f9db9a1.737df6"
473     },
474     {
475         "atomic": "true",
476         "id": "5ce76bf0.0fe7fc",
477         "name": "block : atomic",
478         "outputs": 1,
479         "type": "block",
480         "wires": [
481             [
482                 "5795f411.5a64bc",
483                 "9b41a0f.e8b05e",
484                 "dddcb6fb.6fadd"
485             ]
486         ],
487         "x": 978.3572692871094,
488         "xml": "<block atomic=\"true\">",
489         "y": 993.833498954773,
490         "z": "1f9db9a1.737df6"
491     },
492     {
493         "comments": "",
494         "id": "fcddb1f1.15f2c8",
495         "name": "N",
496         "outputs": 1,
497         "type": "outcome",
498         "wires": [
499             [
500                 "9a465697.6d89a"
501             ]
502         ],
503         "x": 1498.357322692871,
504         "xml": "<outcome value='N'>",
505         "y": 902.404914855957,
506         "z": "1f9db9a1.737df6"
507     },
508     {
509         "comments": "",
510         "id": "9a465697.6d89a",
511         "name": "return failure",
512         "type": "returnFailure",
513         "wires": [],
514         "x": 1652.64310836792,
515         "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",
516         "y": 920.9763593673706,
517         "z": "1f9db9a1.737df6"
518     },
519     {
520         "comments": "",
521         "id": "a0e8eebb.f2bf6",
522         "name": "Y",
523         "outputs": 1,
524         "type": "outcome",
525         "wires": [
526             [
527                 "b8327ea6.6151"
528             ]
529         ],
530         "x": 1498.3572883605957,
531         "xml": "<outcome value='Y'>",
532         "y": 858.1192359924316,
533         "z": "1f9db9a1.737df6"
534     },
535     {
536         "comments": "",
537         "id": "fb5bcd7b.93abb8",
538         "name": "other",
539         "outputs": 1,
540         "type": "other",
541         "wires": [
542             [
543                 "9a465697.6d89a"
544             ]
545         ],
546         "x": 1498.357250213623,
547         "xml": "<outcome value='Other'>\n",
548         "y": 948.119234085083,
549         "z": "1f9db9a1.737df6"
550     },
551     {
552         "atomic": "false",
553         "comments": "",
554         "id": "b8327ea6.6151",
555         "name": "block",
556         "outputs": 1,
557         "type": "block",
558         "wires": [
559             []
560         ],
561         "x": 1635.5002326965332,
562         "xml": "<block>\n",
563         "y": 858.1192359924316,
564         "z": "1f9db9a1.737df6"
565     },
566     {
567         "comments": "",
568         "id": "ff9bcb42.eb5f1",
569         "name": "other",
570         "outputs": 1,
571         "type": "other",
572         "wires": [
573             [
574                 "1614942.5f3dcec"
575             ]
576         ],
577         "x": 835.2144546508789,
578         "xml": "<outcome value='Other'>\n",
579         "y": 1140.119125366211,
580         "z": "1f9db9a1.737df6"
581     },
582     {
583         "comments": "",
584         "id": "f88d9a18.d869f8",
585         "name": "set tmp.vnf-name",
586         "type": "set",
587         "wires": [],
588         "x": 1794.0715306599936,
589         "xml": "<set>\n<parameter name='tmp.vnf-name' value=\"`$vnf-topology-operation-input.vnf-request-input.vnf-name`\" />\n",
590         "y": 1207.5476417541504,
591         "z": "1f9db9a1.737df6"
592     },
593     {
594         "comments": "",
595         "id": "5795f411.5a64bc",
596         "name": "call GENERIC-RESOURCE-API:generate-unique-name",
597         "outputs": 1,
598         "type": "call",
599         "wires": [
600             [
601                 "51165cf7.f6843c",
602                 "f172e525.aff23"
603             ]
604         ],
605         "x": 1317.4763259887695,
606         "xml": "<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",
607         "y": 1066.8333959579468,
608         "z": "1f9db9a1.737df6"
609     },
610     {
611         "comments": "",
612         "id": "51165cf7.f6843c",
613         "name": "failure",
614         "outputs": 1,
615         "type": "failure",
616         "wires": [
617             [
618                 "682b96e6.6b632"
619             ]
620         ],
621         "x": 1613.1906140645347,
622         "xml": "<outcome value='failure'>\n",
623         "y": 1039.690658569336,
624         "z": "1f9db9a1.737df6"
625     },
626     {
627         "comments": "",
628         "id": "f172e525.aff23",
629         "name": "success",
630         "outputs": 1,
631         "type": "success",
632         "wires": [
633             [
634                 "aa7e9b78.4083b"
635             ]
636         ],
637         "x": 1616.5239639282227,
638         "xml": "<outcome value='success'>\n",
639         "y": 1091.3573017120361,
640         "z": "1f9db9a1.737df6"
641     },
642     {
643         "comments": "",
644         "id": "9b41a0f.e8b05e",
645         "name": "set variables for generating unique name",
646         "type": "set",
647         "wires": [],
648         "x": 1274.1430130004883,
649         "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",
650         "y": 1015.1668043136597,
651         "z": "1f9db9a1.737df6"
652     },
653     {
654         "comments": "",
655         "id": "aa7e9b78.4083b",
656         "name": "set tmp.vnf-name to generated name",
657         "type": "set",
658         "wires": [],
659         "x": 1857.7143491109214,
660         "xml": "<set>\n<parameter name='tmp.vnf-name' value='`$generate-unique-name-output.generated-name`' />\n",
661         "y": 1091.8333930969238,
662         "z": "1f9db9a1.737df6"
663     },
664     {
665         "comments": "",
666         "id": "682b96e6.6b632",
667         "name": "return failure",
668         "type": "returnFailure",
669         "wires": [],
670         "x": 1781.0477269490561,
671         "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",
672         "y": 1039.1191701889038,
673         "z": "1f9db9a1.737df6"
674     },
675     {
676         "atomic": "true",
677         "id": "1614942.5f3dcec",
678         "name": "block : atomic",
679         "outputs": 1,
680         "type": "block",
681         "wires": [
682             [
683                 "4f4e849f.98565c",
684                 "237fb0e1.59bbc8"
685             ]
686         ],
687         "x": 983.1429824829102,
688         "xml": "<block atomic=\"true\">",
689         "y": 1138.7858123779297,
690         "z": "1f9db9a1.737df6"
691     },
692     {
693         "comments": "",
694         "id": "237fb0e1.59bbc8",
695         "name": "call GENERIC-RESOURCE-API:generate-unique-name",
696         "outputs": 1,
697         "type": "call",
698         "wires": [
699             [
700                 "445f33b6.f0f264",
701                 "b1ac48e3.52ee98"
702             ]
703         ],
704         "x": 1313.1429824829102,
705         "xml": "<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",
706         "y": 1186.7858123779297,
707         "z": "1f9db9a1.737df6"
708     },
709     {
710         "comments": "",
711         "id": "445f33b6.f0f264",
712         "name": "failure",
713         "outputs": 1,
714         "type": "failure",
715         "wires": [
716             [
717                 "d05b4ba7.3c07f"
718             ]
719         ],
720         "x": 1611.7143987019858,
721         "xml": "<outcome value='failure'>\n",
722         "y": 1156.785837173462,
723         "z": "1f9db9a1.737df6"
724     },
725     {
726         "comments": "",
727         "id": "b1ac48e3.52ee98",
728         "name": "success",
729         "outputs": 1,
730         "type": "success",
731         "wires": [
732             [
733                 "f88d9a18.d869f8"
734             ]
735         ],
736         "x": 1615.0477485656738,
737         "xml": "<outcome value='success'>\n",
738         "y": 1208.452480316162,
739         "z": "1f9db9a1.737df6"
740     },
741     {
742         "comments": "",
743         "id": "4f4e849f.98565c",
744         "name": "set variables for generating unique name",
745         "type": "set",
746         "wires": [],
747         "x": 1269.8096542358398,
748         "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",
749         "y": 1135.1191844940186,
750         "z": "1f9db9a1.737df6"
751     },
752     {
753         "comments": "",
754         "id": "d05b4ba7.3c07f",
755         "name": "return failure",
756         "type": "returnFailure",
757         "wires": [],
758         "x": 1779.5715115865073,
759         "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",
760         "y": 1156.2143487930298,
761         "z": "1f9db9a1.737df6"
762     },
763     {
764         "comments": "",
765         "id": "b572efaa.cba408",
766         "name": "get-resource cloud region",
767         "outputs": 1,
768         "type": "get-resource",
769         "wires": [
770             [
771                 "a348eda7.660348",
772                 "142de0c9.dde827"
773             ]
774         ],
775         "x": 586.5714492797852,
776         "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",
777         "y": 1748.8569984436035,
778         "z": "1f9db9a1.737df6"
779     },
780     {
781         "comments": "",
782         "id": "142de0c9.dde827",
783         "name": "failure",
784         "outputs": 1,
785         "type": "failure",
786         "wires": [
787             [
788                 "34ef927d.00b456"
789             ]
790         ],
791         "x": 811.8176422119141,
792         "xml": "<outcome value='failure'>\n",
793         "y": 1767.00785446167,
794         "z": "1f9db9a1.737df6"
795     },
796     {
797         "comments": "",
798         "id": "34ef927d.00b456",
799         "name": "return failure",
800         "type": "returnFailure",
801         "wires": [],
802         "x": 986.8176155090332,
803         "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",
804         "y": 1767.007890701294,
805         "z": "1f9db9a1.737df6"
806     },
807     {
808         "comments": "",
809         "id": "a348eda7.660348",
810         "name": "not-found",
811         "outputs": 1,
812         "type": "not-found",
813         "wires": [
814             [
815                 "ac864602.325b48"
816             ]
817         ],
818         "x": 820.7462387084961,
819         "xml": "<outcome value='not-found'>\n",
820         "y": 1725.2935876846313,
821         "z": "1f9db9a1.737df6"
822     },
823     {
824         "comments": "",
825         "id": "ac864602.325b48",
826         "name": "return failure",
827         "type": "returnFailure",
828         "wires": [],
829         "x": 987.095516204834,
830         "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",
831         "y": 1724.5991649627686,
832         "z": "1f9db9a1.737df6"
833     },
834     {
835         "comments": "",
836         "id": "8e7983f7.0b8ac8",
837         "name": "get-resource VF_TO_NETWORK_ROLE_MAPPING",
838         "outputs": 1,
839         "type": "get-resource",
840         "wires": [
841             [
842                 "4303334b.1d06ac",
843                 "97da19d.b97dfe8"
844             ]
845         ],
846         "x": 651.8095321655273,
847         "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",
848         "y": 2059.9045181274414,
849         "z": "1f9db9a1.737df6"
850     },
851     {
852         "comments": "",
853         "id": "d4db95bc.3539b",
854         "name": "return failure",
855         "type": "returnFailure",
856         "wires": [],
857         "x": 1387.5237121582031,
858         "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",
859         "y": 2077.618698120117,
860         "z": "1f9db9a1.737df6"
861     },
862     {
863         "comments": "",
864         "id": "4303334b.1d06ac",
865         "name": "failure",
866         "outputs": 1,
867         "type": "failure",
868         "wires": [
869             [
870                 "1cb8c40f.bbd244"
871             ]
872         ],
873         "x": 947.5952033996582,
874         "xml": "<outcome value='failure'>\n",
875         "y": 2038.6186828613281,
876         "z": "1f9db9a1.737df6"
877     },
878     {
879         "comments": "",
880         "id": "97da19d.b97dfe8",
881         "name": "not-found",
882         "outputs": 1,
883         "type": "not-found",
884         "wires": [
885             [
886                 "2ca15486.5cc8cc"
887             ]
888         ],
889         "x": 956.166633605957,
890         "xml": "<outcome value='not-found'>\n",
891         "y": 2082.904396057129,
892         "z": "1f9db9a1.737df6"
893     },
894     {
895         "comments": "",
896         "id": "1cb8c40f.bbd244",
897         "name": "return failure",
898         "type": "returnFailure",
899         "wires": [],
900         "x": 1122.5951843261719,
901         "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",
902         "y": 2038.4283332824707,
903         "z": "1f9db9a1.737df6"
904     },
905     {
906         "atomic": "true",
907         "id": "796cc7.d490b338",
908         "name": "block : atomic",
909         "outputs": 1,
910         "type": "block",
911         "wires": [
912             [
913                 "465ab09f.34229",
914                 "799318e1.a3e3a",
915                 "dc31ec67.0624a",
916                 "d834554a.ccf5f",
917                 "30a0e3fe.983584",
918                 "bc183bd7.3e811",
919                 "dc8fa939.b773f",
920                 "5090527e.f6c044"
921             ]
922         ],
923         "x": 752.5715866088867,
924         "xml": "<block atomic=\"true\">",
925         "y": 2508.71391582489,
926         "z": "1f9db9a1.737df6"
927     },
928     {
929         "comments": "",
930         "id": "dc31ec67.0624a",
931         "name": "get-resource l3-network",
932         "outputs": 1,
933         "type": "get-resource",
934         "wires": [
935             [
936                 "c81a364.d370848",
937                 "419e2508.7620ac"
938             ]
939         ],
940         "x": 985.4286041259766,
941         "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",
942         "y": 2187.999779701233,
943         "z": "1f9db9a1.737df6"
944     },
945     {
946         "comments": "",
947         "id": "419e2508.7620ac",
948         "name": "failure",
949         "outputs": 1,
950         "type": "failure",
951         "wires": [
952             [
953                 "b16e3091.456208"
954             ]
955         ],
956         "x": 1189.476318359375,
957         "xml": "<outcome value='failure'>\n",
958         "y": 2210.1426191329956,
959         "z": "1f9db9a1.737df6"
960     },
961     {
962         "comments": "",
963         "id": "b16e3091.456208",
964         "name": "return failure",
965         "type": "returnFailure",
966         "wires": [],
967         "x": 1364.4762916564941,
968         "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",
969         "y": 2210.1426553726196,
970         "z": "1f9db9a1.737df6"
971     },
972     {
973         "comments": "",
974         "id": "c81a364.d370848",
975         "name": "not-found",
976         "outputs": 1,
977         "type": "not-found",
978         "wires": [
979             [
980                 "1b8e966.12c8b6a"
981             ]
982         ],
983         "x": 1198.404914855957,
984         "xml": "<outcome value='not-found'>\n",
985         "y": 2168.428352355957,
986         "z": "1f9db9a1.737df6"
987     },
988     {
989         "comments": "",
990         "id": "1b8e966.12c8b6a",
991         "name": "return failure",
992         "type": "returnFailure",
993         "wires": [],
994         "x": 1364.754192352295,
995         "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",
996         "y": 2167.7339296340942,
997         "z": "1f9db9a1.737df6"
998     },
999     {
1000         "comments": "",
1001         "id": "465ab09f.34229",
1002         "name": "set vnf-network data",
1003         "type": "set",
1004         "wires": [],
1005         "x": 974.6191940307617,
1006         "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",
1007         "y": 2675.0000228881836,
1008         "z": "1f9db9a1.737df6"
1009     },
1010     {
1011         "comments": "",
1012         "id": "1a64389.04fb547",
1013         "name": "for each cloud-region availability zone",
1014         "outputs": 1,
1015         "type": "for",
1016         "wires": [
1017             [
1018                 "509993f3.7086bc"
1019             ]
1020         ],
1021         "x": 586.3335571289062,
1022         "xml": "<for index='idx' start='0' end='`$aai.az.availability-zone_length`' >\n",
1023         "y": 3089.618803024292,
1024         "z": "1f9db9a1.737df6"
1025     },
1026     {
1027         "comments": "",
1028         "id": "696846f6.70aa8",
1029         "name": "set availability-zone",
1030         "type": "set",
1031         "wires": [],
1032         "x": 1048.0002403259277,
1033         "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",
1034         "y": 3058.952217102051,
1035         "z": "1f9db9a1.737df6"
1036     },
1037     {
1038         "comments": "",
1039         "id": "2217154e.6141c2",
1040         "name": "set vnf-parameters-data",
1041         "type": "set",
1042         "wires": [],
1043         "x": 545.9524841308594,
1044         "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",
1045         "y": 2939.5711631774902,
1046         "z": "1f9db9a1.737df6"
1047     },
1048     {
1049         "comments": "",
1050         "id": "57d7e5fc.33f244",
1051         "name": "save generic-vnf l3-network relationships",
1052         "outputs": 1,
1053         "type": "save",
1054         "wires": [
1055             [
1056                 "7186d613.fe144",
1057                 "35d8114.d0acf6e"
1058             ]
1059         ],
1060         "x": 1012.5240173339844,
1061         "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",
1062         "y": 3233.381015777588,
1063         "z": "1f9db9a1.737df6"
1064     },
1065     {
1066         "comments": "",
1067         "id": "1da784bd.1a325b",
1068         "name": "return success",
1069         "type": "returnSuccess",
1070         "wires": [],
1071         "x": 509.0953674316406,
1072         "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",
1073         "y": 3620.1901140213013,
1074         "z": "1f9db9a1.737df6"
1075     },
1076     {
1077         "comments": "",
1078         "id": "c4c1c921.76e2b8",
1079         "name": "set vnf-level-oper-status to PendingCreate",
1080         "type": "set",
1081         "wires": [],
1082         "x": 598.9088134765625,
1083         "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",
1084         "y": 3522.527594566345,
1085         "z": "1f9db9a1.737df6"
1086     },
1087     {
1088         "comments": "",
1089         "id": "c85d4198.45c628",
1090         "name": "for each network-role",
1091         "outputs": 1,
1092         "type": "for",
1093         "wires": [
1094             [
1095                 "796cc7.d490b338"
1096             ]
1097         ],
1098         "x": 535.9048919677734,
1099         "xml": "<for index='role-index' start='0' end='`$db.vf-network-role-mapping_length`'>",
1100         "y": 2508.7141189575195,
1101         "z": "1f9db9a1.737df6"
1102     },
1103     {
1104         "comments": "",
1105         "id": "95a9e356.edb75",
1106         "name": "set network-index = 0",
1107         "type": "set",
1108         "wires": [],
1109         "x": 554.2380676269531,
1110         "xml": "<set>\n<parameter name='network-index' value='0' />\n",
1111         "y": 2126.8094577789307,
1112         "z": "1f9db9a1.737df6"
1113     },
1114     {
1115         "comments": "",
1116         "id": "799318e1.a3e3a",
1117         "name": "increment network-index",
1118         "type": "set",
1119         "wires": [],
1120         "x": 984.9525146484375,
1121         "xml": "<set>\n<parameter name='network-index' value='`$network-index + 1`' />\n",
1122         "y": 2812.6189250946045,
1123         "z": "1f9db9a1.737df6"
1124     },
1125     {
1126         "comments": "",
1127         "id": "26c17497.86b44c",
1128         "name": "set vnf-network_length",
1129         "type": "set",
1130         "wires": [],
1131         "x": 544.8095703125,
1132         "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",
1133         "y": 2889.571207046509,
1134         "z": "1f9db9a1.737df6"
1135     },
1136     {
1137         "comments": "",
1138         "id": "deeeb827.37f63",
1139         "name": "copy input data",
1140         "type": "set",
1141         "wires": [],
1142         "x": 514.4286422729492,
1143         "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",
1144         "y": 3470.1904258728027,
1145         "z": "1f9db9a1.737df6"
1146     },
1147     {
1148         "comments": "",
1149         "id": "6ce3245c.227ed4",
1150         "name": "for each vnf-network",
1151         "outputs": 1,
1152         "type": "for",
1153         "wires": [
1154             [
1155                 "21eaa2af.c3b26e"
1156             ]
1157         ],
1158         "x": 535.52392578125,
1159         "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",
1160         "y": 3232.380931854248,
1161         "z": "1f9db9a1.737df6"
1162     },
1163     {
1164         "atomic": "true",
1165         "id": "21eaa2af.c3b26e",
1166         "name": "block : atomic",
1167         "outputs": 1,
1168         "type": "block",
1169         "wires": [
1170             [
1171                 "57d7e5fc.33f244"
1172             ]
1173         ],
1174         "x": 739.1905670166016,
1175         "xml": "<block atomic=\"true\">",
1176         "y": 3232.380892753601,
1177         "z": "1f9db9a1.737df6"
1178     },
1179     {
1180         "comments": "",
1181         "id": "97e88fe.9dab2f",
1182         "name": "set new vnf_length",
1183         "type": "set",
1184         "wires": [],
1185         "x": 550.0952491760254,
1186         "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",
1187         "y": 782.7619781494141,
1188         "z": "1f9db9a1.737df6"
1189     },
1190     {
1191         "comments": "",
1192         "id": "84324533.95146",
1193         "name": "for each cloud-region relationship",
1194         "outputs": 1,
1195         "type": "for",
1196         "wires": [
1197             [
1198                 "f787444c.e13378"
1199             ]
1200         ],
1201         "x": 599.4285736083984,
1202         "xml": "<for index='idx' start='0' end='`$aai.cloud-region.relationship-list.relationship_length`' >\n",
1203         "y": 1836.0951700210571,
1204         "z": "1f9db9a1.737df6"
1205     },
1206     {
1207         "comments": "",
1208         "id": "f787444c.e13378",
1209         "name": "switch related-to",
1210         "outputs": 1,
1211         "type": "switchNode",
1212         "wires": [
1213             [
1214                 "cd796e7b.7cf948"
1215             ]
1216         ],
1217         "x": 847.1071166992188,
1218         "xml": "<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n",
1219         "y": 1835.8450994491577,
1220         "z": "1f9db9a1.737df6"
1221     },
1222     {
1223         "comments": "",
1224         "id": "cd796e7b.7cf948",
1225         "name": "complex",
1226         "outputs": 1,
1227         "type": "outcome",
1228         "wires": [
1229             [
1230                 "29a74b62.067044"
1231             ]
1232         ],
1233         "x": 1016.5714378356934,
1234         "xml": "<outcome value='complex'>\n",
1235         "y": 1835.2379217147827,
1236         "z": "1f9db9a1.737df6"
1237     },
1238     {
1239         "comments": "",
1240         "id": "f964a25d.454b6",
1241         "name": "set aic-clli",
1242         "type": "set",
1243         "wires": [],
1244         "x": 1337.2857360839844,
1245         "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",
1246         "y": 1834.9045791625977,
1247         "z": "1f9db9a1.737df6"
1248     },
1249     {
1250         "comments": "",
1251         "id": "fe738685.6c7d7",
1252         "name": "switch aic-clli",
1253         "outputs": 1,
1254         "type": "switchNode",
1255         "wires": [
1256             [
1257                 "d8ba8844.b1a0b8"
1258             ]
1259         ],
1260         "x": 535.3333511352539,
1261         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli`'>\n",
1262         "y": 1992.0474872589111,
1263         "z": "1f9db9a1.737df6"
1264     },
1265     {
1266         "comments": "",
1267         "id": "d8ba8844.b1a0b8",
1268         "name": "NULL",
1269         "outputs": 1,
1270         "type": "outcome",
1271         "wires": [
1272             [
1273                 "25200dee.75e302"
1274             ]
1275         ],
1276         "x": 683.4761848449707,
1277         "xml": "<outcome value=''>",
1278         "y": 1992.0474700927734,
1279         "z": "1f9db9a1.737df6"
1280     },
1281     {
1282         "comments": "",
1283         "id": "25200dee.75e302",
1284         "name": "return failure",
1285         "type": "returnFailure",
1286         "wires": [],
1287         "x": 830.6190452575684,
1288         "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",
1289         "y": 1991.6189041137695,
1290         "z": "1f9db9a1.737df6"
1291     },
1292     {
1293         "comments": "",
1294         "id": "5f4ea6d7.ceb158",
1295         "name": "set from DB",
1296         "type": "set",
1297         "wires": [],
1298         "x": 958.9287452697754,
1299         "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",
1300         "y": 1308.0475587844849,
1301         "z": "1f9db9a1.737df6"
1302     },
1303     {
1304         "comments": "",
1305         "id": "43d65ebc.c60b2",
1306         "name": "for each l3-network",
1307         "outputs": 1,
1308         "type": "for",
1309         "wires": [
1310             [
1311                 "6f76ed5d.4970e4"
1312             ]
1313         ],
1314         "x": 1092.8811492919922,
1315         "xml": "<for index='db-network-index' start='0' end='`$aai.l3-network.l3-network_length`' >\n",
1316         "y": 2431.571388244629,
1317         "z": "1f9db9a1.737df6"
1318     },
1319     {
1320         "comments": "",
1321         "id": "6f76ed5d.4970e4",
1322         "name": "switch orchestration-status",
1323         "outputs": 1,
1324         "type": "switchNode",
1325         "wires": [
1326             [
1327                 "bbe5662.f16b918",
1328                 "cb1bcbb.e4a72b8",
1329                 "be3d158a.0afbb",
1330                 "a22f9423.3e4f08",
1331                 "1aa61126.14efcf"
1332             ]
1333         ],
1334         "x": 1321.452350616455,
1335         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].orchestration-status`'>\n",
1336         "y": 2430.142815589905,
1337         "z": "1f9db9a1.737df6"
1338     },
1339     {
1340         "comments": "",
1341         "id": "bbe5662.f16b918",
1342         "name": "Pending Delete",
1343         "outputs": 1,
1344         "type": "outcome",
1345         "wires": [
1346             [
1347                 "c5d64162.5301c8"
1348             ]
1349         ],
1350         "x": 1558.1192626953125,
1351         "xml": "<outcome value='Pending Delete'>\n",
1352         "y": 2475.8095235824585,
1353         "z": "1f9db9a1.737df6"
1354     },
1355     {
1356         "comments": "",
1357         "id": "cb1bcbb.e4a72b8",
1358         "name": "other",
1359         "outputs": 1,
1360         "type": "other",
1361         "wires": [
1362             [
1363                 "cada7ba0.1dd8"
1364             ]
1365         ],
1366         "x": 1530.9764022827148,
1367         "xml": "<outcome value='Other'>\n",
1368         "y": 2526.809504508972,
1369         "z": "1f9db9a1.737df6"
1370     },
1371     {
1372         "comments": "",
1373         "id": "f2201c7e.b452e8",
1374         "name": "switch related-to",
1375         "outputs": 1,
1376         "type": "switchNode",
1377         "wires": [
1378             [
1379                 "18bbcf5a.1ec521"
1380             ]
1381         ],
1382         "x": 1896.6907539367676,
1383         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].related-to`'>\n",
1384         "y": 2525.3808450698853,
1385         "z": "1f9db9a1.737df6"
1386     },
1387     {
1388         "comments": "",
1389         "id": "cada7ba0.1dd8",
1390         "name": "for each relationship",
1391         "outputs": 1,
1392         "type": "for",
1393         "wires": [
1394             [
1395                 "f2201c7e.b452e8"
1396             ]
1397         ],
1398         "x": 1700.9763145446777,
1399         "xml": "<for silentFailure='true' index='db-rel-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship_length`' >\n",
1400         "y": 2526.3808813095093,
1401         "z": "1f9db9a1.737df6"
1402     },
1403     {
1404         "comments": "",
1405         "id": "18bbcf5a.1ec521",
1406         "name": "cloud-region",
1407         "outputs": 1,
1408         "type": "outcome",
1409         "wires": [
1410             [
1411                 "9edb388f.f5112"
1412             ]
1413         ],
1414         "x": 2070.9763946533203,
1415         "xml": "<outcome value='cloud-region'>\n",
1416         "y": 2524.9522914886475,
1417         "z": "1f9db9a1.737df6"
1418     },
1419     {
1420         "comments": "",
1421         "id": "9edb388f.f5112",
1422         "name": "for each relationship data",
1423         "outputs": 1,
1424         "type": "for",
1425         "wires": [
1426             [
1427                 "1a8ed1c0.72a746"
1428             ]
1429         ],
1430         "x": 2268.119094848633,
1431         "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",
1432         "y": 2525.380759239197,
1433         "z": "1f9db9a1.737df6"
1434     },
1435     {
1436         "comments": "",
1437         "id": "1a8ed1c0.72a746",
1438         "name": "switch relationship-key",
1439         "outputs": 1,
1440         "type": "switchNode",
1441         "wires": [
1442             [
1443                 "435633df.b879dc"
1444             ]
1445         ],
1446         "x": 2499.547695159912,
1447         "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",
1448         "y": 2524.9521341323853,
1449         "z": "1f9db9a1.737df6"
1450     },
1451     {
1452         "comments": "",
1453         "id": "435633df.b879dc",
1454         "name": "cloud-region.cloud-region-id",
1455         "outputs": 1,
1456         "type": "outcome",
1457         "wires": [
1458             [
1459                 "48895616.05d3b"
1460             ]
1461         ],
1462         "x": 2740.9762268066406,
1463         "xml": "<outcome value='cloud-region.cloud-region-id'>\n",
1464         "y": 2524.95223903656,
1465         "z": "1f9db9a1.737df6"
1466     },
1467     {
1468         "comments": "",
1469         "id": "48895616.05d3b",
1470         "name": "switch relationship-value == cloud-region-id",
1471         "outputs": 1,
1472         "type": "switchNode",
1473         "wires": [
1474             [
1475                 "12babad5.4b3935"
1476             ]
1477         ],
1478         "x": 3045.2621459960938,
1479         "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",
1480         "y": 2524.8092947006226,
1481         "z": "1f9db9a1.737df6"
1482     },
1483     {
1484         "comments": "",
1485         "id": "12babad5.4b3935",
1486         "name": "true",
1487         "outputs": 1,
1488         "type": "outcomeTrue",
1489         "wires": [
1490             [
1491                 "ad009415.ee8e2"
1492             ]
1493         ],
1494         "x": 3285.262176513672,
1495         "xml": "<outcome value='true'>\n",
1496         "y": 2524.9522399902344,
1497         "z": "1f9db9a1.737df6"
1498     },
1499     {
1500         "atomic": "false",
1501         "comments": "",
1502         "id": "d834554a.ccf5f",
1503         "name": "block",
1504         "outputs": 1,
1505         "type": "block",
1506         "wires": [
1507             [
1508                 "43d65ebc.c60b2",
1509                 "29a56ec0.3effd2"
1510             ]
1511         ],
1512         "x": 931.0953330993652,
1513         "xml": "<block>\n",
1514         "y": 2499.4284858703613,
1515         "z": "1f9db9a1.737df6"
1516     },
1517     {
1518         "comments": "",
1519         "id": "29a56ec0.3effd2",
1520         "name": "CATCH BREAK",
1521         "type": "returnSuccess",
1522         "wires": [],
1523         "x": 1082.4287414550781,
1524         "xml": "<return status='success'>\n\n",
1525         "y": 2572.7617197036743,
1526         "z": "1f9db9a1.737df6"
1527     },
1528     {
1529         "comments": "",
1530         "id": "f75b0ddb.4ffe68",
1531         "name": "BREAK",
1532         "type": "returnFailure",
1533         "wires": [],
1534         "x": 3586.095157623291,
1535         "xml": "<return status='failure'>\n",
1536         "y": 2542.761643409729,
1537         "z": "1f9db9a1.737df6"
1538     },
1539     {
1540         "comments": "",
1541         "id": "30a0e3fe.983584",
1542         "name": "set l3-network-id = -1",
1543         "type": "set",
1544         "wires": [],
1545         "x": 975.4287033081055,
1546         "xml": "<set>\n<parameter name='l3-network-id' value='-1' />\n",
1547         "y": 2302.7616996765137,
1548         "z": "1f9db9a1.737df6"
1549     },
1550     {
1551         "atomic": "true",
1552         "id": "ad009415.ee8e2",
1553         "name": "block : atomic",
1554         "outputs": 1,
1555         "type": "block",
1556         "wires": [
1557             [
1558                 "7a5cc970.dcdc18",
1559                 "f75b0ddb.4ffe68"
1560             ]
1561         ],
1562         "x": 3431.0951538085938,
1563         "xml": "<block atomic=\"true\">",
1564         "y": 2524.4283485412598,
1565         "z": "1f9db9a1.737df6"
1566     },
1567     {
1568         "comments": "",
1569         "id": "7a5cc970.dcdc18",
1570         "name": "set l3-network-id = this l3-network",
1571         "type": "set",
1572         "wires": [],
1573         "x": 3667.7618255615234,
1574         "xml": "<set>\n<parameter name='l3-network-id' value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n",
1575         "y": 2499.4283475875854,
1576         "z": "1f9db9a1.737df6"
1577     },
1578     {
1579         "comments": "",
1580         "id": "bc183bd7.3e811",
1581         "name": "switch l3-network-id",
1582         "outputs": 1,
1583         "type": "switchNode",
1584         "wires": [
1585             [
1586                 "91318c2.57404f"
1587             ]
1588         ],
1589         "x": 972.4286270141602,
1590         "xml": "<switch test='`$l3-network-id`'>\n",
1591         "y": 2626.428741455078,
1592         "z": "1f9db9a1.737df6"
1593     },
1594     {
1595         "comments": "",
1596         "id": "91318c2.57404f",
1597         "name": "-1",
1598         "outputs": 1,
1599         "type": "outcome",
1600         "wires": [
1601             [
1602                 "504d1216.64d004"
1603             ]
1604         ],
1605         "x": 1142.4285774230957,
1606         "xml": "<outcome value='-1'>\n",
1607         "y": 2626.428497314453,
1608         "z": "1f9db9a1.737df6"
1609     },
1610     {
1611         "comments": "",
1612         "id": "504d1216.64d004",
1613         "name": "return failure",
1614         "type": "returnFailure",
1615         "wires": [],
1616         "x": 1290.7619400024414,
1617         "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",
1618         "y": 2626.4286346435547,
1619         "z": "1f9db9a1.737df6"
1620     },
1621     {
1622         "comments": "",
1623         "id": "2ab7bc1f.b085b4",
1624         "name": "switch input model-invariant-uuid",
1625         "outputs": 1,
1626         "type": "switchNode",
1627         "wires": [
1628             [
1629                 "e082345e.236ca",
1630                 "a95f8164.b4e8b8"
1631             ]
1632         ],
1633         "x": 602.7858200073242,
1634         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`'>\n",
1635         "y": 1330.8720026016235,
1636         "z": "1f9db9a1.737df6"
1637     },
1638     {
1639         "comments": "",
1640         "id": "e082345e.236ca",
1641         "name": "NULL",
1642         "outputs": 1,
1643         "type": "outcome",
1644         "wires": [
1645             [
1646                 "5f4ea6d7.ceb158"
1647             ]
1648         ],
1649         "x": 808.4524917602539,
1650         "xml": "<outcome value=''>",
1651         "y": 1308.0149660110474,
1652         "z": "1f9db9a1.737df6"
1653     },
1654     {
1655         "comments": "",
1656         "id": "a95f8164.b4e8b8",
1657         "name": "other",
1658         "outputs": 1,
1659         "type": "other",
1660         "wires": [
1661             [
1662                 "e5dcf453.7ec14"
1663             ]
1664         ],
1665         "x": 809.8810882568359,
1666         "xml": "<outcome value='Other'>\n",
1667         "y": 1352.3005571365356,
1668         "z": "1f9db9a1.737df6"
1669     },
1670     {
1671         "comments": "",
1672         "id": "e5dcf453.7ec14",
1673         "name": "set from input",
1674         "type": "set",
1675         "wires": [],
1676         "x": 964.1668243408203,
1677         "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",
1678         "y": 1351.7291293144226,
1679         "z": "1f9db9a1.737df6"
1680     },
1681     {
1682         "comments": "",
1683         "id": "ebeec6f9.2c628",
1684         "name": "set from DB",
1685         "type": "set",
1686         "wires": [],
1687         "x": 959.8810157775879,
1688         "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",
1689         "y": 1396.5862350463867,
1690         "z": "1f9db9a1.737df6"
1691     },
1692     {
1693         "comments": "",
1694         "id": "2dbfa8ac.567be8",
1695         "name": "switch input model-uuid",
1696         "outputs": 1,
1697         "type": "switchNode",
1698         "wires": [
1699             [
1700                 "bafa03f0.0be328",
1701                 "40a4f245.06edcc"
1702             ]
1703         ],
1704         "x": 575.4048385620117,
1705         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`'>\n",
1706         "y": 1419.4107398986816,
1707         "z": "1f9db9a1.737df6"
1708     },
1709     {
1710         "comments": "",
1711         "id": "bafa03f0.0be328",
1712         "name": "NULL",
1713         "outputs": 1,
1714         "type": "outcome",
1715         "wires": [
1716             [
1717                 "ebeec6f9.2c628"
1718             ]
1719         ],
1720         "x": 809.4048118591309,
1721         "xml": "<outcome value=''>",
1722         "y": 1396.553671836853,
1723         "z": "1f9db9a1.737df6"
1724     },
1725     {
1726         "comments": "",
1727         "id": "40a4f245.06edcc",
1728         "name": "other",
1729         "outputs": 1,
1730         "type": "other",
1731         "wires": [
1732             [
1733                 "9ad4384f.c55ae"
1734             ]
1735         ],
1736         "x": 810.8334083557129,
1737         "xml": "<outcome value='Other'>\n",
1738         "y": 1440.8392629623413,
1739         "z": "1f9db9a1.737df6"
1740     },
1741     {
1742         "comments": "",
1743         "id": "9ad4384f.c55ae",
1744         "name": "set from input",
1745         "type": "set",
1746         "wires": [],
1747         "x": 965.1191444396973,
1748         "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",
1749         "y": 1440.2678351402283,
1750         "z": "1f9db9a1.737df6"
1751     },
1752     {
1753         "comments": "",
1754         "id": "369af0fe.bb8d18",
1755         "name": "set from DB",
1756         "type": "set",
1757         "wires": [],
1758         "x": 957.0239486694336,
1759         "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",
1760         "y": 1485.4434423446655,
1761         "z": "1f9db9a1.737df6"
1762     },
1763     {
1764         "comments": "",
1765         "id": "c33b5d51.3d59e",
1766         "name": "switch input model-version",
1767         "outputs": 1,
1768         "type": "switchNode",
1769         "wires": [
1770             [
1771                 "b1d9b14.52a99d",
1772                 "7dbbd718.ba9528"
1773             ]
1774         ],
1775         "x": 583.5477104187012,
1776         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`'>\n",
1777         "y": 1508.2678871154785,
1778         "z": "1f9db9a1.737df6"
1779     },
1780     {
1781         "comments": "",
1782         "id": "b1d9b14.52a99d",
1783         "name": "NULL",
1784         "outputs": 1,
1785         "type": "outcome",
1786         "wires": [
1787             [
1788                 "369af0fe.bb8d18"
1789             ]
1790         ],
1791         "x": 806.5476951599121,
1792         "xml": "<outcome value=''>",
1793         "y": 1485.410849571228,
1794         "z": "1f9db9a1.737df6"
1795     },
1796     {
1797         "comments": "",
1798         "id": "7dbbd718.ba9528",
1799         "name": "other",
1800         "outputs": 1,
1801         "type": "other",
1802         "wires": [
1803             [
1804                 "ec86a60a.b943f8"
1805             ]
1806         ],
1807         "x": 807.9762916564941,
1808         "xml": "<outcome value='Other'>\n",
1809         "y": 1529.6964406967163,
1810         "z": "1f9db9a1.737df6"
1811     },
1812     {
1813         "comments": "",
1814         "id": "ec86a60a.b943f8",
1815         "name": "set from input",
1816         "type": "set",
1817         "wires": [],
1818         "x": 962.2620277404785,
1819         "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",
1820         "y": 1529.1250128746033,
1821         "z": "1f9db9a1.737df6"
1822     },
1823     {
1824         "comments": "",
1825         "id": "d84c1fb5.76aec8",
1826         "name": "set from DB",
1827         "type": "set",
1828         "wires": [],
1829         "x": 957.0239486694336,
1830         "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",
1831         "y": 1572.5862646102905,
1832         "z": "1f9db9a1.737df6"
1833     },
1834     {
1835         "comments": "",
1836         "id": "f8b8a722.fd6508",
1837         "name": "switch input model-name",
1838         "outputs": 1,
1839         "type": "switchNode",
1840         "wires": [
1841             [
1842                 "37bd193e.8fcaee",
1843                 "904a8546.5a6878"
1844             ]
1845         ],
1846         "x": 578.5477104187012,
1847         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`'>\n",
1848         "y": 1595.4107093811035,
1849         "z": "1f9db9a1.737df6"
1850     },
1851     {
1852         "comments": "",
1853         "id": "37bd193e.8fcaee",
1854         "name": "NULL",
1855         "outputs": 1,
1856         "type": "outcome",
1857         "wires": [
1858             [
1859                 "d84c1fb5.76aec8"
1860             ]
1861         ],
1862         "x": 806.5476951599121,
1863         "xml": "<outcome value=''>",
1864         "y": 1572.553671836853,
1865         "z": "1f9db9a1.737df6"
1866     },
1867     {
1868         "comments": "",
1869         "id": "904a8546.5a6878",
1870         "name": "other",
1871         "outputs": 1,
1872         "type": "other",
1873         "wires": [
1874             [
1875                 "fb77ed1e.4c6d38"
1876             ]
1877         ],
1878         "x": 807.9762916564941,
1879         "xml": "<outcome value='Other'>\n",
1880         "y": 1616.8392629623413,
1881         "z": "1f9db9a1.737df6"
1882     },
1883     {
1884         "comments": "",
1885         "id": "fb77ed1e.4c6d38",
1886         "name": "set from input",
1887         "type": "set",
1888         "wires": [],
1889         "x": 962.2620277404785,
1890         "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",
1891         "y": 1616.2678351402283,
1892         "z": "1f9db9a1.737df6"
1893     },
1894     {
1895         "atomic": "false",
1896         "comments": "",
1897         "id": "c5d64162.5301c8",
1898         "name": "block",
1899         "outputs": 1,
1900         "type": "block",
1901         "wires": [
1902             []
1903         ],
1904         "x": 1711.3333549499512,
1905         "xml": "<block>\n",
1906         "y": 2476.586400985718,
1907         "z": "1f9db9a1.737df6"
1908     },
1909     {
1910         "comments": "",
1911         "id": "1aa61126.14efcf",
1912         "name": "PendingDelete",
1913         "outputs": 1,
1914         "type": "outcome",
1915         "wires": [
1916             [
1917                 "1a19e1e7.6d515e"
1918             ]
1919         ],
1920         "x": 1555.9999961853027,
1921         "xml": "<outcome value='PendingDelete'>\n",
1922         "y": 2431.5863151550293,
1923         "z": "1f9db9a1.737df6"
1924     },
1925     {
1926         "atomic": "false",
1927         "comments": "",
1928         "id": "1a19e1e7.6d515e",
1929         "name": "block",
1930         "outputs": 1,
1931         "type": "block",
1932         "wires": [
1933             []
1934         ],
1935         "x": 1711.2140884399414,
1936         "xml": "<block>\n",
1937         "y": 2432.3631925582886,
1938         "z": "1f9db9a1.737df6"
1939     },
1940     {
1941         "comments": "",
1942         "id": "a22f9423.3e4f08",
1943         "name": "Pending Create",
1944         "outputs": 1,
1945         "type": "outcome",
1946         "wires": [
1947             [
1948                 "7b5140c6.1be978"
1949             ]
1950         ],
1951         "x": 1557.9999961853027,
1952         "xml": "<outcome value='Pending Create'>\n",
1953         "y": 2388.2528190612793,
1954         "z": "1f9db9a1.737df6"
1955     },
1956     {
1957         "atomic": "false",
1958         "comments": "",
1959         "id": "7b5140c6.1be978",
1960         "name": "block",
1961         "outputs": 1,
1962         "type": "block",
1963         "wires": [
1964             []
1965         ],
1966         "x": 1711.2140884399414,
1967         "xml": "<block>\n",
1968         "y": 2389.0296964645386,
1969         "z": "1f9db9a1.737df6"
1970     },
1971     {
1972         "comments": "",
1973         "id": "be3d158a.0afbb",
1974         "name": "PendingCreate",
1975         "outputs": 1,
1976         "type": "outcome",
1977         "wires": [
1978             [
1979                 "56c1bb65.93ed54"
1980             ]
1981         ],
1982         "x": 1557.9999961853027,
1983         "xml": "<outcome value='PendingCreate'>\n",
1984         "y": 2344.9195671081543,
1985         "z": "1f9db9a1.737df6"
1986     },
1987     {
1988         "atomic": "false",
1989         "comments": "",
1990         "id": "56c1bb65.93ed54",
1991         "name": "block",
1992         "outputs": 1,
1993         "type": "block",
1994         "wires": [
1995             []
1996         ],
1997         "x": 1711.2140884399414,
1998         "xml": "<block>\n",
1999         "y": 2345.6964445114136,
2000         "z": "1f9db9a1.737df6"
2001     },
2002     {
2003         "comments": "",
2004         "id": "dc8fa939.b773f",
2005         "name": "for each A&AI subnet",
2006         "outputs": 1,
2007         "type": "for",
2008         "wires": [
2009             [
2010                 "ca52b163.d4827"
2011             ]
2012         ],
2013         "x": 974.6667633056641,
2014         "xml": "<for index='subnet-index' start='0' end='`$aai.l3-network.l3-network[0].subnets.subnet_length`' >\n",
2015         "y": 2719.919626235962,
2016         "z": "1f9db9a1.737df6"
2017     },
2018     {
2019         "comments": "",
2020         "id": "ca52b163.d4827",
2021         "name": "set subnet data",
2022         "type": "set",
2023         "wires": [],
2024         "x": 1172.9999389648438,
2025         "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",
2026         "y": 2718.2532052993774,
2027         "z": "1f9db9a1.737df6"
2028     },
2029     {
2030         "comments": "",
2031         "id": "5090527e.f6c044",
2032         "name": "set subnet_length",
2033         "type": "set",
2034         "wires": [],
2035         "x": 963.3333282470703,
2036         "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",
2037         "y": 2764.919708251953,
2038         "z": "1f9db9a1.737df6"
2039     },
2040     {
2041         "comments": "",
2042         "id": "f03f1068.5af0c",
2043         "name": "set availability-zones.max-count and length",
2044         "type": "set",
2045         "wires": [],
2046         "x": 606.0000610351562,
2047         "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",
2048         "y": 3177.6342582702637,
2049         "z": "1f9db9a1.737df6"
2050     },
2051     {
2052         "comments": "",
2053         "id": "5e785184.8c4128",
2054         "name": "set vnf-name",
2055         "type": "set",
2056         "wires": [],
2057         "x": 539.666633605957,
2058         "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",
2059         "y": 1264.9197664260864,
2060         "z": "1f9db9a1.737df6"
2061     },
2062     {
2063         "comments": "",
2064         "id": "3a4f6bb1.560164",
2065         "name": "update generic-vnf",
2066         "outputs": 1,
2067         "type": "save",
2068         "wires": [
2069             [
2070                 "1fc6e960.150607",
2071                 "a8793a07.5d6f48"
2072             ]
2073         ],
2074         "x": 526.3333282470703,
2075         "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",
2076         "y": 3387.300033569336,
2077         "z": "1f9db9a1.737df6"
2078     },
2079     {
2080         "comments": "",
2081         "id": "9bd6668b.dfc92",
2082         "name": "set vnf-object-path and service-object-path",
2083         "type": "set",
2084         "wires": [],
2085         "x": 606.3333740234375,
2086         "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<parameter name='service-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'`\"/>",
2087         "y": 3310.300537109375,
2088         "z": "1f9db9a1.737df6"
2089     },
2090     {
2091         "comments": "",
2092         "id": "391ed085.26b75",
2093         "name": "set vnf-id",
2094         "type": "set",
2095         "wires": [],
2096         "x": 527.9999771118164,
2097         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id'\n   value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n",
2098         "y": 1216.5863094329834,
2099         "z": "1f9db9a1.737df6"
2100     },
2101     {
2102         "comments": "",
2103         "id": "e3fcddaa.ac5538",
2104         "name": "printContext",
2105         "outputs": 1,
2106         "type": "execute",
2107         "wires": [
2108             []
2109         ],
2110         "x": 504.00009536743164,
2111         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-viprend.log' />\n",
2112         "y": 3568.967363357544,
2113         "z": "1f9db9a1.737df6"
2114     },
2115     {
2116         "comments": "",
2117         "id": "6f3c4400.e28f24",
2118         "name": "return failure",
2119         "type": "returnFailure",
2120         "wires": [],
2121         "x": 1449.666805267334,
2122         "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",
2123         "y": 3253.9671211242676,
2124         "z": "1f9db9a1.737df6"
2125     },
2126     {
2127         "comments": "",
2128         "id": "7186d613.fe144",
2129         "name": "failure",
2130         "outputs": 1,
2131         "type": "failure",
2132         "wires": [
2133             [
2134                 "89a1c75d.721db8"
2135             ]
2136         ],
2137         "x": 1262.3573722839355,
2138         "xml": "<outcome value='failure'>\n",
2139         "y": 3210.919590950012,
2140         "z": "1f9db9a1.737df6"
2141     },
2142     {
2143         "comments": "",
2144         "id": "35d8114.d0acf6e",
2145         "name": "not-found",
2146         "outputs": 1,
2147         "type": "not-found",
2148         "wires": [
2149             [
2150                 "6f3c4400.e28f24"
2151             ]
2152         ],
2153         "x": 1270.9288024902344,
2154         "xml": "<outcome value='not-found'>\n",
2155         "y": 3255.205304145813,
2156         "z": "1f9db9a1.737df6"
2157     },
2158     {
2159         "comments": "",
2160         "id": "89a1c75d.721db8",
2161         "name": "return failure",
2162         "type": "returnFailure",
2163         "wires": [],
2164         "x": 1452.3573989868164,
2165         "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",
2166         "y": 3210.729326248169,
2167         "z": "1f9db9a1.737df6"
2168     },
2169     {
2170         "comments": "",
2171         "id": "17590340.d661cd",
2172         "name": "return failure",
2173         "type": "returnFailure",
2174         "wires": [],
2175         "x": 929.6667442321777,
2176         "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",
2177         "y": 3408.967043876648,
2178         "z": "1f9db9a1.737df6"
2179     },
2180     {
2181         "comments": "",
2182         "id": "1fc6e960.150607",
2183         "name": "failure",
2184         "outputs": 1,
2185         "type": "failure",
2186         "wires": [
2187             [
2188                 "d9024ee2.bf5d3"
2189             ]
2190         ],
2191         "x": 742.3573112487793,
2192         "xml": "<outcome value='failure'>\n",
2193         "y": 3365.9195137023926,
2194         "z": "1f9db9a1.737df6"
2195     },
2196     {
2197         "comments": "",
2198         "id": "a8793a07.5d6f48",
2199         "name": "not-found",
2200         "outputs": 1,
2201         "type": "not-found",
2202         "wires": [
2203             [
2204                 "17590340.d661cd"
2205             ]
2206         ],
2207         "x": 750.9287414550781,
2208         "xml": "<outcome value='not-found'>\n",
2209         "y": 3410.2052268981934,
2210         "z": "1f9db9a1.737df6"
2211     },
2212     {
2213         "comments": "",
2214         "id": "d9024ee2.bf5d3",
2215         "name": "return failure",
2216         "type": "returnFailure",
2217         "wires": [],
2218         "x": 932.3573379516602,
2219         "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",
2220         "y": 3365.7292490005493,
2221         "z": "1f9db9a1.737df6"
2222     },
2223     {
2224         "comments": "",
2225         "id": "2e7ae530.0e2cea",
2226         "name": "set model-customization-uuid",
2227         "type": "set",
2228         "wires": [],
2229         "x": 591.3332977294922,
2230         "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",
2231         "y": 1668.2529134750366,
2232         "z": "1f9db9a1.737df6"
2233     },
2234     {
2235         "comments": "",
2236         "id": "c4513e6c.417d88",
2237         "name": "split related-link",
2238         "outputs": 1,
2239         "type": "execute",
2240         "wires": [
2241             []
2242         ],
2243         "x": 1356.6665954589844,
2244         "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",
2245         "y": 1789.6664972305298,
2246         "z": "1f9db9a1.737df6"
2247     },
2248     {
2249         "atomic": "true",
2250         "id": "29a74b62.067044",
2251         "name": "block : atomic",
2252         "outputs": 1,
2253         "type": "block",
2254         "wires": [
2255             [
2256                 "c4513e6c.417d88",
2257                 "f964a25d.454b6",
2258                 "bf8afd9.c73b1"
2259             ]
2260         ],
2261         "x": 1176.3332977294922,
2262         "xml": "<block atomic=\"true\">",
2263         "y": 1836.333285331726,
2264         "z": "1f9db9a1.737df6"
2265     },
2266     {
2267         "comments": "",
2268         "id": "bf8afd9.c73b1",
2269         "name": "break",
2270         "type": "break",
2271         "wires": [],
2272         "x": 1326.3332595825195,
2273         "xml": "<break>\n",
2274         "y": 1879.666582107544,
2275         "z": "1f9db9a1.737df6"
2276     },
2277     {
2278         "atomic": "true",
2279         "id": "509993f3.7086bc",
2280         "name": "block : atomic",
2281         "outputs": 1,
2282         "type": "block",
2283         "wires": [
2284             [
2285                 "696846f6.70aa8",
2286                 "765526c8.d4caf"
2287             ]
2288         ],
2289         "x": 838,
2290         "xml": "<block atomic=\"true\">",
2291         "y": 3088.7143869400024,
2292         "z": "1f9db9a1.737df6"
2293     },
2294     {
2295         "comments": "",
2296         "id": "765526c8.d4caf",
2297         "name": "save generic-vnf availability-zone relationship",
2298         "outputs": 1,
2299         "type": "save",
2300         "wires": [
2301             [
2302                 "43f03688.4ffc08",
2303                 "49249c79.4e59a4"
2304             ]
2305         ],
2306         "x": 1129.9048156738281,
2307         "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",
2308         "y": 3112.0478343963623,
2309         "z": "1f9db9a1.737df6"
2310     },
2311     {
2312         "comments": "",
2313         "id": "1fb1c5a4.5564ca",
2314         "name": "return failure",
2315         "type": "returnFailure",
2316         "wires": [],
2317         "x": 1583.47607421875,
2318         "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",
2319         "y": 3135.9671936035156,
2320         "z": "1f9db9a1.737df6"
2321     },
2322     {
2323         "comments": "",
2324         "id": "43f03688.4ffc08",
2325         "name": "failure",
2326         "outputs": 1,
2327         "type": "failure",
2328         "wires": [
2329             [
2330                 "31682c44.dabecc"
2331             ]
2332         ],
2333         "x": 1396.1666412353516,
2334         "xml": "<outcome value='failure'>\n",
2335         "y": 3092.9196634292603,
2336         "z": "1f9db9a1.737df6"
2337     },
2338     {
2339         "comments": "",
2340         "id": "49249c79.4e59a4",
2341         "name": "not-found",
2342         "outputs": 1,
2343         "type": "not-found",
2344         "wires": [
2345             [
2346                 "1fb1c5a4.5564ca"
2347             ]
2348         ],
2349         "x": 1404.7380714416504,
2350         "xml": "<outcome value='not-found'>\n",
2351         "y": 3137.205376625061,
2352         "z": "1f9db9a1.737df6"
2353     },
2354     {
2355         "comments": "",
2356         "id": "31682c44.dabecc",
2357         "name": "return failure",
2358         "type": "returnFailure",
2359         "wires": [],
2360         "x": 1586.1666679382324,
2361         "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",
2362         "y": 3092.729398727417,
2363         "z": "1f9db9a1.737df6"
2364     },
2365     {
2366         "comments": "",
2367         "id": "2ca15486.5cc8cc",
2368         "name": "set mapping rows to 0",
2369         "type": "set",
2370         "wires": [],
2371         "x": 1150.1427688598633,
2372         "xml": "<set>\n<parameter name='db.vf-network-role-mapping_length' value='0' />\n",
2373         "y": 2082.52388381958,
2374         "z": "1f9db9a1.737df6"
2375     },
2376     {
2377         "comments": "",
2378         "id": "611f691d.f4b31",
2379         "name": "switch AAI availability-zone_length",
2380         "outputs": 1,
2381         "type": "switchNode",
2382         "wires": [
2383             [
2384                 "701b12be.386a5c"
2385             ]
2386         ],
2387         "x": 578.7142868041992,
2388         "xml": "<switch test='`$aai.az.availability-zone_length`'>\n",
2389         "y": 2992.523973464966,
2390         "z": "1f9db9a1.737df6"
2391     },
2392     {
2393         "comments": "",
2394         "id": "701b12be.386a5c",
2395         "name": "NULL",
2396         "outputs": 1,
2397         "type": "outcome",
2398         "wires": [
2399             [
2400                 "1249a549.cc39bb"
2401             ]
2402         ],
2403         "x": 797.2857055664062,
2404         "xml": "<outcome value=''>",
2405         "y": 2992.0953826904297,
2406         "z": "1f9db9a1.737df6"
2407     },
2408     {
2409         "comments": "",
2410         "id": "a04c4aba.4671b8",
2411         "name": "set availability-zone_length to 0",
2412         "type": "set",
2413         "wires": [],
2414         "x": 1398.7143478393555,
2415         "xml": "<set>\n<parameter name='aai.az.availability-zone_length' value='0' />\n",
2416         "y": 3010.6666202545166,
2417         "z": "1f9db9a1.737df6"
2418     },
2419     {
2420         "comments": "",
2421         "id": "1249a549.cc39bb",
2422         "name": "switch AZ max count > 0",
2423         "outputs": 1,
2424         "type": "switchNode",
2425         "wires": [
2426             [
2427                 "545772cc.6dbc04",
2428                 "f7e43f63.6a2e5"
2429             ]
2430         ],
2431         "x": 985.857177734375,
2432         "xml": "<switch test='`$db.vf-model.avail-zone-max-count &gt; 0`'>\n",
2433         "y": 2992.5236945152283,
2434         "z": "1f9db9a1.737df6"
2435     },
2436     {
2437         "comments": "",
2438         "id": "545772cc.6dbc04",
2439         "name": "true",
2440         "outputs": 1,
2441         "type": "outcomeTrue",
2442         "wires": [
2443             [
2444                 "be2e43e.cc375c"
2445             ]
2446         ],
2447         "x": 1188.7142848968506,
2448         "xml": "<outcome value='true'>\n",
2449         "y": 2966.8094444274902,
2450         "z": "1f9db9a1.737df6"
2451     },
2452     {
2453         "comments": "",
2454         "id": "f7e43f63.6a2e5",
2455         "name": "false",
2456         "outputs": 1,
2457         "type": "outcomeFalse",
2458         "wires": [
2459             [
2460                 "a04c4aba.4671b8"
2461             ]
2462         ],
2463         "x": 1190.1429061889648,
2464         "xml": "<outcome value='false'>\n",
2465         "y": 3011.0951919555664,
2466         "z": "1f9db9a1.737df6"
2467     },
2468     {
2469         "comments": "",
2470         "id": "be2e43e.cc375c",
2471         "name": "return failure",
2472         "type": "returnFailure",
2473         "wires": [],
2474         "x": 1340.142822265625,
2475         "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",
2476         "y": 2966.5238494873047,
2477         "z": "1f9db9a1.737df6"
2478     },
2479     {
2480         "comments": "",
2481         "id": "c510e207.134d3",
2482         "name": "get-resource availability zones",
2483         "outputs": 1,
2484         "type": "get-resource",
2485         "wires": [
2486             [
2487                 "5917e224.06e004"
2488             ]
2489         ],
2490         "x": 588.7143096923828,
2491         "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",
2492         "y": 1919.4286441802979,
2493         "z": "1f9db9a1.737df6"
2494     },
2495     {
2496         "comments": "",
2497         "id": "5917e224.06e004",
2498         "name": "failure",
2499         "outputs": 1,
2500         "type": "failure",
2501         "wires": [
2502             [
2503                 "76d22d4c.7d6684"
2504             ]
2505         ],
2506         "x": 813.9605255126953,
2507         "xml": "<outcome value='failure'>\n",
2508         "y": 1918.829496383667,
2509         "z": "1f9db9a1.737df6"
2510     },
2511     {
2512         "comments": "",
2513         "id": "76d22d4c.7d6684",
2514         "name": "return failure",
2515         "type": "returnFailure",
2516         "wires": [],
2517         "x": 987.7104644775391,
2518         "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",
2519         "y": 1917.5796184539795,
2520         "z": "1f9db9a1.737df6"
2521     }
2522 ]