Carry forward GRA async fixes
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vnf-topology-operation-assign-async.json
1 [\r
2     {\r
3         "id": "1c63830b.6dad15",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 158,\r
8         "y": 122.74699592590332,\r
9         "z": "652cf04d.917e78",\r
10         "wires": [\r
11             [\r
12                 "d0207df4.e744a8"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "d0207df4.e744a8",\r
18         "type": "service-logic",\r
19         "name": "GENERIC-RESOURCE-API ${project.version}",\r
20         "module": "GENERIC-RESOURCE-API",\r
21         "version": "${project.version}",\r
22         "comments": "",\r
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
24         "outputs": 1,\r
25         "x": 273.28570556640625,\r
26         "y": 164.65177536010742,\r
27         "z": "652cf04d.917e78",\r
28         "wires": [\r
29             [\r
30                 "3222238a.bde594"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "3222238a.bde594",\r
36         "type": "method",\r
37         "name": "method vnf-topology-operation-assign-async",\r
38         "xml": "<method rpc='vnf-topology-operation-assign-async' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 246.09530639648438,\r
42         "y": 207.41365909576416,\r
43         "z": "652cf04d.917e78",\r
44         "wires": [\r
45             [\r
46                 "525bcd69.d52c4c"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "4bbdf4dc.9acd64",\r
52         "type": "comment",\r
53         "name": "vnf-topology-operation-assign-async",\r
54         "info": "",\r
55         "comments": "",\r
56         "x": 522.0115356445312,\r
57         "y": 45,\r
58         "z": "652cf04d.917e78",\r
59         "wires": []\r
60     },\r
61     {\r
62         "id": "65b55bf0.e17c94",\r
63         "type": "switchNode",\r
64         "name": "switch request-action",\r
65         "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",\r
66         "comments": "",\r
67         "outputs": 1,\r
68         "x": 554.3809661865234,\r
69         "y": 518.3898124694824,\r
70         "z": "652cf04d.917e78",\r
71         "wires": [\r
72             [\r
73                 "676025ce.ceaed4",\r
74                 "fac05067.e39a6"\r
75             ]\r
76         ]\r
77     },\r
78     {\r
79         "id": "676025ce.ceaed4",\r
80         "type": "outcome",\r
81         "name": "CreateVnfInstance",\r
82         "xml": "<outcome value='CreateVnfInstance'>\n",\r
83         "comments": "",\r
84         "outputs": 1,\r
85         "x": 808.0952606201172,\r
86         "y": 495.53269386291504,\r
87         "z": "652cf04d.917e78",\r
88         "wires": [\r
89             [\r
90                 "a9df7def.2e87a"\r
91             ]\r
92         ]\r
93     },\r
94     {\r
95         "id": "fac05067.e39a6",\r
96         "type": "other",\r
97         "name": "other",\r
98         "xml": "<outcome value='Other'>\n",\r
99         "comments": "",\r
100         "outputs": 1,\r
101         "x": 770.0952262878418,\r
102         "y": 541.2470216751099,\r
103         "z": "652cf04d.917e78",\r
104         "wires": [\r
105             [\r
106                 "2d48d63d.1a5b82"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "a9df7def.2e87a",\r
112         "type": "block",\r
113         "name": "block",\r
114         "xml": "<block>\n",\r
115         "atomic": "false",\r
116         "comments": "",\r
117         "outputs": 1,\r
118         "x": 992.9523887634277,\r
119         "y": 495.53272342681885,\r
120         "z": "652cf04d.917e78",\r
121         "wires": [\r
122             []\r
123         ]\r
124     },\r
125     {\r
126         "id": "73e62b5e.2d2d24",\r
127         "type": "block",\r
128         "name": "block : atomic",\r
129         "xml": "<block atomic=\"true\">",\r
130         "atomic": "true",\r
131         "outputs": 1,\r
132         "x": 215.73814392089844,\r
133         "y": 3404.7708625793457,\r
134         "z": "652cf04d.917e78",\r
135         "wires": [\r
136             [\r
137                 "4ea0676c.f3c5",\r
138                 "d807e3bf.6821",\r
139                 "7dbd70b1.1d952",\r
140                 "c802fc95.1aed4",\r
141                 "ba6b2f3.81ff65",\r
142                 "84242802.438068",\r
143                 "40b03c35.066374",\r
144                 "978c06f5.c51b38",\r
145                 "a2246d8d.309948",\r
146                 "d1226d82.dd4ba",\r
147                 "42aca120.8663b",\r
148                 "27992a30.77ac86",\r
149                 "ba745244.bd0468",\r
150                 "32a417de.843a",\r
151                 "60220dbd.cbb274",\r
152                 "aeeecb5d.b95ac8",\r
153                 "bd2f9d29.6f4cd",\r
154                 "d4235437.829c38",\r
155                 "d7771a1c.3c6348",\r
156                 "6a3932df.a191e4",\r
157                 "ba43d064.2bf358",\r
158                 "54b8c442.c1469c",\r
159                 "f4822626.6784a",\r
160                 "c0f7e6fd.82944",\r
161                 "b69c7bea.5b8f98",\r
162                 "779ef85a.752e58",\r
163                 "b8b61871.289a38",\r
164                 "f7b6f1fc.97c858",\r
165                 "d350e16f.3e261",\r
166                 "93239a74.eab46",\r
167                 "a88c2f3d.bf4fa8",\r
168                 "3e36f71.f2f0b88",\r
169                 "b3a3b6d8.b3b1a",\r
170                 "aac69396.6ddb18",\r
171                 "634a4090.ff27d",\r
172                 "9ec4fd36.2e31c8",\r
173                 "1fec3768.f512f1",\r
174                 "4ba8fd3f.c818fc",\r
175                 "d2d8ec6e.e92468",\r
176                 "2957e806.869ab"\r
177             ]\r
178         ]\r
179     },\r
180     {\r
181         "id": "c29453e1.d0b3d8",\r
182         "type": "get-resource",\r
183         "name": "get-resource VF_MODEL",\r
184         "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",\r
185         "comments": "",\r
186         "outputs": 1,\r
187         "x": 566.7142715454102,\r
188         "y": 609.5326824188232,\r
189         "z": "652cf04d.917e78",\r
190         "wires": [\r
191             [\r
192                 "1eae0e0a.4b77c2",\r
193                 "72cc49c6.447b08"\r
194             ]\r
195         ]\r
196     },\r
197     {\r
198         "id": "1eae0e0a.4b77c2",\r
199         "type": "failure",\r
200         "name": "failure",\r
201         "xml": "<outcome value='failure'>\n",\r
202         "comments": "",\r
203         "outputs": 1,\r
204         "x": 767.4999694824219,\r
205         "y": 589.913519859314,\r
206         "z": "652cf04d.917e78",\r
207         "wires": [\r
208             [\r
209                 "17544ab9.984c5d"\r
210             ]\r
211         ]\r
212     },\r
213     {\r
214         "id": "72cc49c6.447b08",\r
215         "type": "not-found",\r
216         "name": "not-found",\r
217         "xml": "<outcome value='not-found'>\n",\r
218         "comments": "",\r
219         "outputs": 1,\r
220         "x": 776.0713996887207,\r
221         "y": 634.1992330551147,\r
222         "z": "652cf04d.917e78",\r
223         "wires": [\r
224             [\r
225                 "9a95814.c6dd98"\r
226             ]\r
227         ]\r
228     },\r
229     {\r
230         "id": "4ea0676c.f3c5",\r
231         "type": "switchNode",\r
232         "name": "switch service-data.vnfs.vnf_length",\r
233         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
234         "comments": "",\r
235         "outputs": 1,\r
236         "x": 590.3809204101562,\r
237         "y": 1197.9851322174072,\r
238         "z": "652cf04d.917e78",\r
239         "wires": [\r
240             [\r
241                 "7fa001b2.5a02a",\r
242                 "2784fe24.f3ffba"\r
243             ]\r
244         ]\r
245     },\r
246     {\r
247         "id": "7fa001b2.5a02a",\r
248         "type": "other",\r
249         "name": "NULL",\r
250         "xml": "<outcome value=''>\n",\r
251         "comments": "",\r
252         "outputs": 1,\r
253         "x": 816.0952491760254,\r
254         "y": 1165.1279201507568,\r
255         "z": "652cf04d.917e78",\r
256         "wires": [\r
257             [\r
258                 "7f419c89.2e0014"\r
259             ]\r
260         ]\r
261     },\r
262     {\r
263         "id": "7f419c89.2e0014",\r
264         "type": "set",\r
265         "name": "set vnf-index=0",\r
266         "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",\r
267         "comments": "",\r
268         "x": 980.3809700012207,\r
269         "y": 1164.1279983520508,\r
270         "z": "652cf04d.917e78",\r
271         "wires": []\r
272     },\r
273     {\r
274         "id": "2784fe24.f3ffba",\r
275         "type": "other",\r
276         "name": "other",\r
277         "xml": "<outcome value='Other'>\n",\r
278         "comments": "",\r
279         "outputs": 1,\r
280         "x": 817.523811340332,\r
281         "y": 1229.4137382507324,\r
282         "z": "652cf04d.917e78",\r
283         "wires": [\r
284             [\r
285                 "6b01bbf.e34dbc4"\r
286             ]\r
287         ]\r
288     },\r
289     {\r
290         "id": "741efbb8.5b8a44",\r
291         "type": "set",\r
292         "name": "set vnf-index = vnf_length",\r
293         "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",\r
294         "comments": "",\r
295         "x": 1235.3809661865234,\r
296         "y": 1207.699426651001,\r
297         "z": "652cf04d.917e78",\r
298         "wires": []\r
299     },\r
300     {\r
301         "id": "5f2528be.bf7e48",\r
302         "type": "for",\r
303         "name": "for each existing VNF",\r
304         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
305         "comments": "",\r
306         "outputs": 1,\r
307         "x": 1220.8094787597656,\r
308         "y": 1253.6993656158447,\r
309         "z": "652cf04d.917e78",\r
310         "wires": [\r
311             [\r
312                 "4af50057.0f1aa8"\r
313             ]\r
314         ]\r
315     },\r
316     {\r
317         "id": "6b01bbf.e34dbc4",\r
318         "type": "block",\r
319         "name": "block : atomic",\r
320         "xml": "<block atomic='true'>",\r
321         "atomic": "true",\r
322         "comments": "",\r
323         "outputs": 1,\r
324         "x": 991.2380714416504,\r
325         "y": 1229.413703918457,\r
326         "z": "652cf04d.917e78",\r
327         "wires": [\r
328             [\r
329                 "741efbb8.5b8a44",\r
330                 "5f2528be.bf7e48"\r
331             ]\r
332         ]\r
333     },\r
334     {\r
335         "id": "4af50057.0f1aa8",\r
336         "type": "switchNode",\r
337         "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",\r
338         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",\r
339         "comments": "",\r
340         "outputs": 1,\r
341         "x": 1575.0952453613281,\r
342         "y": 1253.270845413208,\r
343         "z": "652cf04d.917e78",\r
344         "wires": [\r
345             [\r
346                 "25f009f8.2d893e"\r
347             ]\r
348         ]\r
349     },\r
350     {\r
351         "id": "25f009f8.2d893e",\r
352         "type": "outcomeTrue",\r
353         "name": "true",\r
354         "xml": "<outcome value='true'>\n",\r
355         "comments": "",\r
356         "outputs": 1,\r
357         "x": 1869.3810005187988,\r
358         "y": 1252.8423299789429,\r
359         "z": "652cf04d.917e78",\r
360         "wires": [\r
361             [\r
362                 "dcfb1529.fec6a8"\r
363             ]\r
364         ]\r
365     },\r
366     {\r
367         "id": "8724aa2.889b6d8",\r
368         "type": "comment",\r
369         "name": "make sure this VNF doesn't exist already",\r
370         "info": "",\r
371         "comments": "",\r
372         "x": 1562.2379760742188,\r
373         "y": 1210.8422756195068,\r
374         "z": "652cf04d.917e78",\r
375         "wires": []\r
376     },\r
377     {\r
378         "id": "d807e3bf.6821",\r
379         "type": "set",\r
380         "name": "set vnf-topology data",\r
381         "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",\r
382         "comments": "",\r
383         "x": 556.0952033996582,\r
384         "y": 1729.6518993377686,\r
385         "z": "652cf04d.917e78",\r
386         "wires": []\r
387     },\r
388     {\r
389         "id": "7dbd70b1.1d952",\r
390         "type": "switchNode",\r
391         "name": "switch input vnf-name",\r
392         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-name`'>\n",\r
393         "comments": "",\r
394         "outputs": 1,\r
395         "x": 568.5952224731445,\r
396         "y": 2091.770956993103,\r
397         "z": "652cf04d.917e78",\r
398         "wires": [\r
399             [\r
400                 "241fabfe.69fa2c",\r
401                 "f80604c.1fec1f8"\r
402             ]\r
403         ]\r
404     },\r
405     {\r
406         "id": "c802fc95.1aed4",\r
407         "type": "get-resource",\r
408         "name": "get-resource cloud region",\r
409         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"cloud-region\" \n\t\tkey=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner AND \n\t\t     cloud-region.cloud-region-id = $vnf-topology-operation-input.vnf-request-input.aic-cloud-region AND\n\t\t     depth='all'\"\n        pfx='aai.cloud-region' local-only='false' >\n\n",\r
410         "comments": "",\r
411         "outputs": 1,\r
412         "x": 600.738166809082,\r
413         "y": 2987.7706928253174,\r
414         "z": "652cf04d.917e78",\r
415         "wires": [\r
416             [\r
417                 "50e5753c.35a0ec",\r
418                 "60c43013.41eb78"\r
419             ]\r
420         ]\r
421     },\r
422     {\r
423         "id": "60c43013.41eb78",\r
424         "type": "failure",\r
425         "name": "failure",\r
426         "xml": "<outcome value='failure'>\n",\r
427         "comments": "",\r
428         "outputs": 1,\r
429         "x": 808.8414840698242,\r
430         "y": 3006.921399116516,\r
431         "z": "652cf04d.917e78",\r
432         "wires": [\r
433             [\r
434                 "f968cb62.56775"\r
435             ]\r
436         ]\r
437     },\r
438     {\r
439         "id": "50e5753c.35a0ec",\r
440         "type": "not-found",\r
441         "name": "not-found",\r
442         "xml": "<outcome value='not-found'>\n",\r
443         "comments": "",\r
444         "outputs": 1,\r
445         "x": 817.7700805664062,\r
446         "y": 2964.2071323394775,\r
447         "z": "652cf04d.917e78",\r
448         "wires": [\r
449             [\r
450                 "2be0da40.0d7806"\r
451             ]\r
452         ]\r
453     },\r
454     {\r
455         "id": "ba6b2f3.81ff65",\r
456         "type": "get-resource",\r
457         "name": "get-resource VF_TO_NETWORK_ROLE_MAPPING",\r
458         "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",\r
459         "comments": "",\r
460         "outputs": 1,\r
461         "x": 665.9762496948242,\r
462         "y": 3298.8182125091553,\r
463         "z": "652cf04d.917e78",\r
464         "wires": [\r
465             [\r
466                 "1edaf2dd.6abca5",\r
467                 "8c805d73.d5428"\r
468             ]\r
469         ]\r
470     },\r
471     {\r
472         "id": "1edaf2dd.6abca5",\r
473         "type": "failure",\r
474         "name": "failure",\r
475         "xml": "<outcome value='failure'>\n",\r
476         "comments": "",\r
477         "outputs": 1,\r
478         "x": 961.7619209289551,\r
479         "y": 3277.532377243042,\r
480         "z": "652cf04d.917e78",\r
481         "wires": [\r
482             [\r
483                 "7ef20c7d.b3d83c"\r
484             ]\r
485         ]\r
486     },\r
487     {\r
488         "id": "8c805d73.d5428",\r
489         "type": "not-found",\r
490         "name": "not-found",\r
491         "xml": "<outcome value='not-found'>\n",\r
492         "comments": "",\r
493         "outputs": 1,\r
494         "x": 970.3333511352539,\r
495         "y": 3321.818090438843,\r
496         "z": "652cf04d.917e78",\r
497         "wires": [\r
498             [\r
499                 "c3672ff4.a17f"\r
500             ]\r
501         ]\r
502     },\r
503     {\r
504         "id": "febef76b.d8c79",\r
505         "type": "block",\r
506         "name": "block : atomic",\r
507         "xml": "<block atomic=\"true\">",\r
508         "atomic": "true",\r
509         "outputs": 1,\r
510         "x": 1066.9049491882324,\r
511         "y": 4415.460702896118,\r
512         "z": "652cf04d.917e78",\r
513         "wires": [\r
514             [\r
515                 "69a52c45.9d3a2c",\r
516                 "1b8f8e9a.44ecf9",\r
517                 "b81c1659.1acf38",\r
518                 "c7e3943d.2b1af",\r
519                 "e1eddf21.903d78",\r
520                 "886b4211.4bd9a",\r
521                 "5621d64.66c8228",\r
522                 "680457ce.355c7",\r
523                 "f1e14dbb.a2c47"\r
524             ]\r
525         ]\r
526     },\r
527     {\r
528         "id": "b81c1659.1acf38",\r
529         "type": "get-resource",\r
530         "name": "get-resource l3-network",\r
531         "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",\r
532         "comments": "",\r
533         "outputs": 1,\r
534         "x": 1316.6191482543945,\r
535         "y": 3505.8417415618896,\r
536         "z": "652cf04d.917e78",\r
537         "wires": [\r
538             [\r
539                 "69f68ea2.5d7068",\r
540                 "8f733aa1.cdcf6"\r
541             ]\r
542         ]\r
543     },\r
544     {\r
545         "id": "8f733aa1.cdcf6",\r
546         "type": "failure",\r
547         "name": "failure",\r
548         "xml": "<outcome value='failure'>\n",\r
549         "comments": "",\r
550         "outputs": 1,\r
551         "x": 1522.0954627990723,\r
552         "y": 3535.1273441314697,\r
553         "z": "652cf04d.917e78",\r
554         "wires": [\r
555             [\r
556                 "11a704cb.ec6e1b"\r
557             ]\r
558         ]\r
559     },\r
560     {\r
561         "id": "69f68ea2.5d7068",\r
562         "type": "not-found",\r
563         "name": "not-found",\r
564         "xml": "<outcome value='not-found'>\n",\r
565         "comments": "",\r
566         "outputs": 1,\r
567         "x": 1529.595458984375,\r
568         "y": 3486.2703142166138,\r
569         "z": "652cf04d.917e78",\r
570         "wires": [\r
571             [\r
572                 "ddfbfd5a.f170a"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "69a52c45.9d3a2c",\r
578         "type": "set",\r
579         "name": "set vnf-network data",\r
580         "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",\r
581         "comments": "",\r
582         "x": 1312.9526138305664,\r
583         "y": 4311.413550376892,\r
584         "z": "652cf04d.917e78",\r
585         "wires": []\r
586     },\r
587     {\r
588         "id": "a2246d8d.309948",\r
589         "type": "for",\r
590         "name": "for each cloud-region availability zone",\r
591         "xml": "<for index='idx' start='0' end='`$aai.cloud-region.availability-zones.availability-zone_length`' >\n",\r
592         "comments": "",\r
593         "outputs": 1,\r
594         "x": 533.3336524963379,\r
595         "y": 5558.532527923584,\r
596         "z": "652cf04d.917e78",\r
597         "wires": [\r
598             [\r
599                 "87ffb6ef.f80298"\r
600             ]\r
601         ]\r
602     },\r
603     {\r
604         "id": "bc615b55.663bf",\r
605         "type": "set",\r
606         "name": "set availability-zone",\r
607         "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.cloud-region.availability-zones.availability-zone[$idx].availability-zone-name`' />\n",\r
608         "comments": "",\r
609         "x": 995.0003356933594,\r
610         "y": 5527.865942001343,\r
611         "z": "652cf04d.917e78",\r
612         "wires": []\r
613     },\r
614     {\r
615         "id": "d1226d82.dd4ba",\r
616         "type": "set",\r
617         "name": "set vnf-parameters-data",\r
618         "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",\r
619         "comments": "",\r
620         "x": 492.952579498291,\r
621         "y": 5408.484888076782,\r
622         "z": "652cf04d.917e78",\r
623         "wires": []\r
624     },\r
625     {\r
626         "id": "c91f5f57.248b18",\r
627         "type": "save",\r
628         "name": "save generic-vnf l3-network relationships",\r
629         "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",\r
630         "comments": "",\r
631         "outputs": 1,\r
632         "x": 959.524112701416,\r
633         "y": 5702.29474067688,\r
634         "z": "652cf04d.917e78",\r
635         "wires": [\r
636             [\r
637                 "70b9d92d.cfcaf",\r
638                 "8019290f.d9e57"\r
639             ]\r
640         ]\r
641     },\r
642     {\r
643         "id": "ba745244.bd0468",\r
644         "type": "returnSuccess",\r
645         "name": "return success",\r
646         "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",\r
647         "comments": "",\r
648         "x": 446.29785919189453,\r
649         "y": 6598.056180000305,\r
650         "z": "652cf04d.917e78",\r
651         "wires": []\r
652     },\r
653     {\r
654         "id": "27992a30.77ac86",\r
655         "type": "set",\r
656         "name": "set vnf-level-oper-status to PendingCreate",\r
657         "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",\r
658         "comments": "",\r
659         "x": 548.8255958557129,\r
660         "y": 6071.500453948975,\r
661         "z": "652cf04d.917e78",\r
662         "wires": []\r
663     },\r
664     {\r
665         "id": "40b03c35.066374",\r
666         "type": "for",\r
667         "name": "for each network-role",\r
668         "xml": "<for silentFailure='true' index='role-index' start='0' end='`$db.vf-network-role-mapping_length`'>",\r
669         "comments": "",\r
670         "outputs": 1,\r
671         "x": 526.9048843383789,\r
672         "y": 4388.794371604919,\r
673         "z": "652cf04d.917e78",\r
674         "wires": [\r
675             [\r
676                 "f73eb405.e256b8"\r
677             ]\r
678         ]\r
679     },\r
680     {\r
681         "id": "84242802.438068",\r
682         "type": "set",\r
683         "name": "set network-index = 0",\r
684         "xml": "<set>\n<parameter name='network-index' value='0' />\n",\r
685         "comments": "",\r
686         "x": 568.4047470092773,\r
687         "y": 3352.8660068511963,\r
688         "z": "652cf04d.917e78",\r
689         "wires": []\r
690     },\r
691     {\r
692         "id": "1b8f8e9a.44ecf9",\r
693         "type": "set",\r
694         "name": "increment network-index",\r
695         "xml": "<set>\n<parameter name='network-index' value='`$network-index + 1`' />\n",\r
696         "comments": "",\r
697         "x": 1294.9526023864746,\r
698         "y": 5359.175491333008,\r
699         "z": "652cf04d.917e78",\r
700         "wires": []\r
701     },\r
702     {\r
703         "id": "978c06f5.c51b38",\r
704         "type": "set",\r
705         "name": "set vnf-network_length",\r
706         "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",\r
707         "comments": "",\r
708         "x": 491.80966567993164,\r
709         "y": 5358.484931945801,\r
710         "z": "652cf04d.917e78",\r
711         "wires": []\r
712     },\r
713     {\r
714         "id": "42aca120.8663b",\r
715         "type": "set",\r
716         "name": "copy input data",\r
717         "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",\r
718         "comments": "",\r
719         "x": 458.095401763916,\r
720         "y": 6017.913442611694,\r
721         "z": "652cf04d.917e78",\r
722         "wires": []\r
723     },\r
724     {\r
725         "id": "32a417de.843a",\r
726         "type": "for",\r
727         "name": "for each vnf-network",\r
728         "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",\r
729         "comments": "",\r
730         "outputs": 1,\r
731         "x": 482.52402114868164,\r
732         "y": 5701.29465675354,\r
733         "z": "652cf04d.917e78",\r
734         "wires": [\r
735             [\r
736                 "80153f67.955468"\r
737             ]\r
738         ]\r
739     },\r
740     {\r
741         "id": "80153f67.955468",\r
742         "type": "block",\r
743         "name": "block : atomic",\r
744         "xml": "<block atomic=\"true\">",\r
745         "atomic": "true",\r
746         "outputs": 1,\r
747         "x": 686.1906623840332,\r
748         "y": 5701.294617652893,\r
749         "z": "652cf04d.917e78",\r
750         "wires": [\r
751             [\r
752                 "c91f5f57.248b18"\r
753             ]\r
754         ]\r
755     },\r
756     {\r
757         "id": "60220dbd.cbb274",\r
758         "type": "set",\r
759         "name": "set new vnf_length",\r
760         "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",\r
761         "comments": "",\r
762         "x": 539.0238418579102,\r
763         "y": 1250.0090227127075,\r
764         "z": "652cf04d.917e78",\r
765         "wires": []\r
766     },\r
767     {\r
768         "id": "aeeecb5d.b95ac8",\r
769         "type": "for",\r
770         "name": "for each cloud-region relationship",\r
771         "xml": "<for index='idx' start='0' end='`$aai.cloud-region.relationship-list.relationship_length`' >\n",\r
772         "comments": "",\r
773         "outputs": 1,\r
774         "x": 613.5952911376953,\r
775         "y": 3075.008864402771,\r
776         "z": "652cf04d.917e78",\r
777         "wires": [\r
778             [\r
779                 "af9376a1.5b3178"\r
780             ]\r
781         ]\r
782     },\r
783     {\r
784         "id": "af9376a1.5b3178",\r
785         "type": "switchNode",\r
786         "name": "switch related-to",\r
787         "xml": "<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n",\r
788         "comments": "",\r
789         "outputs": 1,\r
790         "x": 861.2738342285156,\r
791         "y": 3074.7587938308716,\r
792         "z": "652cf04d.917e78",\r
793         "wires": [\r
794             [\r
795                 "b05c52b5.57078"\r
796             ]\r
797         ]\r
798     },\r
799     {\r
800         "id": "b05c52b5.57078",\r
801         "type": "outcome",\r
802         "name": "complex",\r
803         "xml": "<outcome value='complex'>\n",\r
804         "comments": "",\r
805         "outputs": 1,\r
806         "x": 1030.7381553649902,\r
807         "y": 3074.1516160964966,\r
808         "z": "652cf04d.917e78",\r
809         "wires": [\r
810             [\r
811                 "8b3ae97b.251a1"\r
812             ]\r
813         ]\r
814     },\r
815     {\r
816         "id": "d417f4d3.21848",\r
817         "type": "set",\r
818         "name": "set aic-clli",\r
819         "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",\r
820         "comments": "",\r
821         "x": 1408.3095397949219,\r
822         "y": 3072.389811515808,\r
823         "z": "652cf04d.917e78",\r
824         "wires": []\r
825     },\r
826     {\r
827         "id": "bd2f9d29.6f4cd",\r
828         "type": "switchNode",\r
829         "name": "switch aic-clli",\r
830         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli`'>\n",\r
831         "comments": "",\r
832         "outputs": 1,\r
833         "x": 546.6429176330566,\r
834         "y": 3188.1039962768555,\r
835         "z": "652cf04d.917e78",\r
836         "wires": [\r
837             [\r
838                 "7ec6f0ba.5529d8"\r
839             ]\r
840         ]\r
841     },\r
842     {\r
843         "id": "7ec6f0ba.5529d8",\r
844         "type": "outcome",\r
845         "name": "NULL",\r
846         "xml": "<outcome value=''>",\r
847         "comments": "",\r
848         "outputs": 1,\r
849         "x": 694.7857513427734,\r
850         "y": 3188.103979110718,\r
851         "z": "652cf04d.917e78",\r
852         "wires": [\r
853             [\r
854                 "5c62b00e.a7cd48"\r
855             ]\r
856         ]\r
857     },\r
858     {\r
859         "id": "30224228.963f36",\r
860         "type": "set",\r
861         "name": "set from DB",\r
862         "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",\r
863         "comments": "",\r
864         "x": 973.0954627990723,\r
865         "y": 2546.9612531661987,\r
866         "z": "652cf04d.917e78",\r
867         "wires": []\r
868     },\r
869     {\r
870         "id": "f5318147.69e14",\r
871         "type": "for",\r
872         "name": "for each l3-network",\r
873         "xml": "<for index='db-network-index' start='0' end='`$aai.l3-network.l3-network_length`' >\n",\r
874         "comments": "",\r
875         "outputs": 1,\r
876         "x": 1433.2145919799805,\r
877         "y": 4135.984929084778,\r
878         "z": "652cf04d.917e78",\r
879         "wires": [\r
880             [\r
881                 "852f0b12.336648"\r
882             ]\r
883         ]\r
884     },\r
885     {\r
886         "id": "b772b2db.6bf188",\r
887         "type": "switchNode",\r
888         "name": "switch orchestration-status",\r
889         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].orchestration-status`'>\n",\r
890         "comments": "",\r
891         "outputs": 1,\r
892         "x": 1851.7857627868652,\r
893         "y": 4070.556393623352,\r
894         "z": "652cf04d.917e78",\r
895         "wires": [\r
896             [\r
897                 "2013144f.4b7fd4",\r
898                 "bd45a651.d4fc18",\r
899                 "6b197918.4b35",\r
900                 "d8961e04.47a09",\r
901                 "d20d55e5.845528"\r
902             ]\r
903         ]\r
904     },\r
905     {\r
906         "id": "2013144f.4b7fd4",\r
907         "type": "outcome",\r
908         "name": "Pending Delete",\r
909         "xml": "<outcome value='Pending Delete'>\n",\r
910         "comments": "",\r
911         "outputs": 1,\r
912         "x": 2092.4526329040527,\r
913         "y": 4112.222897529602,\r
914         "z": "652cf04d.917e78",\r
915         "wires": [\r
916             [\r
917                 "65cc69a1.7d4018"\r
918             ]\r
919         ]\r
920     },\r
921     {\r
922         "id": "bd45a651.d4fc18",\r
923         "type": "other",\r
924         "name": "other",\r
925         "xml": "<outcome value='Other'>\n",\r
926         "comments": "",\r
927         "outputs": 1,\r
928         "x": 2065.309772491455,\r
929         "y": 4163.222878456116,\r
930         "z": "652cf04d.917e78",\r
931         "wires": [\r
932             [\r
933                 "9c0a541e.0b30c8"\r
934             ]\r
935         ]\r
936     },\r
937     {\r
938         "id": "81eba499.0af278",\r
939         "type": "switchNode",\r
940         "name": "switch related-to",\r
941         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].related-to`'>\n",\r
942         "comments": "",\r
943         "outputs": 1,\r
944         "x": 2601.0240745544434,\r
945         "y": 4108.460795402527,\r
946         "z": "652cf04d.917e78",\r
947         "wires": [\r
948             [\r
949                 "65278a7b.2864d4",\r
950                 "29d3dc98.16bcd4"\r
951             ]\r
952         ]\r
953     },\r
954     {\r
955         "id": "9c0a541e.0b30c8",\r
956         "type": "for",\r
957         "name": "for each relationship",\r
958         "xml": "<for silentFailure='true' index='db-rel-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship_length`' >\n",\r
959         "comments": "",\r
960         "outputs": 1,\r
961         "x": 2235.309684753418,\r
962         "y": 4162.794255256653,\r
963         "z": "652cf04d.917e78",\r
964         "wires": [\r
965             [\r
966                 "e8b88764.0e454"\r
967             ]\r
968         ]\r
969     },\r
970     {\r
971         "id": "65278a7b.2864d4",\r
972         "type": "outcome",\r
973         "name": "cloud-region",\r
974         "xml": "<outcome value='cloud-region'>\n",\r
975         "comments": "",\r
976         "outputs": 1,\r
977         "x": 2775.309860229492,\r
978         "y": 4131.365619659424,\r
979         "z": "652cf04d.917e78",\r
980         "wires": [\r
981             [\r
982                 "bfe4f75a.234cc8"\r
983             ]\r
984         ]\r
985     },\r
986     {\r
987         "id": "bfe4f75a.234cc8",\r
988         "type": "for",\r
989         "name": "for each relationship data",\r
990         "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",\r
991         "comments": "",\r
992         "outputs": 1,\r
993         "x": 2972.4525604248047,\r
994         "y": 4131.794087409973,\r
995         "z": "652cf04d.917e78",\r
996         "wires": [\r
997             [\r
998                 "9def1818.13c9f8"\r
999             ]\r
1000         ]\r
1001     },\r
1002     {\r
1003         "id": "9def1818.13c9f8",\r
1004         "type": "switchNode",\r
1005         "name": "switch relationship-key",\r
1006         "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",\r
1007         "comments": "",\r
1008         "outputs": 1,\r
1009         "x": 3203.881160736084,\r
1010         "y": 4131.365462303162,\r
1011         "z": "652cf04d.917e78",\r
1012         "wires": [\r
1013             [\r
1014                 "29799bf8.7888e4"\r
1015             ]\r
1016         ]\r
1017     },\r
1018     {\r
1019         "id": "29799bf8.7888e4",\r
1020         "type": "outcome",\r
1021         "name": "cloud-region.cloud-region-id",\r
1022         "xml": "<outcome value='cloud-region.cloud-region-id'>\n",\r
1023         "comments": "",\r
1024         "outputs": 1,\r
1025         "x": 3445.309726715088,\r
1026         "y": 4131.365558624268,\r
1027         "z": "652cf04d.917e78",\r
1028         "wires": [\r
1029             [\r
1030                 "a1567e58.8a3128"\r
1031             ]\r
1032         ]\r
1033     },\r
1034     {\r
1035         "id": "a1567e58.8a3128",\r
1036         "type": "switchNode",\r
1037         "name": "switch relationship-value == cloud-region-id",\r
1038         "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",\r
1039         "comments": "",\r
1040         "outputs": 1,\r
1041         "x": 3749.595645904541,\r
1042         "y": 4131.22261428833,\r
1043         "z": "652cf04d.917e78",\r
1044         "wires": [\r
1045             [\r
1046                 "7b8c98d4.2676d8"\r
1047             ]\r
1048         ]\r
1049     },\r
1050     {\r
1051         "id": "7b8c98d4.2676d8",\r
1052         "type": "outcomeTrue",\r
1053         "name": "true",\r
1054         "xml": "<outcome value='true'>\n",\r
1055         "comments": "",\r
1056         "outputs": 1,\r
1057         "x": 3454.5957832336426,\r
1058         "y": 4248.865568161011,\r
1059         "z": "652cf04d.917e78",\r
1060         "wires": [\r
1061             [\r
1062                 "393f0cf4.4aabc4"\r
1063             ]\r
1064         ]\r
1065     },\r
1066     {\r
1067         "id": "c7e3943d.2b1af",\r
1068         "type": "block",\r
1069         "name": "block",\r
1070         "xml": "<block>\n",\r
1071         "atomic": "false",\r
1072         "comments": "",\r
1073         "outputs": 1,\r
1074         "x": 1269.4287643432617,\r
1075         "y": 4067.270573616028,\r
1076         "z": "652cf04d.917e78",\r
1077         "wires": [\r
1078             [\r
1079                 "f5318147.69e14",\r
1080                 "16ed0d4.c25bbf3"\r
1081             ]\r
1082         ]\r
1083     },\r
1084     {\r
1085         "id": "e1eddf21.903d78",\r
1086         "type": "set",\r
1087         "name": "set l3-network-id = -1",\r
1088         "xml": "<set>\n<parameter name='l3-network-id' value='-1' />\n",\r
1089         "comments": "",\r
1090         "x": 1313.7621231079102,\r
1091         "y": 3939.175227165222,\r
1092         "z": "652cf04d.917e78",\r
1093         "wires": []\r
1094     },\r
1095     {\r
1096         "id": "393f0cf4.4aabc4",\r
1097         "type": "block",\r
1098         "name": "block : atomic",\r
1099         "xml": "<block atomic=\"true\">",\r
1100         "atomic": "true",\r
1101         "outputs": 1,\r
1102         "x": 3600.4287605285645,\r
1103         "y": 4248.341676712036,\r
1104         "z": "652cf04d.917e78",\r
1105         "wires": [\r
1106             [\r
1107                 "4729b379.1be23c",\r
1108                 "54222992.1960d8",\r
1109                 "5189f56d.e57b74"\r
1110             ]\r
1111         ]\r
1112     },\r
1113     {\r
1114         "id": "4729b379.1be23c",\r
1115         "type": "set",\r
1116         "name": "set l3-network-id = this l3-network",\r
1117         "xml": "<set>\n<parameter name='l3-network-id' value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n",\r
1118         "comments": "",\r
1119         "x": 3835.666763305664,\r
1120         "y": 4210.484645843506,\r
1121         "z": "652cf04d.917e78",\r
1122         "wires": []\r
1123     },\r
1124     {\r
1125         "id": "886b4211.4bd9a",\r
1126         "type": "switchNode",\r
1127         "name": "switch l3-network-id",\r
1128         "xml": "<switch test='`$l3-network-id`'>\n",\r
1129         "comments": "",\r
1130         "outputs": 1,\r
1131         "x": 1310.7620468139648,\r
1132         "y": 4262.842268943787,\r
1133         "z": "652cf04d.917e78",\r
1134         "wires": [\r
1135             [\r
1136                 "74e3a542.ce5c34"\r
1137             ]\r
1138         ]\r
1139     },\r
1140     {\r
1141         "id": "74e3a542.ce5c34",\r
1142         "type": "outcome",\r
1143         "name": "-1",\r
1144         "xml": "<outcome value='-1'>\n",\r
1145         "comments": "",\r
1146         "outputs": 1,\r
1147         "x": 1480.7619972229004,\r
1148         "y": 4262.842024803162,\r
1149         "z": "652cf04d.917e78",\r
1150         "wires": [\r
1151             [\r
1152                 "c374836e.37fed8"\r
1153             ]\r
1154         ]\r
1155     },\r
1156     {\r
1157         "id": "d4235437.829c38",\r
1158         "type": "switchNode",\r
1159         "name": "switch input model-invariant-uuid",\r
1160         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`'>\n",\r
1161         "comments": "",\r
1162         "outputs": 1,\r
1163         "x": 616.9525375366211,\r
1164         "y": 2569.7856969833374,\r
1165         "z": "652cf04d.917e78",\r
1166         "wires": [\r
1167             [\r
1168                 "ff6622a4.df1be",\r
1169                 "cb85aa4.8fd2d58"\r
1170             ]\r
1171         ]\r
1172     },\r
1173     {\r
1174         "id": "ff6622a4.df1be",\r
1175         "type": "outcome",\r
1176         "name": "NULL",\r
1177         "xml": "<outcome value=''>",\r
1178         "comments": "",\r
1179         "outputs": 1,\r
1180         "x": 822.6192092895508,\r
1181         "y": 2546.9286603927612,\r
1182         "z": "652cf04d.917e78",\r
1183         "wires": [\r
1184             [\r
1185                 "30224228.963f36"\r
1186             ]\r
1187         ]\r
1188     },\r
1189     {\r
1190         "id": "cb85aa4.8fd2d58",\r
1191         "type": "other",\r
1192         "name": "other",\r
1193         "xml": "<outcome value='Other'>\n",\r
1194         "comments": "",\r
1195         "outputs": 1,\r
1196         "x": 824.0478057861328,\r
1197         "y": 2591.2142515182495,\r
1198         "z": "652cf04d.917e78",\r
1199         "wires": [\r
1200             [\r
1201                 "5a4f9595.634e9c"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "5a4f9595.634e9c",\r
1207         "type": "set",\r
1208         "name": "set from input",\r
1209         "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",\r
1210         "comments": "",\r
1211         "x": 978.3335418701172,\r
1212         "y": 2590.6428236961365,\r
1213         "z": "652cf04d.917e78",\r
1214         "wires": []\r
1215     },\r
1216     {\r
1217         "id": "1a70dac.17cd8a5",\r
1218         "type": "set",\r
1219         "name": "set from DB",\r
1220         "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",\r
1221         "comments": "",\r
1222         "x": 974.0477333068848,\r
1223         "y": 2635.4999294281006,\r
1224         "z": "652cf04d.917e78",\r
1225         "wires": []\r
1226     },\r
1227     {\r
1228         "id": "d7771a1c.3c6348",\r
1229         "type": "switchNode",\r
1230         "name": "switch input model-uuid",\r
1231         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`'>\n",\r
1232         "comments": "",\r
1233         "outputs": 1,\r
1234         "x": 589.5715560913086,\r
1235         "y": 2658.3244342803955,\r
1236         "z": "652cf04d.917e78",\r
1237         "wires": [\r
1238             [\r
1239                 "c16c7be1.296e98",\r
1240                 "37c94a54.90c536"\r
1241             ]\r
1242         ]\r
1243     },\r
1244     {\r
1245         "id": "c16c7be1.296e98",\r
1246         "type": "outcome",\r
1247         "name": "NULL",\r
1248         "xml": "<outcome value=''>",\r
1249         "comments": "",\r
1250         "outputs": 1,\r
1251         "x": 823.5715293884277,\r
1252         "y": 2635.467366218567,\r
1253         "z": "652cf04d.917e78",\r
1254         "wires": [\r
1255             [\r
1256                 "1a70dac.17cd8a5"\r
1257             ]\r
1258         ]\r
1259     },\r
1260     {\r
1261         "id": "37c94a54.90c536",\r
1262         "type": "other",\r
1263         "name": "other",\r
1264         "xml": "<outcome value='Other'>\n",\r
1265         "comments": "",\r
1266         "outputs": 1,\r
1267         "x": 825.0001258850098,\r
1268         "y": 2679.752957344055,\r
1269         "z": "652cf04d.917e78",\r
1270         "wires": [\r
1271             [\r
1272                 "857b4df6.43f238"\r
1273             ]\r
1274         ]\r
1275     },\r
1276     {\r
1277         "id": "857b4df6.43f238",\r
1278         "type": "set",\r
1279         "name": "set from input",\r
1280         "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",\r
1281         "comments": "",\r
1282         "x": 979.2858619689941,\r
1283         "y": 2679.181529521942,\r
1284         "z": "652cf04d.917e78",\r
1285         "wires": []\r
1286     },\r
1287     {\r
1288         "id": "2709bb13.2feecc",\r
1289         "type": "set",\r
1290         "name": "set from DB",\r
1291         "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",\r
1292         "comments": "",\r
1293         "x": 971.1906661987305,\r
1294         "y": 2724.3571367263794,\r
1295         "z": "652cf04d.917e78",\r
1296         "wires": []\r
1297     },\r
1298     {\r
1299         "id": "6a3932df.a191e4",\r
1300         "type": "switchNode",\r
1301         "name": "switch input model-version",\r
1302         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`'>\n",\r
1303         "comments": "",\r
1304         "outputs": 1,\r
1305         "x": 597.714427947998,\r
1306         "y": 2747.1815814971924,\r
1307         "z": "652cf04d.917e78",\r
1308         "wires": [\r
1309             [\r
1310                 "cc5bd4f7.75a8d",\r
1311                 "d224df1c.f2e0d8"\r
1312             ]\r
1313         ]\r
1314     },\r
1315     {\r
1316         "id": "cc5bd4f7.75a8d",\r
1317         "type": "outcome",\r
1318         "name": "NULL",\r
1319         "xml": "<outcome value=''>",\r
1320         "comments": "",\r
1321         "outputs": 1,\r
1322         "x": 820.714412689209,\r
1323         "y": 2724.324543952942,\r
1324         "z": "652cf04d.917e78",\r
1325         "wires": [\r
1326             [\r
1327                 "2709bb13.2feecc"\r
1328             ]\r
1329         ]\r
1330     },\r
1331     {\r
1332         "id": "d224df1c.f2e0d8",\r
1333         "type": "other",\r
1334         "name": "other",\r
1335         "xml": "<outcome value='Other'>\n",\r
1336         "comments": "",\r
1337         "outputs": 1,\r
1338         "x": 822.143009185791,\r
1339         "y": 2768.61013507843,\r
1340         "z": "652cf04d.917e78",\r
1341         "wires": [\r
1342             [\r
1343                 "8204943d.4c85a"\r
1344             ]\r
1345         ]\r
1346     },\r
1347     {\r
1348         "id": "8204943d.4c85a",\r
1349         "type": "set",\r
1350         "name": "set from input",\r
1351         "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",\r
1352         "comments": "",\r
1353         "x": 976.4287452697754,\r
1354         "y": 2768.038707256317,\r
1355         "z": "652cf04d.917e78",\r
1356         "wires": []\r
1357     },\r
1358     {\r
1359         "id": "1f9db65f.71417a",\r
1360         "type": "set",\r
1361         "name": "set from DB",\r
1362         "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",\r
1363         "comments": "",\r
1364         "x": 971.1906661987305,\r
1365         "y": 2811.4999589920044,\r
1366         "z": "652cf04d.917e78",\r
1367         "wires": []\r
1368     },\r
1369     {\r
1370         "id": "ba43d064.2bf358",\r
1371         "type": "switchNode",\r
1372         "name": "switch input model-name",\r
1373         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`'>\n",\r
1374         "comments": "",\r
1375         "outputs": 1,\r
1376         "x": 592.714427947998,\r
1377         "y": 2834.3244037628174,\r
1378         "z": "652cf04d.917e78",\r
1379         "wires": [\r
1380             [\r
1381                 "e920eacf.c85db",\r
1382                 "62906e0a.a907e"\r
1383             ]\r
1384         ]\r
1385     },\r
1386     {\r
1387         "id": "e920eacf.c85db",\r
1388         "type": "outcome",\r
1389         "name": "NULL",\r
1390         "xml": "<outcome value=''>",\r
1391         "comments": "",\r
1392         "outputs": 1,\r
1393         "x": 820.714412689209,\r
1394         "y": 2811.467366218567,\r
1395         "z": "652cf04d.917e78",\r
1396         "wires": [\r
1397             [\r
1398                 "1f9db65f.71417a"\r
1399             ]\r
1400         ]\r
1401     },\r
1402     {\r
1403         "id": "62906e0a.a907e",\r
1404         "type": "other",\r
1405         "name": "other",\r
1406         "xml": "<outcome value='Other'>\n",\r
1407         "comments": "",\r
1408         "outputs": 1,\r
1409         "x": 822.143009185791,\r
1410         "y": 2855.752957344055,\r
1411         "z": "652cf04d.917e78",\r
1412         "wires": [\r
1413             [\r
1414                 "ced1f56b.7c6248"\r
1415             ]\r
1416         ]\r
1417     },\r
1418     {\r
1419         "id": "ced1f56b.7c6248",\r
1420         "type": "set",\r
1421         "name": "set from input",\r
1422         "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",\r
1423         "comments": "",\r
1424         "x": 976.4287452697754,\r
1425         "y": 2855.181529521942,\r
1426         "z": "652cf04d.917e78",\r
1427         "wires": []\r
1428     },\r
1429     {\r
1430         "id": "65cc69a1.7d4018",\r
1431         "type": "block",\r
1432         "name": "block",\r
1433         "xml": "<block>\n",\r
1434         "atomic": "false",\r
1435         "comments": "",\r
1436         "outputs": 1,\r
1437         "x": 2245.6667251586914,\r
1438         "y": 4112.999774932861,\r
1439         "z": "652cf04d.917e78",\r
1440         "wires": [\r
1441             []\r
1442         ]\r
1443     },\r
1444     {\r
1445         "id": "d20d55e5.845528",\r
1446         "type": "outcome",\r
1447         "name": "PendingDelete",\r
1448         "xml": "<outcome value='PendingDelete'>\n",\r
1449         "comments": "",\r
1450         "outputs": 1,\r
1451         "x": 2090.333366394043,\r
1452         "y": 4067.999689102173,\r
1453         "z": "652cf04d.917e78",\r
1454         "wires": [\r
1455             [\r
1456                 "b98d1a52.3774"\r
1457             ]\r
1458         ]\r
1459     },\r
1460     {\r
1461         "id": "b98d1a52.3774",\r
1462         "type": "block",\r
1463         "name": "block",\r
1464         "xml": "<block>\n",\r
1465         "atomic": "false",\r
1466         "comments": "",\r
1467         "outputs": 1,\r
1468         "x": 2245.5474586486816,\r
1469         "y": 4068.776566505432,\r
1470         "z": "652cf04d.917e78",\r
1471         "wires": [\r
1472             []\r
1473         ]\r
1474     },\r
1475     {\r
1476         "id": "d8961e04.47a09",\r
1477         "type": "outcome",\r
1478         "name": "Pending Create",\r
1479         "xml": "<outcome value='Pending Create'>\n",\r
1480         "comments": "",\r
1481         "outputs": 1,\r
1482         "x": 2092.333366394043,\r
1483         "y": 4024.666193008423,\r
1484         "z": "652cf04d.917e78",\r
1485         "wires": [\r
1486             [\r
1487                 "4552f1d0.132aa"\r
1488             ]\r
1489         ]\r
1490     },\r
1491     {\r
1492         "id": "4552f1d0.132aa",\r
1493         "type": "block",\r
1494         "name": "block",\r
1495         "xml": "<block>\n",\r
1496         "atomic": "false",\r
1497         "comments": "",\r
1498         "outputs": 1,\r
1499         "x": 2245.5474586486816,\r
1500         "y": 4025.443070411682,\r
1501         "z": "652cf04d.917e78",\r
1502         "wires": [\r
1503             []\r
1504         ]\r
1505     },\r
1506     {\r
1507         "id": "6b197918.4b35",\r
1508         "type": "outcome",\r
1509         "name": "PendingCreate",\r
1510         "xml": "<outcome value='PendingCreate'>\n",\r
1511         "comments": "",\r
1512         "outputs": 1,\r
1513         "x": 2092.333366394043,\r
1514         "y": 3981.332941055298,\r
1515         "z": "652cf04d.917e78",\r
1516         "wires": [\r
1517             [\r
1518                 "1c2107f2.1dd77"\r
1519             ]\r
1520         ]\r
1521     },\r
1522     {\r
1523         "id": "1c2107f2.1dd77",\r
1524         "type": "block",\r
1525         "name": "block",\r
1526         "xml": "<block>\n",\r
1527         "atomic": "false",\r
1528         "comments": "",\r
1529         "outputs": 1,\r
1530         "x": 2245.5474586486816,\r
1531         "y": 3982.109818458557,\r
1532         "z": "652cf04d.917e78",\r
1533         "wires": [\r
1534             []\r
1535         ]\r
1536     },\r
1537     {\r
1538         "id": "5bf4954f.7a431c",\r
1539         "type": "for",\r
1540         "name": "for each A&AI subnet",\r
1541         "xml": "<for index='subnet-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`' >\n",\r
1542         "comments": "",\r
1543         "outputs": 1,\r
1544         "x": 1778.7143936157227,\r
1545         "y": 4402.047110080719,\r
1546         "z": "652cf04d.917e78",\r
1547         "wires": [\r
1548             [\r
1549                 "cefc1963.652428"\r
1550             ]\r
1551         ]\r
1552     },\r
1553     {\r
1554         "id": "48890473.4cc4e4",\r
1555         "type": "set",\r
1556         "name": "set subnet_length",\r
1557         "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[$db-network-index].subnets.subnet_length`' />\n",\r
1558         "comments": "",\r
1559         "x": 1767.380958557129,\r
1560         "y": 4447.04719209671,\r
1561         "z": "652cf04d.917e78",\r
1562         "wires": []\r
1563     },\r
1564     {\r
1565         "id": "54b8c442.c1469c",\r
1566         "type": "set",\r
1567         "name": "set availability-zones.max-count and length",\r
1568         "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.cloud-region.availability-zones.availability-zone_length`' />\n",\r
1569         "comments": "",\r
1570         "x": 553.0001564025879,\r
1571         "y": 5646.547995567322,\r
1572         "z": "652cf04d.917e78",\r
1573         "wires": []\r
1574     },\r
1575     {\r
1576         "id": "f4822626.6784a",\r
1577         "type": "set",\r
1578         "name": "set vnf-name",\r
1579         "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",\r
1580         "comments": "",\r
1581         "x": 553.8333511352539,\r
1582         "y": 2503.8334608078003,\r
1583         "z": "652cf04d.917e78",\r
1584         "wires": []\r
1585     },\r
1586     {\r
1587         "id": "c0f7e6fd.82944",\r
1588         "type": "save",\r
1589         "name": "update generic-vnf",\r
1590         "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=\"in-maint\" value=\"true\" />\n<parameter name=\"selflink\" value=\"`$vnf-object-path`\" />\n",\r
1591         "comments": "",\r
1592         "outputs": 1,\r
1593         "x": 473.33342361450195,\r
1594         "y": 5856.213758468628,\r
1595         "z": "652cf04d.917e78",\r
1596         "wires": [\r
1597             [\r
1598                 "7a955a19.a2beec",\r
1599                 "8245dddc.98b7b8"\r
1600             ]\r
1601         ]\r
1602     },\r
1603     {\r
1604         "id": "b69c7bea.5b8f98",\r
1605         "type": "set",\r
1606         "name": "set vnf-object-path",\r
1607         "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/service-topology/'`\"/>\n",\r
1608         "comments": "",\r
1609         "x": 473.3334617614746,\r
1610         "y": 5786.214241027832,\r
1611         "z": "652cf04d.917e78",\r
1612         "wires": []\r
1613     },\r
1614     {\r
1615         "id": "779ef85a.752e58",\r
1616         "type": "set",\r
1617         "name": "set vnf-id",\r
1618         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id'\n   value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n",\r
1619         "comments": "",\r
1620         "x": 542.1666946411133,\r
1621         "y": 2455.5000038146973,\r
1622         "z": "652cf04d.917e78",\r
1623         "wires": []\r
1624     },\r
1625     {\r
1626         "id": "b8b61871.289a38",\r
1627         "type": "execute",\r
1628         "name": "printContext",\r
1629         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vnf.log' />\n",\r
1630         "comments": "",\r
1631         "outputs": 1,\r
1632         "x": 447.8454360961914,\r
1633         "y": 6422.226758003235,\r
1634         "z": "652cf04d.917e78",\r
1635         "wires": [\r
1636             []\r
1637         ]\r
1638     },\r
1639     {\r
1640         "id": "70b9d92d.cfcaf",\r
1641         "type": "failure",\r
1642         "name": "failure",\r
1643         "xml": "<outcome value='failure'>\n",\r
1644         "comments": "",\r
1645         "outputs": 1,\r
1646         "x": 1209.3574676513672,\r
1647         "y": 5679.833315849304,\r
1648         "z": "652cf04d.917e78",\r
1649         "wires": [\r
1650             [\r
1651                 "e0daa6a.dcf31d8"\r
1652             ]\r
1653         ]\r
1654     },\r
1655     {\r
1656         "id": "8019290f.d9e57",\r
1657         "type": "not-found",\r
1658         "name": "not-found",\r
1659         "xml": "<outcome value='not-found'>\n",\r
1660         "comments": "",\r
1661         "outputs": 1,\r
1662         "x": 1217.928897857666,\r
1663         "y": 5724.119029045105,\r
1664         "z": "652cf04d.917e78",\r
1665         "wires": [\r
1666             [\r
1667                 "ca1e10f7.f5af08"\r
1668             ]\r
1669         ]\r
1670     },\r
1671     {\r
1672         "id": "7a955a19.a2beec",\r
1673         "type": "failure",\r
1674         "name": "failure",\r
1675         "xml": "<outcome value='failure'>\n",\r
1676         "comments": "",\r
1677         "outputs": 1,\r
1678         "x": 647.6907539367676,\r
1679         "y": 5834.833353996277,\r
1680         "z": "652cf04d.917e78",\r
1681         "wires": [\r
1682             [\r
1683                 "2e13fdd8.c6ad92"\r
1684             ]\r
1685         ]\r
1686     },\r
1687     {\r
1688         "id": "8245dddc.98b7b8",\r
1689         "type": "not-found",\r
1690         "name": "not-found",\r
1691         "xml": "<outcome value='not-found'>\n",\r
1692         "comments": "",\r
1693         "outputs": 1,\r
1694         "x": 656.2621841430664,\r
1695         "y": 5879.119067192078,\r
1696         "z": "652cf04d.917e78",\r
1697         "wires": [\r
1698             [\r
1699                 "eba4fe8c.3ea98"\r
1700             ]\r
1701         ]\r
1702     },\r
1703     {\r
1704         "id": "f7b6f1fc.97c858",\r
1705         "type": "set",\r
1706         "name": "set model-customization-uuid",\r
1707         "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",\r
1708         "comments": "",\r
1709         "x": 605.5000152587891,\r
1710         "y": 2907.1666078567505,\r
1711         "z": "652cf04d.917e78",\r
1712         "wires": []\r
1713     },\r
1714     {\r
1715         "id": "8379176c.854518",\r
1716         "type": "execute",\r
1717         "name": "split related-link",\r
1718         "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",\r
1719         "comments": "",\r
1720         "outputs": 1,\r
1721         "x": 1427.6903991699219,\r
1722         "y": 3027.1517295837402,\r
1723         "z": "652cf04d.917e78",\r
1724         "wires": [\r
1725             []\r
1726         ]\r
1727     },\r
1728     {\r
1729         "id": "8b3ae97b.251a1",\r
1730         "type": "block",\r
1731         "name": "block : atomic",\r
1732         "xml": "<block atomic=\"true\">",\r
1733         "atomic": "true",\r
1734         "outputs": 1,\r
1735         "x": 1213.3571014404297,\r
1736         "y": 3073.8185176849365,\r
1737         "z": "652cf04d.917e78",\r
1738         "wires": [\r
1739             [\r
1740                 "8379176c.854518",\r
1741                 "d417f4d3.21848",\r
1742                 "7176fd8c.2fbd64"\r
1743             ]\r
1744         ]\r
1745     },\r
1746     {\r
1747         "id": "7176fd8c.2fbd64",\r
1748         "type": "break",\r
1749         "name": "break",\r
1750         "xml": "<break>\n",\r
1751         "comments": "",\r
1752         "x": 1397.357063293457,\r
1753         "y": 3117.1518144607544,\r
1754         "z": "652cf04d.917e78",\r
1755         "wires": []\r
1756     },\r
1757     {\r
1758         "id": "87ffb6ef.f80298",\r
1759         "type": "block",\r
1760         "name": "block : atomic",\r
1761         "xml": "<block atomic=\"true\">",\r
1762         "atomic": "true",\r
1763         "outputs": 1,\r
1764         "x": 785.0000953674316,\r
1765         "y": 5557.628111839294,\r
1766         "z": "652cf04d.917e78",\r
1767         "wires": [\r
1768             [\r
1769                 "bc615b55.663bf",\r
1770                 "54f75326.6021ac"\r
1771             ]\r
1772         ]\r
1773     },\r
1774     {\r
1775         "id": "54f75326.6021ac",\r
1776         "type": "save",\r
1777         "name": "save generic-vnf availability-zone relationship",\r
1778         "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=\"`$prop.cloud-region.cloud-owner`\" />\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.cloud-region.availability-zones.availability-zone[$idx].availability-zone-name`\" />\n",\r
1779         "comments": "",\r
1780         "outputs": 1,\r
1781         "x": 1078.3334846496582,\r
1782         "y": 5580.9615659713745,\r
1783         "z": "652cf04d.917e78",\r
1784         "wires": [\r
1785             [\r
1786                 "43faed04.0b6094",\r
1787                 "82cc2525.32135"\r
1788             ]\r
1789         ]\r
1790     },\r
1791     {\r
1792         "id": "43faed04.0b6094",\r
1793         "type": "failure",\r
1794         "name": "failure",\r
1795         "xml": "<outcome value='failure'>\n",\r
1796         "comments": "",\r
1797         "outputs": 1,\r
1798         "x": 1343.1667366027832,\r
1799         "y": 5561.833388328552,\r
1800         "z": "652cf04d.917e78",\r
1801         "wires": [\r
1802             [\r
1803                 "662f403a.490a78"\r
1804             ]\r
1805         ]\r
1806     },\r
1807     {\r
1808         "id": "82cc2525.32135",\r
1809         "type": "not-found",\r
1810         "name": "not-found",\r
1811         "xml": "<outcome value='not-found'>\n",\r
1812         "comments": "",\r
1813         "outputs": 1,\r
1814         "x": 1351.738166809082,\r
1815         "y": 5606.119101524353,\r
1816         "z": "652cf04d.917e78",\r
1817         "wires": [\r
1818             [\r
1819                 "bf452558.9a9008"\r
1820             ]\r
1821         ]\r
1822     },\r
1823     {\r
1824         "id": "c3672ff4.a17f",\r
1825         "type": "set",\r
1826         "name": "set mapping rows to 0",\r
1827         "xml": "<set>\n<parameter name='db.vf-network-role-mapping_length' value='0' />\n",\r
1828         "comments": "",\r
1829         "x": 1164.3094863891602,\r
1830         "y": 3321.437578201294,\r
1831         "z": "652cf04d.917e78",\r
1832         "wires": []\r
1833     },\r
1834     {\r
1835         "id": "d350e16f.3e261",\r
1836         "type": "switchNode",\r
1837         "name": "switch AAI availability-zone_length",\r
1838         "xml": "<switch test='`$aai.cloud-region.availability-zones.availability-zone_length`'>\n",\r
1839         "comments": "",\r
1840         "outputs": 1,\r
1841         "x": 525.7143821716309,\r
1842         "y": 5461.437698364258,\r
1843         "z": "652cf04d.917e78",\r
1844         "wires": [\r
1845             [\r
1846                 "c37c195.a21eb68"\r
1847             ]\r
1848         ]\r
1849     },\r
1850     {\r
1851         "id": "c37c195.a21eb68",\r
1852         "type": "outcome",\r
1853         "name": "NULL",\r
1854         "xml": "<outcome value=''>",\r
1855         "comments": "",\r
1856         "outputs": 1,\r
1857         "x": 744.2858009338379,\r
1858         "y": 5461.009107589722,\r
1859         "z": "652cf04d.917e78",\r
1860         "wires": [\r
1861             [\r
1862                 "8b2d772a.c6035"\r
1863             ]\r
1864         ]\r
1865     },\r
1866     {\r
1867         "id": "609ae975.3eddb8",\r
1868         "type": "set",\r
1869         "name": "set availability-zone_length to 0",\r
1870         "xml": "<set>\n<parameter name='aai.cloud-region.availability-zones.availability-zone_length' value='0' />\n",\r
1871         "comments": "",\r
1872         "x": 1345.714443206787,\r
1873         "y": 5479.580345153809,\r
1874         "z": "652cf04d.917e78",\r
1875         "wires": []\r
1876     },\r
1877     {\r
1878         "id": "8b2d772a.c6035",\r
1879         "type": "switchNode",\r
1880         "name": "switch AZ max count > 0",\r
1881         "xml": "<switch test='`$db.vf-model.avail-zone-max-count &gt; 0`'>\n",\r
1882         "comments": "",\r
1883         "outputs": 1,\r
1884         "x": 932.8572731018066,\r
1885         "y": 5461.43741941452,\r
1886         "z": "652cf04d.917e78",\r
1887         "wires": [\r
1888             [\r
1889                 "e3d0a053.f7b56",\r
1890                 "cc1abe7a.9fa1e8"\r
1891             ]\r
1892         ]\r
1893     },\r
1894     {\r
1895         "id": "e3d0a053.f7b56",\r
1896         "type": "outcomeTrue",\r
1897         "name": "true",\r
1898         "xml": "<outcome value='true'>\n",\r
1899         "comments": "",\r
1900         "outputs": 1,\r
1901         "x": 1135.7143802642822,\r
1902         "y": 5435.723169326782,\r
1903         "z": "652cf04d.917e78",\r
1904         "wires": [\r
1905             [\r
1906                 "cf09642d.dcd6b"\r
1907             ]\r
1908         ]\r
1909     },\r
1910     {\r
1911         "id": "cc1abe7a.9fa1e8",\r
1912         "type": "outcomeFalse",\r
1913         "name": "false",\r
1914         "xml": "<outcome value='false'>\n",\r
1915         "comments": "",\r
1916         "outputs": 1,\r
1917         "x": 1137.1430015563965,\r
1918         "y": 5480.008916854858,\r
1919         "z": "652cf04d.917e78",\r
1920         "wires": [\r
1921             [\r
1922                 "609ae975.3eddb8"\r
1923             ]\r
1924         ]\r
1925     },\r
1926     {\r
1927         "id": "b0ee28b4.7573a8",\r
1928         "type": "execute",\r
1929         "name": "execute PropertiesNode",\r
1930         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
1931         "comments": "",\r
1932         "outputs": 1,\r
1933         "x": 563.5357437133789,\r
1934         "y": 240.4255886077881,\r
1935         "z": "652cf04d.917e78",\r
1936         "wires": [\r
1937             []\r
1938         ]\r
1939     },\r
1940     {\r
1941         "id": "241fabfe.69fa2c",\r
1942         "type": "outcome",\r
1943         "name": "NULL",\r
1944         "xml": "<outcome value=''>",\r
1945         "comments": "",\r
1946         "outputs": 1,\r
1947         "x": 770.6190414428711,\r
1948         "y": 1905.2470073699951,\r
1949         "z": "652cf04d.917e78",\r
1950         "wires": [\r
1951             [\r
1952                 "f0c5497d.1fa168"\r
1953             ]\r
1954         ]\r
1955     },\r
1956     {\r
1957         "id": "15d4f6ac.d5e021",\r
1958         "type": "switchNode",\r
1959         "name": "switch ecomp-naming",\r
1960         "xml": "<switch test='`$db.vf-model.ecomp-generated-naming`'>\n",\r
1961         "comments": "",\r
1962         "outputs": 1,\r
1963         "x": 1148.2384300231934,\r
1964         "y": 1805.961443901062,\r
1965         "z": "652cf04d.917e78",\r
1966         "wires": [\r
1967             [\r
1968                 "711480e9.dbef28",\r
1969                 "2199667e.3808aa",\r
1970                 "eaee02d.8418f"\r
1971             ]\r
1972         ]\r
1973     },\r
1974     {\r
1975         "id": "f0c5497d.1fa168",\r
1976         "type": "block",\r
1977         "name": "block : atomic",\r
1978         "xml": "<block atomic=\"true\">",\r
1979         "atomic": "true",\r
1980         "outputs": 1,\r
1981         "x": 916.3335418701172,\r
1982         "y": 1905.247124671936,\r
1983         "z": "652cf04d.917e78",\r
1984         "wires": [\r
1985             [\r
1986                 "15d4f6ac.d5e021",\r
1987                 "319f96a9.08ead2"\r
1988             ]\r
1989         ]\r
1990     },\r
1991     {\r
1992         "id": "2199667e.3808aa",\r
1993         "type": "outcome",\r
1994         "name": "N",\r
1995         "xml": "<outcome value='N'>",\r
1996         "comments": "",\r
1997         "outputs": 1,\r
1998         "x": 1334.6668167114258,\r
1999         "y": 1806.4375705718994,\r
2000         "z": "652cf04d.917e78",\r
2001         "wires": [\r
2002             [\r
2003                 "ad1b7833.2d89a"\r
2004             ]\r
2005         ]\r
2006     },\r
2007     {\r
2008         "id": "711480e9.dbef28",\r
2009         "type": "outcome",\r
2010         "name": "Y",\r
2011         "xml": "<outcome value='Y'>",\r
2012         "comments": "",\r
2013         "outputs": 1,\r
2014         "x": 1334.6668090820312,\r
2015         "y": 1765.0090246200562,\r
2016         "z": "652cf04d.917e78",\r
2017         "wires": [\r
2018             [\r
2019                 "72fee52.6ade19c"\r
2020             ]\r
2021         ]\r
2022     },\r
2023     {\r
2024         "id": "eaee02d.8418f",\r
2025         "type": "other",\r
2026         "name": "other",\r
2027         "xml": "<outcome value='Other'>\n",\r
2028         "comments": "",\r
2029         "outputs": 1,\r
2030         "x": 1334.6667556762695,\r
2031         "y": 1849.2947025299072,\r
2032         "z": "652cf04d.917e78",\r
2033         "wires": [\r
2034             [\r
2035                 "ad1b7833.2d89a"\r
2036             ]\r
2037         ]\r
2038     },\r
2039     {\r
2040         "id": "72fee52.6ade19c",\r
2041         "type": "block",\r
2042         "name": "block",\r
2043         "xml": "<block>\n",\r
2044         "atomic": "false",\r
2045         "comments": "",\r
2046         "outputs": 1,\r
2047         "x": 1471.809726715088,\r
2048         "y": 1765.151891708374,\r
2049         "z": "652cf04d.917e78",\r
2050         "wires": [\r
2051             []\r
2052         ]\r
2053     },\r
2054     {\r
2055         "id": "f80604c.1fec1f8",\r
2056         "type": "other",\r
2057         "name": "other",\r
2058         "xml": "<outcome value='Other'>\n",\r
2059         "comments": "",\r
2060         "outputs": 1,\r
2061         "x": 755.8097686767578,\r
2062         "y": 2259.866183280945,\r
2063         "z": "652cf04d.917e78",\r
2064         "wires": [\r
2065             [\r
2066                 "1d97b077.4371"\r
2067             ]\r
2068         ]\r
2069     },\r
2070     {\r
2071         "id": "1d97b077.4371",\r
2072         "type": "set",\r
2073         "name": "set tmp.vnf-name",\r
2074         "xml": "<set>\n<parameter name='tmp.vnf-name' value=\"`$vnf-topology-operation-input.vnf-information.vnf-name`\" />\n",\r
2075         "comments": "",\r
2076         "x": 921.5717315673828,\r
2077         "y": 2258.7234535217285,\r
2078         "z": "652cf04d.917e78",\r
2079         "wires": []\r
2080     },\r
2081     {\r
2082         "id": "2b8a3d28.12eada",\r
2083         "type": "call",\r
2084         "name": "call GENERIC-RESOURCE-API:generate-unique-name",\r
2085         "xml": "<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",\r
2086         "comments": "",\r
2087         "outputs": 1,\r
2088         "x": 1806.643009185791,\r
2089         "y": 1955.0089440345764,\r
2090         "z": "652cf04d.917e78",\r
2091         "wires": [\r
2092             [\r
2093                 "59b40ce2.443a14",\r
2094                 "b8f390d9.9644b"\r
2095             ]\r
2096         ]\r
2097     },\r
2098     {\r
2099         "id": "59b40ce2.443a14",\r
2100         "type": "failure",\r
2101         "name": "failure",\r
2102         "xml": "<outcome value='failure'>\n",\r
2103         "comments": "",\r
2104         "outputs": 1,\r
2105         "x": 2083.7858123779297,\r
2106         "y": 1928.5804772377014,\r
2107         "z": "652cf04d.917e78",\r
2108         "wires": [\r
2109             [\r
2110                 "841445e5.523fe"\r
2111             ]\r
2112         ]\r
2113     },\r
2114     {\r
2115         "id": "b8f390d9.9644b",\r
2116         "type": "success",\r
2117         "name": "success",\r
2118         "xml": "<outcome value='success'>\n",\r
2119         "comments": "",\r
2120         "outputs": 1,\r
2121         "x": 2088.5475578308105,\r
2122         "y": 1973.9613881111145,\r
2123         "z": "652cf04d.917e78",\r
2124         "wires": [\r
2125             [\r
2126                 "c9312147.c268c8"\r
2127             ]\r
2128         ]\r
2129     },\r
2130     {\r
2131         "id": "cdd8e1f0.243448",\r
2132         "type": "set",\r
2133         "name": "set variables for generating unique name",\r
2134         "xml": "<set>\n<parameter name='generate-unique-name-input.action' value='ASSIGN' />\n<parameter name='generate-unique-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\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",\r
2135         "comments": "",\r
2136         "x": 1761.6432609558105,\r
2137         "y": 1906.1042637825012,\r
2138         "z": "652cf04d.917e78",\r
2139         "wires": []\r
2140     },\r
2141     {\r
2142         "id": "c9312147.c268c8",\r
2143         "type": "set",\r
2144         "name": "set tmp.vnf-name to generated name",\r
2145         "xml": "<set>\n<parameter name='tmp.vnf-name' value='`$generate-unique-name-output.generated-name`' />\n",\r
2146         "comments": "",\r
2147         "x": 2311.4519538879395,\r
2148         "y": 1973.4374632835388,\r
2149         "z": "652cf04d.917e78",\r
2150         "wires": []\r
2151     },\r
2152     {\r
2153         "id": "319f96a9.08ead2",\r
2154         "type": "switchNode",\r
2155         "name": "switch naming-policy",\r
2156         "xml": "<switch test='`$db.vf-model.naming-policy`'>\n",\r
2157         "comments": "",\r
2158         "outputs": 1,\r
2159         "x": 1146.024013519287,\r
2160         "y": 2014.2470607757568,\r
2161         "z": "652cf04d.917e78",\r
2162         "wires": [\r
2163             [\r
2164                 "8a5a017e.752c18",\r
2165                 "a132177.4ea1768"\r
2166             ]\r
2167         ]\r
2168     },\r
2169     {\r
2170         "id": "8a5a017e.752c18",\r
2171         "type": "outcome",\r
2172         "name": "NULL",\r
2173         "xml": "<outcome value=''>",\r
2174         "comments": "",\r
2175         "outputs": 1,\r
2176         "x": 1336.0239448547363,\r
2177         "y": 1935.675615310669,\r
2178         "z": "652cf04d.917e78",\r
2179         "wires": [\r
2180             [\r
2181                 "bffcbc52.3223c"\r
2182             ]\r
2183         ]\r
2184     },\r
2185     {\r
2186         "id": "a132177.4ea1768",\r
2187         "type": "other",\r
2188         "name": "other",\r
2189         "xml": "<outcome value='Other'>\n",\r
2190         "comments": "",\r
2191         "outputs": 1,\r
2192         "x": 1336.2621841430664,\r
2193         "y": 2063.056559562683,\r
2194         "z": "652cf04d.917e78",\r
2195         "wires": [\r
2196             [\r
2197                 "a0656517.5bca38"\r
2198             ]\r
2199         ]\r
2200     },\r
2201     {\r
2202         "id": "bffcbc52.3223c",\r
2203         "type": "block",\r
2204         "name": "block : atomic",\r
2205         "xml": "<block atomic=\"true\">",\r
2206         "atomic": "true",\r
2207         "outputs": 1,\r
2208         "x": 1488.8812141418457,\r
2209         "y": 1934.2470817565918,\r
2210         "z": "652cf04d.917e78",\r
2211         "wires": [\r
2212             [\r
2213                 "cdd8e1f0.243448",\r
2214                 "2b8a3d28.12eada"\r
2215             ]\r
2216         ]\r
2217     },\r
2218     {\r
2219         "id": "7998869c.3c0bd",\r
2220         "type": "call",\r
2221         "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
2222         "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
2223         "comments": "",\r
2224         "outputs": 1,\r
2225         "x": 1827.9291381835938,\r
2226         "y": 2078.770941257477,\r
2227         "z": "652cf04d.917e78",\r
2228         "wires": [\r
2229             [\r
2230                 "57af4cbf.e1b474",\r
2231                 "d28171a6.a4093"\r
2232             ]\r
2233         ]\r
2234     },\r
2235     {\r
2236         "id": "a0656517.5bca38",\r
2237         "type": "block",\r
2238         "name": "block : atomic",\r
2239         "xml": "<block atomic=\"true\">",\r
2240         "atomic": "true",\r
2241         "outputs": 1,\r
2242         "x": 1490.786033630371,\r
2243         "y": 2063.056559562683,\r
2244         "z": "652cf04d.917e78",\r
2245         "wires": [\r
2246             [\r
2247                 "db8c85e7.7b71c8",\r
2248                 "7998869c.3c0bd"\r
2249             ]\r
2250         ]\r
2251     },\r
2252     {\r
2253         "id": "db8c85e7.7b71c8",\r
2254         "type": "set",\r
2255         "name": "set variables for generating name",\r
2256         "xml": "<set>\n<parameter name='naming-policy-generate-name-input.policy-instance-name' value='`$db.vf-model.naming-policy`' />\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='ASSIGN' />\n<parameter name='naming-policy-generate-name-input.query-parameter' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />",\r
2257         "comments": "",\r
2258         "x": 1737.929054260254,\r
2259         "y": 2033.05659532547,\r
2260         "z": "652cf04d.917e78",\r
2261         "wires": []\r
2262     },\r
2263     {\r
2264         "id": "b52c81d4.1a1f08",\r
2265         "type": "set",\r
2266         "name": "set tmp.vnf-name to generated name",\r
2267         "xml": "<set>\n<parameter name='tmp.vnf-name' value='`$naming-policy-generate-name-output.vnf-name`' />\n",\r
2268         "comments": "",\r
2269         "x": 2387.7861099243164,\r
2270         "y": 2098.770751953125,\r
2271         "z": "652cf04d.917e78",\r
2272         "wires": []\r
2273     },\r
2274     {\r
2275         "id": "e74586be.b8e6f8",\r
2276         "type": "block",\r
2277         "name": "block : atomic",\r
2278         "xml": "<block atomic=\"true\">",\r
2279         "atomic": "true",\r
2280         "outputs": 1,\r
2281         "x": 1954.0475997924805,\r
2282         "y": 6545.819259643555,\r
2283         "z": "652cf04d.917e78",\r
2284         "wires": [\r
2285             [\r
2286                 "fcbc941a.75b4b8",\r
2287                 "5e0caa6d.e903f4",\r
2288                 "fef2b74e.207f2",\r
2289                 "ae834aa6.55d6c"\r
2290             ]\r
2291         ]\r
2292     },\r
2293     {\r
2294         "id": "57af4cbf.e1b474",\r
2295         "type": "failure",\r
2296         "name": "failure",\r
2297         "xml": "<outcome value='failure'>\n",\r
2298         "comments": "",\r
2299         "outputs": 1,\r
2300         "x": 2126.095184326172,\r
2301         "y": 2053.6994485855103,\r
2302         "z": "652cf04d.917e78",\r
2303         "wires": [\r
2304             [\r
2305                 "95c2eab0.a4313"\r
2306             ]\r
2307         ]\r
2308     },\r
2309     {\r
2310         "id": "d28171a6.a4093",\r
2311         "type": "success",\r
2312         "name": "success",\r
2313         "xml": "<outcome value='success'>\n",\r
2314         "comments": "",\r
2315         "outputs": 1,\r
2316         "x": 2130.8569297790527,\r
2317         "y": 2099.0803594589233,\r
2318         "z": "652cf04d.917e78",\r
2319         "wires": [\r
2320             [\r
2321                 "b52c81d4.1a1f08"\r
2322             ]\r
2323         ]\r
2324     },\r
2325     {\r
2326         "id": "1677d157.c65a77",\r
2327         "type": "block",\r
2328         "name": "block : atomic",\r
2329         "xml": "<block atomic=\"true\">",\r
2330         "atomic": "true",\r
2331         "outputs": 1,\r
2332         "x": 781.3332824707031,\r
2333         "y": 1408.666666984558,\r
2334         "z": "652cf04d.917e78",\r
2335         "wires": [\r
2336             [\r
2337                 "e4f063d3.c2f668",\r
2338                 "d72cd4af.95669"\r
2339             ]\r
2340         ]\r
2341     },\r
2342     {\r
2343         "id": "93239a74.eab46",\r
2344         "type": "for",\r
2345         "name": "for each instance group id",\r
2346         "xml": "<for silentFailure='true' index='inst-group-index' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids_length`' >\n",\r
2347         "comments": "",\r
2348         "outputs": 1,\r
2349         "x": 564.6666297912598,\r
2350         "y": 1409.333312034607,\r
2351         "z": "652cf04d.917e78",\r
2352         "wires": [\r
2353             [\r
2354                 "1677d157.c65a77"\r
2355             ]\r
2356         ]\r
2357     },\r
2358     {\r
2359         "id": "e4f063d3.c2f668",\r
2360         "type": "get-resource",\r
2361         "name": "get-resource instance-group",\r
2362         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"instance-group\" \n\t\tkey=\"instance-group.id = $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\"\n        pfx='aai.instance-group' local-only='false' >\n\n",\r
2363         "comments": "",\r
2364         "outputs": 1,\r
2365         "x": 1009.3333206176758,\r
2366         "y": 1340.3334255218506,\r
2367         "z": "652cf04d.917e78",\r
2368         "wires": [\r
2369             [\r
2370                 "2d4e4bf5.37f93c",\r
2371                 "27b813e1.4ee81c"\r
2372             ]\r
2373         ]\r
2374     },\r
2375     {\r
2376         "id": "27b813e1.4ee81c",\r
2377         "type": "failure",\r
2378         "name": "failure",\r
2379         "xml": "<outcome value='failure'>\n",\r
2380         "comments": "",\r
2381         "outputs": 1,\r
2382         "x": 1226.912612915039,\r
2383         "y": 1371.8174781799316,\r
2384         "z": "652cf04d.917e78",\r
2385         "wires": [\r
2386             [\r
2387                 "4e3d9218.a643dc"\r
2388             ]\r
2389         ]\r
2390     },\r
2391     {\r
2392         "id": "2d4e4bf5.37f93c",\r
2393         "type": "not-found",\r
2394         "name": "not-found",\r
2395         "xml": "<outcome value='not-found'>\n",\r
2396         "comments": "",\r
2397         "outputs": 1,\r
2398         "x": 1235.8414459228516,\r
2399         "y": 1308.4366302490234,\r
2400         "z": "652cf04d.917e78",\r
2401         "wires": [\r
2402             [\r
2403                 "961d4497.b1f5b"\r
2404             ]\r
2405         ]\r
2406     },\r
2407     {\r
2408         "id": "d72cd4af.95669",\r
2409         "type": "for",\r
2410         "name": "for each relationship",\r
2411         "xml": "<for index='rel-index' start='0' end='`$aai.instance-group.relationship-list.relationship_length`' >\n",\r
2412         "comments": "",\r
2413         "outputs": 1,\r
2414         "x": 986.3332977294922,\r
2415         "y": 1480.3333644866943,\r
2416         "z": "652cf04d.917e78",\r
2417         "wires": [\r
2418             [\r
2419                 "b3fe8ef5.7f7b08"\r
2420             ]\r
2421         ]\r
2422     },\r
2423     {\r
2424         "id": "b3fe8ef5.7f7b08",\r
2425         "type": "switchNode",\r
2426         "name": "switch related-to",\r
2427         "xml": "<switch test='`$aai.instance-group.relationship-list.relationship[$rel-index].related-to`'>\n",\r
2428         "comments": "",\r
2429         "outputs": 1,\r
2430         "x": 1199.6667404174805,\r
2431         "y": 1480.333303451538,\r
2432         "z": "652cf04d.917e78",\r
2433         "wires": [\r
2434             [\r
2435                 "6c3837b.20f1348"\r
2436             ]\r
2437         ]\r
2438     },\r
2439     {\r
2440         "id": "6c3837b.20f1348",\r
2441         "type": "outcome",\r
2442         "name": "collection",\r
2443         "xml": "<outcome value='collection'>\n",\r
2444         "comments": "",\r
2445         "outputs": 1,\r
2446         "x": 1371.3333778381348,\r
2447         "y": 1480.3333854675293,\r
2448         "z": "652cf04d.917e78",\r
2449         "wires": [\r
2450             [\r
2451                 "d9f8f3cd.64b7b8"\r
2452             ]\r
2453         ]\r
2454     },\r
2455     {\r
2456         "id": "d9f8f3cd.64b7b8",\r
2457         "type": "get-resource",\r
2458         "name": "get-resource collection",\r
2459         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"collection\" \n\t\tkey=\"collection.collection-id = $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n        pfx='aai.collection' local-only='false' >\n\n",\r
2460         "comments": "",\r
2461         "outputs": 1,\r
2462         "x": 1591.3332824707031,\r
2463         "y": 1478.6666469573975,\r
2464         "z": "652cf04d.917e78",\r
2465         "wires": [\r
2466             [\r
2467                 "f170a79a.1b1ac",\r
2468                 "9189a100.b52d78",\r
2469                 "e1621aae.8a7778"\r
2470             ]\r
2471         ]\r
2472     },\r
2473     {\r
2474         "id": "9189a100.b52d78",\r
2475         "type": "failure",\r
2476         "name": "failure",\r
2477         "xml": "<outcome value='failure'>\n",\r
2478         "comments": "",\r
2479         "outputs": 1,\r
2480         "x": 1805.579475402832,\r
2481         "y": 1430.1508359909058,\r
2482         "z": "652cf04d.917e78",\r
2483         "wires": [\r
2484             [\r
2485                 "966a3052.be8b78"\r
2486             ]\r
2487         ]\r
2488     },\r
2489     {\r
2490         "id": "f170a79a.1b1ac",\r
2491         "type": "not-found",\r
2492         "name": "not-found",\r
2493         "xml": "<outcome value='not-found'>\n",\r
2494         "comments": "",\r
2495         "outputs": 1,\r
2496         "x": 1814.508071899414,\r
2497         "y": 1388.4365692138672,\r
2498         "z": "652cf04d.917e78",\r
2499         "wires": [\r
2500             [\r
2501                 "e5dc44b5.d3f17"\r
2502             ]\r
2503         ]\r
2504     },\r
2505     {\r
2506         "id": "e1621aae.8a7778",\r
2507         "type": "success",\r
2508         "name": "success",\r
2509         "xml": "<outcome value='success'>\n",\r
2510         "comments": "",\r
2511         "outputs": 1,\r
2512         "x": 1824.666790008545,\r
2513         "y": 1591.9999542236328,\r
2514         "z": "652cf04d.917e78",\r
2515         "wires": [\r
2516             [\r
2517                 "23c6675b.1dfc4"\r
2518             ]\r
2519         ]\r
2520     },\r
2521     {\r
2522         "id": "23c6675b.1dfc4",\r
2523         "type": "block",\r
2524         "name": "block : atomic",\r
2525         "xml": "<block atomic=\"true\">",\r
2526         "atomic": "true",\r
2527         "outputs": 1,\r
2528         "x": 1977.9999313354492,\r
2529         "y": 1591.3332500457764,\r
2530         "z": "652cf04d.917e78",\r
2531         "wires": [\r
2532             [\r
2533                 "9e02f3b5.206e98",\r
2534                 "8992318d.0d7de",\r
2535                 "748a871e.ccc29",\r
2536                 "22797e19.563542",\r
2537                 "1a7acef5.2220b1"\r
2538             ]\r
2539         ]\r
2540     },\r
2541     {\r
2542         "id": "9e02f3b5.206e98",\r
2543         "type": "for",\r
2544         "name": "for each network-instance-group",\r
2545         "xml": "<for silentFailure='true' index='nig-index' start='0' end='`$service-data.network-instance-groups.network-instance-group_length`' >\n",\r
2546         "comments": "",\r
2547         "outputs": 1,\r
2548         "x": 2290.619071960449,\r
2549         "y": 1540.5715045928955,\r
2550         "z": "652cf04d.917e78",\r
2551         "wires": [\r
2552             [\r
2553                 "ff455704.dd71a8"\r
2554             ]\r
2555         ]\r
2556     },\r
2557     {\r
2558         "id": "8992318d.0d7de",\r
2559         "type": "set",\r
2560         "name": "set found-network-instance-group to false",\r
2561         "xml": "<set>\n<parameter name='found-network-instance-group' value='false' />\n",\r
2562         "comments": "",\r
2563         "x": 2320.6190338134766,\r
2564         "y": 1493.9048767089844,\r
2565         "z": "652cf04d.917e78",\r
2566         "wires": []\r
2567     },\r
2568     {\r
2569         "id": "ff455704.dd71a8",\r
2570         "type": "switchNode",\r
2571         "name": "network-instance-group-id matches?",\r
2572         "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n  == $service-data.network-instance-groups.network-instance-group[$nig-index].network-instance-group-id`'>\n",\r
2573         "comments": "",\r
2574         "outputs": 1,\r
2575         "x": 2607.2855834960938,\r
2576         "y": 1540.5715036392212,\r
2577         "z": "652cf04d.917e78",\r
2578         "wires": [\r
2579             [\r
2580                 "add4fb90.7b64c"\r
2581             ]\r
2582         ]\r
2583     },\r
2584     {\r
2585         "id": "add4fb90.7b64c",\r
2586         "type": "outcomeTrue",\r
2587         "name": "true",\r
2588         "xml": "<outcome value='true'>\n",\r
2589         "comments": "",\r
2590         "outputs": 1,\r
2591         "x": 2828.952362060547,\r
2592         "y": 1540.5714683532715,\r
2593         "z": "652cf04d.917e78",\r
2594         "wires": [\r
2595             [\r
2596                 "c85d2956.aba338"\r
2597             ]\r
2598         ]\r
2599     },\r
2600     {\r
2601         "id": "c85d2956.aba338",\r
2602         "type": "block",\r
2603         "name": "block",\r
2604         "xml": "<block>\n",\r
2605         "atomic": "false",\r
2606         "comments": "",\r
2607         "outputs": 1,\r
2608         "x": 2958.952392578125,\r
2609         "y": 1540.5715446472168,\r
2610         "z": "652cf04d.917e78",\r
2611         "wires": [\r
2612             [\r
2613                 "40850f47.7a7e78",\r
2614                 "52b6fff4.bf5a48"\r
2615             ]\r
2616         ]\r
2617     },\r
2618     {\r
2619         "id": "40850f47.7a7e78",\r
2620         "type": "set",\r
2621         "name": "set found-network-instance-group to true",\r
2622         "xml": "<set>\n<parameter name='found-network-instance-group' value='true' />\n",\r
2623         "comments": "",\r
2624         "x": 3232.285758972168,\r
2625         "y": 1515.5715236663818,\r
2626         "z": "652cf04d.917e78",\r
2627         "wires": []\r
2628     },\r
2629     {\r
2630         "id": "52b6fff4.bf5a48",\r
2631         "type": "break",\r
2632         "name": "break",\r
2633         "xml": "<break>\n",\r
2634         "comments": "",\r
2635         "x": 3125.619373321533,\r
2636         "y": 1563.904893875122,\r
2637         "z": "652cf04d.917e78",\r
2638         "wires": []\r
2639     },\r
2640     {\r
2641         "id": "748a871e.ccc29",\r
2642         "type": "switchNode",\r
2643         "name": "switch found-network-instance-group",\r
2644         "xml": "<switch test='`$found-network-instance-group`'>\n",\r
2645         "comments": "",\r
2646         "outputs": 1,\r
2647         "x": 2302.285690307617,\r
2648         "y": 1590.5714855194092,\r
2649         "z": "652cf04d.917e78",\r
2650         "wires": [\r
2651             [\r
2652                 "88c71dfb.666f4"\r
2653             ]\r
2654         ]\r
2655     },\r
2656     {\r
2657         "id": "88c71dfb.666f4",\r
2658         "type": "outcomeFalse",\r
2659         "name": "false",\r
2660         "xml": "<outcome value='false'>\n",\r
2661         "comments": "",\r
2662         "outputs": 1,\r
2663         "x": 2523.952537536621,\r
2664         "y": 1590.5715079307556,\r
2665         "z": "652cf04d.917e78",\r
2666         "wires": [\r
2667             [\r
2668                 "19fba1ff.3d7996"\r
2669             ]\r
2670         ]\r
2671     },\r
2672     {\r
2673         "id": "a88c2f3d.bf4fa8",\r
2674         "type": "set",\r
2675         "name": "set tmp.vnf-network-collection_length to 0",\r
2676         "xml": "<set>\n<parameter name='tmp.vnf-network-collection_length' value='0' />\n",\r
2677         "comments": "",\r
2678         "x": 612.9999694824219,\r
2679         "y": 1360.3334436416626,\r
2680         "z": "652cf04d.917e78",\r
2681         "wires": []\r
2682     },\r
2683     {\r
2684         "id": "22797e19.563542",\r
2685         "type": "set",\r
2686         "name": "set vnf-network-collection data",\r
2687         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-instance-group-function'\n  value='`$aai.instance-group.instance-group-function`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-instance-group-id'\n  value='`$aai.instance-group.id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-collection-service-instance-id'\n  value='`$service-data.network-instance-groups.network-instance-group[$nig-index].service-instance-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection[$tmp.vnf-network-collection_length].network-collection-customization-uuid'\n  value='`$aai.collection.collection-customization-id`' />\n",\r
2688         "comments": "",\r
2689         "x": 2282.2860145568848,\r
2690         "y": 1638.904821395874,\r
2691         "z": "652cf04d.917e78",\r
2692         "wires": []\r
2693     },\r
2694     {\r
2695         "id": "1a7acef5.2220b1",\r
2696         "type": "set",\r
2697         "name": "increment tmp.vnf-network-collection_length",\r
2698         "xml": "<set>\n<parameter name='tmp.vnf-network-collection_length' value='`$tmp.vnf-network-collection_length + 1`' />\n",\r
2699         "comments": "",\r
2700         "x": 2323.95272064209,\r
2701         "y": 1685.5714893341064,\r
2702         "z": "652cf04d.917e78",\r
2703         "wires": []\r
2704     },\r
2705     {\r
2706         "id": "3e36f71.f2f0b88",\r
2707         "type": "set",\r
2708         "name": "set vnf-network-collection_length",\r
2709         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-network-collections.vnf-network-collection_length'\n  value='`$tmp.vnf-network-collection_length`' />\n",\r
2710         "comments": "",\r
2711         "x": 592.1666641235352,\r
2712         "y": 1617.8333930969238,\r
2713         "z": "652cf04d.917e78",\r
2714         "wires": []\r
2715     },\r
2716     {\r
2717         "id": "6e06d5a1.039e24",\r
2718         "type": "block",\r
2719         "name": "block : atomic",\r
2720         "xml": "<block atomic=\"true\">",\r
2721         "atomic": "true",\r
2722         "outputs": 1,\r
2723         "x": 710.0000457763672,\r
2724         "y": 5950.80961894989,\r
2725         "z": "652cf04d.917e78",\r
2726         "wires": [\r
2727             [\r
2728                 "15f88503.d536cb"\r
2729             ]\r
2730         ]\r
2731     },\r
2732     {\r
2733         "id": "b3a3b6d8.b3b1a",\r
2734         "type": "for",\r
2735         "name": "for each instance group id",\r
2736         "xml": "<for silentFailure='true' index='inst-group-index' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids_length`' >\n",\r
2737         "comments": "",\r
2738         "outputs": 1,\r
2739         "x": 493.3333930969238,\r
2740         "y": 5951.476263999939,\r
2741         "z": "652cf04d.917e78",\r
2742         "wires": [\r
2743             [\r
2744                 "6e06d5a1.039e24"\r
2745             ]\r
2746         ]\r
2747     },\r
2748     {\r
2749         "id": "15f88503.d536cb",\r
2750         "type": "save",\r
2751         "name": "save generic-vnf relationship to instance-group",\r
2752         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"generic-vnf:relationship-list\"\n   key=\"generic-vnf.vnf-id = $vnf-topology-operation-input.vnf-information.vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"instance-group\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/instance-groups/instance-group/'\n        + $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id`\" />\n",\r
2753         "comments": "",\r
2754         "outputs": 1,\r
2755         "x": 993.3333740234375,\r
2756         "y": 5950.333299636841,\r
2757         "z": "652cf04d.917e78",\r
2758         "wires": [\r
2759             [\r
2760                 "ab9ecf4.f4a9ab",\r
2761                 "7760b70d.6ce06"\r
2762             ]\r
2763         ]\r
2764     },\r
2765     {\r
2766         "id": "ab9ecf4.f4a9ab",\r
2767         "type": "failure",\r
2768         "name": "failure",\r
2769         "xml": "<outcome value='failure'>\n",\r
2770         "comments": "",\r
2771         "outputs": 1,\r
2772         "x": 1252.6905975341797,\r
2773         "y": 5927.285715103149,\r
2774         "z": "652cf04d.917e78",\r
2775         "wires": [\r
2776             [\r
2777                 "1ce1d0e3.b09f8f"\r
2778             ]\r
2779         ]\r
2780     },\r
2781     {\r
2782         "id": "7760b70d.6ce06",\r
2783         "type": "not-found",\r
2784         "name": "not-found",\r
2785         "xml": "<outcome value='not-found'>\n",\r
2786         "comments": "",\r
2787         "outputs": 1,\r
2788         "x": 1261.2620277404785,\r
2789         "y": 5971.57142829895,\r
2790         "z": "652cf04d.917e78",\r
2791         "wires": [\r
2792             [\r
2793                 "85592822.f54ce"\r
2794             ]\r
2795         ]\r
2796     },\r
2797     {\r
2798         "id": "5621d64.66c8228",\r
2799         "type": "switchNode",\r
2800         "name": "switch subnet_length",\r
2801         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`'>\n",\r
2802         "comments": "",\r
2803         "outputs": 1,\r
2804         "x": 1314.9047927856445,\r
2805         "y": 4383.428667068481,\r
2806         "z": "652cf04d.917e78",\r
2807         "wires": [\r
2808             [\r
2809                 "590fbfa.56ffd4",\r
2810                 "55fd7e77.380188",\r
2811                 "5c002b3b.bf14dc"\r
2812             ]\r
2813         ]\r
2814     },\r
2815     {\r
2816         "id": "590fbfa.56ffd4",\r
2817         "type": "outcome",\r
2818         "name": "NULL",\r
2819         "xml": "<outcome value=''>",\r
2820         "comments": "",\r
2821         "outputs": 1,\r
2822         "x": 1487.7619552612305,\r
2823         "y": 4346.285726547241,\r
2824         "z": "652cf04d.917e78",\r
2825         "wires": [\r
2826             [\r
2827                 "c908a6ad.557b18"\r
2828             ]\r
2829         ]\r
2830     },\r
2831     {\r
2832         "id": "55fd7e77.380188",\r
2833         "type": "outcome",\r
2834         "name": "0",\r
2835         "xml": "<outcome value='0'>\n",\r
2836         "comments": "",\r
2837         "outputs": 1,\r
2838         "x": 1489.1905250549316,\r
2839         "y": 4384.856889724731,\r
2840         "z": "652cf04d.917e78",\r
2841         "wires": [\r
2842             [\r
2843                 "c908a6ad.557b18"\r
2844             ]\r
2845         ]\r
2846     },\r
2847     {\r
2848         "id": "5c002b3b.bf14dc",\r
2849         "type": "other",\r
2850         "name": "other",\r
2851         "xml": "<outcome value='Other'>\n",\r
2852         "comments": "",\r
2853         "outputs": 1,\r
2854         "x": 1487.7619895935059,\r
2855         "y": 4423.428281784058,\r
2856         "z": "652cf04d.917e78",\r
2857         "wires": [\r
2858             [\r
2859                 "42d5e987.8ca46"\r
2860             ]\r
2861         ]\r
2862     },\r
2863     {\r
2864         "id": "42d5e987.8ca46",\r
2865         "type": "block",\r
2866         "name": "block",\r
2867         "xml": "<block>\n",\r
2868         "atomic": "false",\r
2869         "comments": "",\r
2870         "outputs": 1,\r
2871         "x": 1609.190544128418,\r
2872         "y": 4423.428548812866,\r
2873         "z": "652cf04d.917e78",\r
2874         "wires": [\r
2875             [\r
2876                 "5bf4954f.7a431c",\r
2877                 "48890473.4cc4e4"\r
2878             ]\r
2879         ]\r
2880     },\r
2881     {\r
2882         "id": "c908a6ad.557b18",\r
2883         "type": "set",\r
2884         "name": "set subnet_length to 0",\r
2885         "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='0' />\n",\r
2886         "comments": "",\r
2887         "x": 1680.6191482543945,\r
2888         "y": 4354.856889724731,\r
2889         "z": "652cf04d.917e78",\r
2890         "wires": []\r
2891     },\r
2892     {\r
2893         "id": "525bcd69.d52c4c",\r
2894         "type": "block",\r
2895         "name": "block : atomic",\r
2896         "xml": "<block atomic=\"true\">",\r
2897         "atomic": "true",\r
2898         "outputs": 1,\r
2899         "x": 298.0793991088867,\r
2900         "y": 420.11908626556396,\r
2901         "z": "652cf04d.917e78",\r
2902         "wires": [\r
2903             [\r
2904                 "b0ee28b4.7573a8",\r
2905                 "65b55bf0.e17c94",\r
2906                 "c29453e1.d0b3d8",\r
2907                 "3f69e8e3.cf5be8",\r
2908                 "819ca24a.f2412",\r
2909                 "4ce50465.9ccc0c",\r
2910                 "5369940c.e48364"\r
2911             ]\r
2912         ]\r
2913     },\r
2914     {\r
2915         "id": "cefc1963.652428",\r
2916         "type": "block",\r
2917         "name": "block",\r
2918         "xml": "<block>\n",\r
2919         "atomic": "false",\r
2920         "comments": "",\r
2921         "outputs": 1,\r
2922         "x": 1950.3810005187988,\r
2923         "y": 4402.032744407654,\r
2924         "z": "652cf04d.917e78",\r
2925         "wires": [\r
2926             [\r
2927                 "bfb8729.d25369",\r
2928                 "1546bd44.dac763",\r
2929                 "c11ff570.face3",\r
2930                 "b2dc37a2.39945"\r
2931             ]\r
2932         ]\r
2933     },\r
2934     {\r
2935         "id": "680457ce.355c7",\r
2936         "type": "set",\r
2937         "name": "clear aai.l3-network",\r
2938         "xml": "<set>\n<parameter name='aai.l3-network.' value='' />\n",\r
2939         "comments": "",\r
2940         "x": 1301.8095703125,\r
2941         "y": 3456.3182973861694,\r
2942         "z": "652cf04d.917e78",\r
2943         "wires": []\r
2944     },\r
2945     {\r
2946         "id": "54222992.1960d8",\r
2947         "type": "break",\r
2948         "name": "break",\r
2949         "xml": "<break>\n",\r
2950         "comments": "",\r
2951         "x": 3750.6663818359375,\r
2952         "y": 4302.032426834106,\r
2953         "z": "652cf04d.917e78",\r
2954         "wires": []\r
2955     },\r
2956     {\r
2957         "id": "16ed0d4.c25bbf3",\r
2958         "type": "set",\r
2959         "name": "set found-network to false",\r
2960         "xml": "<set>\n<parameter name='found-network' value='false' />\n",\r
2961         "comments": "",\r
2962         "x": 1450.380973815918,\r
2963         "y": 4007.7468309402466,\r
2964         "z": "652cf04d.917e78",\r
2965         "wires": []\r
2966     },\r
2967     {\r
2968         "id": "e8b88764.0e454",\r
2969         "type": "block",\r
2970         "name": "block : atomic",\r
2971         "xml": "<block atomic=\"true\">",\r
2972         "atomic": "true",\r
2973         "outputs": 1,\r
2974         "x": 2422.0952796936035,\r
2975         "y": 4162.032627105713,\r
2976         "z": "652cf04d.917e78",\r
2977         "wires": [\r
2978             [\r
2979                 "81eba499.0af278",\r
2980                 "8cc5b790.718ca"\r
2981             ]\r
2982         ]\r
2983     },\r
2984     {\r
2985         "id": "8cc5b790.718ca",\r
2986         "type": "switchNode",\r
2987         "name": "switch found-network",\r
2988         "xml": "<switch test='`$found-network`'>\n",\r
2989         "comments": "",\r
2990         "outputs": 1,\r
2991         "x": 2613.523826599121,\r
2992         "y": 4192.032681465149,\r
2993         "z": "652cf04d.917e78",\r
2994         "wires": [\r
2995             [\r
2996                 "8e56c1e2.9c47b"\r
2997             ]\r
2998         ]\r
2999     },\r
3000     {\r
3001         "id": "5189f56d.e57b74",\r
3002         "type": "set",\r
3003         "name": "set found-network to true",\r
3004         "xml": "<set>\n<parameter name='found-network' value='true' />\n",\r
3005         "comments": "",\r
3006         "x": 3806.381259918213,\r
3007         "y": 4256.3181076049805,\r
3008         "z": "652cf04d.917e78",\r
3009         "wires": []\r
3010     },\r
3011     {\r
3012         "id": "8e56c1e2.9c47b",\r
3013         "type": "outcomeTrue",\r
3014         "name": "true",\r
3015         "xml": "<outcome value='true'>\n",\r
3016         "comments": "",\r
3017         "outputs": 1,\r
3018         "x": 2782.095317840576,\r
3019         "y": 4192.0326108932495,\r
3020         "z": "652cf04d.917e78",\r
3021         "wires": [\r
3022             [\r
3023                 "56545bb.806fe24"\r
3024             ]\r
3025         ]\r
3026     },\r
3027     {\r
3028         "id": "56545bb.806fe24",\r
3029         "type": "break",\r
3030         "name": "break",\r
3031         "xml": "<break>\n",\r
3032         "comments": "",\r
3033         "x": 2912.095386505127,\r
3034         "y": 4190.604004859924,\r
3035         "z": "652cf04d.917e78",\r
3036         "wires": []\r
3037     },\r
3038     {\r
3039         "id": "852f0b12.336648",\r
3040         "type": "block",\r
3041         "name": "block : atomic",\r
3042         "xml": "<block atomic=\"true\">",\r
3043         "atomic": "true",\r
3044         "outputs": 1,\r
3045         "x": 1622.3809967041016,\r
3046         "y": 4135.746905326843,\r
3047         "z": "652cf04d.917e78",\r
3048         "wires": [\r
3049             [\r
3050                 "b772b2db.6bf188",\r
3051                 "aaa6bab8.ec80f"\r
3052             ]\r
3053         ]\r
3054     },\r
3055     {\r
3056         "id": "aaa6bab8.ec80f",\r
3057         "type": "switchNode",\r
3058         "name": "switch found-network",\r
3059         "xml": "<switch test='`$found-network`'>\n",\r
3060         "comments": "",\r
3061         "outputs": 1,\r
3062         "x": 1832.3809509277344,\r
3063         "y": 4207.746788978577,\r
3064         "z": "652cf04d.917e78",\r
3065         "wires": [\r
3066             [\r
3067                 "ae15eed2.e4fa88"\r
3068             ]\r
3069         ]\r
3070     },\r
3071     {\r
3072         "id": "ae15eed2.e4fa88",\r
3073         "type": "outcomeTrue",\r
3074         "name": "true",\r
3075         "xml": "<outcome value='true'>\n",\r
3076         "comments": "",\r
3077         "outputs": 1,\r
3078         "x": 2000.9524421691895,\r
3079         "y": 4207.746718406677,\r
3080         "z": "652cf04d.917e78",\r
3081         "wires": [\r
3082             [\r
3083                 "290a5acd.b811fe"\r
3084             ]\r
3085         ]\r
3086     },\r
3087     {\r
3088         "id": "290a5acd.b811fe",\r
3089         "type": "break",\r
3090         "name": "break",\r
3091         "xml": "<break>\n",\r
3092         "comments": "",\r
3093         "x": 2130.9525108337402,\r
3094         "y": 4206.318112373352,\r
3095         "z": "652cf04d.917e78",\r
3096         "wires": []\r
3097     },\r
3098     {\r
3099         "id": "c11ff570.face3",\r
3100         "type": "set",\r
3101         "name": "set subnet data",\r
3102         "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='`$tmp.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].neutron-subnet-id`' />\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].sdnc-subnet-id'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-id`' />\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-role'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role`' />\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-name'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-name`' />\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].network-start-address'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].network-start-address`' />\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].gateway-address'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].gateway-address`' />\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].cidr-mask'\n   value='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].cidr-mask`' />\n",\r
3103         "comments": "",\r
3104         "x": 2104.6667671203613,\r
3105         "y": 4432.714490890503,\r
3106         "z": "652cf04d.917e78",\r
3107         "wires": []\r
3108     },\r
3109     {\r
3110         "id": "b2dc37a2.39945",\r
3111         "type": "switchNode",\r
3112         "name": "switch dhcp-enabled",\r
3113         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].dhcp-enabled`'>\n",\r
3114         "comments": "",\r
3115         "outputs": 1,\r
3116         "x": 2119.1905479431152,\r
3117         "y": 4485.557444572449,\r
3118         "z": "652cf04d.917e78",\r
3119         "wires": [\r
3120             [\r
3121                 "cd2523f4.0b1db8",\r
3122                 "2a325c94.48677c"\r
3123             ]\r
3124         ]\r
3125     },\r
3126     {\r
3127         "id": "cd2523f4.0b1db8",\r
3128         "type": "outcomeTrue",\r
3129         "name": "true",\r
3130         "xml": "<outcome value='true'>\n",\r
3131         "comments": "",\r
3132         "outputs": 1,\r
3133         "x": 2282.047712598528,\r
3134         "y": 4464.1288022994995,\r
3135         "z": "652cf04d.917e78",\r
3136         "wires": [\r
3137             [\r
3138                 "5385445e.1587b4"\r
3139             ]\r
3140         ]\r
3141     },\r
3142     {\r
3143         "id": "2a325c94.48677c",\r
3144         "type": "outcomeFalse",\r
3145         "name": "false",\r
3146         "xml": "<outcome value='false'>\n",\r
3147         "comments": "",\r
3148         "outputs": 1,\r
3149         "x": 2280.6190452575684,\r
3150         "y": 4509.843228340149,\r
3151         "z": "652cf04d.917e78",\r
3152         "wires": [\r
3153             [\r
3154                 "83b7359e.e55738"\r
3155             ]\r
3156         ]\r
3157     },\r
3158     {\r
3159         "id": "5385445e.1587b4",\r
3160         "type": "set",\r
3161         "name": "set dhcp-enabled to Y",\r
3162         "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].dhcp-enabled'\n   value='Y' />\n",\r
3163         "comments": "",\r
3164         "x": 2454.9049110412598,\r
3165         "y": 4462.700198173523,\r
3166         "z": "652cf04d.917e78",\r
3167         "wires": []\r
3168     },\r
3169     {\r
3170         "id": "83b7359e.e55738",\r
3171         "type": "set",\r
3172         "name": "set dhcp-enabled to N",\r
3173         "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].dhcp-enabled'\n   value='N' />\n",\r
3174         "comments": "",\r
3175         "x": 2452.047679901123,\r
3176         "y": 4509.843228340149,\r
3177         "z": "652cf04d.917e78",\r
3178         "wires": []\r
3179     },\r
3180     {\r
3181         "id": "bfb8729.d25369",\r
3182         "type": "switchNode",\r
3183         "name": "switch subnet-role",\r
3184         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role`'>\n",\r
3185         "comments": "",\r
3186         "outputs": 1,\r
3187         "x": 2119.666717529297,\r
3188         "y": 4314.605116844177,\r
3189         "z": "652cf04d.917e78",\r
3190         "wires": [\r
3191             [\r
3192                 "b3461715.a1c54"\r
3193             ]\r
3194         ]\r
3195     },\r
3196     {\r
3197         "id": "b3461715.a1c54",\r
3198         "type": "outcome",\r
3199         "name": "NULL",\r
3200         "xml": "<outcome value=''>",\r
3201         "comments": "",\r
3202         "outputs": 1,\r
3203         "x": 2286.333320617676,\r
3204         "y": 4314.604768753052,\r
3205         "z": "652cf04d.917e78",\r
3206         "wires": [\r
3207             [\r
3208                 "3b809c11.157b54"\r
3209             ]\r
3210         ]\r
3211     },\r
3212     {\r
3213         "id": "3b809c11.157b54",\r
3214         "type": "set",\r
3215         "name": "set subnet-role to NONE",\r
3216         "xml": "<set>\n<parameter name='aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role' value='NONE' />\n",\r
3217         "comments": "",\r
3218         "x": 2468.0001068115234,\r
3219         "y": 4313.93842124939,\r
3220         "z": "652cf04d.917e78",\r
3221         "wires": []\r
3222     },\r
3223     {\r
3224         "id": "1546bd44.dac763",\r
3225         "type": "switchNode",\r
3226         "name": "switch ip-version",\r
3227         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].ip-version`'>\n",\r
3228         "comments": "",\r
3229         "outputs": 1,\r
3230         "x": 2114.9050521850586,\r
3231         "y": 4379.096222877502,\r
3232         "z": "652cf04d.917e78",\r
3233         "wires": [\r
3234             [\r
3235                 "d33d7dba.02ad08",\r
3236                 "9e9034a9.798778"\r
3237             ]\r
3238         ]\r
3239     },\r
3240     {\r
3241         "id": "d33d7dba.02ad08",\r
3242         "type": "outcome",\r
3243         "name": "4",\r
3244         "xml": "<outcome value='4'>\n",\r
3245         "comments": "",\r
3246         "outputs": 1,\r
3247         "x": 2280.6191940307617,\r
3248         "y": 4360.524620056152,\r
3249         "z": "652cf04d.917e78",\r
3250         "wires": [\r
3251             [\r
3252                 "b8e9d995.95c2a8"\r
3253             ]\r
3254         ]\r
3255     },\r
3256     {\r
3257         "id": "9e9034a9.798778",\r
3258         "type": "outcome",\r
3259         "name": "6",\r
3260         "xml": "<outcome value='6'>\n",\r
3261         "comments": "",\r
3262         "outputs": 1,\r
3263         "x": 2280.619155883789,\r
3264         "y": 4401.953363418579,\r
3265         "z": "652cf04d.917e78",\r
3266         "wires": [\r
3267             [\r
3268                 "6716e11d.548a3"\r
3269             ]\r
3270         ]\r
3271     },\r
3272     {\r
3273         "id": "b8e9d995.95c2a8",\r
3274         "type": "set",\r
3275         "name": "set tmp.ip-version to ipv4",\r
3276         "xml": "<set>\n<parameter name='tmp.ip-version' value='ipv4' />\n",\r
3277         "comments": "",\r
3278         "x": 2467.7619590759277,\r
3279         "y": 4359.667547225952,\r
3280         "z": "652cf04d.917e78",\r
3281         "wires": []\r
3282     },\r
3283     {\r
3284         "id": "6716e11d.548a3",\r
3285         "type": "set",\r
3286         "name": "set tmp.ip-version to ipv6",\r
3287         "xml": "<set>\n<parameter name='tmp.ip-version' value='ipv6' />\n",\r
3288         "comments": "",\r
3289         "x": 2466.333511352539,\r
3290         "y": 4401.953365325928,\r
3291         "z": "652cf04d.917e78",\r
3292         "wires": []\r
3293     },\r
3294     {\r
3295         "id": "f73eb405.e256b8",\r
3296         "type": "switchNode",\r
3297         "name": "switch network-role",\r
3298         "xml": "<switch test='`$db.vf-network-role-mapping[$role-index].network-role`'>\n",\r
3299         "comments": "",\r
3300         "outputs": 1,\r
3301         "x": 747.3332443237305,\r
3302         "y": 4387.333273887634,\r
3303         "z": "652cf04d.917e78",\r
3304         "wires": [\r
3305             [\r
3306                 "a1e4bd7f.d5ea9",\r
3307                 "a8f001ac.33558",\r
3308                 "7a9134fc.396d14",\r
3309                 "39a7a020.ba1f58"\r
3310             ]\r
3311         ]\r
3312     },\r
3313     {\r
3314         "id": "a1e4bd7f.d5ea9",\r
3315         "type": "outcome",\r
3316         "name": "NULL",\r
3317         "xml": "<outcome value=''>",\r
3318         "comments": "",\r
3319         "outputs": 1,\r
3320         "x": 915.4285087585449,\r
3321         "y": 4285.66668510437,\r
3322         "z": "652cf04d.917e78",\r
3323         "wires": [\r
3324             [\r
3325                 "c630c62f.2e4b88"\r
3326             ]\r
3327         ]\r
3328     },\r
3329     {\r
3330         "id": "a8f001ac.33558",\r
3331         "type": "other",\r
3332         "name": "other",\r
3333         "xml": "<outcome value='Other'>\n",\r
3334         "comments": "",\r
3335         "outputs": 1,\r
3336         "x": 913.999885559082,\r
3337         "y": 4413.999873161316,\r
3338         "z": "652cf04d.917e78",\r
3339         "wires": [\r
3340             [\r
3341                 "febef76b.d8c79"\r
3342             ]\r
3343         ]\r
3344     },\r
3345     {\r
3346         "id": "c630c62f.2e4b88",\r
3347         "type": "block",\r
3348         "name": "block",\r
3349         "xml": "<block>\n",\r
3350         "atomic": "false",\r
3351         "comments": "",\r
3352         "outputs": 1,\r
3353         "x": 1052.8095169067383,\r
3354         "y": 4325.42826461792,\r
3355         "z": "652cf04d.917e78",\r
3356         "wires": [\r
3357             []\r
3358         ]\r
3359     },\r
3360     {\r
3361         "id": "f1e14dbb.a2c47",\r
3362         "type": "get-resource",\r
3363         "name": "get-resource VNF_RELATED_NETWORK_ROLE",\r
3364         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VNF_RELATED_NETWORK_ROLE where vnf_customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid\n    and network_role = $db.vf-network-role-mapping[$role-index].network-role'\n  pfx='db.vnf-related-network-role[]'>\n\n",\r
3365         "comments": "",\r
3366         "outputs": 1,\r
3367         "x": 1409.333339691162,\r
3368         "y": 4717.079788208008,\r
3369         "z": "652cf04d.917e78",\r
3370         "wires": [\r
3371             [\r
3372                 "3772719.a8f170e",\r
3373                 "3270a935.e0fa9e"\r
3374             ]\r
3375         ]\r
3376     },\r
3377     {\r
3378         "id": "3772719.a8f170e",\r
3379         "type": "failure",\r
3380         "name": "failure",\r
3381         "xml": "<outcome value='failure'>\n",\r
3382         "comments": "",\r
3383         "outputs": 1,\r
3384         "x": 1678.0000038146973,\r
3385         "y": 4547.746629714966,\r
3386         "z": "652cf04d.917e78",\r
3387         "wires": [\r
3388             [\r
3389                 "aac9396.609d348"\r
3390             ]\r
3391         ]\r
3392     },\r
3393     {\r
3394         "id": "3270a935.e0fa9e",\r
3395         "type": "success",\r
3396         "name": "success",\r
3397         "xml": "<outcome value='success'>\n",\r
3398         "comments": "",\r
3399         "outputs": 1,\r
3400         "x": 1681.0000343322754,\r
3401         "y": 4910.41314125061,\r
3402         "z": "652cf04d.917e78",\r
3403         "wires": [\r
3404             [\r
3405                 "bec6dac4.be5be"\r
3406             ]\r
3407         ]\r
3408     },\r
3409     {\r
3410         "id": "bec6dac4.be5be",\r
3411         "type": "block",\r
3412         "name": "block : atomic",\r
3413         "xml": "<block atomic=\"true\">",\r
3414         "atomic": "true",\r
3415         "outputs": 1,\r
3416         "x": 1847.333339691162,\r
3417         "y": 4908.412796020508,\r
3418         "z": "652cf04d.917e78",\r
3419         "wires": [\r
3420             [\r
3421                 "70df31da.fe5458",\r
3422                 "10dd5c97.f83c3b",\r
3423                 "93b3be63.c398e",\r
3424                 "8d286d93.2f6ff",\r
3425                 "ad5b3ac9.e19098",\r
3426                 "8ca661f6.f5d5f8",\r
3427                 "d71dcbd8.8dc7f",\r
3428                 "32376f69.700f08",\r
3429                 "96681242.82e6c"\r
3430             ]\r
3431         ]\r
3432     },\r
3433     {\r
3434         "id": "29d3dc98.16bcd4",\r
3435         "type": "outcome",\r
3436         "name": "service-instance",\r
3437         "xml": "<outcome value='service-instance'>\n",\r
3438         "comments": "",\r
3439         "outputs": 1,\r
3440         "x": 2785.618808746338,\r
3441         "y": 4080.651467323303,\r
3442         "z": "652cf04d.917e78",\r
3443         "wires": [\r
3444             [\r
3445                 "4ccf1527.e6d86c"\r
3446             ]\r
3447         ]\r
3448     },\r
3449     {\r
3450         "id": "4ccf1527.e6d86c",\r
3451         "type": "for",\r
3452         "name": "for each relationship data",\r
3453         "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",\r
3454         "comments": "",\r
3455         "outputs": 1,\r
3456         "x": 3011.0946464538574,\r
3457         "y": 4081.0800971984863,\r
3458         "z": "652cf04d.917e78",\r
3459         "wires": [\r
3460             [\r
3461                 "7aafe2ec.322514"\r
3462             ]\r
3463         ]\r
3464     },\r
3465     {\r
3466         "id": "7aafe2ec.322514",\r
3467         "type": "switchNode",\r
3468         "name": "switch relationship-key",\r
3469         "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",\r
3470         "comments": "",\r
3471         "outputs": 1,\r
3472         "x": 3246.3332176208496,\r
3473         "y": 4079.413528442383,\r
3474         "z": "652cf04d.917e78",\r
3475         "wires": [\r
3476             [\r
3477                 "9d6550c4.3622f8"\r
3478             ]\r
3479         ]\r
3480     },\r
3481     {\r
3482         "id": "9d6550c4.3622f8",\r
3483         "type": "outcome",\r
3484         "name": "service-instance.service-instance-id",\r
3485         "xml": "<outcome value='service-instance.service-instance-id'>\n",\r
3486         "comments": "",\r
3487         "outputs": 1,\r
3488         "x": 3512.761577606201,\r
3489         "y": 4079.413592338562,\r
3490         "z": "652cf04d.917e78",\r
3491         "wires": [\r
3492             [\r
3493                 "7003f69f.877238"\r
3494             ]\r
3495         ]\r
3496     },\r
3497     {\r
3498         "id": "7003f69f.877238",\r
3499         "type": "set",\r
3500         "name": "set network-service-instance-id",\r
3501         "xml": "<set>\n<parameter name='network-service-instance-id'\n  value='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].relationship-data[$db-data-index].relationship-value`' />\n",\r
3502         "comments": "",\r
3503         "x": 3806.3333625793457,\r
3504         "y": 4077.747007369995,\r
3505         "z": "652cf04d.917e78",\r
3506         "wires": []\r
3507     },\r
3508     {\r
3509         "id": "70df31da.fe5458",\r
3510         "type": "execute",\r
3511         "name": "generate network-topology-identifier-structure url",\r
3512         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.network-topology-identifier-structure`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$network-service-instance-id`\"/>\n",\r
3513         "comments": "",\r
3514         "outputs": 1,\r
3515         "x": 2166.6665077209473,\r
3516         "y": 4604.080429077148,\r
3517         "z": "652cf04d.917e78",\r
3518         "wires": [\r
3519             []\r
3520         ]\r
3521     },\r
3522     {\r
3523         "id": "93b3be63.c398e",\r
3524         "type": "execute",\r
3525         "name": "execute RestApiCallNode - get network-topology-identifier-structure",\r
3526         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ntis-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ntis\" />\n\n",\r
3527         "comments": "",\r
3528         "outputs": 1,\r
3529         "x": 2223.666301727295,\r
3530         "y": 4707.509169578552,\r
3531         "z": "652cf04d.917e78",\r
3532         "wires": [\r
3533             [\r
3534                 "ad3ea158.a938e8"\r
3535             ]\r
3536         ]\r
3537     },\r
3538     {\r
3539         "id": "10dd5c97.f83c3b",\r
3540         "type": "execute",\r
3541         "name": "generate network-topology-identifier-structure url (part 2)",\r
3542         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.part`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ntis-url\"/>\n    <parameter name=\"target\" value=\"{network-id}\"/>\n    <parameter name=\"replacement\" value=\"`$l3-network-id`\"/>\n",\r
3543         "comments": "",\r
3544         "outputs": 1,\r
3545         "x": 2188.333095550537,\r
3546         "y": 4647.413772583008,\r
3547         "z": "652cf04d.917e78",\r
3548         "wires": [\r
3549             []\r
3550         ]\r
3551     },\r
3552     {\r
3553         "id": "aac69396.6ddb18",\r
3554         "type": "execute",\r
3555         "name": "printContext",\r
3556         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vnfa.log' />\n",\r
3557         "comments": "",\r
3558         "outputs": 1,\r
3559         "x": 493.6667137145996,\r
3560         "y": 4554.079788208008,\r
3561         "z": "652cf04d.917e78",\r
3562         "wires": [\r
3563             []\r
3564         ]\r
3565     },\r
3566     {\r
3567         "id": "ad3ea158.a938e8",\r
3568         "type": "failure",\r
3569         "name": "failure",\r
3570         "xml": "<outcome value='failure'>\n",\r
3571         "comments": "",\r
3572         "outputs": 1,\r
3573         "x": 2552.775489807129,\r
3574         "y": 4707.259647369385,\r
3575         "z": "652cf04d.917e78",\r
3576         "wires": [\r
3577             [\r
3578                 "3ecadd51.2a79da"\r
3579             ]\r
3580         ]\r
3581     },\r
3582     {\r
3583         "id": "8d286d93.2f6ff",\r
3584         "type": "set",\r
3585         "name": "set is-trunked and segmentation-id in vnf-network",\r
3586         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].is-trunked'\n    value='`$mdsal-ntis.network-topology-identifier-structure.is-trunked`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].segmentation-id'\n    value='`$mdsal-ntis.network-topology-identifier-structure.segmentation-id`' />\n    ",\r
3587         "comments": "",\r
3588         "x": 2166.333324432373,\r
3589         "y": 4767.746793746948,\r
3590         "z": "652cf04d.917e78",\r
3591         "wires": []\r
3592     },\r
3593     {\r
3594         "id": "8ca661f6.f5d5f8",\r
3595         "type": "save",\r
3596         "name": "custom query: get owning entity",\r
3597         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n      resource=\"custom-query\"\n      key=\"format = 'resource'\"\n      force=\"true\"\n      local-only=\"false\"\n      pfx=\"tmp.AnAI-data.oe\">\n<parameter name=\"start[0]\" value=\"`'nodes/service-instances/service-instance?service-instance-id=' + $network-service-instance-id `\" />\n<parameter name=\"start_length\" value=\"1\" />\n<parameter name=\"query\" value=\"/query/owning-entity-fromService-instance\" /> \n",\r
3598         "comments": "",\r
3599         "outputs": 1,\r
3600         "x": 2107.3332176208496,\r
3601         "y": 4843.080276489258,\r
3602         "z": "652cf04d.917e78",\r
3603         "wires": [\r
3604             [\r
3605                 "cb08c447.df52e8",\r
3606                 "3df62a76.46167e"\r
3607             ]\r
3608         ]\r
3609     },\r
3610     {\r
3611         "id": "cb08c447.df52e8",\r
3612         "type": "failure",\r
3613         "name": "failure",\r
3614         "xml": "<outcome value='failure'>\n",\r
3615         "comments": "",\r
3616         "outputs": 1,\r
3617         "x": 2317.5712661743164,\r
3618         "y": 4821.74663066864,\r
3619         "z": "652cf04d.917e78",\r
3620         "wires": [\r
3621             [\r
3622                 "bd008d18.af7e28"\r
3623             ]\r
3624         ]\r
3625     },\r
3626     {\r
3627         "id": "3df62a76.46167e",\r
3628         "type": "not-found",\r
3629         "name": "not-found",\r
3630         "xml": "<outcome value='not-found'>\n",\r
3631         "comments": "",\r
3632         "outputs": 1,\r
3633         "x": 2324.7141609191895,\r
3634         "y": 4867.460855484009,\r
3635         "z": "652cf04d.917e78",\r
3636         "wires": [\r
3637             [\r
3638                 "e973673a.4d16f8"\r
3639             ]\r
3640         ]\r
3641     },\r
3642     {\r
3643         "id": "57855376.396fb4",\r
3644         "type": "save",\r
3645         "name": "custom query: get tenant network",\r
3646         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n      resource=\"custom-query\"\n      key=\"format = 'resource'\"\n      force=\"true\"\n      local-only=\"false\"\n      pfx=\"tmp.AnAI-data.get-networks\">\n<parameter name=\"start[0]\" value=\"`'/business/owning-entities/owning-entity/' + $tmp.AnAI-data.oe.results[0].owning-entity.owning-entity-id `\" />\n<parameter name=\"start_length\" value=\"1\" />\n<parameter name=\"query\" value=\"`'/query/getNetworks?networkRole=' + $db.vnf-related-network-role[$rel-network-role-index].related-network-role\n  + '&amp;cloudRegionId=' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region`\" /> \n",\r
3647         "comments": "",\r
3648         "outputs": 1,\r
3649         "x": 2557.0000343322754,\r
3650         "y": 5016.080413818359,\r
3651         "z": "652cf04d.917e78",\r
3652         "wires": [\r
3653             [\r
3654                 "43d389bc.8dd5c",\r
3655                 "ba0b7d99.7e8938"\r
3656             ]\r
3657         ]\r
3658     },\r
3659     {\r
3660         "id": "43d389bc.8dd5c",\r
3661         "type": "failure",\r
3662         "name": "failure",\r
3663         "xml": "<outcome value='failure'>\n",\r
3664         "comments": "",\r
3665         "outputs": 1,\r
3666         "x": 2770.238082885742,\r
3667         "y": 4994.746912956238,\r
3668         "z": "652cf04d.917e78",\r
3669         "wires": [\r
3670             [\r
3671                 "1b6474fa.c07123"\r
3672             ]\r
3673         ]\r
3674     },\r
3675     {\r
3676         "id": "ba0b7d99.7e8938",\r
3677         "type": "not-found",\r
3678         "name": "not-found",\r
3679         "xml": "<outcome value='not-found'>\n",\r
3680         "comments": "",\r
3681         "outputs": 1,\r
3682         "x": 2777.3809776306152,\r
3683         "y": 5040.461137771606,\r
3684         "z": "652cf04d.917e78",\r
3685         "wires": [\r
3686             [\r
3687                 "10aba7ed.de916"\r
3688             ]\r
3689         ]\r
3690     },\r
3691     {\r
3692         "id": "17456206.9d075e",\r
3693         "type": "for",\r
3694         "name": "for each relationship",\r
3695         "xml": "<for index='rel-index' start='0' end='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship_length`' >\n",\r
3696         "comments": "",\r
3697         "outputs": 1,\r
3698         "x": 2524.0000343322754,\r
3699         "y": 5142.0805587768555,\r
3700         "z": "652cf04d.917e78",\r
3701         "wires": [\r
3702             [\r
3703                 "ce79340.35758d"\r
3704             ]\r
3705         ]\r
3706     },\r
3707     {\r
3708         "id": "ce79340.35758d",\r
3709         "type": "switchNode",\r
3710         "name": "switch related-to",\r
3711         "xml": "<switch test='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship[$rel-index].related-to`'>\n",\r
3712         "comments": "",\r
3713         "outputs": 1,\r
3714         "x": 2722.0000343322754,\r
3715         "y": 5142.0805587768555,\r
3716         "z": "652cf04d.917e78",\r
3717         "wires": [\r
3718             [\r
3719                 "fa4ca619.db292"\r
3720             ]\r
3721         ]\r
3722     },\r
3723     {\r
3724         "id": "fa4ca619.db292",\r
3725         "type": "outcome",\r
3726         "name": "vlan-tag",\r
3727         "xml": "<outcome value='vlan-tag'>\n",\r
3728         "comments": "",\r
3729         "outputs": 1,\r
3730         "x": 2892.0000343322754,\r
3731         "y": 5142.0805587768555,\r
3732         "z": "652cf04d.917e78",\r
3733         "wires": [\r
3734             [\r
3735                 "4c7222a4.15e9ac"\r
3736             ]\r
3737         ]\r
3738     },\r
3739     {\r
3740         "id": "4c7222a4.15e9ac",\r
3741         "type": "block",\r
3742         "name": "block : atomic",\r
3743         "xml": "<block atomic=\"true\">",\r
3744         "atomic": "true",\r
3745         "outputs": 1,\r
3746         "x": 3060.0000343322754,\r
3747         "y": 5140.0805587768555,\r
3748         "z": "652cf04d.917e78",\r
3749         "wires": [\r
3750             [\r
3751                 "43474b1d.d7ef7c",\r
3752                 "2b8c993e.dd7eb6",\r
3753                 "81bc4129.bb1c1"\r
3754             ]\r
3755         ]\r
3756     },\r
3757     {\r
3758         "id": "43474b1d.d7ef7c",\r
3759         "type": "set",\r
3760         "name": "set vlan-tag-id",\r
3761         "xml": "<set>\n<parameter name='vlan-tag-id' value='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value`' />\n",\r
3762         "comments": "",\r
3763         "x": 3236.0000343322754,\r
3764         "y": 5100.0805587768555,\r
3765         "z": "652cf04d.917e78",\r
3766         "wires": []\r
3767     },\r
3768     {\r
3769         "id": "2b8c993e.dd7eb6",\r
3770         "type": "get-resource",\r
3771         "name": "get-resource vlan-tag",\r
3772         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"vlan-tag\" \n\t\tkey=\"vlan-tag.vlan-tag-id = $vlan-tag-id\"\n        pfx='aai.vlan-tag' local-only='false'\n>\n",\r
3773         "comments": "",\r
3774         "outputs": 1,\r
3775         "x": 3258.0000343322754,\r
3776         "y": 5158.0805587768555,\r
3777         "z": "652cf04d.917e78",\r
3778         "wires": [\r
3779             [\r
3780                 "799d4f7d.0c1778",\r
3781                 "6628ce12.4c6d38"\r
3782             ]\r
3783         ]\r
3784     },\r
3785     {\r
3786         "id": "799d4f7d.0c1778",\r
3787         "type": "failure",\r
3788         "name": "failure",\r
3789         "xml": "<outcome value='failure'>\n",\r
3790         "comments": "",\r
3791         "outputs": 1,\r
3792         "x": 3438.0476417541504,\r
3793         "y": 5140.2236251831055,\r
3794         "z": "652cf04d.917e78",\r
3795         "wires": [\r
3796             [\r
3797                 "6c186302.6806a4"\r
3798             ]\r
3799         ]\r
3800     },\r
3801     {\r
3802         "id": "ad5b3ac9.e19098",\r
3803         "type": "for",\r
3804         "name": "for each related network role",\r
3805         "xml": "<for index='rel-network-role-index' start='0' end='`$db.vnf-related-network-role_length`' >\n",\r
3806         "comments": "",\r
3807         "outputs": 1,\r
3808         "x": 2094.9999656677246,\r
3809         "y": 5072.414123535156,\r
3810         "z": "652cf04d.917e78",\r
3811         "wires": [\r
3812             [\r
3813                 "742a4410.9dd994"\r
3814             ]\r
3815         ]\r
3816     },\r
3817     {\r
3818         "id": "742a4410.9dd994",\r
3819         "type": "block",\r
3820         "name": "block : atomic",\r
3821         "xml": "<block atomic=\"true\">",\r
3822         "atomic": "true",\r
3823         "outputs": 1,\r
3824         "x": 2299.9999656677246,\r
3825         "y": 5073.747268676758,\r
3826         "z": "652cf04d.917e78",\r
3827         "wires": [\r
3828             [\r
3829                 "57855376.396fb4",\r
3830                 "17456206.9d075e",\r
3831                 "7f19e15e.2c2ee8"\r
3832             ]\r
3833         ]\r
3834     },\r
3835     {\r
3836         "id": "32376f69.700f08",\r
3837         "type": "switchNode",\r
3838         "name": "switch rn-index",\r
3839         "xml": "<switch test='`$rn-index`'>\n",\r
3840         "comments": "",\r
3841         "outputs": 1,\r
3842         "x": 2055.9999656677246,\r
3843         "y": 4962.080276489258,\r
3844         "z": "652cf04d.917e78",\r
3845         "wires": [\r
3846             [\r
3847                 "681bd084.d720e8"\r
3848             ]\r
3849         ]\r
3850     },\r
3851     {\r
3852         "id": "d71dcbd8.8dc7f",\r
3853         "type": "set",\r
3854         "name": "set rn-index to related network length",\r
3855         "xml": "<set>\n<parameter name='rn-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network_length`' />\n",\r
3856         "comments": "",\r
3857         "x": 2124.6665534973145,\r
3858         "y": 4913.080129623413,\r
3859         "z": "652cf04d.917e78",\r
3860         "wires": []\r
3861     },\r
3862     {\r
3863         "id": "681bd084.d720e8",\r
3864         "type": "outcome",\r
3865         "name": "NULL",\r
3866         "xml": "<outcome value=''>",\r
3867         "comments": "",\r
3868         "outputs": 1,\r
3869         "x": 2219.9999656677246,\r
3870         "y": 4962.080276489258,\r
3871         "z": "652cf04d.917e78",\r
3872         "wires": [\r
3873             [\r
3874                 "a757207e.80691"\r
3875             ]\r
3876         ]\r
3877     },\r
3878     {\r
3879         "id": "a757207e.80691",\r
3880         "type": "set",\r
3881         "name": "set rn-index to 0",\r
3882         "xml": "<set>\n<parameter name='rn-index' value='0' />\n",\r
3883         "comments": "",\r
3884         "x": 2379.9999656677246,\r
3885         "y": 4962.080276489258,\r
3886         "z": "652cf04d.917e78",\r
3887         "wires": []\r
3888     },\r
3889     {\r
3890         "id": "7f19e15e.2c2ee8",\r
3891         "type": "set",\r
3892         "name": "set related-network data",\r
3893         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].network-id'\n  value='`$tmp.AnAI-data.get-networks.results[0].l3-network.network-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].network-role'\n  value='`$tmp.AnAI-data.get-networks.results[0].l3-network.network-role`' />\n",\r
3894         "comments": "",\r
3895         "x": 2527.6666221618652,\r
3896         "y": 5072.747100830078,\r
3897         "z": "652cf04d.917e78",\r
3898         "wires": []\r
3899     },\r
3900     {\r
3901         "id": "96681242.82e6c",\r
3902         "type": "set",\r
3903         "name": "set new related network length",\r
3904         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network_length'\n  value='`$rn-index + 1`' />\n",\r
3905         "comments": "",\r
3906         "x": 2090.0000343322754,\r
3907         "y": 5216.080413818359,\r
3908         "z": "652cf04d.917e78",\r
3909         "wires": []\r
3910     },\r
3911     {\r
3912         "id": "6628ce12.4c6d38",\r
3913         "type": "success",\r
3914         "name": "success",\r
3915         "xml": "<outcome value='success'>\n",\r
3916         "comments": "",\r
3917         "outputs": 1,\r
3918         "x": 3440.0000343322754,\r
3919         "y": 5188.080413818359,\r
3920         "z": "652cf04d.917e78",\r
3921         "wires": [\r
3922             [\r
3923                 "ee974e83.057d3"\r
3924             ]\r
3925         ]\r
3926     },\r
3927     {\r
3928         "id": "ee974e83.057d3",\r
3929         "type": "set",\r
3930         "name": "set related-network data",\r
3931         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.vlan-interface'\n  value='`$aai.vlan-tag.vlan-tag-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.upper-tag-id'\n  value='`$aai.vlan-tag.vlan-id-outer`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.lower-tag-id'\n  value='`$aai.vlan-tag.vlan-id-inner`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$network-index].related-networks.related-network[$rn-index].vlan-tags.is-private'\n  value='`$aai.vlan-tag.is-private`' />\n",\r
3932         "comments": "",\r
3933         "x": 3632.0000343322754,\r
3934         "y": 5188.080413818359,\r
3935         "z": "652cf04d.917e78",\r
3936         "wires": []\r
3937     },\r
3938     {\r
3939         "id": "81bc4129.bb1c1",\r
3940         "type": "break",\r
3941         "name": "break",\r
3942         "xml": "<break>\n",\r
3943         "comments": "",\r
3944         "x": 3210.0000343322754,\r
3945         "y": 5226.080413818359,\r
3946         "z": "652cf04d.917e78",\r
3947         "wires": []\r
3948     },\r
3949     {\r
3950         "id": "50d3999e.8bb34",\r
3951         "type": "comment",\r
3952         "name": "temporary data issue: also ignore string \"null\" and \"NULL\"",\r
3953         "info": "",\r
3954         "comments": "",\r
3955         "x": 886.3333473205566,\r
3956         "y": 4245.842397689819,\r
3957         "z": "652cf04d.917e78",\r
3958         "wires": []\r
3959     },\r
3960     {\r
3961         "id": "7a9134fc.396d14",\r
3962         "type": "outcome",\r
3963         "name": "null",\r
3964         "xml": "<outcome value='null'>\n",\r
3965         "comments": "",\r
3966         "outputs": 1,\r
3967         "x": 913.4761695861816,\r
3968         "y": 4328.69953918457,\r
3969         "z": "652cf04d.917e78",\r
3970         "wires": [\r
3971             [\r
3972                 "c630c62f.2e4b88"\r
3973             ]\r
3974         ]\r
3975     },\r
3976     {\r
3977         "id": "39a7a020.ba1f58",\r
3978         "type": "outcome",\r
3979         "name": "NULL",\r
3980         "xml": "<outcome value='NULL'>",\r
3981         "comments": "",\r
3982         "outputs": 1,\r
3983         "x": 913.4761791229248,\r
3984         "y": 4371.556611061096,\r
3985         "z": "652cf04d.917e78",\r
3986         "wires": [\r
3987             [\r
3988                 "c630c62f.2e4b88"\r
3989             ]\r
3990         ]\r
3991     },\r
3992     {\r
3993         "id": "3f69e8e3.cf5be8",\r
3994         "type": "switchNode",\r
3995         "name": "switch input cloud-owner",\r
3996         "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.cloud-owner`'>\n",\r
3997         "comments": "",\r
3998         "outputs": 1,\r
3999         "x": 563.0000381469727,\r
4000         "y": 419.4136428833008,\r
4001         "z": "652cf04d.917e78",\r
4002         "wires": [\r
4003             [\r
4004                 "f596a79e.8e433",\r
4005                 "4667755e.d66424"\r
4006             ]\r
4007         ]\r
4008     },\r
4009     {\r
4010         "id": "f596a79e.8e433",\r
4011         "type": "other",\r
4012         "name": "NULL",\r
4013         "xml": "<outcome value=''>\n",\r
4014         "comments": "",\r
4015         "outputs": 1,\r
4016         "x": 746.3334121704102,\r
4017         "y": 389.413631439209,\r
4018         "z": "652cf04d.917e78",\r
4019         "wires": [\r
4020             [\r
4021                 "a299c564.3dfdb8"\r
4022             ]\r
4023         ]\r
4024     },\r
4025     {\r
4026         "id": "4667755e.d66424",\r
4027         "type": "other",\r
4028         "name": "other",\r
4029         "xml": "<outcome value='Other'>\n",\r
4030         "comments": "",\r
4031         "outputs": 1,\r
4032         "x": 746.0953178405762,\r
4033         "y": 430.3661251068115,\r
4034         "z": "652cf04d.917e78",\r
4035         "wires": [\r
4036             [\r
4037                 "ee8be88f.ffc97"\r
4038             ]\r
4039         ]\r
4040     },\r
4041     {\r
4042         "id": "a299c564.3dfdb8",\r
4043         "type": "block",\r
4044         "name": "block",\r
4045         "xml": "<block>\n",\r
4046         "atomic": "false",\r
4047         "comments": "",\r
4048         "outputs": 1,\r
4049         "x": 881.333366394043,\r
4050         "y": 387.7469711303711,\r
4051         "z": "652cf04d.917e78",\r
4052         "wires": [\r
4053             []\r
4054         ]\r
4055     },\r
4056     {\r
4057         "id": "ee8be88f.ffc97",\r
4058         "type": "set",\r
4059         "name": "set prop.cloud-region.cloud-owner",\r
4060         "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$vnf-topology-operation-input.vnf-request-input.cloud-owner`' />\n",\r
4061         "comments": "",\r
4062         "x": 963.0000228881836,\r
4063         "y": 429.41365242004395,\r
4064         "z": "652cf04d.917e78",\r
4065         "wires": []\r
4066     },\r
4067     {\r
4068         "id": "819ca24a.f2412",\r
4069         "type": "call",\r
4070         "name": "call self-serve-vnf-forking-logic",\r
4071         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-forking-logic' mode='sync' >\n",\r
4072         "comments": "",\r
4073         "outputs": 1,\r
4074         "x": 580.8571624755859,\r
4075         "y": 740.2142810821533,\r
4076         "z": "652cf04d.917e78",\r
4077         "wires": [\r
4078             []\r
4079         ]\r
4080     },\r
4081     {\r
4082         "id": "4ce50465.9ccc0c",\r
4083         "type": "switchNode",\r
4084         "name": "switch ss.self-serve-flag",\r
4085         "xml": "<switch test=\"`$ss.self-serve-flag`\">\n",\r
4086         "comments": "",\r
4087         "outputs": 1,\r
4088         "x": 560.9998779296875,\r
4089         "y": 905.7857685089111,\r
4090         "z": "652cf04d.917e78",\r
4091         "wires": [\r
4092             [\r
4093                 "b05ed7a0.f4e1f8",\r
4094                 "8e5a3910.2353a"\r
4095             ]\r
4096         ]\r
4097     },\r
4098     {\r
4099         "id": "b05ed7a0.f4e1f8",\r
4100         "type": "outcomeFalse",\r
4101         "name": "false",\r
4102         "xml": "<outcome value='false'>\n",\r
4103         "comments": "",\r
4104         "outputs": 1,\r
4105         "x": 772.7140350341797,\r
4106         "y": 979.0710525512695,\r
4107         "z": "652cf04d.917e78",\r
4108         "wires": [\r
4109             [\r
4110                 "73e62b5e.2d2d24"\r
4111             ]\r
4112         ]\r
4113     },\r
4114     {\r
4115         "id": "8e5a3910.2353a",\r
4116         "type": "outcomeTrue",\r
4117         "name": "true",\r
4118         "xml": "<outcome value='true'>\n",\r
4119         "comments": "",\r
4120         "outputs": 1,\r
4121         "x": 772.2855529785156,\r
4122         "y": 842.6428861618042,\r
4123         "z": "652cf04d.917e78",\r
4124         "wires": [\r
4125             [\r
4126                 "7c56b4f9.aca0c4"\r
4127             ]\r
4128         ]\r
4129     },\r
4130     {\r
4131         "id": "2d48d63d.1a5b82",\r
4132         "type": "block",\r
4133         "name": "block : atomic",\r
4134         "xml": "<block atomic=\"true\">",\r
4135         "atomic": "true",\r
4136         "outputs": 1,\r
4137         "x": 952.4444923400879,\r
4138         "y": 541.3888673782349,\r
4139         "z": "652cf04d.917e78",\r
4140         "wires": [\r
4141             [\r
4142                 "d6025c47.4904b",\r
4143                 "73468fad.c71778"\r
4144             ]\r
4145         ]\r
4146     },\r
4147     {\r
4148         "id": "17544ab9.984c5d",\r
4149         "type": "block",\r
4150         "name": "block : atomic",\r
4151         "xml": "<block atomic=\"true\">",\r
4152         "atomic": "true",\r
4153         "outputs": 1,\r
4154         "x": 952.4444923400879,\r
4155         "y": 589.9603090286255,\r
4156         "z": "652cf04d.917e78",\r
4157         "wires": [\r
4158             [\r
4159                 "c6456146.0f2668",\r
4160                 "73468fad.c71778"\r
4161             ]\r
4162         ]\r
4163     },\r
4164     {\r
4165         "id": "9a95814.c6dd98",\r
4166         "type": "block",\r
4167         "name": "block : atomic",\r
4168         "xml": "<block atomic=\"true\">",\r
4169         "atomic": "true",\r
4170         "outputs": 1,\r
4171         "x": 955.3016090393066,\r
4172         "y": 634.2460145950317,\r
4173         "z": "652cf04d.917e78",\r
4174         "wires": [\r
4175             [\r
4176                 "557c512a.eddd3",\r
4177                 "73468fad.c71778"\r
4178             ]\r
4179         ]\r
4180     },\r
4181     {\r
4182         "id": "d6025c47.4904b",\r
4183         "type": "configure",\r
4184         "name": "set error-message",\r
4185         "xml": "<set>\n<parameter name=\"error-message\" value=\"If svc-action is 'assign' then request-action must be 'CreateVnfInstance'\" />\n",\r
4186         "comments": "",\r
4187         "outputs": 1,\r
4188         "x": 1188.8730735778809,\r
4189         "y": 541.3888578414917,\r
4190         "z": "652cf04d.917e78",\r
4191         "wires": [\r
4192             []\r
4193         ]\r
4194     },\r
4195     {\r
4196         "id": "c6456146.0f2668",\r
4197         "type": "configure",\r
4198         "name": "set error-message",\r
4199         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_MODEL table\" />\n",\r
4200         "comments": "",\r
4201         "outputs": 1,\r
4202         "x": 1187.4444847106934,\r
4203         "y": 590.1031522750854,\r
4204         "z": "652cf04d.917e78",\r
4205         "wires": [\r
4206             []\r
4207         ]\r
4208     },\r
4209     {\r
4210         "id": "557c512a.eddd3",\r
4211         "type": "configure",\r
4212         "name": "set error-message",\r
4213         "xml": "<set>\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",\r
4214         "comments": "",\r
4215         "outputs": 1,\r
4216         "x": 1187.4444847106934,\r
4217         "y": 634.2460050582886,\r
4218         "z": "652cf04d.917e78",\r
4219         "wires": [\r
4220             []\r
4221         ]\r
4222     },\r
4223     {\r
4224         "id": "75930576.a93ef4",\r
4225         "type": "call",\r
4226         "name": "call self-serve-vnf-assign",\r
4227         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-assign' mode='sync' >\n",\r
4228         "comments": "",\r
4229         "outputs": 1,\r
4230         "x": 1223.3211402893066,\r
4231         "y": 740.1072311401367,\r
4232         "z": "652cf04d.917e78",\r
4233         "wires": [\r
4234             [\r
4235                 "8d844173.607528"\r
4236             ]\r
4237         ]\r
4238     },\r
4239     {\r
4240         "id": "b4a1df9a.51e5b8",\r
4241         "type": "comment",\r
4242         "name": "SELF-SERVE FORK",\r
4243         "info": "",\r
4244         "comments": "",\r
4245         "x": 942.7618942260742,\r
4246         "y": 793.5119113922119,\r
4247         "z": "652cf04d.917e78",\r
4248         "wires": []\r
4249     },\r
4250     {\r
4251         "id": "8d844173.607528",\r
4252         "type": "failure",\r
4253         "name": "failure",\r
4254         "xml": "<outcome value='failure'>\n",\r
4255         "comments": "",\r
4256         "outputs": 1,\r
4257         "x": 1428.6187210083008,\r
4258         "y": 739.5952625274658,\r
4259         "z": "652cf04d.917e78",\r
4260         "wires": [\r
4261             [\r
4262                 "a0be875f.ade8a"\r
4263             ]\r
4264         ]\r
4265     },\r
4266     {\r
4267         "id": "9f565fa.4dc342",\r
4268         "type": "returnSuccess",\r
4269         "name": "return success",\r
4270         "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",\r
4271         "comments": "",\r
4272         "x": 1198.5635070800781,\r
4273         "y": 988.789656996727,\r
4274         "z": "652cf04d.917e78",\r
4275         "wires": []\r
4276     },\r
4277     {\r
4278         "id": "be242702.8a5c",\r
4279         "type": "set",\r
4280         "name": "set vnf-level-oper-status to PendingCreate",\r
4281         "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",\r
4282         "comments": "",\r
4283         "x": 1286.432487487793,\r
4284         "y": 791.599271774292,\r
4285         "z": "652cf04d.917e78",\r
4286         "wires": []\r
4287     },\r
4288     {\r
4289         "id": "b92958a4.6d80e",\r
4290         "type": "execute",\r
4291         "name": "printContext",\r
4292         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnfend.log' />\n",\r
4293         "comments": "",\r
4294         "outputs": 1,\r
4295         "x": 1185.6348037719727,\r
4296         "y": 842.0390481948853,\r
4297         "z": "652cf04d.917e78",\r
4298         "wires": [\r
4299             []\r
4300         ]\r
4301     },\r
4302     {\r
4303         "id": "7c56b4f9.aca0c4",\r
4304         "type": "block",\r
4305         "name": "block : atomic",\r
4306         "xml": "<block atomic=\"true\">",\r
4307         "atomic": "true",\r
4308         "outputs": 1,\r
4309         "x": 962.8727645874023,\r
4310         "y": 842.4999408721924,\r
4311         "z": "652cf04d.917e78",\r
4312         "wires": [\r
4313             [\r
4314                 "75930576.a93ef4",\r
4315                 "be242702.8a5c",\r
4316                 "b92958a4.6d80e",\r
4317                 "9f565fa.4dc342",\r
4318                 "d8dc3738.9ff7d",\r
4319                 "61c39fe5.7ecd2"\r
4320             ]\r
4321         ]\r
4322     },\r
4323     {\r
4324         "id": "73468fad.c71778",\r
4325         "type": "block",\r
4326         "name": "block : atomic",\r
4327         "xml": "<block atomic='true'>",\r
4328         "atomic": "true",\r
4329         "comments": "",\r
4330         "outputs": 1,\r
4331         "x": 1804.3176345825195,\r
4332         "y": 819.2462577819824,\r
4333         "z": "652cf04d.917e78",\r
4334         "wires": [\r
4335             [\r
4336                 "6ffa4d06.cd8f6c",\r
4337                 "ce39ee80.3e9ff"\r
4338             ]\r
4339         ]\r
4340     },\r
4341     {\r
4342         "id": "a0be875f.ade8a",\r
4343         "type": "block",\r
4344         "name": "block : atomic",\r
4345         "xml": "<block atomic=\"true\">",\r
4346         "atomic": "true",\r
4347         "outputs": 1,\r
4348         "x": 1604.635009765625,\r
4349         "y": 739.785698890686,\r
4350         "z": "652cf04d.917e78",\r
4351         "wires": [\r
4352             [\r
4353                 "62341ef1.f30f5",\r
4354                 "73468fad.c71778"\r
4355             ]\r
4356         ]\r
4357     },\r
4358     {\r
4359         "id": "62341ef1.f30f5",\r
4360         "type": "configure",\r
4361         "name": "set error-message",\r
4362         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to create self-serve assignment for vnf with vnf-id=' + $vnf-topology-operation-input.vnf-information.vnf-id + ' with error: ' + $error-message`\" />\n",\r
4363         "comments": "",\r
4364         "outputs": 1,\r
4365         "x": 1816.162956237793,\r
4366         "y": 681.690544128418,\r
4367         "z": "652cf04d.917e78",\r
4368         "wires": [\r
4369             []\r
4370         ]\r
4371     },\r
4372     {\r
4373         "id": "4efb64bb.616d74",\r
4374         "type": "configure",\r
4375         "name": "set error-message",\r
4376         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\n      + ' already exists'`\" />\n",\r
4377         "comments": "",\r
4378         "outputs": 1,\r
4379         "x": 2246.999954223633,\r
4380         "y": 1253.666597366333,\r
4381         "z": "652cf04d.917e78",\r
4382         "wires": [\r
4383             []\r
4384         ]\r
4385     },\r
4386     {\r
4387         "id": "53faa32e.0504dc",\r
4388         "type": "configure",\r
4389         "name": "set error-message",\r
4390         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Cannot find instance group id ' +\n      $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n      + ' in AAI'`\" />\n",\r
4391         "comments": "",\r
4392         "outputs": 1,\r
4393         "x": 1624.0950775146484,\r
4394         "y": 1308.476245880127,\r
4395         "z": "652cf04d.917e78",\r
4396         "wires": [\r
4397             []\r
4398         ]\r
4399     },\r
4400     {\r
4401         "id": "411cfc3a.01153c",\r
4402         "type": "configure",\r
4403         "name": "set error-message",\r
4404         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving instance-group from AAI\" />\n",\r
4405         "comments": "",\r
4406         "outputs": 1,\r
4407         "x": 1624.0950393676758,\r
4408         "y": 1371.619031906128,\r
4409         "z": "652cf04d.917e78",\r
4410         "wires": [\r
4411             []\r
4412         ]\r
4413     },\r
4414     {\r
4415         "id": "53de08e6.af6ff8",\r
4416         "type": "configure",\r
4417         "name": "set error-message",\r
4418         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find AAI relationship from collection '\n      + $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\n      + ' to service instance'`\" />\n",\r
4419         "comments": "",\r
4420         "outputs": 1,\r
4421         "x": 2218.6665420532227,\r
4422         "y": 1387.9523315429688,\r
4423         "z": "652cf04d.917e78",\r
4424         "wires": [\r
4425             []\r
4426         ]\r
4427     },\r
4428     {\r
4429         "id": "2dfa859a.9ef8aa",\r
4430         "type": "configure",\r
4431         "name": "set error-message",\r
4432         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to get network service instance '\n      + $network-service-instance + ' from MD-SAL'`\" />\n",\r
4433         "comments": "",\r
4434         "outputs": 1,\r
4435         "x": 2220.1427841186523,\r
4436         "y": 1429.666732788086,\r
4437         "z": "652cf04d.917e78",\r
4438         "wires": [\r
4439             []\r
4440         ]\r
4441     },\r
4442     {\r
4443         "id": "4baafedf.40884",\r
4444         "type": "configure",\r
4445         "name": "set error-message",\r
4446         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Could not find network instance group ' +\n      $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id\n      + ' in MD-SAL service instance '\n      + $network-service-instance`\" />\n",\r
4447         "comments": "",\r
4448         "outputs": 1,\r
4449         "x": 2904.666893005371,\r
4450         "y": 1588.1904573440552,\r
4451         "z": "652cf04d.917e78",\r
4452         "wires": [\r
4453             []\r
4454         ]\r
4455     },\r
4456     {\r
4457         "id": "d9837d5e.fb9228",\r
4458         "type": "block",\r
4459         "name": "block : atomic",\r
4460         "xml": "<block atomic='true'>",\r
4461         "atomic": "true",\r
4462         "comments": "",\r
4463         "outputs": 1,\r
4464         "x": 2930.6786499023438,\r
4465         "y": 1892.3692474365234,\r
4466         "z": "652cf04d.917e78",\r
4467         "wires": [\r
4468             [\r
4469                 "85f543a5.3e0c48",\r
4470                 "5d5d1ee3.ba096"\r
4471             ]\r
4472         ]\r
4473     },\r
4474     {\r
4475         "id": "dcfb1529.fec6a8",\r
4476         "type": "block",\r
4477         "name": "block : atomic",\r
4478         "xml": "<block atomic=\"true\">",\r
4479         "atomic": "true",\r
4480         "outputs": 1,\r
4481         "x": 2041.9998321533203,\r
4482         "y": 1251.9998836517334,\r
4483         "z": "652cf04d.917e78",\r
4484         "wires": [\r
4485             [\r
4486                 "4efb64bb.616d74",\r
4487                 "d9837d5e.fb9228"\r
4488             ]\r
4489         ]\r
4490     },\r
4491     {\r
4492         "id": "961d4497.b1f5b",\r
4493         "type": "block",\r
4494         "name": "block : atomic",\r
4495         "xml": "<block atomic=\"true\">",\r
4496         "atomic": "true",\r
4497         "outputs": 1,\r
4498         "x": 1412.3333206176758,\r
4499         "y": 1308.6664772033691,\r
4500         "z": "652cf04d.917e78",\r
4501         "wires": [\r
4502             [\r
4503                 "53faa32e.0504dc",\r
4504                 "d9837d5e.fb9228"\r
4505             ]\r
4506         ]\r
4507     },\r
4508     {\r
4509         "id": "4e3d9218.a643dc",\r
4510         "type": "block",\r
4511         "name": "block : atomic",\r
4512         "xml": "<block atomic=\"true\">",\r
4513         "atomic": "true",\r
4514         "outputs": 1,\r
4515         "x": 1412.9996948242188,\r
4516         "y": 1371.3331823349,\r
4517         "z": "652cf04d.917e78",\r
4518         "wires": [\r
4519             [\r
4520                 "411cfc3a.01153c",\r
4521                 "d9837d5e.fb9228"\r
4522             ]\r
4523         ]\r
4524     },\r
4525     {\r
4526         "id": "e5dc44b5.d3f17",\r
4527         "type": "block",\r
4528         "name": "block : atomic",\r
4529         "xml": "<block atomic=\"true\">",\r
4530         "atomic": "true",\r
4531         "outputs": 1,\r
4532         "x": 2001.3332138061523,\r
4533         "y": 1388.3333625793457,\r
4534         "z": "652cf04d.917e78",\r
4535         "wires": [\r
4536             [\r
4537                 "53de08e6.af6ff8",\r
4538                 "d9837d5e.fb9228"\r
4539             ]\r
4540         ]\r
4541     },\r
4542     {\r
4543         "id": "966a3052.be8b78",\r
4544         "type": "block",\r
4545         "name": "block : atomic",\r
4546         "xml": "<block atomic=\"true\">",\r
4547         "atomic": "true",\r
4548         "outputs": 1,\r
4549         "x": 1999.6665878295898,\r
4550         "y": 1430.333251953125,\r
4551         "z": "652cf04d.917e78",\r
4552         "wires": [\r
4553             [\r
4554                 "2dfa859a.9ef8aa",\r
4555                 "d9837d5e.fb9228"\r
4556             ]\r
4557         ]\r
4558     },\r
4559     {\r
4560         "id": "19fba1ff.3d7996",\r
4561         "type": "block",\r
4562         "name": "block : atomic",\r
4563         "xml": "<block atomic=\"true\">",\r
4564         "atomic": "true",\r
4565         "outputs": 1,\r
4566         "x": 2693.9524307250977,\r
4567         "y": 1588.9047193527222,\r
4568         "z": "652cf04d.917e78",\r
4569         "wires": [\r
4570             [\r
4571                 "4baafedf.40884",\r
4572                 "d9837d5e.fb9228"\r
4573             ]\r
4574         ]\r
4575     },\r
4576     {\r
4577         "id": "ad1b7833.2d89a",\r
4578         "type": "block",\r
4579         "name": "block : atomic",\r
4580         "xml": "<block atomic=\"true\">",\r
4581         "atomic": "true",\r
4582         "outputs": 1,\r
4583         "x": 1500.3808898925781,\r
4584         "y": 1823.9046249389648,\r
4585         "z": "652cf04d.917e78",\r
4586         "wires": [\r
4587             [\r
4588                 "939de763.66009",\r
4589                 "1a90432.93512bd"\r
4590             ]\r
4591         ]\r
4592     },\r
4593     {\r
4594         "id": "939de763.66009",\r
4595         "type": "configure",\r
4596         "name": "set error-message",\r
4597         "xml": "<set>\n<parameter name=\"error-message\" value=\"No vnf-name was received but ecomp-generated-naming is not Y\" />\n",\r
4598         "comments": "",\r
4599         "outputs": 1,\r
4600         "x": 1730.2381210327148,\r
4601         "y": 1824.3329601287842,\r
4602         "z": "652cf04d.917e78",\r
4603         "wires": [\r
4604             []\r
4605         ]\r
4606     },\r
4607     {\r
4608         "id": "841445e5.523fe",\r
4609         "type": "block",\r
4610         "name": "block : atomic",\r
4611         "xml": "<block atomic=\"true\">",\r
4612         "atomic": "true",\r
4613         "outputs": 1,\r
4614         "x": 2253.2380142211914,\r
4615         "y": 1927.7618045806885,\r
4616         "z": "652cf04d.917e78",\r
4617         "wires": [\r
4618             [\r
4619                 "262e48b9.36be4",\r
4620                 "1a90432.93512bd"\r
4621             ]\r
4622         ]\r
4623     },\r
4624     {\r
4625         "id": "262e48b9.36be4",\r
4626         "type": "configure",\r
4627         "name": "set error-message",\r
4628         "xml": "<set>\n<parameter name=\"error-message\" value=\"`$generate-unique-name-output.error-message`\" />\n",\r
4629         "comments": "",\r
4630         "outputs": 1,\r
4631         "x": 2461.380889892578,\r
4632         "y": 1927.3331956863403,\r
4633         "z": "652cf04d.917e78",\r
4634         "wires": [\r
4635             []\r
4636         ]\r
4637     },\r
4638     {\r
4639         "id": "95c2eab0.a4313",\r
4640         "type": "block",\r
4641         "name": "block : atomic",\r
4642         "xml": "<block atomic=\"true\">",\r
4643         "atomic": "true",\r
4644         "outputs": 1,\r
4645         "x": 2301.809440612793,\r
4646         "y": 2053.9045372009277,\r
4647         "z": "652cf04d.917e78",\r
4648         "wires": [\r
4649             [\r
4650                 "cd9d840e.6d9e2",\r
4651                 "1a90432.93512bd"\r
4652             ]\r
4653         ]\r
4654     },\r
4655     {\r
4656         "id": "cd9d840e.6d9e2",\r
4657         "type": "configure",\r
4658         "name": "set error-message",\r
4659         "xml": "<set>\n<parameter name=\"error-message\" value=\"Unable to generate VNF name\" />\n",\r
4660         "comments": "",\r
4661         "outputs": 1,\r
4662         "x": 2524.6664962768555,\r
4663         "y": 2054.3332080841064,\r
4664         "z": "652cf04d.917e78",\r
4665         "wires": [\r
4666             []\r
4667         ]\r
4668     },\r
4669     {\r
4670         "id": "1a90432.93512bd",\r
4671         "type": "block",\r
4672         "name": "block : atomic",\r
4673         "xml": "<block atomic='true'>",\r
4674         "atomic": "true",\r
4675         "comments": "",\r
4676         "outputs": 1,\r
4677         "x": 2576.5480422973633,\r
4678         "y": 2309.333641052246,\r
4679         "z": "652cf04d.917e78",\r
4680         "wires": [\r
4681             [\r
4682                 "82edd673.f84e28",\r
4683                 "d16813f7.4f256"\r
4684             ]\r
4685         ]\r
4686     },\r
4687     {\r
4688         "id": "2be0da40.0d7806",\r
4689         "type": "block",\r
4690         "name": "block : atomic",\r
4691         "xml": "<block atomic=\"true\">",\r
4692         "atomic": "true",\r
4693         "outputs": 1,\r
4694         "x": 994.1904449462891,\r
4695         "y": 2964.2857341766357,\r
4696         "z": "652cf04d.917e78",\r
4697         "wires": [\r
4698             [\r
4699                 "c3e06ca1.959fc",\r
4700                 "b2ea455b.480508"\r
4701             ]\r
4702         ]\r
4703     },\r
4704     {\r
4705         "id": "c3e06ca1.959fc",\r
4706         "type": "configure",\r
4707         "name": "set error-message",\r
4708         "xml": "<set>\n<parameter name=\"error-message\" value=\"Cloud region not found in AAI\" />\n",\r
4709         "comments": "",\r
4710         "outputs": 1,\r
4711         "x": 1192.7617874145508,\r
4712         "y": 2930.0000200271606,\r
4713         "z": "652cf04d.917e78",\r
4714         "wires": [\r
4715             []\r
4716         ]\r
4717     },\r
4718     {\r
4719         "id": "f968cb62.56775",\r
4720         "type": "block",\r
4721         "name": "block : atomic",\r
4722         "xml": "<block atomic=\"true\">",\r
4723         "atomic": "true",\r
4724         "outputs": 1,\r
4725         "x": 997.523796081543,\r
4726         "y": 3007.619020462036,\r
4727         "z": "652cf04d.917e78",\r
4728         "wires": [\r
4729             [\r
4730                 "705aa9d.1a68858",\r
4731                 "b2ea455b.480508"\r
4732             ]\r
4733         ]\r
4734     },\r
4735     {\r
4736         "id": "705aa9d.1a68858",\r
4737         "type": "configure",\r
4738         "name": "set error-message",\r
4739         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving cloud region from AAI\" />\n",\r
4740         "comments": "",\r
4741         "outputs": 1,\r
4742         "x": 1196.0951385498047,\r
4743         "y": 2973.333306312561,\r
4744         "z": "652cf04d.917e78",\r
4745         "wires": [\r
4746             []\r
4747         ]\r
4748     },\r
4749     {\r
4750         "id": "5c62b00e.a7cd48",\r
4751         "type": "block",\r
4752         "name": "block : atomic",\r
4753         "xml": "<block atomic=\"true\">",\r
4754         "atomic": "true",\r
4755         "outputs": 1,\r
4756         "x": 855.8572311401367,\r
4757         "y": 3186.619167327881,\r
4758         "z": "652cf04d.917e78",\r
4759         "wires": [\r
4760             [\r
4761                 "7368045.ed8167c",\r
4762                 "b2ea455b.480508"\r
4763             ]\r
4764         ]\r
4765     },\r
4766     {\r
4767         "id": "7368045.ed8167c",\r
4768         "type": "configure",\r
4769         "name": "set error-message",\r
4770         "xml": "<set>\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",\r
4771         "comments": "",\r
4772         "outputs": 1,\r
4773         "x": 1065.8572235107422,\r
4774         "y": 3165.190655708313,\r
4775         "z": "652cf04d.917e78",\r
4776         "wires": [\r
4777             []\r
4778         ]\r
4779     },\r
4780     {\r
4781         "id": "b2ea455b.480508",\r
4782         "type": "block",\r
4783         "name": "block : atomic",\r
4784         "xml": "<block atomic=\"true\">",\r
4785         "atomic": "true",\r
4786         "outputs": 1,\r
4787         "x": 1952.4405975341797,\r
4788         "y": 3741.820848464966,\r
4789         "z": "652cf04d.917e78",\r
4790         "wires": [\r
4791             [\r
4792                 "2eff60b0.82a368",\r
4793                 "2209a27.51db7de",\r
4794                 "8cff46f6.b77",\r
4795                 "e06e50cf.f6e82"\r
4796             ]\r
4797         ]\r
4798     },\r
4799     {\r
4800         "id": "7ef20c7d.b3d83c",\r
4801         "type": "block",\r
4802         "name": "block : atomic",\r
4803         "xml": "<block atomic=\"true\">",\r
4804         "atomic": "true",\r
4805         "outputs": 1,\r
4806         "x": 1141.3333282470703,\r
4807         "y": 3276.714331626892,\r
4808         "z": "652cf04d.917e78",\r
4809         "wires": [\r
4810             [\r
4811                 "1e4bb717.8c8f11",\r
4812                 "b2ea455b.480508"\r
4813             ]\r
4814         ]\r
4815     },\r
4816     {\r
4817         "id": "1e4bb717.8c8f11",\r
4818         "type": "configure",\r
4819         "name": "set error-message",\r
4820         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_TO_NETWORK_ROLE_MAPPING table\" />\n",\r
4821         "comments": "",\r
4822         "outputs": 1,\r
4823         "x": 1344.1904373168945,\r
4824         "y": 3243.8572273254395,\r
4825         "z": "652cf04d.917e78",\r
4826         "wires": [\r
4827             []\r
4828         ]\r
4829     },\r
4830     {\r
4831         "id": "ddfbfd5a.f170a",\r
4832         "type": "block",\r
4833         "name": "block : atomic",\r
4834         "xml": "<block atomic=\"true\">",\r
4835         "atomic": "true",\r
4836         "outputs": 1,\r
4837         "x": 1711.3332824707031,\r
4838         "y": 3486.285619735718,\r
4839         "z": "652cf04d.917e78",\r
4840         "wires": [\r
4841             [\r
4842                 "ed599d84.5459d",\r
4843                 "b2ea455b.480508"\r
4844             ]\r
4845         ]\r
4846     },\r
4847     {\r
4848         "id": "ed599d84.5459d",\r
4849         "type": "configure",\r
4850         "name": "set error-message",\r
4851         "xml": "<set>\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",\r
4852         "comments": "",\r
4853         "outputs": 1,\r
4854         "x": 1922.7618865966797,\r
4855         "y": 3454.8569107055664,\r
4856         "z": "652cf04d.917e78",\r
4857         "wires": [\r
4858             []\r
4859         ]\r
4860     },\r
4861     {\r
4862         "id": "3ecadd51.2a79da",\r
4863         "type": "block",\r
4864         "name": "block : atomic",\r
4865         "xml": "<block atomic=\"true\">",\r
4866         "atomic": "true",\r
4867         "outputs": 1,\r
4868         "x": 2731.8094635009766,\r
4869         "y": 4707.667684555054,\r
4870         "z": "652cf04d.917e78",\r
4871         "wires": [\r
4872             [\r
4873                 "1132c0eb.47f19f",\r
4874                 "1eafb6c3.64af09"\r
4875             ]\r
4876         ]\r
4877     },\r
4878     {\r
4879         "id": "1132c0eb.47f19f",\r
4880         "type": "configure",\r
4881         "name": "set error-message",\r
4882         "xml": "<set>\n<parameter name=\"error-message\" value=\"`\n    'Error retrieving network-topology-identifier-structure for service instance '\n    + $network-service-instance-id\n    + ' and network-id '\n    + $l3-network-id`\" />\n",\r
4883         "comments": "",\r
4884         "outputs": 1,\r
4885         "x": 2943.237968444824,\r
4886         "y": 4676.238899230957,\r
4887         "z": "652cf04d.917e78",\r
4888         "wires": [\r
4889             []\r
4890         ]\r
4891     },\r
4892     {\r
4893         "id": "aac9396.609d348",\r
4894         "type": "block",\r
4895         "name": "block : atomic",\r
4896         "xml": "<block atomic=\"true\">",\r
4897         "atomic": "true",\r
4898         "outputs": 1,\r
4899         "x": 1844.4761962890625,\r
4900         "y": 4548.048126220703,\r
4901         "z": "652cf04d.917e78",\r
4902         "wires": [\r
4903             [\r
4904                 "6ef91a22.9e6f5c",\r
4905                 "1eafb6c3.64af09"\r
4906             ]\r
4907         ]\r
4908     },\r
4909     {\r
4910         "id": "6ef91a22.9e6f5c",\r
4911         "type": "configure",\r
4912         "name": "set error-message",\r
4913         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VNF_RELATED_NETWORK_ROLE table\" />\n",\r
4914         "comments": "",\r
4915         "outputs": 1,\r
4916         "x": 2058.4761962890625,\r
4917         "y": 4529.190979003906,\r
4918         "z": "652cf04d.917e78",\r
4919         "wires": [\r
4920             []\r
4921         ]\r
4922     },\r
4923     {\r
4924         "id": "bd008d18.af7e28",\r
4925         "type": "block",\r
4926         "name": "block : atomic",\r
4927         "xml": "<block atomic=\"true\">",\r
4928         "atomic": "true",\r
4929         "outputs": 1,\r
4930         "x": 2488.952423095703,\r
4931         "y": 4823.667268753052,\r
4932         "z": "652cf04d.917e78",\r
4933         "wires": [\r
4934             [\r
4935                 "3b9e157a.a6eb1a",\r
4936                 "1eafb6c3.64af09"\r
4937             ]\r
4938         ]\r
4939     },\r
4940     {\r
4941         "id": "3b9e157a.a6eb1a",\r
4942         "type": "configure",\r
4943         "name": "set error-message",\r
4944         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error getting owning entity from service instance\" />\n",\r
4945         "comments": "",\r
4946         "outputs": 1,\r
4947         "x": 2696.095443725586,\r
4948         "y": 4799.381650924683,\r
4949         "z": "652cf04d.917e78",\r
4950         "wires": [\r
4951             []\r
4952         ]\r
4953     },\r
4954     {\r
4955         "id": "e973673a.4d16f8",\r
4956         "type": "block",\r
4957         "name": "block : atomic",\r
4958         "xml": "<block atomic=\"true\">",\r
4959         "atomic": "true",\r
4960         "outputs": 1,\r
4961         "x": 2503.952423095703,\r
4962         "y": 4868.667268753052,\r
4963         "z": "652cf04d.917e78",\r
4964         "wires": [\r
4965             [\r
4966                 "ea2f1cf6.5574e",\r
4967                 "1eafb6c3.64af09"\r
4968             ]\r
4969         ]\r
4970     },\r
4971     {\r
4972         "id": "ea2f1cf6.5574e",\r
4973         "type": "configure",\r
4974         "name": "set error-message",\r
4975         "xml": "<set>\n<parameter name=\"error-message\" value=\"Unable to find owning entity from service instance\" />\n",\r
4976         "comments": "",\r
4977         "outputs": 1,\r
4978         "x": 2705.3810653686523,\r
4979         "y": 4842.953462600708,\r
4980         "z": "652cf04d.917e78",\r
4981         "wires": [\r
4982             []\r
4983         ]\r
4984     },\r
4985     {\r
4986         "id": "1b6474fa.c07123",\r
4987         "type": "block",\r
4988         "name": "block : atomic",\r
4989         "xml": "<block atomic=\"true\">",\r
4990         "atomic": "true",\r
4991         "outputs": 1,\r
4992         "x": 2947.9998168945312,\r
4993         "y": 4994.143200874329,\r
4994         "z": "652cf04d.917e78",\r
4995         "wires": [\r
4996             [\r
4997                 "ad71495b.bf604",\r
4998                 "1eafb6c3.64af09"\r
4999             ]\r
5000         ]\r
5001     },\r
5002     {\r
5003         "id": "ad71495b.bf604",\r
5004         "type": "configure",\r
5005         "name": "set error-message",\r
5006         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error calling getNetworks custom query in AAI\" />\n",\r
5007         "comments": "",\r
5008         "outputs": 1,\r
5009         "x": 3163.714179992676,\r
5010         "y": 4964.143190383911,\r
5011         "z": "652cf04d.917e78",\r
5012         "wires": [\r
5013             []\r
5014         ]\r
5015     },\r
5016     {\r
5017         "id": "10aba7ed.de916",\r
5018         "type": "block",\r
5019         "name": "block : atomic",\r
5020         "xml": "<block atomic=\"true\">",\r
5021         "atomic": "true",\r
5022         "outputs": 1,\r
5023         "x": 2959.6665649414062,\r
5024         "y": 5039.143200874329,\r
5025         "z": "652cf04d.917e78",\r
5026         "wires": [\r
5027             [\r
5028                 "92ff3f65.ace2f",\r
5029                 "1eafb6c3.64af09"\r
5030             ]\r
5031         ]\r
5032     },\r
5033     {\r
5034         "id": "92ff3f65.ace2f",\r
5035         "type": "configure",\r
5036         "name": "set error-message",\r
5037         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No l3-network returned from getNetworks custom query for related network role '\n      + $db.vnf-related-network-role[0].related-network-role`\" />\n",\r
5038         "comments": "",\r
5039         "outputs": 1,\r
5040         "x": 3175.380928039551,\r
5041         "y": 5009.143190383911,\r
5042         "z": "652cf04d.917e78",\r
5043         "wires": [\r
5044             []\r
5045         ]\r
5046     },\r
5047     {\r
5048         "id": "6c186302.6806a4",\r
5049         "type": "block",\r
5050         "name": "block : atomic",\r
5051         "xml": "<block atomic=\"true\">",\r
5052         "atomic": "true",\r
5053         "outputs": 1,\r
5054         "x": 3603.952033996582,\r
5055         "y": 5140.333766937256,\r
5056         "z": "652cf04d.917e78",\r
5057         "wires": [\r
5058             [\r
5059                 "c91d001.4234e8",\r
5060                 "1eafb6c3.64af09"\r
5061             ]\r
5062         ]\r
5063     },\r
5064     {\r
5065         "id": "c91d001.4234e8",\r
5066         "type": "configure",\r
5067         "name": "set error-message",\r
5068         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error getting vlan-tag object from AAI\" />\n",\r
5069         "comments": "",\r
5070         "outputs": 1,\r
5071         "x": 3816.80916595459,\r
5072         "y": 5113.190900802612,\r
5073         "z": "652cf04d.917e78",\r
5074         "wires": [\r
5075             []\r
5076         ]\r
5077     },\r
5078     {\r
5079         "id": "1eafb6c3.64af09",\r
5080         "type": "block",\r
5081         "name": "block : atomic",\r
5082         "xml": "<block atomic=\"true\">",\r
5083         "atomic": "true",\r
5084         "outputs": 1,\r
5085         "x": 3723.6791076660156,\r
5086         "y": 5591.275134086609,\r
5087         "z": "652cf04d.917e78",\r
5088         "wires": [\r
5089             [\r
5090                 "45d48b66.a8078c",\r
5091                 "f7795356.cb57f8",\r
5092                 "5ac8760f.3c13c",\r
5093                 "149b2fa5.4d0cf8"\r
5094             ]\r
5095         ]\r
5096     },\r
5097     {\r
5098         "id": "11a704cb.ec6e1b",\r
5099         "type": "block",\r
5100         "name": "block : atomic",\r
5101         "xml": "<block atomic=\"true\">",\r
5102         "atomic": "true",\r
5103         "outputs": 1,\r
5104         "x": 1711.333267211914,\r
5105         "y": 3536.2856159210205,\r
5106         "z": "652cf04d.917e78",\r
5107         "wires": [\r
5108             [\r
5109                 "9729b81b.95b818",\r
5110                 "b2ea455b.480508"\r
5111             ]\r
5112         ]\r
5113     },\r
5114     {\r
5115         "id": "9729b81b.95b818",\r
5116         "type": "configure",\r
5117         "name": "set error-message",\r
5118         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving l3-network from AAI\" />\n",\r
5119         "comments": "",\r
5120         "outputs": 1,\r
5121         "x": 1922.7618713378906,\r
5122         "y": 3504.856906890869,\r
5123         "z": "652cf04d.917e78",\r
5124         "wires": [\r
5125             []\r
5126         ]\r
5127     },\r
5128     {\r
5129         "id": "2ae5fa90.61994e",\r
5130         "type": "configure",\r
5131         "name": "set error-message",\r
5132         "xml": "<set>\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",\r
5133         "comments": "",\r
5134         "outputs": 1,\r
5135         "x": 1847.0476913452148,\r
5136         "y": 4247.714210510254,\r
5137         "z": "652cf04d.917e78",\r
5138         "wires": [\r
5139             []\r
5140         ]\r
5141     },\r
5142     {\r
5143         "id": "c374836e.37fed8",\r
5144         "type": "block",\r
5145         "name": "block : atomic",\r
5146         "xml": "<block atomic=\"true\">",\r
5147         "atomic": "true",\r
5148         "outputs": 1,\r
5149         "x": 1647.0476913452148,\r
5150         "y": 4262,\r
5151         "z": "652cf04d.917e78",\r
5152         "wires": [\r
5153             [\r
5154                 "2ae5fa90.61994e",\r
5155                 "1eafb6c3.64af09"\r
5156             ]\r
5157         ]\r
5158     },\r
5159     {\r
5160         "id": "cf09642d.dcd6b",\r
5161         "type": "block",\r
5162         "name": "block : atomic",\r
5163         "xml": "<block atomic=\"true\">",\r
5164         "atomic": "true",\r
5165         "outputs": 1,\r
5166         "x": 1301.3332748413086,\r
5167         "y": 5434.856773376465,\r
5168         "z": "652cf04d.917e78",\r
5169         "wires": [\r
5170             [\r
5171                 "d709ac0f.fb269",\r
5172                 "e74586be.b8e6f8"\r
5173             ]\r
5174         ]\r
5175     },\r
5176     {\r
5177         "id": "d709ac0f.fb269",\r
5178         "type": "configure",\r
5179         "name": "set error-message",\r
5180         "xml": "<set>\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",\r
5181         "comments": "",\r
5182         "outputs": 1,\r
5183         "x": 1504.1904067993164,\r
5184         "y": 5416.28534412384,\r
5185         "z": "652cf04d.917e78",\r
5186         "wires": [\r
5187             []\r
5188         ]\r
5189     },\r
5190     {\r
5191         "id": "662f403a.490a78",\r
5192         "type": "block",\r
5193         "name": "block : atomic",\r
5194         "xml": "<block atomic=\"true\">",\r
5195         "atomic": "true",\r
5196         "outputs": 1,\r
5197         "x": 1528.7144622802734,\r
5198         "y": 5561.524040222168,\r
5199         "z": "652cf04d.917e78",\r
5200         "wires": [\r
5201             [\r
5202                 "c383f700.e2fe08",\r
5203                 "e74586be.b8e6f8"\r
5204             ]\r
5205         ]\r
5206     },\r
5207     {\r
5208         "id": "c383f700.e2fe08",\r
5209         "type": "configure",\r
5210         "name": "set error-message",\r
5211         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating generic-vnf in AAI\" />\n",\r
5212         "comments": "",\r
5213         "outputs": 1,\r
5214         "x": 1730.1430130004883,\r
5215         "y": 5541.524041175842,\r
5216         "z": "652cf04d.917e78",\r
5217         "wires": [\r
5218             []\r
5219         ]\r
5220     },\r
5221     {\r
5222         "id": "bf452558.9a9008",\r
5223         "type": "block",\r
5224         "name": "block : atomic",\r
5225         "xml": "<block atomic=\"true\">",\r
5226         "atomic": "true",\r
5227         "outputs": 1,\r
5228         "x": 1530.381088256836,\r
5229         "y": 5604.857048034668,\r
5230         "z": "652cf04d.917e78",\r
5231         "wires": [\r
5232             [\r
5233                 "79c5928f.79507c",\r
5234                 "e74586be.b8e6f8"\r
5235             ]\r
5236         ]\r
5237     },\r
5238     {\r
5239         "id": "79c5928f.79507c",\r
5240         "type": "configure",\r
5241         "name": "set error-message",\r
5242         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",\r
5243         "comments": "",\r
5244         "outputs": 1,\r
5245         "x": 1731.8096389770508,\r
5246         "y": 5584.857048988342,\r
5247         "z": "652cf04d.917e78",\r
5248         "wires": [\r
5249             []\r
5250         ]\r
5251     },\r
5252     {\r
5253         "id": "e0daa6a.dcf31d8",\r
5254         "type": "block",\r
5255         "name": "block : atomic",\r
5256         "xml": "<block atomic=\"true\">",\r
5257         "atomic": "true",\r
5258         "outputs": 1,\r
5259         "x": 1388.238136291504,\r
5260         "y": 5679.618696212769,\r
5261         "z": "652cf04d.917e78",\r
5262         "wires": [\r
5263             [\r
5264                 "1a45b18b.687d7e",\r
5265                 "e74586be.b8e6f8"\r
5266             ]\r
5267         ]\r
5268     },\r
5269     {\r
5270         "id": "1a45b18b.687d7e",\r
5271         "type": "configure",\r
5272         "name": "set error-message",\r
5273         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating generic-vnf in AAI\" />\n",\r
5274         "comments": "",\r
5275         "outputs": 1,\r
5276         "x": 1585.9166717529297,\r
5277         "y": 5658.011522293091,\r
5278         "z": "652cf04d.917e78",\r
5279         "wires": [\r
5280             []\r
5281         ]\r
5282     },\r
5283     {\r
5284         "id": "ca1e10f7.f5af08",\r
5285         "type": "block",\r
5286         "name": "block : atomic",\r
5287         "xml": "<block atomic=\"true\">",\r
5288         "atomic": "true",\r
5289         "outputs": 1,\r
5290         "x": 1408.2976303100586,\r
5291         "y": 5724.678614616394,\r
5292         "z": "652cf04d.917e78",\r
5293         "wires": [\r
5294             [\r
5295                 "7c8d3c94.816594",\r
5296                 "e74586be.b8e6f8"\r
5297             ]\r
5298         ]\r
5299     },\r
5300     {\r
5301         "id": "7c8d3c94.816594",\r
5302         "type": "configure",\r
5303         "name": "set error-message",\r
5304         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",\r
5305         "comments": "",\r
5306         "outputs": 1,\r
5307         "x": 1612.583396911621,\r
5308         "y": 5701.821611404419,\r
5309         "z": "652cf04d.917e78",\r
5310         "wires": [\r
5311             []\r
5312         ]\r
5313     },\r
5314     {\r
5315         "id": "2e13fdd8.c6ad92",\r
5316         "type": "block",\r
5317         "name": "block : atomic",\r
5318         "xml": "<block atomic=\"true\">",\r
5319         "atomic": "true",\r
5320         "outputs": 1,\r
5321         "x": 824.0118942260742,\r
5322         "y": 5834.29768371582,\r
5323         "z": "652cf04d.917e78",\r
5324         "wires": [\r
5325             [\r
5326                 "7c4ba56.57b5cdc",\r
5327                 "e74586be.b8e6f8"\r
5328             ]\r
5329         ]\r
5330     },\r
5331     {\r
5332         "id": "7c4ba56.57b5cdc",\r
5333         "type": "configure",\r
5334         "name": "set error-message",\r
5335         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating selflink in generic-vnf in AAI\" />\n",\r
5336         "comments": "",\r
5337         "outputs": 1,\r
5338         "x": 1029.7262344360352,\r
5339         "y": 5810.011829376221,\r
5340         "z": "652cf04d.917e78",\r
5341         "wires": [\r
5342             []\r
5343         ]\r
5344     },\r
5345     {\r
5346         "id": "eba4fe8c.3ea98",\r
5347         "type": "block",\r
5348         "name": "block : atomic",\r
5349         "xml": "<block atomic=\"true\">",\r
5350         "atomic": "true",\r
5351         "outputs": 1,\r
5352         "x": 837.3452072143555,\r
5353         "y": 5877.63117980957,\r
5354         "z": "652cf04d.917e78",\r
5355         "wires": [\r
5356             [\r
5357                 "2d963807.1f3568",\r
5358                 "e74586be.b8e6f8"\r
5359             ]\r
5360         ]\r
5361     },\r
5362     {\r
5363         "id": "2d963807.1f3568",\r
5364         "type": "configure",\r
5365         "name": "set error-message",\r
5366         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",\r
5367         "comments": "",\r
5368         "outputs": 1,\r
5369         "x": 1043.0595474243164,\r
5370         "y": 5853.345325469971,\r
5371         "z": "652cf04d.917e78",\r
5372         "wires": [\r
5373             []\r
5374         ]\r
5375     },\r
5376     {\r
5377         "id": "1ce1d0e3.b09f8f",\r
5378         "type": "block",\r
5379         "name": "block : atomic",\r
5380         "xml": "<block atomic=\"true\">",\r
5381         "atomic": "true",\r
5382         "outputs": 1,\r
5383         "x": 1417.3928909301758,\r
5384         "y": 5927.011758804321,\r
5385         "z": "652cf04d.917e78",\r
5386         "wires": [\r
5387             [\r
5388                 "f1dfb0ff.674588",\r
5389                 "e74586be.b8e6f8"\r
5390             ]\r
5391         ]\r
5392     },\r
5393     {\r
5394         "id": "f1dfb0ff.674588",\r
5395         "type": "configure",\r
5396         "name": "set error-message",\r
5397         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating relationship in generic-vnf in AAI\" />\n",\r
5398         "comments": "",\r
5399         "outputs": 1,\r
5400         "x": 1611.678611755371,\r
5401         "y": 5901.2977504730225,\r
5402         "z": "652cf04d.917e78",\r
5403         "wires": [\r
5404             []\r
5405         ]\r
5406     },\r
5407     {\r
5408         "id": "85592822.f54ce",\r
5409         "type": "block",\r
5410         "name": "block : atomic",\r
5411         "xml": "<block atomic=\"true\">",\r
5412         "atomic": "true",\r
5413         "outputs": 1,\r
5414         "x": 1432.3928909301758,\r
5415         "y": 5970.345254898071,\r
5416         "z": "652cf04d.917e78",\r
5417         "wires": [\r
5418             [\r
5419                 "16449f26.c6b4a1",\r
5420                 "e74586be.b8e6f8"\r
5421             ]\r
5422         ]\r
5423     },\r
5424     {\r
5425         "id": "16449f26.c6b4a1",\r
5426         "type": "configure",\r
5427         "name": "set error-message",\r
5428         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No generic-vnf found in AAI for vnf ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-id`\" />\n",\r
5429         "comments": "",\r
5430         "outputs": 1,\r
5431         "x": 1626.678611755371,\r
5432         "y": 5944.6312465667725,\r
5433         "z": "652cf04d.917e78",\r
5434         "wires": [\r
5435             []\r
5436         ]\r
5437     },\r
5438     {\r
5439         "id": "634a4090.ff27d",\r
5440         "type": "execute",\r
5441         "name": "execute RestApiCallNode - PUT vnf",\r
5442         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + 'vnf-data-assign.json'`\" />\n    <parameter name='restapiUrl' value=\"`$prop.controller.url + $tmp.vnf.url`\" />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"vnf-assign\" />\n\n",\r
5443         "comments": "",\r
5444         "outputs": 1,\r
5445         "x": 527.3212051391602,\r
5446         "y": 6334.9891719818115,\r
5447         "z": "652cf04d.917e78",\r
5448         "wires": [\r
5449             [\r
5450                 "1a97646.1d7bf9c",\r
5451                 "5710c473.bb38cc"\r
5452             ]\r
5453         ]\r
5454     },\r
5455     {\r
5456         "id": "1a97646.1d7bf9c",\r
5457         "type": "not-found",\r
5458         "name": "not-found",\r
5459         "xml": "<outcome value='not-found'>\n",\r
5460         "comments": "",\r
5461         "outputs": 1,\r
5462         "x": 774.5339660644531,\r
5463         "y": 6356.319892883301,\r
5464         "z": "652cf04d.917e78",\r
5465         "wires": [\r
5466             [\r
5467                 "7fa41968.bb5ec8"\r
5468             ]\r
5469         ]\r
5470     },\r
5471     {\r
5472         "id": "5710c473.bb38cc",\r
5473         "type": "failure",\r
5474         "name": "failure",\r
5475         "xml": "<outcome value='failure'>\n",\r
5476         "comments": "",\r
5477         "outputs": 1,\r
5478         "x": 766.9626007080078,\r
5479         "y": 6314.819912910461,\r
5480         "z": "652cf04d.917e78",\r
5481         "wires": [\r
5482             [\r
5483                 "7fa41968.bb5ec8"\r
5484             ]\r
5485         ]\r
5486     },\r
5487     {\r
5488         "id": "7fa41968.bb5ec8",\r
5489         "type": "block",\r
5490         "name": "block : atomic",\r
5491         "xml": "<block atomic=\"true\">",\r
5492         "atomic": "true",\r
5493         "outputs": 1,\r
5494         "x": 942.5592803955078,\r
5495         "y": 6334.750367164612,\r
5496         "z": "652cf04d.917e78",\r
5497         "wires": [\r
5498             [\r
5499                 "eb23793e.28b0d",\r
5500                 "e74586be.b8e6f8"\r
5501             ]\r
5502         ]\r
5503     },\r
5504     {\r
5505         "id": "eb23793e.28b0d",\r
5506         "type": "configure",\r
5507         "name": "set error-message",\r
5508         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error doing PUT of vnf-data\" />\n",\r
5509         "comments": "",\r
5510         "outputs": 1,\r
5511         "x": 1148.2735900878906,\r
5512         "y": 6300.464484214783,\r
5513         "z": "652cf04d.917e78",\r
5514         "wires": [\r
5515             []\r
5516         ]\r
5517     },\r
5518     {\r
5519         "id": "9ec4fd36.2e31c8",\r
5520         "type": "set",\r
5521         "name": "set so.response-code = 200",\r
5522         "xml": "<set>\n<parameter name=\"so.response-code\" value=\"200\" />",\r
5523         "comments": "",\r
5524         "x": 498.09376525878906,\r
5525         "y": 6477.500561714172,\r
5526         "z": "652cf04d.917e78",\r
5527         "wires": []\r
5528     },\r
5529     {\r
5530         "id": "5369940c.e48364",\r
5531         "type": "set",\r
5532         "name": "Initialize SO 500 reponse params",\r
5533         "xml": "<set>\n<parameter name=\"so.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"so.response-code\" value=\"500\" />\n<parameter name=\"so.notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"so.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"so.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"so.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
5534         "comments": "",\r
5535         "x": 595.7605819702148,\r
5536         "y": 313.9549217224121,\r
5537         "z": "652cf04d.917e78",\r
5538         "wires": []\r
5539     },\r
5540     {\r
5541         "id": "2eff60b0.82a368",\r
5542         "type": "call",\r
5543         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
5544         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
5545         "comments": "",\r
5546         "outputs": 1,\r
5547         "x": 2278.2909622192383,\r
5548         "y": 3792.151798248291,\r
5549         "z": "652cf04d.917e78",\r
5550         "wires": [\r
5551             []\r
5552         ]\r
5553     },\r
5554     {\r
5555         "id": "d8dc3738.9ff7d",\r
5556         "type": "set",\r
5557         "name": "set so.reponse-code = 200",\r
5558         "xml": "<set>\n<parameter name=\"so.response-code\" value=\"200\" />\n",\r
5559         "comments": "",\r
5560         "x": 1238.8462142944336,\r
5561         "y": 888.2629871368408,\r
5562         "z": "652cf04d.917e78",\r
5563         "wires": []\r
5564     },\r
5565     {\r
5566         "id": "2209a27.51db7de",\r
5567         "type": "set",\r
5568         "name": "set variables for deleting name",\r
5569         "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",\r
5570         "comments": "",\r
5571         "x": 2225.096290588379,\r
5572         "y": 3691.040738105774,\r
5573         "z": "652cf04d.917e78",\r
5574         "wires": []\r
5575     },\r
5576     {\r
5577         "id": "8cff46f6.b77",\r
5578         "type": "call",\r
5579         "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
5580         "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
5581         "comments": "",\r
5582         "outputs": 1,\r
5583         "x": 2322.66756439209,\r
5584         "y": 3741.1830978393555,\r
5585         "z": "652cf04d.917e78",\r
5586         "wires": [\r
5587             []\r
5588         ]\r
5589     },\r
5590     {\r
5591         "id": "5ac8760f.3c13c",\r
5592         "type": "call",\r
5593         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
5594         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
5595         "comments": "",\r
5596         "outputs": 1,\r
5597         "x": 4057.0410079956055,\r
5598         "y": 5615.346151351929,\r
5599         "z": "652cf04d.917e78",\r
5600         "wires": [\r
5601             []\r
5602         ]\r
5603     },\r
5604     {\r
5605         "id": "45d48b66.a8078c",\r
5606         "type": "set",\r
5607         "name": "set variables for deleting name",\r
5608         "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",\r
5609         "comments": "",\r
5610         "x": 4003.846336364746,\r
5611         "y": 5514.235091209412,\r
5612         "z": "652cf04d.917e78",\r
5613         "wires": []\r
5614     },\r
5615     {\r
5616         "id": "f7795356.cb57f8",\r
5617         "type": "call",\r
5618         "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
5619         "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
5620         "comments": "",\r
5621         "outputs": 1,\r
5622         "x": 4101.417610168457,\r
5623         "y": 5564.377450942993,\r
5624         "z": "652cf04d.917e78",\r
5625         "wires": [\r
5626             []\r
5627         ]\r
5628     },\r
5629     {\r
5630         "id": "fef2b74e.207f2",\r
5631         "type": "call",\r
5632         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
5633         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
5634         "comments": "",\r
5635         "outputs": 1,\r
5636         "x": 2286.2076263427734,\r
5637         "y": 6596.319822311401,\r
5638         "z": "652cf04d.917e78",\r
5639         "wires": [\r
5640             []\r
5641         ]\r
5642     },\r
5643     {\r
5644         "id": "5e0caa6d.e903f4",\r
5645         "type": "set",\r
5646         "name": "set variables for deleting name",\r
5647         "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",\r
5648         "comments": "",\r
5649         "x": 2229.262924194336,\r
5650         "y": 6495.2088985443115,\r
5651         "z": "652cf04d.917e78",\r
5652         "wires": []\r
5653     },\r
5654     {\r
5655         "id": "fcbc941a.75b4b8",\r
5656         "type": "call",\r
5657         "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
5658         "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
5659         "comments": "",\r
5660         "outputs": 1,\r
5661         "x": 2326.834197998047,\r
5662         "y": 6545.351258277893,\r
5663         "z": "652cf04d.917e78",\r
5664         "wires": [\r
5665             []\r
5666         ]\r
5667     },\r
5668     {\r
5669         "id": "6ffa4d06.cd8f6c",\r
5670         "type": "call",\r
5671         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
5672         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
5673         "comments": "",\r
5674         "outputs": 1,\r
5675         "x": 2118.7077407836914,\r
5676         "y": 792.8462972640991,\r
5677         "z": "652cf04d.917e78",\r
5678         "wires": [\r
5679             []\r
5680         ]\r
5681     },\r
5682     {\r
5683         "id": "85f543a5.3e0c48",\r
5684         "type": "call",\r
5685         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
5686         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
5687         "comments": "",\r
5688         "outputs": 1,\r
5689         "x": 3242.457305908203,\r
5690         "y": 1868.596351146698,\r
5691         "z": "652cf04d.917e78",\r
5692         "wires": [\r
5693             []\r
5694         ]\r
5695     },\r
5696     {\r
5697         "id": "82edd673.f84e28",\r
5698         "type": "call",\r
5699         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
5700         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
5701         "comments": "",\r
5702         "outputs": 1,\r
5703         "x": 2894.957359313965,\r
5704         "y": 2283.346435546875,\r
5705         "z": "652cf04d.917e78",\r
5706         "wires": [\r
5707             []\r
5708         ]\r
5709     },\r
5710     {\r
5711         "id": "1fec3768.f512f1",\r
5712         "type": "call",\r
5713         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
5714         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
5715         "comments": "",\r
5716         "outputs": 1,\r
5717         "x": 562.5963668823242,\r
5718         "y": 6531.874531745911,\r
5719         "z": "652cf04d.917e78",\r
5720         "wires": [\r
5721             []\r
5722         ]\r
5723     },\r
5724     {\r
5725         "id": "61c39fe5.7ecd2",\r
5726         "type": "call",\r
5727         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
5728         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
5729         "comments": "",\r
5730         "outputs": 1,\r
5731         "x": 1310.8462448120117,\r
5732         "y": 937.0129909515381,\r
5733         "z": "652cf04d.917e78",\r
5734         "wires": [\r
5735             []\r
5736         ]\r
5737     },\r
5738     {\r
5739         "id": "ce39ee80.3e9ff",\r
5740         "type": "returnFailure",\r
5741         "name": "return failure",\r
5742         "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-message`\" />\n",\r
5743         "comments": "",\r
5744         "x": 2000.096290588379,\r
5745         "y": 843.2629833221436,\r
5746         "z": "652cf04d.917e78",\r
5747         "wires": []\r
5748     },\r
5749     {\r
5750         "id": "5d5d1ee3.ba096",\r
5751         "type": "returnFailure",\r
5752         "name": "return failure",\r
5753         "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-message`\" />\n",\r
5754         "comments": "",\r
5755         "x": 3123.84627532959,\r
5756         "y": 1912.8463134765625,\r
5757         "z": "652cf04d.917e78",\r
5758         "wires": []\r
5759     },\r
5760     {\r
5761         "id": "d16813f7.4f256",\r
5762         "type": "returnFailure",\r
5763         "name": "return failure",\r
5764         "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-message`\" />\n",\r
5765         "comments": "",\r
5766         "x": 2778.84627532959,\r
5767         "y": 2331.596435546875,\r
5768         "z": "652cf04d.917e78",\r
5769         "wires": []\r
5770     },\r
5771     {\r
5772         "id": "e06e50cf.f6e82",\r
5773         "type": "returnFailure",\r
5774         "name": "return failure",\r
5775         "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-message`\" />\n",\r
5776         "comments": "",\r
5777         "x": 2158.846424102783,\r
5778         "y": 3839.929880142212,\r
5779         "z": "652cf04d.917e78",\r
5780         "wires": []\r
5781     },\r
5782     {\r
5783         "id": "149b2fa5.4d0cf8",\r
5784         "type": "returnFailure",\r
5785         "name": "return failure",\r
5786         "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-message`\" />\n",\r
5787         "comments": "",\r
5788         "x": 3939.81844329834,\r
5789         "y": 5665.06884765625,\r
5790         "z": "652cf04d.917e78",\r
5791         "wires": []\r
5792     },\r
5793     {\r
5794         "id": "ae834aa6.55d6c",\r
5795         "type": "returnFailure",\r
5796         "name": "return failure",\r
5797         "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-message`\" />\n",\r
5798         "comments": "",\r
5799         "x": 2166.0686569213867,\r
5800         "y": 6643.263185501099,\r
5801         "z": "652cf04d.917e78",\r
5802         "wires": []\r
5803     },\r
5804     {\r
5805         "id": "4ba8fd3f.c818fc",\r
5806         "type": "execute",\r
5807         "name": "generate vnf URL (sub service-instance-id)",\r
5808         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.vnf-assign`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.service-topology.service-topology-identifier.service-instance-id`\"/>\n",\r
5809         "comments": "",\r
5810         "outputs": 1,\r
5811         "x": 551.3463516235352,\r
5812         "y": 6138.542016029358,\r
5813         "z": "652cf04d.917e78",\r
5814         "wires": [\r
5815             []\r
5816         ]\r
5817     },\r
5818     {\r
5819         "id": "d2d8ec6e.e92468",\r
5820         "type": "execute",\r
5821         "name": "generate vnf URL (sub vnf-id)",\r
5822         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.part`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.vnf.url\"/>\n    <parameter name=\"target\" value=\"{vnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-id`\"/>\n",\r
5823         "comments": "",\r
5824         "outputs": 1,\r
5825         "x": 506.34627532958984,\r
5826         "y": 6189.969970703125,\r
5827         "z": "652cf04d.917e78",\r
5828         "wires": [\r
5829             []\r
5830         ]\r
5831     },\r
5832     {\r
5833         "id": "2957e806.869ab",\r
5834         "type": "set",\r
5835         "name": "copy vnf data",\r
5836         "xml": "<set>\n<parameter name='vnf-data.' value='service-data.vnfs.vnf[$vnf-index].vnf-data.' />\n",\r
5837         "comments": "",\r
5838         "x": 452.2392349243164,\r
5839         "y": 6237.827503204346,\r
5840         "z": "652cf04d.917e78",\r
5841         "wires": []\r
5842     },\r
5843     {\r
5844         "id": "bb434916.4ddfd",\r
5845         "type": "comment",\r
5846         "name": "'New' version of DG, called for flows where SO expects async response (so-bpmn-infra)",\r
5847         "info": "",\r
5848         "comments": "",\r
5849         "x": 565,\r
5850         "y": 93,\r
5851         "z": "652cf04d.917e78",\r
5852         "wires": []\r
5853     }\r
5854 ]