generic-resource-api DG enhancement
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vnf-topology-operation-assign.json
1 [\r
2     {\r
3         "id": "fa733965.8e1b48",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 116.66666412353516,\r
8         "y": 70.74699592590332,\r
9         "z": "2d523017.81121",\r
10         "wires": [\r
11             [\r
12                 "daf6d1e0.f0a85"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "daf6d1e0.f0a85",\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": 231.9523696899414,\r
26         "y": 112.65177536010742,\r
27         "z": "2d523017.81121",\r
28         "wires": [\r
29             [\r
30                 "3a6f31b4.299cee"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "3a6f31b4.299cee",\r
36         "type": "method",\r
37         "name": "method vnf-topology-operation-assign",\r
38         "xml": "<method rpc='vnf-topology-operation-assign' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 204.76197052001953,\r
42         "y": 155.41365909576416,\r
43         "z": "2d523017.81121",\r
44         "wires": [\r
45             [\r
46                 "9ab83872.914ab8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "21dff779.bf4cc8",\r
52         "type": "comment",\r
53         "name": "vnf-topology-operation-assign",\r
54         "info": "",\r
55         "comments": "",\r
56         "x": 492.6781921386719,\r
57         "y": 20,\r
58         "z": "2d523017.81121",\r
59         "wires": []\r
60     },\r
61     {\r
62         "id": "49a698b9.947698",\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": 513.0476303100586,\r
69         "y": 466.3898124694824,\r
70         "z": "2d523017.81121",\r
71         "wires": [\r
72             [\r
73                 "725cf24d.8d4b4c",\r
74                 "abc6c6e8.654018"\r
75             ]\r
76         ]\r
77     },\r
78     {\r
79         "id": "725cf24d.8d4b4c",\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": 766.7619247436523,\r
86         "y": 443.53269386291504,\r
87         "z": "2d523017.81121",\r
88         "wires": [\r
89             [\r
90                 "b07fe8dd.932d38"\r
91             ]\r
92         ]\r
93     },\r
94     {\r
95         "id": "abc6c6e8.654018",\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": 728.761890411377,\r
102         "y": 489.24702167510986,\r
103         "z": "2d523017.81121",\r
104         "wires": [\r
105             [\r
106                 "97a46274.9df5e"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "b07fe8dd.932d38",\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": 951.6190528869629,\r
119         "y": 443.53272342681885,\r
120         "z": "2d523017.81121",\r
121         "wires": [\r
122             []\r
123         ]\r
124     },\r
125     {\r
126         "id": "c8588b9c.b0d898",\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": 174.4048080444336,\r
133         "y": 3352.7708625793457,\r
134         "z": "2d523017.81121",\r
135         "wires": [\r
136             [\r
137                 "50e14066.4a8fb",\r
138                 "945671e8.3d2b7",\r
139                 "7054feb2.2900b",\r
140                 "25919575.6cb00a",\r
141                 "10583438.2574cc",\r
142                 "9cd27ab5.524f18",\r
143                 "13077d8a.632752",\r
144                 "8c40a330.8c84",\r
145                 "996bdc9d.0d63b",\r
146                 "2dd23fff.89a8d",\r
147                 "f2f609da.bd9858",\r
148                 "1b9bd518.29100b",\r
149                 "4eb737ee.442a38",\r
150                 "3530cc21.a0c0d4",\r
151                 "2fcd14d0.0b537c",\r
152                 "4796fba2.d51144",\r
153                 "42f099e.9f61568",\r
154                 "ab296e58.94c7",\r
155                 "8dc1e7e0.9d5668",\r
156                 "d03eeca7.23711",\r
157                 "494fd3fe.881b4c",\r
158                 "31dc7765.4b4208",\r
159                 "ae22f7f9.632468",\r
160                 "530dfe10.6f29",\r
161                 "2f250d1f.126482",\r
162                 "3c27d937.bf75c6",\r
163                 "6ae8e0f.7c6952",\r
164                 "dfdec27.324004",\r
165                 "dc580d36.feec6",\r
166                 "87cefff2.af896",\r
167                 "9e4b2f5.d8554d",\r
168                 "5563a4c5.a199ec",\r
169                 "97421a9a.865f98",\r
170                 "59c331da.0d09b",\r
171                 "b01ba289.b4c4d",\r
172                 "f93440f1.dad62",\r
173                 "5091afc0.4393d",\r
174                 "7381e60f.8d7388",\r
175                 "ef3b1f74.d9716",\r
176                 "4c1fc0a3.ee098"\r
177             ]\r
178         ]\r
179     },\r
180     {\r
181         "id": "ade9f393.c1d96",\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": 525.3809356689453,\r
188         "y": 557.5326824188232,\r
189         "z": "2d523017.81121",\r
190         "wires": [\r
191             [\r
192                 "1e3f6d8d.668b62",\r
193                 "270acedb.4b2862"\r
194             ]\r
195         ]\r
196     },\r
197     {\r
198         "id": "1e3f6d8d.668b62",\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": 726.166633605957,\r
205         "y": 537.913519859314,\r
206         "z": "2d523017.81121",\r
207         "wires": [\r
208             [\r
209                 "df6715d9.ce37d8"\r
210             ]\r
211         ]\r
212     },\r
213     {\r
214         "id": "270acedb.4b2862",\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": 734.7380638122559,\r
221         "y": 582.1992330551147,\r
222         "z": "2d523017.81121",\r
223         "wires": [\r
224             [\r
225                 "e48fe633.d5a078"\r
226             ]\r
227         ]\r
228     },\r
229     {\r
230         "id": "50e14066.4a8fb",\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": 549.0475845336914,\r
237         "y": 1145.9851322174072,\r
238         "z": "2d523017.81121",\r
239         "wires": [\r
240             [\r
241                 "a52ad9f3.5409f8",\r
242                 "f1a27d38.307e4"\r
243             ]\r
244         ]\r
245     },\r
246     {\r
247         "id": "a52ad9f3.5409f8",\r
248         "type": "other",\r
249         "name": "NULL",\r
250         "xml": "<outcome value=''>\n",\r
251         "comments": "",\r
252         "outputs": 1,\r
253         "x": 774.7619132995605,\r
254         "y": 1113.1279201507568,\r
255         "z": "2d523017.81121",\r
256         "wires": [\r
257             [\r
258                 "5a889bed.1fd0a4"\r
259             ]\r
260         ]\r
261     },\r
262     {\r
263         "id": "5a889bed.1fd0a4",\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": 939.0476341247559,\r
269         "y": 1112.1279983520508,\r
270         "z": "2d523017.81121",\r
271         "wires": []\r
272     },\r
273     {\r
274         "id": "f1a27d38.307e4",\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": 776.1904754638672,\r
281         "y": 1177.4137382507324,\r
282         "z": "2d523017.81121",\r
283         "wires": [\r
284             [\r
285                 "ff49d41f.68ca58"\r
286             ]\r
287         ]\r
288     },\r
289     {\r
290         "id": "742d47cf.681298",\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": 1194.0476303100586,\r
296         "y": 1155.699426651001,\r
297         "z": "2d523017.81121",\r
298         "wires": []\r
299     },\r
300     {\r
301         "id": "841debf7.ded508",\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": 1179.4761428833008,\r
308         "y": 1201.6993656158447,\r
309         "z": "2d523017.81121",\r
310         "wires": [\r
311             [\r
312                 "7d0d1ffd.f9c63"\r
313             ]\r
314         ]\r
315     },\r
316     {\r
317         "id": "ff49d41f.68ca58",\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": 949.9047355651855,\r
325         "y": 1177.413703918457,\r
326         "z": "2d523017.81121",\r
327         "wires": [\r
328             [\r
329                 "742d47cf.681298",\r
330                 "841debf7.ded508"\r
331             ]\r
332         ]\r
333     },\r
334     {\r
335         "id": "7d0d1ffd.f9c63",\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": 1533.7619094848633,\r
342         "y": 1201.270845413208,\r
343         "z": "2d523017.81121",\r
344         "wires": [\r
345             [\r
346                 "8c6a6fdd.7581b"\r
347             ]\r
348         ]\r
349     },\r
350     {\r
351         "id": "8c6a6fdd.7581b",\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": 1828.047664642334,\r
358         "y": 1200.8423299789429,\r
359         "z": "2d523017.81121",\r
360         "wires": [\r
361             [\r
362                 "67d1f32e.64262c"\r
363             ]\r
364         ]\r
365     },\r
366     {\r
367         "id": "7be2c7fd.7f9938",\r
368         "type": "comment",\r
369         "name": "make sure this VNF doesn't exist already",\r
370         "info": "",\r
371         "comments": "",\r
372         "x": 1520.904640197754,\r
373         "y": 1158.8422756195068,\r
374         "z": "2d523017.81121",\r
375         "wires": []\r
376     },\r
377     {\r
378         "id": "945671e8.3d2b7",\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": 514.7618675231934,\r
384         "y": 1677.6518993377686,\r
385         "z": "2d523017.81121",\r
386         "wires": []\r
387     },\r
388     {\r
389         "id": "7054feb2.2900b",\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": 527.2618865966797,\r
396         "y": 2039.770956993103,\r
397         "z": "2d523017.81121",\r
398         "wires": [\r
399             [\r
400                 "794a160e.b68c48",\r
401                 "109f5318.f22f2d"\r
402             ]\r
403         ]\r
404     },\r
405     {\r
406         "id": "25919575.6cb00a",\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": 559.4048309326172,\r
413         "y": 2935.7706928253174,\r
414         "z": "2d523017.81121",\r
415         "wires": [\r
416             [\r
417                 "da5da517.ae2e18",\r
418                 "54304dd.70307b4"\r
419             ]\r
420         ]\r
421     },\r
422     {\r
423         "id": "54304dd.70307b4",\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": 767.5081481933594,\r
430         "y": 2954.921399116516,\r
431         "z": "2d523017.81121",\r
432         "wires": [\r
433             [\r
434                 "cbecda63.60f978"\r
435             ]\r
436         ]\r
437     },\r
438     {\r
439         "id": "da5da517.ae2e18",\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": 776.4367446899414,\r
446         "y": 2912.2071323394775,\r
447         "z": "2d523017.81121",\r
448         "wires": [\r
449             [\r
450                 "55ab3764.a14138"\r
451             ]\r
452         ]\r
453     },\r
454     {\r
455         "id": "10583438.2574cc",\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": 624.6429138183594,\r
462         "y": 3246.8182125091553,\r
463         "z": "2d523017.81121",\r
464         "wires": [\r
465             [\r
466                 "b9431e3d.b421d",\r
467                 "395440a1.5e6de"\r
468             ]\r
469         ]\r
470     },\r
471     {\r
472         "id": "b9431e3d.b421d",\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": 920.4285850524902,\r
479         "y": 3225.532377243042,\r
480         "z": "2d523017.81121",\r
481         "wires": [\r
482             [\r
483                 "5be8614b.d2283"\r
484             ]\r
485         ]\r
486     },\r
487     {\r
488         "id": "395440a1.5e6de",\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": 929.0000152587891,\r
495         "y": 3269.818090438843,\r
496         "z": "2d523017.81121",\r
497         "wires": [\r
498             [\r
499                 "4f0a7869.c1d018"\r
500             ]\r
501         ]\r
502     },\r
503     {\r
504         "id": "fde1d716.a4a0e8",\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": 1025.5716133117676,\r
511         "y": 4363.460702896118,\r
512         "z": "2d523017.81121",\r
513         "wires": [\r
514             [\r
515                 "abcfb9a1.c41368",\r
516                 "912ecbf0.ffa438",\r
517                 "c223a2fd.f4871",\r
518                 "7e1ee9f5.bc8198",\r
519                 "c6001282.4b6e1",\r
520                 "ea99e7e9.ed0b98",\r
521                 "c41b6137.b6d4b",\r
522                 "8dc14ff8.fbd57",\r
523                 "4e569933.c14918"\r
524             ]\r
525         ]\r
526     },\r
527     {\r
528         "id": "c223a2fd.f4871",\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": 1275.2858123779297,\r
535         "y": 3453.8417415618896,\r
536         "z": "2d523017.81121",\r
537         "wires": [\r
538             [\r
539                 "ede95f4d.859fa",\r
540                 "3e760d07.8da062"\r
541             ]\r
542         ]\r
543     },\r
544     {\r
545         "id": "3e760d07.8da062",\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": 1480.7621269226074,\r
552         "y": 3483.1273441314697,\r
553         "z": "2d523017.81121",\r
554         "wires": [\r
555             [\r
556                 "4fcc2ec6.5268d"\r
557             ]\r
558         ]\r
559     },\r
560     {\r
561         "id": "ede95f4d.859fa",\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": 1488.2621231079102,\r
568         "y": 3434.2703142166138,\r
569         "z": "2d523017.81121",\r
570         "wires": [\r
571             [\r
572                 "1b9558ce.3c84a7"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "abcfb9a1.c41368",\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": 1271.6192779541016,\r
583         "y": 4259.413550376892,\r
584         "z": "2d523017.81121",\r
585         "wires": []\r
586     },\r
587     {\r
588         "id": "996bdc9d.0d63b",\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": 492.00031661987305,\r
595         "y": 5506.532527923584,\r
596         "z": "2d523017.81121",\r
597         "wires": [\r
598             [\r
599                 "b2e77d6f.5c88e"\r
600             ]\r
601         ]\r
602     },\r
603     {\r
604         "id": "cab1cdc0.80552",\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": 953.6669998168945,\r
610         "y": 5475.865942001343,\r
611         "z": "2d523017.81121",\r
612         "wires": []\r
613     },\r
614     {\r
615         "id": "2dd23fff.89a8d",\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": 451.6192436218262,\r
621         "y": 5356.484888076782,\r
622         "z": "2d523017.81121",\r
623         "wires": []\r
624     },\r
625     {\r
626         "id": "c622b6f5.5fb0e8",\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": 918.1907768249512,\r
633         "y": 5650.29474067688,\r
634         "z": "2d523017.81121",\r
635         "wires": [\r
636             [\r
637                 "72e530eb.ef2a9",\r
638                 "560ad615.6ebaf8"\r
639             ]\r
640         ]\r
641     },\r
642     {\r
643         "id": "4eb737ee.442a38",\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": 404.9645233154297,\r
649         "y": 6546.056180000305,\r
650         "z": "2d523017.81121",\r
651         "wires": []\r
652     },\r
653     {\r
654         "id": "1b9bd518.29100b",\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": 507.49225997924805,\r
660         "y": 6019.500453948975,\r
661         "z": "2d523017.81121",\r
662         "wires": []\r
663     },\r
664     {\r
665         "id": "13077d8a.632752",\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": 485.57154846191406,\r
672         "y": 4336.794371604919,\r
673         "z": "2d523017.81121",\r
674         "wires": [\r
675             [\r
676                 "b7e5144f.5264b8"\r
677             ]\r
678         ]\r
679     },\r
680     {\r
681         "id": "9cd27ab5.524f18",\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": 527.0714111328125,\r
687         "y": 3300.8660068511963,\r
688         "z": "2d523017.81121",\r
689         "wires": []\r
690     },\r
691     {\r
692         "id": "912ecbf0.ffa438",\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": 1253.6192665100098,\r
698         "y": 5307.175491333008,\r
699         "z": "2d523017.81121",\r
700         "wires": []\r
701     },\r
702     {\r
703         "id": "8c40a330.8c84",\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": 450.4763298034668,\r
709         "y": 5306.484931945801,\r
710         "z": "2d523017.81121",\r
711         "wires": []\r
712     },\r
713     {\r
714         "id": "f2f609da.bd9858",\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": 416.7620658874512,\r
720         "y": 5965.913442611694,\r
721         "z": "2d523017.81121",\r
722         "wires": []\r
723     },\r
724     {\r
725         "id": "3530cc21.a0c0d4",\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": 441.1906852722168,\r
732         "y": 5649.29465675354,\r
733         "z": "2d523017.81121",\r
734         "wires": [\r
735             [\r
736                 "b6d2730a.405db"\r
737             ]\r
738         ]\r
739     },\r
740     {\r
741         "id": "b6d2730a.405db",\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": 644.8573265075684,\r
748         "y": 5649.294617652893,\r
749         "z": "2d523017.81121",\r
750         "wires": [\r
751             [\r
752                 "c622b6f5.5fb0e8"\r
753             ]\r
754         ]\r
755     },\r
756     {\r
757         "id": "2fcd14d0.0b537c",\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": 497.6905059814453,\r
763         "y": 1198.0090227127075,\r
764         "z": "2d523017.81121",\r
765         "wires": []\r
766     },\r
767     {\r
768         "id": "4796fba2.d51144",\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": 572.2619552612305,\r
775         "y": 3023.008864402771,\r
776         "z": "2d523017.81121",\r
777         "wires": [\r
778             [\r
779                 "de35f354.4a026"\r
780             ]\r
781         ]\r
782     },\r
783     {\r
784         "id": "de35f354.4a026",\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": 819.9404983520508,\r
791         "y": 3022.7587938308716,\r
792         "z": "2d523017.81121",\r
793         "wires": [\r
794             [\r
795                 "9753c9fc.ee6548"\r
796             ]\r
797         ]\r
798     },\r
799     {\r
800         "id": "9753c9fc.ee6548",\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": 989.4048194885254,\r
807         "y": 3022.1516160964966,\r
808         "z": "2d523017.81121",\r
809         "wires": [\r
810             [\r
811                 "f1d0780c.c74608"\r
812             ]\r
813         ]\r
814     },\r
815     {\r
816         "id": "49d47361.e5235c",\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": 1366.976203918457,\r
822         "y": 3020.389811515808,\r
823         "z": "2d523017.81121",\r
824         "wires": []\r
825     },\r
826     {\r
827         "id": "42f099e.9f61568",\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": 505.3095817565918,\r
834         "y": 3136.1039962768555,\r
835         "z": "2d523017.81121",\r
836         "wires": [\r
837             [\r
838                 "18989148.50f10f"\r
839             ]\r
840         ]\r
841     },\r
842     {\r
843         "id": "18989148.50f10f",\r
844         "type": "outcome",\r
845         "name": "NULL",\r
846         "xml": "<outcome value=''>",\r
847         "comments": "",\r
848         "outputs": 1,\r
849         "x": 653.4524154663086,\r
850         "y": 3136.103979110718,\r
851         "z": "2d523017.81121",\r
852         "wires": [\r
853             [\r
854                 "9a466e25.4156f"\r
855             ]\r
856         ]\r
857     },\r
858     {\r
859         "id": "56b5f776.c4c628",\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": 931.7621269226074,\r
865         "y": 2494.9612531661987,\r
866         "z": "2d523017.81121",\r
867         "wires": []\r
868     },\r
869     {\r
870         "id": "c7e1c13d.03db5",\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": 1391.8812561035156,\r
877         "y": 4083.984929084778,\r
878         "z": "2d523017.81121",\r
879         "wires": [\r
880             [\r
881                 "c1ed15e6.f88648"\r
882             ]\r
883         ]\r
884     },\r
885     {\r
886         "id": "e75f10eb.ced4f",\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": 1810.4524269104004,\r
893         "y": 4018.556393623352,\r
894         "z": "2d523017.81121",\r
895         "wires": [\r
896             [\r
897                 "acbbb297.0a07e",\r
898                 "18131921.5c40e7",\r
899                 "84ce6f22.6e9ac",\r
900                 "a5969f85.edad",\r
901                 "8306b63a.7a6a88"\r
902             ]\r
903         ]\r
904     },\r
905     {\r
906         "id": "acbbb297.0a07e",\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": 2051.119297027588,\r
913         "y": 4060.222897529602,\r
914         "z": "2d523017.81121",\r
915         "wires": [\r
916             [\r
917                 "bcc48c45.57047"\r
918             ]\r
919         ]\r
920     },\r
921     {\r
922         "id": "18131921.5c40e7",\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": 2023.9764366149902,\r
929         "y": 4111.222878456116,\r
930         "z": "2d523017.81121",\r
931         "wires": [\r
932             [\r
933                 "f846017e.0f7b7"\r
934             ]\r
935         ]\r
936     },\r
937     {\r
938         "id": "d24ce0d7.c8619",\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": 2559.6907386779785,\r
945         "y": 4056.460795402527,\r
946         "z": "2d523017.81121",\r
947         "wires": [\r
948             [\r
949                 "c028438.b008bc",\r
950                 "225c2fa8.b622f"\r
951             ]\r
952         ]\r
953     },\r
954     {\r
955         "id": "f846017e.0f7b7",\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": 2193.976348876953,\r
962         "y": 4110.794255256653,\r
963         "z": "2d523017.81121",\r
964         "wires": [\r
965             [\r
966                 "3979a64c.84ab9a"\r
967             ]\r
968         ]\r
969     },\r
970     {\r
971         "id": "c028438.b008bc",\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": 2733.9765243530273,\r
978         "y": 4079.365619659424,\r
979         "z": "2d523017.81121",\r
980         "wires": [\r
981             [\r
982                 "24abd19e.88186e"\r
983             ]\r
984         ]\r
985     },\r
986     {\r
987         "id": "24abd19e.88186e",\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": 2931.11922454834,\r
994         "y": 4079.794087409973,\r
995         "z": "2d523017.81121",\r
996         "wires": [\r
997             [\r
998                 "6e6e70c9.1f47f"\r
999             ]\r
1000         ]\r
1001     },\r
1002     {\r
1003         "id": "6e6e70c9.1f47f",\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": 3162.547824859619,\r
1010         "y": 4079.3654623031616,\r
1011         "z": "2d523017.81121",\r
1012         "wires": [\r
1013             [\r
1014                 "41f73a04.000a34"\r
1015             ]\r
1016         ]\r
1017     },\r
1018     {\r
1019         "id": "41f73a04.000a34",\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": 3403.976390838623,\r
1026         "y": 4079.3655586242676,\r
1027         "z": "2d523017.81121",\r
1028         "wires": [\r
1029             [\r
1030                 "ec6b1424.dae298"\r
1031             ]\r
1032         ]\r
1033     },\r
1034     {\r
1035         "id": "ec6b1424.dae298",\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": 3708.262310028076,\r
1042         "y": 4079.22261428833,\r
1043         "z": "2d523017.81121",\r
1044         "wires": [\r
1045             [\r
1046                 "76d1c220.996b9c"\r
1047             ]\r
1048         ]\r
1049     },\r
1050     {\r
1051         "id": "76d1c220.996b9c",\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": 3413.2624473571777,\r
1058         "y": 4196.865568161011,\r
1059         "z": "2d523017.81121",\r
1060         "wires": [\r
1061             [\r
1062                 "1de3d6a.5295a29"\r
1063             ]\r
1064         ]\r
1065     },\r
1066     {\r
1067         "id": "7e1ee9f5.bc8198",\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": 1228.0954284667969,\r
1075         "y": 4015.270573616028,\r
1076         "z": "2d523017.81121",\r
1077         "wires": [\r
1078             [\r
1079                 "c7e1c13d.03db5",\r
1080                 "85730c77.85f6e"\r
1081             ]\r
1082         ]\r
1083     },\r
1084     {\r
1085         "id": "c6001282.4b6e1",\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": 1272.4287872314453,\r
1091         "y": 3887.175227165222,\r
1092         "z": "2d523017.81121",\r
1093         "wires": []\r
1094     },\r
1095     {\r
1096         "id": "1de3d6a.5295a29",\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": 3559.0954246520996,\r
1103         "y": 4196.341676712036,\r
1104         "z": "2d523017.81121",\r
1105         "wires": [\r
1106             [\r
1107                 "f676c278.1ddf2",\r
1108                 "6ee99534.f9db3c",\r
1109                 "133789d2.fbdb36"\r
1110             ]\r
1111         ]\r
1112     },\r
1113     {\r
1114         "id": "f676c278.1ddf2",\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": 3794.333427429199,\r
1120         "y": 4158.484645843506,\r
1121         "z": "2d523017.81121",\r
1122         "wires": []\r
1123     },\r
1124     {\r
1125         "id": "ea99e7e9.ed0b98",\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": 1269.4287109375,\r
1132         "y": 4210.842268943787,\r
1133         "z": "2d523017.81121",\r
1134         "wires": [\r
1135             [\r
1136                 "8b18bc8b.1ecc5"\r
1137             ]\r
1138         ]\r
1139     },\r
1140     {\r
1141         "id": "8b18bc8b.1ecc5",\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": 1439.4286613464355,\r
1148         "y": 4210.842024803162,\r
1149         "z": "2d523017.81121",\r
1150         "wires": [\r
1151             [\r
1152                 "d03cff5b.4eae8"\r
1153             ]\r
1154         ]\r
1155     },\r
1156     {\r
1157         "id": "ab296e58.94c7",\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": 575.6192016601562,\r
1164         "y": 2517.7856969833374,\r
1165         "z": "2d523017.81121",\r
1166         "wires": [\r
1167             [\r
1168                 "a6d2444d.170f18",\r
1169                 "d0c4e96a.f0e598"\r
1170             ]\r
1171         ]\r
1172     },\r
1173     {\r
1174         "id": "a6d2444d.170f18",\r
1175         "type": "outcome",\r
1176         "name": "NULL",\r
1177         "xml": "<outcome value=''>",\r
1178         "comments": "",\r
1179         "outputs": 1,\r
1180         "x": 781.2858734130859,\r
1181         "y": 2494.9286603927612,\r
1182         "z": "2d523017.81121",\r
1183         "wires": [\r
1184             [\r
1185                 "56b5f776.c4c628"\r
1186             ]\r
1187         ]\r
1188     },\r
1189     {\r
1190         "id": "d0c4e96a.f0e598",\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": 782.714469909668,\r
1197         "y": 2539.2142515182495,\r
1198         "z": "2d523017.81121",\r
1199         "wires": [\r
1200             [\r
1201                 "53133cb6.18d844"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "53133cb6.18d844",\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": 937.0002059936523,\r
1212         "y": 2538.6428236961365,\r
1213         "z": "2d523017.81121",\r
1214         "wires": []\r
1215     },\r
1216     {\r
1217         "id": "6f1bca5a.057ce4",\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": 932.7143974304199,\r
1223         "y": 2583.4999294281006,\r
1224         "z": "2d523017.81121",\r
1225         "wires": []\r
1226     },\r
1227     {\r
1228         "id": "8dc1e7e0.9d5668",\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": 548.2382202148438,\r
1235         "y": 2606.3244342803955,\r
1236         "z": "2d523017.81121",\r
1237         "wires": [\r
1238             [\r
1239                 "8002dd41.ae1f",\r
1240                 "896eccc9.b25eb"\r
1241             ]\r
1242         ]\r
1243     },\r
1244     {\r
1245         "id": "8002dd41.ae1f",\r
1246         "type": "outcome",\r
1247         "name": "NULL",\r
1248         "xml": "<outcome value=''>",\r
1249         "comments": "",\r
1250         "outputs": 1,\r
1251         "x": 782.2381935119629,\r
1252         "y": 2583.467366218567,\r
1253         "z": "2d523017.81121",\r
1254         "wires": [\r
1255             [\r
1256                 "6f1bca5a.057ce4"\r
1257             ]\r
1258         ]\r
1259     },\r
1260     {\r
1261         "id": "896eccc9.b25eb",\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": 783.6667900085449,\r
1268         "y": 2627.752957344055,\r
1269         "z": "2d523017.81121",\r
1270         "wires": [\r
1271             [\r
1272                 "17701e26.510582"\r
1273             ]\r
1274         ]\r
1275     },\r
1276     {\r
1277         "id": "17701e26.510582",\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": 937.9525260925293,\r
1283         "y": 2627.181529521942,\r
1284         "z": "2d523017.81121",\r
1285         "wires": []\r
1286     },\r
1287     {\r
1288         "id": "b6fbf29a.0df09",\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": 929.8573303222656,\r
1294         "y": 2672.3571367263794,\r
1295         "z": "2d523017.81121",\r
1296         "wires": []\r
1297     },\r
1298     {\r
1299         "id": "d03eeca7.23711",\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": 556.3810920715332,\r
1306         "y": 2695.1815814971924,\r
1307         "z": "2d523017.81121",\r
1308         "wires": [\r
1309             [\r
1310                 "6aa27ca4.a61d34",\r
1311                 "1ae6e106.ea9c7f"\r
1312             ]\r
1313         ]\r
1314     },\r
1315     {\r
1316         "id": "6aa27ca4.a61d34",\r
1317         "type": "outcome",\r
1318         "name": "NULL",\r
1319         "xml": "<outcome value=''>",\r
1320         "comments": "",\r
1321         "outputs": 1,\r
1322         "x": 779.3810768127441,\r
1323         "y": 2672.324543952942,\r
1324         "z": "2d523017.81121",\r
1325         "wires": [\r
1326             [\r
1327                 "b6fbf29a.0df09"\r
1328             ]\r
1329         ]\r
1330     },\r
1331     {\r
1332         "id": "1ae6e106.ea9c7f",\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": 780.8096733093262,\r
1339         "y": 2716.61013507843,\r
1340         "z": "2d523017.81121",\r
1341         "wires": [\r
1342             [\r
1343                 "56c362db.13020c"\r
1344             ]\r
1345         ]\r
1346     },\r
1347     {\r
1348         "id": "56c362db.13020c",\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": 935.0954093933105,\r
1354         "y": 2716.038707256317,\r
1355         "z": "2d523017.81121",\r
1356         "wires": []\r
1357     },\r
1358     {\r
1359         "id": "9fcfee3c.f2226",\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": 929.8573303222656,\r
1365         "y": 2759.4999589920044,\r
1366         "z": "2d523017.81121",\r
1367         "wires": []\r
1368     },\r
1369     {\r
1370         "id": "494fd3fe.881b4c",\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": 551.3810920715332,\r
1377         "y": 2782.3244037628174,\r
1378         "z": "2d523017.81121",\r
1379         "wires": [\r
1380             [\r
1381                 "3f7d112e.5f72ee",\r
1382                 "6e803b0d.a54dc4"\r
1383             ]\r
1384         ]\r
1385     },\r
1386     {\r
1387         "id": "3f7d112e.5f72ee",\r
1388         "type": "outcome",\r
1389         "name": "NULL",\r
1390         "xml": "<outcome value=''>",\r
1391         "comments": "",\r
1392         "outputs": 1,\r
1393         "x": 779.3810768127441,\r
1394         "y": 2759.467366218567,\r
1395         "z": "2d523017.81121",\r
1396         "wires": [\r
1397             [\r
1398                 "9fcfee3c.f2226"\r
1399             ]\r
1400         ]\r
1401     },\r
1402     {\r
1403         "id": "6e803b0d.a54dc4",\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": 780.8096733093262,\r
1410         "y": 2803.752957344055,\r
1411         "z": "2d523017.81121",\r
1412         "wires": [\r
1413             [\r
1414                 "9d0420e8.1e34b"\r
1415             ]\r
1416         ]\r
1417     },\r
1418     {\r
1419         "id": "9d0420e8.1e34b",\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": 935.0954093933105,\r
1425         "y": 2803.181529521942,\r
1426         "z": "2d523017.81121",\r
1427         "wires": []\r
1428     },\r
1429     {\r
1430         "id": "bcc48c45.57047",\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": 2204.3333892822266,\r
1438         "y": 4060.9997749328613,\r
1439         "z": "2d523017.81121",\r
1440         "wires": [\r
1441             []\r
1442         ]\r
1443     },\r
1444     {\r
1445         "id": "8306b63a.7a6a88",\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": 2049.000030517578,\r
1452         "y": 4015.999689102173,\r
1453         "z": "2d523017.81121",\r
1454         "wires": [\r
1455             [\r
1456                 "ea893bb0.586278"\r
1457             ]\r
1458         ]\r
1459     },\r
1460     {\r
1461         "id": "ea893bb0.586278",\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": 2204.214122772217,\r
1469         "y": 4016.776566505432,\r
1470         "z": "2d523017.81121",\r
1471         "wires": [\r
1472             []\r
1473         ]\r
1474     },\r
1475     {\r
1476         "id": "a5969f85.edad",\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": 2051.000030517578,\r
1483         "y": 3972.666193008423,\r
1484         "z": "2d523017.81121",\r
1485         "wires": [\r
1486             [\r
1487                 "bab4140b.02b308"\r
1488             ]\r
1489         ]\r
1490     },\r
1491     {\r
1492         "id": "bab4140b.02b308",\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": 2204.214122772217,\r
1500         "y": 3973.443070411682,\r
1501         "z": "2d523017.81121",\r
1502         "wires": [\r
1503             []\r
1504         ]\r
1505     },\r
1506     {\r
1507         "id": "84ce6f22.6e9ac",\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": 2051.000030517578,\r
1514         "y": 3929.332941055298,\r
1515         "z": "2d523017.81121",\r
1516         "wires": [\r
1517             [\r
1518                 "fc3367.845aac98"\r
1519             ]\r
1520         ]\r
1521     },\r
1522     {\r
1523         "id": "fc3367.845aac98",\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": 2204.214122772217,\r
1531         "y": 3930.109818458557,\r
1532         "z": "2d523017.81121",\r
1533         "wires": [\r
1534             []\r
1535         ]\r
1536     },\r
1537     {\r
1538         "id": "a129d9ae.667dd8",\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": 1737.3810577392578,\r
1545         "y": 4350.047110080719,\r
1546         "z": "2d523017.81121",\r
1547         "wires": [\r
1548             [\r
1549                 "26e050ad.0575e"\r
1550             ]\r
1551         ]\r
1552     },\r
1553     {\r
1554         "id": "84d519bc.318478",\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": 1726.047622680664,\r
1560         "y": 4395.04719209671,\r
1561         "z": "2d523017.81121",\r
1562         "wires": []\r
1563     },\r
1564     {\r
1565         "id": "31dc7765.4b4208",\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": 511.66682052612305,\r
1571         "y": 5594.547995567322,\r
1572         "z": "2d523017.81121",\r
1573         "wires": []\r
1574     },\r
1575     {\r
1576         "id": "ae22f7f9.632468",\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": 512.5000152587891,\r
1582         "y": 2451.8334608078003,\r
1583         "z": "2d523017.81121",\r
1584         "wires": []\r
1585     },\r
1586     {\r
1587         "id": "530dfe10.6f29",\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": 432.0000877380371,\r
1594         "y": 5804.213758468628,\r
1595         "z": "2d523017.81121",\r
1596         "wires": [\r
1597             [\r
1598                 "8c964a5c.697478",\r
1599                 "9e7283af.92a1c"\r
1600             ]\r
1601         ]\r
1602     },\r
1603     {\r
1604         "id": "2f250d1f.126482",\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": 432.00012588500977,\r
1610         "y": 5734.214241027832,\r
1611         "z": "2d523017.81121",\r
1612         "wires": []\r
1613     },\r
1614     {\r
1615         "id": "3c27d937.bf75c6",\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": 500.83335876464844,\r
1621         "y": 2403.5000038146973,\r
1622         "z": "2d523017.81121",\r
1623         "wires": []\r
1624     },\r
1625     {\r
1626         "id": "6ae8e0f.7c6952",\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": 406.51210021972656,\r
1633         "y": 6370.226758003235,\r
1634         "z": "2d523017.81121",\r
1635         "wires": [\r
1636             []\r
1637         ]\r
1638     },\r
1639     {\r
1640         "id": "72e530eb.ef2a9",\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": 1168.0241317749023,\r
1647         "y": 5627.833315849304,\r
1648         "z": "2d523017.81121",\r
1649         "wires": [\r
1650             [\r
1651                 "1d23943a.cc401c"\r
1652             ]\r
1653         ]\r
1654     },\r
1655     {\r
1656         "id": "560ad615.6ebaf8",\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": 1176.5955619812012,\r
1663         "y": 5672.119029045105,\r
1664         "z": "2d523017.81121",\r
1665         "wires": [\r
1666             [\r
1667                 "48b115c8.09c9bc"\r
1668             ]\r
1669         ]\r
1670     },\r
1671     {\r
1672         "id": "8c964a5c.697478",\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": 606.3574180603027,\r
1679         "y": 5782.833353996277,\r
1680         "z": "2d523017.81121",\r
1681         "wires": [\r
1682             [\r
1683                 "b5f5454e.605518"\r
1684             ]\r
1685         ]\r
1686     },\r
1687     {\r
1688         "id": "9e7283af.92a1c",\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": 614.9288482666016,\r
1695         "y": 5827.119067192078,\r
1696         "z": "2d523017.81121",\r
1697         "wires": [\r
1698             [\r
1699                 "fb7909b7.07d3a8"\r
1700             ]\r
1701         ]\r
1702     },\r
1703     {\r
1704         "id": "dfdec27.324004",\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": 564.1666793823242,\r
1710         "y": 2855.1666078567505,\r
1711         "z": "2d523017.81121",\r
1712         "wires": []\r
1713     },\r
1714     {\r
1715         "id": "f7d7f0fa.89cd2",\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": 1386.357063293457,\r
1722         "y": 2975.1517295837402,\r
1723         "z": "2d523017.81121",\r
1724         "wires": [\r
1725             []\r
1726         ]\r
1727     },\r
1728     {\r
1729         "id": "f1d0780c.c74608",\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": 1172.0237655639648,\r
1736         "y": 3021.8185176849365,\r
1737         "z": "2d523017.81121",\r
1738         "wires": [\r
1739             [\r
1740                 "f7d7f0fa.89cd2",\r
1741                 "49d47361.e5235c",\r
1742                 "68e794dc.43eb9c"\r
1743             ]\r
1744         ]\r
1745     },\r
1746     {\r
1747         "id": "68e794dc.43eb9c",\r
1748         "type": "break",\r
1749         "name": "break",\r
1750         "xml": "<break>\n",\r
1751         "comments": "",\r
1752         "x": 1356.0237274169922,\r
1753         "y": 3065.1518144607544,\r
1754         "z": "2d523017.81121",\r
1755         "wires": []\r
1756     },\r
1757     {\r
1758         "id": "b2e77d6f.5c88e",\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": 743.6667594909668,\r
1765         "y": 5505.628111839294,\r
1766         "z": "2d523017.81121",\r
1767         "wires": [\r
1768             [\r
1769                 "cab1cdc0.80552",\r
1770                 "2c7d624d.a1567e"\r
1771             ]\r
1772         ]\r
1773     },\r
1774     {\r
1775         "id": "2c7d624d.a1567e",\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": 1037.0001487731934,\r
1782         "y": 5528.9615659713745,\r
1783         "z": "2d523017.81121",\r
1784         "wires": [\r
1785             [\r
1786                 "7e45c7a1.1fc228",\r
1787                 "7cb74929.a6a798"\r
1788             ]\r
1789         ]\r
1790     },\r
1791     {\r
1792         "id": "7e45c7a1.1fc228",\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": 1301.8334007263184,\r
1799         "y": 5509.833388328552,\r
1800         "z": "2d523017.81121",\r
1801         "wires": [\r
1802             [\r
1803                 "ac3d2a38.193128"\r
1804             ]\r
1805         ]\r
1806     },\r
1807     {\r
1808         "id": "7cb74929.a6a798",\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": 1310.4048309326172,\r
1815         "y": 5554.119101524353,\r
1816         "z": "2d523017.81121",\r
1817         "wires": [\r
1818             [\r
1819                 "edd6eeb3.58833"\r
1820             ]\r
1821         ]\r
1822     },\r
1823     {\r
1824         "id": "4f0a7869.c1d018",\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": 1122.9761505126953,\r
1830         "y": 3269.437578201294,\r
1831         "z": "2d523017.81121",\r
1832         "wires": []\r
1833     },\r
1834     {\r
1835         "id": "dc580d36.feec6",\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": 484.381046295166,\r
1842         "y": 5409.437698364258,\r
1843         "z": "2d523017.81121",\r
1844         "wires": [\r
1845             [\r
1846                 "65cd03d3.cd933c"\r
1847             ]\r
1848         ]\r
1849     },\r
1850     {\r
1851         "id": "65cd03d3.cd933c",\r
1852         "type": "outcome",\r
1853         "name": "NULL",\r
1854         "xml": "<outcome value=''>",\r
1855         "comments": "",\r
1856         "outputs": 1,\r
1857         "x": 702.952465057373,\r
1858         "y": 5409.009107589722,\r
1859         "z": "2d523017.81121",\r
1860         "wires": [\r
1861             [\r
1862                 "5cdda0db.c6c79"\r
1863             ]\r
1864         ]\r
1865     },\r
1866     {\r
1867         "id": "55344fcf.542e2",\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": 1304.3811073303223,\r
1873         "y": 5427.580345153809,\r
1874         "z": "2d523017.81121",\r
1875         "wires": []\r
1876     },\r
1877     {\r
1878         "id": "5cdda0db.c6c79",\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": 891.5239372253418,\r
1885         "y": 5409.43741941452,\r
1886         "z": "2d523017.81121",\r
1887         "wires": [\r
1888             [\r
1889                 "689f8ebb.877dd",\r
1890                 "dd9a3b97.b39268"\r
1891             ]\r
1892         ]\r
1893     },\r
1894     {\r
1895         "id": "689f8ebb.877dd",\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": 1094.3810443878174,\r
1902         "y": 5383.723169326782,\r
1903         "z": "2d523017.81121",\r
1904         "wires": [\r
1905             [\r
1906                 "63585eee.6f434"\r
1907             ]\r
1908         ]\r
1909     },\r
1910     {\r
1911         "id": "dd9a3b97.b39268",\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": 1095.8096656799316,\r
1918         "y": 5428.008916854858,\r
1919         "z": "2d523017.81121",\r
1920         "wires": [\r
1921             [\r
1922                 "55344fcf.542e2"\r
1923             ]\r
1924         ]\r
1925     },\r
1926     {\r
1927         "id": "2bc8145e.9e6d7c",\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": 522.2024078369141,\r
1934         "y": 188.4255886077881,\r
1935         "z": "2d523017.81121",\r
1936         "wires": [\r
1937             []\r
1938         ]\r
1939     },\r
1940     {\r
1941         "id": "794a160e.b68c48",\r
1942         "type": "outcome",\r
1943         "name": "NULL",\r
1944         "xml": "<outcome value=''>",\r
1945         "comments": "",\r
1946         "outputs": 1,\r
1947         "x": 729.2857055664062,\r
1948         "y": 1853.2470073699951,\r
1949         "z": "2d523017.81121",\r
1950         "wires": [\r
1951             [\r
1952                 "8d68e064.9148"\r
1953             ]\r
1954         ]\r
1955     },\r
1956     {\r
1957         "id": "b4c0271b.8d9548",\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": 1106.9050941467285,\r
1964         "y": 1753.961443901062,\r
1965         "z": "2d523017.81121",\r
1966         "wires": [\r
1967             [\r
1968                 "1882b0bf.c2311f",\r
1969                 "2eeee2ce.d551be",\r
1970                 "b8c05ccb.47683"\r
1971             ]\r
1972         ]\r
1973     },\r
1974     {\r
1975         "id": "8d68e064.9148",\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": 875.0002059936523,\r
1982         "y": 1853.247124671936,\r
1983         "z": "2d523017.81121",\r
1984         "wires": [\r
1985             [\r
1986                 "b4c0271b.8d9548",\r
1987                 "2febaea8.95a862"\r
1988             ]\r
1989         ]\r
1990     },\r
1991     {\r
1992         "id": "2eeee2ce.d551be",\r
1993         "type": "outcome",\r
1994         "name": "N",\r
1995         "xml": "<outcome value='N'>",\r
1996         "comments": "",\r
1997         "outputs": 1,\r
1998         "x": 1293.333480834961,\r
1999         "y": 1754.4375705718994,\r
2000         "z": "2d523017.81121",\r
2001         "wires": [\r
2002             [\r
2003                 "da3712d9.f41f4"\r
2004             ]\r
2005         ]\r
2006     },\r
2007     {\r
2008         "id": "1882b0bf.c2311f",\r
2009         "type": "outcome",\r
2010         "name": "Y",\r
2011         "xml": "<outcome value='Y'>",\r
2012         "comments": "",\r
2013         "outputs": 1,\r
2014         "x": 1293.3334732055664,\r
2015         "y": 1713.0090246200562,\r
2016         "z": "2d523017.81121",\r
2017         "wires": [\r
2018             [\r
2019                 "18523eea.6d6ad1"\r
2020             ]\r
2021         ]\r
2022     },\r
2023     {\r
2024         "id": "b8c05ccb.47683",\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": 1293.3334197998047,\r
2031         "y": 1797.2947025299072,\r
2032         "z": "2d523017.81121",\r
2033         "wires": [\r
2034             [\r
2035                 "da3712d9.f41f4"\r
2036             ]\r
2037         ]\r
2038     },\r
2039     {\r
2040         "id": "18523eea.6d6ad1",\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": 1430.476390838623,\r
2048         "y": 1713.151891708374,\r
2049         "z": "2d523017.81121",\r
2050         "wires": [\r
2051             []\r
2052         ]\r
2053     },\r
2054     {\r
2055         "id": "109f5318.f22f2d",\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": 714.476432800293,\r
2062         "y": 2207.866183280945,\r
2063         "z": "2d523017.81121",\r
2064         "wires": [\r
2065             [\r
2066                 "fa97f7fa.540fd8"\r
2067             ]\r
2068         ]\r
2069     },\r
2070     {\r
2071         "id": "fa97f7fa.540fd8",\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": 880.238395690918,\r
2077         "y": 2206.7234535217285,\r
2078         "z": "2d523017.81121",\r
2079         "wires": []\r
2080     },\r
2081     {\r
2082         "id": "8d7fa952.98d108",\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": 1765.3096733093262,\r
2089         "y": 1903.0089440345764,\r
2090         "z": "2d523017.81121",\r
2091         "wires": [\r
2092             [\r
2093                 "681ac6a0.a11838",\r
2094                 "f4abec22.90002"\r
2095             ]\r
2096         ]\r
2097     },\r
2098     {\r
2099         "id": "681ac6a0.a11838",\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": 2042.4524765014648,\r
2106         "y": 1876.5804772377014,\r
2107         "z": "2d523017.81121",\r
2108         "wires": [\r
2109             [\r
2110                 "6d7f13cc.8d975c"\r
2111             ]\r
2112         ]\r
2113     },\r
2114     {\r
2115         "id": "f4abec22.90002",\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": 2047.2142219543457,\r
2122         "y": 1921.9613881111145,\r
2123         "z": "2d523017.81121",\r
2124         "wires": [\r
2125             [\r
2126                 "f9e4fa65.eb0968"\r
2127             ]\r
2128         ]\r
2129     },\r
2130     {\r
2131         "id": "b5dba753.21ae88",\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": 1720.3099250793457,\r
2137         "y": 1854.1042637825012,\r
2138         "z": "2d523017.81121",\r
2139         "wires": []\r
2140     },\r
2141     {\r
2142         "id": "f9e4fa65.eb0968",\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": 2270.1186180114746,\r
2148         "y": 1921.4374632835388,\r
2149         "z": "2d523017.81121",\r
2150         "wires": []\r
2151     },\r
2152     {\r
2153         "id": "2febaea8.95a862",\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": 1104.6906776428223,\r
2160         "y": 1962.2470607757568,\r
2161         "z": "2d523017.81121",\r
2162         "wires": [\r
2163             [\r
2164                 "8f7b27bf.e7e3a8",\r
2165                 "b931038a.dea97"\r
2166             ]\r
2167         ]\r
2168     },\r
2169     {\r
2170         "id": "8f7b27bf.e7e3a8",\r
2171         "type": "outcome",\r
2172         "name": "NULL",\r
2173         "xml": "<outcome value=''>",\r
2174         "comments": "",\r
2175         "outputs": 1,\r
2176         "x": 1294.6906089782715,\r
2177         "y": 1883.675615310669,\r
2178         "z": "2d523017.81121",\r
2179         "wires": [\r
2180             [\r
2181                 "1ce185e2.fb229a"\r
2182             ]\r
2183         ]\r
2184     },\r
2185     {\r
2186         "id": "b931038a.dea97",\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": 1294.9288482666016,\r
2193         "y": 2011.056559562683,\r
2194         "z": "2d523017.81121",\r
2195         "wires": [\r
2196             [\r
2197                 "42c58d7a.bc5884"\r
2198             ]\r
2199         ]\r
2200     },\r
2201     {\r
2202         "id": "1ce185e2.fb229a",\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": 1447.5478782653809,\r
2209         "y": 1882.2470817565918,\r
2210         "z": "2d523017.81121",\r
2211         "wires": [\r
2212             [\r
2213                 "b5dba753.21ae88",\r
2214                 "8d7fa952.98d108"\r
2215             ]\r
2216         ]\r
2217     },\r
2218     {\r
2219         "id": "17d076a4.213ab9",\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": 1786.595802307129,\r
2226         "y": 2026.7709412574768,\r
2227         "z": "2d523017.81121",\r
2228         "wires": [\r
2229             [\r
2230                 "7ca77e3f.200f2",\r
2231                 "edded880.2d4e08"\r
2232             ]\r
2233         ]\r
2234     },\r
2235     {\r
2236         "id": "42c58d7a.bc5884",\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": 1449.4526977539062,\r
2243         "y": 2011.056559562683,\r
2244         "z": "2d523017.81121",\r
2245         "wires": [\r
2246             [\r
2247                 "9ce0b71c.18bda8",\r
2248                 "17d076a4.213ab9"\r
2249             ]\r
2250         ]\r
2251     },\r
2252     {\r
2253         "id": "9ce0b71c.18bda8",\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": 1696.595718383789,\r
2259         "y": 1981.05659532547,\r
2260         "z": "2d523017.81121",\r
2261         "wires": []\r
2262     },\r
2263     {\r
2264         "id": "efe8f3b.6be4a1",\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": 2346.4527740478516,\r
2270         "y": 2046.770751953125,\r
2271         "z": "2d523017.81121",\r
2272         "wires": []\r
2273     },\r
2274     {\r
2275         "id": "f54d4b54.f29d58",\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": 1912.7142639160156,\r
2282         "y": 6493.819259643555,\r
2283         "z": "2d523017.81121",\r
2284         "wires": [\r
2285             [\r
2286                 "a406d4bc.916068",\r
2287                 "9c453248.1f195",\r
2288                 "d27d64fe.c0c2c8",\r
2289                 "71ce4538.3940fc"\r
2290             ]\r
2291         ]\r
2292     },\r
2293     {\r
2294         "id": "7ca77e3f.200f2",\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": 2084.761848449707,\r
2301         "y": 2001.6994485855103,\r
2302         "z": "2d523017.81121",\r
2303         "wires": [\r
2304             [\r
2305                 "702e58b3.200b38"\r
2306             ]\r
2307         ]\r
2308     },\r
2309     {\r
2310         "id": "edded880.2d4e08",\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": 2089.523593902588,\r
2317         "y": 2047.0803594589233,\r
2318         "z": "2d523017.81121",\r
2319         "wires": [\r
2320             [\r
2321                 "efe8f3b.6be4a1"\r
2322             ]\r
2323         ]\r
2324     },\r
2325     {\r
2326         "id": "8e72cfc8.575e",\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": 739.9999465942383,\r
2333         "y": 1356.666666984558,\r
2334         "z": "2d523017.81121",\r
2335         "wires": [\r
2336             [\r
2337                 "46dd139e.86081c",\r
2338                 "761b2c43.67ef34"\r
2339             ]\r
2340         ]\r
2341     },\r
2342     {\r
2343         "id": "87cefff2.af896",\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": 523.3332939147949,\r
2350         "y": 1357.333312034607,\r
2351         "z": "2d523017.81121",\r
2352         "wires": [\r
2353             [\r
2354                 "8e72cfc8.575e"\r
2355             ]\r
2356         ]\r
2357     },\r
2358     {\r
2359         "id": "46dd139e.86081c",\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": 967.9999847412109,\r
2366         "y": 1288.3334255218506,\r
2367         "z": "2d523017.81121",\r
2368         "wires": [\r
2369             [\r
2370                 "113b83c3.c5f2cc",\r
2371                 "1095d6a8.eb1ea9"\r
2372             ]\r
2373         ]\r
2374     },\r
2375     {\r
2376         "id": "1095d6a8.eb1ea9",\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": 1185.5792770385742,\r
2383         "y": 1319.8174781799316,\r
2384         "z": "2d523017.81121",\r
2385         "wires": [\r
2386             [\r
2387                 "6b5b96d7.f11058"\r
2388             ]\r
2389         ]\r
2390     },\r
2391     {\r
2392         "id": "113b83c3.c5f2cc",\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": 1194.5081100463867,\r
2399         "y": 1256.4366302490234,\r
2400         "z": "2d523017.81121",\r
2401         "wires": [\r
2402             [\r
2403                 "3d4ce14c.b56fbe"\r
2404             ]\r
2405         ]\r
2406     },\r
2407     {\r
2408         "id": "761b2c43.67ef34",\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": 944.9999618530273,\r
2415         "y": 1428.3333644866943,\r
2416         "z": "2d523017.81121",\r
2417         "wires": [\r
2418             [\r
2419                 "ef07f13d.87a9"\r
2420             ]\r
2421         ]\r
2422     },\r
2423     {\r
2424         "id": "ef07f13d.87a9",\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": 1158.3334045410156,\r
2431         "y": 1428.333303451538,\r
2432         "z": "2d523017.81121",\r
2433         "wires": [\r
2434             [\r
2435                 "df5b0cc3.ccd9a"\r
2436             ]\r
2437         ]\r
2438     },\r
2439     {\r
2440         "id": "df5b0cc3.ccd9a",\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": 1330.00004196167,\r
2447         "y": 1428.3333854675293,\r
2448         "z": "2d523017.81121",\r
2449         "wires": [\r
2450             [\r
2451                 "98da2133.07fbe"\r
2452             ]\r
2453         ]\r
2454     },\r
2455     {\r
2456         "id": "98da2133.07fbe",\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": 1549.9999465942383,\r
2463         "y": 1426.6666469573975,\r
2464         "z": "2d523017.81121",\r
2465         "wires": [\r
2466             [\r
2467                 "c6ab56ad.e1e918",\r
2468                 "c4f813df.f6eb3",\r
2469                 "fa511cd0.4acf7"\r
2470             ]\r
2471         ]\r
2472     },\r
2473     {\r
2474         "id": "c4f813df.f6eb3",\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": 1764.2461395263672,\r
2481         "y": 1378.1508359909058,\r
2482         "z": "2d523017.81121",\r
2483         "wires": [\r
2484             [\r
2485                 "1cfc4c24.ab0124"\r
2486             ]\r
2487         ]\r
2488     },\r
2489     {\r
2490         "id": "c6ab56ad.e1e918",\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": 1773.1747360229492,\r
2497         "y": 1336.4365692138672,\r
2498         "z": "2d523017.81121",\r
2499         "wires": [\r
2500             [\r
2501                 "75f0b66c.711368"\r
2502             ]\r
2503         ]\r
2504     },\r
2505     {\r
2506         "id": "fa511cd0.4acf7",\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": 1783.33345413208,\r
2513         "y": 1539.9999542236328,\r
2514         "z": "2d523017.81121",\r
2515         "wires": [\r
2516             [\r
2517                 "2caf3e47.5abe82"\r
2518             ]\r
2519         ]\r
2520     },\r
2521     {\r
2522         "id": "2caf3e47.5abe82",\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": 1936.6665954589844,\r
2529         "y": 1539.3332500457764,\r
2530         "z": "2d523017.81121",\r
2531         "wires": [\r
2532             [\r
2533                 "889214a0.071c58",\r
2534                 "61c009cd.371838",\r
2535                 "1b8b156c.6c083b",\r
2536                 "79b15187.90b49",\r
2537                 "67373c69.98b004"\r
2538             ]\r
2539         ]\r
2540     },\r
2541     {\r
2542         "id": "889214a0.071c58",\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": 2249.2857360839844,\r
2549         "y": 1488.5715045928955,\r
2550         "z": "2d523017.81121",\r
2551         "wires": [\r
2552             [\r
2553                 "64d1075e.ee3f48"\r
2554             ]\r
2555         ]\r
2556     },\r
2557     {\r
2558         "id": "61c009cd.371838",\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": 2279.2856979370117,\r
2564         "y": 1441.9048767089844,\r
2565         "z": "2d523017.81121",\r
2566         "wires": []\r
2567     },\r
2568     {\r
2569         "id": "64d1075e.ee3f48",\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": 2565.952247619629,\r
2576         "y": 1488.5715036392212,\r
2577         "z": "2d523017.81121",\r
2578         "wires": [\r
2579             [\r
2580                 "e14a30ad.b266"\r
2581             ]\r
2582         ]\r
2583     },\r
2584     {\r
2585         "id": "e14a30ad.b266",\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": 2787.619026184082,\r
2592         "y": 1488.5714683532715,\r
2593         "z": "2d523017.81121",\r
2594         "wires": [\r
2595             [\r
2596                 "338a6e83.74e682"\r
2597             ]\r
2598         ]\r
2599     },\r
2600     {\r
2601         "id": "338a6e83.74e682",\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": 2917.61905670166,\r
2609         "y": 1488.5715446472168,\r
2610         "z": "2d523017.81121",\r
2611         "wires": [\r
2612             [\r
2613                 "b65b391.a6cd9c8",\r
2614                 "5a856f0a.aefef"\r
2615             ]\r
2616         ]\r
2617     },\r
2618     {\r
2619         "id": "b65b391.a6cd9c8",\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": 3190.952423095703,\r
2625         "y": 1463.5715236663818,\r
2626         "z": "2d523017.81121",\r
2627         "wires": []\r
2628     },\r
2629     {\r
2630         "id": "5a856f0a.aefef",\r
2631         "type": "break",\r
2632         "name": "break",\r
2633         "xml": "<break>\n",\r
2634         "comments": "",\r
2635         "x": 3084.2860374450684,\r
2636         "y": 1511.904893875122,\r
2637         "z": "2d523017.81121",\r
2638         "wires": []\r
2639     },\r
2640     {\r
2641         "id": "1b8b156c.6c083b",\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": 2260.9523544311523,\r
2648         "y": 1538.5714855194092,\r
2649         "z": "2d523017.81121",\r
2650         "wires": [\r
2651             [\r
2652                 "49805ef2.194a"\r
2653             ]\r
2654         ]\r
2655     },\r
2656     {\r
2657         "id": "49805ef2.194a",\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": 2482.6192016601562,\r
2664         "y": 1538.5715079307556,\r
2665         "z": "2d523017.81121",\r
2666         "wires": [\r
2667             [\r
2668                 "a3ec7ac.ac12b88"\r
2669             ]\r
2670         ]\r
2671     },\r
2672     {\r
2673         "id": "9e4b2f5.d8554d",\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": 571.666633605957,\r
2679         "y": 1308.3334436416626,\r
2680         "z": "2d523017.81121",\r
2681         "wires": []\r
2682     },\r
2683     {\r
2684         "id": "79b15187.90b49",\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": 2240.95267868042,\r
2690         "y": 1586.904821395874,\r
2691         "z": "2d523017.81121",\r
2692         "wires": []\r
2693     },\r
2694     {\r
2695         "id": "67373c69.98b004",\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": 2282.619384765625,\r
2701         "y": 1633.5714893341064,\r
2702         "z": "2d523017.81121",\r
2703         "wires": []\r
2704     },\r
2705     {\r
2706         "id": "5563a4c5.a199ec",\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": 550.8333282470703,\r
2712         "y": 1565.8333930969238,\r
2713         "z": "2d523017.81121",\r
2714         "wires": []\r
2715     },\r
2716     {\r
2717         "id": "a9b7ab72.63a7e8",\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": 668.6667098999023,\r
2724         "y": 5898.80961894989,\r
2725         "z": "2d523017.81121",\r
2726         "wires": [\r
2727             [\r
2728                 "f0f08819.d9d3b8"\r
2729             ]\r
2730         ]\r
2731     },\r
2732     {\r
2733         "id": "97421a9a.865f98",\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": 452.000057220459,\r
2740         "y": 5899.476263999939,\r
2741         "z": "2d523017.81121",\r
2742         "wires": [\r
2743             [\r
2744                 "a9b7ab72.63a7e8"\r
2745             ]\r
2746         ]\r
2747     },\r
2748     {\r
2749         "id": "f0f08819.d9d3b8",\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": 952.0000381469727,\r
2756         "y": 5898.333299636841,\r
2757         "z": "2d523017.81121",\r
2758         "wires": [\r
2759             [\r
2760                 "7a8ee12f.371a6",\r
2761                 "1be782fa.92bfcd"\r
2762             ]\r
2763         ]\r
2764     },\r
2765     {\r
2766         "id": "7a8ee12f.371a6",\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": 1211.3572616577148,\r
2773         "y": 5875.285715103149,\r
2774         "z": "2d523017.81121",\r
2775         "wires": [\r
2776             [\r
2777                 "b5b87fb0.590f"\r
2778             ]\r
2779         ]\r
2780     },\r
2781     {\r
2782         "id": "1be782fa.92bfcd",\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": 1219.9286918640137,\r
2789         "y": 5919.57142829895,\r
2790         "z": "2d523017.81121",\r
2791         "wires": [\r
2792             [\r
2793                 "610d2304.a3d70c"\r
2794             ]\r
2795         ]\r
2796     },\r
2797     {\r
2798         "id": "c41b6137.b6d4b",\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": 1273.5714569091797,\r
2805         "y": 4331.428667068481,\r
2806         "z": "2d523017.81121",\r
2807         "wires": [\r
2808             [\r
2809                 "f2057e5e.eaee4",\r
2810                 "f813a06e.cb2a1",\r
2811                 "ce347497.746558"\r
2812             ]\r
2813         ]\r
2814     },\r
2815     {\r
2816         "id": "f2057e5e.eaee4",\r
2817         "type": "outcome",\r
2818         "name": "NULL",\r
2819         "xml": "<outcome value=''>",\r
2820         "comments": "",\r
2821         "outputs": 1,\r
2822         "x": 1446.4286193847656,\r
2823         "y": 4294.285726547241,\r
2824         "z": "2d523017.81121",\r
2825         "wires": [\r
2826             [\r
2827                 "82fb5a4d.e1f5b8"\r
2828             ]\r
2829         ]\r
2830     },\r
2831     {\r
2832         "id": "f813a06e.cb2a1",\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": 1447.8571891784668,\r
2839         "y": 4332.856889724731,\r
2840         "z": "2d523017.81121",\r
2841         "wires": [\r
2842             [\r
2843                 "82fb5a4d.e1f5b8"\r
2844             ]\r
2845         ]\r
2846     },\r
2847     {\r
2848         "id": "ce347497.746558",\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": 1446.428653717041,\r
2855         "y": 4371.428281784058,\r
2856         "z": "2d523017.81121",\r
2857         "wires": [\r
2858             [\r
2859                 "7cc4f5b7.8976ac"\r
2860             ]\r
2861         ]\r
2862     },\r
2863     {\r
2864         "id": "7cc4f5b7.8976ac",\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": 1567.8572082519531,\r
2872         "y": 4371.428548812866,\r
2873         "z": "2d523017.81121",\r
2874         "wires": [\r
2875             [\r
2876                 "a129d9ae.667dd8",\r
2877                 "84d519bc.318478"\r
2878             ]\r
2879         ]\r
2880     },\r
2881     {\r
2882         "id": "82fb5a4d.e1f5b8",\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": 1639.2858123779297,\r
2888         "y": 4302.856889724731,\r
2889         "z": "2d523017.81121",\r
2890         "wires": []\r
2891     },\r
2892     {\r
2893         "id": "9ab83872.914ab8",\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": 256.7460632324219,\r
2900         "y": 368.11908626556396,\r
2901         "z": "2d523017.81121",\r
2902         "wires": [\r
2903             [\r
2904                 "2bc8145e.9e6d7c",\r
2905                 "49a698b9.947698",\r
2906                 "ade9f393.c1d96",\r
2907                 "36f653c4.5383bc",\r
2908                 "16470885.0e3b37",\r
2909                 "1caeb411.8cfeac",\r
2910                 "fe102b69.7b64c8"\r
2911             ]\r
2912         ]\r
2913     },\r
2914     {\r
2915         "id": "26e050ad.0575e",\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": 1909.047664642334,\r
2923         "y": 4350.032744407654,\r
2924         "z": "2d523017.81121",\r
2925         "wires": [\r
2926             [\r
2927                 "6613870.b132378",\r
2928                 "722310bb.9f769",\r
2929                 "9fd39f7.3cbf46",\r
2930                 "d3095f31.7d4de"\r
2931             ]\r
2932         ]\r
2933     },\r
2934     {\r
2935         "id": "8dc14ff8.fbd57",\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": 1260.4762344360352,\r
2941         "y": 3404.3182973861694,\r
2942         "z": "2d523017.81121",\r
2943         "wires": []\r
2944     },\r
2945     {\r
2946         "id": "6ee99534.f9db3c",\r
2947         "type": "break",\r
2948         "name": "break",\r
2949         "xml": "<break>\n",\r
2950         "comments": "",\r
2951         "x": 3709.3330459594727,\r
2952         "y": 4250.032426834106,\r
2953         "z": "2d523017.81121",\r
2954         "wires": []\r
2955     },\r
2956     {\r
2957         "id": "85730c77.85f6e",\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": 1409.0476379394531,\r
2963         "y": 3955.7468309402466,\r
2964         "z": "2d523017.81121",\r
2965         "wires": []\r
2966     },\r
2967     {\r
2968         "id": "3979a64c.84ab9a",\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": 2380.7619438171387,\r
2975         "y": 4110.032627105713,\r
2976         "z": "2d523017.81121",\r
2977         "wires": [\r
2978             [\r
2979                 "d24ce0d7.c8619",\r
2980                 "c4e4f6d8.6939d8"\r
2981             ]\r
2982         ]\r
2983     },\r
2984     {\r
2985         "id": "c4e4f6d8.6939d8",\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": 2572.1904907226562,\r
2992         "y": 4140.032681465149,\r
2993         "z": "2d523017.81121",\r
2994         "wires": [\r
2995             [\r
2996                 "8700444f.d17ae8"\r
2997             ]\r
2998         ]\r
2999     },\r
3000     {\r
3001         "id": "133789d2.fbdb36",\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": 3765.047924041748,\r
3007         "y": 4204.3181076049805,\r
3008         "z": "2d523017.81121",\r
3009         "wires": []\r
3010     },\r
3011     {\r
3012         "id": "8700444f.d17ae8",\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": 2740.7619819641113,\r
3019         "y": 4140.0326108932495,\r
3020         "z": "2d523017.81121",\r
3021         "wires": [\r
3022             [\r
3023                 "4c345848.e3a208"\r
3024             ]\r
3025         ]\r
3026     },\r
3027     {\r
3028         "id": "4c345848.e3a208",\r
3029         "type": "break",\r
3030         "name": "break",\r
3031         "xml": "<break>\n",\r
3032         "comments": "",\r
3033         "x": 2870.762050628662,\r
3034         "y": 4138.604004859924,\r
3035         "z": "2d523017.81121",\r
3036         "wires": []\r
3037     },\r
3038     {\r
3039         "id": "c1ed15e6.f88648",\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": 1581.0476608276367,\r
3046         "y": 4083.7469053268433,\r
3047         "z": "2d523017.81121",\r
3048         "wires": [\r
3049             [\r
3050                 "e75f10eb.ced4f",\r
3051                 "be46946a.165bb8"\r
3052             ]\r
3053         ]\r
3054     },\r
3055     {\r
3056         "id": "be46946a.165bb8",\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": 1791.0476150512695,\r
3063         "y": 4155.746788978577,\r
3064         "z": "2d523017.81121",\r
3065         "wires": [\r
3066             [\r
3067                 "2f6a30a5.92d22"\r
3068             ]\r
3069         ]\r
3070     },\r
3071     {\r
3072         "id": "2f6a30a5.92d22",\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": 1959.6191062927246,\r
3079         "y": 4155.746718406677,\r
3080         "z": "2d523017.81121",\r
3081         "wires": [\r
3082             [\r
3083                 "587b7976.a36108"\r
3084             ]\r
3085         ]\r
3086     },\r
3087     {\r
3088         "id": "587b7976.a36108",\r
3089         "type": "break",\r
3090         "name": "break",\r
3091         "xml": "<break>\n",\r
3092         "comments": "",\r
3093         "x": 2089.6191749572754,\r
3094         "y": 4154.318112373352,\r
3095         "z": "2d523017.81121",\r
3096         "wires": []\r
3097     },\r
3098     {\r
3099         "id": "9fd39f7.3cbf46",\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": 2063.3334312438965,\r
3105         "y": 4380.714490890503,\r
3106         "z": "2d523017.81121",\r
3107         "wires": []\r
3108     },\r
3109     {\r
3110         "id": "d3095f31.7d4de",\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": 2077.8572120666504,\r
3117         "y": 4433.557444572449,\r
3118         "z": "2d523017.81121",\r
3119         "wires": [\r
3120             [\r
3121                 "a8c627c.ce253d8",\r
3122                 "39879203.ca3c2e"\r
3123             ]\r
3124         ]\r
3125     },\r
3126     {\r
3127         "id": "a8c627c.ce253d8",\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": 2240.714376722063,\r
3134         "y": 4412.1288022994995,\r
3135         "z": "2d523017.81121",\r
3136         "wires": [\r
3137             [\r
3138                 "85e1593a.3a1828"\r
3139             ]\r
3140         ]\r
3141     },\r
3142     {\r
3143         "id": "39879203.ca3c2e",\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": 2239.2857093811035,\r
3150         "y": 4457.843228340149,\r
3151         "z": "2d523017.81121",\r
3152         "wires": [\r
3153             [\r
3154                 "d7a92919.2d05e8"\r
3155             ]\r
3156         ]\r
3157     },\r
3158     {\r
3159         "id": "85e1593a.3a1828",\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": 2413.571575164795,\r
3165         "y": 4410.700198173523,\r
3166         "z": "2d523017.81121",\r
3167         "wires": []\r
3168     },\r
3169     {\r
3170         "id": "d7a92919.2d05e8",\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": 2410.714344024658,\r
3176         "y": 4457.843228340149,\r
3177         "z": "2d523017.81121",\r
3178         "wires": []\r
3179     },\r
3180     {\r
3181         "id": "6613870.b132378",\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": 2078.333381652832,\r
3188         "y": 4262.605116844177,\r
3189         "z": "2d523017.81121",\r
3190         "wires": [\r
3191             [\r
3192                 "75942d08.2adc24"\r
3193             ]\r
3194         ]\r
3195     },\r
3196     {\r
3197         "id": "75942d08.2adc24",\r
3198         "type": "outcome",\r
3199         "name": "NULL",\r
3200         "xml": "<outcome value=''>",\r
3201         "comments": "",\r
3202         "outputs": 1,\r
3203         "x": 2244.999984741211,\r
3204         "y": 4262.604768753052,\r
3205         "z": "2d523017.81121",\r
3206         "wires": [\r
3207             [\r
3208                 "4010a065.68c26"\r
3209             ]\r
3210         ]\r
3211     },\r
3212     {\r
3213         "id": "4010a065.68c26",\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": 2426.6667709350586,\r
3219         "y": 4261.93842124939,\r
3220         "z": "2d523017.81121",\r
3221         "wires": []\r
3222     },\r
3223     {\r
3224         "id": "722310bb.9f769",\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": 2073.5717163085938,\r
3231         "y": 4327.096222877502,\r
3232         "z": "2d523017.81121",\r
3233         "wires": [\r
3234             [\r
3235                 "5fa58662.2f38f8",\r
3236                 "df8a7995.4fde48"\r
3237             ]\r
3238         ]\r
3239     },\r
3240     {\r
3241         "id": "5fa58662.2f38f8",\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": 2239.285858154297,\r
3248         "y": 4308.524620056152,\r
3249         "z": "2d523017.81121",\r
3250         "wires": [\r
3251             [\r
3252                 "5516675c.dd67e8"\r
3253             ]\r
3254         ]\r
3255     },\r
3256     {\r
3257         "id": "df8a7995.4fde48",\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": 2239.285820007324,\r
3264         "y": 4349.953363418579,\r
3265         "z": "2d523017.81121",\r
3266         "wires": [\r
3267             [\r
3268                 "f2e70afd.b8c238"\r
3269             ]\r
3270         ]\r
3271     },\r
3272     {\r
3273         "id": "5516675c.dd67e8",\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": 2426.428623199463,\r
3279         "y": 4307.667547225952,\r
3280         "z": "2d523017.81121",\r
3281         "wires": []\r
3282     },\r
3283     {\r
3284         "id": "f2e70afd.b8c238",\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": 2425.000175476074,\r
3290         "y": 4349.953365325928,\r
3291         "z": "2d523017.81121",\r
3292         "wires": []\r
3293     },\r
3294     {\r
3295         "id": "b7e5144f.5264b8",\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": 705.9999084472656,\r
3302         "y": 4335.333273887634,\r
3303         "z": "2d523017.81121",\r
3304         "wires": [\r
3305             [\r
3306                 "b3ca721f.fe335",\r
3307                 "272dba83.a8aed6",\r
3308                 "83078563.934988",\r
3309                 "5dd2d1e7.b5782"\r
3310             ]\r
3311         ]\r
3312     },\r
3313     {\r
3314         "id": "b3ca721f.fe335",\r
3315         "type": "outcome",\r
3316         "name": "NULL",\r
3317         "xml": "<outcome value=''>",\r
3318         "comments": "",\r
3319         "outputs": 1,\r
3320         "x": 874.0951728820801,\r
3321         "y": 4233.66668510437,\r
3322         "z": "2d523017.81121",\r
3323         "wires": [\r
3324             [\r
3325                 "15298732.e21cb9"\r
3326             ]\r
3327         ]\r
3328     },\r
3329     {\r
3330         "id": "272dba83.a8aed6",\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": 872.6665496826172,\r
3337         "y": 4361.999873161316,\r
3338         "z": "2d523017.81121",\r
3339         "wires": [\r
3340             [\r
3341                 "fde1d716.a4a0e8"\r
3342             ]\r
3343         ]\r
3344     },\r
3345     {\r
3346         "id": "15298732.e21cb9",\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": 1011.4761810302734,\r
3354         "y": 4273.42826461792,\r
3355         "z": "2d523017.81121",\r
3356         "wires": [\r
3357             []\r
3358         ]\r
3359     },\r
3360     {\r
3361         "id": "4e569933.c14918",\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": 1368.0000038146973,\r
3368         "y": 4665.079788208008,\r
3369         "z": "2d523017.81121",\r
3370         "wires": [\r
3371             [\r
3372                 "231fd20b.4ba7ee",\r
3373                 "7d447ac2.636e24"\r
3374             ]\r
3375         ]\r
3376     },\r
3377     {\r
3378         "id": "231fd20b.4ba7ee",\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": 1636.6666679382324,\r
3385         "y": 4495.746629714966,\r
3386         "z": "2d523017.81121",\r
3387         "wires": [\r
3388             [\r
3389                 "c3080a54.9b9f68"\r
3390             ]\r
3391         ]\r
3392     },\r
3393     {\r
3394         "id": "7d447ac2.636e24",\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": 1639.6666984558105,\r
3401         "y": 4858.41314125061,\r
3402         "z": "2d523017.81121",\r
3403         "wires": [\r
3404             [\r
3405                 "75a86f84.f58c6"\r
3406             ]\r
3407         ]\r
3408     },\r
3409     {\r
3410         "id": "75a86f84.f58c6",\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": 1806.0000038146973,\r
3417         "y": 4856.412796020508,\r
3418         "z": "2d523017.81121",\r
3419         "wires": [\r
3420             [\r
3421                 "ec2c65f9.047778",\r
3422                 "ef924ba7.f37c58",\r
3423                 "13bb35f5.a0401a",\r
3424                 "e36fed30.43efa",\r
3425                 "13a6411b.4f65df",\r
3426                 "e8de30ac.6f904",\r
3427                 "dc960591.08f438",\r
3428                 "e90b4b31.6e7908",\r
3429                 "56b41d87.a09d94"\r
3430             ]\r
3431         ]\r
3432     },\r
3433     {\r
3434         "id": "225c2fa8.b622f",\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": 2744.285472869873,\r
3441         "y": 4028.651467323303,\r
3442         "z": "2d523017.81121",\r
3443         "wires": [\r
3444             [\r
3445                 "99500da8.54e39"\r
3446             ]\r
3447         ]\r
3448     },\r
3449     {\r
3450         "id": "99500da8.54e39",\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": 2969.7613105773926,\r
3457         "y": 4029.0800971984863,\r
3458         "z": "2d523017.81121",\r
3459         "wires": [\r
3460             [\r
3461                 "ee0dc0db.eb114"\r
3462             ]\r
3463         ]\r
3464     },\r
3465     {\r
3466         "id": "ee0dc0db.eb114",\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": 3204.9998817443848,\r
3473         "y": 4027.413528442383,\r
3474         "z": "2d523017.81121",\r
3475         "wires": [\r
3476             [\r
3477                 "d270b105.8ac1a"\r
3478             ]\r
3479         ]\r
3480     },\r
3481     {\r
3482         "id": "d270b105.8ac1a",\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": 3471.4282417297363,\r
3489         "y": 4027.413592338562,\r
3490         "z": "2d523017.81121",\r
3491         "wires": [\r
3492             [\r
3493                 "bda20892.371be8"\r
3494             ]\r
3495         ]\r
3496     },\r
3497     {\r
3498         "id": "bda20892.371be8",\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": 3765.000026702881,\r
3504         "y": 4025.747007369995,\r
3505         "z": "2d523017.81121",\r
3506         "wires": []\r
3507     },\r
3508     {\r
3509         "id": "ec2c65f9.047778",\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": 2125.3331718444824,\r
3516         "y": 4552.080429077148,\r
3517         "z": "2d523017.81121",\r
3518         "wires": [\r
3519             []\r
3520         ]\r
3521     },\r
3522     {\r
3523         "id": "13bb35f5.a0401a",\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": 2182.33296585083,\r
3530         "y": 4655.509169578552,\r
3531         "z": "2d523017.81121",\r
3532         "wires": [\r
3533             [\r
3534                 "3038b18e.e97b7e"\r
3535             ]\r
3536         ]\r
3537     },\r
3538     {\r
3539         "id": "ef924ba7.f37c58",\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": 2146.9997596740723,\r
3546         "y": 4595.413772583008,\r
3547         "z": "2d523017.81121",\r
3548         "wires": [\r
3549             []\r
3550         ]\r
3551     },\r
3552     {\r
3553         "id": "59c331da.0d09b",\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": 452.33337783813477,\r
3560         "y": 4502.079788208008,\r
3561         "z": "2d523017.81121",\r
3562         "wires": [\r
3563             []\r
3564         ]\r
3565     },\r
3566     {\r
3567         "id": "3038b18e.e97b7e",\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": 2511.442153930664,\r
3574         "y": 4655.259647369385,\r
3575         "z": "2d523017.81121",\r
3576         "wires": [\r
3577             [\r
3578                 "f361b5ff.f38548"\r
3579             ]\r
3580         ]\r
3581     },\r
3582     {\r
3583         "id": "e36fed30.43efa",\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": 2124.999988555908,\r
3589         "y": 4715.746793746948,\r
3590         "z": "2d523017.81121",\r
3591         "wires": []\r
3592     },\r
3593     {\r
3594         "id": "e8de30ac.6f904",\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": 2065.9998817443848,\r
3601         "y": 4791.080276489258,\r
3602         "z": "2d523017.81121",\r
3603         "wires": [\r
3604             [\r
3605                 "bb11fe98.9b1b9",\r
3606                 "12e91c7e.074344"\r
3607             ]\r
3608         ]\r
3609     },\r
3610     {\r
3611         "id": "bb11fe98.9b1b9",\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": 2276.2379302978516,\r
3618         "y": 4769.74663066864,\r
3619         "z": "2d523017.81121",\r
3620         "wires": [\r
3621             [\r
3622                 "b897f854.8a4f58"\r
3623             ]\r
3624         ]\r
3625     },\r
3626     {\r
3627         "id": "12e91c7e.074344",\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": 2283.3808250427246,\r
3634         "y": 4815.460855484009,\r
3635         "z": "2d523017.81121",\r
3636         "wires": [\r
3637             [\r
3638                 "a1cce433.a5c9a8"\r
3639             ]\r
3640         ]\r
3641     },\r
3642     {\r
3643         "id": "eb288d10.2446b",\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": 2515.6666984558105,\r
3650         "y": 4964.080413818359,\r
3651         "z": "2d523017.81121",\r
3652         "wires": [\r
3653             [\r
3654                 "23ed24a4.2c91dc",\r
3655                 "b4f16506.66bd08"\r
3656             ]\r
3657         ]\r
3658     },\r
3659     {\r
3660         "id": "23ed24a4.2c91dc",\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": 2728.9047470092773,\r
3667         "y": 4942.746912956238,\r
3668         "z": "2d523017.81121",\r
3669         "wires": [\r
3670             [\r
3671                 "3e5e2886.704ec8"\r
3672             ]\r
3673         ]\r
3674     },\r
3675     {\r
3676         "id": "b4f16506.66bd08",\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": 2736.0476417541504,\r
3683         "y": 4988.461137771606,\r
3684         "z": "2d523017.81121",\r
3685         "wires": [\r
3686             [\r
3687                 "fb3762dd.d74d3"\r
3688             ]\r
3689         ]\r
3690     },\r
3691     {\r
3692         "id": "e2f76977.fea098",\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": 2482.6666984558105,\r
3699         "y": 5090.0805587768555,\r
3700         "z": "2d523017.81121",\r
3701         "wires": [\r
3702             [\r
3703                 "586febb.af11914"\r
3704             ]\r
3705         ]\r
3706     },\r
3707     {\r
3708         "id": "586febb.af11914",\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": 2680.6666984558105,\r
3715         "y": 5090.0805587768555,\r
3716         "z": "2d523017.81121",\r
3717         "wires": [\r
3718             [\r
3719                 "1b7b682d.5dd008"\r
3720             ]\r
3721         ]\r
3722     },\r
3723     {\r
3724         "id": "1b7b682d.5dd008",\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": 2850.6666984558105,\r
3731         "y": 5090.0805587768555,\r
3732         "z": "2d523017.81121",\r
3733         "wires": [\r
3734             [\r
3735                 "9b43a30b.ab1c1"\r
3736             ]\r
3737         ]\r
3738     },\r
3739     {\r
3740         "id": "9b43a30b.ab1c1",\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": 3018.6666984558105,\r
3747         "y": 5088.0805587768555,\r
3748         "z": "2d523017.81121",\r
3749         "wires": [\r
3750             [\r
3751                 "97d76a2c.076008",\r
3752                 "47618d94.b0d374",\r
3753                 "1bf4c98d.f9c076"\r
3754             ]\r
3755         ]\r
3756     },\r
3757     {\r
3758         "id": "97d76a2c.076008",\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": 3194.6666984558105,\r
3764         "y": 5048.0805587768555,\r
3765         "z": "2d523017.81121",\r
3766         "wires": []\r
3767     },\r
3768     {\r
3769         "id": "47618d94.b0d374",\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": 3216.6666984558105,\r
3776         "y": 5106.0805587768555,\r
3777         "z": "2d523017.81121",\r
3778         "wires": [\r
3779             [\r
3780                 "1f2ba326.d9772d",\r
3781                 "fbf7fa7c.23d608"\r
3782             ]\r
3783         ]\r
3784     },\r
3785     {\r
3786         "id": "1f2ba326.d9772d",\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": 3396.7143058776855,\r
3793         "y": 5088.2236251831055,\r
3794         "z": "2d523017.81121",\r
3795         "wires": [\r
3796             [\r
3797                 "cf0cc9f2.e1c008"\r
3798             ]\r
3799         ]\r
3800     },\r
3801     {\r
3802         "id": "13a6411b.4f65df",\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": 2053.6666297912598,\r
3809         "y": 5020.414123535156,\r
3810         "z": "2d523017.81121",\r
3811         "wires": [\r
3812             [\r
3813                 "668947e0.2f65c8"\r
3814             ]\r
3815         ]\r
3816     },\r
3817     {\r
3818         "id": "668947e0.2f65c8",\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": 2258.6666297912598,\r
3825         "y": 5021.747268676758,\r
3826         "z": "2d523017.81121",\r
3827         "wires": [\r
3828             [\r
3829                 "eb288d10.2446b",\r
3830                 "e2f76977.fea098",\r
3831                 "986e7ac7.81d148"\r
3832             ]\r
3833         ]\r
3834     },\r
3835     {\r
3836         "id": "e90b4b31.6e7908",\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": 2014.6666297912598,\r
3843         "y": 4910.080276489258,\r
3844         "z": "2d523017.81121",\r
3845         "wires": [\r
3846             [\r
3847                 "896e1959.7fd6a8"\r
3848             ]\r
3849         ]\r
3850     },\r
3851     {\r
3852         "id": "dc960591.08f438",\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": 2083.3332176208496,\r
3858         "y": 4861.080129623413,\r
3859         "z": "2d523017.81121",\r
3860         "wires": []\r
3861     },\r
3862     {\r
3863         "id": "896e1959.7fd6a8",\r
3864         "type": "outcome",\r
3865         "name": "NULL",\r
3866         "xml": "<outcome value=''>",\r
3867         "comments": "",\r
3868         "outputs": 1,\r
3869         "x": 2178.6666297912598,\r
3870         "y": 4910.080276489258,\r
3871         "z": "2d523017.81121",\r
3872         "wires": [\r
3873             [\r
3874                 "83542037.398bf"\r
3875             ]\r
3876         ]\r
3877     },\r
3878     {\r
3879         "id": "83542037.398bf",\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": 2338.6666297912598,\r
3885         "y": 4910.080276489258,\r
3886         "z": "2d523017.81121",\r
3887         "wires": []\r
3888     },\r
3889     {\r
3890         "id": "986e7ac7.81d148",\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": 2486.3332862854004,\r
3896         "y": 5020.747100830078,\r
3897         "z": "2d523017.81121",\r
3898         "wires": []\r
3899     },\r
3900     {\r
3901         "id": "56b41d87.a09d94",\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": 2048.6666984558105,\r
3907         "y": 5164.080413818359,\r
3908         "z": "2d523017.81121",\r
3909         "wires": []\r
3910     },\r
3911     {\r
3912         "id": "fbf7fa7c.23d608",\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": 3398.6666984558105,\r
3919         "y": 5136.080413818359,\r
3920         "z": "2d523017.81121",\r
3921         "wires": [\r
3922             [\r
3923                 "dc2e5d86.8c21f"\r
3924             ]\r
3925         ]\r
3926     },\r
3927     {\r
3928         "id": "dc2e5d86.8c21f",\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": 3590.6666984558105,\r
3934         "y": 5136.080413818359,\r
3935         "z": "2d523017.81121",\r
3936         "wires": []\r
3937     },\r
3938     {\r
3939         "id": "1bf4c98d.f9c076",\r
3940         "type": "break",\r
3941         "name": "break",\r
3942         "xml": "<break>\n",\r
3943         "comments": "",\r
3944         "x": 3168.6666984558105,\r
3945         "y": 5174.080413818359,\r
3946         "z": "2d523017.81121",\r
3947         "wires": []\r
3948     },\r
3949     {\r
3950         "id": "2f24f627.1d687a",\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": 845.0000114440918,\r
3956         "y": 4193.842397689819,\r
3957         "z": "2d523017.81121",\r
3958         "wires": []\r
3959     },\r
3960     {\r
3961         "id": "83078563.934988",\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": 872.1428337097168,\r
3968         "y": 4276.69953918457,\r
3969         "z": "2d523017.81121",\r
3970         "wires": [\r
3971             [\r
3972                 "15298732.e21cb9"\r
3973             ]\r
3974         ]\r
3975     },\r
3976     {\r
3977         "id": "5dd2d1e7.b5782",\r
3978         "type": "outcome",\r
3979         "name": "NULL",\r
3980         "xml": "<outcome value='NULL'>",\r
3981         "comments": "",\r
3982         "outputs": 1,\r
3983         "x": 872.14284324646,\r
3984         "y": 4319.556611061096,\r
3985         "z": "2d523017.81121",\r
3986         "wires": [\r
3987             [\r
3988                 "15298732.e21cb9"\r
3989             ]\r
3990         ]\r
3991     },\r
3992     {\r
3993         "id": "36f653c4.5383bc",\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": 521.6667022705078,\r
4000         "y": 367.4136428833008,\r
4001         "z": "2d523017.81121",\r
4002         "wires": [\r
4003             [\r
4004                 "6073cd09.c47954",\r
4005                 "60806490.79275c"\r
4006             ]\r
4007         ]\r
4008     },\r
4009     {\r
4010         "id": "6073cd09.c47954",\r
4011         "type": "other",\r
4012         "name": "NULL",\r
4013         "xml": "<outcome value=''>\n",\r
4014         "comments": "",\r
4015         "outputs": 1,\r
4016         "x": 705.0000762939453,\r
4017         "y": 337.413631439209,\r
4018         "z": "2d523017.81121",\r
4019         "wires": [\r
4020             [\r
4021                 "a192c343.146f"\r
4022             ]\r
4023         ]\r
4024     },\r
4025     {\r
4026         "id": "60806490.79275c",\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": 704.7619819641113,\r
4033         "y": 378.3661251068115,\r
4034         "z": "2d523017.81121",\r
4035         "wires": [\r
4036             [\r
4037                 "7907b.f03a3f85"\r
4038             ]\r
4039         ]\r
4040     },\r
4041     {\r
4042         "id": "a192c343.146f",\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": 840.0000305175781,\r
4050         "y": 335.7469711303711,\r
4051         "z": "2d523017.81121",\r
4052         "wires": [\r
4053             []\r
4054         ]\r
4055     },\r
4056     {\r
4057         "id": "7907b.f03a3f85",\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": 921.6666870117188,\r
4063         "y": 377.41365242004395,\r
4064         "z": "2d523017.81121",\r
4065         "wires": []\r
4066     },\r
4067     {\r
4068         "id": "16470885.0e3b37",\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": 539.5238265991211,\r
4075         "y": 688.2142810821533,\r
4076         "z": "2d523017.81121",\r
4077         "wires": [\r
4078             []\r
4079         ]\r
4080     },\r
4081     {\r
4082         "id": "1caeb411.8cfeac",\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": 519.6665420532227,\r
4089         "y": 853.7857685089111,\r
4090         "z": "2d523017.81121",\r
4091         "wires": [\r
4092             [\r
4093                 "37f74e26.cb2452",\r
4094                 "beba854c.d89668"\r
4095             ]\r
4096         ]\r
4097     },\r
4098     {\r
4099         "id": "37f74e26.cb2452",\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": 731.3806991577148,\r
4106         "y": 927.0710525512695,\r
4107         "z": "2d523017.81121",\r
4108         "wires": [\r
4109             [\r
4110                 "c8588b9c.b0d898"\r
4111             ]\r
4112         ]\r
4113     },\r
4114     {\r
4115         "id": "beba854c.d89668",\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": 730.9522171020508,\r
4122         "y": 790.6428861618042,\r
4123         "z": "2d523017.81121",\r
4124         "wires": [\r
4125             [\r
4126                 "4645b056.44eb1"\r
4127             ]\r
4128         ]\r
4129     },\r
4130     {\r
4131         "id": "97a46274.9df5e",\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": 911.111156463623,\r
4138         "y": 489.38886737823486,\r
4139         "z": "2d523017.81121",\r
4140         "wires": [\r
4141             [\r
4142                 "2a1c1eb.da980e2",\r
4143                 "22c02af2.d4ee26"\r
4144             ]\r
4145         ]\r
4146     },\r
4147     {\r
4148         "id": "df6715d9.ce37d8",\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": 911.111156463623,\r
4155         "y": 537.9603090286255,\r
4156         "z": "2d523017.81121",\r
4157         "wires": [\r
4158             [\r
4159                 "b8d206be.845728",\r
4160                 "22c02af2.d4ee26"\r
4161             ]\r
4162         ]\r
4163     },\r
4164     {\r
4165         "id": "e48fe633.d5a078",\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": 913.9682731628418,\r
4172         "y": 582.2460145950317,\r
4173         "z": "2d523017.81121",\r
4174         "wires": [\r
4175             [\r
4176                 "da0200d1.6944b",\r
4177                 "22c02af2.d4ee26"\r
4178             ]\r
4179         ]\r
4180     },\r
4181     {\r
4182         "id": "2a1c1eb.da980e2",\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": 1147.539737701416,\r
4189         "y": 489.3888578414917,\r
4190         "z": "2d523017.81121",\r
4191         "wires": [\r
4192             []\r
4193         ]\r
4194     },\r
4195     {\r
4196         "id": "b8d206be.845728",\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": 1146.1111488342285,\r
4203         "y": 538.1031522750854,\r
4204         "z": "2d523017.81121",\r
4205         "wires": [\r
4206             []\r
4207         ]\r
4208     },\r
4209     {\r
4210         "id": "da0200d1.6944b",\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": 1146.1111488342285,\r
4217         "y": 582.2460050582886,\r
4218         "z": "2d523017.81121",\r
4219         "wires": [\r
4220             []\r
4221         ]\r
4222     },\r
4223     {\r
4224         "id": "198f8218.7133ee",\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": 1181.9878044128418,\r
4231         "y": 688.1072311401367,\r
4232         "z": "2d523017.81121",\r
4233         "wires": [\r
4234             [\r
4235                 "d458bfd1.de073"\r
4236             ]\r
4237         ]\r
4238     },\r
4239     {\r
4240         "id": "e83e7b2d.1d4268",\r
4241         "type": "comment",\r
4242         "name": "SELF-SERVE FORK",\r
4243         "info": "",\r
4244         "comments": "",\r
4245         "x": 901.4285583496094,\r
4246         "y": 741.5119113922119,\r
4247         "z": "2d523017.81121",\r
4248         "wires": []\r
4249     },\r
4250     {\r
4251         "id": "d458bfd1.de073",\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": 1387.285385131836,\r
4258         "y": 687.5952625274658,\r
4259         "z": "2d523017.81121",\r
4260         "wires": [\r
4261             [\r
4262                 "c261dd9e.7394e"\r
4263             ]\r
4264         ]\r
4265     },\r
4266     {\r
4267         "id": "da6cb5e4.41c2f8",\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": 1157.2301712036133,\r
4273         "y": 936.789656996727,\r
4274         "z": "2d523017.81121",\r
4275         "wires": []\r
4276     },\r
4277     {\r
4278         "id": "828a78b6.35b498",\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": 1245.0991516113281,\r
4284         "y": 739.599271774292,\r
4285         "z": "2d523017.81121",\r
4286         "wires": []\r
4287     },\r
4288     {\r
4289         "id": "b15ef9f9.2e3088",\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": 1144.3014678955078,\r
4296         "y": 790.0390481948853,\r
4297         "z": "2d523017.81121",\r
4298         "wires": [\r
4299             []\r
4300         ]\r
4301     },\r
4302     {\r
4303         "id": "4645b056.44eb1",\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": 921.5394287109375,\r
4310         "y": 790.4999408721924,\r
4311         "z": "2d523017.81121",\r
4312         "wires": [\r
4313             [\r
4314                 "198f8218.7133ee",\r
4315                 "828a78b6.35b498",\r
4316                 "b15ef9f9.2e3088",\r
4317                 "da6cb5e4.41c2f8",\r
4318                 "afb784f3.b92c98",\r
4319                 "179daba.4616354"\r
4320             ]\r
4321         ]\r
4322     },\r
4323     {\r
4324         "id": "22c02af2.d4ee26",\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": 1762.9842987060547,\r
4332         "y": 767.2462577819824,\r
4333         "z": "2d523017.81121",\r
4334         "wires": [\r
4335             [\r
4336                 "9f6e7d2d.65cdb",\r
4337                 "efad6026.2740a"\r
4338             ]\r
4339         ]\r
4340     },\r
4341     {\r
4342         "id": "c261dd9e.7394e",\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": 1563.3016738891602,\r
4349         "y": 687.785698890686,\r
4350         "z": "2d523017.81121",\r
4351         "wires": [\r
4352             [\r
4353                 "6b697ba4.a67094",\r
4354                 "22c02af2.d4ee26"\r
4355             ]\r
4356         ]\r
4357     },\r
4358     {\r
4359         "id": "6b697ba4.a67094",\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": 1774.8296203613281,\r
4366         "y": 629.690544128418,\r
4367         "z": "2d523017.81121",\r
4368         "wires": [\r
4369             []\r
4370         ]\r
4371     },\r
4372     {\r
4373         "id": "853dab16.a11508",\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": 2205.666618347168,\r
4380         "y": 1201.666597366333,\r
4381         "z": "2d523017.81121",\r
4382         "wires": [\r
4383             []\r
4384         ]\r
4385     },\r
4386     {\r
4387         "id": "e351344c.af7228",\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": 1582.7617416381836,\r
4394         "y": 1256.476245880127,\r
4395         "z": "2d523017.81121",\r
4396         "wires": [\r
4397             []\r
4398         ]\r
4399     },\r
4400     {\r
4401         "id": "564bf42f.5df9ac",\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": 1582.761703491211,\r
4408         "y": 1319.619031906128,\r
4409         "z": "2d523017.81121",\r
4410         "wires": [\r
4411             []\r
4412         ]\r
4413     },\r
4414     {\r
4415         "id": "33ec168e.11b45a",\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": 2177.333206176758,\r
4422         "y": 1335.9523315429688,\r
4423         "z": "2d523017.81121",\r
4424         "wires": [\r
4425             []\r
4426         ]\r
4427     },\r
4428     {\r
4429         "id": "38b03742.d98548",\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": 2178.8094482421875,\r
4436         "y": 1377.666732788086,\r
4437         "z": "2d523017.81121",\r
4438         "wires": [\r
4439             []\r
4440         ]\r
4441     },\r
4442     {\r
4443         "id": "56ab1164.7603f",\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": 2863.3335571289062,\r
4450         "y": 1536.1904573440552,\r
4451         "z": "2d523017.81121",\r
4452         "wires": [\r
4453             []\r
4454         ]\r
4455     },\r
4456     {\r
4457         "id": "60b9af41.99ebd",\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": 2889.345314025879,\r
4465         "y": 1840.3692474365234,\r
4466         "z": "2d523017.81121",\r
4467         "wires": [\r
4468             [\r
4469                 "816ac0ef.84b68",\r
4470                 "67ea33dc.59706c"\r
4471             ]\r
4472         ]\r
4473     },\r
4474     {\r
4475         "id": "67d1f32e.64262c",\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": 2000.6664962768555,\r
4482         "y": 1199.9998836517334,\r
4483         "z": "2d523017.81121",\r
4484         "wires": [\r
4485             [\r
4486                 "853dab16.a11508",\r
4487                 "60b9af41.99ebd"\r
4488             ]\r
4489         ]\r
4490     },\r
4491     {\r
4492         "id": "3d4ce14c.b56fbe",\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": 1370.999984741211,\r
4499         "y": 1256.6664772033691,\r
4500         "z": "2d523017.81121",\r
4501         "wires": [\r
4502             [\r
4503                 "e351344c.af7228",\r
4504                 "60b9af41.99ebd"\r
4505             ]\r
4506         ]\r
4507     },\r
4508     {\r
4509         "id": "6b5b96d7.f11058",\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": 1371.666358947754,\r
4516         "y": 1319.3331823349,\r
4517         "z": "2d523017.81121",\r
4518         "wires": [\r
4519             [\r
4520                 "564bf42f.5df9ac",\r
4521                 "60b9af41.99ebd"\r
4522             ]\r
4523         ]\r
4524     },\r
4525     {\r
4526         "id": "75f0b66c.711368",\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": 1959.9998779296875,\r
4533         "y": 1336.3333625793457,\r
4534         "z": "2d523017.81121",\r
4535         "wires": [\r
4536             [\r
4537                 "33ec168e.11b45a",\r
4538                 "60b9af41.99ebd"\r
4539             ]\r
4540         ]\r
4541     },\r
4542     {\r
4543         "id": "1cfc4c24.ab0124",\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": 1958.333251953125,\r
4550         "y": 1378.333251953125,\r
4551         "z": "2d523017.81121",\r
4552         "wires": [\r
4553             [\r
4554                 "38b03742.d98548",\r
4555                 "60b9af41.99ebd"\r
4556             ]\r
4557         ]\r
4558     },\r
4559     {\r
4560         "id": "a3ec7ac.ac12b88",\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": 2652.619094848633,\r
4567         "y": 1536.9047193527222,\r
4568         "z": "2d523017.81121",\r
4569         "wires": [\r
4570             [\r
4571                 "56ab1164.7603f",\r
4572                 "60b9af41.99ebd"\r
4573             ]\r
4574         ]\r
4575     },\r
4576     {\r
4577         "id": "da3712d9.f41f4",\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": 1459.0475540161133,\r
4584         "y": 1771.9046249389648,\r
4585         "z": "2d523017.81121",\r
4586         "wires": [\r
4587             [\r
4588                 "62fa2d49.68c884",\r
4589                 "5de10e3b.8401c"\r
4590             ]\r
4591         ]\r
4592     },\r
4593     {\r
4594         "id": "62fa2d49.68c884",\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": 1688.90478515625,\r
4601         "y": 1772.3329601287842,\r
4602         "z": "2d523017.81121",\r
4603         "wires": [\r
4604             []\r
4605         ]\r
4606     },\r
4607     {\r
4608         "id": "6d7f13cc.8d975c",\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": 2211.9046783447266,\r
4615         "y": 1875.7618045806885,\r
4616         "z": "2d523017.81121",\r
4617         "wires": [\r
4618             [\r
4619                 "4b15fa7b.a37b24",\r
4620                 "5de10e3b.8401c"\r
4621             ]\r
4622         ]\r
4623     },\r
4624     {\r
4625         "id": "4b15fa7b.a37b24",\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": 2420.0475540161133,\r
4632         "y": 1875.3331956863403,\r
4633         "z": "2d523017.81121",\r
4634         "wires": [\r
4635             []\r
4636         ]\r
4637     },\r
4638     {\r
4639         "id": "702e58b3.200b38",\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": 2260.476104736328,\r
4646         "y": 2001.9045372009277,\r
4647         "z": "2d523017.81121",\r
4648         "wires": [\r
4649             [\r
4650                 "20b0a05b.f52ee",\r
4651                 "5de10e3b.8401c"\r
4652             ]\r
4653         ]\r
4654     },\r
4655     {\r
4656         "id": "20b0a05b.f52ee",\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": 2483.3331604003906,\r
4663         "y": 2002.3332080841064,\r
4664         "z": "2d523017.81121",\r
4665         "wires": [\r
4666             []\r
4667         ]\r
4668     },\r
4669     {\r
4670         "id": "5de10e3b.8401c",\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": 2535.2147064208984,\r
4678         "y": 2257.333641052246,\r
4679         "z": "2d523017.81121",\r
4680         "wires": [\r
4681             [\r
4682                 "731462dd.b506dc",\r
4683                 "33152a66.1de486"\r
4684             ]\r
4685         ]\r
4686     },\r
4687     {\r
4688         "id": "55ab3764.a14138",\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": 952.8571090698242,\r
4695         "y": 2912.2857341766357,\r
4696         "z": "2d523017.81121",\r
4697         "wires": [\r
4698             [\r
4699                 "f054f599.b671b8",\r
4700                 "2115eaa4.e5b146"\r
4701             ]\r
4702         ]\r
4703     },\r
4704     {\r
4705         "id": "f054f599.b671b8",\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": 1151.428451538086,\r
4712         "y": 2878.0000200271606,\r
4713         "z": "2d523017.81121",\r
4714         "wires": [\r
4715             []\r
4716         ]\r
4717     },\r
4718     {\r
4719         "id": "cbecda63.60f978",\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": 956.1904602050781,\r
4726         "y": 2955.619020462036,\r
4727         "z": "2d523017.81121",\r
4728         "wires": [\r
4729             [\r
4730                 "7ff32092.da86f",\r
4731                 "2115eaa4.e5b146"\r
4732             ]\r
4733         ]\r
4734     },\r
4735     {\r
4736         "id": "7ff32092.da86f",\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": 1154.7618026733398,\r
4743         "y": 2921.333306312561,\r
4744         "z": "2d523017.81121",\r
4745         "wires": [\r
4746             []\r
4747         ]\r
4748     },\r
4749     {\r
4750         "id": "9a466e25.4156f",\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": 814.5238952636719,\r
4757         "y": 3134.619167327881,\r
4758         "z": "2d523017.81121",\r
4759         "wires": [\r
4760             [\r
4761                 "9a766ef3.dad01",\r
4762                 "2115eaa4.e5b146"\r
4763             ]\r
4764         ]\r
4765     },\r
4766     {\r
4767         "id": "9a766ef3.dad01",\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": 1024.5238876342773,\r
4774         "y": 3113.190655708313,\r
4775         "z": "2d523017.81121",\r
4776         "wires": [\r
4777             []\r
4778         ]\r
4779     },\r
4780     {\r
4781         "id": "2115eaa4.e5b146",\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": 1911.1072616577148,\r
4788         "y": 3689.820848464966,\r
4789         "z": "2d523017.81121",\r
4790         "wires": [\r
4791             [\r
4792                 "77d28d98.052f64",\r
4793                 "2dcd5fd9.caa1d",\r
4794                 "e2453329.ce9e1",\r
4795                 "d8bb9422.93cd78"\r
4796             ]\r
4797         ]\r
4798     },\r
4799     {\r
4800         "id": "5be8614b.d2283",\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": 1099.9999923706055,\r
4807         "y": 3224.714331626892,\r
4808         "z": "2d523017.81121",\r
4809         "wires": [\r
4810             [\r
4811                 "8a74d4c9.f4d158",\r
4812                 "2115eaa4.e5b146"\r
4813             ]\r
4814         ]\r
4815     },\r
4816     {\r
4817         "id": "8a74d4c9.f4d158",\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": 1302.8571014404297,\r
4824         "y": 3191.8572273254395,\r
4825         "z": "2d523017.81121",\r
4826         "wires": [\r
4827             []\r
4828         ]\r
4829     },\r
4830     {\r
4831         "id": "1b9558ce.3c84a7",\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": 1669.9999465942383,\r
4838         "y": 3434.285619735718,\r
4839         "z": "2d523017.81121",\r
4840         "wires": [\r
4841             [\r
4842                 "f01f3cd.81c20c",\r
4843                 "2115eaa4.e5b146"\r
4844             ]\r
4845         ]\r
4846     },\r
4847     {\r
4848         "id": "f01f3cd.81c20c",\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": 1881.4285507202148,\r
4855         "y": 3402.8569107055664,\r
4856         "z": "2d523017.81121",\r
4857         "wires": [\r
4858             []\r
4859         ]\r
4860     },\r
4861     {\r
4862         "id": "f361b5ff.f38548",\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": 2690.4761276245117,\r
4869         "y": 4655.667684555054,\r
4870         "z": "2d523017.81121",\r
4871         "wires": [\r
4872             [\r
4873                 "87fd5071.f5e61",\r
4874                 "9615c407.df8ac8"\r
4875             ]\r
4876         ]\r
4877     },\r
4878     {\r
4879         "id": "87fd5071.f5e61",\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": 2901.9046325683594,\r
4886         "y": 4624.238899230957,\r
4887         "z": "2d523017.81121",\r
4888         "wires": [\r
4889             []\r
4890         ]\r
4891     },\r
4892     {\r
4893         "id": "c3080a54.9b9f68",\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": 1803.1428604125977,\r
4900         "y": 4496.048126220703,\r
4901         "z": "2d523017.81121",\r
4902         "wires": [\r
4903             [\r
4904                 "67128ab5.195dd4",\r
4905                 "9615c407.df8ac8"\r
4906             ]\r
4907         ]\r
4908     },\r
4909     {\r
4910         "id": "67128ab5.195dd4",\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": 2017.1428604125977,\r
4917         "y": 4477.190979003906,\r
4918         "z": "2d523017.81121",\r
4919         "wires": [\r
4920             []\r
4921         ]\r
4922     },\r
4923     {\r
4924         "id": "b897f854.8a4f58",\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": 2447.6190872192383,\r
4931         "y": 4771.667268753052,\r
4932         "z": "2d523017.81121",\r
4933         "wires": [\r
4934             [\r
4935                 "90365fab.e2211",\r
4936                 "9615c407.df8ac8"\r
4937             ]\r
4938         ]\r
4939     },\r
4940     {\r
4941         "id": "90365fab.e2211",\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": 2654.762107849121,\r
4948         "y": 4747.381650924683,\r
4949         "z": "2d523017.81121",\r
4950         "wires": [\r
4951             []\r
4952         ]\r
4953     },\r
4954     {\r
4955         "id": "a1cce433.a5c9a8",\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": 2462.6190872192383,\r
4962         "y": 4816.667268753052,\r
4963         "z": "2d523017.81121",\r
4964         "wires": [\r
4965             [\r
4966                 "1a20c9fe.aa7526",\r
4967                 "9615c407.df8ac8"\r
4968             ]\r
4969         ]\r
4970     },\r
4971     {\r
4972         "id": "1a20c9fe.aa7526",\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": 2664.0477294921875,\r
4979         "y": 4790.953462600708,\r
4980         "z": "2d523017.81121",\r
4981         "wires": [\r
4982             []\r
4983         ]\r
4984     },\r
4985     {\r
4986         "id": "3e5e2886.704ec8",\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": 2906.6664810180664,\r
4993         "y": 4942.143200874329,\r
4994         "z": "2d523017.81121",\r
4995         "wires": [\r
4996             [\r
4997                 "474a1c8f.5b8254",\r
4998                 "9615c407.df8ac8"\r
4999             ]\r
5000         ]\r
5001     },\r
5002     {\r
5003         "id": "474a1c8f.5b8254",\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": 3122.380844116211,\r
5010         "y": 4912.143190383911,\r
5011         "z": "2d523017.81121",\r
5012         "wires": [\r
5013             []\r
5014         ]\r
5015     },\r
5016     {\r
5017         "id": "fb3762dd.d74d3",\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": 2918.3332290649414,\r
5024         "y": 4987.143200874329,\r
5025         "z": "2d523017.81121",\r
5026         "wires": [\r
5027             [\r
5028                 "d13c17c6.96baa8",\r
5029                 "9615c407.df8ac8"\r
5030             ]\r
5031         ]\r
5032     },\r
5033     {\r
5034         "id": "d13c17c6.96baa8",\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": 3134.047592163086,\r
5041         "y": 4957.143190383911,\r
5042         "z": "2d523017.81121",\r
5043         "wires": [\r
5044             []\r
5045         ]\r
5046     },\r
5047     {\r
5048         "id": "cf0cc9f2.e1c008",\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": 3562.618698120117,\r
5055         "y": 5088.333766937256,\r
5056         "z": "2d523017.81121",\r
5057         "wires": [\r
5058             [\r
5059                 "583a5088.c3e55",\r
5060                 "9615c407.df8ac8"\r
5061             ]\r
5062         ]\r
5063     },\r
5064     {\r
5065         "id": "583a5088.c3e55",\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": 3775.475830078125,\r
5072         "y": 5061.190900802612,\r
5073         "z": "2d523017.81121",\r
5074         "wires": [\r
5075             []\r
5076         ]\r
5077     },\r
5078     {\r
5079         "id": "9615c407.df8ac8",\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": 3682.345771789551,\r
5086         "y": 5539.275134086609,\r
5087         "z": "2d523017.81121",\r
5088         "wires": [\r
5089             [\r
5090                 "2f005b1.f6000a4",\r
5091                 "567a5bcf.b1abd4",\r
5092                 "bda56dc4.abbc",\r
5093                 "ab1a0201.102be"\r
5094             ]\r
5095         ]\r
5096     },\r
5097     {\r
5098         "id": "4fcc2ec6.5268d",\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": 1669.9999313354492,\r
5105         "y": 3484.2856159210205,\r
5106         "z": "2d523017.81121",\r
5107         "wires": [\r
5108             [\r
5109                 "75ca8e5d.ce23a",\r
5110                 "2115eaa4.e5b146"\r
5111             ]\r
5112         ]\r
5113     },\r
5114     {\r
5115         "id": "75ca8e5d.ce23a",\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": 1881.4285354614258,\r
5122         "y": 3452.856906890869,\r
5123         "z": "2d523017.81121",\r
5124         "wires": [\r
5125             []\r
5126         ]\r
5127     },\r
5128     {\r
5129         "id": "39a027a0.277908",\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": 1805.71435546875,\r
5136         "y": 4195.714210510254,\r
5137         "z": "2d523017.81121",\r
5138         "wires": [\r
5139             []\r
5140         ]\r
5141     },\r
5142     {\r
5143         "id": "d03cff5b.4eae8",\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": 1605.71435546875,\r
5150         "y": 4210,\r
5151         "z": "2d523017.81121",\r
5152         "wires": [\r
5153             [\r
5154                 "39a027a0.277908",\r
5155                 "9615c407.df8ac8"\r
5156             ]\r
5157         ]\r
5158     },\r
5159     {\r
5160         "id": "63585eee.6f434",\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": 1259.9999389648438,\r
5167         "y": 5382.856773376465,\r
5168         "z": "2d523017.81121",\r
5169         "wires": [\r
5170             [\r
5171                 "2dd248fd.0355f8",\r
5172                 "f54d4b54.f29d58"\r
5173             ]\r
5174         ]\r
5175     },\r
5176     {\r
5177         "id": "2dd248fd.0355f8",\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": 1462.8570709228516,\r
5184         "y": 5364.28534412384,\r
5185         "z": "2d523017.81121",\r
5186         "wires": [\r
5187             []\r
5188         ]\r
5189     },\r
5190     {\r
5191         "id": "ac3d2a38.193128",\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": 1487.3811264038086,\r
5198         "y": 5509.524040222168,\r
5199         "z": "2d523017.81121",\r
5200         "wires": [\r
5201             [\r
5202                 "fcb662f2.e888c",\r
5203                 "f54d4b54.f29d58"\r
5204             ]\r
5205         ]\r
5206     },\r
5207     {\r
5208         "id": "fcb662f2.e888c",\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": 1688.8096771240234,\r
5215         "y": 5489.524041175842,\r
5216         "z": "2d523017.81121",\r
5217         "wires": [\r
5218             []\r
5219         ]\r
5220     },\r
5221     {\r
5222         "id": "edd6eeb3.58833",\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": 1489.047752380371,\r
5229         "y": 5552.857048034668,\r
5230         "z": "2d523017.81121",\r
5231         "wires": [\r
5232             [\r
5233                 "ed7e59f3.736ce8",\r
5234                 "f54d4b54.f29d58"\r
5235             ]\r
5236         ]\r
5237     },\r
5238     {\r
5239         "id": "ed7e59f3.736ce8",\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": 1690.476303100586,\r
5246         "y": 5532.857048988342,\r
5247         "z": "2d523017.81121",\r
5248         "wires": [\r
5249             []\r
5250         ]\r
5251     },\r
5252     {\r
5253         "id": "1d23943a.cc401c",\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": 1346.904800415039,\r
5260         "y": 5627.618696212769,\r
5261         "z": "2d523017.81121",\r
5262         "wires": [\r
5263             [\r
5264                 "5db8f40e.5238ec",\r
5265                 "f54d4b54.f29d58"\r
5266             ]\r
5267         ]\r
5268     },\r
5269     {\r
5270         "id": "5db8f40e.5238ec",\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": 1544.5833358764648,\r
5277         "y": 5606.011522293091,\r
5278         "z": "2d523017.81121",\r
5279         "wires": [\r
5280             []\r
5281         ]\r
5282     },\r
5283     {\r
5284         "id": "48b115c8.09c9bc",\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": 1366.9642944335938,\r
5291         "y": 5672.678614616394,\r
5292         "z": "2d523017.81121",\r
5293         "wires": [\r
5294             [\r
5295                 "33966a0a.bc1c26",\r
5296                 "f54d4b54.f29d58"\r
5297             ]\r
5298         ]\r
5299     },\r
5300     {\r
5301         "id": "33966a0a.bc1c26",\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": 1571.2500610351562,\r
5308         "y": 5649.821611404419,\r
5309         "z": "2d523017.81121",\r
5310         "wires": [\r
5311             []\r
5312         ]\r
5313     },\r
5314     {\r
5315         "id": "b5f5454e.605518",\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": 782.6785583496094,\r
5322         "y": 5782.29768371582,\r
5323         "z": "2d523017.81121",\r
5324         "wires": [\r
5325             [\r
5326                 "5a2cf836.80cc88",\r
5327                 "f54d4b54.f29d58"\r
5328             ]\r
5329         ]\r
5330     },\r
5331     {\r
5332         "id": "5a2cf836.80cc88",\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": 988.3928985595703,\r
5339         "y": 5758.011829376221,\r
5340         "z": "2d523017.81121",\r
5341         "wires": [\r
5342             []\r
5343         ]\r
5344     },\r
5345     {\r
5346         "id": "fb7909b7.07d3a8",\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": 796.0118713378906,\r
5353         "y": 5825.63117980957,\r
5354         "z": "2d523017.81121",\r
5355         "wires": [\r
5356             [\r
5357                 "840ebe47.1002a",\r
5358                 "f54d4b54.f29d58"\r
5359             ]\r
5360         ]\r
5361     },\r
5362     {\r
5363         "id": "840ebe47.1002a",\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": 1001.7262115478516,\r
5370         "y": 5801.345325469971,\r
5371         "z": "2d523017.81121",\r
5372         "wires": [\r
5373             []\r
5374         ]\r
5375     },\r
5376     {\r
5377         "id": "b5b87fb0.590f",\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": 1376.059555053711,\r
5384         "y": 5875.011758804321,\r
5385         "z": "2d523017.81121",\r
5386         "wires": [\r
5387             [\r
5388                 "9605363d.80ae88",\r
5389                 "f54d4b54.f29d58"\r
5390             ]\r
5391         ]\r
5392     },\r
5393     {\r
5394         "id": "9605363d.80ae88",\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": 1570.3452758789062,\r
5401         "y": 5849.2977504730225,\r
5402         "z": "2d523017.81121",\r
5403         "wires": [\r
5404             []\r
5405         ]\r
5406     },\r
5407     {\r
5408         "id": "610d2304.a3d70c",\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": 1391.059555053711,\r
5415         "y": 5918.345254898071,\r
5416         "z": "2d523017.81121",\r
5417         "wires": [\r
5418             [\r
5419                 "70fd7745.526758",\r
5420                 "f54d4b54.f29d58"\r
5421             ]\r
5422         ]\r
5423     },\r
5424     {\r
5425         "id": "70fd7745.526758",\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": 1585.3452758789062,\r
5432         "y": 5892.6312465667725,\r
5433         "z": "2d523017.81121",\r
5434         "wires": [\r
5435             []\r
5436         ]\r
5437     },\r
5438     {\r
5439         "id": "b01ba289.b4c4d",\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": 485.9878692626953,\r
5446         "y": 6282.9891719818115,\r
5447         "z": "2d523017.81121",\r
5448         "wires": [\r
5449             [\r
5450                 "b8a25bcd.5c5768",\r
5451                 "336fda4d.6f39d6"\r
5452             ]\r
5453         ]\r
5454     },\r
5455     {\r
5456         "id": "b8a25bcd.5c5768",\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": 733.2006301879883,\r
5463         "y": 6304.319892883301,\r
5464         "z": "2d523017.81121",\r
5465         "wires": [\r
5466             [\r
5467                 "dd704ec0.5452"\r
5468             ]\r
5469         ]\r
5470     },\r
5471     {\r
5472         "id": "336fda4d.6f39d6",\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": 725.629264831543,\r
5479         "y": 6262.819912910461,\r
5480         "z": "2d523017.81121",\r
5481         "wires": [\r
5482             [\r
5483                 "dd704ec0.5452"\r
5484             ]\r
5485         ]\r
5486     },\r
5487     {\r
5488         "id": "dd704ec0.5452",\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": 901.225944519043,\r
5495         "y": 6282.750367164612,\r
5496         "z": "2d523017.81121",\r
5497         "wires": [\r
5498             [\r
5499                 "70b79c9a.11b3d4",\r
5500                 "f54d4b54.f29d58"\r
5501             ]\r
5502         ]\r
5503     },\r
5504     {\r
5505         "id": "70b79c9a.11b3d4",\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": 1106.9402542114258,\r
5512         "y": 6248.464484214783,\r
5513         "z": "2d523017.81121",\r
5514         "wires": [\r
5515             []\r
5516         ]\r
5517     },\r
5518     {\r
5519         "id": "f93440f1.dad62",\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": 456.7604293823242,\r
5525         "y": 6425.500561714172,\r
5526         "z": "2d523017.81121",\r
5527         "wires": []\r
5528     },\r
5529     {\r
5530         "id": "fe102b69.7b64c8",\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": 554.42724609375,\r
5536         "y": 261.9549217224121,\r
5537         "z": "2d523017.81121",\r
5538         "wires": []\r
5539     },\r
5540     {\r
5541         "id": "77d28d98.052f64",\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": 2236.9576263427734,\r
5548         "y": 3740.151798248291,\r
5549         "z": "2d523017.81121",\r
5550         "wires": [\r
5551             []\r
5552         ]\r
5553     },\r
5554     {\r
5555         "id": "afb784f3.b92c98",\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": 1197.5128784179688,\r
5561         "y": 836.2629871368408,\r
5562         "z": "2d523017.81121",\r
5563         "wires": []\r
5564     },\r
5565     {\r
5566         "id": "2dcd5fd9.caa1d",\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": 2183.762954711914,\r
5572         "y": 3639.040738105774,\r
5573         "z": "2d523017.81121",\r
5574         "wires": []\r
5575     },\r
5576     {\r
5577         "id": "e2453329.ce9e1",\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": 2281.334228515625,\r
5584         "y": 3689.1830978393555,\r
5585         "z": "2d523017.81121",\r
5586         "wires": [\r
5587             []\r
5588         ]\r
5589     },\r
5590     {\r
5591         "id": "bda56dc4.abbc",\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": 4015.7076721191406,\r
5598         "y": 5563.346151351929,\r
5599         "z": "2d523017.81121",\r
5600         "wires": [\r
5601             []\r
5602         ]\r
5603     },\r
5604     {\r
5605         "id": "2f005b1.f6000a4",\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": 3962.5130004882812,\r
5611         "y": 5462.235091209412,\r
5612         "z": "2d523017.81121",\r
5613         "wires": []\r
5614     },\r
5615     {\r
5616         "id": "567a5bcf.b1abd4",\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": 4060.084274291992,\r
5623         "y": 5512.377450942993,\r
5624         "z": "2d523017.81121",\r
5625         "wires": [\r
5626             []\r
5627         ]\r
5628     },\r
5629     {\r
5630         "id": "d27d64fe.c0c2c8",\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": 2244.8742904663086,\r
5637         "y": 6544.319822311401,\r
5638         "z": "2d523017.81121",\r
5639         "wires": [\r
5640             []\r
5641         ]\r
5642     },\r
5643     {\r
5644         "id": "9c453248.1f195",\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": 2187.929588317871,\r
5650         "y": 6443.2088985443115,\r
5651         "z": "2d523017.81121",\r
5652         "wires": []\r
5653     },\r
5654     {\r
5655         "id": "a406d4bc.916068",\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": 2285.500862121582,\r
5662         "y": 6493.351258277893,\r
5663         "z": "2d523017.81121",\r
5664         "wires": [\r
5665             []\r
5666         ]\r
5667     },\r
5668     {\r
5669         "id": "9f6e7d2d.65cdb",\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": 2077.3744049072266,\r
5676         "y": 740.8462972640991,\r
5677         "z": "2d523017.81121",\r
5678         "wires": [\r
5679             []\r
5680         ]\r
5681     },\r
5682     {\r
5683         "id": "816ac0ef.84b68",\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": 3201.1239700317383,\r
5690         "y": 1816.596351146698,\r
5691         "z": "2d523017.81121",\r
5692         "wires": [\r
5693             []\r
5694         ]\r
5695     },\r
5696     {\r
5697         "id": "731462dd.b506dc",\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": 2853.6240234375,\r
5704         "y": 2231.346435546875,\r
5705         "z": "2d523017.81121",\r
5706         "wires": [\r
5707             []\r
5708         ]\r
5709     },\r
5710     {\r
5711         "id": "5091afc0.4393d",\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": 521.2630310058594,\r
5718         "y": 6479.874531745911,\r
5719         "z": "2d523017.81121",\r
5720         "wires": [\r
5721             []\r
5722         ]\r
5723     },\r
5724     {\r
5725         "id": "179daba.4616354",\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": 1269.5129089355469,\r
5732         "y": 885.0129909515381,\r
5733         "z": "2d523017.81121",\r
5734         "wires": [\r
5735             []\r
5736         ]\r
5737     },\r
5738     {\r
5739         "id": "efad6026.2740a",\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": 1958.762954711914,\r
5745         "y": 791.2629833221436,\r
5746         "z": "2d523017.81121",\r
5747         "wires": []\r
5748     },\r
5749     {\r
5750         "id": "67ea33dc.59706c",\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": 3082.512939453125,\r
5756         "y": 1860.8463134765625,\r
5757         "z": "2d523017.81121",\r
5758         "wires": []\r
5759     },\r
5760     {\r
5761         "id": "33152a66.1de486",\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": 2737.512939453125,\r
5767         "y": 2279.596435546875,\r
5768         "z": "2d523017.81121",\r
5769         "wires": []\r
5770     },\r
5771     {\r
5772         "id": "d8bb9422.93cd78",\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": 2117.5130882263184,\r
5778         "y": 3787.929880142212,\r
5779         "z": "2d523017.81121",\r
5780         "wires": []\r
5781     },\r
5782     {\r
5783         "id": "ab1a0201.102be",\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": 3898.485107421875,\r
5789         "y": 5613.06884765625,\r
5790         "z": "2d523017.81121",\r
5791         "wires": []\r
5792     },\r
5793     {\r
5794         "id": "71ce4538.3940fc",\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": 2124.735321044922,\r
5800         "y": 6591.263185501099,\r
5801         "z": "2d523017.81121",\r
5802         "wires": []\r
5803     },\r
5804     {\r
5805         "id": "7381e60f.8d7388",\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": 510.0130157470703,\r
5812         "y": 6086.542016029358,\r
5813         "z": "2d523017.81121",\r
5814         "wires": [\r
5815             []\r
5816         ]\r
5817     },\r
5818     {\r
5819         "id": "ef3b1f74.d9716",\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": 465.012939453125,\r
5826         "y": 6137.969970703125,\r
5827         "z": "2d523017.81121",\r
5828         "wires": [\r
5829             []\r
5830         ]\r
5831     },\r
5832     {\r
5833         "id": "4c1fc0a3.ee098",\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": 410.90589904785156,\r
5839         "y": 6185.827503204346,\r
5840         "z": "2d523017.81121",\r
5841         "wires": []\r
5842     }\r
5843 ]