GRAPI 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": 503.04761505126953,\r
69         "y": 303.8898277282715,\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": 756.7619094848633,\r
86         "y": 281.0327091217041,\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": 718.7618751525879,\r
102         "y": 326.7470369338989,\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": 941.6190376281738,\r
119         "y": 281.0327386856079,\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                 "ebd11f4a.d9ea2"\r
173             ]\r
174         ]\r
175     },\r
176     {\r
177         "id": "ade9f393.c1d96",\r
178         "type": "get-resource",\r
179         "name": "get-resource VF_MODEL",\r
180         "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
181         "comments": "",\r
182         "outputs": 1,\r
183         "x": 515.3809204101562,\r
184         "y": 395.0326976776123,\r
185         "z": "2d523017.81121",\r
186         "wires": [\r
187             [\r
188                 "1e3f6d8d.668b62",\r
189                 "270acedb.4b2862"\r
190             ]\r
191         ]\r
192     },\r
193     {\r
194         "id": "1e3f6d8d.668b62",\r
195         "type": "failure",\r
196         "name": "failure",\r
197         "xml": "<outcome value='failure'>\n",\r
198         "comments": "",\r
199         "outputs": 1,\r
200         "x": 716.166618347168,\r
201         "y": 375.413535118103,\r
202         "z": "2d523017.81121",\r
203         "wires": [\r
204             [\r
205                 "df6715d9.ce37d8"\r
206             ]\r
207         ]\r
208     },\r
209     {\r
210         "id": "270acedb.4b2862",\r
211         "type": "not-found",\r
212         "name": "not-found",\r
213         "xml": "<outcome value='not-found'>\n",\r
214         "comments": "",\r
215         "outputs": 1,\r
216         "x": 724.7380485534668,\r
217         "y": 419.6992483139038,\r
218         "z": "2d523017.81121",\r
219         "wires": [\r
220             [\r
221                 "e48fe633.d5a078"\r
222             ]\r
223         ]\r
224     },\r
225     {\r
226         "id": "50e14066.4a8fb",\r
227         "type": "switchNode",\r
228         "name": "switch service-data.vnfs.vnf_length",\r
229         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
230         "comments": "",\r
231         "outputs": 1,\r
232         "x": 549.0475845336914,\r
233         "y": 1145.9851322174072,\r
234         "z": "2d523017.81121",\r
235         "wires": [\r
236             [\r
237                 "a52ad9f3.5409f8",\r
238                 "f1a27d38.307e4"\r
239             ]\r
240         ]\r
241     },\r
242     {\r
243         "id": "a52ad9f3.5409f8",\r
244         "type": "other",\r
245         "name": "NULL",\r
246         "xml": "<outcome value=''>\n",\r
247         "comments": "",\r
248         "outputs": 1,\r
249         "x": 774.7619132995605,\r
250         "y": 1113.1279201507568,\r
251         "z": "2d523017.81121",\r
252         "wires": [\r
253             [\r
254                 "5a889bed.1fd0a4"\r
255             ]\r
256         ]\r
257     },\r
258     {\r
259         "id": "5a889bed.1fd0a4",\r
260         "type": "set",\r
261         "name": "set vnf-index=0",\r
262         "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",\r
263         "comments": "",\r
264         "x": 939.0476341247559,\r
265         "y": 1112.1279983520508,\r
266         "z": "2d523017.81121",\r
267         "wires": []\r
268     },\r
269     {\r
270         "id": "f1a27d38.307e4",\r
271         "type": "other",\r
272         "name": "other",\r
273         "xml": "<outcome value='Other'>\n",\r
274         "comments": "",\r
275         "outputs": 1,\r
276         "x": 776.1904754638672,\r
277         "y": 1177.4137382507324,\r
278         "z": "2d523017.81121",\r
279         "wires": [\r
280             [\r
281                 "ff49d41f.68ca58"\r
282             ]\r
283         ]\r
284     },\r
285     {\r
286         "id": "742d47cf.681298",\r
287         "type": "set",\r
288         "name": "set vnf-index = vnf_length",\r
289         "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",\r
290         "comments": "",\r
291         "x": 1194.0476303100586,\r
292         "y": 1155.699426651001,\r
293         "z": "2d523017.81121",\r
294         "wires": []\r
295     },\r
296     {\r
297         "id": "841debf7.ded508",\r
298         "type": "for",\r
299         "name": "for each existing VNF",\r
300         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
301         "comments": "",\r
302         "outputs": 1,\r
303         "x": 1179.4761428833008,\r
304         "y": 1201.6993656158447,\r
305         "z": "2d523017.81121",\r
306         "wires": [\r
307             [\r
308                 "7d0d1ffd.f9c63"\r
309             ]\r
310         ]\r
311     },\r
312     {\r
313         "id": "ff49d41f.68ca58",\r
314         "type": "block",\r
315         "name": "block : atomic",\r
316         "xml": "<block atomic='true'>",\r
317         "atomic": "true",\r
318         "comments": "",\r
319         "outputs": 1,\r
320         "x": 949.9047355651855,\r
321         "y": 1177.413703918457,\r
322         "z": "2d523017.81121",\r
323         "wires": [\r
324             [\r
325                 "742d47cf.681298",\r
326                 "841debf7.ded508"\r
327             ]\r
328         ]\r
329     },\r
330     {\r
331         "id": "7d0d1ffd.f9c63",\r
332         "type": "switchNode",\r
333         "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",\r
334         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",\r
335         "comments": "",\r
336         "outputs": 1,\r
337         "x": 1533.7619094848633,\r
338         "y": 1201.270845413208,\r
339         "z": "2d523017.81121",\r
340         "wires": [\r
341             [\r
342                 "8c6a6fdd.7581b"\r
343             ]\r
344         ]\r
345     },\r
346     {\r
347         "id": "8c6a6fdd.7581b",\r
348         "type": "outcomeTrue",\r
349         "name": "true",\r
350         "xml": "<outcome value='true'>\n",\r
351         "comments": "",\r
352         "outputs": 1,\r
353         "x": 1828.047664642334,\r
354         "y": 1200.8423299789429,\r
355         "z": "2d523017.81121",\r
356         "wires": [\r
357             [\r
358                 "67d1f32e.64262c"\r
359             ]\r
360         ]\r
361     },\r
362     {\r
363         "id": "7be2c7fd.7f9938",\r
364         "type": "comment",\r
365         "name": "make sure this VNF doesn't exist already",\r
366         "info": "",\r
367         "comments": "",\r
368         "x": 1520.904640197754,\r
369         "y": 1158.8422756195068,\r
370         "z": "2d523017.81121",\r
371         "wires": []\r
372     },\r
373     {\r
374         "id": "945671e8.3d2b7",\r
375         "type": "set",\r
376         "name": "set vnf-topology data",\r
377         "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
378         "comments": "",\r
379         "x": 514.7618675231934,\r
380         "y": 1677.6518993377686,\r
381         "z": "2d523017.81121",\r
382         "wires": []\r
383     },\r
384     {\r
385         "id": "7054feb2.2900b",\r
386         "type": "switchNode",\r
387         "name": "switch input vnf-name",\r
388         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-name`'>\n",\r
389         "comments": "",\r
390         "outputs": 1,\r
391         "x": 527.2618865966797,\r
392         "y": 2039.770956993103,\r
393         "z": "2d523017.81121",\r
394         "wires": [\r
395             [\r
396                 "794a160e.b68c48",\r
397                 "109f5318.f22f2d"\r
398             ]\r
399         ]\r
400     },\r
401     {\r
402         "id": "25919575.6cb00a",\r
403         "type": "get-resource",\r
404         "name": "get-resource cloud region",\r
405         "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
406         "comments": "",\r
407         "outputs": 1,\r
408         "x": 559.4048309326172,\r
409         "y": 2935.7706928253174,\r
410         "z": "2d523017.81121",\r
411         "wires": [\r
412             [\r
413                 "da5da517.ae2e18",\r
414                 "54304dd.70307b4"\r
415             ]\r
416         ]\r
417     },\r
418     {\r
419         "id": "54304dd.70307b4",\r
420         "type": "failure",\r
421         "name": "failure",\r
422         "xml": "<outcome value='failure'>\n",\r
423         "comments": "",\r
424         "outputs": 1,\r
425         "x": 767.5081481933594,\r
426         "y": 2954.921399116516,\r
427         "z": "2d523017.81121",\r
428         "wires": [\r
429             [\r
430                 "cbecda63.60f978"\r
431             ]\r
432         ]\r
433     },\r
434     {\r
435         "id": "da5da517.ae2e18",\r
436         "type": "not-found",\r
437         "name": "not-found",\r
438         "xml": "<outcome value='not-found'>\n",\r
439         "comments": "",\r
440         "outputs": 1,\r
441         "x": 776.4367446899414,\r
442         "y": 2912.2071323394775,\r
443         "z": "2d523017.81121",\r
444         "wires": [\r
445             [\r
446                 "55ab3764.a14138"\r
447             ]\r
448         ]\r
449     },\r
450     {\r
451         "id": "10583438.2574cc",\r
452         "type": "get-resource",\r
453         "name": "get-resource VF_TO_NETWORK_ROLE_MAPPING",\r
454         "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
455         "comments": "",\r
456         "outputs": 1,\r
457         "x": 624.6429138183594,\r
458         "y": 3246.8182125091553,\r
459         "z": "2d523017.81121",\r
460         "wires": [\r
461             [\r
462                 "b9431e3d.b421d",\r
463                 "395440a1.5e6de"\r
464             ]\r
465         ]\r
466     },\r
467     {\r
468         "id": "b9431e3d.b421d",\r
469         "type": "failure",\r
470         "name": "failure",\r
471         "xml": "<outcome value='failure'>\n",\r
472         "comments": "",\r
473         "outputs": 1,\r
474         "x": 920.4285850524902,\r
475         "y": 3225.532377243042,\r
476         "z": "2d523017.81121",\r
477         "wires": [\r
478             [\r
479                 "5be8614b.d2283"\r
480             ]\r
481         ]\r
482     },\r
483     {\r
484         "id": "395440a1.5e6de",\r
485         "type": "not-found",\r
486         "name": "not-found",\r
487         "xml": "<outcome value='not-found'>\n",\r
488         "comments": "",\r
489         "outputs": 1,\r
490         "x": 929.0000152587891,\r
491         "y": 3269.818090438843,\r
492         "z": "2d523017.81121",\r
493         "wires": [\r
494             [\r
495                 "4f0a7869.c1d018"\r
496             ]\r
497         ]\r
498     },\r
499     {\r
500         "id": "fde1d716.a4a0e8",\r
501         "type": "block",\r
502         "name": "block : atomic",\r
503         "xml": "<block atomic=\"true\">",\r
504         "atomic": "true",\r
505         "outputs": 1,\r
506         "x": 1025.5716133117676,\r
507         "y": 4363.460702896118,\r
508         "z": "2d523017.81121",\r
509         "wires": [\r
510             [\r
511                 "abcfb9a1.c41368",\r
512                 "912ecbf0.ffa438",\r
513                 "c223a2fd.f4871",\r
514                 "7e1ee9f5.bc8198",\r
515                 "c6001282.4b6e1",\r
516                 "ea99e7e9.ed0b98",\r
517                 "c41b6137.b6d4b",\r
518                 "8dc14ff8.fbd57",\r
519                 "4e569933.c14918"\r
520             ]\r
521         ]\r
522     },\r
523     {\r
524         "id": "c223a2fd.f4871",\r
525         "type": "get-resource",\r
526         "name": "get-resource l3-network",\r
527         "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
528         "comments": "",\r
529         "outputs": 1,\r
530         "x": 1275.2858123779297,\r
531         "y": 3453.8417415618896,\r
532         "z": "2d523017.81121",\r
533         "wires": [\r
534             [\r
535                 "ede95f4d.859fa",\r
536                 "3e760d07.8da062"\r
537             ]\r
538         ]\r
539     },\r
540     {\r
541         "id": "3e760d07.8da062",\r
542         "type": "failure",\r
543         "name": "failure",\r
544         "xml": "<outcome value='failure'>\n",\r
545         "comments": "",\r
546         "outputs": 1,\r
547         "x": 1480.7621269226074,\r
548         "y": 3483.1273441314697,\r
549         "z": "2d523017.81121",\r
550         "wires": [\r
551             [\r
552                 "4fcc2ec6.5268d"\r
553             ]\r
554         ]\r
555     },\r
556     {\r
557         "id": "ede95f4d.859fa",\r
558         "type": "not-found",\r
559         "name": "not-found",\r
560         "xml": "<outcome value='not-found'>\n",\r
561         "comments": "",\r
562         "outputs": 1,\r
563         "x": 1488.2621231079102,\r
564         "y": 3434.2703142166138,\r
565         "z": "2d523017.81121",\r
566         "wires": [\r
567             [\r
568                 "1b9558ce.3c84a7"\r
569             ]\r
570         ]\r
571     },\r
572     {\r
573         "id": "abcfb9a1.c41368",\r
574         "type": "set",\r
575         "name": "set vnf-network data",\r
576         "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
577         "comments": "",\r
578         "x": 1271.6192779541016,\r
579         "y": 4259.413550376892,\r
580         "z": "2d523017.81121",\r
581         "wires": []\r
582     },\r
583     {\r
584         "id": "996bdc9d.0d63b",\r
585         "type": "for",\r
586         "name": "for each cloud-region availability zone",\r
587         "xml": "<for index='idx' start='0' end='`$aai.cloud-region.availability-zones.availability-zone_length`' >\n",\r
588         "comments": "",\r
589         "outputs": 1,\r
590         "x": 492.00031661987305,\r
591         "y": 5506.532527923584,\r
592         "z": "2d523017.81121",\r
593         "wires": [\r
594             [\r
595                 "b2e77d6f.5c88e"\r
596             ]\r
597         ]\r
598     },\r
599     {\r
600         "id": "cab1cdc0.80552",\r
601         "type": "set",\r
602         "name": "set availability-zone",\r
603         "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
604         "comments": "",\r
605         "x": 953.6669998168945,\r
606         "y": 5475.865942001343,\r
607         "z": "2d523017.81121",\r
608         "wires": []\r
609     },\r
610     {\r
611         "id": "2dd23fff.89a8d",\r
612         "type": "set",\r
613         "name": "set vnf-parameters-data",\r
614         "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
615         "comments": "",\r
616         "x": 451.6192436218262,\r
617         "y": 5356.484888076782,\r
618         "z": "2d523017.81121",\r
619         "wires": []\r
620     },\r
621     {\r
622         "id": "c622b6f5.5fb0e8",\r
623         "type": "save",\r
624         "name": "save generic-vnf l3-network relationships",\r
625         "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
626         "comments": "",\r
627         "outputs": 1,\r
628         "x": 918.1907768249512,\r
629         "y": 5650.29474067688,\r
630         "z": "2d523017.81121",\r
631         "wires": [\r
632             [\r
633                 "72e530eb.ef2a9",\r
634                 "560ad615.6ebaf8"\r
635             ]\r
636         ]\r
637     },\r
638     {\r
639         "id": "4eb737ee.442a38",\r
640         "type": "returnSuccess",\r
641         "name": "return success",\r
642         "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
643         "comments": "",\r
644         "x": 405.7145233154297,\r
645         "y": 6313.055904388428,\r
646         "z": "2d523017.81121",\r
647         "wires": []\r
648     },\r
649     {\r
650         "id": "1b9bd518.29100b",\r
651         "type": "set",\r
652         "name": "set vnf-level-oper-status to PendingCreate",\r
653         "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
654         "comments": "",\r
655         "x": 501.24223709106445,\r
656         "y": 6018.250611305237,\r
657         "z": "2d523017.81121",\r
658         "wires": []\r
659     },\r
660     {\r
661         "id": "13077d8a.632752",\r
662         "type": "for",\r
663         "name": "for each network-role",\r
664         "xml": "<for silentFailure='true' index='role-index' start='0' end='`$db.vf-network-role-mapping_length`'>",\r
665         "comments": "",\r
666         "outputs": 1,\r
667         "x": 485.57154846191406,\r
668         "y": 4336.794371604919,\r
669         "z": "2d523017.81121",\r
670         "wires": [\r
671             [\r
672                 "b7e5144f.5264b8"\r
673             ]\r
674         ]\r
675     },\r
676     {\r
677         "id": "9cd27ab5.524f18",\r
678         "type": "set",\r
679         "name": "set network-index = 0",\r
680         "xml": "<set>\n<parameter name='network-index' value='0' />\n",\r
681         "comments": "",\r
682         "x": 527.0714111328125,\r
683         "y": 3300.8660068511963,\r
684         "z": "2d523017.81121",\r
685         "wires": []\r
686     },\r
687     {\r
688         "id": "912ecbf0.ffa438",\r
689         "type": "set",\r
690         "name": "increment network-index",\r
691         "xml": "<set>\n<parameter name='network-index' value='`$network-index + 1`' />\n",\r
692         "comments": "",\r
693         "x": 1253.6192665100098,\r
694         "y": 5307.175491333008,\r
695         "z": "2d523017.81121",\r
696         "wires": []\r
697     },\r
698     {\r
699         "id": "8c40a330.8c84",\r
700         "type": "set",\r
701         "name": "set vnf-network_length",\r
702         "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
703         "comments": "",\r
704         "x": 450.4763298034668,\r
705         "y": 5306.484931945801,\r
706         "z": "2d523017.81121",\r
707         "wires": []\r
708     },\r
709     {\r
710         "id": "f2f609da.bd9858",\r
711         "type": "set",\r
712         "name": "copy input data",\r
713         "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
714         "comments": "",\r
715         "x": 416.7620658874512,\r
716         "y": 5965.913442611694,\r
717         "z": "2d523017.81121",\r
718         "wires": []\r
719     },\r
720     {\r
721         "id": "3530cc21.a0c0d4",\r
722         "type": "for",\r
723         "name": "for each vnf-network",\r
724         "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
725         "comments": "",\r
726         "outputs": 1,\r
727         "x": 441.1906852722168,\r
728         "y": 5649.29465675354,\r
729         "z": "2d523017.81121",\r
730         "wires": [\r
731             [\r
732                 "b6d2730a.405db"\r
733             ]\r
734         ]\r
735     },\r
736     {\r
737         "id": "b6d2730a.405db",\r
738         "type": "block",\r
739         "name": "block : atomic",\r
740         "xml": "<block atomic=\"true\">",\r
741         "atomic": "true",\r
742         "outputs": 1,\r
743         "x": 644.8573265075684,\r
744         "y": 5649.294617652893,\r
745         "z": "2d523017.81121",\r
746         "wires": [\r
747             [\r
748                 "c622b6f5.5fb0e8"\r
749             ]\r
750         ]\r
751     },\r
752     {\r
753         "id": "2fcd14d0.0b537c",\r
754         "type": "set",\r
755         "name": "set new vnf_length",\r
756         "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",\r
757         "comments": "",\r
758         "x": 497.6905059814453,\r
759         "y": 1198.0090227127075,\r
760         "z": "2d523017.81121",\r
761         "wires": []\r
762     },\r
763     {\r
764         "id": "4796fba2.d51144",\r
765         "type": "for",\r
766         "name": "for each cloud-region relationship",\r
767         "xml": "<for index='idx' start='0' end='`$aai.cloud-region.relationship-list.relationship_length`' >\n",\r
768         "comments": "",\r
769         "outputs": 1,\r
770         "x": 572.2619552612305,\r
771         "y": 3023.008864402771,\r
772         "z": "2d523017.81121",\r
773         "wires": [\r
774             [\r
775                 "de35f354.4a026"\r
776             ]\r
777         ]\r
778     },\r
779     {\r
780         "id": "de35f354.4a026",\r
781         "type": "switchNode",\r
782         "name": "switch related-to",\r
783         "xml": "<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n",\r
784         "comments": "",\r
785         "outputs": 1,\r
786         "x": 819.9404983520508,\r
787         "y": 3022.7587938308716,\r
788         "z": "2d523017.81121",\r
789         "wires": [\r
790             [\r
791                 "9753c9fc.ee6548"\r
792             ]\r
793         ]\r
794     },\r
795     {\r
796         "id": "9753c9fc.ee6548",\r
797         "type": "outcome",\r
798         "name": "complex",\r
799         "xml": "<outcome value='complex'>\n",\r
800         "comments": "",\r
801         "outputs": 1,\r
802         "x": 989.4048194885254,\r
803         "y": 3022.1516160964966,\r
804         "z": "2d523017.81121",\r
805         "wires": [\r
806             [\r
807                 "f1d0780c.c74608"\r
808             ]\r
809         ]\r
810     },\r
811     {\r
812         "id": "49d47361.e5235c",\r
813         "type": "set",\r
814         "name": "set aic-clli",\r
815         "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
816         "comments": "",\r
817         "x": 1366.976203918457,\r
818         "y": 3020.389811515808,\r
819         "z": "2d523017.81121",\r
820         "wires": []\r
821     },\r
822     {\r
823         "id": "42f099e.9f61568",\r
824         "type": "switchNode",\r
825         "name": "switch aic-clli",\r
826         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.aic-clli`'>\n",\r
827         "comments": "",\r
828         "outputs": 1,\r
829         "x": 505.3095817565918,\r
830         "y": 3136.1039962768555,\r
831         "z": "2d523017.81121",\r
832         "wires": [\r
833             [\r
834                 "18989148.50f10f"\r
835             ]\r
836         ]\r
837     },\r
838     {\r
839         "id": "18989148.50f10f",\r
840         "type": "outcome",\r
841         "name": "NULL",\r
842         "xml": "<outcome value=''>",\r
843         "comments": "",\r
844         "outputs": 1,\r
845         "x": 653.4524154663086,\r
846         "y": 3136.103979110718,\r
847         "z": "2d523017.81121",\r
848         "wires": [\r
849             [\r
850                 "9a466e25.4156f"\r
851             ]\r
852         ]\r
853     },\r
854     {\r
855         "id": "56b5f776.c4c628",\r
856         "type": "set",\r
857         "name": "set from DB",\r
858         "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
859         "comments": "",\r
860         "x": 931.7621269226074,\r
861         "y": 2494.9612531661987,\r
862         "z": "2d523017.81121",\r
863         "wires": []\r
864     },\r
865     {\r
866         "id": "c7e1c13d.03db5",\r
867         "type": "for",\r
868         "name": "for each l3-network",\r
869         "xml": "<for index='db-network-index' start='0' end='`$aai.l3-network.l3-network_length`' >\n",\r
870         "comments": "",\r
871         "outputs": 1,\r
872         "x": 1391.8812561035156,\r
873         "y": 4083.984929084778,\r
874         "z": "2d523017.81121",\r
875         "wires": [\r
876             [\r
877                 "c1ed15e6.f88648"\r
878             ]\r
879         ]\r
880     },\r
881     {\r
882         "id": "e75f10eb.ced4f",\r
883         "type": "switchNode",\r
884         "name": "switch orchestration-status",\r
885         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].orchestration-status`'>\n",\r
886         "comments": "",\r
887         "outputs": 1,\r
888         "x": 1810.4524269104004,\r
889         "y": 4018.556393623352,\r
890         "z": "2d523017.81121",\r
891         "wires": [\r
892             [\r
893                 "acbbb297.0a07e",\r
894                 "18131921.5c40e7",\r
895                 "84ce6f22.6e9ac",\r
896                 "a5969f85.edad",\r
897                 "8306b63a.7a6a88"\r
898             ]\r
899         ]\r
900     },\r
901     {\r
902         "id": "acbbb297.0a07e",\r
903         "type": "outcome",\r
904         "name": "Pending Delete",\r
905         "xml": "<outcome value='Pending Delete'>\n",\r
906         "comments": "",\r
907         "outputs": 1,\r
908         "x": 2051.119297027588,\r
909         "y": 4060.222897529602,\r
910         "z": "2d523017.81121",\r
911         "wires": [\r
912             [\r
913                 "bcc48c45.57047"\r
914             ]\r
915         ]\r
916     },\r
917     {\r
918         "id": "18131921.5c40e7",\r
919         "type": "other",\r
920         "name": "other",\r
921         "xml": "<outcome value='Other'>\n",\r
922         "comments": "",\r
923         "outputs": 1,\r
924         "x": 2023.9764366149902,\r
925         "y": 4111.222878456116,\r
926         "z": "2d523017.81121",\r
927         "wires": [\r
928             [\r
929                 "f846017e.0f7b7"\r
930             ]\r
931         ]\r
932     },\r
933     {\r
934         "id": "d24ce0d7.c8619",\r
935         "type": "switchNode",\r
936         "name": "switch related-to",\r
937         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].relationship-list.relationship[$db-rel-index].related-to`'>\n",\r
938         "comments": "",\r
939         "outputs": 1,\r
940         "x": 2559.6907386779785,\r
941         "y": 4056.460795402527,\r
942         "z": "2d523017.81121",\r
943         "wires": [\r
944             [\r
945                 "c028438.b008bc",\r
946                 "225c2fa8.b622f"\r
947             ]\r
948         ]\r
949     },\r
950     {\r
951         "id": "f846017e.0f7b7",\r
952         "type": "for",\r
953         "name": "for each relationship",\r
954         "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
955         "comments": "",\r
956         "outputs": 1,\r
957         "x": 2193.976348876953,\r
958         "y": 4110.794255256653,\r
959         "z": "2d523017.81121",\r
960         "wires": [\r
961             [\r
962                 "3979a64c.84ab9a"\r
963             ]\r
964         ]\r
965     },\r
966     {\r
967         "id": "c028438.b008bc",\r
968         "type": "outcome",\r
969         "name": "cloud-region",\r
970         "xml": "<outcome value='cloud-region'>\n",\r
971         "comments": "",\r
972         "outputs": 1,\r
973         "x": 2733.9765243530273,\r
974         "y": 4079.365619659424,\r
975         "z": "2d523017.81121",\r
976         "wires": [\r
977             [\r
978                 "24abd19e.88186e"\r
979             ]\r
980         ]\r
981     },\r
982     {\r
983         "id": "24abd19e.88186e",\r
984         "type": "for",\r
985         "name": "for each relationship data",\r
986         "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
987         "comments": "",\r
988         "outputs": 1,\r
989         "x": 2931.11922454834,\r
990         "y": 4079.794087409973,\r
991         "z": "2d523017.81121",\r
992         "wires": [\r
993             [\r
994                 "6e6e70c9.1f47f"\r
995             ]\r
996         ]\r
997     },\r
998     {\r
999         "id": "6e6e70c9.1f47f",\r
1000         "type": "switchNode",\r
1001         "name": "switch relationship-key",\r
1002         "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
1003         "comments": "",\r
1004         "outputs": 1,\r
1005         "x": 3162.547824859619,\r
1006         "y": 4079.3654623031616,\r
1007         "z": "2d523017.81121",\r
1008         "wires": [\r
1009             [\r
1010                 "41f73a04.000a34"\r
1011             ]\r
1012         ]\r
1013     },\r
1014     {\r
1015         "id": "41f73a04.000a34",\r
1016         "type": "outcome",\r
1017         "name": "cloud-region.cloud-region-id",\r
1018         "xml": "<outcome value='cloud-region.cloud-region-id'>\n",\r
1019         "comments": "",\r
1020         "outputs": 1,\r
1021         "x": 3403.976390838623,\r
1022         "y": 4079.3655586242676,\r
1023         "z": "2d523017.81121",\r
1024         "wires": [\r
1025             [\r
1026                 "ec6b1424.dae298"\r
1027             ]\r
1028         ]\r
1029     },\r
1030     {\r
1031         "id": "ec6b1424.dae298",\r
1032         "type": "switchNode",\r
1033         "name": "switch relationship-value == cloud-region-id",\r
1034         "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
1035         "comments": "",\r
1036         "outputs": 1,\r
1037         "x": 3708.262310028076,\r
1038         "y": 4079.22261428833,\r
1039         "z": "2d523017.81121",\r
1040         "wires": [\r
1041             [\r
1042                 "76d1c220.996b9c"\r
1043             ]\r
1044         ]\r
1045     },\r
1046     {\r
1047         "id": "76d1c220.996b9c",\r
1048         "type": "outcomeTrue",\r
1049         "name": "true",\r
1050         "xml": "<outcome value='true'>\n",\r
1051         "comments": "",\r
1052         "outputs": 1,\r
1053         "x": 3413.2624473571777,\r
1054         "y": 4196.865568161011,\r
1055         "z": "2d523017.81121",\r
1056         "wires": [\r
1057             [\r
1058                 "1de3d6a.5295a29"\r
1059             ]\r
1060         ]\r
1061     },\r
1062     {\r
1063         "id": "7e1ee9f5.bc8198",\r
1064         "type": "block",\r
1065         "name": "block",\r
1066         "xml": "<block>\n",\r
1067         "atomic": "false",\r
1068         "comments": "",\r
1069         "outputs": 1,\r
1070         "x": 1228.0954284667969,\r
1071         "y": 4015.270573616028,\r
1072         "z": "2d523017.81121",\r
1073         "wires": [\r
1074             [\r
1075                 "c7e1c13d.03db5",\r
1076                 "85730c77.85f6e"\r
1077             ]\r
1078         ]\r
1079     },\r
1080     {\r
1081         "id": "c6001282.4b6e1",\r
1082         "type": "set",\r
1083         "name": "set l3-network-id = -1",\r
1084         "xml": "<set>\n<parameter name='l3-network-id' value='-1' />\n",\r
1085         "comments": "",\r
1086         "x": 1272.4287872314453,\r
1087         "y": 3887.175227165222,\r
1088         "z": "2d523017.81121",\r
1089         "wires": []\r
1090     },\r
1091     {\r
1092         "id": "1de3d6a.5295a29",\r
1093         "type": "block",\r
1094         "name": "block : atomic",\r
1095         "xml": "<block atomic=\"true\">",\r
1096         "atomic": "true",\r
1097         "outputs": 1,\r
1098         "x": 3559.0954246520996,\r
1099         "y": 4196.341676712036,\r
1100         "z": "2d523017.81121",\r
1101         "wires": [\r
1102             [\r
1103                 "f676c278.1ddf2",\r
1104                 "6ee99534.f9db3c",\r
1105                 "133789d2.fbdb36"\r
1106             ]\r
1107         ]\r
1108     },\r
1109     {\r
1110         "id": "f676c278.1ddf2",\r
1111         "type": "set",\r
1112         "name": "set l3-network-id = this l3-network",\r
1113         "xml": "<set>\n<parameter name='l3-network-id' value='`$aai.l3-network.l3-network[$db-network-index].network-id`' />\n",\r
1114         "comments": "",\r
1115         "x": 3794.333427429199,\r
1116         "y": 4158.484645843506,\r
1117         "z": "2d523017.81121",\r
1118         "wires": []\r
1119     },\r
1120     {\r
1121         "id": "ea99e7e9.ed0b98",\r
1122         "type": "switchNode",\r
1123         "name": "switch l3-network-id",\r
1124         "xml": "<switch test='`$l3-network-id`'>\n",\r
1125         "comments": "",\r
1126         "outputs": 1,\r
1127         "x": 1269.4287109375,\r
1128         "y": 4210.842268943787,\r
1129         "z": "2d523017.81121",\r
1130         "wires": [\r
1131             [\r
1132                 "8b18bc8b.1ecc5"\r
1133             ]\r
1134         ]\r
1135     },\r
1136     {\r
1137         "id": "8b18bc8b.1ecc5",\r
1138         "type": "outcome",\r
1139         "name": "-1",\r
1140         "xml": "<outcome value='-1'>\n",\r
1141         "comments": "",\r
1142         "outputs": 1,\r
1143         "x": 1439.4286613464355,\r
1144         "y": 4210.842024803162,\r
1145         "z": "2d523017.81121",\r
1146         "wires": [\r
1147             [\r
1148                 "d03cff5b.4eae8"\r
1149             ]\r
1150         ]\r
1151     },\r
1152     {\r
1153         "id": "ab296e58.94c7",\r
1154         "type": "switchNode",\r
1155         "name": "switch input model-invariant-uuid",\r
1156         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`'>\n",\r
1157         "comments": "",\r
1158         "outputs": 1,\r
1159         "x": 575.6192016601562,\r
1160         "y": 2517.7856969833374,\r
1161         "z": "2d523017.81121",\r
1162         "wires": [\r
1163             [\r
1164                 "a6d2444d.170f18",\r
1165                 "d0c4e96a.f0e598"\r
1166             ]\r
1167         ]\r
1168     },\r
1169     {\r
1170         "id": "a6d2444d.170f18",\r
1171         "type": "outcome",\r
1172         "name": "NULL",\r
1173         "xml": "<outcome value=''>",\r
1174         "comments": "",\r
1175         "outputs": 1,\r
1176         "x": 781.2858734130859,\r
1177         "y": 2494.9286603927612,\r
1178         "z": "2d523017.81121",\r
1179         "wires": [\r
1180             [\r
1181                 "56b5f776.c4c628"\r
1182             ]\r
1183         ]\r
1184     },\r
1185     {\r
1186         "id": "d0c4e96a.f0e598",\r
1187         "type": "other",\r
1188         "name": "other",\r
1189         "xml": "<outcome value='Other'>\n",\r
1190         "comments": "",\r
1191         "outputs": 1,\r
1192         "x": 782.714469909668,\r
1193         "y": 2539.2142515182495,\r
1194         "z": "2d523017.81121",\r
1195         "wires": [\r
1196             [\r
1197                 "53133cb6.18d844"\r
1198             ]\r
1199         ]\r
1200     },\r
1201     {\r
1202         "id": "53133cb6.18d844",\r
1203         "type": "set",\r
1204         "name": "set from input",\r
1205         "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
1206         "comments": "",\r
1207         "x": 937.0002059936523,\r
1208         "y": 2538.6428236961365,\r
1209         "z": "2d523017.81121",\r
1210         "wires": []\r
1211     },\r
1212     {\r
1213         "id": "6f1bca5a.057ce4",\r
1214         "type": "set",\r
1215         "name": "set from DB",\r
1216         "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
1217         "comments": "",\r
1218         "x": 932.7143974304199,\r
1219         "y": 2583.4999294281006,\r
1220         "z": "2d523017.81121",\r
1221         "wires": []\r
1222     },\r
1223     {\r
1224         "id": "8dc1e7e0.9d5668",\r
1225         "type": "switchNode",\r
1226         "name": "switch input model-uuid",\r
1227         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`'>\n",\r
1228         "comments": "",\r
1229         "outputs": 1,\r
1230         "x": 548.2382202148438,\r
1231         "y": 2606.3244342803955,\r
1232         "z": "2d523017.81121",\r
1233         "wires": [\r
1234             [\r
1235                 "8002dd41.ae1f",\r
1236                 "896eccc9.b25eb"\r
1237             ]\r
1238         ]\r
1239     },\r
1240     {\r
1241         "id": "8002dd41.ae1f",\r
1242         "type": "outcome",\r
1243         "name": "NULL",\r
1244         "xml": "<outcome value=''>",\r
1245         "comments": "",\r
1246         "outputs": 1,\r
1247         "x": 782.2381935119629,\r
1248         "y": 2583.467366218567,\r
1249         "z": "2d523017.81121",\r
1250         "wires": [\r
1251             [\r
1252                 "6f1bca5a.057ce4"\r
1253             ]\r
1254         ]\r
1255     },\r
1256     {\r
1257         "id": "896eccc9.b25eb",\r
1258         "type": "other",\r
1259         "name": "other",\r
1260         "xml": "<outcome value='Other'>\n",\r
1261         "comments": "",\r
1262         "outputs": 1,\r
1263         "x": 783.6667900085449,\r
1264         "y": 2627.752957344055,\r
1265         "z": "2d523017.81121",\r
1266         "wires": [\r
1267             [\r
1268                 "17701e26.510582"\r
1269             ]\r
1270         ]\r
1271     },\r
1272     {\r
1273         "id": "17701e26.510582",\r
1274         "type": "set",\r
1275         "name": "set from input",\r
1276         "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
1277         "comments": "",\r
1278         "x": 937.9525260925293,\r
1279         "y": 2627.181529521942,\r
1280         "z": "2d523017.81121",\r
1281         "wires": []\r
1282     },\r
1283     {\r
1284         "id": "b6fbf29a.0df09",\r
1285         "type": "set",\r
1286         "name": "set from DB",\r
1287         "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
1288         "comments": "",\r
1289         "x": 929.8573303222656,\r
1290         "y": 2672.3571367263794,\r
1291         "z": "2d523017.81121",\r
1292         "wires": []\r
1293     },\r
1294     {\r
1295         "id": "d03eeca7.23711",\r
1296         "type": "switchNode",\r
1297         "name": "switch input model-version",\r
1298         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-version`'>\n",\r
1299         "comments": "",\r
1300         "outputs": 1,\r
1301         "x": 556.3810920715332,\r
1302         "y": 2695.1815814971924,\r
1303         "z": "2d523017.81121",\r
1304         "wires": [\r
1305             [\r
1306                 "6aa27ca4.a61d34",\r
1307                 "1ae6e106.ea9c7f"\r
1308             ]\r
1309         ]\r
1310     },\r
1311     {\r
1312         "id": "6aa27ca4.a61d34",\r
1313         "type": "outcome",\r
1314         "name": "NULL",\r
1315         "xml": "<outcome value=''>",\r
1316         "comments": "",\r
1317         "outputs": 1,\r
1318         "x": 779.3810768127441,\r
1319         "y": 2672.324543952942,\r
1320         "z": "2d523017.81121",\r
1321         "wires": [\r
1322             [\r
1323                 "b6fbf29a.0df09"\r
1324             ]\r
1325         ]\r
1326     },\r
1327     {\r
1328         "id": "1ae6e106.ea9c7f",\r
1329         "type": "other",\r
1330         "name": "other",\r
1331         "xml": "<outcome value='Other'>\n",\r
1332         "comments": "",\r
1333         "outputs": 1,\r
1334         "x": 780.8096733093262,\r
1335         "y": 2716.61013507843,\r
1336         "z": "2d523017.81121",\r
1337         "wires": [\r
1338             [\r
1339                 "56c362db.13020c"\r
1340             ]\r
1341         ]\r
1342     },\r
1343     {\r
1344         "id": "56c362db.13020c",\r
1345         "type": "set",\r
1346         "name": "set from input",\r
1347         "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
1348         "comments": "",\r
1349         "x": 935.0954093933105,\r
1350         "y": 2716.038707256317,\r
1351         "z": "2d523017.81121",\r
1352         "wires": []\r
1353     },\r
1354     {\r
1355         "id": "9fcfee3c.f2226",\r
1356         "type": "set",\r
1357         "name": "set from DB",\r
1358         "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
1359         "comments": "",\r
1360         "x": 929.8573303222656,\r
1361         "y": 2759.4999589920044,\r
1362         "z": "2d523017.81121",\r
1363         "wires": []\r
1364     },\r
1365     {\r
1366         "id": "494fd3fe.881b4c",\r
1367         "type": "switchNode",\r
1368         "name": "switch input model-name",\r
1369         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-name`'>\n",\r
1370         "comments": "",\r
1371         "outputs": 1,\r
1372         "x": 551.3810920715332,\r
1373         "y": 2782.3244037628174,\r
1374         "z": "2d523017.81121",\r
1375         "wires": [\r
1376             [\r
1377                 "3f7d112e.5f72ee",\r
1378                 "6e803b0d.a54dc4"\r
1379             ]\r
1380         ]\r
1381     },\r
1382     {\r
1383         "id": "3f7d112e.5f72ee",\r
1384         "type": "outcome",\r
1385         "name": "NULL",\r
1386         "xml": "<outcome value=''>",\r
1387         "comments": "",\r
1388         "outputs": 1,\r
1389         "x": 779.3810768127441,\r
1390         "y": 2759.467366218567,\r
1391         "z": "2d523017.81121",\r
1392         "wires": [\r
1393             [\r
1394                 "9fcfee3c.f2226"\r
1395             ]\r
1396         ]\r
1397     },\r
1398     {\r
1399         "id": "6e803b0d.a54dc4",\r
1400         "type": "other",\r
1401         "name": "other",\r
1402         "xml": "<outcome value='Other'>\n",\r
1403         "comments": "",\r
1404         "outputs": 1,\r
1405         "x": 780.8096733093262,\r
1406         "y": 2803.752957344055,\r
1407         "z": "2d523017.81121",\r
1408         "wires": [\r
1409             [\r
1410                 "9d0420e8.1e34b"\r
1411             ]\r
1412         ]\r
1413     },\r
1414     {\r
1415         "id": "9d0420e8.1e34b",\r
1416         "type": "set",\r
1417         "name": "set from input",\r
1418         "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
1419         "comments": "",\r
1420         "x": 935.0954093933105,\r
1421         "y": 2803.181529521942,\r
1422         "z": "2d523017.81121",\r
1423         "wires": []\r
1424     },\r
1425     {\r
1426         "id": "bcc48c45.57047",\r
1427         "type": "block",\r
1428         "name": "block",\r
1429         "xml": "<block>\n",\r
1430         "atomic": "false",\r
1431         "comments": "",\r
1432         "outputs": 1,\r
1433         "x": 2204.3333892822266,\r
1434         "y": 4060.9997749328613,\r
1435         "z": "2d523017.81121",\r
1436         "wires": [\r
1437             []\r
1438         ]\r
1439     },\r
1440     {\r
1441         "id": "8306b63a.7a6a88",\r
1442         "type": "outcome",\r
1443         "name": "PendingDelete",\r
1444         "xml": "<outcome value='PendingDelete'>\n",\r
1445         "comments": "",\r
1446         "outputs": 1,\r
1447         "x": 2049.000030517578,\r
1448         "y": 4015.999689102173,\r
1449         "z": "2d523017.81121",\r
1450         "wires": [\r
1451             [\r
1452                 "ea893bb0.586278"\r
1453             ]\r
1454         ]\r
1455     },\r
1456     {\r
1457         "id": "ea893bb0.586278",\r
1458         "type": "block",\r
1459         "name": "block",\r
1460         "xml": "<block>\n",\r
1461         "atomic": "false",\r
1462         "comments": "",\r
1463         "outputs": 1,\r
1464         "x": 2204.214122772217,\r
1465         "y": 4016.776566505432,\r
1466         "z": "2d523017.81121",\r
1467         "wires": [\r
1468             []\r
1469         ]\r
1470     },\r
1471     {\r
1472         "id": "a5969f85.edad",\r
1473         "type": "outcome",\r
1474         "name": "Pending Create",\r
1475         "xml": "<outcome value='Pending Create'>\n",\r
1476         "comments": "",\r
1477         "outputs": 1,\r
1478         "x": 2051.000030517578,\r
1479         "y": 3972.666193008423,\r
1480         "z": "2d523017.81121",\r
1481         "wires": [\r
1482             [\r
1483                 "bab4140b.02b308"\r
1484             ]\r
1485         ]\r
1486     },\r
1487     {\r
1488         "id": "bab4140b.02b308",\r
1489         "type": "block",\r
1490         "name": "block",\r
1491         "xml": "<block>\n",\r
1492         "atomic": "false",\r
1493         "comments": "",\r
1494         "outputs": 1,\r
1495         "x": 2204.214122772217,\r
1496         "y": 3973.443070411682,\r
1497         "z": "2d523017.81121",\r
1498         "wires": [\r
1499             []\r
1500         ]\r
1501     },\r
1502     {\r
1503         "id": "84ce6f22.6e9ac",\r
1504         "type": "outcome",\r
1505         "name": "PendingCreate",\r
1506         "xml": "<outcome value='PendingCreate'>\n",\r
1507         "comments": "",\r
1508         "outputs": 1,\r
1509         "x": 2051.000030517578,\r
1510         "y": 3929.332941055298,\r
1511         "z": "2d523017.81121",\r
1512         "wires": [\r
1513             [\r
1514                 "fc3367.845aac98"\r
1515             ]\r
1516         ]\r
1517     },\r
1518     {\r
1519         "id": "fc3367.845aac98",\r
1520         "type": "block",\r
1521         "name": "block",\r
1522         "xml": "<block>\n",\r
1523         "atomic": "false",\r
1524         "comments": "",\r
1525         "outputs": 1,\r
1526         "x": 2204.214122772217,\r
1527         "y": 3930.109818458557,\r
1528         "z": "2d523017.81121",\r
1529         "wires": [\r
1530             []\r
1531         ]\r
1532     },\r
1533     {\r
1534         "id": "a129d9ae.667dd8",\r
1535         "type": "for",\r
1536         "name": "for each A&AI subnet",\r
1537         "xml": "<for index='subnet-index' start='0' end='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`' >\n",\r
1538         "comments": "",\r
1539         "outputs": 1,\r
1540         "x": 1737.3810577392578,\r
1541         "y": 4350.047110080719,\r
1542         "z": "2d523017.81121",\r
1543         "wires": [\r
1544             [\r
1545                 "26e050ad.0575e"\r
1546             ]\r
1547         ]\r
1548     },\r
1549     {\r
1550         "id": "84d519bc.318478",\r
1551         "type": "set",\r
1552         "name": "set subnet_length",\r
1553         "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
1554         "comments": "",\r
1555         "x": 1726.047622680664,\r
1556         "y": 4395.04719209671,\r
1557         "z": "2d523017.81121",\r
1558         "wires": []\r
1559     },\r
1560     {\r
1561         "id": "31dc7765.4b4208",\r
1562         "type": "set",\r
1563         "name": "set availability-zones.max-count and length",\r
1564         "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
1565         "comments": "",\r
1566         "x": 511.66682052612305,\r
1567         "y": 5594.547995567322,\r
1568         "z": "2d523017.81121",\r
1569         "wires": []\r
1570     },\r
1571     {\r
1572         "id": "ae22f7f9.632468",\r
1573         "type": "set",\r
1574         "name": "set vnf-name",\r
1575         "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
1576         "comments": "",\r
1577         "x": 512.5000152587891,\r
1578         "y": 2451.8334608078003,\r
1579         "z": "2d523017.81121",\r
1580         "wires": []\r
1581     },\r
1582     {\r
1583         "id": "530dfe10.6f29",\r
1584         "type": "save",\r
1585         "name": "update generic-vnf",\r
1586         "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
1587         "comments": "",\r
1588         "outputs": 1,\r
1589         "x": 432.0000877380371,\r
1590         "y": 5804.213758468628,\r
1591         "z": "2d523017.81121",\r
1592         "wires": [\r
1593             [\r
1594                 "8c964a5c.697478",\r
1595                 "9e7283af.92a1c"\r
1596             ]\r
1597         ]\r
1598     },\r
1599     {\r
1600         "id": "2f250d1f.126482",\r
1601         "type": "set",\r
1602         "name": "set vnf-object-path",\r
1603         "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
1604         "comments": "",\r
1605         "x": 432.00012588500977,\r
1606         "y": 5734.214241027832,\r
1607         "z": "2d523017.81121",\r
1608         "wires": []\r
1609     },\r
1610     {\r
1611         "id": "3c27d937.bf75c6",\r
1612         "type": "set",\r
1613         "name": "set vnf-id",\r
1614         "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
1615         "comments": "",\r
1616         "x": 500.83335876464844,\r
1617         "y": 2403.5000038146973,\r
1618         "z": "2d523017.81121",\r
1619         "wires": []\r
1620     },\r
1621     {\r
1622         "id": "6ae8e0f.7c6952",\r
1623         "type": "execute",\r
1624         "name": "printContext",\r
1625         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vnf.log' />\n",\r
1626         "comments": "",\r
1627         "outputs": 1,\r
1628         "x": 397.76210021972656,\r
1629         "y": 6178.976177215576,\r
1630         "z": "2d523017.81121",\r
1631         "wires": [\r
1632             []\r
1633         ]\r
1634     },\r
1635     {\r
1636         "id": "72e530eb.ef2a9",\r
1637         "type": "failure",\r
1638         "name": "failure",\r
1639         "xml": "<outcome value='failure'>\n",\r
1640         "comments": "",\r
1641         "outputs": 1,\r
1642         "x": 1168.0241317749023,\r
1643         "y": 5627.833315849304,\r
1644         "z": "2d523017.81121",\r
1645         "wires": [\r
1646             [\r
1647                 "1d23943a.cc401c"\r
1648             ]\r
1649         ]\r
1650     },\r
1651     {\r
1652         "id": "560ad615.6ebaf8",\r
1653         "type": "not-found",\r
1654         "name": "not-found",\r
1655         "xml": "<outcome value='not-found'>\n",\r
1656         "comments": "",\r
1657         "outputs": 1,\r
1658         "x": 1176.5955619812012,\r
1659         "y": 5672.119029045105,\r
1660         "z": "2d523017.81121",\r
1661         "wires": [\r
1662             [\r
1663                 "48b115c8.09c9bc"\r
1664             ]\r
1665         ]\r
1666     },\r
1667     {\r
1668         "id": "8c964a5c.697478",\r
1669         "type": "failure",\r
1670         "name": "failure",\r
1671         "xml": "<outcome value='failure'>\n",\r
1672         "comments": "",\r
1673         "outputs": 1,\r
1674         "x": 606.3574180603027,\r
1675         "y": 5782.833353996277,\r
1676         "z": "2d523017.81121",\r
1677         "wires": [\r
1678             [\r
1679                 "b5f5454e.605518"\r
1680             ]\r
1681         ]\r
1682     },\r
1683     {\r
1684         "id": "9e7283af.92a1c",\r
1685         "type": "not-found",\r
1686         "name": "not-found",\r
1687         "xml": "<outcome value='not-found'>\n",\r
1688         "comments": "",\r
1689         "outputs": 1,\r
1690         "x": 614.9288482666016,\r
1691         "y": 5827.119067192078,\r
1692         "z": "2d523017.81121",\r
1693         "wires": [\r
1694             [\r
1695                 "fb7909b7.07d3a8"\r
1696             ]\r
1697         ]\r
1698     },\r
1699     {\r
1700         "id": "dfdec27.324004",\r
1701         "type": "set",\r
1702         "name": "set model-customization-uuid",\r
1703         "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
1704         "comments": "",\r
1705         "x": 564.1666793823242,\r
1706         "y": 2855.1666078567505,\r
1707         "z": "2d523017.81121",\r
1708         "wires": []\r
1709     },\r
1710     {\r
1711         "id": "f7d7f0fa.89cd2",\r
1712         "type": "execute",\r
1713         "name": "split related-link",\r
1714         "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
1715         "comments": "",\r
1716         "outputs": 1,\r
1717         "x": 1386.357063293457,\r
1718         "y": 2975.1517295837402,\r
1719         "z": "2d523017.81121",\r
1720         "wires": [\r
1721             []\r
1722         ]\r
1723     },\r
1724     {\r
1725         "id": "f1d0780c.c74608",\r
1726         "type": "block",\r
1727         "name": "block : atomic",\r
1728         "xml": "<block atomic=\"true\">",\r
1729         "atomic": "true",\r
1730         "outputs": 1,\r
1731         "x": 1172.0237655639648,\r
1732         "y": 3021.8185176849365,\r
1733         "z": "2d523017.81121",\r
1734         "wires": [\r
1735             [\r
1736                 "f7d7f0fa.89cd2",\r
1737                 "49d47361.e5235c",\r
1738                 "68e794dc.43eb9c"\r
1739             ]\r
1740         ]\r
1741     },\r
1742     {\r
1743         "id": "68e794dc.43eb9c",\r
1744         "type": "break",\r
1745         "name": "break",\r
1746         "xml": "<break>\n",\r
1747         "comments": "",\r
1748         "x": 1356.0237274169922,\r
1749         "y": 3065.1518144607544,\r
1750         "z": "2d523017.81121",\r
1751         "wires": []\r
1752     },\r
1753     {\r
1754         "id": "b2e77d6f.5c88e",\r
1755         "type": "block",\r
1756         "name": "block : atomic",\r
1757         "xml": "<block atomic=\"true\">",\r
1758         "atomic": "true",\r
1759         "outputs": 1,\r
1760         "x": 743.6667594909668,\r
1761         "y": 5505.628111839294,\r
1762         "z": "2d523017.81121",\r
1763         "wires": [\r
1764             [\r
1765                 "cab1cdc0.80552",\r
1766                 "2c7d624d.a1567e"\r
1767             ]\r
1768         ]\r
1769     },\r
1770     {\r
1771         "id": "2c7d624d.a1567e",\r
1772         "type": "save",\r
1773         "name": "save generic-vnf availability-zone relationship",\r
1774         "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
1775         "comments": "",\r
1776         "outputs": 1,\r
1777         "x": 1037.0001487731934,\r
1778         "y": 5528.9615659713745,\r
1779         "z": "2d523017.81121",\r
1780         "wires": [\r
1781             [\r
1782                 "7e45c7a1.1fc228",\r
1783                 "7cb74929.a6a798"\r
1784             ]\r
1785         ]\r
1786     },\r
1787     {\r
1788         "id": "7e45c7a1.1fc228",\r
1789         "type": "failure",\r
1790         "name": "failure",\r
1791         "xml": "<outcome value='failure'>\n",\r
1792         "comments": "",\r
1793         "outputs": 1,\r
1794         "x": 1301.8334007263184,\r
1795         "y": 5509.833388328552,\r
1796         "z": "2d523017.81121",\r
1797         "wires": [\r
1798             [\r
1799                 "ac3d2a38.193128"\r
1800             ]\r
1801         ]\r
1802     },\r
1803     {\r
1804         "id": "7cb74929.a6a798",\r
1805         "type": "not-found",\r
1806         "name": "not-found",\r
1807         "xml": "<outcome value='not-found'>\n",\r
1808         "comments": "",\r
1809         "outputs": 1,\r
1810         "x": 1310.4048309326172,\r
1811         "y": 5554.119101524353,\r
1812         "z": "2d523017.81121",\r
1813         "wires": [\r
1814             [\r
1815                 "edd6eeb3.58833"\r
1816             ]\r
1817         ]\r
1818     },\r
1819     {\r
1820         "id": "4f0a7869.c1d018",\r
1821         "type": "set",\r
1822         "name": "set mapping rows to 0",\r
1823         "xml": "<set>\n<parameter name='db.vf-network-role-mapping_length' value='0' />\n",\r
1824         "comments": "",\r
1825         "x": 1122.9761505126953,\r
1826         "y": 3269.437578201294,\r
1827         "z": "2d523017.81121",\r
1828         "wires": []\r
1829     },\r
1830     {\r
1831         "id": "dc580d36.feec6",\r
1832         "type": "switchNode",\r
1833         "name": "switch AAI availability-zone_length",\r
1834         "xml": "<switch test='`$aai.cloud-region.availability-zones.availability-zone_length`'>\n",\r
1835         "comments": "",\r
1836         "outputs": 1,\r
1837         "x": 484.381046295166,\r
1838         "y": 5409.437698364258,\r
1839         "z": "2d523017.81121",\r
1840         "wires": [\r
1841             [\r
1842                 "65cd03d3.cd933c"\r
1843             ]\r
1844         ]\r
1845     },\r
1846     {\r
1847         "id": "65cd03d3.cd933c",\r
1848         "type": "outcome",\r
1849         "name": "NULL",\r
1850         "xml": "<outcome value=''>",\r
1851         "comments": "",\r
1852         "outputs": 1,\r
1853         "x": 702.952465057373,\r
1854         "y": 5409.009107589722,\r
1855         "z": "2d523017.81121",\r
1856         "wires": [\r
1857             [\r
1858                 "5cdda0db.c6c79"\r
1859             ]\r
1860         ]\r
1861     },\r
1862     {\r
1863         "id": "55344fcf.542e2",\r
1864         "type": "set",\r
1865         "name": "set availability-zone_length to 0",\r
1866         "xml": "<set>\n<parameter name='aai.cloud-region.availability-zones.availability-zone_length' value='0' />\n",\r
1867         "comments": "",\r
1868         "x": 1304.3811073303223,\r
1869         "y": 5427.580345153809,\r
1870         "z": "2d523017.81121",\r
1871         "wires": []\r
1872     },\r
1873     {\r
1874         "id": "5cdda0db.c6c79",\r
1875         "type": "switchNode",\r
1876         "name": "switch AZ max count > 0",\r
1877         "xml": "<switch test='`$db.vf-model.avail-zone-max-count &gt; 0`'>\n",\r
1878         "comments": "",\r
1879         "outputs": 1,\r
1880         "x": 891.5239372253418,\r
1881         "y": 5409.43741941452,\r
1882         "z": "2d523017.81121",\r
1883         "wires": [\r
1884             [\r
1885                 "689f8ebb.877dd",\r
1886                 "dd9a3b97.b39268"\r
1887             ]\r
1888         ]\r
1889     },\r
1890     {\r
1891         "id": "689f8ebb.877dd",\r
1892         "type": "outcomeTrue",\r
1893         "name": "true",\r
1894         "xml": "<outcome value='true'>\n",\r
1895         "comments": "",\r
1896         "outputs": 1,\r
1897         "x": 1094.3810443878174,\r
1898         "y": 5383.723169326782,\r
1899         "z": "2d523017.81121",\r
1900         "wires": [\r
1901             [\r
1902                 "63585eee.6f434"\r
1903             ]\r
1904         ]\r
1905     },\r
1906     {\r
1907         "id": "dd9a3b97.b39268",\r
1908         "type": "outcomeFalse",\r
1909         "name": "false",\r
1910         "xml": "<outcome value='false'>\n",\r
1911         "comments": "",\r
1912         "outputs": 1,\r
1913         "x": 1095.8096656799316,\r
1914         "y": 5428.008916854858,\r
1915         "z": "2d523017.81121",\r
1916         "wires": [\r
1917             [\r
1918                 "55344fcf.542e2"\r
1919             ]\r
1920         ]\r
1921     },\r
1922     {\r
1923         "id": "2bc8145e.9e6d7c",\r
1924         "type": "execute",\r
1925         "name": "execute PropertiesNode",\r
1926         "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
1927         "comments": "",\r
1928         "outputs": 1,\r
1929         "x": 510.95240020751953,\r
1930         "y": 177.1755828857422,\r
1931         "z": "2d523017.81121",\r
1932         "wires": [\r
1933             []\r
1934         ]\r
1935     },\r
1936     {\r
1937         "id": "794a160e.b68c48",\r
1938         "type": "outcome",\r
1939         "name": "NULL",\r
1940         "xml": "<outcome value=''>",\r
1941         "comments": "",\r
1942         "outputs": 1,\r
1943         "x": 729.2857055664062,\r
1944         "y": 1853.2470073699951,\r
1945         "z": "2d523017.81121",\r
1946         "wires": [\r
1947             [\r
1948                 "8d68e064.9148"\r
1949             ]\r
1950         ]\r
1951     },\r
1952     {\r
1953         "id": "b4c0271b.8d9548",\r
1954         "type": "switchNode",\r
1955         "name": "switch ecomp-naming",\r
1956         "xml": "<switch test='`$db.vf-model.ecomp-generated-naming`'>\n",\r
1957         "comments": "",\r
1958         "outputs": 1,\r
1959         "x": 1106.9050941467285,\r
1960         "y": 1753.961443901062,\r
1961         "z": "2d523017.81121",\r
1962         "wires": [\r
1963             [\r
1964                 "1882b0bf.c2311f",\r
1965                 "2eeee2ce.d551be",\r
1966                 "b8c05ccb.47683"\r
1967             ]\r
1968         ]\r
1969     },\r
1970     {\r
1971         "id": "8d68e064.9148",\r
1972         "type": "block",\r
1973         "name": "block : atomic",\r
1974         "xml": "<block atomic=\"true\">",\r
1975         "atomic": "true",\r
1976         "outputs": 1,\r
1977         "x": 875.0002059936523,\r
1978         "y": 1853.247124671936,\r
1979         "z": "2d523017.81121",\r
1980         "wires": [\r
1981             [\r
1982                 "b4c0271b.8d9548",\r
1983                 "2febaea8.95a862"\r
1984             ]\r
1985         ]\r
1986     },\r
1987     {\r
1988         "id": "2eeee2ce.d551be",\r
1989         "type": "outcome",\r
1990         "name": "N",\r
1991         "xml": "<outcome value='N'>",\r
1992         "comments": "",\r
1993         "outputs": 1,\r
1994         "x": 1293.333480834961,\r
1995         "y": 1754.4375705718994,\r
1996         "z": "2d523017.81121",\r
1997         "wires": [\r
1998             [\r
1999                 "da3712d9.f41f4"\r
2000             ]\r
2001         ]\r
2002     },\r
2003     {\r
2004         "id": "1882b0bf.c2311f",\r
2005         "type": "outcome",\r
2006         "name": "Y",\r
2007         "xml": "<outcome value='Y'>",\r
2008         "comments": "",\r
2009         "outputs": 1,\r
2010         "x": 1293.3334732055664,\r
2011         "y": 1713.0090246200562,\r
2012         "z": "2d523017.81121",\r
2013         "wires": [\r
2014             [\r
2015                 "18523eea.6d6ad1"\r
2016             ]\r
2017         ]\r
2018     },\r
2019     {\r
2020         "id": "b8c05ccb.47683",\r
2021         "type": "other",\r
2022         "name": "other",\r
2023         "xml": "<outcome value='Other'>\n",\r
2024         "comments": "",\r
2025         "outputs": 1,\r
2026         "x": 1293.3334197998047,\r
2027         "y": 1797.2947025299072,\r
2028         "z": "2d523017.81121",\r
2029         "wires": [\r
2030             [\r
2031                 "da3712d9.f41f4"\r
2032             ]\r
2033         ]\r
2034     },\r
2035     {\r
2036         "id": "18523eea.6d6ad1",\r
2037         "type": "block",\r
2038         "name": "block",\r
2039         "xml": "<block>\n",\r
2040         "atomic": "false",\r
2041         "comments": "",\r
2042         "outputs": 1,\r
2043         "x": 1430.476390838623,\r
2044         "y": 1713.151891708374,\r
2045         "z": "2d523017.81121",\r
2046         "wires": [\r
2047             []\r
2048         ]\r
2049     },\r
2050     {\r
2051         "id": "109f5318.f22f2d",\r
2052         "type": "other",\r
2053         "name": "other",\r
2054         "xml": "<outcome value='Other'>\n",\r
2055         "comments": "",\r
2056         "outputs": 1,\r
2057         "x": 714.476432800293,\r
2058         "y": 2207.866183280945,\r
2059         "z": "2d523017.81121",\r
2060         "wires": [\r
2061             [\r
2062                 "fa97f7fa.540fd8"\r
2063             ]\r
2064         ]\r
2065     },\r
2066     {\r
2067         "id": "fa97f7fa.540fd8",\r
2068         "type": "set",\r
2069         "name": "set tmp.vnf-name",\r
2070         "xml": "<set>\n<parameter name='tmp.vnf-name' value=\"`$vnf-topology-operation-input.vnf-information.vnf-name`\" />\n",\r
2071         "comments": "",\r
2072         "x": 880.238395690918,\r
2073         "y": 2206.7234535217285,\r
2074         "z": "2d523017.81121",\r
2075         "wires": []\r
2076     },\r
2077     {\r
2078         "id": "8d7fa952.98d108",\r
2079         "type": "call",\r
2080         "name": "call GENERIC-RESOURCE-API:generate-unique-name",\r
2081         "xml": "<call module='GENERIC-RESOURCE-API' rpc='generate-unique-name' mode='sync' >\n",\r
2082         "comments": "",\r
2083         "outputs": 1,\r
2084         "x": 1765.3096733093262,\r
2085         "y": 1903.0089440345764,\r
2086         "z": "2d523017.81121",\r
2087         "wires": [\r
2088             [\r
2089                 "681ac6a0.a11838",\r
2090                 "f4abec22.90002"\r
2091             ]\r
2092         ]\r
2093     },\r
2094     {\r
2095         "id": "681ac6a0.a11838",\r
2096         "type": "failure",\r
2097         "name": "failure",\r
2098         "xml": "<outcome value='failure'>\n",\r
2099         "comments": "",\r
2100         "outputs": 1,\r
2101         "x": 2042.4524765014648,\r
2102         "y": 1876.5804772377014,\r
2103         "z": "2d523017.81121",\r
2104         "wires": [\r
2105             [\r
2106                 "6d7f13cc.8d975c"\r
2107             ]\r
2108         ]\r
2109     },\r
2110     {\r
2111         "id": "f4abec22.90002",\r
2112         "type": "success",\r
2113         "name": "success",\r
2114         "xml": "<outcome value='success'>\n",\r
2115         "comments": "",\r
2116         "outputs": 1,\r
2117         "x": 2047.2142219543457,\r
2118         "y": 1921.9613881111145,\r
2119         "z": "2d523017.81121",\r
2120         "wires": [\r
2121             [\r
2122                 "f9e4fa65.eb0968"\r
2123             ]\r
2124         ]\r
2125     },\r
2126     {\r
2127         "id": "b5dba753.21ae88",\r
2128         "type": "set",\r
2129         "name": "set variables for generating unique name",\r
2130         "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
2131         "comments": "",\r
2132         "x": 1720.3099250793457,\r
2133         "y": 1854.1042637825012,\r
2134         "z": "2d523017.81121",\r
2135         "wires": []\r
2136     },\r
2137     {\r
2138         "id": "f9e4fa65.eb0968",\r
2139         "type": "set",\r
2140         "name": "set tmp.vnf-name to generated name",\r
2141         "xml": "<set>\n<parameter name='tmp.vnf-name' value='`$generate-unique-name-output.generated-name`' />\n",\r
2142         "comments": "",\r
2143         "x": 2270.1186180114746,\r
2144         "y": 1921.4374632835388,\r
2145         "z": "2d523017.81121",\r
2146         "wires": []\r
2147     },\r
2148     {\r
2149         "id": "2febaea8.95a862",\r
2150         "type": "switchNode",\r
2151         "name": "switch naming-policy",\r
2152         "xml": "<switch test='`$db.vf-model.naming-policy`'>\n",\r
2153         "comments": "",\r
2154         "outputs": 1,\r
2155         "x": 1104.6906776428223,\r
2156         "y": 1962.2470607757568,\r
2157         "z": "2d523017.81121",\r
2158         "wires": [\r
2159             [\r
2160                 "8f7b27bf.e7e3a8",\r
2161                 "b931038a.dea97"\r
2162             ]\r
2163         ]\r
2164     },\r
2165     {\r
2166         "id": "8f7b27bf.e7e3a8",\r
2167         "type": "outcome",\r
2168         "name": "NULL",\r
2169         "xml": "<outcome value=''>",\r
2170         "comments": "",\r
2171         "outputs": 1,\r
2172         "x": 1294.6906089782715,\r
2173         "y": 1883.675615310669,\r
2174         "z": "2d523017.81121",\r
2175         "wires": [\r
2176             [\r
2177                 "1ce185e2.fb229a"\r
2178             ]\r
2179         ]\r
2180     },\r
2181     {\r
2182         "id": "b931038a.dea97",\r
2183         "type": "other",\r
2184         "name": "other",\r
2185         "xml": "<outcome value='Other'>\n",\r
2186         "comments": "",\r
2187         "outputs": 1,\r
2188         "x": 1294.9288482666016,\r
2189         "y": 2011.056559562683,\r
2190         "z": "2d523017.81121",\r
2191         "wires": [\r
2192             [\r
2193                 "42c58d7a.bc5884"\r
2194             ]\r
2195         ]\r
2196     },\r
2197     {\r
2198         "id": "1ce185e2.fb229a",\r
2199         "type": "block",\r
2200         "name": "block : atomic",\r
2201         "xml": "<block atomic=\"true\">",\r
2202         "atomic": "true",\r
2203         "outputs": 1,\r
2204         "x": 1447.5478782653809,\r
2205         "y": 1882.2470817565918,\r
2206         "z": "2d523017.81121",\r
2207         "wires": [\r
2208             [\r
2209                 "b5dba753.21ae88",\r
2210                 "8d7fa952.98d108"\r
2211             ]\r
2212         ]\r
2213     },\r
2214     {\r
2215         "id": "17d076a4.213ab9",\r
2216         "type": "call",\r
2217         "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
2218         "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
2219         "comments": "",\r
2220         "outputs": 1,\r
2221         "x": 1786.595802307129,\r
2222         "y": 2026.7709412574768,\r
2223         "z": "2d523017.81121",\r
2224         "wires": [\r
2225             [\r
2226                 "7ca77e3f.200f2",\r
2227                 "edded880.2d4e08"\r
2228             ]\r
2229         ]\r
2230     },\r
2231     {\r
2232         "id": "42c58d7a.bc5884",\r
2233         "type": "block",\r
2234         "name": "block : atomic",\r
2235         "xml": "<block atomic=\"true\">",\r
2236         "atomic": "true",\r
2237         "outputs": 1,\r
2238         "x": 1449.4526977539062,\r
2239         "y": 2011.056559562683,\r
2240         "z": "2d523017.81121",\r
2241         "wires": [\r
2242             [\r
2243                 "9ce0b71c.18bda8",\r
2244                 "17d076a4.213ab9"\r
2245             ]\r
2246         ]\r
2247     },\r
2248     {\r
2249         "id": "9ce0b71c.18bda8",\r
2250         "type": "set",\r
2251         "name": "set variables for generating name",\r
2252         "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
2253         "comments": "",\r
2254         "x": 1696.595718383789,\r
2255         "y": 1981.05659532547,\r
2256         "z": "2d523017.81121",\r
2257         "wires": []\r
2258     },\r
2259     {\r
2260         "id": "efe8f3b.6be4a1",\r
2261         "type": "set",\r
2262         "name": "set tmp.vnf-name to generated name",\r
2263         "xml": "<set>\n<parameter name='tmp.vnf-name' value='`$naming-policy-generate-name-output.vnf-name`' />\n",\r
2264         "comments": "",\r
2265         "x": 2346.4527740478516,\r
2266         "y": 2046.770751953125,\r
2267         "z": "2d523017.81121",\r
2268         "wires": []\r
2269     },\r
2270     {\r
2271         "id": "f54d4b54.f29d58",\r
2272         "type": "block",\r
2273         "name": "block : atomic",\r
2274         "xml": "<block atomic=\"true\">",\r
2275         "atomic": "true",\r
2276         "outputs": 1,\r
2277         "x": 1585.7142028808594,\r
2278         "y": 6319.317764282227,\r
2279         "z": "2d523017.81121",\r
2280         "wires": [\r
2281             [\r
2282                 "48898d5.e385374",\r
2283                 "748556dc.ead268",\r
2284                 "87f91dc6.de07b",\r
2285                 "b319ef18.b3bad"\r
2286             ]\r
2287         ]\r
2288     },\r
2289     {\r
2290         "id": "748556dc.ead268",\r
2291         "type": "call",\r
2292         "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
2293         "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
2294         "comments": "",\r
2295         "outputs": 1,\r
2296         "x": 1964.285629272461,\r
2297         "y": 6294.460662126541,\r
2298         "z": "2d523017.81121",\r
2299         "wires": [\r
2300             []\r
2301         ]\r
2302     },\r
2303     {\r
2304         "id": "48898d5.e385374",\r
2305         "type": "set",\r
2306         "name": "set variables for deleting name",\r
2307         "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
2308         "comments": "",\r
2309         "x": 1865.7142486572266,\r
2310         "y": 6247.317733049393,\r
2311         "z": "2d523017.81121",\r
2312         "wires": []\r
2313     },\r
2314     {\r
2315         "id": "b779e958.044168",\r
2316         "type": "comment",\r
2317         "name": "Unassign the VNF name",\r
2318         "info": "",\r
2319         "comments": "",\r
2320         "x": 1731.6665725708008,\r
2321         "y": 6187.889232873917,\r
2322         "z": "2d523017.81121",\r
2323         "wires": []\r
2324     },\r
2325     {\r
2326         "id": "7ca77e3f.200f2",\r
2327         "type": "failure",\r
2328         "name": "failure",\r
2329         "xml": "<outcome value='failure'>\n",\r
2330         "comments": "",\r
2331         "outputs": 1,\r
2332         "x": 2084.761848449707,\r
2333         "y": 2001.6994485855103,\r
2334         "z": "2d523017.81121",\r
2335         "wires": [\r
2336             [\r
2337                 "702e58b3.200b38"\r
2338             ]\r
2339         ]\r
2340     },\r
2341     {\r
2342         "id": "edded880.2d4e08",\r
2343         "type": "success",\r
2344         "name": "success",\r
2345         "xml": "<outcome value='success'>\n",\r
2346         "comments": "",\r
2347         "outputs": 1,\r
2348         "x": 2089.523593902588,\r
2349         "y": 2047.0803594589233,\r
2350         "z": "2d523017.81121",\r
2351         "wires": [\r
2352             [\r
2353                 "efe8f3b.6be4a1"\r
2354             ]\r
2355         ]\r
2356     },\r
2357     {\r
2358         "id": "8e72cfc8.575e",\r
2359         "type": "block",\r
2360         "name": "block : atomic",\r
2361         "xml": "<block atomic=\"true\">",\r
2362         "atomic": "true",\r
2363         "outputs": 1,\r
2364         "x": 739.9999465942383,\r
2365         "y": 1356.666666984558,\r
2366         "z": "2d523017.81121",\r
2367         "wires": [\r
2368             [\r
2369                 "46dd139e.86081c",\r
2370                 "761b2c43.67ef34"\r
2371             ]\r
2372         ]\r
2373     },\r
2374     {\r
2375         "id": "87cefff2.af896",\r
2376         "type": "for",\r
2377         "name": "for each instance group id",\r
2378         "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
2379         "comments": "",\r
2380         "outputs": 1,\r
2381         "x": 523.3332939147949,\r
2382         "y": 1357.333312034607,\r
2383         "z": "2d523017.81121",\r
2384         "wires": [\r
2385             [\r
2386                 "8e72cfc8.575e"\r
2387             ]\r
2388         ]\r
2389     },\r
2390     {\r
2391         "id": "46dd139e.86081c",\r
2392         "type": "get-resource",\r
2393         "name": "get-resource instance-group",\r
2394         "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
2395         "comments": "",\r
2396         "outputs": 1,\r
2397         "x": 967.9999847412109,\r
2398         "y": 1288.3334255218506,\r
2399         "z": "2d523017.81121",\r
2400         "wires": [\r
2401             [\r
2402                 "113b83c3.c5f2cc",\r
2403                 "1095d6a8.eb1ea9"\r
2404             ]\r
2405         ]\r
2406     },\r
2407     {\r
2408         "id": "1095d6a8.eb1ea9",\r
2409         "type": "failure",\r
2410         "name": "failure",\r
2411         "xml": "<outcome value='failure'>\n",\r
2412         "comments": "",\r
2413         "outputs": 1,\r
2414         "x": 1185.5792770385742,\r
2415         "y": 1319.8174781799316,\r
2416         "z": "2d523017.81121",\r
2417         "wires": [\r
2418             [\r
2419                 "6b5b96d7.f11058"\r
2420             ]\r
2421         ]\r
2422     },\r
2423     {\r
2424         "id": "113b83c3.c5f2cc",\r
2425         "type": "not-found",\r
2426         "name": "not-found",\r
2427         "xml": "<outcome value='not-found'>\n",\r
2428         "comments": "",\r
2429         "outputs": 1,\r
2430         "x": 1194.5081100463867,\r
2431         "y": 1256.4366302490234,\r
2432         "z": "2d523017.81121",\r
2433         "wires": [\r
2434             [\r
2435                 "3d4ce14c.b56fbe"\r
2436             ]\r
2437         ]\r
2438     },\r
2439     {\r
2440         "id": "761b2c43.67ef34",\r
2441         "type": "for",\r
2442         "name": "for each relationship",\r
2443         "xml": "<for index='rel-index' start='0' end='`$aai.instance-group.relationship-list.relationship_length`' >\n",\r
2444         "comments": "",\r
2445         "outputs": 1,\r
2446         "x": 944.9999618530273,\r
2447         "y": 1428.3333644866943,\r
2448         "z": "2d523017.81121",\r
2449         "wires": [\r
2450             [\r
2451                 "ef07f13d.87a9"\r
2452             ]\r
2453         ]\r
2454     },\r
2455     {\r
2456         "id": "ef07f13d.87a9",\r
2457         "type": "switchNode",\r
2458         "name": "switch related-to",\r
2459         "xml": "<switch test='`$aai.instance-group.relationship-list.relationship[$rel-index].related-to`'>\n",\r
2460         "comments": "",\r
2461         "outputs": 1,\r
2462         "x": 1158.3334045410156,\r
2463         "y": 1428.333303451538,\r
2464         "z": "2d523017.81121",\r
2465         "wires": [\r
2466             [\r
2467                 "df5b0cc3.ccd9a"\r
2468             ]\r
2469         ]\r
2470     },\r
2471     {\r
2472         "id": "df5b0cc3.ccd9a",\r
2473         "type": "outcome",\r
2474         "name": "collection",\r
2475         "xml": "<outcome value='collection'>\n",\r
2476         "comments": "",\r
2477         "outputs": 1,\r
2478         "x": 1330.00004196167,\r
2479         "y": 1428.3333854675293,\r
2480         "z": "2d523017.81121",\r
2481         "wires": [\r
2482             [\r
2483                 "98da2133.07fbe"\r
2484             ]\r
2485         ]\r
2486     },\r
2487     {\r
2488         "id": "98da2133.07fbe",\r
2489         "type": "get-resource",\r
2490         "name": "get-resource collection",\r
2491         "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
2492         "comments": "",\r
2493         "outputs": 1,\r
2494         "x": 1549.9999465942383,\r
2495         "y": 1426.6666469573975,\r
2496         "z": "2d523017.81121",\r
2497         "wires": [\r
2498             [\r
2499                 "c6ab56ad.e1e918",\r
2500                 "c4f813df.f6eb3",\r
2501                 "fa511cd0.4acf7"\r
2502             ]\r
2503         ]\r
2504     },\r
2505     {\r
2506         "id": "c4f813df.f6eb3",\r
2507         "type": "failure",\r
2508         "name": "failure",\r
2509         "xml": "<outcome value='failure'>\n",\r
2510         "comments": "",\r
2511         "outputs": 1,\r
2512         "x": 1764.2461395263672,\r
2513         "y": 1378.1508359909058,\r
2514         "z": "2d523017.81121",\r
2515         "wires": [\r
2516             [\r
2517                 "1cfc4c24.ab0124"\r
2518             ]\r
2519         ]\r
2520     },\r
2521     {\r
2522         "id": "c6ab56ad.e1e918",\r
2523         "type": "not-found",\r
2524         "name": "not-found",\r
2525         "xml": "<outcome value='not-found'>\n",\r
2526         "comments": "",\r
2527         "outputs": 1,\r
2528         "x": 1773.1747360229492,\r
2529         "y": 1336.4365692138672,\r
2530         "z": "2d523017.81121",\r
2531         "wires": [\r
2532             [\r
2533                 "75f0b66c.711368"\r
2534             ]\r
2535         ]\r
2536     },\r
2537     {\r
2538         "id": "fa511cd0.4acf7",\r
2539         "type": "success",\r
2540         "name": "success",\r
2541         "xml": "<outcome value='success'>\n",\r
2542         "comments": "",\r
2543         "outputs": 1,\r
2544         "x": 1783.33345413208,\r
2545         "y": 1539.9999542236328,\r
2546         "z": "2d523017.81121",\r
2547         "wires": [\r
2548             [\r
2549                 "2caf3e47.5abe82"\r
2550             ]\r
2551         ]\r
2552     },\r
2553     {\r
2554         "id": "2caf3e47.5abe82",\r
2555         "type": "block",\r
2556         "name": "block : atomic",\r
2557         "xml": "<block atomic=\"true\">",\r
2558         "atomic": "true",\r
2559         "outputs": 1,\r
2560         "x": 1936.6665954589844,\r
2561         "y": 1539.3332500457764,\r
2562         "z": "2d523017.81121",\r
2563         "wires": [\r
2564             [\r
2565                 "889214a0.071c58",\r
2566                 "61c009cd.371838",\r
2567                 "1b8b156c.6c083b",\r
2568                 "79b15187.90b49",\r
2569                 "67373c69.98b004"\r
2570             ]\r
2571         ]\r
2572     },\r
2573     {\r
2574         "id": "889214a0.071c58",\r
2575         "type": "for",\r
2576         "name": "for each network-instance-group",\r
2577         "xml": "<for silentFailure='true' index='nig-index' start='0' end='`$service-data.network-instance-groups.network-instance-group_length`' >\n",\r
2578         "comments": "",\r
2579         "outputs": 1,\r
2580         "x": 2249.2857360839844,\r
2581         "y": 1488.5715045928955,\r
2582         "z": "2d523017.81121",\r
2583         "wires": [\r
2584             [\r
2585                 "64d1075e.ee3f48"\r
2586             ]\r
2587         ]\r
2588     },\r
2589     {\r
2590         "id": "61c009cd.371838",\r
2591         "type": "set",\r
2592         "name": "set found-network-instance-group to false",\r
2593         "xml": "<set>\n<parameter name='found-network-instance-group' value='false' />\n",\r
2594         "comments": "",\r
2595         "x": 2279.2856979370117,\r
2596         "y": 1441.9048767089844,\r
2597         "z": "2d523017.81121",\r
2598         "wires": []\r
2599     },\r
2600     {\r
2601         "id": "64d1075e.ee3f48",\r
2602         "type": "switchNode",\r
2603         "name": "network-instance-group-id matches?",\r
2604         "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
2605         "comments": "",\r
2606         "outputs": 1,\r
2607         "x": 2565.952247619629,\r
2608         "y": 1488.5715036392212,\r
2609         "z": "2d523017.81121",\r
2610         "wires": [\r
2611             [\r
2612                 "e14a30ad.b266"\r
2613             ]\r
2614         ]\r
2615     },\r
2616     {\r
2617         "id": "e14a30ad.b266",\r
2618         "type": "outcomeTrue",\r
2619         "name": "true",\r
2620         "xml": "<outcome value='true'>\n",\r
2621         "comments": "",\r
2622         "outputs": 1,\r
2623         "x": 2787.619026184082,\r
2624         "y": 1488.5714683532715,\r
2625         "z": "2d523017.81121",\r
2626         "wires": [\r
2627             [\r
2628                 "338a6e83.74e682"\r
2629             ]\r
2630         ]\r
2631     },\r
2632     {\r
2633         "id": "338a6e83.74e682",\r
2634         "type": "block",\r
2635         "name": "block",\r
2636         "xml": "<block>\n",\r
2637         "atomic": "false",\r
2638         "comments": "",\r
2639         "outputs": 1,\r
2640         "x": 2917.61905670166,\r
2641         "y": 1488.5715446472168,\r
2642         "z": "2d523017.81121",\r
2643         "wires": [\r
2644             [\r
2645                 "b65b391.a6cd9c8",\r
2646                 "5a856f0a.aefef"\r
2647             ]\r
2648         ]\r
2649     },\r
2650     {\r
2651         "id": "b65b391.a6cd9c8",\r
2652         "type": "set",\r
2653         "name": "set found-network-instance-group to true",\r
2654         "xml": "<set>\n<parameter name='found-network-instance-group' value='true' />\n",\r
2655         "comments": "",\r
2656         "x": 3190.952423095703,\r
2657         "y": 1463.5715236663818,\r
2658         "z": "2d523017.81121",\r
2659         "wires": []\r
2660     },\r
2661     {\r
2662         "id": "5a856f0a.aefef",\r
2663         "type": "break",\r
2664         "name": "break",\r
2665         "xml": "<break>\n",\r
2666         "comments": "",\r
2667         "x": 3084.2860374450684,\r
2668         "y": 1511.904893875122,\r
2669         "z": "2d523017.81121",\r
2670         "wires": []\r
2671     },\r
2672     {\r
2673         "id": "1b8b156c.6c083b",\r
2674         "type": "switchNode",\r
2675         "name": "switch found-network-instance-group",\r
2676         "xml": "<switch test='`$found-network-instance-group`'>\n",\r
2677         "comments": "",\r
2678         "outputs": 1,\r
2679         "x": 2260.9523544311523,\r
2680         "y": 1538.5714855194092,\r
2681         "z": "2d523017.81121",\r
2682         "wires": [\r
2683             [\r
2684                 "49805ef2.194a"\r
2685             ]\r
2686         ]\r
2687     },\r
2688     {\r
2689         "id": "49805ef2.194a",\r
2690         "type": "outcomeFalse",\r
2691         "name": "false",\r
2692         "xml": "<outcome value='false'>\n",\r
2693         "comments": "",\r
2694         "outputs": 1,\r
2695         "x": 2482.6192016601562,\r
2696         "y": 1538.5715079307556,\r
2697         "z": "2d523017.81121",\r
2698         "wires": [\r
2699             [\r
2700                 "a3ec7ac.ac12b88"\r
2701             ]\r
2702         ]\r
2703     },\r
2704     {\r
2705         "id": "9e4b2f5.d8554d",\r
2706         "type": "set",\r
2707         "name": "set tmp.vnf-network-collection_length to 0",\r
2708         "xml": "<set>\n<parameter name='tmp.vnf-network-collection_length' value='0' />\n",\r
2709         "comments": "",\r
2710         "x": 571.666633605957,\r
2711         "y": 1308.3334436416626,\r
2712         "z": "2d523017.81121",\r
2713         "wires": []\r
2714     },\r
2715     {\r
2716         "id": "79b15187.90b49",\r
2717         "type": "set",\r
2718         "name": "set vnf-network-collection data",\r
2719         "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
2720         "comments": "",\r
2721         "x": 2240.95267868042,\r
2722         "y": 1586.904821395874,\r
2723         "z": "2d523017.81121",\r
2724         "wires": []\r
2725     },\r
2726     {\r
2727         "id": "67373c69.98b004",\r
2728         "type": "set",\r
2729         "name": "increment tmp.vnf-network-collection_length",\r
2730         "xml": "<set>\n<parameter name='tmp.vnf-network-collection_length' value='`$tmp.vnf-network-collection_length + 1`' />\n",\r
2731         "comments": "",\r
2732         "x": 2282.619384765625,\r
2733         "y": 1633.5714893341064,\r
2734         "z": "2d523017.81121",\r
2735         "wires": []\r
2736     },\r
2737     {\r
2738         "id": "5563a4c5.a199ec",\r
2739         "type": "set",\r
2740         "name": "set vnf-network-collection_length",\r
2741         "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
2742         "comments": "",\r
2743         "x": 550.8333282470703,\r
2744         "y": 1565.8333930969238,\r
2745         "z": "2d523017.81121",\r
2746         "wires": []\r
2747     },\r
2748     {\r
2749         "id": "a9b7ab72.63a7e8",\r
2750         "type": "block",\r
2751         "name": "block : atomic",\r
2752         "xml": "<block atomic=\"true\">",\r
2753         "atomic": "true",\r
2754         "outputs": 1,\r
2755         "x": 668.6667098999023,\r
2756         "y": 5898.80961894989,\r
2757         "z": "2d523017.81121",\r
2758         "wires": [\r
2759             [\r
2760                 "f0f08819.d9d3b8"\r
2761             ]\r
2762         ]\r
2763     },\r
2764     {\r
2765         "id": "97421a9a.865f98",\r
2766         "type": "for",\r
2767         "name": "for each instance group id",\r
2768         "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
2769         "comments": "",\r
2770         "outputs": 1,\r
2771         "x": 452.000057220459,\r
2772         "y": 5899.476263999939,\r
2773         "z": "2d523017.81121",\r
2774         "wires": [\r
2775             [\r
2776                 "a9b7ab72.63a7e8"\r
2777             ]\r
2778         ]\r
2779     },\r
2780     {\r
2781         "id": "f0f08819.d9d3b8",\r
2782         "type": "save",\r
2783         "name": "save generic-vnf relationship to instance-group",\r
2784         "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
2785         "comments": "",\r
2786         "outputs": 1,\r
2787         "x": 952.0000381469727,\r
2788         "y": 5898.333299636841,\r
2789         "z": "2d523017.81121",\r
2790         "wires": [\r
2791             [\r
2792                 "7a8ee12f.371a6",\r
2793                 "1be782fa.92bfcd"\r
2794             ]\r
2795         ]\r
2796     },\r
2797     {\r
2798         "id": "7a8ee12f.371a6",\r
2799         "type": "failure",\r
2800         "name": "failure",\r
2801         "xml": "<outcome value='failure'>\n",\r
2802         "comments": "",\r
2803         "outputs": 1,\r
2804         "x": 1211.3572616577148,\r
2805         "y": 5875.285715103149,\r
2806         "z": "2d523017.81121",\r
2807         "wires": [\r
2808             [\r
2809                 "b5b87fb0.590f"\r
2810             ]\r
2811         ]\r
2812     },\r
2813     {\r
2814         "id": "1be782fa.92bfcd",\r
2815         "type": "not-found",\r
2816         "name": "not-found",\r
2817         "xml": "<outcome value='not-found'>\n",\r
2818         "comments": "",\r
2819         "outputs": 1,\r
2820         "x": 1219.9286918640137,\r
2821         "y": 5919.57142829895,\r
2822         "z": "2d523017.81121",\r
2823         "wires": [\r
2824             [\r
2825                 "610d2304.a3d70c"\r
2826             ]\r
2827         ]\r
2828     },\r
2829     {\r
2830         "id": "c41b6137.b6d4b",\r
2831         "type": "switchNode",\r
2832         "name": "switch subnet_length",\r
2833         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet_length`'>\n",\r
2834         "comments": "",\r
2835         "outputs": 1,\r
2836         "x": 1273.5714569091797,\r
2837         "y": 4331.428667068481,\r
2838         "z": "2d523017.81121",\r
2839         "wires": [\r
2840             [\r
2841                 "f2057e5e.eaee4",\r
2842                 "f813a06e.cb2a1",\r
2843                 "ce347497.746558"\r
2844             ]\r
2845         ]\r
2846     },\r
2847     {\r
2848         "id": "f2057e5e.eaee4",\r
2849         "type": "outcome",\r
2850         "name": "NULL",\r
2851         "xml": "<outcome value=''>",\r
2852         "comments": "",\r
2853         "outputs": 1,\r
2854         "x": 1446.4286193847656,\r
2855         "y": 4294.285726547241,\r
2856         "z": "2d523017.81121",\r
2857         "wires": [\r
2858             [\r
2859                 "82fb5a4d.e1f5b8"\r
2860             ]\r
2861         ]\r
2862     },\r
2863     {\r
2864         "id": "f813a06e.cb2a1",\r
2865         "type": "outcome",\r
2866         "name": "0",\r
2867         "xml": "<outcome value='0'>\n",\r
2868         "comments": "",\r
2869         "outputs": 1,\r
2870         "x": 1447.8571891784668,\r
2871         "y": 4332.856889724731,\r
2872         "z": "2d523017.81121",\r
2873         "wires": [\r
2874             [\r
2875                 "82fb5a4d.e1f5b8"\r
2876             ]\r
2877         ]\r
2878     },\r
2879     {\r
2880         "id": "ce347497.746558",\r
2881         "type": "other",\r
2882         "name": "other",\r
2883         "xml": "<outcome value='Other'>\n",\r
2884         "comments": "",\r
2885         "outputs": 1,\r
2886         "x": 1446.428653717041,\r
2887         "y": 4371.428281784058,\r
2888         "z": "2d523017.81121",\r
2889         "wires": [\r
2890             [\r
2891                 "7cc4f5b7.8976ac"\r
2892             ]\r
2893         ]\r
2894     },\r
2895     {\r
2896         "id": "7cc4f5b7.8976ac",\r
2897         "type": "block",\r
2898         "name": "block",\r
2899         "xml": "<block>\n",\r
2900         "atomic": "false",\r
2901         "comments": "",\r
2902         "outputs": 1,\r
2903         "x": 1567.8572082519531,\r
2904         "y": 4371.428548812866,\r
2905         "z": "2d523017.81121",\r
2906         "wires": [\r
2907             [\r
2908                 "a129d9ae.667dd8",\r
2909                 "84d519bc.318478"\r
2910             ]\r
2911         ]\r
2912     },\r
2913     {\r
2914         "id": "82fb5a4d.e1f5b8",\r
2915         "type": "set",\r
2916         "name": "set subnet_length to 0",\r
2917         "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
2918         "comments": "",\r
2919         "x": 1639.2858123779297,\r
2920         "y": 4302.856889724731,\r
2921         "z": "2d523017.81121",\r
2922         "wires": []\r
2923     },\r
2924     {\r
2925         "id": "9ab83872.914ab8",\r
2926         "type": "block",\r
2927         "name": "block : atomic",\r
2928         "xml": "<block atomic=\"true\">",\r
2929         "atomic": "true",\r
2930         "outputs": 1,\r
2931         "x": 256.74603271484375,\r
2932         "y": 395.61908054351807,\r
2933         "z": "2d523017.81121",\r
2934         "wires": [\r
2935             [\r
2936                 "2bc8145e.9e6d7c",\r
2937                 "49a698b9.947698",\r
2938                 "ade9f393.c1d96",\r
2939                 "36f653c4.5383bc",\r
2940                 "16470885.0e3b37",\r
2941                 "1caeb411.8cfeac"\r
2942             ]\r
2943         ]\r
2944     },\r
2945     {\r
2946         "id": "26e050ad.0575e",\r
2947         "type": "block",\r
2948         "name": "block",\r
2949         "xml": "<block>\n",\r
2950         "atomic": "false",\r
2951         "comments": "",\r
2952         "outputs": 1,\r
2953         "x": 1909.047664642334,\r
2954         "y": 4350.032744407654,\r
2955         "z": "2d523017.81121",\r
2956         "wires": [\r
2957             [\r
2958                 "6613870.b132378",\r
2959                 "722310bb.9f769",\r
2960                 "9fd39f7.3cbf46",\r
2961                 "d3095f31.7d4de"\r
2962             ]\r
2963         ]\r
2964     },\r
2965     {\r
2966         "id": "8dc14ff8.fbd57",\r
2967         "type": "set",\r
2968         "name": "clear aai.l3-network",\r
2969         "xml": "<set>\n<parameter name='aai.l3-network.' value='' />\n",\r
2970         "comments": "",\r
2971         "x": 1260.4762344360352,\r
2972         "y": 3404.3182973861694,\r
2973         "z": "2d523017.81121",\r
2974         "wires": []\r
2975     },\r
2976     {\r
2977         "id": "6ee99534.f9db3c",\r
2978         "type": "break",\r
2979         "name": "break",\r
2980         "xml": "<break>\n",\r
2981         "comments": "",\r
2982         "x": 3709.3330459594727,\r
2983         "y": 4250.032426834106,\r
2984         "z": "2d523017.81121",\r
2985         "wires": []\r
2986     },\r
2987     {\r
2988         "id": "85730c77.85f6e",\r
2989         "type": "set",\r
2990         "name": "set found-network to false",\r
2991         "xml": "<set>\n<parameter name='found-network' value='false' />\n",\r
2992         "comments": "",\r
2993         "x": 1409.0476379394531,\r
2994         "y": 3955.7468309402466,\r
2995         "z": "2d523017.81121",\r
2996         "wires": []\r
2997     },\r
2998     {\r
2999         "id": "3979a64c.84ab9a",\r
3000         "type": "block",\r
3001         "name": "block : atomic",\r
3002         "xml": "<block atomic=\"true\">",\r
3003         "atomic": "true",\r
3004         "outputs": 1,\r
3005         "x": 2380.7619438171387,\r
3006         "y": 4110.032627105713,\r
3007         "z": "2d523017.81121",\r
3008         "wires": [\r
3009             [\r
3010                 "d24ce0d7.c8619",\r
3011                 "c4e4f6d8.6939d8"\r
3012             ]\r
3013         ]\r
3014     },\r
3015     {\r
3016         "id": "c4e4f6d8.6939d8",\r
3017         "type": "switchNode",\r
3018         "name": "switch found-network",\r
3019         "xml": "<switch test='`$found-network`'>\n",\r
3020         "comments": "",\r
3021         "outputs": 1,\r
3022         "x": 2572.1904907226562,\r
3023         "y": 4140.032681465149,\r
3024         "z": "2d523017.81121",\r
3025         "wires": [\r
3026             [\r
3027                 "8700444f.d17ae8"\r
3028             ]\r
3029         ]\r
3030     },\r
3031     {\r
3032         "id": "133789d2.fbdb36",\r
3033         "type": "set",\r
3034         "name": "set found-network to true",\r
3035         "xml": "<set>\n<parameter name='found-network' value='true' />\n",\r
3036         "comments": "",\r
3037         "x": 3765.047924041748,\r
3038         "y": 4204.3181076049805,\r
3039         "z": "2d523017.81121",\r
3040         "wires": []\r
3041     },\r
3042     {\r
3043         "id": "8700444f.d17ae8",\r
3044         "type": "outcomeTrue",\r
3045         "name": "true",\r
3046         "xml": "<outcome value='true'>\n",\r
3047         "comments": "",\r
3048         "outputs": 1,\r
3049         "x": 2740.7619819641113,\r
3050         "y": 4140.0326108932495,\r
3051         "z": "2d523017.81121",\r
3052         "wires": [\r
3053             [\r
3054                 "4c345848.e3a208"\r
3055             ]\r
3056         ]\r
3057     },\r
3058     {\r
3059         "id": "4c345848.e3a208",\r
3060         "type": "break",\r
3061         "name": "break",\r
3062         "xml": "<break>\n",\r
3063         "comments": "",\r
3064         "x": 2870.762050628662,\r
3065         "y": 4138.604004859924,\r
3066         "z": "2d523017.81121",\r
3067         "wires": []\r
3068     },\r
3069     {\r
3070         "id": "c1ed15e6.f88648",\r
3071         "type": "block",\r
3072         "name": "block : atomic",\r
3073         "xml": "<block atomic=\"true\">",\r
3074         "atomic": "true",\r
3075         "outputs": 1,\r
3076         "x": 1581.0476608276367,\r
3077         "y": 4083.7469053268433,\r
3078         "z": "2d523017.81121",\r
3079         "wires": [\r
3080             [\r
3081                 "e75f10eb.ced4f",\r
3082                 "be46946a.165bb8"\r
3083             ]\r
3084         ]\r
3085     },\r
3086     {\r
3087         "id": "be46946a.165bb8",\r
3088         "type": "switchNode",\r
3089         "name": "switch found-network",\r
3090         "xml": "<switch test='`$found-network`'>\n",\r
3091         "comments": "",\r
3092         "outputs": 1,\r
3093         "x": 1791.0476150512695,\r
3094         "y": 4155.746788978577,\r
3095         "z": "2d523017.81121",\r
3096         "wires": [\r
3097             [\r
3098                 "2f6a30a5.92d22"\r
3099             ]\r
3100         ]\r
3101     },\r
3102     {\r
3103         "id": "2f6a30a5.92d22",\r
3104         "type": "outcomeTrue",\r
3105         "name": "true",\r
3106         "xml": "<outcome value='true'>\n",\r
3107         "comments": "",\r
3108         "outputs": 1,\r
3109         "x": 1959.6191062927246,\r
3110         "y": 4155.746718406677,\r
3111         "z": "2d523017.81121",\r
3112         "wires": [\r
3113             [\r
3114                 "587b7976.a36108"\r
3115             ]\r
3116         ]\r
3117     },\r
3118     {\r
3119         "id": "587b7976.a36108",\r
3120         "type": "break",\r
3121         "name": "break",\r
3122         "xml": "<break>\n",\r
3123         "comments": "",\r
3124         "x": 2089.6191749572754,\r
3125         "y": 4154.318112373352,\r
3126         "z": "2d523017.81121",\r
3127         "wires": []\r
3128     },\r
3129     {\r
3130         "id": "9fd39f7.3cbf46",\r
3131         "type": "set",\r
3132         "name": "set subnet data",\r
3133         "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
3134         "comments": "",\r
3135         "x": 2063.3334312438965,\r
3136         "y": 4380.714490890503,\r
3137         "z": "2d523017.81121",\r
3138         "wires": []\r
3139     },\r
3140     {\r
3141         "id": "d3095f31.7d4de",\r
3142         "type": "switchNode",\r
3143         "name": "switch dhcp-enabled",\r
3144         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].dhcp-enabled`'>\n",\r
3145         "comments": "",\r
3146         "outputs": 1,\r
3147         "x": 2077.8572120666504,\r
3148         "y": 4433.557444572449,\r
3149         "z": "2d523017.81121",\r
3150         "wires": [\r
3151             [\r
3152                 "a8c627c.ce253d8",\r
3153                 "39879203.ca3c2e"\r
3154             ]\r
3155         ]\r
3156     },\r
3157     {\r
3158         "id": "a8c627c.ce253d8",\r
3159         "type": "outcomeTrue",\r
3160         "name": "true",\r
3161         "xml": "<outcome value='true'>\n",\r
3162         "comments": "",\r
3163         "outputs": 1,\r
3164         "x": 2240.714376722063,\r
3165         "y": 4412.1288022994995,\r
3166         "z": "2d523017.81121",\r
3167         "wires": [\r
3168             [\r
3169                 "85e1593a.3a1828"\r
3170             ]\r
3171         ]\r
3172     },\r
3173     {\r
3174         "id": "39879203.ca3c2e",\r
3175         "type": "outcomeFalse",\r
3176         "name": "false",\r
3177         "xml": "<outcome value='false'>\n",\r
3178         "comments": "",\r
3179         "outputs": 1,\r
3180         "x": 2239.2857093811035,\r
3181         "y": 4457.843228340149,\r
3182         "z": "2d523017.81121",\r
3183         "wires": [\r
3184             [\r
3185                 "d7a92919.2d05e8"\r
3186             ]\r
3187         ]\r
3188     },\r
3189     {\r
3190         "id": "85e1593a.3a1828",\r
3191         "type": "set",\r
3192         "name": "set dhcp-enabled to Y",\r
3193         "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
3194         "comments": "",\r
3195         "x": 2413.571575164795,\r
3196         "y": 4410.700198173523,\r
3197         "z": "2d523017.81121",\r
3198         "wires": []\r
3199     },\r
3200     {\r
3201         "id": "d7a92919.2d05e8",\r
3202         "type": "set",\r
3203         "name": "set dhcp-enabled to N",\r
3204         "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
3205         "comments": "",\r
3206         "x": 2410.714344024658,\r
3207         "y": 4457.843228340149,\r
3208         "z": "2d523017.81121",\r
3209         "wires": []\r
3210     },\r
3211     {\r
3212         "id": "6613870.b132378",\r
3213         "type": "switchNode",\r
3214         "name": "switch subnet-role",\r
3215         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role`'>\n",\r
3216         "comments": "",\r
3217         "outputs": 1,\r
3218         "x": 2078.333381652832,\r
3219         "y": 4262.605116844177,\r
3220         "z": "2d523017.81121",\r
3221         "wires": [\r
3222             [\r
3223                 "75942d08.2adc24"\r
3224             ]\r
3225         ]\r
3226     },\r
3227     {\r
3228         "id": "75942d08.2adc24",\r
3229         "type": "outcome",\r
3230         "name": "NULL",\r
3231         "xml": "<outcome value=''>",\r
3232         "comments": "",\r
3233         "outputs": 1,\r
3234         "x": 2244.999984741211,\r
3235         "y": 4262.604768753052,\r
3236         "z": "2d523017.81121",\r
3237         "wires": [\r
3238             [\r
3239                 "4010a065.68c26"\r
3240             ]\r
3241         ]\r
3242     },\r
3243     {\r
3244         "id": "4010a065.68c26",\r
3245         "type": "set",\r
3246         "name": "set subnet-role to NONE",\r
3247         "xml": "<set>\n<parameter name='aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].subnet-role' value='NONE' />\n",\r
3248         "comments": "",\r
3249         "x": 2426.6667709350586,\r
3250         "y": 4261.93842124939,\r
3251         "z": "2d523017.81121",\r
3252         "wires": []\r
3253     },\r
3254     {\r
3255         "id": "722310bb.9f769",\r
3256         "type": "switchNode",\r
3257         "name": "switch ip-version",\r
3258         "xml": "<switch test='`$aai.l3-network.l3-network[$db-network-index].subnets.subnet[$subnet-index].ip-version`'>\n",\r
3259         "comments": "",\r
3260         "outputs": 1,\r
3261         "x": 2073.5717163085938,\r
3262         "y": 4327.096222877502,\r
3263         "z": "2d523017.81121",\r
3264         "wires": [\r
3265             [\r
3266                 "5fa58662.2f38f8",\r
3267                 "df8a7995.4fde48"\r
3268             ]\r
3269         ]\r
3270     },\r
3271     {\r
3272         "id": "5fa58662.2f38f8",\r
3273         "type": "outcome",\r
3274         "name": "4",\r
3275         "xml": "<outcome value='4'>\n",\r
3276         "comments": "",\r
3277         "outputs": 1,\r
3278         "x": 2239.285858154297,\r
3279         "y": 4308.524620056152,\r
3280         "z": "2d523017.81121",\r
3281         "wires": [\r
3282             [\r
3283                 "5516675c.dd67e8"\r
3284             ]\r
3285         ]\r
3286     },\r
3287     {\r
3288         "id": "df8a7995.4fde48",\r
3289         "type": "outcome",\r
3290         "name": "6",\r
3291         "xml": "<outcome value='6'>\n",\r
3292         "comments": "",\r
3293         "outputs": 1,\r
3294         "x": 2239.285820007324,\r
3295         "y": 4349.953363418579,\r
3296         "z": "2d523017.81121",\r
3297         "wires": [\r
3298             [\r
3299                 "f2e70afd.b8c238"\r
3300             ]\r
3301         ]\r
3302     },\r
3303     {\r
3304         "id": "5516675c.dd67e8",\r
3305         "type": "set",\r
3306         "name": "set tmp.ip-version to ipv4",\r
3307         "xml": "<set>\n<parameter name='tmp.ip-version' value='ipv4' />\n",\r
3308         "comments": "",\r
3309         "x": 2426.428623199463,\r
3310         "y": 4307.667547225952,\r
3311         "z": "2d523017.81121",\r
3312         "wires": []\r
3313     },\r
3314     {\r
3315         "id": "f2e70afd.b8c238",\r
3316         "type": "set",\r
3317         "name": "set tmp.ip-version to ipv6",\r
3318         "xml": "<set>\n<parameter name='tmp.ip-version' value='ipv6' />\n",\r
3319         "comments": "",\r
3320         "x": 2425.000175476074,\r
3321         "y": 4349.953365325928,\r
3322         "z": "2d523017.81121",\r
3323         "wires": []\r
3324     },\r
3325     {\r
3326         "id": "b7e5144f.5264b8",\r
3327         "type": "switchNode",\r
3328         "name": "switch network-role",\r
3329         "xml": "<switch test='`$db.vf-network-role-mapping[$role-index].network-role`'>\n",\r
3330         "comments": "",\r
3331         "outputs": 1,\r
3332         "x": 705.9999084472656,\r
3333         "y": 4335.333273887634,\r
3334         "z": "2d523017.81121",\r
3335         "wires": [\r
3336             [\r
3337                 "b3ca721f.fe335",\r
3338                 "272dba83.a8aed6",\r
3339                 "83078563.934988",\r
3340                 "5dd2d1e7.b5782"\r
3341             ]\r
3342         ]\r
3343     },\r
3344     {\r
3345         "id": "b3ca721f.fe335",\r
3346         "type": "outcome",\r
3347         "name": "NULL",\r
3348         "xml": "<outcome value=''>",\r
3349         "comments": "",\r
3350         "outputs": 1,\r
3351         "x": 874.0951728820801,\r
3352         "y": 4233.66668510437,\r
3353         "z": "2d523017.81121",\r
3354         "wires": [\r
3355             [\r
3356                 "15298732.e21cb9"\r
3357             ]\r
3358         ]\r
3359     },\r
3360     {\r
3361         "id": "272dba83.a8aed6",\r
3362         "type": "other",\r
3363         "name": "other",\r
3364         "xml": "<outcome value='Other'>\n",\r
3365         "comments": "",\r
3366         "outputs": 1,\r
3367         "x": 872.6665496826172,\r
3368         "y": 4361.999873161316,\r
3369         "z": "2d523017.81121",\r
3370         "wires": [\r
3371             [\r
3372                 "fde1d716.a4a0e8"\r
3373             ]\r
3374         ]\r
3375     },\r
3376     {\r
3377         "id": "15298732.e21cb9",\r
3378         "type": "block",\r
3379         "name": "block",\r
3380         "xml": "<block>\n",\r
3381         "atomic": "false",\r
3382         "comments": "",\r
3383         "outputs": 1,\r
3384         "x": 1011.4761810302734,\r
3385         "y": 4273.42826461792,\r
3386         "z": "2d523017.81121",\r
3387         "wires": [\r
3388             []\r
3389         ]\r
3390     },\r
3391     {\r
3392         "id": "4e569933.c14918",\r
3393         "type": "get-resource",\r
3394         "name": "get-resource VNF_RELATED_NETWORK_ROLE",\r
3395         "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
3396         "comments": "",\r
3397         "outputs": 1,\r
3398         "x": 1368.0000038146973,\r
3399         "y": 4665.079788208008,\r
3400         "z": "2d523017.81121",\r
3401         "wires": [\r
3402             [\r
3403                 "231fd20b.4ba7ee",\r
3404                 "7d447ac2.636e24"\r
3405             ]\r
3406         ]\r
3407     },\r
3408     {\r
3409         "id": "231fd20b.4ba7ee",\r
3410         "type": "failure",\r
3411         "name": "failure",\r
3412         "xml": "<outcome value='failure'>\n",\r
3413         "comments": "",\r
3414         "outputs": 1,\r
3415         "x": 1636.6666679382324,\r
3416         "y": 4495.746629714966,\r
3417         "z": "2d523017.81121",\r
3418         "wires": [\r
3419             [\r
3420                 "c3080a54.9b9f68"\r
3421             ]\r
3422         ]\r
3423     },\r
3424     {\r
3425         "id": "7d447ac2.636e24",\r
3426         "type": "success",\r
3427         "name": "success",\r
3428         "xml": "<outcome value='success'>\n",\r
3429         "comments": "",\r
3430         "outputs": 1,\r
3431         "x": 1639.6666984558105,\r
3432         "y": 4858.41314125061,\r
3433         "z": "2d523017.81121",\r
3434         "wires": [\r
3435             [\r
3436                 "75a86f84.f58c6"\r
3437             ]\r
3438         ]\r
3439     },\r
3440     {\r
3441         "id": "75a86f84.f58c6",\r
3442         "type": "block",\r
3443         "name": "block : atomic",\r
3444         "xml": "<block atomic=\"true\">",\r
3445         "atomic": "true",\r
3446         "outputs": 1,\r
3447         "x": 1806.0000038146973,\r
3448         "y": 4856.412796020508,\r
3449         "z": "2d523017.81121",\r
3450         "wires": [\r
3451             [\r
3452                 "ec2c65f9.047778",\r
3453                 "ef924ba7.f37c58",\r
3454                 "13bb35f5.a0401a",\r
3455                 "e36fed30.43efa",\r
3456                 "13a6411b.4f65df",\r
3457                 "e8de30ac.6f904",\r
3458                 "dc960591.08f438",\r
3459                 "e90b4b31.6e7908",\r
3460                 "56b41d87.a09d94"\r
3461             ]\r
3462         ]\r
3463     },\r
3464     {\r
3465         "id": "225c2fa8.b622f",\r
3466         "type": "outcome",\r
3467         "name": "service-instance",\r
3468         "xml": "<outcome value='service-instance'>\n",\r
3469         "comments": "",\r
3470         "outputs": 1,\r
3471         "x": 2744.285472869873,\r
3472         "y": 4028.651467323303,\r
3473         "z": "2d523017.81121",\r
3474         "wires": [\r
3475             [\r
3476                 "99500da8.54e39"\r
3477             ]\r
3478         ]\r
3479     },\r
3480     {\r
3481         "id": "99500da8.54e39",\r
3482         "type": "for",\r
3483         "name": "for each relationship data",\r
3484         "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
3485         "comments": "",\r
3486         "outputs": 1,\r
3487         "x": 2969.7613105773926,\r
3488         "y": 4029.0800971984863,\r
3489         "z": "2d523017.81121",\r
3490         "wires": [\r
3491             [\r
3492                 "ee0dc0db.eb114"\r
3493             ]\r
3494         ]\r
3495     },\r
3496     {\r
3497         "id": "ee0dc0db.eb114",\r
3498         "type": "switchNode",\r
3499         "name": "switch relationship-key",\r
3500         "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
3501         "comments": "",\r
3502         "outputs": 1,\r
3503         "x": 3204.9998817443848,\r
3504         "y": 4027.413528442383,\r
3505         "z": "2d523017.81121",\r
3506         "wires": [\r
3507             [\r
3508                 "d270b105.8ac1a"\r
3509             ]\r
3510         ]\r
3511     },\r
3512     {\r
3513         "id": "d270b105.8ac1a",\r
3514         "type": "outcome",\r
3515         "name": "service-instance.service-instance-id",\r
3516         "xml": "<outcome value='service-instance.service-instance-id'>\n",\r
3517         "comments": "",\r
3518         "outputs": 1,\r
3519         "x": 3471.4282417297363,\r
3520         "y": 4027.413592338562,\r
3521         "z": "2d523017.81121",\r
3522         "wires": [\r
3523             [\r
3524                 "bda20892.371be8"\r
3525             ]\r
3526         ]\r
3527     },\r
3528     {\r
3529         "id": "bda20892.371be8",\r
3530         "type": "set",\r
3531         "name": "set network-service-instance-id",\r
3532         "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
3533         "comments": "",\r
3534         "x": 3765.000026702881,\r
3535         "y": 4025.747007369995,\r
3536         "z": "2d523017.81121",\r
3537         "wires": []\r
3538     },\r
3539     {\r
3540         "id": "ec2c65f9.047778",\r
3541         "type": "execute",\r
3542         "name": "generate network-topology-identifier-structure url",\r
3543         "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
3544         "comments": "",\r
3545         "outputs": 1,\r
3546         "x": 2125.3331718444824,\r
3547         "y": 4552.080429077148,\r
3548         "z": "2d523017.81121",\r
3549         "wires": [\r
3550             []\r
3551         ]\r
3552     },\r
3553     {\r
3554         "id": "13bb35f5.a0401a",\r
3555         "type": "execute",\r
3556         "name": "execute RestApiCallNode - get network-topology-identifier-structure",\r
3557         "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
3558         "comments": "",\r
3559         "outputs": 1,\r
3560         "x": 2182.33296585083,\r
3561         "y": 4655.509169578552,\r
3562         "z": "2d523017.81121",\r
3563         "wires": [\r
3564             [\r
3565                 "3038b18e.e97b7e"\r
3566             ]\r
3567         ]\r
3568     },\r
3569     {\r
3570         "id": "ef924ba7.f37c58",\r
3571         "type": "execute",\r
3572         "name": "generate network-topology-identifier-structure url (part 2)",\r
3573         "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
3574         "comments": "",\r
3575         "outputs": 1,\r
3576         "x": 2146.9997596740723,\r
3577         "y": 4595.413772583008,\r
3578         "z": "2d523017.81121",\r
3579         "wires": [\r
3580             []\r
3581         ]\r
3582     },\r
3583     {\r
3584         "id": "59c331da.0d09b",\r
3585         "type": "execute",\r
3586         "name": "printContext",\r
3587         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vnfa.log' />\n",\r
3588         "comments": "",\r
3589         "outputs": 1,\r
3590         "x": 452.33337783813477,\r
3591         "y": 4502.079788208008,\r
3592         "z": "2d523017.81121",\r
3593         "wires": [\r
3594             []\r
3595         ]\r
3596     },\r
3597     {\r
3598         "id": "3038b18e.e97b7e",\r
3599         "type": "failure",\r
3600         "name": "failure",\r
3601         "xml": "<outcome value='failure'>\n",\r
3602         "comments": "",\r
3603         "outputs": 1,\r
3604         "x": 2511.442153930664,\r
3605         "y": 4655.259647369385,\r
3606         "z": "2d523017.81121",\r
3607         "wires": [\r
3608             [\r
3609                 "f361b5ff.f38548"\r
3610             ]\r
3611         ]\r
3612     },\r
3613     {\r
3614         "id": "e36fed30.43efa",\r
3615         "type": "set",\r
3616         "name": "set is-trunked and segmentation-id in vnf-network",\r
3617         "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
3618         "comments": "",\r
3619         "x": 2124.999988555908,\r
3620         "y": 4715.746793746948,\r
3621         "z": "2d523017.81121",\r
3622         "wires": []\r
3623     },\r
3624     {\r
3625         "id": "e8de30ac.6f904",\r
3626         "type": "save",\r
3627         "name": "custom query: get owning entity",\r
3628         "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
3629         "comments": "",\r
3630         "outputs": 1,\r
3631         "x": 2065.9998817443848,\r
3632         "y": 4791.080276489258,\r
3633         "z": "2d523017.81121",\r
3634         "wires": [\r
3635             [\r
3636                 "bb11fe98.9b1b9",\r
3637                 "12e91c7e.074344"\r
3638             ]\r
3639         ]\r
3640     },\r
3641     {\r
3642         "id": "bb11fe98.9b1b9",\r
3643         "type": "failure",\r
3644         "name": "failure",\r
3645         "xml": "<outcome value='failure'>\n",\r
3646         "comments": "",\r
3647         "outputs": 1,\r
3648         "x": 2276.2379302978516,\r
3649         "y": 4769.74663066864,\r
3650         "z": "2d523017.81121",\r
3651         "wires": [\r
3652             [\r
3653                 "b897f854.8a4f58"\r
3654             ]\r
3655         ]\r
3656     },\r
3657     {\r
3658         "id": "12e91c7e.074344",\r
3659         "type": "not-found",\r
3660         "name": "not-found",\r
3661         "xml": "<outcome value='not-found'>\n",\r
3662         "comments": "",\r
3663         "outputs": 1,\r
3664         "x": 2283.3808250427246,\r
3665         "y": 4815.460855484009,\r
3666         "z": "2d523017.81121",\r
3667         "wires": [\r
3668             [\r
3669                 "a1cce433.a5c9a8"\r
3670             ]\r
3671         ]\r
3672     },\r
3673     {\r
3674         "id": "eb288d10.2446b",\r
3675         "type": "save",\r
3676         "name": "custom query: get tenant network",\r
3677         "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
3678         "comments": "",\r
3679         "outputs": 1,\r
3680         "x": 2515.6666984558105,\r
3681         "y": 4964.080413818359,\r
3682         "z": "2d523017.81121",\r
3683         "wires": [\r
3684             [\r
3685                 "23ed24a4.2c91dc",\r
3686                 "b4f16506.66bd08"\r
3687             ]\r
3688         ]\r
3689     },\r
3690     {\r
3691         "id": "23ed24a4.2c91dc",\r
3692         "type": "failure",\r
3693         "name": "failure",\r
3694         "xml": "<outcome value='failure'>\n",\r
3695         "comments": "",\r
3696         "outputs": 1,\r
3697         "x": 2728.9047470092773,\r
3698         "y": 4942.746912956238,\r
3699         "z": "2d523017.81121",\r
3700         "wires": [\r
3701             [\r
3702                 "3e5e2886.704ec8"\r
3703             ]\r
3704         ]\r
3705     },\r
3706     {\r
3707         "id": "b4f16506.66bd08",\r
3708         "type": "not-found",\r
3709         "name": "not-found",\r
3710         "xml": "<outcome value='not-found'>\n",\r
3711         "comments": "",\r
3712         "outputs": 1,\r
3713         "x": 2736.0476417541504,\r
3714         "y": 4988.461137771606,\r
3715         "z": "2d523017.81121",\r
3716         "wires": [\r
3717             [\r
3718                 "fb3762dd.d74d3"\r
3719             ]\r
3720         ]\r
3721     },\r
3722     {\r
3723         "id": "e2f76977.fea098",\r
3724         "type": "for",\r
3725         "name": "for each relationship",\r
3726         "xml": "<for index='rel-index' start='0' end='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship_length`' >\n",\r
3727         "comments": "",\r
3728         "outputs": 1,\r
3729         "x": 2482.6666984558105,\r
3730         "y": 5090.0805587768555,\r
3731         "z": "2d523017.81121",\r
3732         "wires": [\r
3733             [\r
3734                 "586febb.af11914"\r
3735             ]\r
3736         ]\r
3737     },\r
3738     {\r
3739         "id": "586febb.af11914",\r
3740         "type": "switchNode",\r
3741         "name": "switch related-to",\r
3742         "xml": "<switch test='`$tmp.AnAI-data.get-networks.results[0].l3-network.relationship-list.relationship[$rel-index].related-to`'>\n",\r
3743         "comments": "",\r
3744         "outputs": 1,\r
3745         "x": 2680.6666984558105,\r
3746         "y": 5090.0805587768555,\r
3747         "z": "2d523017.81121",\r
3748         "wires": [\r
3749             [\r
3750                 "1b7b682d.5dd008"\r
3751             ]\r
3752         ]\r
3753     },\r
3754     {\r
3755         "id": "1b7b682d.5dd008",\r
3756         "type": "outcome",\r
3757         "name": "vlan-tag",\r
3758         "xml": "<outcome value='vlan-tag'>\n",\r
3759         "comments": "",\r
3760         "outputs": 1,\r
3761         "x": 2850.6666984558105,\r
3762         "y": 5090.0805587768555,\r
3763         "z": "2d523017.81121",\r
3764         "wires": [\r
3765             [\r
3766                 "9b43a30b.ab1c1"\r
3767             ]\r
3768         ]\r
3769     },\r
3770     {\r
3771         "id": "9b43a30b.ab1c1",\r
3772         "type": "block",\r
3773         "name": "block : atomic",\r
3774         "xml": "<block atomic=\"true\">",\r
3775         "atomic": "true",\r
3776         "outputs": 1,\r
3777         "x": 3018.6666984558105,\r
3778         "y": 5088.0805587768555,\r
3779         "z": "2d523017.81121",\r
3780         "wires": [\r
3781             [\r
3782                 "97d76a2c.076008",\r
3783                 "47618d94.b0d374",\r
3784                 "1bf4c98d.f9c076"\r
3785             ]\r
3786         ]\r
3787     },\r
3788     {\r
3789         "id": "97d76a2c.076008",\r
3790         "type": "set",\r
3791         "name": "set vlan-tag-id",\r
3792         "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
3793         "comments": "",\r
3794         "x": 3194.6666984558105,\r
3795         "y": 5048.0805587768555,\r
3796         "z": "2d523017.81121",\r
3797         "wires": []\r
3798     },\r
3799     {\r
3800         "id": "47618d94.b0d374",\r
3801         "type": "get-resource",\r
3802         "name": "get-resource vlan-tag",\r
3803         "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
3804         "comments": "",\r
3805         "outputs": 1,\r
3806         "x": 3216.6666984558105,\r
3807         "y": 5106.0805587768555,\r
3808         "z": "2d523017.81121",\r
3809         "wires": [\r
3810             [\r
3811                 "1f2ba326.d9772d",\r
3812                 "fbf7fa7c.23d608"\r
3813             ]\r
3814         ]\r
3815     },\r
3816     {\r
3817         "id": "1f2ba326.d9772d",\r
3818         "type": "failure",\r
3819         "name": "failure",\r
3820         "xml": "<outcome value='failure'>\n",\r
3821         "comments": "",\r
3822         "outputs": 1,\r
3823         "x": 3396.7143058776855,\r
3824         "y": 5088.2236251831055,\r
3825         "z": "2d523017.81121",\r
3826         "wires": [\r
3827             [\r
3828                 "cf0cc9f2.e1c008"\r
3829             ]\r
3830         ]\r
3831     },\r
3832     {\r
3833         "id": "13a6411b.4f65df",\r
3834         "type": "for",\r
3835         "name": "for each related network role",\r
3836         "xml": "<for index='rel-network-role-index' start='0' end='`$db.vnf-related-network-role_length`' >\n",\r
3837         "comments": "",\r
3838         "outputs": 1,\r
3839         "x": 2053.6666297912598,\r
3840         "y": 5020.414123535156,\r
3841         "z": "2d523017.81121",\r
3842         "wires": [\r
3843             [\r
3844                 "668947e0.2f65c8"\r
3845             ]\r
3846         ]\r
3847     },\r
3848     {\r
3849         "id": "668947e0.2f65c8",\r
3850         "type": "block",\r
3851         "name": "block : atomic",\r
3852         "xml": "<block atomic=\"true\">",\r
3853         "atomic": "true",\r
3854         "outputs": 1,\r
3855         "x": 2258.6666297912598,\r
3856         "y": 5021.747268676758,\r
3857         "z": "2d523017.81121",\r
3858         "wires": [\r
3859             [\r
3860                 "eb288d10.2446b",\r
3861                 "e2f76977.fea098",\r
3862                 "986e7ac7.81d148"\r
3863             ]\r
3864         ]\r
3865     },\r
3866     {\r
3867         "id": "e90b4b31.6e7908",\r
3868         "type": "switchNode",\r
3869         "name": "switch rn-index",\r
3870         "xml": "<switch test='`$rn-index`'>\n",\r
3871         "comments": "",\r
3872         "outputs": 1,\r
3873         "x": 2014.6666297912598,\r
3874         "y": 4910.080276489258,\r
3875         "z": "2d523017.81121",\r
3876         "wires": [\r
3877             [\r
3878                 "896e1959.7fd6a8"\r
3879             ]\r
3880         ]\r
3881     },\r
3882     {\r
3883         "id": "dc960591.08f438",\r
3884         "type": "set",\r
3885         "name": "set rn-index to related network length",\r
3886         "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
3887         "comments": "",\r
3888         "x": 2083.3332176208496,\r
3889         "y": 4861.080129623413,\r
3890         "z": "2d523017.81121",\r
3891         "wires": []\r
3892     },\r
3893     {\r
3894         "id": "896e1959.7fd6a8",\r
3895         "type": "outcome",\r
3896         "name": "NULL",\r
3897         "xml": "<outcome value=''>",\r
3898         "comments": "",\r
3899         "outputs": 1,\r
3900         "x": 2178.6666297912598,\r
3901         "y": 4910.080276489258,\r
3902         "z": "2d523017.81121",\r
3903         "wires": [\r
3904             [\r
3905                 "83542037.398bf"\r
3906             ]\r
3907         ]\r
3908     },\r
3909     {\r
3910         "id": "83542037.398bf",\r
3911         "type": "set",\r
3912         "name": "set rn-index to 0",\r
3913         "xml": "<set>\n<parameter name='rn-index' value='0' />\n",\r
3914         "comments": "",\r
3915         "x": 2338.6666297912598,\r
3916         "y": 4910.080276489258,\r
3917         "z": "2d523017.81121",\r
3918         "wires": []\r
3919     },\r
3920     {\r
3921         "id": "986e7ac7.81d148",\r
3922         "type": "set",\r
3923         "name": "set related-network data",\r
3924         "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
3925         "comments": "",\r
3926         "x": 2486.3332862854004,\r
3927         "y": 5020.747100830078,\r
3928         "z": "2d523017.81121",\r
3929         "wires": []\r
3930     },\r
3931     {\r
3932         "id": "56b41d87.a09d94",\r
3933         "type": "set",\r
3934         "name": "set new related network length",\r
3935         "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
3936         "comments": "",\r
3937         "x": 2048.6666984558105,\r
3938         "y": 5164.080413818359,\r
3939         "z": "2d523017.81121",\r
3940         "wires": []\r
3941     },\r
3942     {\r
3943         "id": "fbf7fa7c.23d608",\r
3944         "type": "success",\r
3945         "name": "success",\r
3946         "xml": "<outcome value='success'>\n",\r
3947         "comments": "",\r
3948         "outputs": 1,\r
3949         "x": 3398.6666984558105,\r
3950         "y": 5136.080413818359,\r
3951         "z": "2d523017.81121",\r
3952         "wires": [\r
3953             [\r
3954                 "dc2e5d86.8c21f"\r
3955             ]\r
3956         ]\r
3957     },\r
3958     {\r
3959         "id": "dc2e5d86.8c21f",\r
3960         "type": "set",\r
3961         "name": "set related-network data",\r
3962         "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
3963         "comments": "",\r
3964         "x": 3590.6666984558105,\r
3965         "y": 5136.080413818359,\r
3966         "z": "2d523017.81121",\r
3967         "wires": []\r
3968     },\r
3969     {\r
3970         "id": "1bf4c98d.f9c076",\r
3971         "type": "break",\r
3972         "name": "break",\r
3973         "xml": "<break>\n",\r
3974         "comments": "",\r
3975         "x": 3168.6666984558105,\r
3976         "y": 5174.080413818359,\r
3977         "z": "2d523017.81121",\r
3978         "wires": []\r
3979     },\r
3980     {\r
3981         "id": "2f24f627.1d687a",\r
3982         "type": "comment",\r
3983         "name": "temporary data issue: also ignore string \"null\" and \"NULL\"",\r
3984         "info": "",\r
3985         "comments": "",\r
3986         "x": 845.0000114440918,\r
3987         "y": 4193.842397689819,\r
3988         "z": "2d523017.81121",\r
3989         "wires": []\r
3990     },\r
3991     {\r
3992         "id": "83078563.934988",\r
3993         "type": "outcome",\r
3994         "name": "null",\r
3995         "xml": "<outcome value='null'>\n",\r
3996         "comments": "",\r
3997         "outputs": 1,\r
3998         "x": 872.1428337097168,\r
3999         "y": 4276.69953918457,\r
4000         "z": "2d523017.81121",\r
4001         "wires": [\r
4002             [\r
4003                 "15298732.e21cb9"\r
4004             ]\r
4005         ]\r
4006     },\r
4007     {\r
4008         "id": "5dd2d1e7.b5782",\r
4009         "type": "outcome",\r
4010         "name": "NULL",\r
4011         "xml": "<outcome value='NULL'>",\r
4012         "comments": "",\r
4013         "outputs": 1,\r
4014         "x": 872.14284324646,\r
4015         "y": 4319.556611061096,\r
4016         "z": "2d523017.81121",\r
4017         "wires": [\r
4018             [\r
4019                 "15298732.e21cb9"\r
4020             ]\r
4021         ]\r
4022     },\r
4023     {\r
4024         "id": "36f653c4.5383bc",\r
4025         "type": "switchNode",\r
4026         "name": "switch input cloud-owner",\r
4027         "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.cloud-owner`'>\n",\r
4028         "comments": "",\r
4029         "outputs": 1,\r
4030         "x": 511.6666564941406,\r
4031         "y": 232.41365242004395,\r
4032         "z": "2d523017.81121",\r
4033         "wires": [\r
4034             [\r
4035                 "6073cd09.c47954",\r
4036                 "60806490.79275c"\r
4037             ]\r
4038         ]\r
4039     },\r
4040     {\r
4041         "id": "6073cd09.c47954",\r
4042         "type": "other",\r
4043         "name": "NULL",\r
4044         "xml": "<outcome value=''>\n",\r
4045         "comments": "",\r
4046         "outputs": 1,\r
4047         "x": 695.0000305175781,\r
4048         "y": 202.41364097595215,\r
4049         "z": "2d523017.81121",\r
4050         "wires": [\r
4051             [\r
4052                 "a192c343.146f"\r
4053             ]\r
4054         ]\r
4055     },\r
4056     {\r
4057         "id": "60806490.79275c",\r
4058         "type": "other",\r
4059         "name": "other",\r
4060         "xml": "<outcome value='Other'>\n",\r
4061         "comments": "",\r
4062         "outputs": 1,\r
4063         "x": 694.7619361877441,\r
4064         "y": 243.3661346435547,\r
4065         "z": "2d523017.81121",\r
4066         "wires": [\r
4067             [\r
4068                 "7907b.f03a3f85"\r
4069             ]\r
4070         ]\r
4071     },\r
4072     {\r
4073         "id": "a192c343.146f",\r
4074         "type": "block",\r
4075         "name": "block",\r
4076         "xml": "<block>\n",\r
4077         "atomic": "false",\r
4078         "comments": "",\r
4079         "outputs": 1,\r
4080         "x": 829.9999847412109,\r
4081         "y": 200.74698066711426,\r
4082         "z": "2d523017.81121",\r
4083         "wires": [\r
4084             []\r
4085         ]\r
4086     },\r
4087     {\r
4088         "id": "7907b.f03a3f85",\r
4089         "type": "set",\r
4090         "name": "set prop.cloud-region.cloud-owner",\r
4091         "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$vnf-topology-operation-input.vnf-request-input.cloud-owner`' />\n",\r
4092         "comments": "",\r
4093         "x": 911.6666412353516,\r
4094         "y": 242.4136619567871,\r
4095         "z": "2d523017.81121",\r
4096         "wires": []\r
4097     },\r
4098     {\r
4099         "id": "16470885.0e3b37",\r
4100         "type": "call",\r
4101         "name": "call self-serve-vnf-forking-logic",\r
4102         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-forking-logic' mode='sync' >\n",\r
4103         "comments": "",\r
4104         "outputs": 1,\r
4105         "x": 529.523811340332,\r
4106         "y": 525.7142963409424,\r
4107         "z": "2d523017.81121",\r
4108         "wires": [\r
4109             []\r
4110         ]\r
4111     },\r
4112     {\r
4113         "id": "1caeb411.8cfeac",\r
4114         "type": "switchNode",\r
4115         "name": "switch ss.self-serve-flag",\r
4116         "xml": "<switch test=\"`$ss.self-serve-flag`\">\n",\r
4117         "comments": "",\r
4118         "outputs": 1,\r
4119         "x": 509.6665267944336,\r
4120         "y": 691.2857837677002,\r
4121         "z": "2d523017.81121",\r
4122         "wires": [\r
4123             [\r
4124                 "37f74e26.cb2452",\r
4125                 "beba854c.d89668"\r
4126             ]\r
4127         ]\r
4128     },\r
4129     {\r
4130         "id": "37f74e26.cb2452",\r
4131         "type": "outcomeFalse",\r
4132         "name": "false",\r
4133         "xml": "<outcome value='false'>\n",\r
4134         "comments": "",\r
4135         "outputs": 1,\r
4136         "x": 721.3806838989258,\r
4137         "y": 764.5710678100586,\r
4138         "z": "2d523017.81121",\r
4139         "wires": [\r
4140             [\r
4141                 "c8588b9c.b0d898"\r
4142             ]\r
4143         ]\r
4144     },\r
4145     {\r
4146         "id": "beba854c.d89668",\r
4147         "type": "outcomeTrue",\r
4148         "name": "true",\r
4149         "xml": "<outcome value='true'>\n",\r
4150         "comments": "",\r
4151         "outputs": 1,\r
4152         "x": 720.9522018432617,\r
4153         "y": 628.1429014205933,\r
4154         "z": "2d523017.81121",\r
4155         "wires": [\r
4156             [\r
4157                 "4645b056.44eb1"\r
4158             ]\r
4159         ]\r
4160     },\r
4161     {\r
4162         "id": "97a46274.9df5e",\r
4163         "type": "block",\r
4164         "name": "block : atomic",\r
4165         "xml": "<block atomic=\"true\">",\r
4166         "atomic": "true",\r
4167         "outputs": 1,\r
4168         "x": 901.111141204834,\r
4169         "y": 326.8888826370239,\r
4170         "z": "2d523017.81121",\r
4171         "wires": [\r
4172             [\r
4173                 "2a1c1eb.da980e2",\r
4174                 "22c02af2.d4ee26"\r
4175             ]\r
4176         ]\r
4177     },\r
4178     {\r
4179         "id": "df6715d9.ce37d8",\r
4180         "type": "block",\r
4181         "name": "block : atomic",\r
4182         "xml": "<block atomic=\"true\">",\r
4183         "atomic": "true",\r
4184         "outputs": 1,\r
4185         "x": 901.111141204834,\r
4186         "y": 375.46032428741455,\r
4187         "z": "2d523017.81121",\r
4188         "wires": [\r
4189             [\r
4190                 "b8d206be.845728",\r
4191                 "22c02af2.d4ee26"\r
4192             ]\r
4193         ]\r
4194     },\r
4195     {\r
4196         "id": "e48fe633.d5a078",\r
4197         "type": "block",\r
4198         "name": "block : atomic",\r
4199         "xml": "<block atomic=\"true\">",\r
4200         "atomic": "true",\r
4201         "outputs": 1,\r
4202         "x": 903.9682579040527,\r
4203         "y": 419.7460298538208,\r
4204         "z": "2d523017.81121",\r
4205         "wires": [\r
4206             [\r
4207                 "da0200d1.6944b",\r
4208                 "22c02af2.d4ee26"\r
4209             ]\r
4210         ]\r
4211     },\r
4212     {\r
4213         "id": "2a1c1eb.da980e2",\r
4214         "type": "configure",\r
4215         "name": "set error-message",\r
4216         "xml": "<set>\n<parameter name=\"error-message\" value=\"If svc-action is 'assign' then request-action must be 'CreateVnfInstance'\" />\n",\r
4217         "comments": "",\r
4218         "outputs": 1,\r
4219         "x": 1137.539722442627,\r
4220         "y": 326.88887310028076,\r
4221         "z": "2d523017.81121",\r
4222         "wires": [\r
4223             []\r
4224         ]\r
4225     },\r
4226     {\r
4227         "id": "b8d206be.845728",\r
4228         "type": "configure",\r
4229         "name": "set error-message",\r
4230         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_MODEL table\" />\n",\r
4231         "comments": "",\r
4232         "outputs": 1,\r
4233         "x": 1136.1111335754395,\r
4234         "y": 375.6031675338745,\r
4235         "z": "2d523017.81121",\r
4236         "wires": [\r
4237             []\r
4238         ]\r
4239     },\r
4240     {\r
4241         "id": "da0200d1.6944b",\r
4242         "type": "configure",\r
4243         "name": "set error-message",\r
4244         "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
4245         "comments": "",\r
4246         "outputs": 1,\r
4247         "x": 1136.1111335754395,\r
4248         "y": 419.74602031707764,\r
4249         "z": "2d523017.81121",\r
4250         "wires": [\r
4251             []\r
4252         ]\r
4253     },\r
4254     {\r
4255         "id": "198f8218.7133ee",\r
4256         "type": "call",\r
4257         "name": "call self-serve-vnf-assign",\r
4258         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-assign' mode='sync' >\n",\r
4259         "comments": "",\r
4260         "outputs": 1,\r
4261         "x": 1171.9877891540527,\r
4262         "y": 525.6072463989258,\r
4263         "z": "2d523017.81121",\r
4264         "wires": [\r
4265             [\r
4266                 "d458bfd1.de073"\r
4267             ]\r
4268         ]\r
4269     },\r
4270     {\r
4271         "id": "e83e7b2d.1d4268",\r
4272         "type": "comment",\r
4273         "name": "SELF-SERVE FORK",\r
4274         "info": "",\r
4275         "comments": "",\r
4276         "x": 891.4285430908203,\r
4277         "y": 579.011926651001,\r
4278         "z": "2d523017.81121",\r
4279         "wires": []\r
4280     },\r
4281     {\r
4282         "id": "d458bfd1.de073",\r
4283         "type": "failure",\r
4284         "name": "failure",\r
4285         "xml": "<outcome value='failure'>\n",\r
4286         "comments": "",\r
4287         "outputs": 1,\r
4288         "x": 1377.2853698730469,\r
4289         "y": 525.0952777862549,\r
4290         "z": "2d523017.81121",\r
4291         "wires": [\r
4292             [\r
4293                 "c261dd9e.7394e"\r
4294             ]\r
4295         ]\r
4296     },\r
4297     {\r
4298         "id": "da6cb5e4.41c2f8",\r
4299         "type": "returnSuccess",\r
4300         "name": "return success",\r
4301         "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
4302         "comments": "",\r
4303         "x": 1142.7299880981445,\r
4304         "y": 727.5396060943604,\r
4305         "z": "2d523017.81121",\r
4306         "wires": []\r
4307     },\r
4308     {\r
4309         "id": "828a78b6.35b498",\r
4310         "type": "set",\r
4311         "name": "set vnf-level-oper-status to PendingCreate",\r
4312         "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
4313         "comments": "",\r
4314         "x": 1235.099136352539,\r
4315         "y": 577.099287033081,\r
4316         "z": "2d523017.81121",\r
4317         "wires": []\r
4318     },\r
4319     {\r
4320         "id": "b15ef9f9.2e3088",\r
4321         "type": "execute",\r
4322         "name": "printContext",\r
4323         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnfend.log' />\n",\r
4324         "comments": "",\r
4325         "outputs": 1,\r
4326         "x": 1134.3014526367188,\r
4327         "y": 627.5390634536743,\r
4328         "z": "2d523017.81121",\r
4329         "wires": [\r
4330             []\r
4331         ]\r
4332     },\r
4333     {\r
4334         "id": "4645b056.44eb1",\r
4335         "type": "block",\r
4336         "name": "block : atomic",\r
4337         "xml": "<block atomic=\"true\">",\r
4338         "atomic": "true",\r
4339         "outputs": 1,\r
4340         "x": 911.5394134521484,\r
4341         "y": 627.9999561309814,\r
4342         "z": "2d523017.81121",\r
4343         "wires": [\r
4344             [\r
4345                 "198f8218.7133ee",\r
4346                 "828a78b6.35b498",\r
4347                 "b15ef9f9.2e3088",\r
4348                 "da6cb5e4.41c2f8",\r
4349                 "86c22cc1.3260c"\r
4350             ]\r
4351         ]\r
4352     },\r
4353     {\r
4354         "id": "6ec4e3b8.36b40c",\r
4355         "type": "returnFailure",\r
4356         "name": "return failure",\r
4357         "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
4358         "comments": "",\r
4359         "x": 1959.2064628601074,\r
4360         "y": 777.6666669845581,\r
4361         "z": "2d523017.81121",\r
4362         "wires": []\r
4363     },\r
4364     {\r
4365         "id": "ae382d33.4ff8e",\r
4366         "type": "configure",\r
4367         "name": "send error to MSO",\r
4368         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
4369         "comments": "",\r
4370         "outputs": 1,\r
4371         "x": 1978.5655097961426,\r
4372         "y": 729.4661436080933,\r
4373         "z": "2d523017.81121",\r
4374         "wires": [\r
4375             []\r
4376         ]\r
4377     },\r
4378     {\r
4379         "id": "22c02af2.d4ee26",\r
4380         "type": "block",\r
4381         "name": "block : atomic",\r
4382         "xml": "<block atomic='true'>",\r
4383         "atomic": "true",\r
4384         "comments": "",\r
4385         "outputs": 1,\r
4386         "x": 1766.9843826293945,\r
4387         "y": 752.7462320327759,\r
4388         "z": "2d523017.81121",\r
4389         "wires": [\r
4390             [\r
4391                 "ae382d33.4ff8e",\r
4392                 "6ec4e3b8.36b40c"\r
4393             ]\r
4394         ]\r
4395     },\r
4396     {\r
4397         "id": "c261dd9e.7394e",\r
4398         "type": "block",\r
4399         "name": "block : atomic",\r
4400         "xml": "<block atomic=\"true\">",\r
4401         "atomic": "true",\r
4402         "outputs": 1,\r
4403         "x": 1553.301658630371,\r
4404         "y": 525.2857141494751,\r
4405         "z": "2d523017.81121",\r
4406         "wires": [\r
4407             [\r
4408                 "6b697ba4.a67094",\r
4409                 "22c02af2.d4ee26"\r
4410             ]\r
4411         ]\r
4412     },\r
4413     {\r
4414         "id": "6b697ba4.a67094",\r
4415         "type": "configure",\r
4416         "name": "set error-message",\r
4417         "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
4418         "comments": "",\r
4419         "outputs": 1,\r
4420         "x": 1761.0795211791992,\r
4421         "y": 497.19053077697754,\r
4422         "z": "2d523017.81121",\r
4423         "wires": [\r
4424             []\r
4425         ]\r
4426     },\r
4427     {\r
4428         "id": "86c22cc1.3260c",\r
4429         "type": "configure",\r
4430         "name": "send success to MSO",\r
4431         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"200\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
4432         "comments": "",\r
4433         "outputs": 1,\r
4434         "x": 1163.2539367675781,\r
4435         "y": 673.6189651489258,\r
4436         "z": "2d523017.81121",\r
4437         "wires": [\r
4438             []\r
4439         ]\r
4440     },\r
4441     {\r
4442         "id": "853dab16.a11508",\r
4443         "type": "configure",\r
4444         "name": "set error-message",\r
4445         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\n      + ' already exists'`\" />\n",\r
4446         "comments": "",\r
4447         "outputs": 1,\r
4448         "x": 2205.666618347168,\r
4449         "y": 1201.666597366333,\r
4450         "z": "2d523017.81121",\r
4451         "wires": [\r
4452             []\r
4453         ]\r
4454     },\r
4455     {\r
4456         "id": "e351344c.af7228",\r
4457         "type": "configure",\r
4458         "name": "set error-message",\r
4459         "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
4460         "comments": "",\r
4461         "outputs": 1,\r
4462         "x": 1582.7617416381836,\r
4463         "y": 1256.476245880127,\r
4464         "z": "2d523017.81121",\r
4465         "wires": [\r
4466             []\r
4467         ]\r
4468     },\r
4469     {\r
4470         "id": "564bf42f.5df9ac",\r
4471         "type": "configure",\r
4472         "name": "set error-message",\r
4473         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving instance-group from AAI\" />\n",\r
4474         "comments": "",\r
4475         "outputs": 1,\r
4476         "x": 1582.761703491211,\r
4477         "y": 1319.619031906128,\r
4478         "z": "2d523017.81121",\r
4479         "wires": [\r
4480             []\r
4481         ]\r
4482     },\r
4483     {\r
4484         "id": "33ec168e.11b45a",\r
4485         "type": "configure",\r
4486         "name": "set error-message",\r
4487         "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
4488         "comments": "",\r
4489         "outputs": 1,\r
4490         "x": 2177.333206176758,\r
4491         "y": 1335.9523315429688,\r
4492         "z": "2d523017.81121",\r
4493         "wires": [\r
4494             []\r
4495         ]\r
4496     },\r
4497     {\r
4498         "id": "38b03742.d98548",\r
4499         "type": "configure",\r
4500         "name": "set error-message",\r
4501         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to get network service instance '\n      + $network-service-instance + ' from MD-SAL'`\" />\n",\r
4502         "comments": "",\r
4503         "outputs": 1,\r
4504         "x": 2178.8094482421875,\r
4505         "y": 1377.666732788086,\r
4506         "z": "2d523017.81121",\r
4507         "wires": [\r
4508             []\r
4509         ]\r
4510     },\r
4511     {\r
4512         "id": "56ab1164.7603f",\r
4513         "type": "configure",\r
4514         "name": "set error-message",\r
4515         "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
4516         "comments": "",\r
4517         "outputs": 1,\r
4518         "x": 2863.3335571289062,\r
4519         "y": 1536.1904573440552,\r
4520         "z": "2d523017.81121",\r
4521         "wires": [\r
4522             []\r
4523         ]\r
4524     },\r
4525     {\r
4526         "id": "60b9af41.99ebd",\r
4527         "type": "block",\r
4528         "name": "block : atomic",\r
4529         "xml": "<block atomic='true'>",\r
4530         "atomic": "true",\r
4531         "comments": "",\r
4532         "outputs": 1,\r
4533         "x": 2778.095329284668,\r
4534         "y": 1987.6192593574524,\r
4535         "z": "2d523017.81121",\r
4536         "wires": [\r
4537             [\r
4538                 "31b39cbf.523334",\r
4539                 "706a1140.f4bf2"\r
4540             ]\r
4541         ]\r
4542     },\r
4543     {\r
4544         "id": "31b39cbf.523334",\r
4545         "type": "configure",\r
4546         "name": "send error to MSO",\r
4547         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
4548         "comments": "",\r
4549         "outputs": 1,\r
4550         "x": 2985.787551879883,\r
4551         "y": 1964.894714832306,\r
4552         "z": "2d523017.81121",\r
4553         "wires": [\r
4554             []\r
4555         ]\r
4556     },\r
4557     {\r
4558         "id": "706a1140.f4bf2",\r
4559         "type": "returnFailure",\r
4560         "name": "return failure",\r
4561         "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
4562         "comments": "",\r
4563         "x": 2966.4285049438477,\r
4564         "y": 2013.0952382087708,\r
4565         "z": "2d523017.81121",\r
4566         "wires": []\r
4567     },\r
4568     {\r
4569         "id": "67d1f32e.64262c",\r
4570         "type": "block",\r
4571         "name": "block : atomic",\r
4572         "xml": "<block atomic=\"true\">",\r
4573         "atomic": "true",\r
4574         "outputs": 1,\r
4575         "x": 2000.6664962768555,\r
4576         "y": 1199.9998836517334,\r
4577         "z": "2d523017.81121",\r
4578         "wires": [\r
4579             [\r
4580                 "853dab16.a11508",\r
4581                 "60b9af41.99ebd"\r
4582             ]\r
4583         ]\r
4584     },\r
4585     {\r
4586         "id": "3d4ce14c.b56fbe",\r
4587         "type": "block",\r
4588         "name": "block : atomic",\r
4589         "xml": "<block atomic=\"true\">",\r
4590         "atomic": "true",\r
4591         "outputs": 1,\r
4592         "x": 1370.999984741211,\r
4593         "y": 1256.6664772033691,\r
4594         "z": "2d523017.81121",\r
4595         "wires": [\r
4596             [\r
4597                 "e351344c.af7228",\r
4598                 "60b9af41.99ebd"\r
4599             ]\r
4600         ]\r
4601     },\r
4602     {\r
4603         "id": "6b5b96d7.f11058",\r
4604         "type": "block",\r
4605         "name": "block : atomic",\r
4606         "xml": "<block atomic=\"true\">",\r
4607         "atomic": "true",\r
4608         "outputs": 1,\r
4609         "x": 1371.666358947754,\r
4610         "y": 1319.3331823349,\r
4611         "z": "2d523017.81121",\r
4612         "wires": [\r
4613             [\r
4614                 "564bf42f.5df9ac",\r
4615                 "60b9af41.99ebd"\r
4616             ]\r
4617         ]\r
4618     },\r
4619     {\r
4620         "id": "75f0b66c.711368",\r
4621         "type": "block",\r
4622         "name": "block : atomic",\r
4623         "xml": "<block atomic=\"true\">",\r
4624         "atomic": "true",\r
4625         "outputs": 1,\r
4626         "x": 1959.9998779296875,\r
4627         "y": 1336.3333625793457,\r
4628         "z": "2d523017.81121",\r
4629         "wires": [\r
4630             [\r
4631                 "33ec168e.11b45a",\r
4632                 "60b9af41.99ebd"\r
4633             ]\r
4634         ]\r
4635     },\r
4636     {\r
4637         "id": "1cfc4c24.ab0124",\r
4638         "type": "block",\r
4639         "name": "block : atomic",\r
4640         "xml": "<block atomic=\"true\">",\r
4641         "atomic": "true",\r
4642         "outputs": 1,\r
4643         "x": 1958.333251953125,\r
4644         "y": 1378.333251953125,\r
4645         "z": "2d523017.81121",\r
4646         "wires": [\r
4647             [\r
4648                 "38b03742.d98548",\r
4649                 "60b9af41.99ebd"\r
4650             ]\r
4651         ]\r
4652     },\r
4653     {\r
4654         "id": "a3ec7ac.ac12b88",\r
4655         "type": "block",\r
4656         "name": "block : atomic",\r
4657         "xml": "<block atomic=\"true\">",\r
4658         "atomic": "true",\r
4659         "outputs": 1,\r
4660         "x": 2652.619094848633,\r
4661         "y": 1536.9047193527222,\r
4662         "z": "2d523017.81121",\r
4663         "wires": [\r
4664             [\r
4665                 "56ab1164.7603f",\r
4666                 "60b9af41.99ebd"\r
4667             ]\r
4668         ]\r
4669     },\r
4670     {\r
4671         "id": "da3712d9.f41f4",\r
4672         "type": "block",\r
4673         "name": "block : atomic",\r
4674         "xml": "<block atomic=\"true\">",\r
4675         "atomic": "true",\r
4676         "outputs": 1,\r
4677         "x": 1459.0475540161133,\r
4678         "y": 1771.9046249389648,\r
4679         "z": "2d523017.81121",\r
4680         "wires": [\r
4681             [\r
4682                 "62fa2d49.68c884",\r
4683                 "5de10e3b.8401c"\r
4684             ]\r
4685         ]\r
4686     },\r
4687     {\r
4688         "id": "62fa2d49.68c884",\r
4689         "type": "configure",\r
4690         "name": "set error-message",\r
4691         "xml": "<set>\n<parameter name=\"error-message\" value=\"No vnf-name was received but ecomp-generated-naming is not Y\" />\n",\r
4692         "comments": "",\r
4693         "outputs": 1,\r
4694         "x": 1688.90478515625,\r
4695         "y": 1772.3329601287842,\r
4696         "z": "2d523017.81121",\r
4697         "wires": [\r
4698             []\r
4699         ]\r
4700     },\r
4701     {\r
4702         "id": "6d7f13cc.8d975c",\r
4703         "type": "block",\r
4704         "name": "block : atomic",\r
4705         "xml": "<block atomic=\"true\">",\r
4706         "atomic": "true",\r
4707         "outputs": 1,\r
4708         "x": 2211.9046783447266,\r
4709         "y": 1875.7618045806885,\r
4710         "z": "2d523017.81121",\r
4711         "wires": [\r
4712             [\r
4713                 "4b15fa7b.a37b24",\r
4714                 "5de10e3b.8401c"\r
4715             ]\r
4716         ]\r
4717     },\r
4718     {\r
4719         "id": "4b15fa7b.a37b24",\r
4720         "type": "configure",\r
4721         "name": "set error-message",\r
4722         "xml": "<set>\n<parameter name=\"error-message\" value=\"`$generate-unique-name-output.error-message`\" />\n",\r
4723         "comments": "",\r
4724         "outputs": 1,\r
4725         "x": 2420.0475540161133,\r
4726         "y": 1875.3331956863403,\r
4727         "z": "2d523017.81121",\r
4728         "wires": [\r
4729             []\r
4730         ]\r
4731     },\r
4732     {\r
4733         "id": "702e58b3.200b38",\r
4734         "type": "block",\r
4735         "name": "block : atomic",\r
4736         "xml": "<block atomic=\"true\">",\r
4737         "atomic": "true",\r
4738         "outputs": 1,\r
4739         "x": 2260.476104736328,\r
4740         "y": 2001.9045372009277,\r
4741         "z": "2d523017.81121",\r
4742         "wires": [\r
4743             [\r
4744                 "20b0a05b.f52ee",\r
4745                 "5de10e3b.8401c"\r
4746             ]\r
4747         ]\r
4748     },\r
4749     {\r
4750         "id": "20b0a05b.f52ee",\r
4751         "type": "configure",\r
4752         "name": "set error-message",\r
4753         "xml": "<set>\n<parameter name=\"error-message\" value=\"Unable to generate VNF name\" />\n",\r
4754         "comments": "",\r
4755         "outputs": 1,\r
4756         "x": 2483.3331604003906,\r
4757         "y": 2002.3332080841064,\r
4758         "z": "2d523017.81121",\r
4759         "wires": [\r
4760             []\r
4761         ]\r
4762     },\r
4763     {\r
4764         "id": "5de10e3b.8401c",\r
4765         "type": "block",\r
4766         "name": "block",\r
4767         "xml": "<block>",\r
4768         "atomic": "true",\r
4769         "comments": "",\r
4770         "outputs": 1,\r
4771         "x": 2515.7144889831543,\r
4772         "y": 2183.333490371704,\r
4773         "z": "2d523017.81121",\r
4774         "wires": [\r
4775             [\r
4776                 "d15d28b1.ee4e78",\r
4777                 "5678e145.3766c"\r
4778             ]\r
4779         ]\r
4780     },\r
4781     {\r
4782         "id": "d15d28b1.ee4e78",\r
4783         "type": "configure",\r
4784         "name": "send error to MSO",\r
4785         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
4786         "comments": "",\r
4787         "outputs": 1,\r
4788         "x": 2688.406749725342,\r
4789         "y": 2162.2756242752075,\r
4790         "z": "2d523017.81121",\r
4791         "wires": [\r
4792             []\r
4793         ]\r
4794     },\r
4795     {\r
4796         "id": "5678e145.3766c",\r
4797         "type": "returnFailure",\r
4798         "name": "return failure",\r
4799         "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
4800         "comments": "",\r
4801         "x": 2669.0477027893066,\r
4802         "y": 2210.4761476516724,\r
4803         "z": "2d523017.81121",\r
4804         "wires": []\r
4805     },\r
4806     {\r
4807         "id": "55ab3764.a14138",\r
4808         "type": "block",\r
4809         "name": "block : atomic",\r
4810         "xml": "<block atomic=\"true\">",\r
4811         "atomic": "true",\r
4812         "outputs": 1,\r
4813         "x": 952.8571090698242,\r
4814         "y": 2912.2857341766357,\r
4815         "z": "2d523017.81121",\r
4816         "wires": [\r
4817             [\r
4818                 "f054f599.b671b8",\r
4819                 "2115eaa4.e5b146"\r
4820             ]\r
4821         ]\r
4822     },\r
4823     {\r
4824         "id": "f054f599.b671b8",\r
4825         "type": "configure",\r
4826         "name": "set error-message",\r
4827         "xml": "<set>\n<parameter name=\"error-message\" value=\"Cloud region not found in AAI\" />\n",\r
4828         "comments": "",\r
4829         "outputs": 1,\r
4830         "x": 1151.428451538086,\r
4831         "y": 2878.0000200271606,\r
4832         "z": "2d523017.81121",\r
4833         "wires": [\r
4834             []\r
4835         ]\r
4836     },\r
4837     {\r
4838         "id": "cbecda63.60f978",\r
4839         "type": "block",\r
4840         "name": "block : atomic",\r
4841         "xml": "<block atomic=\"true\">",\r
4842         "atomic": "true",\r
4843         "outputs": 1,\r
4844         "x": 956.1904602050781,\r
4845         "y": 2955.619020462036,\r
4846         "z": "2d523017.81121",\r
4847         "wires": [\r
4848             [\r
4849                 "7ff32092.da86f",\r
4850                 "2115eaa4.e5b146"\r
4851             ]\r
4852         ]\r
4853     },\r
4854     {\r
4855         "id": "7ff32092.da86f",\r
4856         "type": "configure",\r
4857         "name": "set error-message",\r
4858         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving cloud region from AAI\" />\n",\r
4859         "comments": "",\r
4860         "outputs": 1,\r
4861         "x": 1154.7618026733398,\r
4862         "y": 2921.333306312561,\r
4863         "z": "2d523017.81121",\r
4864         "wires": [\r
4865             []\r
4866         ]\r
4867     },\r
4868     {\r
4869         "id": "9a466e25.4156f",\r
4870         "type": "block",\r
4871         "name": "block : atomic",\r
4872         "xml": "<block atomic=\"true\">",\r
4873         "atomic": "true",\r
4874         "outputs": 1,\r
4875         "x": 814.5238952636719,\r
4876         "y": 3134.619167327881,\r
4877         "z": "2d523017.81121",\r
4878         "wires": [\r
4879             [\r
4880                 "9a766ef3.dad01",\r
4881                 "2115eaa4.e5b146"\r
4882             ]\r
4883         ]\r
4884     },\r
4885     {\r
4886         "id": "9a766ef3.dad01",\r
4887         "type": "configure",\r
4888         "name": "set error-message",\r
4889         "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
4890         "comments": "",\r
4891         "outputs": 1,\r
4892         "x": 1024.5238876342773,\r
4893         "y": 3113.190655708313,\r
4894         "z": "2d523017.81121",\r
4895         "wires": [\r
4896             []\r
4897         ]\r
4898     },\r
4899     {\r
4900         "id": "b319ef18.b3bad",\r
4901         "type": "returnFailure",\r
4902         "name": "return failure",\r
4903         "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
4904         "comments": "",\r
4905         "x": 1805.047737121582,\r
4906         "y": 6390.475831985474,\r
4907         "z": "2d523017.81121",\r
4908         "wires": []\r
4909     },\r
4910     {\r
4911         "id": "87f91dc6.de07b",\r
4912         "type": "configure",\r
4913         "name": "send error to MSO",\r
4914         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
4915         "comments": "",\r
4916         "outputs": 1,\r
4917         "x": 1822.692756652832,\r
4918         "y": 6342.751573562622,\r
4919         "z": "2d523017.81121",\r
4920         "wires": [\r
4921             []\r
4922         ]\r
4923     },\r
4924     {\r
4925         "id": "2115eaa4.e5b146",\r
4926         "type": "block",\r
4927         "name": "block : atomic",\r
4928         "xml": "<block atomic=\"true\">",\r
4929         "atomic": "true",\r
4930         "outputs": 1,\r
4931         "x": 1932.8570709228516,\r
4932         "y": 3718.5708351135254,\r
4933         "z": "2d523017.81121",\r
4934         "wires": [\r
4935             [\r
4936                 "c740bc4.11d1e4",\r
4937                 "d11043da.a1cb",\r
4938                 "acdf260b.352908",\r
4939                 "a74a208c.91738"\r
4940             ]\r
4941         ]\r
4942     },\r
4943     {\r
4944         "id": "d11043da.a1cb",\r
4945         "type": "call",\r
4946         "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
4947         "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
4948         "comments": "",\r
4949         "outputs": 1,\r
4950         "x": 2311.428497314453,\r
4951         "y": 3693.71373295784,\r
4952         "z": "2d523017.81121",\r
4953         "wires": [\r
4954             []\r
4955         ]\r
4956     },\r
4957     {\r
4958         "id": "c740bc4.11d1e4",\r
4959         "type": "set",\r
4960         "name": "set variables for deleting name",\r
4961         "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
4962         "comments": "",\r
4963         "x": 2212.8571166992188,\r
4964         "y": 3646.5708038806915,\r
4965         "z": "2d523017.81121",\r
4966         "wires": []\r
4967     },\r
4968     {\r
4969         "id": "65833.6b4487cd8",\r
4970         "type": "comment",\r
4971         "name": "Unassign the VNF name",\r
4972         "info": "",\r
4973         "comments": "",\r
4974         "x": 2230.238021850586,\r
4975         "y": 3592.856448173523,\r
4976         "z": "2d523017.81121",\r
4977         "wires": []\r
4978     },\r
4979     {\r
4980         "id": "a74a208c.91738",\r
4981         "type": "returnFailure",\r
4982         "name": "return failure",\r
4983         "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
4984         "comments": "",\r
4985         "x": 2152.190605163574,\r
4986         "y": 3789.7289028167725,\r
4987         "z": "2d523017.81121",\r
4988         "wires": []\r
4989     },\r
4990     {\r
4991         "id": "acdf260b.352908",\r
4992         "type": "configure",\r
4993         "name": "send error to MSO",\r
4994         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
4995         "comments": "",\r
4996         "outputs": 1,\r
4997         "x": 2169.835624694824,\r
4998         "y": 3742.004644393921,\r
4999         "z": "2d523017.81121",\r
5000         "wires": [\r
5001             []\r
5002         ]\r
5003     },\r
5004     {\r
5005         "id": "5be8614b.d2283",\r
5006         "type": "block",\r
5007         "name": "block : atomic",\r
5008         "xml": "<block atomic=\"true\">",\r
5009         "atomic": "true",\r
5010         "outputs": 1,\r
5011         "x": 1099.9999923706055,\r
5012         "y": 3224.714331626892,\r
5013         "z": "2d523017.81121",\r
5014         "wires": [\r
5015             [\r
5016                 "8a74d4c9.f4d158",\r
5017                 "2115eaa4.e5b146"\r
5018             ]\r
5019         ]\r
5020     },\r
5021     {\r
5022         "id": "8a74d4c9.f4d158",\r
5023         "type": "configure",\r
5024         "name": "set error-message",\r
5025         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_TO_NETWORK_ROLE_MAPPING table\" />\n",\r
5026         "comments": "",\r
5027         "outputs": 1,\r
5028         "x": 1302.8571014404297,\r
5029         "y": 3191.8572273254395,\r
5030         "z": "2d523017.81121",\r
5031         "wires": [\r
5032             []\r
5033         ]\r
5034     },\r
5035     {\r
5036         "id": "1b9558ce.3c84a7",\r
5037         "type": "block",\r
5038         "name": "block : atomic",\r
5039         "xml": "<block atomic=\"true\">",\r
5040         "atomic": "true",\r
5041         "outputs": 1,\r
5042         "x": 1669.9999465942383,\r
5043         "y": 3434.285619735718,\r
5044         "z": "2d523017.81121",\r
5045         "wires": [\r
5046             [\r
5047                 "f01f3cd.81c20c",\r
5048                 "2115eaa4.e5b146"\r
5049             ]\r
5050         ]\r
5051     },\r
5052     {\r
5053         "id": "f01f3cd.81c20c",\r
5054         "type": "configure",\r
5055         "name": "set error-message",\r
5056         "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
5057         "comments": "",\r
5058         "outputs": 1,\r
5059         "x": 1881.4285507202148,\r
5060         "y": 3402.8569107055664,\r
5061         "z": "2d523017.81121",\r
5062         "wires": [\r
5063             []\r
5064         ]\r
5065     },\r
5066     {\r
5067         "id": "f361b5ff.f38548",\r
5068         "type": "block",\r
5069         "name": "block : atomic",\r
5070         "xml": "<block atomic=\"true\">",\r
5071         "atomic": "true",\r
5072         "outputs": 1,\r
5073         "x": 2690.4761276245117,\r
5074         "y": 4655.667684555054,\r
5075         "z": "2d523017.81121",\r
5076         "wires": [\r
5077             [\r
5078                 "87fd5071.f5e61",\r
5079                 "9615c407.df8ac8"\r
5080             ]\r
5081         ]\r
5082     },\r
5083     {\r
5084         "id": "87fd5071.f5e61",\r
5085         "type": "configure",\r
5086         "name": "set error-message",\r
5087         "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
5088         "comments": "",\r
5089         "outputs": 1,\r
5090         "x": 2901.9046325683594,\r
5091         "y": 4624.238899230957,\r
5092         "z": "2d523017.81121",\r
5093         "wires": [\r
5094             []\r
5095         ]\r
5096     },\r
5097     {\r
5098         "id": "c3080a54.9b9f68",\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": 1803.1428604125977,\r
5105         "y": 4496.048126220703,\r
5106         "z": "2d523017.81121",\r
5107         "wires": [\r
5108             [\r
5109                 "67128ab5.195dd4",\r
5110                 "9615c407.df8ac8"\r
5111             ]\r
5112         ]\r
5113     },\r
5114     {\r
5115         "id": "67128ab5.195dd4",\r
5116         "type": "configure",\r
5117         "name": "set error-message",\r
5118         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VNF_RELATED_NETWORK_ROLE table\" />\n",\r
5119         "comments": "",\r
5120         "outputs": 1,\r
5121         "x": 2017.1428604125977,\r
5122         "y": 4477.190979003906,\r
5123         "z": "2d523017.81121",\r
5124         "wires": [\r
5125             []\r
5126         ]\r
5127     },\r
5128     {\r
5129         "id": "b897f854.8a4f58",\r
5130         "type": "block",\r
5131         "name": "block : atomic",\r
5132         "xml": "<block atomic=\"true\">",\r
5133         "atomic": "true",\r
5134         "outputs": 1,\r
5135         "x": 2447.6190872192383,\r
5136         "y": 4771.667268753052,\r
5137         "z": "2d523017.81121",\r
5138         "wires": [\r
5139             [\r
5140                 "90365fab.e2211",\r
5141                 "9615c407.df8ac8"\r
5142             ]\r
5143         ]\r
5144     },\r
5145     {\r
5146         "id": "90365fab.e2211",\r
5147         "type": "configure",\r
5148         "name": "set error-message",\r
5149         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error getting owning entity from service instance\" />\n",\r
5150         "comments": "",\r
5151         "outputs": 1,\r
5152         "x": 2654.762107849121,\r
5153         "y": 4747.381650924683,\r
5154         "z": "2d523017.81121",\r
5155         "wires": [\r
5156             []\r
5157         ]\r
5158     },\r
5159     {\r
5160         "id": "a1cce433.a5c9a8",\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": 2462.6190872192383,\r
5167         "y": 4816.667268753052,\r
5168         "z": "2d523017.81121",\r
5169         "wires": [\r
5170             [\r
5171                 "1a20c9fe.aa7526",\r
5172                 "9615c407.df8ac8"\r
5173             ]\r
5174         ]\r
5175     },\r
5176     {\r
5177         "id": "1a20c9fe.aa7526",\r
5178         "type": "configure",\r
5179         "name": "set error-message",\r
5180         "xml": "<set>\n<parameter name=\"error-message\" value=\"Unable to find owning entity from service instance\" />\n",\r
5181         "comments": "",\r
5182         "outputs": 1,\r
5183         "x": 2664.0477294921875,\r
5184         "y": 4790.953462600708,\r
5185         "z": "2d523017.81121",\r
5186         "wires": [\r
5187             []\r
5188         ]\r
5189     },\r
5190     {\r
5191         "id": "3e5e2886.704ec8",\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": 2906.6664810180664,\r
5198         "y": 4942.143200874329,\r
5199         "z": "2d523017.81121",\r
5200         "wires": [\r
5201             [\r
5202                 "474a1c8f.5b8254",\r
5203                 "9615c407.df8ac8"\r
5204             ]\r
5205         ]\r
5206     },\r
5207     {\r
5208         "id": "474a1c8f.5b8254",\r
5209         "type": "configure",\r
5210         "name": "set error-message",\r
5211         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error calling getNetworks custom query in AAI\" />\n",\r
5212         "comments": "",\r
5213         "outputs": 1,\r
5214         "x": 3122.380844116211,\r
5215         "y": 4912.143190383911,\r
5216         "z": "2d523017.81121",\r
5217         "wires": [\r
5218             []\r
5219         ]\r
5220     },\r
5221     {\r
5222         "id": "fb3762dd.d74d3",\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": 2918.3332290649414,\r
5229         "y": 4987.143200874329,\r
5230         "z": "2d523017.81121",\r
5231         "wires": [\r
5232             [\r
5233                 "d13c17c6.96baa8",\r
5234                 "9615c407.df8ac8"\r
5235             ]\r
5236         ]\r
5237     },\r
5238     {\r
5239         "id": "d13c17c6.96baa8",\r
5240         "type": "configure",\r
5241         "name": "set error-message",\r
5242         "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
5243         "comments": "",\r
5244         "outputs": 1,\r
5245         "x": 3134.047592163086,\r
5246         "y": 4957.143190383911,\r
5247         "z": "2d523017.81121",\r
5248         "wires": [\r
5249             []\r
5250         ]\r
5251     },\r
5252     {\r
5253         "id": "cf0cc9f2.e1c008",\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": 3562.618698120117,\r
5260         "y": 5088.333766937256,\r
5261         "z": "2d523017.81121",\r
5262         "wires": [\r
5263             [\r
5264                 "583a5088.c3e55",\r
5265                 "9615c407.df8ac8"\r
5266             ]\r
5267         ]\r
5268     },\r
5269     {\r
5270         "id": "583a5088.c3e55",\r
5271         "type": "configure",\r
5272         "name": "set error-message",\r
5273         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error getting vlan-tag object from AAI\" />\n",\r
5274         "comments": "",\r
5275         "outputs": 1,\r
5276         "x": 3775.475830078125,\r
5277         "y": 5061.190900802612,\r
5278         "z": "2d523017.81121",\r
5279         "wires": [\r
5280             []\r
5281         ]\r
5282     },\r
5283     {\r
5284         "id": "9615c407.df8ac8",\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": 3693.0952529907227,\r
5291         "y": 5414.525018692017,\r
5292         "z": "2d523017.81121",\r
5293         "wires": [\r
5294             [\r
5295                 "48c15a99.5b8364",\r
5296                 "981b8897.27de98",\r
5297                 "b2a30503.c3f7c8",\r
5298                 "c725031e.3faf3"\r
5299             ]\r
5300         ]\r
5301     },\r
5302     {\r
5303         "id": "c725031e.3faf3",\r
5304         "type": "returnFailure",\r
5305         "name": "return failure",\r
5306         "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
5307         "comments": "",\r
5308         "x": 3903.8097076416016,\r
5309         "y": 5474.253993988037,\r
5310         "z": "2d523017.81121",\r
5311         "wires": []\r
5312     },\r
5313     {\r
5314         "id": "b2a30503.c3f7c8",\r
5315         "type": "configure",\r
5316         "name": "send error to MSO",\r
5317         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
5318         "comments": "",\r
5319         "outputs": 1,\r
5320         "x": 3923.168746948242,\r
5321         "y": 5429.38673210144,\r
5322         "z": "2d523017.81121",\r
5323         "wires": [\r
5324             []\r
5325         ]\r
5326     },\r
5327     {\r
5328         "id": "981b8897.27de98",\r
5329         "type": "call",\r
5330         "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
5331         "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
5332         "comments": "",\r
5333         "outputs": 1,\r
5334         "x": 4059.0476684570312,\r
5335         "y": 5383.238904953003,\r
5336         "z": "2d523017.81121",\r
5337         "wires": [\r
5338             []\r
5339         ]\r
5340     },\r
5341     {\r
5342         "id": "48c15a99.5b8364",\r
5343         "type": "set",\r
5344         "name": "set variables for deleting name",\r
5345         "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
5346         "comments": "",\r
5347         "x": 3960.476287841797,\r
5348         "y": 5336.0959758758545,\r
5349         "z": "2d523017.81121",\r
5350         "wires": []\r
5351     },\r
5352     {\r
5353         "id": "4fcc2ec6.5268d",\r
5354         "type": "block",\r
5355         "name": "block : atomic",\r
5356         "xml": "<block atomic=\"true\">",\r
5357         "atomic": "true",\r
5358         "outputs": 1,\r
5359         "x": 1669.9999313354492,\r
5360         "y": 3484.2856159210205,\r
5361         "z": "2d523017.81121",\r
5362         "wires": [\r
5363             [\r
5364                 "75ca8e5d.ce23a",\r
5365                 "2115eaa4.e5b146"\r
5366             ]\r
5367         ]\r
5368     },\r
5369     {\r
5370         "id": "75ca8e5d.ce23a",\r
5371         "type": "configure",\r
5372         "name": "set error-message",\r
5373         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving l3-network from AAI\" />\n",\r
5374         "comments": "",\r
5375         "outputs": 1,\r
5376         "x": 1881.4285354614258,\r
5377         "y": 3452.856906890869,\r
5378         "z": "2d523017.81121",\r
5379         "wires": [\r
5380             []\r
5381         ]\r
5382     },\r
5383     {\r
5384         "id": "39a027a0.277908",\r
5385         "type": "configure",\r
5386         "name": "set error-message",\r
5387         "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
5388         "comments": "",\r
5389         "outputs": 1,\r
5390         "x": 1805.71435546875,\r
5391         "y": 4195.714210510254,\r
5392         "z": "2d523017.81121",\r
5393         "wires": [\r
5394             []\r
5395         ]\r
5396     },\r
5397     {\r
5398         "id": "d03cff5b.4eae8",\r
5399         "type": "block",\r
5400         "name": "block : atomic",\r
5401         "xml": "<block atomic=\"true\">",\r
5402         "atomic": "true",\r
5403         "outputs": 1,\r
5404         "x": 1605.71435546875,\r
5405         "y": 4210,\r
5406         "z": "2d523017.81121",\r
5407         "wires": [\r
5408             [\r
5409                 "39a027a0.277908",\r
5410                 "9615c407.df8ac8"\r
5411             ]\r
5412         ]\r
5413     },\r
5414     {\r
5415         "id": "bb9178af.635d68",\r
5416         "type": "comment",\r
5417         "name": "Unassign the VNF name",\r
5418         "info": "",\r
5419         "comments": "",\r
5420         "x": 3824.285888671875,\r
5421         "y": 5262.857421875,\r
5422         "z": "2d523017.81121",\r
5423         "wires": []\r
5424     },\r
5425     {\r
5426         "id": "63585eee.6f434",\r
5427         "type": "block",\r
5428         "name": "block : atomic",\r
5429         "xml": "<block atomic=\"true\">",\r
5430         "atomic": "true",\r
5431         "outputs": 1,\r
5432         "x": 1259.9999389648438,\r
5433         "y": 5382.856773376465,\r
5434         "z": "2d523017.81121",\r
5435         "wires": [\r
5436             [\r
5437                 "2dd248fd.0355f8",\r
5438                 "f54d4b54.f29d58"\r
5439             ]\r
5440         ]\r
5441     },\r
5442     {\r
5443         "id": "2dd248fd.0355f8",\r
5444         "type": "configure",\r
5445         "name": "set error-message",\r
5446         "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
5447         "comments": "",\r
5448         "outputs": 1,\r
5449         "x": 1462.8570709228516,\r
5450         "y": 5364.28534412384,\r
5451         "z": "2d523017.81121",\r
5452         "wires": [\r
5453             []\r
5454         ]\r
5455     },\r
5456     {\r
5457         "id": "ac3d2a38.193128",\r
5458         "type": "block",\r
5459         "name": "block : atomic",\r
5460         "xml": "<block atomic=\"true\">",\r
5461         "atomic": "true",\r
5462         "outputs": 1,\r
5463         "x": 1487.3811264038086,\r
5464         "y": 5509.524040222168,\r
5465         "z": "2d523017.81121",\r
5466         "wires": [\r
5467             [\r
5468                 "fcb662f2.e888c",\r
5469                 "f54d4b54.f29d58"\r
5470             ]\r
5471         ]\r
5472     },\r
5473     {\r
5474         "id": "fcb662f2.e888c",\r
5475         "type": "configure",\r
5476         "name": "set error-message",\r
5477         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating generic-vnf in AAI\" />\n",\r
5478         "comments": "",\r
5479         "outputs": 1,\r
5480         "x": 1688.8096771240234,\r
5481         "y": 5489.524041175842,\r
5482         "z": "2d523017.81121",\r
5483         "wires": [\r
5484             []\r
5485         ]\r
5486     },\r
5487     {\r
5488         "id": "edd6eeb3.58833",\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": 1489.047752380371,\r
5495         "y": 5552.857048034668,\r
5496         "z": "2d523017.81121",\r
5497         "wires": [\r
5498             [\r
5499                 "ed7e59f3.736ce8",\r
5500                 "f54d4b54.f29d58"\r
5501             ]\r
5502         ]\r
5503     },\r
5504     {\r
5505         "id": "ed7e59f3.736ce8",\r
5506         "type": "configure",\r
5507         "name": "set error-message",\r
5508         "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
5509         "comments": "",\r
5510         "outputs": 1,\r
5511         "x": 1690.476303100586,\r
5512         "y": 5532.857048988342,\r
5513         "z": "2d523017.81121",\r
5514         "wires": [\r
5515             []\r
5516         ]\r
5517     },\r
5518     {\r
5519         "id": "1d23943a.cc401c",\r
5520         "type": "block",\r
5521         "name": "block : atomic",\r
5522         "xml": "<block atomic=\"true\">",\r
5523         "atomic": "true",\r
5524         "outputs": 1,\r
5525         "x": 1346.904800415039,\r
5526         "y": 5627.618696212769,\r
5527         "z": "2d523017.81121",\r
5528         "wires": [\r
5529             [\r
5530                 "5db8f40e.5238ec",\r
5531                 "f54d4b54.f29d58"\r
5532             ]\r
5533         ]\r
5534     },\r
5535     {\r
5536         "id": "5db8f40e.5238ec",\r
5537         "type": "configure",\r
5538         "name": "set error-message",\r
5539         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating generic-vnf in AAI\" />\n",\r
5540         "comments": "",\r
5541         "outputs": 1,\r
5542         "x": 1544.5833358764648,\r
5543         "y": 5606.011522293091,\r
5544         "z": "2d523017.81121",\r
5545         "wires": [\r
5546             []\r
5547         ]\r
5548     },\r
5549     {\r
5550         "id": "48b115c8.09c9bc",\r
5551         "type": "block",\r
5552         "name": "block : atomic",\r
5553         "xml": "<block atomic=\"true\">",\r
5554         "atomic": "true",\r
5555         "outputs": 1,\r
5556         "x": 1366.9642944335938,\r
5557         "y": 5672.678614616394,\r
5558         "z": "2d523017.81121",\r
5559         "wires": [\r
5560             [\r
5561                 "33966a0a.bc1c26",\r
5562                 "f54d4b54.f29d58"\r
5563             ]\r
5564         ]\r
5565     },\r
5566     {\r
5567         "id": "33966a0a.bc1c26",\r
5568         "type": "configure",\r
5569         "name": "set error-message",\r
5570         "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
5571         "comments": "",\r
5572         "outputs": 1,\r
5573         "x": 1571.2500610351562,\r
5574         "y": 5649.821611404419,\r
5575         "z": "2d523017.81121",\r
5576         "wires": [\r
5577             []\r
5578         ]\r
5579     },\r
5580     {\r
5581         "id": "b5f5454e.605518",\r
5582         "type": "block",\r
5583         "name": "block : atomic",\r
5584         "xml": "<block atomic=\"true\">",\r
5585         "atomic": "true",\r
5586         "outputs": 1,\r
5587         "x": 782.6785583496094,\r
5588         "y": 5782.29768371582,\r
5589         "z": "2d523017.81121",\r
5590         "wires": [\r
5591             [\r
5592                 "5a2cf836.80cc88",\r
5593                 "f54d4b54.f29d58"\r
5594             ]\r
5595         ]\r
5596     },\r
5597     {\r
5598         "id": "5a2cf836.80cc88",\r
5599         "type": "configure",\r
5600         "name": "set error-message",\r
5601         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating selflink in generic-vnf in AAI\" />\n",\r
5602         "comments": "",\r
5603         "outputs": 1,\r
5604         "x": 988.3928985595703,\r
5605         "y": 5758.011829376221,\r
5606         "z": "2d523017.81121",\r
5607         "wires": [\r
5608             []\r
5609         ]\r
5610     },\r
5611     {\r
5612         "id": "fb7909b7.07d3a8",\r
5613         "type": "block",\r
5614         "name": "block : atomic",\r
5615         "xml": "<block atomic=\"true\">",\r
5616         "atomic": "true",\r
5617         "outputs": 1,\r
5618         "x": 796.0118713378906,\r
5619         "y": 5825.63117980957,\r
5620         "z": "2d523017.81121",\r
5621         "wires": [\r
5622             [\r
5623                 "840ebe47.1002a",\r
5624                 "f54d4b54.f29d58"\r
5625             ]\r
5626         ]\r
5627     },\r
5628     {\r
5629         "id": "840ebe47.1002a",\r
5630         "type": "configure",\r
5631         "name": "set error-message",\r
5632         "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
5633         "comments": "",\r
5634         "outputs": 1,\r
5635         "x": 1001.7262115478516,\r
5636         "y": 5801.345325469971,\r
5637         "z": "2d523017.81121",\r
5638         "wires": [\r
5639             []\r
5640         ]\r
5641     },\r
5642     {\r
5643         "id": "b5b87fb0.590f",\r
5644         "type": "block",\r
5645         "name": "block : atomic",\r
5646         "xml": "<block atomic=\"true\">",\r
5647         "atomic": "true",\r
5648         "outputs": 1,\r
5649         "x": 1376.059555053711,\r
5650         "y": 5875.011758804321,\r
5651         "z": "2d523017.81121",\r
5652         "wires": [\r
5653             [\r
5654                 "9605363d.80ae88",\r
5655                 "f54d4b54.f29d58"\r
5656             ]\r
5657         ]\r
5658     },\r
5659     {\r
5660         "id": "9605363d.80ae88",\r
5661         "type": "configure",\r
5662         "name": "set error-message",\r
5663         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating relationship in generic-vnf in AAI\" />\n",\r
5664         "comments": "",\r
5665         "outputs": 1,\r
5666         "x": 1570.3452758789062,\r
5667         "y": 5849.2977504730225,\r
5668         "z": "2d523017.81121",\r
5669         "wires": [\r
5670             []\r
5671         ]\r
5672     },\r
5673     {\r
5674         "id": "610d2304.a3d70c",\r
5675         "type": "block",\r
5676         "name": "block : atomic",\r
5677         "xml": "<block atomic=\"true\">",\r
5678         "atomic": "true",\r
5679         "outputs": 1,\r
5680         "x": 1391.059555053711,\r
5681         "y": 5918.345254898071,\r
5682         "z": "2d523017.81121",\r
5683         "wires": [\r
5684             [\r
5685                 "70fd7745.526758",\r
5686                 "f54d4b54.f29d58"\r
5687             ]\r
5688         ]\r
5689     },\r
5690     {\r
5691         "id": "70fd7745.526758",\r
5692         "type": "configure",\r
5693         "name": "set error-message",\r
5694         "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
5695         "comments": "",\r
5696         "outputs": 1,\r
5697         "x": 1585.3452758789062,\r
5698         "y": 5892.6312465667725,\r
5699         "z": "2d523017.81121",\r
5700         "wires": [\r
5701             []\r
5702         ]\r
5703     },\r
5704     {\r
5705         "id": "b01ba289.b4c4d",\r
5706         "type": "execute",\r
5707         "name": "execute RestApiCallNode - PUT vnf",\r
5708         "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
5709         "comments": "",\r
5710         "outputs": 1,\r
5711         "x": 477.2378692626953,\r
5712         "y": 6091.738591194153,\r
5713         "z": "2d523017.81121",\r
5714         "wires": [\r
5715             [\r
5716                 "b8a25bcd.5c5768",\r
5717                 "336fda4d.6f39d6"\r
5718             ]\r
5719         ]\r
5720     },\r
5721     {\r
5722         "id": "b8a25bcd.5c5768",\r
5723         "type": "not-found",\r
5724         "name": "not-found",\r
5725         "xml": "<outcome value='not-found'>\n",\r
5726         "comments": "",\r
5727         "outputs": 1,\r
5728         "x": 724.4506301879883,\r
5729         "y": 6113.069312095642,\r
5730         "z": "2d523017.81121",\r
5731         "wires": [\r
5732             [\r
5733                 "dd704ec0.5452"\r
5734             ]\r
5735         ]\r
5736     },\r
5737     {\r
5738         "id": "336fda4d.6f39d6",\r
5739         "type": "failure",\r
5740         "name": "failure",\r
5741         "xml": "<outcome value='failure'>\n",\r
5742         "comments": "",\r
5743         "outputs": 1,\r
5744         "x": 716.879264831543,\r
5745         "y": 6071.569332122803,\r
5746         "z": "2d523017.81121",\r
5747         "wires": [\r
5748             [\r
5749                 "dd704ec0.5452"\r
5750             ]\r
5751         ]\r
5752     },\r
5753     {\r
5754         "id": "dd704ec0.5452",\r
5755         "type": "block",\r
5756         "name": "block : atomic",\r
5757         "xml": "<block atomic=\"true\">",\r
5758         "atomic": "true",\r
5759         "outputs": 1,\r
5760         "x": 892.475944519043,\r
5761         "y": 6091.499786376953,\r
5762         "z": "2d523017.81121",\r
5763         "wires": [\r
5764             [\r
5765                 "70b79c9a.11b3d4",\r
5766                 "f54d4b54.f29d58"\r
5767             ]\r
5768         ]\r
5769     },\r
5770     {\r
5771         "id": "70b79c9a.11b3d4",\r
5772         "type": "configure",\r
5773         "name": "set error-message",\r
5774         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error doing PUT of vnf-data\" />\n",\r
5775         "comments": "",\r
5776         "outputs": 1,\r
5777         "x": 1098.1902542114258,\r
5778         "y": 6057.213903427124,\r
5779         "z": "2d523017.81121",\r
5780         "wires": [\r
5781             []\r
5782         ]\r
5783     },\r
5784     {\r
5785         "id": "ebd11f4a.d9ea2",\r
5786         "type": "configure",\r
5787         "name": "send success to MSO",\r
5788         "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"200\" />\n<parameter name=\"input.svc-request-id\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$vnf-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$vnf-topology-operation-input.service-information.service-instance-id`\" />\n",\r
5789         "comments": "",\r
5790         "outputs": 1,\r
5791         "x": 423.1902313232422,\r
5792         "y": 6242.214249610901,\r
5793         "z": "2d523017.81121",\r
5794         "wires": [\r
5795             []\r
5796         ]\r
5797     }\r
5798 ]