Carry forward GRA async fixes
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vf-module-topology-operation-assign-async.json
1 [\r
2     {\r
3         "id": "47ef00b1.749c8",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 195,\r
8         "y": 102.5242919921875,\r
9         "z": "34265cd.7205424",\r
10         "wires": [\r
11             [\r
12                 "4efb4066.e4139"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "4efb4066.e4139",\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": 308.8571357727051,\r
26         "y": 142.33382987976074,\r
27         "z": "34265cd.7205424",\r
28         "wires": [\r
29             [\r
30                 "3089d18d.9d8e36"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "3089d18d.9d8e36",\r
36         "type": "method",\r
37         "name": "method vf-module-topology-operation-assign-async",\r
38         "xml": "<method rpc='vf-module-topology-operation-assign-async' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 308.42862701416016,\r
42         "y": 182.5242919921875,\r
43         "z": "34265cd.7205424",\r
44         "wires": [\r
45             [\r
46                 "effbab1c.8eeb18"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "ddba88b.d2daa78",\r
52         "type": "comment",\r
53         "name": "vf-module-topology-operation-assign-async",\r
54         "info": "",\r
55         "comments": "",\r
56         "x": 549.0711059570312,\r
57         "y": 21,\r
58         "z": "34265cd.7205424",\r
59         "wires": []\r
60     },\r
61     {\r
62         "id": "13d1edde.2c3cc2",\r
63         "type": "switchNode",\r
64         "name": "switch request-action",\r
65         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>\n",\r
66         "comments": "",\r
67         "outputs": 1,\r
68         "x": 600.1905212402344,\r
69         "y": 455.5480899810791,\r
70         "z": "34265cd.7205424",\r
71         "wires": [\r
72             [\r
73                 "d09a1f6d.c339a8",\r
74                 "ae721e71.bc28f8"\r
75             ]\r
76         ]\r
77     },\r
78     {\r
79         "id": "d09a1f6d.c339a8",\r
80         "type": "outcome",\r
81         "name": "CreateVfModuleInstance",\r
82         "xml": "<outcome value='CreateVfModuleInstance'>\n",\r
83         "comments": "",\r
84         "outputs": 1,\r
85         "x": 870.9881591796875,\r
86         "y": 423.9409656524658,\r
87         "z": "34265cd.7205424",\r
88         "wires": [\r
89             [\r
90                 "163e3c12.686c64"\r
91             ]\r
92         ]\r
93     },\r
94     {\r
95         "id": "ae721e71.bc28f8",\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": 805.9047813415527,\r
102         "y": 488.0719690322876,\r
103         "z": "34265cd.7205424",\r
104         "wires": [\r
105             [\r
106                 "b097fd2d.1c3e2"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "163e3c12.686c64",\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": 1060.845323562622,\r
119         "y": 423.94099712371826,\r
120         "z": "34265cd.7205424",\r
121         "wires": [\r
122             []\r
123         ]\r
124     },\r
125     {\r
126         "id": "356786ed.1c1db2",\r
127         "type": "get-resource",\r
128         "name": "get-resource VF_MODULE_MODEL",\r
129         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODULE_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid'\n  pfx='db.vf-module-model'>\n\n",\r
130         "comments": "",\r
131         "outputs": 1,\r
132         "x": 647.5237884521484,\r
133         "y": 556.6910438537598,\r
134         "z": "34265cd.7205424",\r
135         "wires": [\r
136             [\r
137                 "3e27e49d.23f3f4",\r
138                 "80af5787.882358"\r
139             ]\r
140         ]\r
141     },\r
142     {\r
143         "id": "3e27e49d.23f3f4",\r
144         "type": "failure",\r
145         "name": "failure",\r
146         "xml": "<outcome value='failure'>\n",\r
147         "comments": "",\r
148         "outputs": 1,\r
149         "x": 913.3094787597656,\r
150         "y": 537.0718746185303,\r
151         "z": "34265cd.7205424",\r
152         "wires": [\r
153             [\r
154                 "2b23f970.b0e516"\r
155             ]\r
156         ]\r
157     },\r
158     {\r
159         "id": "80af5787.882358",\r
160         "type": "not-found",\r
161         "name": "not-found",\r
162         "xml": "<outcome value='not-found'>\n",\r
163         "comments": "",\r
164         "outputs": 1,\r
165         "x": 921.8809089660645,\r
166         "y": 581.357587814331,\r
167         "z": "34265cd.7205424",\r
168         "wires": [\r
169             [\r
170                 "19ca61b5.8fa5c6"\r
171             ]\r
172         ]\r
173     },\r
174     {\r
175         "id": "f269ddb2.03ac18",\r
176         "type": "switchNode",\r
177         "name": "switch service-data.vnfs.vnf_length",\r
178         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
179         "comments": "",\r
180         "outputs": 1,\r
181         "x": 641.3690414428711,\r
182         "y": 734.0124034881592,\r
183         "z": "34265cd.7205424",\r
184         "wires": [\r
185             [\r
186                 "b91f6edf.e66fa",\r
187                 "de858ec5.7b807"\r
188             ]\r
189         ]\r
190     },\r
191     {\r
192         "id": "b91f6edf.e66fa",\r
193         "type": "other",\r
194         "name": "NULL",\r
195         "xml": "<outcome value=''>\n",\r
196         "comments": "",\r
197         "outputs": 1,\r
198         "x": 882.0833129882812,\r
199         "y": 710.155143737793,\r
200         "z": "34265cd.7205424",\r
201         "wires": [\r
202             [\r
203                 "57fdbbee.7122f4"\r
204             ]\r
205         ]\r
206     },\r
207     {\r
208         "id": "de858ec5.7b807",\r
209         "type": "other",\r
210         "name": "other",\r
211         "xml": "<outcome value='Other'>\n",\r
212         "comments": "",\r
213         "outputs": 1,\r
214         "x": 881.8451538085938,\r
215         "y": 752.1076622009277,\r
216         "z": "34265cd.7205424",\r
217         "wires": [\r
218             [\r
219                 "b90f80a9.a4803"\r
220             ]\r
221         ]\r
222     },\r
223     {\r
224         "id": "b2cbded2.837b2",\r
225         "type": "block",\r
226         "name": "block : atomic",\r
227         "xml": "<block atomic=\"true\">",\r
228         "atomic": "true",\r
229         "outputs": 1,\r
230         "x": 239.9404296875,\r
231         "y": 3171.9293028116226,\r
232         "z": "34265cd.7205424",\r
233         "wires": [\r
234             [\r
235                 "a43d883.25c17f8",\r
236                 "a0b91b46.4fb248",\r
237                 "cb9c99a0.7906c",\r
238                 "734ae3c5.175e1c",\r
239                 "d02c5f14.3d4ee",\r
240                 "97b7d623.89325",\r
241                 "925699fb.c3532",\r
242                 "500b7c10.330fb4",\r
243                 "e5d088d4.d1279",\r
244                 "9f6faea5.1876d",\r
245                 "b6b2184e.def9e",\r
246                 "6c341ffe.ffd948",\r
247                 "602e0129.20af78",\r
248                 "f312e38d.47c19",\r
249                 "c5f1094.89d7678",\r
250                 "bdd166c5.9655d",\r
251                 "3326bf0a.c858a",\r
252                 "eada7f38.32c088",\r
253                 "8aa4893.5435478",\r
254                 "40d2ead1.29e2d4",\r
255                 "205882d9.0b5ba6",\r
256                 "e9f0935c.0d26e",\r
257                 "cf288013.27e988",\r
258                 "50d2cea2.bb528",\r
259                 "886b51f6.cb8c8",\r
260                 "14aa8b5.d6278f5",\r
261                 "4b70bca8.2d04e4",\r
262                 "d4b60897.e18598",\r
263                 "fcdfebce.a935a8",\r
264                 "84fdd3bf.927fd",\r
265                 "9f112544.7f8a58",\r
266                 "5b817e7f.0206",\r
267                 "a1c5d05.89a983",\r
268                 "7e168e6e.8d02f8",\r
269                 "c1894905.cb3d58",\r
270                 "7badb381.1fbf0c",\r
271                 "2d6c7dfc.640b9a"\r
272             ]\r
273         ]\r
274     },\r
275     {\r
276         "id": "b90f80a9.a4803",\r
277         "type": "for",\r
278         "name": "for each vnf",\r
279         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
280         "comments": "",\r
281         "outputs": 1,\r
282         "x": 1044.0832977294922,\r
283         "y": 751.7742805480957,\r
284         "z": "34265cd.7205424",\r
285         "wires": [\r
286             [\r
287                 "f126a52f.3ffd6"\r
288             ]\r
289         ]\r
290     },\r
291     {\r
292         "id": "f126a52f.3ffd6",\r
293         "type": "switchNode",\r
294         "name": "switch service data vnf == input vnf",\r
295         "xml": "<switch test='`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`'>\n",\r
296         "comments": "",\r
297         "outputs": 1,\r
298         "x": 1295.4165954589844,\r
299         "y": 751.4410085678101,\r
300         "z": "34265cd.7205424",\r
301         "wires": [\r
302             [\r
303                 "9db43827.db871"\r
304             ]\r
305         ]\r
306     },\r
307     {\r
308         "id": "9db43827.db871",\r
309         "type": "outcomeTrue",\r
310         "name": "true",\r
311         "xml": "<outcome value='true'>\n",\r
312         "comments": "",\r
313         "outputs": 1,\r
314         "x": 1525.4166069030762,\r
315         "y": 750.7743215560913,\r
316         "z": "34265cd.7205424",\r
317         "wires": [\r
318             [\r
319                 "c01d11b0.35cf18"\r
320             ]\r
321         ]\r
322     },\r
323     {\r
324         "id": "527b3c86.073724",\r
325         "type": "set",\r
326         "name": "set vnf-index to -1",\r
327         "xml": "<set>\n<parameter name='vnf-index' value='-1' />\n",\r
328         "comments": "",\r
329         "x": 590.4166641235352,\r
330         "y": 665.4409027099609,\r
331         "z": "34265cd.7205424",\r
332         "wires": []\r
333     },\r
334     {\r
335         "id": "c592a9bb.2acb88",\r
336         "type": "set",\r
337         "name": "set vnf-index to idx",\r
338         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
339         "comments": "",\r
340         "x": 1847.0832443237305,\r
341         "y": 721.7742795944214,\r
342         "z": "34265cd.7205424",\r
343         "wires": []\r
344     },\r
345     {\r
346         "id": "aca51e3b.78a188",\r
347         "type": "switchNode",\r
348         "name": "switch vnf-index",\r
349         "xml": "<switch test='`$vnf-index`'>\n",\r
350         "comments": "",\r
351         "outputs": 1,\r
352         "x": 579.1666870117188,\r
353         "y": 817.6075925827026,\r
354         "z": "34265cd.7205424",\r
355         "wires": [\r
356             [\r
357                 "cb668766.b21a98"\r
358             ]\r
359         ]\r
360     },\r
361     {\r
362         "id": "cb668766.b21a98",\r
363         "type": "outcome",\r
364         "name": "-1",\r
365         "xml": "<outcome value='-1'>\n",\r
366         "comments": "",\r
367         "outputs": 1,\r
368         "x": 757.500072479248,\r
369         "y": 816.9409685134888,\r
370         "z": "34265cd.7205424",\r
371         "wires": [\r
372             [\r
373                 "a0d2ddbe.4ce55"\r
374             ]\r
375         ]\r
376     },\r
377     {\r
378         "id": "a43d883.25c17f8",\r
379         "type": "switchNode",\r
380         "name": "switch vf-module_length",\r
381         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
382         "comments": "",\r
383         "outputs": 1,\r
384         "x": 617.0833854675293,\r
385         "y": 1388.3577966690063,\r
386         "z": "34265cd.7205424",\r
387         "wires": [\r
388             [\r
389                 "8981146c.cb942",\r
390                 "fcfff00d.49938"\r
391             ]\r
392         ]\r
393     },\r
394     {\r
395         "id": "8981146c.cb942",\r
396         "type": "other",\r
397         "name": "NULL",\r
398         "xml": "<outcome value=''>\n",\r
399         "comments": "",\r
400         "outputs": 1,\r
401         "x": 874.4643402099609,\r
402         "y": 1355.5005702972412,\r
403         "z": "34265cd.7205424",\r
404         "wires": [\r
405             [\r
406                 "3dbed402.1d6ef4"\r
407             ]\r
408         ]\r
409     },\r
410     {\r
411         "id": "3dbed402.1d6ef4",\r
412         "type": "set",\r
413         "name": "set vf-module-index=0",\r
414         "xml": "<set>\n<parameter name='vf-module-index' value='0' />\n",\r
415         "comments": "",\r
416         "x": 1062.0833778381348,\r
417         "y": 1356.167345046997,\r
418         "z": "34265cd.7205424",\r
419         "wires": []\r
420     },\r
421     {\r
422         "id": "fcfff00d.49938",\r
423         "type": "other",\r
424         "name": "other",\r
425         "xml": "<outcome value='Other'>\n",\r
426         "comments": "",\r
427         "outputs": 1,\r
428         "x": 874.8928833007812,\r
429         "y": 1419.786428451538,\r
430         "z": "34265cd.7205424",\r
431         "wires": [\r
432             [\r
433                 "7565eb2b.4c1ff4"\r
434             ]\r
435         ]\r
436     },\r
437     {\r
438         "id": "c0b8cef7.d83a68",\r
439         "type": "set",\r
440         "name": "set vf-module-index = vf-module_length",\r
441         "xml": "<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",\r
442         "comments": "",\r
443         "x": 1260.083423614502,\r
444         "y": 1399.9768238067627,\r
445         "z": "34265cd.7205424",\r
446         "wires": []\r
447     },\r
448     {\r
449         "id": "baf65dc8.0e8fb8",\r
450         "type": "for",\r
451         "name": "for each existing VF module",\r
452         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",\r
453         "comments": "",\r
454         "outputs": 1,\r
455         "x": 1219.1785163879395,\r
456         "y": 1444.0720539093018,\r
457         "z": "34265cd.7205424",\r
458         "wires": [\r
459             [\r
460                 "c8acfe74.080af8"\r
461             ]\r
462         ]\r
463     },\r
464     {\r
465         "id": "7565eb2b.4c1ff4",\r
466         "type": "block",\r
467         "name": "block",\r
468         "xml": "<block>\n",\r
469         "atomic": "false",\r
470         "comments": "",\r
471         "outputs": 1,\r
472         "x": 1011.6071624755859,\r
473         "y": 1419.7863540649414,\r
474         "z": "34265cd.7205424",\r
475         "wires": [\r
476             [\r
477                 "c0b8cef7.d83a68",\r
478                 "baf65dc8.0e8fb8"\r
479             ]\r
480         ]\r
481     },\r
482     {\r
483         "id": "c8acfe74.080af8",\r
484         "type": "switchNode",\r
485         "name": "switch vf-module-information.vf-module-id == service-data.vnfs.vnf[].vf-modules.vf-module[].vf-module-id",\r
486         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n",\r
487         "comments": "",\r
488         "outputs": 1,\r
489         "x": 1722.7976188659668,\r
490         "y": 1443.6434650421143,\r
491         "z": "34265cd.7205424",\r
492         "wires": [\r
493             [\r
494                 "e7c1d7a5.ea41f"\r
495             ]\r
496         ]\r
497     },\r
498     {\r
499         "id": "e7c1d7a5.ea41f",\r
500         "type": "outcomeTrue",\r
501         "name": "true",\r
502         "xml": "<outcome value='true'>\n",\r
503         "comments": "",\r
504         "outputs": 1,\r
505         "x": 2165.4166679382324,\r
506         "y": 1443.214916229248,\r
507         "z": "34265cd.7205424",\r
508         "wires": [\r
509             [\r
510                 "bdb7e590.4bbf98"\r
511             ]\r
512         ]\r
513     },\r
514     {\r
515         "id": "d2392dfe.c660f",\r
516         "type": "comment",\r
517         "name": "make sure this VF module doesn't exist already",\r
518         "info": "",\r
519         "comments": "",\r
520         "x": 1749.2499656677246,\r
521         "y": 1398.270956993103,\r
522         "z": "34265cd.7205424",\r
523         "wires": []\r
524     },\r
525     {\r
526         "id": "a0b91b46.4fb248",\r
527         "type": "set",\r
528         "name": "set new vf-module_length",\r
529         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n",\r
530         "comments": "",\r
531         "x": 627.7499656677246,\r
532         "y": 1499.3576517105103,\r
533         "z": "34265cd.7205424",\r
534         "wires": []\r
535     },\r
536     {\r
537         "id": "cb9c99a0.7906c",\r
538         "type": "set",\r
539         "name": "set vf-module-topology data",\r
540         "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\n<parameter name='tmp.vf-module-topology.vf-module-topology-identifier.vf-module-type' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='tmp.vf-module-topology.tenant' value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='tmp.vf-module-topology.aic-cloud-region' value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n",\r
541         "comments": "",\r
542         "x": 634.2499847412109,\r
543         "y": 1611.8577585220337,\r
544         "z": "34265cd.7205424",\r
545         "wires": []\r
546     },\r
547     {\r
548         "id": "ee8323c4.89df98",\r
549         "type": "set",\r
550         "name": "set aic-clli",\r
551         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli'\n   value='`$aai-uid-split[$aai-uid-split_length - 1]`' />\n",\r
552         "comments": "",\r
553         "x": 1395.2022438049316,\r
554         "y": 1771.095685005188,\r
555         "z": "34265cd.7205424",\r
556         "wires": []\r
557     },\r
558     {\r
559         "id": "734ae3c5.175e1c",\r
560         "type": "switchNode",\r
561         "name": "switch aic-clli",\r
562         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli`'>\n",\r
563         "comments": "",\r
564         "outputs": 1,\r
565         "x": 594.2499046325684,\r
566         "y": 1885.0480251312256,\r
567         "z": "34265cd.7205424",\r
568         "wires": [\r
569             [\r
570                 "a5088391.cb913"\r
571             ]\r
572         ]\r
573     },\r
574     {\r
575         "id": "a5088391.cb913",\r
576         "type": "outcome",\r
577         "name": "NULL",\r
578         "xml": "<outcome value=''>",\r
579         "comments": "",\r
580         "outputs": 1,\r
581         "x": 739.5355949401855,\r
582         "y": 1885.0480937957764,\r
583         "z": "34265cd.7205424",\r
584         "wires": [\r
585             [\r
586                 "2b8167ac.ee8e3"\r
587             ]\r
588         ]\r
589     },\r
590     {\r
591         "id": "d02c5f14.3d4ee",\r
592         "type": "get-resource",\r
593         "name": "get-resource cloud region",\r
594         "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 = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\"\n        pfx='aai.cloud-region' local-only='false' >\n\n",\r
595         "comments": "",\r
596         "outputs": 1,\r
597         "x": 633.107120513916,\r
598         "y": 1685.1912965774536,\r
599         "z": "34265cd.7205424",\r
600         "wires": [\r
601             [\r
602                 "afc6e33.fafafa",\r
603                 "60ebcdb7.264a0c"\r
604             ]\r
605         ]\r
606     },\r
607     {\r
608         "id": "60ebcdb7.264a0c",\r
609         "type": "failure",\r
610         "name": "failure",\r
611         "xml": "<outcome value='failure'>\n",\r
612         "comments": "",\r
613         "outputs": 1,\r
614         "x": 847.3533134460449,\r
615         "y": 1703.34215259552,\r
616         "z": "34265cd.7205424",\r
617         "wires": [\r
618             [\r
619                 "71cefe31.79b508"\r
620             ]\r
621         ]\r
622     },\r
623     {\r
624         "id": "afc6e33.fafafa",\r
625         "type": "not-found",\r
626         "name": "not-found",\r
627         "xml": "<outcome value='not-found'>\n",\r
628         "comments": "",\r
629         "outputs": 1,\r
630         "x": 856.281909942627,\r
631         "y": 1660.6278858184814,\r
632         "z": "34265cd.7205424",\r
633         "wires": [\r
634             [\r
635                 "e750571d.ca626"\r
636             ]\r
637         ]\r
638     },\r
639     {\r
640         "id": "c01d11b0.35cf18",\r
641         "type": "block",\r
642         "name": "block",\r
643         "xml": "<block>\n",\r
644         "atomic": "false",\r
645         "comments": "",\r
646         "outputs": 1,\r
647         "x": 1673.7500686645508,\r
648         "y": 749.6940202713013,\r
649         "z": "34265cd.7205424",\r
650         "wires": [\r
651             [\r
652                 "c592a9bb.2acb88",\r
653                 "9ce31ee0.52ab58"\r
654             ]\r
655         ]\r
656     },\r
657     {\r
658         "id": "9ce31ee0.52ab58",\r
659         "type": "break",\r
660         "name": "break",\r
661         "xml": "<break>\n",\r
662         "comments": "",\r
663         "x": 1808.7500343322754,\r
664         "y": 771.3606061935425,\r
665         "z": "34265cd.7205424",\r
666         "wires": []\r
667     },\r
668     {\r
669         "id": "c55eb946.3ed8e8",\r
670         "type": "set",\r
671         "name": "set from DB",\r
672         "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-module-model.invariant-uuid`' />\n",\r
673         "comments": "",\r
674         "x": 1008.5832443237305,\r
675         "y": 1926.4440183639526,\r
676         "z": "34265cd.7205424",\r
677         "wires": []\r
678     },\r
679     {\r
680         "id": "97b7d623.89325",\r
681         "type": "switchNode",\r
682         "name": "switch input model-invariant-uuid",\r
683         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n",\r
684         "comments": "",\r
685         "outputs": 1,\r
686         "x": 652.4403190612793,\r
687         "y": 1949.2684621810913,\r
688         "z": "34265cd.7205424",\r
689         "wires": [\r
690             [\r
691                 "ef2c9ecf.3ea71",\r
692                 "6560f94f.b870d8"\r
693             ]\r
694         ]\r
695     },\r
696     {\r
697         "id": "ef2c9ecf.3ea71",\r
698         "type": "outcome",\r
699         "name": "NULL",\r
700         "xml": "<outcome value=''>",\r
701         "comments": "",\r
702         "outputs": 1,\r
703         "x": 858.106990814209,\r
704         "y": 1926.4114255905151,\r
705         "z": "34265cd.7205424",\r
706         "wires": [\r
707             [\r
708                 "c55eb946.3ed8e8"\r
709             ]\r
710         ]\r
711     },\r
712     {\r
713         "id": "6560f94f.b870d8",\r
714         "type": "other",\r
715         "name": "other",\r
716         "xml": "<outcome value='Other'>\n",\r
717         "comments": "",\r
718         "outputs": 1,\r
719         "x": 859.535587310791,\r
720         "y": 1970.6970167160034,\r
721         "z": "34265cd.7205424",\r
722         "wires": [\r
723             [\r
724                 "3ee20fc0.bf22f"\r
725             ]\r
726         ]\r
727     },\r
728     {\r
729         "id": "3ee20fc0.bf22f",\r
730         "type": "set",\r
731         "name": "set from input",\r
732         "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-invariant-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n",\r
733         "comments": "",\r
734         "x": 1013.8213233947754,\r
735         "y": 1970.1255888938904,\r
736         "z": "34265cd.7205424",\r
737         "wires": []\r
738     },\r
739     {\r
740         "id": "3108a061.0ec8f",\r
741         "type": "set",\r
742         "name": "set from DB",\r
743         "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-uuid'\n  value='`$db.vf-module-model.uuid`' />\n",\r
744         "comments": "",\r
745         "x": 1009.535514831543,\r
746         "y": 2014.9826946258545,\r
747         "z": "34265cd.7205424",\r
748         "wires": []\r
749     },\r
750     {\r
751         "id": "925699fb.c3532",\r
752         "type": "switchNode",\r
753         "name": "switch input model-uuid",\r
754         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n",\r
755         "comments": "",\r
756         "outputs": 1,\r
757         "x": 625.0593376159668,\r
758         "y": 2037.8071994781494,\r
759         "z": "34265cd.7205424",\r
760         "wires": [\r
761             [\r
762                 "935ab6e4.246cd",\r
763                 "110bf82.0172d08"\r
764             ]\r
765         ]\r
766     },\r
767     {\r
768         "id": "935ab6e4.246cd",\r
769         "type": "outcome",\r
770         "name": "NULL",\r
771         "xml": "<outcome value=''>",\r
772         "comments": "",\r
773         "outputs": 1,\r
774         "x": 859.0593109130859,\r
775         "y": 2014.9501314163208,\r
776         "z": "34265cd.7205424",\r
777         "wires": [\r
778             [\r
779                 "3108a061.0ec8f"\r
780             ]\r
781         ]\r
782     },\r
783     {\r
784         "id": "110bf82.0172d08",\r
785         "type": "other",\r
786         "name": "other",\r
787         "xml": "<outcome value='Other'>\n",\r
788         "comments": "",\r
789         "outputs": 1,\r
790         "x": 860.487907409668,\r
791         "y": 2059.235722541809,\r
792         "z": "34265cd.7205424",\r
793         "wires": [\r
794             [\r
795                 "f5fdcdbb.a51fc8"\r
796             ]\r
797         ]\r
798     },\r
799     {\r
800         "id": "f5fdcdbb.a51fc8",\r
801         "type": "set",\r
802         "name": "set from input",\r
803         "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n",\r
804         "comments": "",\r
805         "x": 1014.7736434936523,\r
806         "y": 2058.664294719696,\r
807         "z": "34265cd.7205424",\r
808         "wires": []\r
809     },\r
810     {\r
811         "id": "3414be68.250f22",\r
812         "type": "set",\r
813         "name": "set from DB",\r
814         "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-version'\n  value='`$db.vf-module-model.version`' />\n",\r
815         "comments": "",\r
816         "x": 1006.6784477233887,\r
817         "y": 2103.8399019241333,\r
818         "z": "34265cd.7205424",\r
819         "wires": []\r
820     },\r
821     {\r
822         "id": "500b7c10.330fb4",\r
823         "type": "switchNode",\r
824         "name": "switch input model-version",\r
825         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n",\r
826         "comments": "",\r
827         "outputs": 1,\r
828         "x": 633.2022094726562,\r
829         "y": 2126.6643466949463,\r
830         "z": "34265cd.7205424",\r
831         "wires": [\r
832             [\r
833                 "2d96bcee.a98f2c",\r
834                 "d50c8bc4.769118"\r
835             ]\r
836         ]\r
837     },\r
838     {\r
839         "id": "2d96bcee.a98f2c",\r
840         "type": "outcome",\r
841         "name": "NULL",\r
842         "xml": "<outcome value=''>",\r
843         "comments": "",\r
844         "outputs": 1,\r
845         "x": 856.2021942138672,\r
846         "y": 2103.807309150696,\r
847         "z": "34265cd.7205424",\r
848         "wires": [\r
849             [\r
850                 "3414be68.250f22"\r
851             ]\r
852         ]\r
853     },\r
854     {\r
855         "id": "d50c8bc4.769118",\r
856         "type": "other",\r
857         "name": "other",\r
858         "xml": "<outcome value='Other'>\n",\r
859         "comments": "",\r
860         "outputs": 1,\r
861         "x": 857.6307907104492,\r
862         "y": 2148.092900276184,\r
863         "z": "34265cd.7205424",\r
864         "wires": [\r
865             [\r
866                 "f4ecdb0.7ccf3a8"\r
867             ]\r
868         ]\r
869     },\r
870     {\r
871         "id": "f4ecdb0.7ccf3a8",\r
872         "type": "set",\r
873         "name": "set from input",\r
874         "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-version'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n",\r
875         "comments": "",\r
876         "x": 1011.9165267944336,\r
877         "y": 2147.521472454071,\r
878         "z": "34265cd.7205424",\r
879         "wires": []\r
880     },\r
881     {\r
882         "id": "1c1e9347.9ae5dd",\r
883         "type": "set",\r
884         "name": "set from DB",\r
885         "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-name'\n  value='`$db.vf-module-model.name`' />\n",\r
886         "comments": "",\r
887         "x": 1006.6784477233887,\r
888         "y": 2190.9827241897583,\r
889         "z": "34265cd.7205424",\r
890         "wires": []\r
891     },\r
892     {\r
893         "id": "e5d088d4.d1279",\r
894         "type": "switchNode",\r
895         "name": "switch input model-name",\r
896         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n",\r
897         "comments": "",\r
898         "outputs": 1,\r
899         "x": 628.2022094726562,\r
900         "y": 2213.8071689605713,\r
901         "z": "34265cd.7205424",\r
902         "wires": [\r
903             [\r
904                 "f63d99eb.7ea558",\r
905                 "a3370d33.87d5d"\r
906             ]\r
907         ]\r
908     },\r
909     {\r
910         "id": "f63d99eb.7ea558",\r
911         "type": "outcome",\r
912         "name": "NULL",\r
913         "xml": "<outcome value=''>",\r
914         "comments": "",\r
915         "outputs": 1,\r
916         "x": 856.2021942138672,\r
917         "y": 2190.950131416321,\r
918         "z": "34265cd.7205424",\r
919         "wires": [\r
920             [\r
921                 "1c1e9347.9ae5dd"\r
922             ]\r
923         ]\r
924     },\r
925     {\r
926         "id": "a3370d33.87d5d",\r
927         "type": "other",\r
928         "name": "other",\r
929         "xml": "<outcome value='Other'>\n",\r
930         "comments": "",\r
931         "outputs": 1,\r
932         "x": 857.6307907104492,\r
933         "y": 2235.235722541809,\r
934         "z": "34265cd.7205424",\r
935         "wires": [\r
936             [\r
937                 "b62b5297.640c38"\r
938             ]\r
939         ]\r
940     },\r
941     {\r
942         "id": "b62b5297.640c38",\r
943         "type": "set",\r
944         "name": "set from input",\r
945         "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-name'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n",\r
946         "comments": "",\r
947         "x": 1011.9165267944336,\r
948         "y": 2234.664294719696,\r
949         "z": "34265cd.7205424",\r
950         "wires": []\r
951     },\r
952     {\r
953         "id": "9f6faea5.1876d",\r
954         "type": "set",\r
955         "name": "set model-customization-uuid",\r
956         "xml": "<set>\n<parameter name='tmp.vf-module-topology.onap-model-information.model-customization-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n",\r
957         "comments": "",\r
958         "x": 642.6545448303223,\r
959         "y": 2286.3161582946777,\r
960         "z": "34265cd.7205424",\r
961         "wires": []\r
962     },\r
963     {\r
964         "id": "b6b2184e.def9e",\r
965         "type": "set",\r
966         "name": "set vf-module-id",\r
967         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n   value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",\r
968         "comments": "",\r
969         "x": 595.8451919555664,\r
970         "y": 1555.0393342971802,\r
971         "z": "34265cd.7205424",\r
972         "wires": []\r
973     },\r
974     {\r
975         "id": "6c341ffe.ffd948",\r
976         "type": "for",\r
977         "name": "for each cloud-region relationship",\r
978         "xml": "<for index='idx' start='0' end='`$aai.cloud-region.relationship-list.relationship_length`' >\n",\r
979         "comments": "",\r
980         "outputs": 1,\r
981         "x": 655.3609352111816,\r
982         "y": 1773.697979927063,\r
983         "z": "34265cd.7205424",\r
984         "wires": [\r
985             [\r
986                 "c0518e57.620ee8"\r
987             ]\r
988         ]\r
989     },\r
990     {\r
991         "id": "c0518e57.620ee8",\r
992         "type": "switchNode",\r
993         "name": "switch related-to",\r
994         "xml": "<switch test='`$aai.cloud-region.relationship-list.relationship[$idx].related-to`'>\n",\r
995         "comments": "",\r
996         "outputs": 1,\r
997         "x": 903.039478302002,\r
998         "y": 1773.4479093551636,\r
999         "z": "34265cd.7205424",\r
1000         "wires": [\r
1001             [\r
1002                 "541c6720.7cffe8"\r
1003             ]\r
1004         ]\r
1005     },\r
1006     {\r
1007         "id": "541c6720.7cffe8",\r
1008         "type": "outcome",\r
1009         "name": "complex",\r
1010         "xml": "<outcome value='complex'>\n",\r
1011         "comments": "",\r
1012         "outputs": 1,\r
1013         "x": 1072.5037994384766,\r
1014         "y": 1772.8407316207886,\r
1015         "z": "34265cd.7205424",\r
1016         "wires": [\r
1017             [\r
1018                 "de4075f3.bc9ec"\r
1019             ]\r
1020         ]\r
1021     },\r
1022     {\r
1023         "id": "bfd35321.fbdcc",\r
1024         "type": "execute",\r
1025         "name": "split related-link",\r
1026         "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
1027         "comments": "",\r
1028         "outputs": 1,\r
1029         "x": 1412.5989570617676,\r
1030         "y": 1727.2693071365356,\r
1031         "z": "34265cd.7205424",\r
1032         "wires": [\r
1033             []\r
1034         ]\r
1035     },\r
1036     {\r
1037         "id": "de4075f3.bc9ec",\r
1038         "type": "block",\r
1039         "name": "block : atomic",\r
1040         "xml": "<block atomic=\"true\">",\r
1041         "atomic": "true",\r
1042         "outputs": 1,\r
1043         "x": 1232.2656593322754,\r
1044         "y": 1773.936095237732,\r
1045         "z": "34265cd.7205424",\r
1046         "wires": [\r
1047             [\r
1048                 "bfd35321.fbdcc",\r
1049                 "b03a09c0.4474b8",\r
1050                 "ee8323c4.89df98"\r
1051             ]\r
1052         ]\r
1053     },\r
1054     {\r
1055         "id": "b03a09c0.4474b8",\r
1056         "type": "break",\r
1057         "name": "break",\r
1058         "xml": "<break>\n",\r
1059         "comments": "",\r
1060         "x": 1382.2656211853027,\r
1061         "y": 1817.2693920135498,\r
1062         "z": "34265cd.7205424",\r
1063         "wires": []\r
1064     },\r
1065     {\r
1066         "id": "d583179d.999f08",\r
1067         "type": "execute",\r
1068         "name": "execute PropertiesNode",\r
1069         "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
1070         "comments": "",\r
1071         "outputs": 1,\r
1072         "x": 614.0476226806641,\r
1073         "y": 212.04809951782227,\r
1074         "z": "34265cd.7205424",\r
1075         "wires": [\r
1076             []\r
1077         ]\r
1078     },\r
1079     {\r
1080         "id": "8aa4893.5435478",\r
1081         "type": "set",\r
1082         "name": "set order-status to PendingCreate",\r
1083         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n  value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",\r
1084         "comments": "",\r
1085         "x": 540.5122909545898,\r
1086         "y": 7382.904582977295,\r
1087         "z": "34265cd.7205424",\r
1088         "wires": []\r
1089     },\r
1090     {\r
1091         "id": "40d2ead1.29e2d4",\r
1092         "type": "returnSuccess",\r
1093         "name": "return success",\r
1094         "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
1095         "comments": "",\r
1096         "x": 484.01214599609375,\r
1097         "y": 8147.951934337616,\r
1098         "z": "34265cd.7205424",\r
1099         "wires": []\r
1100     },\r
1101     {\r
1102         "id": "eada7f38.32c088",\r
1103         "type": "set",\r
1104         "name": "copy input data",\r
1105         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.'\n   value='$vf-module-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.'\n   value='$vf-module-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.'\n   value='$vf-module-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.'\n   value='$vf-module-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.'\n   value='$vf-module-topology-operation-input.vf-module-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.'\n   value='$vf-module-topology-operation-input.vf-module-request-input.' />\n\n",\r
1106         "comments": "",\r
1107         "x": 472.6192321777344,\r
1108         "y": 7239.253315925598,\r
1109         "z": "34265cd.7205424",\r
1110         "wires": []\r
1111     },\r
1112     {\r
1113         "id": "3326bf0a.c858a",\r
1114         "type": "set",\r
1115         "name": "copy vf-module-topology data",\r
1116         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.' value='tmp.vf-module-topology.' />\n",\r
1117         "comments": "",\r
1118         "x": 527.5002517700195,\r
1119         "y": 7186.038250923157,\r
1120         "z": "34265cd.7205424",\r
1121         "wires": []\r
1122     },\r
1123     {\r
1124         "id": "f312e38d.47c19",\r
1125         "type": "save",\r
1126         "name": "update vf-module",\r
1127         "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vf-module\"\n   key=\"vf-module.vf-module-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id\n      AND generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"vf-module-name\" value=\"`$tmp.vf-module-topology.vf-module-topology-identifier.vf-module-name`\" />\n<parameter name=\"model-invariant-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$tmp.vf-module-topology.onap-model-information.model-customization-uuid`\" />\n<parameter name=\"selflink\" value=\"`$vf-module-object-path`\" />\n<parameter name=\"automated-assignment\" value=\"`$automated-assignment`\" />",\r
1128         "comments": "",\r
1129         "outputs": 1,\r
1130         "x": 557.8929710388184,\r
1131         "y": 4393.039915680885,\r
1132         "z": "34265cd.7205424",\r
1133         "wires": [\r
1134             [\r
1135                 "56183cf7.21f8bc",\r
1136                 "298fb653.de04f2"\r
1137             ]\r
1138         ]\r
1139     },\r
1140     {\r
1141         "id": "56183cf7.21f8bc",\r
1142         "type": "failure",\r
1143         "name": "failure",\r
1144         "xml": "<outcome value='failure'>\n",\r
1145         "comments": "",\r
1146         "outputs": 1,\r
1147         "x": 732.9646110534668,\r
1148         "y": 4361.4205375909805,\r
1149         "z": "34265cd.7205424",\r
1150         "wires": [\r
1151             [\r
1152                 "69c206e5.9c5be8"\r
1153             ]\r
1154         ]\r
1155     },\r
1156     {\r
1157         "id": "298fb653.de04f2",\r
1158         "type": "not-found",\r
1159         "name": "not-found",\r
1160         "xml": "<outcome value='not-found'>\n",\r
1161         "comments": "",\r
1162         "outputs": 1,\r
1163         "x": 741.5359840393066,\r
1164         "y": 4430.039627611637,\r
1165         "z": "34265cd.7205424",\r
1166         "wires": [\r
1167             [\r
1168                 "ca232fc7.373f28"\r
1169             ]\r
1170         ]\r
1171     },\r
1172     {\r
1173         "id": "602e0129.20af78",\r
1174         "type": "set",\r
1175         "name": "set vf-module-object-path",\r
1176         "xml": "<set>\n<parameter name='vf-module-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-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/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-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 + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",\r
1177         "comments": "",\r
1178         "x": 581.5597801208496,\r
1179         "y": 4268.564144730568,\r
1180         "z": "34265cd.7205424",\r
1181         "wires": []\r
1182     },\r
1183     {\r
1184         "id": "8b5e2bc.0d8cdd8",\r
1185         "type": "save",\r
1186         "name": "save vf-module relationships",\r
1187         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vf-module:relationship-list\"\n   key=\"vf-module.vf-module-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id\n      AND 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].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`\" />\n",\r
1188         "comments": "",\r
1189         "outputs": 1,\r
1190         "x": 1351.5835266113281,\r
1191         "y": 5951.192310094833,\r
1192         "z": "34265cd.7205424",\r
1193         "wires": [\r
1194             [\r
1195                 "156220b0.97881f",\r
1196                 "a8f671db.55245"\r
1197             ]\r
1198         ]\r
1199     },\r
1200     {\r
1201         "id": "156220b0.97881f",\r
1202         "type": "failure",\r
1203         "name": "failure",\r
1204         "xml": "<outcome value='failure'>\n",\r
1205         "comments": "",\r
1206         "outputs": 1,\r
1207         "x": 1571.4168701171875,\r
1208         "y": 5922.064054250717,\r
1209         "z": "34265cd.7205424",\r
1210         "wires": [\r
1211             [\r
1212                 "d0730d21.778c9"\r
1213             ]\r
1214         ]\r
1215     },\r
1216     {\r
1217         "id": "a8f671db.55245",\r
1218         "type": "not-found",\r
1219         "name": "not-found",\r
1220         "xml": "<outcome value='not-found'>\n",\r
1221         "comments": "",\r
1222         "outputs": 1,\r
1223         "x": 1579.9884033203125,\r
1224         "y": 5974.683198690414,\r
1225         "z": "34265cd.7205424",\r
1226         "wires": [\r
1227             [\r
1228                 "e6565cbf.f37f88"\r
1229             ]\r
1230         ]\r
1231     },\r
1232     {\r
1233         "id": "c5f1094.89d7678",\r
1234         "type": "for",\r
1235         "name": "for each vm-type",\r
1236         "xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",\r
1237         "comments": "",\r
1238         "outputs": 1,\r
1239         "x": 531.2502517700195,\r
1240         "y": 5716.525862932205,\r
1241         "z": "34265cd.7205424",\r
1242         "wires": [\r
1243             [\r
1244                 "900abd87.03036"\r
1245             ]\r
1246         ]\r
1247     },\r
1248     {\r
1249         "id": "71e9d608.74954",\r
1250         "type": "for",\r
1251         "name": "for each vm-network",\r
1252         "xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",\r
1253         "comments": "",\r
1254         "outputs": 1,\r
1255         "x": 928.2502632141113,\r
1256         "y": 6135.192695140839,\r
1257         "z": "34265cd.7205424",\r
1258         "wires": [\r
1259             [\r
1260                 "474d2262.a76184"\r
1261             ]\r
1262         ]\r
1263     },\r
1264     {\r
1265         "id": "bdd166c5.9655d",\r
1266         "type": "for",\r
1267         "name": "for each vm-type",\r
1268         "xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",\r
1269         "comments": "",\r
1270         "outputs": 1,\r
1271         "x": 476.92879486083984,\r
1272         "y": 7081.0718812942505,\r
1273         "z": "34265cd.7205424",\r
1274         "wires": [\r
1275             [\r
1276                 "5099fa11.6e8244"\r
1277             ]\r
1278         ]\r
1279     },\r
1280     {\r
1281         "id": "5099fa11.6e8244",\r
1282         "type": "for",\r
1283         "name": "for each vm",\r
1284         "xml": "<for index='vm-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-count`' >\n",\r
1285         "comments": "",\r
1286         "outputs": 1,\r
1287         "x": 671.928825378418,\r
1288         "y": 7080.4048891067505,\r
1289         "z": "34265cd.7205424",\r
1290         "wires": [\r
1291             [\r
1292                 "99b22585.2f4188"\r
1293             ]\r
1294         ]\r
1295     },\r
1296     {\r
1297         "id": "70d018d1.df953",\r
1298         "type": "save",\r
1299         "name": "save VIPR_CONFIGURATION",\r
1300         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\nkey=\"INSERT INTO VIPR_CONFIGURATION (vnf_id, vnf_name, ecomp_service_instance_id, vm_name, cloud_region_id, cloud_owner) VALUES ( $service-data.vnfs.vnf[$vnf-index].vnf-id , $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name , $service-data.service-information.service-instance-id , $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-index] , $tmp.vf-module-topology.aic-cloud-region , $prop.cloud-region.cloud-owner )\" >",\r
1301         "comments": "",\r
1302         "outputs": 1,\r
1303         "x": 1092.3455200195312,\r
1304         "y": 7105.5725764632225,\r
1305         "z": "34265cd.7205424",\r
1306         "wires": [\r
1307             [\r
1308                 "ee6a30b6.2fdb08"\r
1309             ]\r
1310         ]\r
1311     },\r
1312     {\r
1313         "id": "f7b025d1.119928",\r
1314         "type": "comment",\r
1315         "name": "Not a failure",\r
1316         "info": "",\r
1317         "comments": "",\r
1318         "x": 1612.3454208374023,\r
1319         "y": 7105.572581231594,\r
1320         "z": "34265cd.7205424",\r
1321         "wires": []\r
1322     },\r
1323     {\r
1324         "id": "ee6a30b6.2fdb08",\r
1325         "type": "failure",\r
1326         "name": "failure",\r
1327         "xml": "<outcome value='failure'>\n",\r
1328         "comments": "",\r
1329         "outputs": 1,\r
1330         "x": 1302.3455047607422,\r
1331         "y": 7105.57272619009,\r
1332         "z": "34265cd.7205424",\r
1333         "wires": [\r
1334             [\r
1335                 "f00a7c73.128e3"\r
1336             ]\r
1337         ]\r
1338     },\r
1339     {\r
1340         "id": "f00a7c73.128e3",\r
1341         "type": "record",\r
1342         "name": "record",\r
1343         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"GENERIC-RESOURCE-API.vf-module-topology-operation-assign:REQID\"/>\n<parameter name=\"field3\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Failed to insert VIPR_CONFIGURATION record\"/>\n",\r
1344         "comments": "",\r
1345         "outputs": 1,\r
1346         "x": 1445.6789474487305,\r
1347         "y": 7105.572564065456,\r
1348         "z": "34265cd.7205424",\r
1349         "wires": [\r
1350             []\r
1351         ]\r
1352     },\r
1353     {\r
1354         "id": "a9e98a28.a6413",\r
1355         "type": "failure",\r
1356         "name": "failure",\r
1357         "xml": "<outcome value='failure'>\n",\r
1358         "comments": "",\r
1359         "outputs": 1,\r
1360         "x": 1475.679069519043,\r
1361         "y": 7056.904277741909,\r
1362         "z": "34265cd.7205424",\r
1363         "wires": [\r
1364             [\r
1365                 "f18e18b8.f1a978"\r
1366             ]\r
1367         ]\r
1368     },\r
1369     {\r
1370         "id": "f0f9c912.bbfa7",\r
1371         "type": "comment",\r
1372         "name": "Not a failure",\r
1373         "info": "",\r
1374         "comments": "",\r
1375         "x": 1799.0121231079102,\r
1376         "y": 7055.238099992275,\r
1377         "z": "34265cd.7205424",\r
1378         "wires": []\r
1379     },\r
1380     {\r
1381         "id": "f18e18b8.f1a978",\r
1382         "type": "record",\r
1383         "name": "record",\r
1384         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"GENERIC-RESOURCE-API.vf-module-topology-operation-assign:REQID\"/>\n<parameter name=\"field3\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Failed to insert VIPR_CONFIGURATION record\"/>\n",\r
1385         "comments": "",\r
1386         "outputs": 1,\r
1387         "x": 1621.6790046691895,\r
1388         "y": 7056.904910981655,\r
1389         "z": "34265cd.7205424",\r
1390         "wires": [\r
1391             []\r
1392         ]\r
1393     },\r
1394     {\r
1395         "id": "99b22585.2f4188",\r
1396         "type": "block",\r
1397         "name": "block : atomic",\r
1398         "xml": "<block atomic=\"true\">",\r
1399         "atomic": "true",\r
1400         "outputs": 1,\r
1401         "x": 840.2622184753418,\r
1402         "y": 7079.404733657837,\r
1403         "z": "34265cd.7205424",\r
1404         "wires": [\r
1405             [\r
1406                 "432a36c8.1b8a38",\r
1407                 "70d018d1.df953"\r
1408             ]\r
1409         ]\r
1410     },\r
1411     {\r
1412         "id": "432a36c8.1b8a38",\r
1413         "type": "delete",\r
1414         "name": "delete any pre-existing records in VIPR_CONFIGURATION",\r
1415         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='DELETE from VIPR_CONFIGURATION WHERE vnf_id = $service-data.vnfs.vnf[$vnf-index].vnf-id\n     AND ecomp_service_instance_id = $service-data.service-information.service-instance-id\n     AND vm_name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vm-name[$vm-index]' >",\r
1416         "comments": "",\r
1417         "outputs": 1,\r
1418         "x": 1182.3455352783203,\r
1419         "y": 7057.238910615444,\r
1420         "z": "34265cd.7205424",\r
1421         "wires": [\r
1422             [\r
1423                 "a9e98a28.a6413"\r
1424             ]\r
1425         ]\r
1426     },\r
1427     {\r
1428         "id": "69c206e5.9c5be8",\r
1429         "type": "block",\r
1430         "name": "block : atomic",\r
1431         "xml": "<block atomic=\"true\">",\r
1432         "atomic": "true",\r
1433         "outputs": 1,\r
1434         "x": 891.2501792907715,\r
1435         "y": 4361.191208481789,\r
1436         "z": "34265cd.7205424",\r
1437         "wires": [\r
1438             [\r
1439                 "23db4204.137326",\r
1440                 "deea8b7a.34ee38"\r
1441             ]\r
1442         ]\r
1443     },\r
1444     {\r
1445         "id": "ca232fc7.373f28",\r
1446         "type": "block",\r
1447         "name": "block : atomic",\r
1448         "xml": "<block atomic=\"true\">",\r
1449         "atomic": "true",\r
1450         "outputs": 1,\r
1451         "x": 892.2500953674316,\r
1452         "y": 4427.857498705387,\r
1453         "z": "34265cd.7205424",\r
1454         "wires": [\r
1455             [\r
1456                 "c333832f.3cfc3"\r
1457             ]\r
1458         ]\r
1459     },\r
1460     {\r
1461         "id": "d0730d21.778c9",\r
1462         "type": "block",\r
1463         "name": "block : atomic",\r
1464         "xml": "<block atomic=\"true\">",\r
1465         "atomic": "true",\r
1466         "outputs": 1,\r
1467         "x": 1739.9168739318848,\r
1468         "y": 5921.858323812485,\r
1469         "z": "34265cd.7205424",\r
1470         "wires": [\r
1471             [\r
1472                 "c98dc3b.19af54",\r
1473                 "269063c8.ce5a84"\r
1474             ]\r
1475         ]\r
1476     },\r
1477     {\r
1478         "id": "e6565cbf.f37f88",\r
1479         "type": "block",\r
1480         "name": "block : atomic",\r
1481         "xml": "<block atomic=\"true\">",\r
1482         "atomic": "true",\r
1483         "outputs": 1,\r
1484         "x": 1734.9168739318848,\r
1485         "y": 5974.8581664562225,\r
1486         "z": "34265cd.7205424",\r
1487         "wires": [\r
1488             [\r
1489                 "21dc9b2.c9b4164",\r
1490                 "269063c8.ce5a84"\r
1491             ]\r
1492         ]\r
1493     },\r
1494     {\r
1495         "id": "857ef89e.1a5408",\r
1496         "type": "execute",\r
1497         "name": "execute RestApiCallNode - get preload-list",\r
1498         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value=\"`$prop.controller.url + $prop.restapi.preloadinformation + $vf-module-topology-operation-input.vf-module-request-input.vf-module-name + '/vf-module'`\" />\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-preload\" />\n\n",\r
1499         "comments": "",\r
1500         "outputs": 1,\r
1501         "x": 1100.833351135254,\r
1502         "y": 2498.691061973572,\r
1503         "z": "34265cd.7205424",\r
1504         "wires": [\r
1505             [\r
1506                 "416fdbec.15ba44",\r
1507                 "73c4e919.9f625"\r
1508             ]\r
1509         ]\r
1510     },\r
1511     {\r
1512         "id": "416fdbec.15ba44",\r
1513         "type": "failure",\r
1514         "name": "failure",\r
1515         "xml": "<outcome value='failure'>\n",\r
1516         "comments": "",\r
1517         "outputs": 1,\r
1518         "x": 1369.1665840148926,\r
1519         "y": 2457.0243921279907,\r
1520         "z": "34265cd.7205424",\r
1521         "wires": [\r
1522             [\r
1523                 "1f482e71.6f90f2"\r
1524             ]\r
1525         ]\r
1526     },\r
1527     {\r
1528         "id": "73c4e919.9f625",\r
1529         "type": "success",\r
1530         "name": "success",\r
1531         "xml": "<outcome value='success'>\n",\r
1532         "comments": "",\r
1533         "outputs": 1,\r
1534         "x": 1367.4999389648438,\r
1535         "y": 2532.024540901184,\r
1536         "z": "34265cd.7205424",\r
1537         "wires": [\r
1538             [\r
1539                 "2b585b07.776fbc"\r
1540             ]\r
1541         ]\r
1542     },\r
1543     {\r
1544         "id": "1f482e71.6f90f2",\r
1545         "type": "block",\r
1546         "name": "block",\r
1547         "xml": "<block>\n",\r
1548         "atomic": "false",\r
1549         "comments": "",\r
1550         "outputs": 1,\r
1551         "x": 1525.833339691162,\r
1552         "y": 2455.3578300476074,\r
1553         "z": "34265cd.7205424",\r
1554         "wires": [\r
1555             [\r
1556                 "875e55f0.b2f8e8"\r
1557             ]\r
1558         ]\r
1559     },\r
1560     {\r
1561         "id": "2b585b07.776fbc",\r
1562         "type": "block",\r
1563         "name": "block",\r
1564         "xml": "<block>\n",\r
1565         "atomic": "false",\r
1566         "comments": "",\r
1567         "outputs": 1,\r
1568         "x": 1522.4999465942383,\r
1569         "y": 2532.0243825912476,\r
1570         "z": "34265cd.7205424",\r
1571         "wires": [\r
1572             [\r
1573                 "8bed185c.8ac5d"\r
1574             ]\r
1575         ]\r
1576     },\r
1577     {\r
1578         "id": "875e55f0.b2f8e8",\r
1579         "type": "switchNode",\r
1580         "name": "switch mdsal-preload.response-code",\r
1581         "xml": "<switch test='`$mdsal-preload.response-code`'>\n",\r
1582         "comments": "",\r
1583         "outputs": 1,\r
1584         "x": 1754.1666412353516,\r
1585         "y": 2455.357871055603,\r
1586         "z": "34265cd.7205424",\r
1587         "wires": [\r
1588             [\r
1589                 "d327b2a2.0c837",\r
1590                 "fd8f2e7a.c3fae"\r
1591             ]\r
1592         ]\r
1593     },\r
1594     {\r
1595         "id": "d327b2a2.0c837",\r
1596         "type": "outcome",\r
1597         "name": "404 (not found)",\r
1598         "xml": "<outcome value='404'>\n",\r
1599         "comments": "",\r
1600         "outputs": 1,\r
1601         "x": 2037.0833435058594,\r
1602         "y": 2409.940915107727,\r
1603         "z": "34265cd.7205424",\r
1604         "wires": [\r
1605             [\r
1606                 "35aa0744.80b5c8"\r
1607             ]\r
1608         ]\r
1609     },\r
1610     {\r
1611         "id": "35aa0744.80b5c8",\r
1612         "type": "call",\r
1613         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign-no-preload",\r
1614         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-no-preload' mode='sync' >\n",\r
1615         "comments": "",\r
1616         "outputs": 1,\r
1617         "x": 2439.99991607666,\r
1618         "y": 2323.274383544922,\r
1619         "z": "34265cd.7205424",\r
1620         "wires": [\r
1621             [\r
1622                 "123078c4.5f42b7"\r
1623             ]\r
1624         ]\r
1625     },\r
1626     {\r
1627         "id": "123078c4.5f42b7",\r
1628         "type": "failure",\r
1629         "name": "failure",\r
1630         "xml": "<outcome value='failure'>\n",\r
1631         "comments": "",\r
1632         "outputs": 1,\r
1633         "x": 2828.7498779296875,\r
1634         "y": 2324.1082620620728,\r
1635         "z": "34265cd.7205424",\r
1636         "wires": [\r
1637             [\r
1638                 "b201b2ed.f32f68"\r
1639             ]\r
1640         ]\r
1641     },\r
1642     {\r
1643         "id": "fd8f2e7a.c3fae",\r
1644         "type": "other",\r
1645         "name": "other",\r
1646         "xml": "<outcome value='Other'>\n",\r
1647         "comments": "",\r
1648         "outputs": 1,\r
1649         "x": 2003.3333053588867,\r
1650         "y": 2474.107699394226,\r
1651         "z": "34265cd.7205424",\r
1652         "wires": [\r
1653             [\r
1654                 "886e3c52.8c2238"\r
1655             ]\r
1656         ]\r
1657     },\r
1658     {\r
1659         "id": "8bed185c.8ac5d",\r
1660         "type": "call",\r
1661         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign-preload",\r
1662         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign-preload' mode='sync' >\n",\r
1663         "comments": "",\r
1664         "outputs": 1,\r
1665         "x": 1885.833236694336,\r
1666         "y": 2533.6911306381226,\r
1667         "z": "34265cd.7205424",\r
1668         "wires": [\r
1669             [\r
1670                 "470a9210.0d2c7c"\r
1671             ]\r
1672         ]\r
1673     },\r
1674     {\r
1675         "id": "470a9210.0d2c7c",\r
1676         "type": "failure",\r
1677         "name": "failure",\r
1678         "xml": "<outcome value='failure'>\n",\r
1679         "comments": "",\r
1680         "outputs": 1,\r
1681         "x": 2241.500099182129,\r
1682         "y": 2532.024748802185,\r
1683         "z": "34265cd.7205424",\r
1684         "wires": [\r
1685             [\r
1686                 "9af3e55f.6087e"\r
1687             ]\r
1688         ]\r
1689     },\r
1690     {\r
1691         "id": "900abd87.03036",\r
1692         "type": "block",\r
1693         "name": "block : atomic",\r
1694         "xml": "<block atomic=\"true\">",\r
1695         "atomic": "true",\r
1696         "outputs": 1,\r
1697         "x": 721.7503204345703,\r
1698         "y": 5717.3590977191925,\r
1699         "z": "34265cd.7205424",\r
1700         "wires": [\r
1701             [\r
1702                 "71e9d608.74954",\r
1703                 "61dc9df3.118e34"\r
1704             ]\r
1705         ]\r
1706     },\r
1707     {\r
1708         "id": "61dc9df3.118e34",\r
1709         "type": "for",\r
1710         "name": "for each vnfc",\r
1711         "xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",\r
1712         "comments": "",\r
1713         "outputs": 1,\r
1714         "x": 972.7503700256348,\r
1715         "y": 4922.025188922882,\r
1716         "z": "34265cd.7205424",\r
1717         "wires": [\r
1718             [\r
1719                 "933d597e.bd69e8"\r
1720             ]\r
1721         ]\r
1722     },\r
1723     {\r
1724         "id": "c87af5c.2b49f88",\r
1725         "type": "save",\r
1726         "name": "save vnfc to A&AI",\r
1727         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vnfc\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\" >\n<parameter name=\"vnfc-name\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n<parameter name=\"nfc-naming-code\" value=\"`$tmp.nfc-naming-code`\" />\n<parameter name=\"nfc-function\" value=\"`$tmp.nfc-function`\" />\n<parameter name=\"model-invariant-id\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].invariant-uuid`\" />\n<parameter name=\"model-version-id\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].uuid`\" />\n<parameter name=\"model-customization-id\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].model-customization-uuid`\" />\n<parameter name=\"orchestration-status\" value=\"`PendingCreate`\" />\n<parameter name=\"in-maint\" value=\"true\" />\n<parameter name=\"prov-status\" value=\"`PREPROV`\" />\n",\r
1728         "comments": "",\r
1729         "outputs": 1,\r
1730         "x": 1698.7504386901855,\r
1731         "y": 4730.359119415283,\r
1732         "z": "34265cd.7205424",\r
1733         "wires": [\r
1734             [\r
1735                 "d4c69512.b7a85",\r
1736                 "cb5ae333.4bb6c"\r
1737             ]\r
1738         ]\r
1739     },\r
1740     {\r
1741         "id": "933d597e.bd69e8",\r
1742         "type": "block",\r
1743         "name": "block : atomic",\r
1744         "xml": "<block atomic=\"true\">",\r
1745         "atomic": "true",\r
1746         "outputs": 1,\r
1747         "x": 1141.0836715698242,\r
1748         "y": 4922.692016124725,\r
1749         "z": "34265cd.7205424",\r
1750         "wires": [\r
1751             [\r
1752                 "90bbdc02.a17328",\r
1753                 "4f542d3d.52a65c",\r
1754                 "9ee6416c.5e5dc8",\r
1755                 "67190c0.7b4b2f4",\r
1756                 "2591369f.6e45f2",\r
1757                 "f5615f88.05ae28"\r
1758             ]\r
1759         ]\r
1760     },\r
1761     {\r
1762         "id": "d4c69512.b7a85",\r
1763         "type": "failure",\r
1764         "name": "failure",\r
1765         "xml": "<outcome value='failure'>\n",\r
1766         "comments": "",\r
1767         "outputs": 1,\r
1768         "x": 1889.7504768371582,\r
1769         "y": 4682.692453384399,\r
1770         "z": "34265cd.7205424",\r
1771         "wires": [\r
1772             [\r
1773                 "fcab33e3.661e5"\r
1774             ]\r
1775         ]\r
1776     },\r
1777     {\r
1778         "id": "fcab33e3.661e5",\r
1779         "type": "block",\r
1780         "name": "block : atomic",\r
1781         "xml": "<block atomic=\"true\">",\r
1782         "atomic": "true",\r
1783         "outputs": 1,\r
1784         "x": 2054.917163848877,\r
1785         "y": 4696.820286691189,\r
1786         "z": "34265cd.7205424",\r
1787         "wires": [\r
1788             [\r
1789                 "64b6a50b.0e40cc",\r
1790                 "deea8b7a.34ee38"\r
1791             ]\r
1792         ]\r
1793     },\r
1794     {\r
1795         "id": "9ee6416c.5e5dc8",\r
1796         "type": "save",\r
1797         "name": "save vnfc relationships",\r
1798         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vnfc:relationship-list\"\n   key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/generic-vnfs/generic-vnf/' +\n        $vf-module-topology-operation-input.vnf-information.vnf-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vf-module\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/generic-vnfs/generic-vnf/' +\n        $vf-module-topology-operation-input.vnf-information.vnf-id +\n        '/vf-modules/vf-module/' +\n        $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\" />\n",\r
1799         "comments": "",\r
1800         "outputs": 1,\r
1801         "x": 1365.654956817627,\r
1802         "y": 4830.97835111618,\r
1803         "z": "34265cd.7205424",\r
1804         "wires": [\r
1805             [\r
1806                 "4aa5e996.c15df8",\r
1807                 "627ad9e4.060cf"\r
1808             ]\r
1809         ]\r
1810     },\r
1811     {\r
1812         "id": "b05f84b7.ac3f68",\r
1813         "type": "block",\r
1814         "name": "block : atomic",\r
1815         "xml": "<block atomic=\"true\">",\r
1816         "atomic": "true",\r
1817         "outputs": 1,\r
1818         "x": 1697.4881477355957,\r
1819         "y": 4804.2959752082825,\r
1820         "z": "34265cd.7205424",\r
1821         "wires": [\r
1822             [\r
1823                 "ecec95d0.f03d18",\r
1824                 "deea8b7a.34ee38"\r
1825             ]\r
1826         ]\r
1827     },\r
1828     {\r
1829         "id": "d68d461e.5265a",\r
1830         "type": "block",\r
1831         "name": "block : atomic",\r
1832         "xml": "<block atomic=\"true\">",\r
1833         "atomic": "true",\r
1834         "outputs": 1,\r
1835         "x": 1697.488224029541,\r
1836         "y": 4857.29573392868,\r
1837         "z": "34265cd.7205424",\r
1838         "wires": [\r
1839             [\r
1840                 "4b5a4f9a.72aaf8",\r
1841                 "deea8b7a.34ee38"\r
1842             ]\r
1843         ]\r
1844     },\r
1845     {\r
1846         "id": "4aa5e996.c15df8",\r
1847         "type": "failure",\r
1848         "name": "failure",\r
1849         "xml": "<outcome value='failure'>\n",\r
1850         "comments": "",\r
1851         "outputs": 1,\r
1852         "x": 1540.6550331115723,\r
1853         "y": 4804.311645030975,\r
1854         "z": "34265cd.7205424",\r
1855         "wires": [\r
1856             [\r
1857                 "b05f84b7.ac3f68"\r
1858             ]\r
1859         ]\r
1860     },\r
1861     {\r
1862         "id": "627ad9e4.060cf",\r
1863         "type": "not-found",\r
1864         "name": "not-found",\r
1865         "xml": "<outcome value='not-found'>\n",\r
1866         "comments": "",\r
1867         "outputs": 1,\r
1868         "x": 1549.2265663146973,\r
1869         "y": 4856.930789470673,\r
1870         "z": "34265cd.7205424",\r
1871         "wires": [\r
1872             [\r
1873                 "d68d461e.5265a"\r
1874             ]\r
1875         ]\r
1876     },\r
1877     {\r
1878         "id": "90bbdc02.a17328",\r
1879         "type": "for",\r
1880         "name": "for each vnfc-network-role",\r
1881         "xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",\r
1882         "comments": "",\r
1883         "outputs": 1,\r
1884         "x": 1363.1310768127441,\r
1885         "y": 5247.834759235382,\r
1886         "z": "34265cd.7205424",\r
1887         "wires": [\r
1888             [\r
1889                 "58cb90bc.4bbef8"\r
1890             ]\r
1891         ]\r
1892     },\r
1893     {\r
1894         "id": "205882d9.0b5ba6",\r
1895         "type": "execute",\r
1896         "name": "printContext",\r
1897         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmoduleb.log' />\n",\r
1898         "comments": "",\r
1899         "outputs": 1,\r
1900         "x": 583.7499809265137,\r
1901         "y": 2555.7385811805725,\r
1902         "z": "34265cd.7205424",\r
1903         "wires": [\r
1904             []\r
1905         ]\r
1906     },\r
1907     {\r
1908         "id": "8cfa77fd.d126b8",\r
1909         "type": "for",\r
1910         "name": "for each vnfc-subnetwork-role",\r
1911         "xml": "<for silentFailure='true' index='subnet-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet_length`' >\n",\r
1912         "comments": "",\r
1913         "outputs": 1,\r
1914         "x": 1819.0836143493652,\r
1915         "y": 5211.025192737579,\r
1916         "z": "34265cd.7205424",\r
1917         "wires": [\r
1918             [\r
1919                 "6762299c.778d8"\r
1920             ]\r
1921         ]\r
1922     },\r
1923     {\r
1924         "id": "6762299c.778d8",\r
1925         "type": "for",\r
1926         "name": "for each vnfc-address-family",\r
1927         "xml": "<for silentFailure='true' index='address-family-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments_length`' >\n",\r
1928         "comments": "",\r
1929         "outputs": 1,\r
1930         "x": 2086.4169578552246,\r
1931         "y": 5210.025681018829,\r
1932         "z": "34265cd.7205424",\r
1933         "wires": [\r
1934             [\r
1935                 "7d53a97d.be26"\r
1936             ]\r
1937         ]\r
1938     },\r
1939     {\r
1940         "id": "d1f18ef1.182398",\r
1941         "type": "for",\r
1942         "name": "for each vnfc-ip-address",\r
1943         "xml": "<for silentFailure='true' index='address-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip_length`' >\n",\r
1944         "comments": "",\r
1945         "outputs": 1,\r
1946         "x": 2518.4165687561035,\r
1947         "y": 5276.6913805007935,\r
1948         "z": "34265cd.7205424",\r
1949         "wires": [\r
1950             [\r
1951                 "77214afc.517d0c"\r
1952             ]\r
1953         ]\r
1954     },\r
1955     {\r
1956         "id": "7d53a97d.be26",\r
1957         "type": "block",\r
1958         "name": "block : atomic",\r
1959         "xml": "<block atomic=\"true\">",\r
1960         "atomic": "true",\r
1961         "outputs": 1,\r
1962         "x": 2297.4167289733887,\r
1963         "y": 5210.025137424469,\r
1964         "z": "34265cd.7205424",\r
1965         "wires": [\r
1966             [\r
1967                 "34424215.2a711e",\r
1968                 "d1f18ef1.182398"\r
1969             ]\r
1970         ]\r
1971     },\r
1972     {\r
1973         "id": "34424215.2a711e",\r
1974         "type": "set",\r
1975         "name": "set tmp.address-family",\r
1976         "xml": "<set>\n<parameter name='tmp.address-family'\n  value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-address-family`' />\n",\r
1977         "comments": "",\r
1978         "x": 2517.4170570373535,\r
1979         "y": 5130.02503490448,\r
1980         "z": "34265cd.7205424",\r
1981         "wires": []\r
1982     },\r
1983     {\r
1984         "id": "77214afc.517d0c",\r
1985         "type": "switchNode",\r
1986         "name": "switch address family",\r
1987         "xml": "<switch test='`$tmp.address-family`'>\n",\r
1988         "comments": "",\r
1989         "outputs": 1,\r
1990         "x": 2757.416660308838,\r
1991         "y": 5275.02520275116,\r
1992         "z": "34265cd.7205424",\r
1993         "wires": [\r
1994             [\r
1995                 "466ce5a0.fa2a7c",\r
1996                 "e5989ca0.8172d"\r
1997             ]\r
1998         ]\r
1999     },\r
2000     {\r
2001         "id": "466ce5a0.fa2a7c",\r
2002         "type": "outcome",\r
2003         "name": "ipv4",\r
2004         "xml": "<outcome value='ipv4'>\n",\r
2005         "comments": "",\r
2006         "outputs": 1,\r
2007         "x": 2954.5596656799316,\r
2008         "y": 5178.59646320343,\r
2009         "z": "34265cd.7205424",\r
2010         "wires": [\r
2011             [\r
2012                 "16109ed1.313bd1"\r
2013             ]\r
2014         ]\r
2015     },\r
2016     {\r
2017         "id": "e5989ca0.8172d",\r
2018         "type": "outcome",\r
2019         "name": "ipv6",\r
2020         "xml": "<outcome value='ipv6'>\n",\r
2021         "comments": "",\r
2022         "outputs": 1,\r
2023         "x": 2952.178737640381,\r
2024         "y": 5358.358494758606,\r
2025         "z": "34265cd.7205424",\r
2026         "wires": [\r
2027             [\r
2028                 "9a0c5b84.5a57f"\r
2029             ]\r
2030         ]\r
2031     },\r
2032     {\r
2033         "id": "cf096cd1.ca06e8",\r
2034         "type": "comment",\r
2035         "name": "Fixed IPs",\r
2036         "info": "",\r
2037         "comments": "",\r
2038         "x": 1836.0836296081543,\r
2039         "y": 5172.692569732666,\r
2040         "z": "34265cd.7205424",\r
2041         "wires": []\r
2042     },\r
2043     {\r
2044         "id": "ba22ae12.2926b",\r
2045         "type": "save",\r
2046         "name": "save l3-interface-ipv4-address-list object to A&AI",\r
2047         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"l3-interface-ipv4-address-list\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t  AND cp.cp-instance-id = $cp-instance-id\n\t  AND l3-interface-ipv4-address-list.l3-interface-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\" >\n<parameter name=\"l3-interface-ipv4-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address`\" />\n<parameter name=\"l3-interface-ipv4-prefix-length\" value=\"32\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",\r
2048         "comments": "",\r
2049         "outputs": 1,\r
2050         "x": 3397.892795562744,\r
2051         "y": 5126.929543177288,\r
2052         "z": "34265cd.7205424",\r
2053         "wires": [\r
2054             [\r
2055                 "a96cb36a.8783d8"\r
2056             ]\r
2057         ]\r
2058     },\r
2059     {\r
2060         "id": "16109ed1.313bd1",\r
2061         "type": "block",\r
2062         "name": "block : atomic",\r
2063         "xml": "<block atomic=\"true\">",\r
2064         "atomic": "true",\r
2065         "outputs": 1,\r
2066         "x": 3104.5596656799316,\r
2067         "y": 5178.596381823223,\r
2068         "z": "34265cd.7205424",\r
2069         "wires": [\r
2070             [\r
2071                 "ba22ae12.2926b",\r
2072                 "c1872588.7583"\r
2073             ]\r
2074         ]\r
2075     },\r
2076     {\r
2077         "id": "2901367b.3a7652",\r
2078         "type": "block",\r
2079         "name": "block : atomic",\r
2080         "xml": "<block atomic=\"true\">",\r
2081         "atomic": "true",\r
2082         "outputs": 1,\r
2083         "x": 3811.3926696777344,\r
2084         "y": 5126.914035479229,\r
2085         "z": "34265cd.7205424",\r
2086         "wires": [\r
2087             [\r
2088                 "a7be1c39.6ee63",\r
2089                 "b8d50b6.e90cc78"\r
2090             ]\r
2091         ]\r
2092     },\r
2093     {\r
2094         "id": "a96cb36a.8783d8",\r
2095         "type": "failure",\r
2096         "name": "failure",\r
2097         "xml": "<outcome value='failure'>\n",\r
2098         "comments": "",\r
2099         "outputs": 1,\r
2100         "x": 3654.559555053711,\r
2101         "y": 5126.929705301922,\r
2102         "z": "34265cd.7205424",\r
2103         "wires": [\r
2104             [\r
2105                 "2901367b.3a7652"\r
2106             ]\r
2107         ]\r
2108     },\r
2109     {\r
2110         "id": "c1872588.7583",\r
2111         "type": "save",\r
2112         "name": "save l3-interface-ipv4-address-list relationships",\r
2113         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"l3-interface-ipv4-address-list:relationship-list\"\n   key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t  AND cp.cp-instance-id = $cp-instance-id\n\t  AND l3-interface-ipv4-address-list.l3-interface-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\"\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].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"subnet\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id +\n        '/subnets/subnet/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id`\" />\n",\r
2114         "comments": "",\r
2115         "outputs": 1,\r
2116         "x": 3392.893039703369,\r
2117         "y": 5225.262962023418,\r
2118         "z": "34265cd.7205424",\r
2119         "wires": [\r
2120             [\r
2121                 "c76a4fda.833a4",\r
2122                 "53b8f95f.e81ec"\r
2123             ]\r
2124         ]\r
2125     },\r
2126     {\r
2127         "id": "64905913.ec2ab",\r
2128         "type": "block",\r
2129         "name": "block : atomic",\r
2130         "xml": "<block atomic=\"true\">",\r
2131         "atomic": "true",\r
2132         "outputs": 1,\r
2133         "x": 3813.0592918395996,\r
2134         "y": 5196.914006868999,\r
2135         "z": "34265cd.7205424",\r
2136         "wires": [\r
2137             [\r
2138                 "a4494b11.30c988",\r
2139                 "b8d50b6.e90cc78"\r
2140             ]\r
2141         ]\r
2142     },\r
2143     {\r
2144         "id": "ea0b0cf4.b0b87",\r
2145         "type": "block",\r
2146         "name": "block : atomic",\r
2147         "xml": "<block atomic=\"true\">",\r
2148         "atomic": "true",\r
2149         "outputs": 1,\r
2150         "x": 3813.059368133545,\r
2151         "y": 5249.913765589397,\r
2152         "z": "34265cd.7205424",\r
2153         "wires": [\r
2154             [\r
2155                 "3b6a1bff.11e25c",\r
2156                 "b8d50b6.e90cc78"\r
2157             ]\r
2158         ]\r
2159     },\r
2160     {\r
2161         "id": "c76a4fda.833a4",\r
2162         "type": "failure",\r
2163         "name": "failure",\r
2164         "xml": "<outcome value='failure'>\n",\r
2165         "comments": "",\r
2166         "outputs": 1,\r
2167         "x": 3656.226177215576,\r
2168         "y": 5196.929676691692,\r
2169         "z": "34265cd.7205424",\r
2170         "wires": [\r
2171             [\r
2172                 "64905913.ec2ab"\r
2173             ]\r
2174         ]\r
2175     },\r
2176     {\r
2177         "id": "53b8f95f.e81ec",\r
2178         "type": "not-found",\r
2179         "name": "not-found",\r
2180         "xml": "<outcome value='not-found'>\n",\r
2181         "comments": "",\r
2182         "outputs": 1,\r
2183         "x": 3664.797710418701,\r
2184         "y": 5249.54882113139,\r
2185         "z": "34265cd.7205424",\r
2186         "wires": [\r
2187             [\r
2188                 "ea0b0cf4.b0b87"\r
2189             ]\r
2190         ]\r
2191     },\r
2192     {\r
2193         "id": "5f65e4dc.17ee84",\r
2194         "type": "save",\r
2195         "name": "save l3-interface-ipv6-address-list object to A&AI",\r
2196         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"l3-interface-ipv6-address-list\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t  AND cp.cp-instance-id = $cp-instance-id\n\t  AND l3-interface-ipv6-address-list.l3-interface-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\" >\n<parameter name=\"l3-interface-ipv6-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address`\" />\n<parameter name=\"l3-interface-ipv6-prefix-length\" value=\"128\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",\r
2197         "comments": "",\r
2198         "outputs": 1,\r
2199         "x": 3396.702533721924,\r
2200         "y": 5305.977599143982,\r
2201         "z": "34265cd.7205424",\r
2202         "wires": [\r
2203             [\r
2204                 "c7c91c2b.8530c8"\r
2205             ]\r
2206         ]\r
2207     },\r
2208     {\r
2209         "id": "9a0c5b84.5a57f",\r
2210         "type": "block",\r
2211         "name": "block : atomic",\r
2212         "xml": "<block atomic=\"true\">",\r
2213         "atomic": "true",\r
2214         "outputs": 1,\r
2215         "x": 3103.3694038391113,\r
2216         "y": 5357.644437789917,\r
2217         "z": "34265cd.7205424",\r
2218         "wires": [\r
2219             [\r
2220                 "5f65e4dc.17ee84",\r
2221                 "6821e286.f06a64"\r
2222             ]\r
2223         ]\r
2224     },\r
2225     {\r
2226         "id": "20bc2782.743bc",\r
2227         "type": "block",\r
2228         "name": "block : atomic",\r
2229         "xml": "<block atomic=\"true\">",\r
2230         "atomic": "true",\r
2231         "outputs": 1,\r
2232         "x": 3810.202407836914,\r
2233         "y": 5305.962091445923,\r
2234         "z": "34265cd.7205424",\r
2235         "wires": [\r
2236             [\r
2237                 "1d21480c.1addf8",\r
2238                 "b8d50b6.e90cc78"\r
2239             ]\r
2240         ]\r
2241     },\r
2242     {\r
2243         "id": "c7c91c2b.8530c8",\r
2244         "type": "failure",\r
2245         "name": "failure",\r
2246         "xml": "<outcome value='failure'>\n",\r
2247         "comments": "",\r
2248         "outputs": 1,\r
2249         "x": 3653.3692932128906,\r
2250         "y": 5305.977761268616,\r
2251         "z": "34265cd.7205424",\r
2252         "wires": [\r
2253             [\r
2254                 "20bc2782.743bc"\r
2255             ]\r
2256         ]\r
2257     },\r
2258     {\r
2259         "id": "6821e286.f06a64",\r
2260         "type": "save",\r
2261         "name": "save l3-interface-ipv6-address-list relationships",\r
2262         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"l3-interface-ipv6-address-list:relationship-list\"\n   key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t  AND cp.cp-instance-id = $cp-instance-id\n\t  AND l3-interface-ipv6-address-list.l3-interface-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[$address-index].vnfc-ip-address\"\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].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"subnet\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].network-id +\n        '/subnets/subnet/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id`\" />\n",\r
2263         "comments": "",\r
2264         "outputs": 1,\r
2265         "x": 3391.702777862549,\r
2266         "y": 5404.311017990112,\r
2267         "z": "34265cd.7205424",\r
2268         "wires": [\r
2269             [\r
2270                 "8cd900c5.0fd1d",\r
2271                 "7505a4c8.0ea53c"\r
2272             ]\r
2273         ]\r
2274     },\r
2275     {\r
2276         "id": "b7b6484f.d8c77",\r
2277         "type": "block",\r
2278         "name": "block : atomic",\r
2279         "xml": "<block atomic=\"true\">",\r
2280         "atomic": "true",\r
2281         "outputs": 1,\r
2282         "x": 3811.8690299987793,\r
2283         "y": 5375.962062835693,\r
2284         "z": "34265cd.7205424",\r
2285         "wires": [\r
2286             [\r
2287                 "e3d10ed9.82b7b8",\r
2288                 "b8d50b6.e90cc78"\r
2289             ]\r
2290         ]\r
2291     },\r
2292     {\r
2293         "id": "79bf1748.e06bb8",\r
2294         "type": "block",\r
2295         "name": "block : atomic",\r
2296         "xml": "<block atomic=\"true\">",\r
2297         "atomic": "true",\r
2298         "outputs": 1,\r
2299         "x": 3811.8691062927246,\r
2300         "y": 5428.961821556091,\r
2301         "z": "34265cd.7205424",\r
2302         "wires": [\r
2303             [\r
2304                 "fedf80c9.88e5f",\r
2305                 "b8d50b6.e90cc78"\r
2306             ]\r
2307         ]\r
2308     },\r
2309     {\r
2310         "id": "8cd900c5.0fd1d",\r
2311         "type": "failure",\r
2312         "name": "failure",\r
2313         "xml": "<outcome value='failure'>\n",\r
2314         "comments": "",\r
2315         "outputs": 1,\r
2316         "x": 3655.035915374756,\r
2317         "y": 5375.977732658386,\r
2318         "z": "34265cd.7205424",\r
2319         "wires": [\r
2320             [\r
2321                 "b7b6484f.d8c77"\r
2322             ]\r
2323         ]\r
2324     },\r
2325     {\r
2326         "id": "7505a4c8.0ea53c",\r
2327         "type": "not-found",\r
2328         "name": "not-found",\r
2329         "xml": "<outcome value='not-found'>\n",\r
2330         "comments": "",\r
2331         "outputs": 1,\r
2332         "x": 3663.607448577881,\r
2333         "y": 5428.5968770980835,\r
2334         "z": "34265cd.7205424",\r
2335         "wires": [\r
2336             [\r
2337                 "79bf1748.e06bb8"\r
2338             ]\r
2339         ]\r
2340     },\r
2341     {\r
2342         "id": "474d2262.a76184",\r
2343         "type": "block",\r
2344         "name": "block : atomic",\r
2345         "xml": "<block atomic=\"true\">",\r
2346         "atomic": "true",\r
2347         "outputs": 1,\r
2348         "x": 1118.083583831787,\r
2349         "y": 6134.692134380341,\r
2350         "z": "34265cd.7205424",\r
2351         "wires": [\r
2352             [\r
2353                 "b6a8d268.c987",\r
2354                 "8b5e2bc.0d8cdd8",\r
2355                 "81d51660.a0c9e8",\r
2356                 "a9042f25.4b114"\r
2357             ]\r
2358         ]\r
2359     },\r
2360     {\r
2361         "id": "5ff1efff.4270b8",\r
2362         "type": "for",\r
2363         "name": "for each vnfc",\r
2364         "xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",\r
2365         "comments": "",\r
2366         "outputs": 1,\r
2367         "x": 1766.0837593078613,\r
2368         "y": 6257.02588224411,\r
2369         "z": "34265cd.7205424",\r
2370         "wires": [\r
2371             [\r
2372                 "f2b022e3.1f756"\r
2373             ]\r
2374         ]\r
2375     },\r
2376     {\r
2377         "id": "e3153e0c.d09088",\r
2378         "type": "save",\r
2379         "name": "save vip-ipv4-address-list object to A&AI",\r
2380         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vip-ipv4-address-list\" \n\tkey=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv4-address-list.vip-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]\" >\n<parameter name=\"vip-ipv4-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]`\" />\n<parameter name=\"vip-ipv4-prefix-length\" value=\"32\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",\r
2381         "comments": "",\r
2382         "outputs": 1,\r
2383         "x": 1849.0836143493652,\r
2384         "y": 6088.358893871307,\r
2385         "z": "34265cd.7205424",\r
2386         "wires": [\r
2387             [\r
2388                 "6c580401.058424",\r
2389                 "381a766c.6ae85a"\r
2390             ]\r
2391         ]\r
2392     },\r
2393     {\r
2394         "id": "81d51660.a0c9e8",\r
2395         "type": "for",\r
2396         "name": "for each floating ipv4 address",\r
2397         "xml": "<for silentFailure='true' index='ipv4-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4_length`' >\n",\r
2398         "comments": "",\r
2399         "outputs": 1,\r
2400         "x": 1357.0836067199707,\r
2401         "y": 6146.358966350555,\r
2402         "z": "34265cd.7205424",\r
2403         "wires": [\r
2404             [\r
2405                 "a116ff51.f71318"\r
2406             ]\r
2407         ]\r
2408     },\r
2409     {\r
2410         "id": "a116ff51.f71318",\r
2411         "type": "block",\r
2412         "name": "block : atomic",\r
2413         "xml": "<block atomic=\"true\">",\r
2414         "atomic": "true",\r
2415         "outputs": 1,\r
2416         "x": 1583.0836067199707,\r
2417         "y": 6144.358966350555,\r
2418         "z": "34265cd.7205424",\r
2419         "wires": [\r
2420             [\r
2421                 "e3153e0c.d09088",\r
2422                 "caa9e69f.d253a",\r
2423                 "5ff1efff.4270b8"\r
2424             ]\r
2425         ]\r
2426     },\r
2427     {\r
2428         "id": "af60e3c3.bb56a",\r
2429         "type": "block",\r
2430         "name": "block : atomic",\r
2431         "xml": "<block atomic=\"true\">",\r
2432         "atomic": "true",\r
2433         "outputs": 1,\r
2434         "x": 2244.583484649658,\r
2435         "y": 6058.343266963959,\r
2436         "z": "34265cd.7205424",\r
2437         "wires": [\r
2438             [\r
2439                 "f4049c01.0aeaf",\r
2440                 "269063c8.ce5a84"\r
2441             ]\r
2442         ]\r
2443     },\r
2444     {\r
2445         "id": "26f5dd9.f21b7a2",\r
2446         "type": "block",\r
2447         "name": "block : atomic",\r
2448         "xml": "<block atomic=\"true\">",\r
2449         "atomic": "true",\r
2450         "outputs": 1,\r
2451         "x": 2244.5835609436035,\r
2452         "y": 6111.343025684357,\r
2453         "z": "34265cd.7205424",\r
2454         "wires": [\r
2455             [\r
2456                 "5573d94b.dc5",\r
2457                 "269063c8.ce5a84"\r
2458             ]\r
2459         ]\r
2460     },\r
2461     {\r
2462         "id": "6c580401.058424",\r
2463         "type": "failure",\r
2464         "name": "failure",\r
2465         "xml": "<outcome value='failure'>\n",\r
2466         "comments": "",\r
2467         "outputs": 1,\r
2468         "x": 2087.7503700256348,\r
2469         "y": 6058.358936786652,\r
2470         "z": "34265cd.7205424",\r
2471         "wires": [\r
2472             [\r
2473                 "af60e3c3.bb56a"\r
2474             ]\r
2475         ]\r
2476     },\r
2477     {\r
2478         "id": "381a766c.6ae85a",\r
2479         "type": "not-found",\r
2480         "name": "not-found",\r
2481         "xml": "<outcome value='not-found'>\n",\r
2482         "comments": "",\r
2483         "outputs": 1,\r
2484         "x": 2096.3219032287598,\r
2485         "y": 6110.978081226349,\r
2486         "z": "34265cd.7205424",\r
2487         "wires": [\r
2488             [\r
2489                 "26f5dd9.f21b7a2"\r
2490             ]\r
2491         ]\r
2492     },\r
2493     {\r
2494         "id": "cd3cd499.458be8",\r
2495         "type": "save",\r
2496         "name": "save vip-ipv4-address-list relationships",\r
2497         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vip-ipv4-address-list:relationship-list\"\n   key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv4-address-list.vip-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"subnet\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].network-id\n        + '/subnets/subnet/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.ipv4-subnet-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vnfc\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/vnfcs/vnfc/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n",\r
2498         "comments": "",\r
2499         "outputs": 1,\r
2500         "x": 2184.7502098083496,\r
2501         "y": 6201.025557041168,\r
2502         "z": "34265cd.7205424",\r
2503         "wires": [\r
2504             [\r
2505                 "a45ccf9a.b8373",\r
2506                 "85e3b005.bd6568"\r
2507             ]\r
2508         ]\r
2509     },\r
2510     {\r
2511         "id": "5c68b77d.81077",\r
2512         "type": "block",\r
2513         "name": "block : atomic",\r
2514         "xml": "<block atomic=\"true\">",\r
2515         "atomic": "true",\r
2516         "outputs": 1,\r
2517         "x": 2587.916488647461,\r
2518         "y": 6173.009899675846,\r
2519         "z": "34265cd.7205424",\r
2520         "wires": [\r
2521             [\r
2522                 "c60c031b.634f38",\r
2523                 "269063c8.ce5a84"\r
2524             ]\r
2525         ]\r
2526     },\r
2527     {\r
2528         "id": "40a56b3d.e7bfb4",\r
2529         "type": "block",\r
2530         "name": "block : atomic",\r
2531         "xml": "<block atomic=\"true\">",\r
2532         "atomic": "true",\r
2533         "outputs": 1,\r
2534         "x": 2587.9165649414062,\r
2535         "y": 6226.009658396244,\r
2536         "z": "34265cd.7205424",\r
2537         "wires": [\r
2538             [\r
2539                 "bdc62da9.93398",\r
2540                 "269063c8.ce5a84"\r
2541             ]\r
2542         ]\r
2543     },\r
2544     {\r
2545         "id": "a45ccf9a.b8373",\r
2546         "type": "failure",\r
2547         "name": "failure",\r
2548         "xml": "<outcome value='failure'>\n",\r
2549         "comments": "",\r
2550         "outputs": 1,\r
2551         "x": 2431.0833740234375,\r
2552         "y": 6173.025569498539,\r
2553         "z": "34265cd.7205424",\r
2554         "wires": [\r
2555             [\r
2556                 "5c68b77d.81077"\r
2557             ]\r
2558         ]\r
2559     },\r
2560     {\r
2561         "id": "85e3b005.bd6568",\r
2562         "type": "not-found",\r
2563         "name": "not-found",\r
2564         "xml": "<outcome value='not-found'>\n",\r
2565         "comments": "",\r
2566         "outputs": 1,\r
2567         "x": 2439.6549072265625,\r
2568         "y": 6225.644713938236,\r
2569         "z": "34265cd.7205424",\r
2570         "wires": [\r
2571             [\r
2572                 "40a56b3d.e7bfb4"\r
2573             ]\r
2574         ]\r
2575     },\r
2576     {\r
2577         "id": "12a683dc.f7d1cc",\r
2578         "type": "save",\r
2579         "name": "save vip-ipv6-address-list object to A&AI",\r
2580         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vip-ipv6-address-list\" \n\tkey=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv6-address-list.vip-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]\" >\n<parameter name=\"vip-ipv6-address\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]`\" />\n<parameter name=\"vip-ipv6-prefix-length\" value=\"128\" />\n<parameter name=\"is-floating\" value=\"false\" />\n",\r
2581         "comments": "",\r
2582         "outputs": 1,\r
2583         "x": 1852.4169425964355,\r
2584         "y": 6411.69157743454,\r
2585         "z": "34265cd.7205424",\r
2586         "wires": [\r
2587             [\r
2588                 "f3231ce.0a38d6",\r
2589                 "5e4e24ef.38b0bc"\r
2590             ]\r
2591         ]\r
2592     },\r
2593     {\r
2594         "id": "a9042f25.4b114",\r
2595         "type": "for",\r
2596         "name": "for each floating ipv6 address",\r
2597         "xml": "<for silentFailure='true' index='ipv6-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6_length`' >\n",\r
2598         "comments": "",\r
2599         "outputs": 1,\r
2600         "x": 1360.416934967041,\r
2601         "y": 6468.691649913788,\r
2602         "z": "34265cd.7205424",\r
2603         "wires": [\r
2604             [\r
2605                 "669eaafe.ae3adc"\r
2606             ]\r
2607         ]\r
2608     },\r
2609     {\r
2610         "id": "669eaafe.ae3adc",\r
2611         "type": "block",\r
2612         "name": "block : atomic",\r
2613         "xml": "<block atomic=\"true\">",\r
2614         "atomic": "true",\r
2615         "outputs": 1,\r
2616         "x": 1586.416934967041,\r
2617         "y": 6467.691649913788,\r
2618         "z": "34265cd.7205424",\r
2619         "wires": [\r
2620             [\r
2621                 "12a683dc.f7d1cc",\r
2622                 "475a576d.8e3c28",\r
2623                 "81320c04.9ba968"\r
2624             ]\r
2625         ]\r
2626     },\r
2627     {\r
2628         "id": "2b2655ee.d0e88a",\r
2629         "type": "block",\r
2630         "name": "block : atomic",\r
2631         "xml": "<block atomic=\"true\">",\r
2632         "atomic": "true",\r
2633         "outputs": 1,\r
2634         "x": 2247.9168128967285,\r
2635         "y": 6381.675950527191,\r
2636         "z": "34265cd.7205424",\r
2637         "wires": [\r
2638             [\r
2639                 "37375282.76ddb6",\r
2640                 "269063c8.ce5a84"\r
2641             ]\r
2642         ]\r
2643     },\r
2644     {\r
2645         "id": "4588595a.f76a3",\r
2646         "type": "block",\r
2647         "name": "block : atomic",\r
2648         "xml": "<block atomic=\"true\">",\r
2649         "atomic": "true",\r
2650         "outputs": 1,\r
2651         "x": 2247.916889190674,\r
2652         "y": 6434.675709247589,\r
2653         "z": "34265cd.7205424",\r
2654         "wires": [\r
2655             [\r
2656                 "48c2cba4.91f6cc",\r
2657                 "269063c8.ce5a84"\r
2658             ]\r
2659         ]\r
2660     },\r
2661     {\r
2662         "id": "f3231ce.0a38d6",\r
2663         "type": "failure",\r
2664         "name": "failure",\r
2665         "xml": "<outcome value='failure'>\n",\r
2666         "comments": "",\r
2667         "outputs": 1,\r
2668         "x": 2091.083698272705,\r
2669         "y": 6381.691620349884,\r
2670         "z": "34265cd.7205424",\r
2671         "wires": [\r
2672             [\r
2673                 "2b2655ee.d0e88a"\r
2674             ]\r
2675         ]\r
2676     },\r
2677     {\r
2678         "id": "5e4e24ef.38b0bc",\r
2679         "type": "not-found",\r
2680         "name": "not-found",\r
2681         "xml": "<outcome value='not-found'>\n",\r
2682         "comments": "",\r
2683         "outputs": 1,\r
2684         "x": 2099.65523147583,\r
2685         "y": 6434.310764789581,\r
2686         "z": "34265cd.7205424",\r
2687         "wires": [\r
2688             [\r
2689                 "4588595a.f76a3"\r
2690             ]\r
2691         ]\r
2692     },\r
2693     {\r
2694         "id": "2c2d6569.a1c6a2",\r
2695         "type": "block",\r
2696         "name": "block : atomic",\r
2697         "xml": "<block atomic=\"true\">",\r
2698         "atomic": "true",\r
2699         "outputs": 1,\r
2700         "x": 2581.250068664551,\r
2701         "y": 6494.676001131535,\r
2702         "z": "34265cd.7205424",\r
2703         "wires": [\r
2704             [\r
2705                 "4a19d7b6.f2c47",\r
2706                 "269063c8.ce5a84"\r
2707             ]\r
2708         ]\r
2709     },\r
2710     {\r
2711         "id": "3ee8cc5c.76ddbc",\r
2712         "type": "block",\r
2713         "name": "block : atomic",\r
2714         "xml": "<block atomic=\"true\">",\r
2715         "atomic": "true",\r
2716         "outputs": 1,\r
2717         "x": 2581.250144958496,\r
2718         "y": 6547.6757598519325,\r
2719         "z": "34265cd.7205424",\r
2720         "wires": [\r
2721             [\r
2722                 "84c51507.94d668",\r
2723                 "269063c8.ce5a84"\r
2724             ]\r
2725         ]\r
2726     },\r
2727     {\r
2728         "id": "de9afd93.7c394",\r
2729         "type": "failure",\r
2730         "name": "failure",\r
2731         "xml": "<outcome value='failure'>\n",\r
2732         "comments": "",\r
2733         "outputs": 1,\r
2734         "x": 2424.4169540405273,\r
2735         "y": 6494.691670954227,\r
2736         "z": "34265cd.7205424",\r
2737         "wires": [\r
2738             [\r
2739                 "2c2d6569.a1c6a2"\r
2740             ]\r
2741         ]\r
2742     },\r
2743     {\r
2744         "id": "6e9292b7.adab1c",\r
2745         "type": "not-found",\r
2746         "name": "not-found",\r
2747         "xml": "<outcome value='not-found'>\n",\r
2748         "comments": "",\r
2749         "outputs": 1,\r
2750         "x": 2432.9884872436523,\r
2751         "y": 6547.310815393925,\r
2752         "z": "34265cd.7205424",\r
2753         "wires": [\r
2754             [\r
2755                 "3ee8cc5c.76ddbc"\r
2756             ]\r
2757         ]\r
2758     },\r
2759     {\r
2760         "id": "636270ad.cb1f1",\r
2761         "type": "save",\r
2762         "name": "save vip-ipv6-address-list relationships",\r
2763         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vip-ipv6-address-list:relationship-list\"\n   key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv6-address-list.vip-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"subnet\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].network-id\n        + '/subnets/subnet/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.ipv6-subnet-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vnfc\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/vnfcs/vnfc/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n",\r
2764         "comments": "",\r
2765         "outputs": 1,\r
2766         "x": 2180.083797454834,\r
2767         "y": 6523.358089923859,\r
2768         "z": "34265cd.7205424",\r
2769         "wires": [\r
2770             [\r
2771                 "de9afd93.7c394",\r
2772                 "6e9292b7.adab1c"\r
2773             ]\r
2774         ]\r
2775     },\r
2776     {\r
2777         "id": "4f542d3d.52a65c",\r
2778         "type": "set",\r
2779         "name": "set created_flag",\r
2780         "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].created_flag' value='true' />\n",\r
2781         "comments": "",\r
2782         "x": 1342.7502403259277,\r
2783         "y": 4770.691873967648,\r
2784         "z": "34265cd.7205424",\r
2785         "wires": []\r
2786     },\r
2787     {\r
2788         "id": "b6a8d268.c987",\r
2789         "type": "set",\r
2790         "name": "set created-flag",\r
2791         "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].created-flag' value='true' />\n",\r
2792         "comments": "",\r
2793         "x": 1313.4169960021973,\r
2794         "y": 6018.692055404186,\r
2795         "z": "34265cd.7205424",\r
2796         "wires": []\r
2797     },\r
2798     {\r
2799         "id": "caa9e69f.d253a",\r
2800         "type": "set",\r
2801         "name": "set created-ipv4-flag",\r
2802         "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv4-flag' value='true' />\n",\r
2803         "comments": "",\r
2804         "x": 1786.4169616699219,\r
2805         "y": 6146.69213527441,\r
2806         "z": "34265cd.7205424",\r
2807         "wires": []\r
2808     },\r
2809     {\r
2810         "id": "475a576d.8e3c28",\r
2811         "type": "set",\r
2812         "name": "set created-ipv6-flag",\r
2813         "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.created-ipv6-flag' value='true' />\n",\r
2814         "comments": "",\r
2815         "x": 1791.7502975463867,\r
2816         "y": 6472.691738545895,\r
2817         "z": "34265cd.7205424",\r
2818         "wires": []\r
2819     },\r
2820     {\r
2821         "id": "cb5ae333.4bb6c",\r
2822         "type": "not-found",\r
2823         "name": "not-found",\r
2824         "xml": "<outcome value='not-found'>\n",\r
2825         "comments": "",\r
2826         "outputs": 1,\r
2827         "x": 1892.750415802002,\r
2828         "y": 4730.692112863064,\r
2829         "z": "34265cd.7205424",\r
2830         "wires": [\r
2831             [\r
2832                 "fcab33e3.661e5"\r
2833             ]\r
2834         ]\r
2835     },\r
2836     {\r
2837         "id": "e9f0935c.0d26e",\r
2838         "type": "call",\r
2839         "name": "call GENERIC-RESOURCE-API:vf-module-topology-vlan-tagging-assign",\r
2840         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-vlan-tagging-assign' mode='sync' >\n",\r
2841         "comments": "",\r
2842         "outputs": 1,\r
2843         "x": 660.1668167114258,\r
2844         "y": 6805.692090034485,\r
2845         "z": "34265cd.7205424",\r
2846         "wires": [\r
2847             [\r
2848                 "bc1360c6.580c08"\r
2849             ]\r
2850         ]\r
2851     },\r
2852     {\r
2853         "id": "bc1360c6.580c08",\r
2854         "type": "failure",\r
2855         "name": "failure",\r
2856         "xml": "<outcome value='failure'>\n",\r
2857         "comments": "",\r
2858         "outputs": 1,\r
2859         "x": 1004.5002326965332,\r
2860         "y": 6805.025585174561,\r
2861         "z": "34265cd.7205424",\r
2862         "wires": [\r
2863             [\r
2864                 "a09eae64.f34c68"\r
2865             ]\r
2866         ]\r
2867     },\r
2868     {\r
2869         "id": "a09eae64.f34c68",\r
2870         "type": "block",\r
2871         "name": "block : atomic",\r
2872         "xml": "<block atomic=\"true\">",\r
2873         "atomic": "true",\r
2874         "outputs": 1,\r
2875         "x": 1159.5001068115234,\r
2876         "y": 6805.025381088257,\r
2877         "z": "34265cd.7205424",\r
2878         "wires": [\r
2879             [\r
2880                 "3f7dfdbe.c1b85a",\r
2881                 "1a40ddac.06f67a"\r
2882             ]\r
2883         ]\r
2884     },\r
2885     {\r
2886         "id": "3f7dfdbe.c1b85a",\r
2887         "type": "execute",\r
2888         "name": "printContext",\r
2889         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vlantaggingfailure.log' />\n",\r
2890         "comments": "",\r
2891         "outputs": 1,\r
2892         "x": 1340.273723602295,\r
2893         "y": 6777.763387203217,\r
2894         "z": "34265cd.7205424",\r
2895         "wires": [\r
2896             []\r
2897         ]\r
2898     },\r
2899     {\r
2900         "id": "effbab1c.8eeb18",\r
2901         "type": "block",\r
2902         "name": "block : atomic",\r
2903         "xml": "<block atomic=\"true\">",\r
2904         "atomic": "true",\r
2905         "outputs": 1,\r
2906         "x": 314.64286041259766,\r
2907         "y": 556.5714378356934,\r
2908         "z": "34265cd.7205424",\r
2909         "wires": [\r
2910             [\r
2911                 "d583179d.999f08",\r
2912                 "13d1edde.2c3cc2",\r
2913                 "356786ed.1c1db2",\r
2914                 "527b3c86.073724",\r
2915                 "f269ddb2.03ac18",\r
2916                 "aca51e3b.78a188",\r
2917                 "a6f8df46.880ce8",\r
2918                 "d918a5d3.4b678",\r
2919                 "7933c6b5.bef96",\r
2920                 "b13baffe.18c468"\r
2921             ]\r
2922         ]\r
2923     },\r
2924     {\r
2925         "id": "d4b60897.e18598",\r
2926         "type": "switchNode",\r
2927         "name": "switch from-preload",\r
2928         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.from-preload`'>\n",\r
2929         "comments": "",\r
2930         "outputs": 1,\r
2931         "x": 605.6547050476074,\r
2932         "y": 2622.1672010421753,\r
2933         "z": "34265cd.7205424",\r
2934         "wires": [\r
2935             [\r
2936                 "7205c7e2.e07a68",\r
2937                 "338ca0a7.bfe7d8"\r
2938             ]\r
2939         ]\r
2940     },\r
2941     {\r
2942         "id": "7205c7e2.e07a68",\r
2943         "type": "outcomeFalse",\r
2944         "name": "false",\r
2945         "xml": "<outcome value='false'>\n",\r
2946         "comments": "",\r
2947         "outputs": 1,\r
2948         "x": 777.5594367980957,\r
2949         "y": 2599.5482215881348,\r
2950         "z": "34265cd.7205424",\r
2951         "wires": [\r
2952             [\r
2953                 "cee08d41.b2fe6"\r
2954             ]\r
2955         ]\r
2956     },\r
2957     {\r
2958         "id": "338ca0a7.bfe7d8",\r
2959         "type": "outcomeTrue",\r
2960         "name": "true",\r
2961         "xml": "<outcome value='true'>\n",\r
2962         "comments": "",\r
2963         "outputs": 1,\r
2964         "x": 779.2260894775391,\r
2965         "y": 2644.5480604171753,\r
2966         "z": "34265cd.7205424",\r
2967         "wires": [\r
2968             [\r
2969                 "afc9b079.ac8a6"\r
2970             ]\r
2971         ]\r
2972     },\r
2973     {\r
2974         "id": "cee08d41.b2fe6",\r
2975         "type": "set",\r
2976         "name": "set automated-assignment to true",\r
2977         "xml": "<set>\n<parameter name='automated-assignment' value='true' />\n",\r
2978         "comments": "",\r
2979         "x": 992.5594215393066,\r
2980         "y": 2597.881392478943,\r
2981         "z": "34265cd.7205424",\r
2982         "wires": []\r
2983     },\r
2984     {\r
2985         "id": "afc9b079.ac8a6",\r
2986         "type": "set",\r
2987         "name": "set automated-assignment to false",\r
2988         "xml": "<set>\n<parameter name='automated-assignment' value='false' />\n",\r
2989         "comments": "",\r
2990         "x": 990.8927421569824,\r
2991         "y": 2642.8813123703003,\r
2992         "z": "34265cd.7205424",\r
2993         "wires": []\r
2994     },\r
2995     {\r
2996         "id": "81320c04.9ba968",\r
2997         "type": "for",\r
2998         "name": "for each vnfc",\r
2999         "xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",\r
3000         "comments": "",\r
3001         "outputs": 1,\r
3002         "x": 1767.1788291931152,\r
3003         "y": 6571.572162151337,\r
3004         "z": "34265cd.7205424",\r
3005         "wires": [\r
3006             [\r
3007                 "d27afbea.8fdbb"\r
3008             ]\r
3009         ]\r
3010     },\r
3011     {\r
3012         "id": "cf288013.27e988",\r
3013         "type": "for",\r
3014         "name": "for each vm-type",\r
3015         "xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",\r
3016         "comments": "",\r
3017         "outputs": 1,\r
3018         "x": 584.4168014526367,\r
3019         "y": 3982.3580837249756,\r
3020         "z": "34265cd.7205424",\r
3021         "wires": [\r
3022             [\r
3023                 "4b547438.e5a1e4"\r
3024             ]\r
3025         ]\r
3026     },\r
3027     {\r
3028         "id": "4b547438.e5a1e4",\r
3029         "type": "block",\r
3030         "name": "block : atomic",\r
3031         "xml": "<block atomic=\"true\">",\r
3032         "atomic": "true",\r
3033         "outputs": 1,\r
3034         "x": 774.9168701171875,\r
3035         "y": 3983.191318511963,\r
3036         "z": "34265cd.7205424",\r
3037         "wires": [\r
3038             [\r
3039                 "e115a59a.78977"\r
3040             ]\r
3041         ]\r
3042     },\r
3043     {\r
3044         "id": "e115a59a.78977",\r
3045         "type": "for",\r
3046         "name": "for each vm-network",\r
3047         "xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",\r
3048         "comments": "",\r
3049         "outputs": 1,\r
3050         "x": 976.4168014526367,\r
3051         "y": 3982.3580837249756,\r
3052         "z": "34265cd.7205424",\r
3053         "wires": [\r
3054             [\r
3055                 "c279839c.179e2"\r
3056             ]\r
3057         ]\r
3058     },\r
3059     {\r
3060         "id": "c279839c.179e2",\r
3061         "type": "block",\r
3062         "name": "block : atomic",\r
3063         "xml": "<block atomic=\"true\">",\r
3064         "atomic": "true",\r
3065         "outputs": 1,\r
3066         "x": 1166.2501220703125,\r
3067         "y": 3981.8575229644775,\r
3068         "z": "34265cd.7205424",\r
3069         "wires": [\r
3070             [\r
3071                 "9c5890c1.1bc73"\r
3072             ]\r
3073         ]\r
3074     },\r
3075     {\r
3076         "id": "9c5890c1.1bc73",\r
3077         "type": "get-resource",\r
3078         "name": "get-resource VFC_RELATED_NETWORK_ROLE",\r
3079         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VFC_RELATED_NETWORK_ROLE where vfc_customization_uuid = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].model-customization-uuid\n    and network_role = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role'\n  pfx='db.vnf-related-network-role[]'>\n\n",\r
3080         "comments": "",\r
3081         "outputs": 1,\r
3082         "x": 1455.7500953674316,\r
3083         "y": 3980.358165740967,\r
3084         "z": "34265cd.7205424",\r
3085         "wires": [\r
3086             [\r
3087                 "a30af21d.78b66",\r
3088                 "54be536b.883c7c"\r
3089             ]\r
3090         ]\r
3091     },\r
3092     {\r
3093         "id": "a30af21d.78b66",\r
3094         "type": "failure",\r
3095         "name": "failure",\r
3096         "xml": "<outcome value='failure'>\n",\r
3097         "comments": "",\r
3098         "outputs": 1,\r
3099         "x": 1726.7500343322754,\r
3100         "y": 3885.0248680114746,\r
3101         "z": "34265cd.7205424",\r
3102         "wires": [\r
3103             [\r
3104                 "6573ac5d.e2d6fc"\r
3105             ]\r
3106         ]\r
3107     },\r
3108     {\r
3109         "id": "6573ac5d.e2d6fc",\r
3110         "type": "block",\r
3111         "name": "block : atomic",\r
3112         "xml": "<block atomic='true'>",\r
3113         "atomic": "true",\r
3114         "comments": "",\r
3115         "outputs": 1,\r
3116         "x": 1873.9405517578125,\r
3117         "y": 3883.5728826522827,\r
3118         "z": "34265cd.7205424",\r
3119         "wires": [\r
3120             [\r
3121                 "d4e308ce.5712b",\r
3122                 "f3cab335.7ec9f"\r
3123             ]\r
3124         ]\r
3125     },\r
3126     {\r
3127         "id": "54be536b.883c7c",\r
3128         "type": "success",\r
3129         "name": "success",\r
3130         "xml": "<outcome value='success'>\n",\r
3131         "comments": "",\r
3132         "outputs": 1,\r
3133         "x": 1727.5832443237305,\r
3134         "y": 4129.691747665405,\r
3135         "z": "34265cd.7205424",\r
3136         "wires": [\r
3137             [\r
3138                 "8b99514d.224a68"\r
3139             ]\r
3140         ]\r
3141     },\r
3142     {\r
3143         "id": "bdec068a.d17588",\r
3144         "type": "block",\r
3145         "name": "block : atomic",\r
3146         "xml": "<block atomic=\"true\">",\r
3147         "atomic": "true",\r
3148         "outputs": 1,\r
3149         "x": 2145.9164962768555,\r
3150         "y": 4131.69150352478,\r
3151         "z": "34265cd.7205424",\r
3152         "wires": [\r
3153             [\r
3154                 "2380b499.33cb74",\r
3155                 "2a3d42f3.0625f6",\r
3156                 "9050219d.292618",\r
3157                 "a92d624e.c2d3a8",\r
3158                 "64298756.8d8e3",\r
3159                 "ee1be000.48bb78",\r
3160                 "fa830b25.a2ef78",\r
3161                 "18757bd7.bc1504"\r
3162             ]\r
3163         ]\r
3164     },\r
3165     {\r
3166         "id": "2a3d42f3.0625f6",\r
3167         "type": "for",\r
3168         "name": "for each vnf network",\r
3169         "xml": "<for silentFailure='true' index='vnf-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",\r
3170         "comments": "",\r
3171         "outputs": 1,\r
3172         "x": 2328.416675567627,\r
3173         "y": 3974.024751663208,\r
3174         "z": "34265cd.7205424",\r
3175         "wires": [\r
3176             [\r
3177                 "2377be3.2805842"\r
3178             ]\r
3179         ]\r
3180     },\r
3181     {\r
3182         "id": "2380b499.33cb74",\r
3183         "type": "set",\r
3184         "name": "set found-related-network to false",\r
3185         "xml": "<set>\n<parameter name='found-related-network' value='false' />\n",\r
3186         "comments": "",\r
3187         "x": 2368.4167518615723,\r
3188         "y": 3915.6915283203125,\r
3189         "z": "34265cd.7205424",\r
3190         "wires": []\r
3191     },\r
3192     {\r
3193         "id": "f214ef27.8c7068",\r
3194         "type": "for",\r
3195         "name": "for each related network",\r
3196         "xml": "<for silentFailure='true' index='related-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].related-networks.related-network_length`' >\n",\r
3197         "comments": "",\r
3198         "outputs": 1,\r
3199         "x": 2727.4166374206543,\r
3200         "y": 3950.6910152435303,\r
3201         "z": "34265cd.7205424",\r
3202         "wires": [\r
3203             [\r
3204                 "7ede6549.805acc"\r
3205             ]\r
3206         ]\r
3207     },\r
3208     {\r
3209         "id": "2377be3.2805842",\r
3210         "type": "block",\r
3211         "name": "block : atomic",\r
3212         "xml": "<block atomic=\"true\">",\r
3213         "atomic": "true",\r
3214         "outputs": 1,\r
3215         "x": 2516.416675567627,\r
3216         "y": 3974.024751663208,\r
3217         "z": "34265cd.7205424",\r
3218         "wires": [\r
3219             [\r
3220                 "f214ef27.8c7068",\r
3221                 "ac51f9c5.7f381"\r
3222             ]\r
3223         ]\r
3224     },\r
3225     {\r
3226         "id": "7ede6549.805acc",\r
3227         "type": "switchNode",\r
3228         "name": "switch network-role matches",\r
3229         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].related-networks.related-network[$related-network-index].network-role\n  == $db.vnf-related-network-role[$db-related-network-index].related-network-role`'>\n",\r
3230         "comments": "",\r
3231         "outputs": 1,\r
3232         "x": 2979.4165534973145,\r
3233         "y": 3950.6910915374756,\r
3234         "z": "34265cd.7205424",\r
3235         "wires": [\r
3236             [\r
3237                 "639ffefa.c6a668"\r
3238             ]\r
3239         ]\r
3240     },\r
3241     {\r
3242         "id": "8b99514d.224a68",\r
3243         "type": "for",\r
3244         "name": "for each db related-network",\r
3245         "xml": "<for index='db-related-network-index' start='0' end='`$db.vnf-related-network-role_length`' >\n",\r
3246         "comments": "",\r
3247         "outputs": 1,\r
3248         "x": 1931.916618347168,\r
3249         "y": 4130.35849571228,\r
3250         "z": "34265cd.7205424",\r
3251         "wires": [\r
3252             [\r
3253                 "bdec068a.d17588"\r
3254             ]\r
3255         ]\r
3256     },\r
3257     {\r
3258         "id": "639ffefa.c6a668",\r
3259         "type": "outcomeTrue",\r
3260         "name": "true",\r
3261         "xml": "<outcome value='true'>\n",\r
3262         "comments": "",\r
3263         "outputs": 1,\r
3264         "x": 3179.4165534973145,\r
3265         "y": 3948.6910915374756,\r
3266         "z": "34265cd.7205424",\r
3267         "wires": [\r
3268             [\r
3269                 "81afa752.330a7"\r
3270             ]\r
3271         ]\r
3272     },\r
3273     {\r
3274         "id": "81afa752.330a7",\r
3275         "type": "block",\r
3276         "name": "block : atomic",\r
3277         "xml": "<block atomic=\"true\">",\r
3278         "atomic": "true",\r
3279         "outputs": 1,\r
3280         "x": 3333.4165534973145,\r
3281         "y": 3946.6910915374756,\r
3282         "z": "34265cd.7205424",\r
3283         "wires": [\r
3284             [\r
3285                 "9b9cff35.d523",\r
3286                 "46e64037.6ec64",\r
3287                 "8025f3eb.bd5ea"\r
3288             ]\r
3289         ]\r
3290     },\r
3291     {\r
3292         "id": "9b9cff35.d523",\r
3293         "type": "set",\r
3294         "name": "set found-related-network to true",\r
3295         "xml": "<set>\n<parameter name='found-related-network' value='true' />\n",\r
3296         "comments": "",\r
3297         "x": 3565.4167137145996,\r
3298         "y": 3906.357675552368,\r
3299         "z": "34265cd.7205424",\r
3300         "wires": []\r
3301     },\r
3302     {\r
3303         "id": "46e64037.6ec64",\r
3304         "type": "break",\r
3305         "name": "break",\r
3306         "xml": "<break>\n",\r
3307         "comments": "",\r
3308         "x": 3488.7498893737793,\r
3309         "y": 3993.024425506592,\r
3310         "z": "34265cd.7205424",\r
3311         "wires": []\r
3312     },\r
3313     {\r
3314         "id": "9050219d.292618",\r
3315         "type": "switchNode",\r
3316         "name": "switch found-related-network",\r
3317         "xml": "<switch test='`$found-related-network`'>\n",\r
3318         "comments": "",\r
3319         "outputs": 1,\r
3320         "x": 2363.9165649414062,\r
3321         "y": 4074.6916370391846,\r
3322         "z": "34265cd.7205424",\r
3323         "wires": [\r
3324             [\r
3325                 "2c771fce.f6f0e"\r
3326             ]\r
3327         ]\r
3328     },\r
3329     {\r
3330         "id": "2c771fce.f6f0e",\r
3331         "type": "outcomeFalse",\r
3332         "name": "false",\r
3333         "xml": "<outcome value='false'>\n",\r
3334         "comments": "",\r
3335         "outputs": 1,\r
3336         "x": 2557.9165649414062,\r
3337         "y": 4072.6916370391846,\r
3338         "z": "34265cd.7205424",\r
3339         "wires": [\r
3340             [\r
3341                 "ed2c165a.75be88"\r
3342             ]\r
3343         ]\r
3344     },\r
3345     {\r
3346         "id": "ed2c165a.75be88",\r
3347         "type": "block",\r
3348         "name": "block : atomic",\r
3349         "xml": "<block atomic='true'>",\r
3350         "atomic": "true",\r
3351         "comments": "",\r
3352         "outputs": 1,\r
3353         "x": 2687.9165649414062,\r
3354         "y": 4072.6916370391846,\r
3355         "z": "34265cd.7205424",\r
3356         "wires": [\r
3357             [\r
3358                 "e1873883.a0b338",\r
3359                 "f3cab335.7ec9f"\r
3360             ]\r
3361         ]\r
3362     },\r
3363     {\r
3364         "id": "a92d624e.c2d3a8",\r
3365         "type": "set",\r
3366         "name": "set is-trunked and segmentation-id in vm-network",\r
3367         "xml": "<set>\n<parameter name='$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].is-trunked'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].is-trunked`' />\n<parameter name='$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].segmentation-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].segmentation-id`' />\n",\r
3368         "comments": "",\r
3369         "x": 2425.9165649414062,\r
3370         "y": 4122.691637039185,\r
3371         "z": "34265cd.7205424",\r
3372         "wires": []\r
3373     },\r
3374     {\r
3375         "id": "ee1be000.48bb78",\r
3376         "type": "switchNode",\r
3377         "name": "switch rn-index",\r
3378         "xml": "<switch test='`$rn-index`'>\n",\r
3379         "comments": "",\r
3380         "outputs": 1,\r
3381         "x": 2313.9165649414062,\r
3382         "y": 4230.691637039185,\r
3383         "z": "34265cd.7205424",\r
3384         "wires": [\r
3385             [\r
3386                 "74c68449.7a6374"\r
3387             ]\r
3388         ]\r
3389     },\r
3390     {\r
3391         "id": "64298756.8d8e3",\r
3392         "type": "set",\r
3393         "name": "set rn-index to related network length",\r
3394         "xml": "<set>\n<parameter name='rn-index' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length`' />\n",\r
3395         "comments": "",\r
3396         "x": 2385.9165649414062,\r
3397         "y": 4174.691637039185,\r
3398         "z": "34265cd.7205424",\r
3399         "wires": []\r
3400     },\r
3401     {\r
3402         "id": "74c68449.7a6374",\r
3403         "type": "outcome",\r
3404         "name": "NULL",\r
3405         "xml": "<outcome value=''>",\r
3406         "comments": "",\r
3407         "outputs": 1,\r
3408         "x": 2477.9165649414062,\r
3409         "y": 4230.691637039185,\r
3410         "z": "34265cd.7205424",\r
3411         "wires": [\r
3412             [\r
3413                 "8aa2ab54.ceea58"\r
3414             ]\r
3415         ]\r
3416     },\r
3417     {\r
3418         "id": "8aa2ab54.ceea58",\r
3419         "type": "set",\r
3420         "name": "set rn-index to 0",\r
3421         "xml": "<set>\n<parameter name='rn-index' value='0' />\n",\r
3422         "comments": "",\r
3423         "x": 2637.9165649414062,\r
3424         "y": 4230.691637039185,\r
3425         "z": "34265cd.7205424",\r
3426         "wires": []\r
3427     },\r
3428     {\r
3429         "id": "fa830b25.a2ef78",\r
3430         "type": "set",\r
3431         "name": "set related-network data",\r
3432         "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].network-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].network-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].network-role'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].network-role`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.vlan-interface'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.vlan-interface`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.lower-tag-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.lower-tag-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.upper-tag-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.upper-tag-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$rn-index].vlan-tags.is-private'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$saved-vnf-network-index].related-networks.related-network[$saved-related-network-index].vlan-tags.is-private`' />\n",\r
3433         "comments": "",\r
3434         "x": 2337.9165649414062,\r
3435         "y": 4282.691637039185,\r
3436         "z": "34265cd.7205424",\r
3437         "wires": []\r
3438     },\r
3439     {\r
3440         "id": "18757bd7.bc1504",\r
3441         "type": "set",\r
3442         "name": "set new related network length",\r
3443         "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length'\n  value='`$rn-index + 1`' />\n",\r
3444         "comments": "",\r
3445         "x": 2355.9165649414062,\r
3446         "y": 4334.691637039185,\r
3447         "z": "34265cd.7205424",\r
3448         "wires": []\r
3449     },\r
3450     {\r
3451         "id": "ac51f9c5.7f381",\r
3452         "type": "switchNode",\r
3453         "name": "switch found-related-network",\r
3454         "xml": "<switch test='`$found-related-network`'>\n",\r
3455         "comments": "",\r
3456         "outputs": 1,\r
3457         "x": 2740.416660308838,\r
3458         "y": 3998.3578758239746,\r
3459         "z": "34265cd.7205424",\r
3460         "wires": [\r
3461             [\r
3462                 "8dfcb5e2.bf7d2"\r
3463             ]\r
3464         ]\r
3465     },\r
3466     {\r
3467         "id": "8dfcb5e2.bf7d2",\r
3468         "type": "outcomeTrue",\r
3469         "name": "true",\r
3470         "xml": "<outcome value='true'>\n",\r
3471         "comments": "",\r
3472         "outputs": 1,\r
3473         "x": 2937.083522796631,\r
3474         "y": 3998.358247756958,\r
3475         "z": "34265cd.7205424",\r
3476         "wires": [\r
3477             [\r
3478                 "49e231.bdb7fdd"\r
3479             ]\r
3480         ]\r
3481     },\r
3482     {\r
3483         "id": "49e231.bdb7fdd",\r
3484         "type": "break",\r
3485         "name": "break",\r
3486         "xml": "<break>\n",\r
3487         "comments": "",\r
3488         "x": 3067.083408355713,\r
3489         "y": 3996.6913719177246,\r
3490         "z": "34265cd.7205424",\r
3491         "wires": []\r
3492     },\r
3493     {\r
3494         "id": "8025f3eb.bd5ea",\r
3495         "type": "set",\r
3496         "name": "save indexes",\r
3497         "xml": "<set>\n<parameter name='saved-vnf-network-index' value='`$vnf-network-index`' />\n<parameter name='saved-related-network-index' value='`$related-network-index`' />\n",\r
3498         "comments": "",\r
3499         "x": 3507.0836219787598,\r
3500         "y": 3948.3582458496094,\r
3501         "z": "34265cd.7205424",\r
3502         "wires": []\r
3503     },\r
3504     {\r
3505         "id": "67c600cd.b9cba",\r
3506         "type": "execute",\r
3507         "name": "generate cp-instance-id",\r
3508         "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" >\n<parameter name=\"ctx-destination\" value=\"cp-instance-id\" />\n",\r
3509         "comments": "",\r
3510         "outputs": 1,\r
3511         "x": 1795.9881134033203,\r
3512         "y": 4977.882298946381,\r
3513         "z": "34265cd.7205424",\r
3514         "wires": [\r
3515             []\r
3516         ]\r
3517     },\r
3518     {\r
3519         "id": "def6cb8a.75abd",\r
3520         "type": "save",\r
3521         "name": "save cp to A&AI",\r
3522         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"cp\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n\t  AND cp.cp-instance-id = $cp-instance-id\" >\n<parameter name=\"cp-instance-id\" value=\"`$cp-instance-id`\" />\n<parameter name=\"port-id\" value=\"0\" />\n",\r
3523         "comments": "",\r
3524         "outputs": 1,\r
3525         "x": 1777.6547355651855,\r
3526         "y": 5044.548804759979,\r
3527         "z": "34265cd.7205424",\r
3528         "wires": [\r
3529             [\r
3530                 "cec4e53.0593898",\r
3531                 "73e9c7c7.e33118"\r
3532             ]\r
3533         ]\r
3534     },\r
3535     {\r
3536         "id": "cec4e53.0593898",\r
3537         "type": "failure",\r
3538         "name": "failure",\r
3539         "xml": "<outcome value='failure'>\n",\r
3540         "comments": "",\r
3541         "outputs": 1,\r
3542         "x": 1966.6547164916992,\r
3543         "y": 5020.215418279171,\r
3544         "z": "34265cd.7205424",\r
3545         "wires": [\r
3546             [\r
3547                 "6c56796a.9785"\r
3548             ]\r
3549         ]\r
3550     },\r
3551     {\r
3552         "id": "6c56796a.9785",\r
3553         "type": "block",\r
3554         "name": "block : atomic",\r
3555         "xml": "<block atomic=\"true\">",\r
3556         "atomic": "true",\r
3557         "outputs": 1,\r
3558         "x": 2133.821464538574,\r
3559         "y": 5036.009851872921,\r
3560         "z": "34265cd.7205424",\r
3561         "wires": [\r
3562             [\r
3563                 "56c543eb.6150dc",\r
3564                 "deea8b7a.34ee38"\r
3565             ]\r
3566         ]\r
3567     },\r
3568     {\r
3569         "id": "73e9c7c7.e33118",\r
3570         "type": "not-found",\r
3571         "name": "not-found",\r
3572         "xml": "<outcome value='not-found'>\n",\r
3573         "comments": "",\r
3574         "outputs": 1,\r
3575         "x": 1971.6547164916992,\r
3576         "y": 5069.881678044796,\r
3577         "z": "34265cd.7205424",\r
3578         "wires": [\r
3579             [\r
3580                 "6c56796a.9785"\r
3581             ]\r
3582         ]\r
3583     },\r
3584     {\r
3585         "id": "58cb90bc.4bbef8",\r
3586         "type": "block",\r
3587         "name": "block : atomic",\r
3588         "xml": "<block atomic=\"true\">",\r
3589         "atomic": "true",\r
3590         "outputs": 1,\r
3591         "x": 1572.4644355773926,\r
3592         "y": 5247.16709280014,\r
3593         "z": "34265cd.7205424",\r
3594         "wires": [\r
3595             [\r
3596                 "bb7a5471.736f58",\r
3597                 "8cfa77fd.d126b8",\r
3598                 "67c600cd.b9cba",\r
3599                 "def6cb8a.75abd",\r
3600                 "c24016d.89a2f68",\r
3601                 "e9947f94.840de"\r
3602             ]\r
3603         ]\r
3604     },\r
3605     {\r
3606         "id": "bb7a5471.736f58",\r
3607         "type": "set",\r
3608         "name": "set connection point data",\r
3609         "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].connection-point.connection-point-id'\n  value='`$cp-instance-id`' />\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].connection-point.port-id'\n  value='0' />\n",\r
3610         "comments": "",\r
3611         "x": 1807.9882774353027,\r
3612         "y": 5122.406374454498,\r
3613         "z": "34265cd.7205424",\r
3614         "wires": []\r
3615     },\r
3616     {\r
3617         "id": "197afe0.8443282",\r
3618         "type": "comment",\r
3619         "name": "Floating IPs",\r
3620         "info": "",\r
3621         "comments": "",\r
3622         "x": 1368.7500953674316,\r
3623         "y": 6104.69149273634,\r
3624         "z": "34265cd.7205424",\r
3625         "wires": []\r
3626     },\r
3627     {\r
3628         "id": "c24016d.89a2f68",\r
3629         "type": "for",\r
3630         "name": "for each vnf-network",\r
3631         "xml": "<for index='vnf-network-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",\r
3632         "comments": "",\r
3633         "outputs": 1,\r
3634         "x": 1792.0832786560059,\r
3635         "y": 5518.691868305206,\r
3636         "z": "34265cd.7205424",\r
3637         "wires": [\r
3638             [\r
3639                 "56804039.82c95"\r
3640             ]\r
3641         ]\r
3642     },\r
3643     {\r
3644         "id": "1b4d007d.b0d738",\r
3645         "type": "save",\r
3646         "name": "save cp relationship to l3-network",\r
3647         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"cp:relationship-list\"\n   key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n     AND cp.cp-instance-id = $cp-instance-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].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-id`\" />\n",\r
3648         "comments": "",\r
3649         "outputs": 1,\r
3650         "x": 2430.416759490967,\r
3651         "y": 5518.358376026154,\r
3652         "z": "34265cd.7205424",\r
3653         "wires": [\r
3654             [\r
3655                 "925d685c.856048",\r
3656                 "2b843689.1bb8aa"\r
3657             ]\r
3658         ]\r
3659     },\r
3660     {\r
3661         "id": "c8275ab5.32ae",\r
3662         "type": "block",\r
3663         "name": "block : atomic",\r
3664         "xml": "<block atomic=\"true\">",\r
3665         "atomic": "true",\r
3666         "outputs": 1,\r
3667         "x": 2802.249797821045,\r
3668         "y": 5491.676324367523,\r
3669         "z": "34265cd.7205424",\r
3670         "wires": [\r
3671             [\r
3672                 "d01f264c.61c318",\r
3673                 "deea8b7a.34ee38"\r
3674             ]\r
3675         ]\r
3676     },\r
3677     {\r
3678         "id": "ee39eeee.ad11d8",\r
3679         "type": "block",\r
3680         "name": "block : atomic",\r
3681         "xml": "<block atomic=\"true\">",\r
3682         "atomic": "true",\r
3683         "outputs": 1,\r
3684         "x": 2802.2498741149902,\r
3685         "y": 5544.676083087921,\r
3686         "z": "34265cd.7205424",\r
3687         "wires": [\r
3688             [\r
3689                 "64482d7f.371044",\r
3690                 "deea8b7a.34ee38"\r
3691             ]\r
3692         ]\r
3693     },\r
3694     {\r
3695         "id": "925d685c.856048",\r
3696         "type": "failure",\r
3697         "name": "failure",\r
3698         "xml": "<outcome value='failure'>\n",\r
3699         "comments": "",\r
3700         "outputs": 1,\r
3701         "x": 2645.4166831970215,\r
3702         "y": 5491.691994190216,\r
3703         "z": "34265cd.7205424",\r
3704         "wires": [\r
3705             [\r
3706                 "c8275ab5.32ae"\r
3707             ]\r
3708         ]\r
3709     },\r
3710     {\r
3711         "id": "2b843689.1bb8aa",\r
3712         "type": "not-found",\r
3713         "name": "not-found",\r
3714         "xml": "<outcome value='not-found'>\n",\r
3715         "comments": "",\r
3716         "outputs": 1,\r
3717         "x": 2653.9882164001465,\r
3718         "y": 5544.311138629913,\r
3719         "z": "34265cd.7205424",\r
3720         "wires": [\r
3721             [\r
3722                 "ee39eeee.ad11d8"\r
3723             ]\r
3724         ]\r
3725     },\r
3726     {\r
3727         "id": "e9947f94.840de",\r
3728         "type": "for",\r
3729         "name": "for each vm-network",\r
3730         "xml": "<for silentFailure='true' index='network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network_length`' >\n",\r
3731         "comments": "",\r
3732         "outputs": 1,\r
3733         "x": 1792.0834312438965,\r
3734         "y": 5679.358223438263,\r
3735         "z": "34265cd.7205424",\r
3736         "wires": [\r
3737             [\r
3738                 "a50b0d5a.ce5908"\r
3739             ]\r
3740         ]\r
3741     },\r
3742     {\r
3743         "id": "8135e354.1212a",\r
3744         "type": "save",\r
3745         "name": "save cp relationship to l3-network and vlan-tag",\r
3746         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"cp:relationship-list\"\n   key=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n     AND cp.cp-instance-id = $cp-instance-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].related-link\"\n      value=\"`'/aai/v$/network/l3-networks/l3-network/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].network-id`\" />\n    <parameter name=\"relationship-list.relationship[1].related-to\" value=\"vlan-tag\" />\n    <parameter name=\"relationship-list.relationship[1].related-link\"\n      value=\"`'/aai/v$/network/vlan-tags/vlan-tag/' +\n        $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.vlan-interface`\" />\n",\r
3747         "comments": "",\r
3748         "outputs": 1,\r
3749         "x": 2711.7504386901855,\r
3750         "y": 5677.358218669891,\r
3751         "z": "34265cd.7205424",\r
3752         "wires": [\r
3753             [\r
3754                 "54f5fc79.be774c",\r
3755                 "c10c7043.50dca8"\r
3756             ]\r
3757         ]\r
3758     },\r
3759     {\r
3760         "id": "cffcf5c1.1e4ec8",\r
3761         "type": "block",\r
3762         "name": "block : atomic",\r
3763         "xml": "<block atomic=\"true\">",\r
3764         "atomic": "true",\r
3765         "outputs": 1,\r
3766         "x": 3118.583484649658,\r
3767         "y": 5650.675517559052,\r
3768         "z": "34265cd.7205424",\r
3769         "wires": [\r
3770             [\r
3771                 "7a163627.fcef3",\r
3772                 "deea8b7a.34ee38"\r
3773             ]\r
3774         ]\r
3775     },\r
3776     {\r
3777         "id": "6f874e0.8ac4234",\r
3778         "type": "block",\r
3779         "name": "block : atomic",\r
3780         "xml": "<block atomic=\"true\">",\r
3781         "atomic": "true",\r
3782         "outputs": 1,\r
3783         "x": 3118.5835609436035,\r
3784         "y": 5703.67527627945,\r
3785         "z": "34265cd.7205424",\r
3786         "wires": [\r
3787             [\r
3788                 "57dc1477.8da4b4",\r
3789                 "deea8b7a.34ee38"\r
3790             ]\r
3791         ]\r
3792     },\r
3793     {\r
3794         "id": "54f5fc79.be774c",\r
3795         "type": "failure",\r
3796         "name": "failure",\r
3797         "xml": "<outcome value='failure'>\n",\r
3798         "comments": "",\r
3799         "outputs": 1,\r
3800         "x": 2961.7503700256348,\r
3801         "y": 5650.691187381745,\r
3802         "z": "34265cd.7205424",\r
3803         "wires": [\r
3804             [\r
3805                 "cffcf5c1.1e4ec8"\r
3806             ]\r
3807         ]\r
3808     },\r
3809     {\r
3810         "id": "c10c7043.50dca8",\r
3811         "type": "not-found",\r
3812         "name": "not-found",\r
3813         "xml": "<outcome value='not-found'>\n",\r
3814         "comments": "",\r
3815         "outputs": 1,\r
3816         "x": 2970.3219032287598,\r
3817         "y": 5703.310331821443,\r
3818         "z": "34265cd.7205424",\r
3819         "wires": [\r
3820             [\r
3821                 "6f874e0.8ac4234"\r
3822             ]\r
3823         ]\r
3824     },\r
3825     {\r
3826         "id": "b14df7f0.70279",\r
3827         "type": "for",\r
3828         "name": "for each related-network",\r
3829         "xml": "<for silentFailure='true' index='related-network-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network_length`' >\n",\r
3830         "comments": "",\r
3831         "outputs": 1,\r
3832         "x": 2407.750270843506,\r
3833         "y": 5677.358219623566,\r
3834         "z": "34265cd.7205424",\r
3835         "wires": [\r
3836             [\r
3837                 "8135e354.1212a"\r
3838             ]\r
3839         ]\r
3840     },\r
3841     {\r
3842         "id": "50d2cea2.bb528",\r
3843         "type": "call",\r
3844         "name": "call GENERIC-RESOURCE-API:vf-module-generate-heat-parameters",\r
3845         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-generate-heat-parameters' mode='sync' >\n",\r
3846         "comments": "",\r
3847         "outputs": 1,\r
3848         "x": 656.0835952758789,\r
3849         "y": 6919.108981132507,\r
3850         "z": "34265cd.7205424",\r
3851         "wires": [\r
3852             []\r
3853         ]\r
3854     },\r
3855     {\r
3856         "id": "886b51f6.cb8c8",\r
3857         "type": "execute",\r
3858         "name": "printContext",\r
3859         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmoduleheat.log' />\n",\r
3860         "comments": "",\r
3861         "outputs": 1,\r
3862         "x": 466.1669006347656,\r
3863         "y": 6972.108658790588,\r
3864         "z": "34265cd.7205424",\r
3865         "wires": [\r
3866             []\r
3867         ]\r
3868     },\r
3869     {\r
3870         "id": "14aa8b5.d6278f5",\r
3871         "type": "switchNode",\r
3872         "name": "switch input vf-module-name",\r
3873         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`'>\n",\r
3874         "comments": "",\r
3875         "outputs": 1,\r
3876         "x": 638.7499961853027,\r
3877         "y": 2404.191040992737,\r
3878         "z": "34265cd.7205424",\r
3879         "wires": [\r
3880             [\r
3881                 "75d4819e.af875",\r
3882                 "b5b05f4.3353d2"\r
3883             ]\r
3884         ]\r
3885     },\r
3886     {\r
3887         "id": "75d4819e.af875",\r
3888         "type": "outcome",\r
3889         "name": "NULL",\r
3890         "xml": "<outcome value=''>",\r
3891         "comments": "",\r
3892         "outputs": 1,\r
3893         "x": 861.2499618530273,\r
3894         "y": 2326.6910009384155,\r
3895         "z": "34265cd.7205424",\r
3896         "wires": [\r
3897             [\r
3898                 "35aa0744.80b5c8"\r
3899             ]\r
3900         ]\r
3901     },\r
3902     {\r
3903         "id": "b5b05f4.3353d2",\r
3904         "type": "other",\r
3905         "name": "other",\r
3906         "xml": "<outcome value='Other'>\n",\r
3907         "comments": "",\r
3908         "outputs": 1,\r
3909         "x": 862.9285621643066,\r
3910         "y": 2499.309585571289,\r
3911         "z": "34265cd.7205424",\r
3912         "wires": [\r
3913             [\r
3914                 "857ef89e.1a5408"\r
3915             ]\r
3916         ]\r
3917     },\r
3918     {\r
3919         "id": "a0f0f960.3140c8",\r
3920         "type": "for",\r
3921         "name": "for each vnfc-subnet-role",\r
3922         "xml": "<for index='subnet-role-index' start='0'\n  end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet_length`' >\n",\r
3923         "comments": "",\r
3924         "outputs": 1,\r
3925         "x": 1396.2500953674316,\r
3926         "y": 3199.1907176971436,\r
3927         "z": "34265cd.7205424",\r
3928         "wires": [\r
3929             [\r
3930                 "9d57c772.862988"\r
3931             ]\r
3932         ]\r
3933     },\r
3934     {\r
3935         "id": "9d57c772.862988",\r
3936         "type": "for",\r
3937         "name": "for each vnfc-address-family",\r
3938         "xml": "<for index='address-family-index' start='0'\n  end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments_length`' >\n",\r
3939         "comments": "",\r
3940         "outputs": 1,\r
3941         "x": 1644.5833549499512,\r
3942         "y": 3199.1907176971436,\r
3943         "z": "34265cd.7205424",\r
3944         "wires": [\r
3945             [\r
3946                 "400506a5.64a12"\r
3947             ]\r
3948         ]\r
3949     },\r
3950     {\r
3951         "id": "4b70bca8.2d04e4",\r
3952         "type": "for",\r
3953         "name": "for each vm-type",\r
3954         "xml": "<for silentFailure='true' index='vm-type-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm_length`' >\n",\r
3955         "comments": "",\r
3956         "outputs": 1,\r
3957         "x": 602.0832710266113,\r
3958         "y": 2917.5240545272827,\r
3959         "z": "34265cd.7205424",\r
3960         "wires": [\r
3961             [\r
3962                 "76c0436b.ee91fc"\r
3963             ]\r
3964         ]\r
3965     },\r
3966     {\r
3967         "id": "76c0436b.ee91fc",\r
3968         "type": "for",\r
3969         "name": "for each vnfc",\r
3970         "xml": "<for silentFailure='true' index='vnfc-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names_length`' >\n",\r
3971         "comments": "",\r
3972         "outputs": 1,\r
3973         "x": 783.7500495910645,\r
3974         "y": 2916.1912031173706,\r
3975         "z": "34265cd.7205424",\r
3976         "wires": [\r
3977             [\r
3978                 "f9241628.26f1"\r
3979             ]\r
3980         ]\r
3981     },\r
3982     {\r
3983         "id": "f9241628.26f1",\r
3984         "type": "for",\r
3985         "name": "for each vnfc-network",\r
3986         "xml": "<for silentFailure='true' index='vnfc-network-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",\r
3987         "comments": "",\r
3988         "outputs": 1,\r
3989         "x": 984.9166221618652,\r
3990         "y": 2916.023892402649,\r
3991         "z": "34265cd.7205424",\r
3992         "wires": [\r
3993             [\r
3994                 "ba3c1b94.fddce"\r
3995             ]\r
3996         ]\r
3997     },\r
3998     {\r
3999         "id": "ba3c1b94.fddce",\r
4000         "type": "block",\r
4001         "name": "block : atomic",\r
4002         "xml": "<block atomic=\"true\">",\r
4003         "atomic": "true",\r
4004         "outputs": 1,\r
4005         "x": 1197.083293914795,\r
4006         "y": 2915.0242528915405,\r
4007         "z": "34265cd.7205424",\r
4008         "wires": [\r
4009             [\r
4010                 "dd887364.2936e",\r
4011                 "ee8eb9ce.fef06",\r
4012                 "3f48cbb0.25141c",\r
4013                 "a0f0f960.3140c8"\r
4014             ]\r
4015         ]\r
4016     },\r
4017     {\r
4018         "id": "dd887364.2936e",\r
4019         "type": "set",\r
4020         "name": "set vnf-network-index to -1",\r
4021         "xml": "<set>\n<parameter name='vnf-network-index' value='-1' />\n",\r
4022         "comments": "",\r
4023         "x": 1408.7500114440918,\r
4024         "y": 2868.357466697693,\r
4025         "z": "34265cd.7205424",\r
4026         "wires": []\r
4027     },\r
4028     {\r
4029         "id": "ee8eb9ce.fef06",\r
4030         "type": "for",\r
4031         "name": "for each vnf-network",\r
4032         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network_length`' >\n",\r
4033         "comments": "",\r
4034         "outputs": 1,\r
4035         "x": 1390.4168014526367,\r
4036         "y": 2915.024218559265,\r
4037         "z": "34265cd.7205424",\r
4038         "wires": [\r
4039             [\r
4040                 "e1cac1a5.f31bf"\r
4041             ]\r
4042         ]\r
4043     },\r
4044     {\r
4045         "id": "e1cac1a5.f31bf",\r
4046         "type": "switchNode",\r
4047         "name": "switch network-roles match?",\r
4048         "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-network-role\n  == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$idx].network-role`'>\n",\r
4049         "comments": "",\r
4050         "outputs": 1,\r
4051         "x": 1632.0832710266113,\r
4052         "y": 2913.357713699341,\r
4053         "z": "34265cd.7205424",\r
4054         "wires": [\r
4055             [\r
4056                 "d60f049.7085ef8"\r
4057             ]\r
4058         ]\r
4059     },\r
4060     {\r
4061         "id": "d60f049.7085ef8",\r
4062         "type": "outcomeTrue",\r
4063         "name": "true",\r
4064         "xml": "<outcome value='true'>\n",\r
4065         "comments": "",\r
4066         "outputs": 1,\r
4067         "x": 1828.7499504089355,\r
4068         "y": 2913.357632637024,\r
4069         "z": "34265cd.7205424",\r
4070         "wires": [\r
4071             [\r
4072                 "4013cdce.5ea73c"\r
4073             ]\r
4074         ]\r
4075     },\r
4076     {\r
4077         "id": "4013cdce.5ea73c",\r
4078         "type": "block",\r
4079         "name": "block : atomic",\r
4080         "xml": "<block atomic=\"true\">",\r
4081         "atomic": "true",\r
4082         "outputs": 1,\r
4083         "x": 1982.0831718444824,\r
4084         "y": 2913.3575048446655,\r
4085         "z": "34265cd.7205424",\r
4086         "wires": [\r
4087             [\r
4088                 "903a3aca.3e3288",\r
4089                 "4a6e737f.7ebf6c",\r
4090                 "9291e114.ac1f58"\r
4091             ]\r
4092         ]\r
4093     },\r
4094     {\r
4095         "id": "903a3aca.3e3288",\r
4096         "type": "set",\r
4097         "name": "set vnf-network-index",\r
4098         "xml": "<set>\n<parameter name='vnf-network-index' value='`$idx`' />\n",\r
4099         "comments": "",\r
4100         "x": 2188.7500038146973,\r
4101         "y": 2861.6908826828003,\r
4102         "z": "34265cd.7205424",\r
4103         "wires": []\r
4104     },\r
4105     {\r
4106         "id": "4a6e737f.7ebf6c",\r
4107         "type": "break",\r
4108         "name": "break",\r
4109         "xml": "<break>\n",\r
4110         "comments": "",\r
4111         "x": 2143.7499198913574,\r
4112         "y": 2951.690803527832,\r
4113         "z": "34265cd.7205424",\r
4114         "wires": []\r
4115     },\r
4116     {\r
4117         "id": "3f48cbb0.25141c",\r
4118         "type": "switchNode",\r
4119         "name": "switch vnf-network-index",\r
4120         "xml": "<switch test='`$vnf-network-index`'>\n",\r
4121         "comments": "",\r
4122         "outputs": 1,\r
4123         "x": 1402.083339691162,\r
4124         "y": 2975.0242204666138,\r
4125         "z": "34265cd.7205424",\r
4126         "wires": [\r
4127             [\r
4128                 "b6265ed2.699af8"\r
4129             ]\r
4130         ]\r
4131     },\r
4132     {\r
4133         "id": "b6265ed2.699af8",\r
4134         "type": "outcome",\r
4135         "name": "-1",\r
4136         "xml": "<outcome value='-1'>\n",\r
4137         "comments": "",\r
4138         "outputs": 1,\r
4139         "x": 1593.7499809265137,\r
4140         "y": 2975.0244646072388,\r
4141         "z": "34265cd.7205424",\r
4142         "wires": [\r
4143             [\r
4144                 "2ed011a8.f17046"\r
4145             ]\r
4146         ]\r
4147     },\r
4148     {\r
4149         "id": "2ed011a8.f17046",\r
4150         "type": "block",\r
4151         "name": "block : atomic",\r
4152         "xml": "<block atomic=\"true\">",\r
4153         "atomic": "true",\r
4154         "outputs": 1,\r
4155         "x": 1742.0831718444824,\r
4156         "y": 2973.3575048446655,\r
4157         "z": "34265cd.7205424",\r
4158         "wires": [\r
4159             [\r
4160                 "4023444f.ec71fc",\r
4161                 "f3cab335.7ec9f"\r
4162             ]\r
4163         ]\r
4164     },\r
4165     {\r
4166         "id": "cc22dd63.414278",\r
4167         "type": "block",\r
4168         "name": "block : atomic",\r
4169         "xml": "<block atomic=\"true\">",\r
4170         "atomic": "true",\r
4171         "outputs": 1,\r
4172         "x": 2433.7498893737793,\r
4173         "y": 3383.357356071472,\r
4174         "z": "34265cd.7205424",\r
4175         "wires": [\r
4176             [\r
4177                 "7043f864.7c537",\r
4178                 "4ca198d0.a53ec8",\r
4179                 "791dbcea.c3f15c"\r
4180             ]\r
4181         ]\r
4182     },\r
4183     {\r
4184         "id": "7043f864.7c537",\r
4185         "type": "for",\r
4186         "name": "for each subnet-data",\r
4187         "xml": "<for index='subnet-data-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data_length`' >\n",\r
4188         "comments": "",\r
4189         "outputs": 1,\r
4190         "x": 2630.4166412353516,\r
4191         "y": 3338.3572750091553,\r
4192         "z": "34265cd.7205424",\r
4193         "wires": [\r
4194             [\r
4195                 "52062448.8dfe2c"\r
4196             ]\r
4197         ]\r
4198     },\r
4199     {\r
4200         "id": "52062448.8dfe2c",\r
4201         "type": "switchNode",\r
4202         "name": "address-families match?",\r
4203         "xml": "<switch test='`$tmp.address-family\n  == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].ip-version`'>\n",\r
4204         "comments": "",\r
4205         "outputs": 1,\r
4206         "x": 2857.083267211914,\r
4207         "y": 3338.3572750091553,\r
4208         "z": "34265cd.7205424",\r
4209         "wires": [\r
4210             [\r
4211                 "543cb01a.eba16"\r
4212             ]\r
4213         ]\r
4214     },\r
4215     {\r
4216         "id": "543cb01a.eba16",\r
4217         "type": "outcomeTrue",\r
4218         "name": "true",\r
4219         "xml": "<outcome value='true'>\n",\r
4220         "comments": "",\r
4221         "outputs": 1,\r
4222         "x": 3037.0832328796387,\r
4223         "y": 3338.357681274414,\r
4224         "z": "34265cd.7205424",\r
4225         "wires": [\r
4226             [\r
4227                 "bdf7e6b7.6ee818"\r
4228             ]\r
4229         ]\r
4230     },\r
4231     {\r
4232         "id": "60ebadf1.68a63c",\r
4233         "type": "set",\r
4234         "name": "set tmp.address-family",\r
4235         "xml": "<set>\n<parameter name='tmp.address-family'\n  value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-address-family`' />\n",\r
4236         "comments": "",\r
4237         "x": 2462.083225250244,\r
4238         "y": 3201.6907691955566,\r
4239         "z": "34265cd.7205424",\r
4240         "wires": []\r
4241     },\r
4242     {\r
4243         "id": "400506a5.64a12",\r
4244         "type": "switchNode",\r
4245         "name": "switch vnfc-subnet-ip_length",\r
4246         "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip_length`'>\n",\r
4247         "comments": "",\r
4248         "outputs": 1,\r
4249         "x": 1907.083568572998,\r
4250         "y": 3198.357804298401,\r
4251         "z": "34265cd.7205424",\r
4252         "wires": [\r
4253             [\r
4254                 "e743e437.36a2c8",\r
4255                 "57980fd5.eb6b38",\r
4256                 "67a6a045.51b5d"\r
4257             ]\r
4258         ]\r
4259     },\r
4260     {\r
4261         "id": "e743e437.36a2c8",\r
4262         "type": "outcome",\r
4263         "name": "NULL",\r
4264         "xml": "<outcome value=''>",\r
4265         "comments": "",\r
4266         "outputs": 1,\r
4267         "x": 2108.7500801086426,\r
4268         "y": 3098.3573474884033,\r
4269         "z": "34265cd.7205424",\r
4270         "wires": [\r
4271             [\r
4272                 "14f67782.825778"\r
4273             ]\r
4274         ]\r
4275     },\r
4276     {\r
4277         "id": "57980fd5.eb6b38",\r
4278         "type": "other",\r
4279         "name": "other",\r
4280         "xml": "<outcome value='Other'>\n",\r
4281         "comments": "",\r
4282         "outputs": 1,\r
4283         "x": 2105.1787109375,\r
4284         "y": 3284.309638977051,\r
4285         "z": "34265cd.7205424",\r
4286         "wires": [\r
4287             [\r
4288                 "5396132e.ac2ccc"\r
4289             ]\r
4290         ]\r
4291     },\r
4292     {\r
4293         "id": "14f67782.825778",\r
4294         "type": "block",\r
4295         "name": "block",\r
4296         "xml": "<block>\n",\r
4297         "atomic": "false",\r
4298         "comments": "",\r
4299         "outputs": 1,\r
4300         "x": 2240.4166297912598,\r
4301         "y": 3121.024094581604,\r
4302         "z": "34265cd.7205424",\r
4303         "wires": [\r
4304             []\r
4305         ]\r
4306     },\r
4307     {\r
4308         "id": "a683f1c3.23c0e",\r
4309         "type": "set",\r
4310         "name": "set subnet-id to -1",\r
4311         "xml": "<set>\n<parameter name='subnet-id' value='-1' />\n",\r
4312         "comments": "",\r
4313         "x": 3130.417148590088,\r
4314         "y": 3500.024761199951,\r
4315         "z": "34265cd.7205424",\r
4316         "wires": []\r
4317     },\r
4318     {\r
4319         "id": "5396132e.ac2ccc",\r
4320         "type": "block",\r
4321         "name": "block : atomic",\r
4322         "xml": "<block atomic=\"true\">",\r
4323         "atomic": "true",\r
4324         "outputs": 1,\r
4325         "x": 2258.7501258850098,\r
4326         "y": 3283.357271194458,\r
4327         "z": "34265cd.7205424",\r
4328         "wires": [\r
4329             [\r
4330                 "60ebadf1.68a63c",\r
4331                 "cc22dd63.414278"\r
4332             ]\r
4333         ]\r
4334     },\r
4335     {\r
4336         "id": "8baea399.050c9",\r
4337         "type": "block",\r
4338         "name": "block : atomic",\r
4339         "xml": "<block atomic=\"true\">",\r
4340         "atomic": "true",\r
4341         "outputs": 1,\r
4342         "x": 4390.416746139526,\r
4343         "y": 3671.6912381649017,\r
4344         "z": "34265cd.7205424",\r
4345         "wires": [\r
4346             [\r
4347                 "2294588d.69be78",\r
4348                 "7cf89eba.e30e88"\r
4349             ]\r
4350         ]\r
4351     },\r
4352     {\r
4353         "id": "7cf89eba.e30e88",\r
4354         "type": "execute",\r
4355         "name": "execute isInSameSubnet",\r
4356         "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"isInSameSubnet\">\n\t<parameter name=\"firstIPAddr\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].network-start-address`\" />\n\t<parameter name=\"secondIPAddr\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[0].vnfc-ip-address`\" />\n\t<parameter name=\"subnet\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].cidr-mask`\" />\n\t<parameter name=\"ipType\" value=\"`$ip-type`\" />\n",\r
4357         "comments": "",\r
4358         "outputs": 1,\r
4359         "x": 4605.416748046875,\r
4360         "y": 3721.6909120082855,\r
4361         "z": "34265cd.7205424",\r
4362         "wires": [\r
4363             [\r
4364                 "b43b85f4.a3f6f"\r
4365             ]\r
4366         ]\r
4367     },\r
4368     {\r
4369         "id": "2294588d.69be78",\r
4370         "type": "switchNode",\r
4371         "name": "switch tmp.address-family",\r
4372         "xml": "<switch test='`$tmp.address-family`'>\n",\r
4373         "comments": "",\r
4374         "outputs": 1,\r
4375         "x": 4607.083904266357,\r
4376         "y": 3628.3578984737396,\r
4377         "z": "34265cd.7205424",\r
4378         "wires": [\r
4379             [\r
4380                 "594b959.c2361ec",\r
4381                 "9b3a3849.f2667"\r
4382             ]\r
4383         ]\r
4384     },\r
4385     {\r
4386         "id": "594b959.c2361ec",\r
4387         "type": "outcome",\r
4388         "name": "ipv4",\r
4389         "xml": "<outcome value='ipv4'>\n",\r
4390         "comments": "",\r
4391         "outputs": 1,\r
4392         "x": 4810.417166392008,\r
4393         "y": 3601.6911288102465,\r
4394         "z": "34265cd.7205424",\r
4395         "wires": [\r
4396             [\r
4397                 "6a520cb3.77f044"\r
4398             ]\r
4399         ]\r
4400     },\r
4401     {\r
4402         "id": "9b3a3849.f2667",\r
4403         "type": "outcome",\r
4404         "name": "ipv6",\r
4405         "xml": "<outcome value='ipv6'>\n",\r
4406         "comments": "",\r
4407         "outputs": 1,\r
4408         "x": 4810.416839599609,\r
4409         "y": 3648.3576562404633,\r
4410         "z": "34265cd.7205424",\r
4411         "wires": [\r
4412             [\r
4413                 "7af13a32.5ffc94"\r
4414             ]\r
4415         ]\r
4416     },\r
4417     {\r
4418         "id": "6a520cb3.77f044",\r
4419         "type": "set",\r
4420         "name": "set ip-type parameter to IPv4",\r
4421         "xml": "<set>\n<parameter name='ip-type' value='IPv4' />\n",\r
4422         "comments": "",\r
4423         "x": 5007.083652496338,\r
4424         "y": 3600.024602651596,\r
4425         "z": "34265cd.7205424",\r
4426         "wires": []\r
4427     },\r
4428     {\r
4429         "id": "7af13a32.5ffc94",\r
4430         "type": "set",\r
4431         "name": "set ip-type parameter to IPv6",\r
4432         "xml": "<set>\n<parameter name='ip-type' value='IPv6' />\n",\r
4433         "comments": "",\r
4434         "x": 5012.083530426025,\r
4435         "y": 3648.3576753139496,\r
4436         "z": "34265cd.7205424",\r
4437         "wires": []\r
4438     },\r
4439     {\r
4440         "id": "ab82723f.61758",\r
4441         "type": "block",\r
4442         "name": "block : atomic",\r
4443         "xml": "<block atomic=\"true\">",\r
4444         "atomic": "true",\r
4445         "outputs": 1,\r
4446         "x": 4945.416778564453,\r
4447         "y": 3721.3576753139496,\r
4448         "z": "34265cd.7205424",\r
4449         "wires": [\r
4450             [\r
4451                 "b1e91b4.62d23e8",\r
4452                 "7d551750.2413e8"\r
4453             ]\r
4454         ]\r
4455     },\r
4456     {\r
4457         "id": "b1e91b4.62d23e8",\r
4458         "type": "set",\r
4459         "name": "set subnet-id",\r
4460         "xml": "<set>\n<parameter name='subnet-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id`' />\n",\r
4461         "comments": "",\r
4462         "x": 5123.750099182129,\r
4463         "y": 3698.024162054062,\r
4464         "z": "34265cd.7205424",\r
4465         "wires": []\r
4466     },\r
4467     {\r
4468         "id": "7d551750.2413e8",\r
4469         "type": "break",\r
4470         "name": "break",\r
4471         "xml": "<break>\n",\r
4472         "comments": "",\r
4473         "x": 5108.750102996826,\r
4474         "y": 3744.6911561489105,\r
4475         "z": "34265cd.7205424",\r
4476         "wires": []\r
4477     },\r
4478     {\r
4479         "id": "99f86360.f7c048",\r
4480         "type": "switchNode",\r
4481         "name": "switch subnet-id",\r
4482         "xml": "<switch test='`$subnet-id`'>\n",\r
4483         "comments": "",\r
4484         "outputs": 1,\r
4485         "x": 3122.083023071289,\r
4486         "y": 3661.6914958953857,\r
4487         "z": "34265cd.7205424",\r
4488         "wires": [\r
4489             [\r
4490                 "3596c952.3e6b56"\r
4491             ]\r
4492         ]\r
4493     },\r
4494     {\r
4495         "id": "3596c952.3e6b56",\r
4496         "type": "outcome",\r
4497         "name": "-1",\r
4498         "xml": "<outcome value='-1'>\n",\r
4499         "comments": "",\r
4500         "outputs": 1,\r
4501         "x": 3278.7495880126953,\r
4502         "y": 3661.691431045532,\r
4503         "z": "34265cd.7205424",\r
4504         "wires": [\r
4505             [\r
4506                 "6bb9a9d2.d4614"\r
4507             ]\r
4508         ]\r
4509     },\r
4510     {\r
4511         "id": "6bb9a9d2.d4614",\r
4512         "type": "block",\r
4513         "name": "block : atomic",\r
4514         "xml": "<block atomic=\"true\">",\r
4515         "atomic": "true",\r
4516         "outputs": 1,\r
4517         "x": 3427.082778930664,\r
4518         "y": 3660.024471282959,\r
4519         "z": "34265cd.7205424",\r
4520         "wires": [\r
4521             [\r
4522                 "1c39b653.2b576a",\r
4523                 "f3cab335.7ec9f"\r
4524             ]\r
4525         ]\r
4526     },\r
4527     {\r
4528         "id": "5e59b7e1.f58dd8",\r
4529         "type": "set",\r
4530         "name": "set subnet-id in vnfc-ip-assignments (temp variable)",\r
4531         "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id' value='`$subnet-id`' />\n",\r
4532         "comments": "",\r
4533         "x": 3233.749668121338,\r
4534         "y": 3738.3582668304443,\r
4535         "z": "34265cd.7205424",\r
4536         "wires": []\r
4537     },\r
4538     {\r
4539         "id": "fcdfebce.a935a8",\r
4540         "type": "execute",\r
4541         "name": "printContext",\r
4542         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmodulec.log' />\n",\r
4543         "comments": "",\r
4544         "outputs": 1,\r
4545         "x": 587.0832633972168,\r
4546         "y": 3333.3575048446655,\r
4547         "z": "34265cd.7205424",\r
4548         "wires": [\r
4549             []\r
4550         ]\r
4551     },\r
4552     {\r
4553         "id": "b43b85f4.a3f6f",\r
4554         "type": "success",\r
4555         "name": "success",\r
4556         "xml": "<outcome value='success'>\n",\r
4557         "comments": "",\r
4558         "outputs": 1,\r
4559         "x": 4792.083351135254,\r
4560         "y": 3721.6914002895355,\r
4561         "z": "34265cd.7205424",\r
4562         "wires": [\r
4563             [\r
4564                 "ab82723f.61758"\r
4565             ]\r
4566         ]\r
4567     },\r
4568     {\r
4569         "id": "9291e114.ac1f58",\r
4570         "type": "set",\r
4571         "name": "set network-id",\r
4572         "xml": "<set>\n<parameter name='$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].network-id'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$idx].network-id`' />\n",\r
4573         "comments": "",\r
4574         "x": 2165.4165077209473,\r
4575         "y": 2906.690965652466,\r
4576         "z": "34265cd.7205424",\r
4577         "wires": []\r
4578     },\r
4579     {\r
4580         "id": "67190c0.7b4b2f4",\r
4581         "type": "switchNode",\r
4582         "name": "switch nfc-naming-code",\r
4583         "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-naming-code`'>\n",\r
4584         "comments": "",\r
4585         "outputs": 1,\r
4586         "x": 1363.7499732971191,\r
4587         "y": 4521.6906933784485,\r
4588         "z": "34265cd.7205424",\r
4589         "wires": [\r
4590             [\r
4591                 "fbe686e0.5f0fd",\r
4592                 "957bd493.746db8"\r
4593             ]\r
4594         ]\r
4595     },\r
4596     {\r
4597         "id": "fbe686e0.5f0fd",\r
4598         "type": "outcome",\r
4599         "name": "NULL",\r
4600         "xml": "<outcome value=''>",\r
4601         "comments": "",\r
4602         "outputs": 1,\r
4603         "x": 1548.7499198913574,\r
4604         "y": 4496.690512180328,\r
4605         "z": "34265cd.7205424",\r
4606         "wires": [\r
4607             [\r
4608                 "accede8.fdef6a"\r
4609             ]\r
4610         ]\r
4611     },\r
4612     {\r
4613         "id": "957bd493.746db8",\r
4614         "type": "other",\r
4615         "name": "other",\r
4616         "xml": "<outcome value='Other'>\n",\r
4617         "comments": "",\r
4618         "outputs": 1,\r
4619         "x": 1546.8451919555664,\r
4620         "y": 4543.476339817047,\r
4621         "z": "34265cd.7205424",\r
4622         "wires": [\r
4623             [\r
4624                 "3d2d20a5.318a68"\r
4625             ]\r
4626         ]\r
4627     },\r
4628     {\r
4629         "id": "accede8.fdef6a",\r
4630         "type": "set",\r
4631         "name": "set tmp.nfc-naming-code to DEFAULT",\r
4632         "xml": "<set>\n<parameter name='tmp.nfc-naming-code' value='DEFAULT' />\n",\r
4633         "comments": "",\r
4634         "x": 1780.416690826416,\r
4635         "y": 4495.023862361908,\r
4636         "z": "34265cd.7205424",\r
4637         "wires": []\r
4638     },\r
4639     {\r
4640         "id": "3d2d20a5.318a68",\r
4641         "type": "set",\r
4642         "name": "set tmp.nfc-naming-code",\r
4643         "xml": "<set>\n<parameter name='tmp.nfc-naming-code' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-naming-code`' />\n",\r
4644         "comments": "",\r
4645         "x": 1737.0832023620605,\r
4646         "y": 4543.357360363007,\r
4647         "z": "34265cd.7205424",\r
4648         "wires": []\r
4649     },\r
4650     {\r
4651         "id": "2591369f.6e45f2",\r
4652         "type": "switchNode",\r
4653         "name": "switch nfc-function",\r
4654         "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-function`'>\n",\r
4655         "comments": "",\r
4656         "outputs": 1,\r
4657         "x": 1352.0833053588867,\r
4658         "y": 4620.0238671302795,\r
4659         "z": "34265cd.7205424",\r
4660         "wires": [\r
4661             [\r
4662                 "db65fbda.8eb47",\r
4663                 "25e9a13b.27b69e"\r
4664             ]\r
4665         ]\r
4666     },\r
4667     {\r
4668         "id": "db65fbda.8eb47",\r
4669         "type": "outcome",\r
4670         "name": "NULL",\r
4671         "xml": "<outcome value=''>",\r
4672         "comments": "",\r
4673         "outputs": 1,\r
4674         "x": 1548.749912261963,\r
4675         "y": 4595.0236649513245,\r
4676         "z": "34265cd.7205424",\r
4677         "wires": [\r
4678             [\r
4679                 "402342b6.e54cbc"\r
4680             ]\r
4681         ]\r
4682     },\r
4683     {\r
4684         "id": "25e9a13b.27b69e",\r
4685         "type": "other",\r
4686         "name": "other",\r
4687         "xml": "<outcome value='Other'>\n",\r
4688         "comments": "",\r
4689         "outputs": 1,\r
4690         "x": 1546.8451843261719,\r
4691         "y": 4641.809492588043,\r
4692         "z": "34265cd.7205424",\r
4693         "wires": [\r
4694             [\r
4695                 "fc9c94e4.1cab6"\r
4696             ]\r
4697         ]\r
4698     },\r
4699     {\r
4700         "id": "402342b6.e54cbc",\r
4701         "type": "set",\r
4702         "name": "set tmp.nfc-function to DEFAULT",\r
4703         "xml": "<set>\n<parameter name='tmp.nfc-function' value='DEFAULT' />\n",\r
4704         "comments": "",\r
4705         "x": 1760.4166946411133,\r
4706         "y": 4593.356873989105,\r
4707         "z": "34265cd.7205424",\r
4708         "wires": []\r
4709     },\r
4710     {\r
4711         "id": "fc9c94e4.1cab6",\r
4712         "type": "set",\r
4713         "name": "set tmp.nfc-function",\r
4714         "xml": "<set>\n<parameter name='tmp.nfc-function' value='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].nfc-function`' />\n",\r
4715         "comments": "",\r
4716         "x": 1718.7498245239258,\r
4717         "y": 4641.690535068512,\r
4718         "z": "34265cd.7205424",\r
4719         "wires": []\r
4720     },\r
4721     {\r
4722         "id": "56804039.82c95",\r
4723         "type": "switchNode",\r
4724         "name": "switch network-roles match?",\r
4725         "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-network-role\n  == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-role`'>\n",\r
4726         "comments": "",\r
4727         "outputs": 1,\r
4728         "x": 2025.4166221618652,\r
4729         "y": 5518.690894603729,\r
4730         "z": "34265cd.7205424",\r
4731         "wires": [\r
4732             [\r
4733                 "d7344243.b04a2"\r
4734             ]\r
4735         ]\r
4736     },\r
4737     {\r
4738         "id": "d7344243.b04a2",\r
4739         "type": "outcomeTrue",\r
4740         "name": "true",\r
4741         "xml": "<outcome value='true'>\n",\r
4742         "comments": "",\r
4743         "outputs": 1,\r
4744         "x": 2223.7500915527344,\r
4745         "y": 5518.358049869537,\r
4746         "z": "34265cd.7205424",\r
4747         "wires": [\r
4748             [\r
4749                 "1b4d007d.b0d738"\r
4750             ]\r
4751         ]\r
4752     },\r
4753     {\r
4754         "id": "a50b0d5a.ce5908",\r
4755         "type": "switchNode",\r
4756         "name": "switch network-roles match?",\r
4757         "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role\n  == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-role`'>\n",\r
4758         "comments": "",\r
4759         "outputs": 1,\r
4760         "x": 2028.7499656677246,\r
4761         "y": 5678.357342243195,\r
4762         "z": "34265cd.7205424",\r
4763         "wires": [\r
4764             [\r
4765                 "ecf473bc.4b56a8"\r
4766             ]\r
4767         ]\r
4768     },\r
4769     {\r
4770         "id": "ecf473bc.4b56a8",\r
4771         "type": "outcomeTrue",\r
4772         "name": "true",\r
4773         "xml": "<outcome value='true'>\n",\r
4774         "comments": "",\r
4775         "outputs": 1,\r
4776         "x": 2227.0834350585938,\r
4777         "y": 5678.024497509003,\r
4778         "z": "34265cd.7205424",\r
4779         "wires": [\r
4780             [\r
4781                 "b14df7f0.70279"\r
4782             ]\r
4783         ]\r
4784     },\r
4785     {\r
4786         "id": "f2b022e3.1f756",\r
4787         "type": "block",\r
4788         "name": "block : atomic",\r
4789         "xml": "<block atomic=\"true\">",\r
4790         "atomic": "true",\r
4791         "outputs": 1,\r
4792         "x": 1932.0832481384277,\r
4793         "y": 6256.690762042999,\r
4794         "z": "34265cd.7205424",\r
4795         "wires": [\r
4796             [\r
4797                 "cd3cd499.458be8",\r
4798                 "8f630208.bc1d7"\r
4799             ]\r
4800         ]\r
4801     },\r
4802     {\r
4803         "id": "d27afbea.8fdbb",\r
4804         "type": "block",\r
4805         "name": "block : atomic",\r
4806         "xml": "<block atomic=\"true\">",\r
4807         "atomic": "true",\r
4808         "outputs": 1,\r
4809         "x": 1933.7499961853027,\r
4810         "y": 6571.690773487091,\r
4811         "z": "34265cd.7205424",\r
4812         "wires": [\r
4813             [\r
4814                 "636270ad.cb1f1",\r
4815                 "8293c8c0.560c58"\r
4816             ]\r
4817         ]\r
4818     },\r
4819     {\r
4820         "id": "8f630208.bc1d7",\r
4821         "type": "for",\r
4822         "name": "for each vnfc-network-role",\r
4823         "xml": "<for silentFailure='true' index='vnfc-network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",\r
4824         "comments": "",\r
4825         "outputs": 1,\r
4826         "x": 2148.7501945495605,\r
4827         "y": 6315.023932933807,\r
4828         "z": "34265cd.7205424",\r
4829         "wires": [\r
4830             [\r
4831                 "a6245c2f.d57048"\r
4832             ]\r
4833         ]\r
4834     },\r
4835     {\r
4836         "id": "c5f5f167.b223a",\r
4837         "type": "save",\r
4838         "name": "save vip-ipv4-address-list relationship to cp",\r
4839         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vip-ipv4-address-list:relationship-list\"\n   key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv4-address-list.vip-ipv4-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v4[$ipv4-index]\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"cp\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/vnfcs/vnfc/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n        + '/cps/cp/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].connection-point.connection-point-id`\" />\n",\r
4840         "comments": "",\r
4841         "outputs": 1,\r
4842         "x": 2823.7501182556152,\r
4843         "y": 6315.023771762848,\r
4844         "z": "34265cd.7205424",\r
4845         "wires": [\r
4846             [\r
4847                 "af4f9563.46c848",\r
4848                 "20889d25.78e392"\r
4849             ]\r
4850         ]\r
4851     },\r
4852     {\r
4853         "id": "24613f9d.2d98c",\r
4854         "type": "block",\r
4855         "name": "block : atomic",\r
4856         "xml": "<block atomic=\"true\">",\r
4857         "atomic": "true",\r
4858         "outputs": 1,\r
4859         "x": 3215.583209991455,\r
4860         "y": 6288.341553211212,\r
4861         "z": "34265cd.7205424",\r
4862         "wires": [\r
4863             [\r
4864                 "4923f1db.2fcc2",\r
4865                 "269063c8.ce5a84"\r
4866             ]\r
4867         ]\r
4868     },\r
4869     {\r
4870         "id": "215b3725.6db0e8",\r
4871         "type": "block",\r
4872         "name": "block : atomic",\r
4873         "xml": "<block atomic=\"true\">",\r
4874         "atomic": "true",\r
4875         "outputs": 1,\r
4876         "x": 3215.5832862854004,\r
4877         "y": 6341.34131193161,\r
4878         "z": "34265cd.7205424",\r
4879         "wires": [\r
4880             [\r
4881                 "97a750a7.0acbc8",\r
4882                 "269063c8.ce5a84"\r
4883             ]\r
4884         ]\r
4885     },\r
4886     {\r
4887         "id": "af4f9563.46c848",\r
4888         "type": "failure",\r
4889         "name": "failure",\r
4890         "xml": "<outcome value='failure'>\n",\r
4891         "comments": "",\r
4892         "outputs": 1,\r
4893         "x": 3058.7500953674316,\r
4894         "y": 6288.357223033905,\r
4895         "z": "34265cd.7205424",\r
4896         "wires": [\r
4897             [\r
4898                 "24613f9d.2d98c"\r
4899             ]\r
4900         ]\r
4901     },\r
4902     {\r
4903         "id": "20889d25.78e392",\r
4904         "type": "not-found",\r
4905         "name": "not-found",\r
4906         "xml": "<outcome value='not-found'>\n",\r
4907         "comments": "",\r
4908         "outputs": 1,\r
4909         "x": 3067.3216285705566,\r
4910         "y": 6340.976367473602,\r
4911         "z": "34265cd.7205424",\r
4912         "wires": [\r
4913             [\r
4914                 "215b3725.6db0e8"\r
4915             ]\r
4916         ]\r
4917     },\r
4918     {\r
4919         "id": "8293c8c0.560c58",\r
4920         "type": "for",\r
4921         "name": "for each vnfc-network-role",\r
4922         "xml": "<for silentFailure='true' index='vnfc-network-role-index' start='0' end='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data_length`' >\n",\r
4923         "comments": "",\r
4924         "outputs": 1,\r
4925         "x": 2150.416591644287,\r
4926         "y": 6638.357342243195,\r
4927         "z": "34265cd.7205424",\r
4928         "wires": [\r
4929             [\r
4930                 "69d9fcf7.12a64c"\r
4931             ]\r
4932         ]\r
4933     },\r
4934     {\r
4935         "id": "d0a7f2e0.3a2078",\r
4936         "type": "save",\r
4937         "name": "save vip-ipv6-address-list relationship to cp",\r
4938         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"vip-ipv6-address-list:relationship-list\"\n   key=\"cloud-region.cloud-owner = $prop.cloud-region.cloud-owner\n\t  AND cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region\n\t  AND vip-ipv6-address-list.vip-ipv6-address = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$vm-network-index].floating-ips.floating-ip-v6[$ipv6-index]\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"relationship-list.relationship[0].related-to\" value=\"cp\" />\n    <parameter name=\"relationship-list.relationship[0].related-link\"\n      value=\"`'/aai/v$/network/vnfcs/vnfc/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\n        + '/cps/cp/'\n        + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].connection-point.connection-point-id`\" />\n",\r
4939         "comments": "",\r
4940         "outputs": 1,\r
4941         "x": 2820.41654586792,\r
4942         "y": 6636.690124988556,\r
4943         "z": "34265cd.7205424",\r
4944         "wires": [\r
4945             [\r
4946                 "84935ce4.e84668",\r
4947                 "5e735e5d.b462a8"\r
4948             ]\r
4949         ]\r
4950     },\r
4951     {\r
4952         "id": "32fbd7c1.249f1",\r
4953         "type": "block",\r
4954         "name": "block : atomic",\r
4955         "xml": "<block atomic=\"true\">",\r
4956         "atomic": "true",\r
4957         "outputs": 1,\r
4958         "x": 3212.2496376037598,\r
4959         "y": 6610.00790643692,\r
4960         "z": "34265cd.7205424",\r
4961         "wires": [\r
4962             [\r
4963                 "fc4213a2.47c98",\r
4964                 "269063c8.ce5a84"\r
4965             ]\r
4966         ]\r
4967     },\r
4968     {\r
4969         "id": "d624a09c.620df",\r
4970         "type": "block",\r
4971         "name": "block : atomic",\r
4972         "xml": "<block atomic=\"true\">",\r
4973         "atomic": "true",\r
4974         "outputs": 1,\r
4975         "x": 3212.249713897705,\r
4976         "y": 6663.007665157318,\r
4977         "z": "34265cd.7205424",\r
4978         "wires": [\r
4979             [\r
4980                 "fd80fcb3.880c8",\r
4981                 "269063c8.ce5a84"\r
4982             ]\r
4983         ]\r
4984     },\r
4985     {\r
4986         "id": "84935ce4.e84668",\r
4987         "type": "failure",\r
4988         "name": "failure",\r
4989         "xml": "<outcome value='failure'>\n",\r
4990         "comments": "",\r
4991         "outputs": 1,\r
4992         "x": 3055.4165229797363,\r
4993         "y": 6610.023576259613,\r
4994         "z": "34265cd.7205424",\r
4995         "wires": [\r
4996             [\r
4997                 "32fbd7c1.249f1"\r
4998             ]\r
4999         ]\r
5000     },\r
5001     {\r
5002         "id": "5e735e5d.b462a8",\r
5003         "type": "not-found",\r
5004         "name": "not-found",\r
5005         "xml": "<outcome value='not-found'>\n",\r
5006         "comments": "",\r
5007         "outputs": 1,\r
5008         "x": 3063.9880561828613,\r
5009         "y": 6662.64272069931,\r
5010         "z": "34265cd.7205424",\r
5011         "wires": [\r
5012             [\r
5013                 "d624a09c.620df"\r
5014             ]\r
5015         ]\r
5016     },\r
5017     {\r
5018         "id": "a6245c2f.d57048",\r
5019         "type": "switchNode",\r
5020         "name": "switch network-roles match?",\r
5021         "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role\n  == $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].vnfc-network-role`'>\n",\r
5022         "comments": "",\r
5023         "outputs": 1,\r
5024         "x": 2402.083263397217,\r
5025         "y": 6315.023609638214,\r
5026         "z": "34265cd.7205424",\r
5027         "wires": [\r
5028             [\r
5029                 "372012a9.b14566"\r
5030             ]\r
5031         ]\r
5032     },\r
5033     {\r
5034         "id": "372012a9.b14566",\r
5035         "type": "outcomeTrue",\r
5036         "name": "true",\r
5037         "xml": "<outcome value='true'>\n",\r
5038         "comments": "",\r
5039         "outputs": 1,\r
5040         "x": 2588.7501068115234,\r
5041         "y": 6315.02409696579,\r
5042         "z": "34265cd.7205424",\r
5043         "wires": [\r
5044             [\r
5045                 "c5f5f167.b223a"\r
5046             ]\r
5047         ]\r
5048     },\r
5049     {\r
5050         "id": "69d9fcf7.12a64c",\r
5051         "type": "switchNode",\r
5052         "name": "switch network-roles match?",\r
5053         "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role\n  == $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].vnfc-network-role`'>\n",\r
5054         "comments": "",\r
5055         "outputs": 1,\r
5056         "x": 2398.749843597412,\r
5057         "y": 6636.690350055695,\r
5058         "z": "34265cd.7205424",\r
5059         "wires": [\r
5060             [\r
5061                 "fc024c49.f1c3f"\r
5062             ]\r
5063         ]\r
5064     },\r
5065     {\r
5066         "id": "fc024c49.f1c3f",\r
5067         "type": "outcomeTrue",\r
5068         "name": "true",\r
5069         "xml": "<outcome value='true'>\n",\r
5070         "comments": "",\r
5071         "outputs": 1,\r
5072         "x": 2585.4166870117188,\r
5073         "y": 6636.69083738327,\r
5074         "z": "34265cd.7205424",\r
5075         "wires": [\r
5076             [\r
5077                 "d0a7f2e0.3a2078"\r
5078             ]\r
5079         ]\r
5080     },\r
5081     {\r
5082         "id": "1d4a09e3.74f01e",\r
5083         "type": "comment",\r
5084         "name": "SELF-SERVE FORK",\r
5085         "info": "",\r
5086         "comments": "",\r
5087         "x": 748.4642944335938,\r
5088         "y": 968.7976198196411,\r
5089         "z": "34265cd.7205424",\r
5090         "wires": []\r
5091     },\r
5092     {\r
5093         "id": "bb6a45ed.04707",\r
5094         "type": "comment",\r
5095         "name": "First, count the subnets for this address family",\r
5096         "info": "",\r
5097         "comments": "",\r
5098         "x": 2763.750400543213,\r
5099         "y": 3247.999765396118,\r
5100         "z": "34265cd.7205424",\r
5101         "wires": []\r
5102     },\r
5103     {\r
5104         "id": "b1ade774.cfc288",\r
5105         "type": "for",\r
5106         "name": "for each subnet-data",\r
5107         "xml": "<for index='subnet-data-index' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data_length`' >\n",\r
5108         "comments": "",\r
5109         "outputs": 1,\r
5110         "x": 3137.0830879211426,\r
5111         "y": 3543.000268936157,\r
5112         "z": "34265cd.7205424",\r
5113         "wires": [\r
5114             [\r
5115                 "1d2a481b.bb5bc8"\r
5116             ]\r
5117         ]\r
5118     },\r
5119     {\r
5120         "id": "1d2a481b.bb5bc8",\r
5121         "type": "switchNode",\r
5122         "name": "address-families match?",\r
5123         "xml": "<switch test='`$tmp.address-family\n  == $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].ip-version`'>\n",\r
5124         "comments": "",\r
5125         "outputs": 1,\r
5126         "x": 3363.749713897705,\r
5127         "y": 3543.000268936157,\r
5128         "z": "34265cd.7205424",\r
5129         "wires": [\r
5130             [\r
5131                 "79d9b537.c3936c"\r
5132             ]\r
5133         ]\r
5134     },\r
5135     {\r
5136         "id": "79d9b537.c3936c",\r
5137         "type": "outcomeTrue",\r
5138         "name": "true",\r
5139         "xml": "<outcome value='true'>\n",\r
5140         "comments": "",\r
5141         "outputs": 1,\r
5142         "x": 3543.7496795654297,\r
5143         "y": 3543.000675201416,\r
5144         "z": "34265cd.7205424",\r
5145         "wires": [\r
5146             [\r
5147                 "d1d8beb4.cea2d8"\r
5148             ]\r
5149         ]\r
5150     },\r
5151     {\r
5152         "id": "4ca198d0.a53ec8",\r
5153         "type": "set",\r
5154         "name": "set af-count to 0",\r
5155         "xml": "<set>\n<parameter name='af-count' value='0' />\n",\r
5156         "comments": "",\r
5157         "x": 2618.749973297119,\r
5158         "y": 3289.6665172576904,\r
5159         "z": "34265cd.7205424",\r
5160         "wires": []\r
5161     },\r
5162     {\r
5163         "id": "70a514e0.1d9e4c",\r
5164         "type": "set",\r
5165         "name": "increment af-count",\r
5166         "xml": "<set>\n<parameter name='af-count' value='`$af-count + 1`' />\n",\r
5167         "comments": "",\r
5168         "x": 3367.083339691162,\r
5169         "y": 3356.333267211914,\r
5170         "z": "34265cd.7205424",\r
5171         "wires": []\r
5172     },\r
5173     {\r
5174         "id": "bdf7e6b7.6ee818",\r
5175         "type": "block",\r
5176         "name": "block : atomic",\r
5177         "xml": "<block atomic=\"true\">",\r
5178         "atomic": "true",\r
5179         "outputs": 1,\r
5180         "x": 3183.749713897705,\r
5181         "y": 3337.999952316284,\r
5182         "z": "34265cd.7205424",\r
5183         "wires": [\r
5184             [\r
5185                 "70a514e0.1d9e4c",\r
5186                 "5bb16a61.6e69bc"\r
5187             ]\r
5188         ]\r
5189     },\r
5190     {\r
5191         "id": "5bb16a61.6e69bc",\r
5192         "type": "set",\r
5193         "name": "set subnet-id",\r
5194         "xml": "<set>\n<parameter name='subnet-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id`' />\n",\r
5195         "comments": "",\r
5196         "x": 3348.7497596740723,\r
5197         "y": 3311.3332653045654,\r
5198         "z": "34265cd.7205424",\r
5199         "wires": []\r
5200     },\r
5201     {\r
5202         "id": "791dbcea.c3f15c",\r
5203         "type": "switchNode",\r
5204         "name": "switch af-count",\r
5205         "xml": "<switch test='`$af-count`'>\n",\r
5206         "comments": "",\r
5207         "outputs": 1,\r
5208         "x": 2608.750385284424,\r
5209         "y": 3526.3334341049194,\r
5210         "z": "34265cd.7205424",\r
5211         "wires": [\r
5212             [\r
5213                 "ed47a0ef.b1bf78",\r
5214                 "79ae7762.a4525"\r
5215             ]\r
5216         ]\r
5217     },\r
5218     {\r
5219         "id": "ed47a0ef.b1bf78",\r
5220         "type": "outcome",\r
5221         "name": "1",\r
5222         "xml": "<outcome value='1'>\n",\r
5223         "comments": "",\r
5224         "outputs": 1,\r
5225         "x": 2768.7499046325684,\r
5226         "y": 3424.666603088379,\r
5227         "z": "34265cd.7205424",\r
5228         "wires": [\r
5229             [\r
5230                 "e053fb41.4c10f8"\r
5231             ]\r
5232         ]\r
5233     },\r
5234     {\r
5235         "id": "e053fb41.4c10f8",\r
5236         "type": "set",\r
5237         "name": "set subnet-id in vnfc-ip-assignments (temp variable)",\r
5238         "xml": "<set>\n<parameter name='tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id'\n  value='`$subnet-id`' />\n",\r
5239         "comments": "",\r
5240         "x": 3042.083209991455,\r
5241         "y": 3422.999952316284,\r
5242         "z": "34265cd.7205424",\r
5243         "wires": []\r
5244     },\r
5245     {\r
5246         "id": "79ae7762.a4525",\r
5247         "type": "other",\r
5248         "name": "other",\r
5249         "xml": "<outcome value='Other'>\n",\r
5250         "comments": "",\r
5251         "outputs": 1,\r
5252         "x": 2768.7498207092285,\r
5253         "y": 3626.333522796631,\r
5254         "z": "34265cd.7205424",\r
5255         "wires": [\r
5256             [\r
5257                 "f9e96cae.86b4f8"\r
5258             ]\r
5259         ]\r
5260     },\r
5261     {\r
5262         "id": "f9e96cae.86b4f8",\r
5263         "type": "block",\r
5264         "name": "block : atomic",\r
5265         "xml": "<block atomic=\"true\">",\r
5266         "atomic": "true",\r
5267         "outputs": 1,\r
5268         "x": 2925.41646194458,\r
5269         "y": 3626.333204269409,\r
5270         "z": "34265cd.7205424",\r
5271         "wires": [\r
5272             [\r
5273                 "a683f1c3.23c0e",\r
5274                 "b1ade774.cfc288",\r
5275                 "99f86360.f7c048",\r
5276                 "5e59b7e1.f58dd8"\r
5277             ]\r
5278         ]\r
5279     },\r
5280     {\r
5281         "id": "d1d8beb4.cea2d8",\r
5282         "type": "switchNode",\r
5283         "name": "switch network-start-address",\r
5284         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].network-start-address`'>\n",\r
5285         "comments": "",\r
5286         "outputs": 1,\r
5287         "x": 3738.749858856201,\r
5288         "y": 3541.3335189819336,\r
5289         "z": "34265cd.7205424",\r
5290         "wires": [\r
5291             [\r
5292                 "2066aba2.d3bb4c",\r
5293                 "f3e101cd.85b1b8"\r
5294             ]\r
5295         ]\r
5296     },\r
5297     {\r
5298         "id": "2066aba2.d3bb4c",\r
5299         "type": "outcome",\r
5300         "name": "NULL",\r
5301         "xml": "<outcome value=''>",\r
5302         "comments": "",\r
5303         "outputs": 1,\r
5304         "x": 3935.416706085205,\r
5305         "y": 3476.333129644394,\r
5306         "z": "34265cd.7205424",\r
5307         "wires": [\r
5308             [\r
5309                 "c6a0914d.3826e8"\r
5310             ]\r
5311         ]\r
5312     },\r
5313     {\r
5314         "id": "f3e101cd.85b1b8",\r
5315         "type": "other",\r
5316         "name": "other",\r
5317         "xml": "<outcome value='Other'>\n",\r
5318         "comments": "",\r
5319         "outputs": 1,\r
5320         "x": 3928.512104034424,\r
5321         "y": 3610.6190412044525,\r
5322         "z": "34265cd.7205424",\r
5323         "wires": [\r
5324             [\r
5325                 "4cd6ad1.9e140d4"\r
5326             ]\r
5327         ]\r
5328     },\r
5329     {\r
5330         "id": "4cd6ad1.9e140d4",\r
5331         "type": "switchNode",\r
5332         "name": "switch cidr-mask",\r
5333         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].cidr-mask`'>\n",\r
5334         "comments": "",\r
5335         "outputs": 1,\r
5336         "x": 4083.749897003174,\r
5337         "y": 3609.6662480831146,\r
5338         "z": "34265cd.7205424",\r
5339         "wires": [\r
5340             [\r
5341                 "f5b0bc14.89cdb8",\r
5342                 "78b8442f.309bb4"\r
5343             ]\r
5344         ]\r
5345     },\r
5346     {\r
5347         "id": "f5b0bc14.89cdb8",\r
5348         "type": "outcome",\r
5349         "name": "NULL",\r
5350         "xml": "<outcome value=''>",\r
5351         "comments": "",\r
5352         "outputs": 1,\r
5353         "x": 4238.749973297119,\r
5354         "y": 3539.66654753685,\r
5355         "z": "34265cd.7205424",\r
5356         "wires": [\r
5357             [\r
5358                 "892836a6.bb30b8"\r
5359             ]\r
5360         ]\r
5361     },\r
5362     {\r
5363         "id": "78b8442f.309bb4",\r
5364         "type": "other",\r
5365         "name": "other",\r
5366         "xml": "<outcome value='Other'>\n",\r
5367         "comments": "",\r
5368         "outputs": 1,\r
5369         "x": 4241.845769882202,\r
5370         "y": 3672.2856347560883,\r
5371         "z": "34265cd.7205424",\r
5372         "wires": [\r
5373             [\r
5374                 "8baea399.050c9"\r
5375             ]\r
5376         ]\r
5377     },\r
5378     {\r
5379         "id": "67a6a045.51b5d",\r
5380         "type": "outcome",\r
5381         "name": "0",\r
5382         "xml": "<outcome value='0'>",\r
5383         "comments": "",\r
5384         "outputs": 1,\r
5385         "x": 2110.4165840148926,\r
5386         "y": 3146.333204269409,\r
5387         "z": "34265cd.7205424",\r
5388         "wires": [\r
5389             [\r
5390                 "14f67782.825778"\r
5391             ]\r
5392         ]\r
5393     },\r
5394     {\r
5395         "id": "c6a0914d.3826e8",\r
5396         "type": "block",\r
5397         "name": "block : atomic",\r
5398         "xml": "<block atomic=\"true\">",\r
5399         "atomic": "true",\r
5400         "outputs": 1,\r
5401         "x": 4080.416633605957,\r
5402         "y": 3476.3328969478607,\r
5403         "z": "34265cd.7205424",\r
5404         "wires": [\r
5405             [\r
5406                 "38e6ba0e.ecd3ae",\r
5407                 "f3cab335.7ec9f"\r
5408             ]\r
5409         ]\r
5410     },\r
5411     {\r
5412         "id": "892836a6.bb30b8",\r
5413         "type": "block",\r
5414         "name": "block : atomic",\r
5415         "xml": "<block atomic=\"true\">",\r
5416         "atomic": "true",\r
5417         "outputs": 1,\r
5418         "x": 4385.416488647461,\r
5419         "y": 3537.9997642040253,\r
5420         "z": "34265cd.7205424",\r
5421         "wires": [\r
5422             [\r
5423                 "5e50004f.2c9f",\r
5424                 "f3cab335.7ec9f"\r
5425             ]\r
5426         ]\r
5427     },\r
5428     {\r
5429         "id": "eafa8b76.275b48",\r
5430         "type": "comment",\r
5431         "name": "Ignore address families with no addresses",\r
5432         "info": "",\r
5433         "comments": "",\r
5434         "x": 2384.74995803833,\r
5435         "y": 3076.666700363159,\r
5436         "z": "34265cd.7205424",\r
5437         "wires": []\r
5438     },\r
5439     {\r
5440         "id": "f5615f88.05ae28",\r
5441         "type": "switchNode",\r
5442         "name": "switch invariant-uuid",\r
5443         "xml": "<switch test='`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].invariant-uuid`'>\n",\r
5444         "comments": "",\r
5445         "outputs": 1,\r
5446         "x": 1355.4167976379395,\r
5447         "y": 4706.333078384399,\r
5448         "z": "34265cd.7205424",\r
5449         "wires": [\r
5450             [\r
5451                 "32f079b9.ff27d6",\r
5452                 "1e96f66.5d21f8a"\r
5453             ]\r
5454         ]\r
5455     },\r
5456     {\r
5457         "id": "32f079b9.ff27d6",\r
5458         "type": "outcome",\r
5459         "name": "NULL",\r
5460         "xml": "<outcome value=''>",\r
5461         "comments": "",\r
5462         "outputs": 1,\r
5463         "x": 1537.083209991455,\r
5464         "y": 4682.999708175659,\r
5465         "z": "34265cd.7205424",\r
5466         "wires": [\r
5467             [\r
5468                 "f9cc9731.038f7"\r
5469             ]\r
5470         ]\r
5471     },\r
5472     {\r
5473         "id": "1e96f66.5d21f8a",\r
5474         "type": "other",\r
5475         "name": "other",\r
5476         "xml": "<outcome value='Other'>\n",\r
5477         "comments": "",\r
5478         "outputs": 1,\r
5479         "x": 1535.178482055664,\r
5480         "y": 4729.785535812378,\r
5481         "z": "34265cd.7205424",\r
5482         "wires": [\r
5483             [\r
5484                 "c87af5c.2b49f88"\r
5485             ]\r
5486         ]\r
5487     },\r
5488     {\r
5489         "id": "f9cc9731.038f7",\r
5490         "type": "save",\r
5491         "name": "save vnfc to A&AI",\r
5492         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vnfc\" \n\tkey=\"vnfc.vnfc-name = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name\" >\n<parameter name=\"vnfc-name\" value=\"`$tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`\" />\n<parameter name=\"nfc-naming-code\" value=\"`$tmp.nfc-naming-code`\" />\n<parameter name=\"nfc-function\" value=\"`$tmp.nfc-function`\" />\n<parameter name=\"orchestration-status\" value=\"`PendingCreate`\" />\n<parameter name=\"in-maint\" value=\"true\" />\n<parameter name=\"prov-status\" value=\"`PREPROV`\" />\n",\r
5493         "comments": "",\r
5494         "outputs": 1,\r
5495         "x": 1698.7498359680176,\r
5496         "y": 4684.666700363159,\r
5497         "z": "34265cd.7205424",\r
5498         "wires": [\r
5499             [\r
5500                 "d4c69512.b7a85",\r
5501                 "cb5ae333.4bb6c"\r
5502             ]\r
5503         ]\r
5504     },\r
5505     {\r
5506         "id": "a6f8df46.880ce8",\r
5507         "type": "switchNode",\r
5508         "name": "switch input cloud-owner",\r
5509         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.cloud-owner`'>\n",\r
5510         "comments": "",\r
5511         "outputs": 1,\r
5512         "x": 614.4641952514648,\r
5513         "y": 358.65472888946533,\r
5514         "z": "34265cd.7205424",\r
5515         "wires": [\r
5516             [\r
5517                 "6677fe8a.aff6a",\r
5518                 "6295c766.2daaa8"\r
5519             ]\r
5520         ]\r
5521     },\r
5522     {\r
5523         "id": "6677fe8a.aff6a",\r
5524         "type": "other",\r
5525         "name": "NULL",\r
5526         "xml": "<outcome value=''>\n",\r
5527         "comments": "",\r
5528         "outputs": 1,\r
5529         "x": 797.7975692749023,\r
5530         "y": 328.65471744537354,\r
5531         "z": "34265cd.7205424",\r
5532         "wires": [\r
5533             [\r
5534                 "39261ade.66ad8e"\r
5535             ]\r
5536         ]\r
5537     },\r
5538     {\r
5539         "id": "6295c766.2daaa8",\r
5540         "type": "other",\r
5541         "name": "other",\r
5542         "xml": "<outcome value='Other'>\n",\r
5543         "comments": "",\r
5544         "outputs": 1,\r
5545         "x": 797.5594749450684,\r
5546         "y": 369.6072111129761,\r
5547         "z": "34265cd.7205424",\r
5548         "wires": [\r
5549             [\r
5550                 "a2677766.fe3f"\r
5551             ]\r
5552         ]\r
5553     },\r
5554     {\r
5555         "id": "39261ade.66ad8e",\r
5556         "type": "block",\r
5557         "name": "block",\r
5558         "xml": "<block>\n",\r
5559         "atomic": "false",\r
5560         "comments": "",\r
5561         "outputs": 1,\r
5562         "x": 932.7975234985352,\r
5563         "y": 326.98805713653564,\r
5564         "z": "34265cd.7205424",\r
5565         "wires": [\r
5566             []\r
5567         ]\r
5568     },\r
5569     {\r
5570         "id": "a2677766.fe3f",\r
5571         "type": "set",\r
5572         "name": "set prop.cloud-region.cloud-owner",\r
5573         "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$vf-module-topology-operation-input.vf-module-request-input.cloud-owner`' />\n",\r
5574         "comments": "",\r
5575         "x": 1014.4641799926758,\r
5576         "y": 368.6547384262085,\r
5577         "z": "34265cd.7205424",\r
5578         "wires": []\r
5579     },\r
5580     {\r
5581         "id": "d918a5d3.4b678",\r
5582         "type": "call",\r
5583         "name": "call self-serve-vf-module-forking-logic",\r
5584         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-forking-logic' mode='sync' >\n",\r
5585         "comments": "",\r
5586         "outputs": 1,\r
5587         "x": 646.0515670776367,\r
5588         "y": 910.048059463501,\r
5589         "z": "34265cd.7205424",\r
5590         "wires": [\r
5591             []\r
5592         ]\r
5593     },\r
5594     {\r
5595         "id": "7933c6b5.bef96",\r
5596         "type": "switchNode",\r
5597         "name": "switch ss.self-serve-flag",\r
5598         "xml": "<switch test=\"`$ss.self-serve-flag`\">\n",\r
5599         "comments": "",\r
5600         "outputs": 1,\r
5601         "x": 604.1943054199219,\r
5602         "y": 1137.0481281280518,\r
5603         "z": "34265cd.7205424",\r
5604         "wires": [\r
5605             [\r
5606                 "aa4d9d31.8db2d",\r
5607                 "8b34e2b6.f12a5"\r
5608             ]\r
5609         ]\r
5610     },\r
5611     {\r
5612         "id": "aa4d9d31.8db2d",\r
5613         "type": "outcomeFalse",\r
5614         "name": "false",\r
5615         "xml": "<outcome value='false'>\n",\r
5616         "comments": "",\r
5617         "outputs": 1,\r
5618         "x": 824.908504486084,\r
5619         "y": 1254.6190271377563,\r
5620         "z": "34265cd.7205424",\r
5621         "wires": [\r
5622             [\r
5623                 "b2cbded2.837b2"\r
5624             ]\r
5625         ]\r
5626     },\r
5627     {\r
5628         "id": "8b34e2b6.f12a5",\r
5629         "type": "outcomeTrue",\r
5630         "name": "true",\r
5631         "xml": "<outcome value='true'>\n",\r
5632         "comments": "",\r
5633         "outputs": 1,\r
5634         "x": 825.4799575805664,\r
5635         "y": 1013.4766645431519,\r
5636         "z": "34265cd.7205424",\r
5637         "wires": [\r
5638             [\r
5639                 "be10b89.7317448"\r
5640             ]\r
5641         ]\r
5642     },\r
5643     {\r
5644         "id": "66d0262b.c1316",\r
5645         "type": "call",\r
5646         "name": "call check for VNF-API-preload and copy",\r
5647         "xml": "<call module='GENERIC-RESOURCE-API' rpc='gw-vfmodule-update' mode='sync' >\n",\r
5648         "comments": "",\r
5649         "outputs": 1,\r
5650         "x": 657.2499923706055,\r
5651         "y": 7316.2509298324585,\r
5652         "z": "34265cd.7205424",\r
5653         "wires": [\r
5654             []\r
5655         ]\r
5656     },\r
5657     {\r
5658         "id": "b097fd2d.1c3e2",\r
5659         "type": "block",\r
5660         "name": "block : atomic",\r
5661         "xml": "<block atomic=\"true\">",\r
5662         "atomic": "true",\r
5663         "outputs": 1,\r
5664         "x": 979.9999618530273,\r
5665         "y": 487.6302709579468,\r
5666         "z": "34265cd.7205424",\r
5667         "wires": [\r
5668             [\r
5669                 "7e3f0173.cdd7c8",\r
5670                 "52adbd59.e3948c"\r
5671             ]\r
5672         ]\r
5673     },\r
5674     {\r
5675         "id": "52adbd59.e3948c",\r
5676         "type": "configure",\r
5677         "name": "set error-message",\r
5678         "xml": "<set>\n<parameter name=\"error-message\" value=\"If svc-action is 'assign' then request-action must be 'CreateVfModuleInstance'\" />\n",\r
5679         "comments": "",\r
5680         "outputs": 1,\r
5681         "x": 1167.9166450500488,\r
5682         "y": 471.26124906539917,\r
5683         "z": "34265cd.7205424",\r
5684         "wires": [\r
5685             []\r
5686         ]\r
5687     },\r
5688     {\r
5689         "id": "2b23f970.b0e516",\r
5690         "type": "block",\r
5691         "name": "block : atomic",\r
5692         "xml": "<block atomic=\"true\">",\r
5693         "atomic": "true",\r
5694         "outputs": 1,\r
5695         "x": 1082.2022666931152,\r
5696         "y": 536.1183648109436,\r
5697         "z": "34265cd.7205424",\r
5698         "wires": [\r
5699             [\r
5700                 "fd16e118.302da8",\r
5701                 "7e3f0173.cdd7c8"\r
5702             ]\r
5703         ]\r
5704     },\r
5705     {\r
5706         "id": "fd16e118.302da8",\r
5707         "type": "configure",\r
5708         "name": "set error-message",\r
5709         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VF_MODULE_MODEL table\" />\n",\r
5710         "comments": "",\r
5711         "outputs": 1,\r
5712         "x": 1279.5236701965332,\r
5713         "y": 514.6540641784668,\r
5714         "z": "34265cd.7205424",\r
5715         "wires": [\r
5716             []\r
5717         ]\r
5718     },\r
5719     {\r
5720         "id": "19ca61b5.8fa5c6",\r
5721         "type": "block",\r
5722         "name": "block : atomic",\r
5723         "xml": "<block atomic=\"true\">",\r
5724         "atomic": "true",\r
5725         "outputs": 1,\r
5726         "x": 1096.4879722595215,\r
5727         "y": 581.2612175941467,\r
5728         "z": "34265cd.7205424",\r
5729         "wires": [\r
5730             [\r
5731                 "cb67a353.3c75b",\r
5732                 "7e3f0173.cdd7c8"\r
5733             ]\r
5734         ]\r
5735     },\r
5736     {\r
5737         "id": "cb67a353.3c75b",\r
5738         "type": "configure",\r
5739         "name": "set error-message",\r
5740         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No model found for VF module customization UUID ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />\n",\r
5741         "comments": "",\r
5742         "outputs": 1,\r
5743         "x": 1291.130859375,\r
5744         "y": 558.2255039215088,\r
5745         "z": "34265cd.7205424",\r
5746         "wires": [\r
5747             []\r
5748         ]\r
5749     },\r
5750     {\r
5751         "id": "57fdbbee.7122f4",\r
5752         "type": "block",\r
5753         "name": "block : atomic",\r
5754         "xml": "<block atomic=\"true\">",\r
5755         "atomic": "true",\r
5756         "outputs": 1,\r
5757         "x": 1058.095230102539,\r
5758         "y": 709.3326988220215,\r
5759         "z": "34265cd.7205424",\r
5760         "wires": [\r
5761             [\r
5762                 "f134d1f3.94396",\r
5763                 "7e3f0173.cdd7c8"\r
5764             ]\r
5765         ]\r
5766     },\r
5767     {\r
5768         "id": "f134d1f3.94396",\r
5769         "type": "configure",\r
5770         "name": "set error-message",\r
5771         "xml": "<set>\n<parameter name=\"error-message\" value=\"There are no VNFs defined in MD-SAL\" />\n",\r
5772         "comments": "",\r
5773         "outputs": 1,\r
5774         "x": 1265.0594863891602,\r
5775         "y": 680.3684234619141,\r
5776         "z": "34265cd.7205424",\r
5777         "wires": [\r
5778             []\r
5779         ]\r
5780     },\r
5781     {\r
5782         "id": "a0d2ddbe.4ce55",\r
5783         "type": "block",\r
5784         "name": "block : atomic",\r
5785         "xml": "<block atomic=\"true\">",\r
5786         "atomic": "true",\r
5787         "outputs": 1,\r
5788         "x": 922.3809356689453,\r
5789         "y": 817.3326988220215,\r
5790         "z": "34265cd.7205424",\r
5791         "wires": [\r
5792             [\r
5793                 "bb2e5ad9.46ca68",\r
5794                 "7e3f0173.cdd7c8"\r
5795             ]\r
5796         ]\r
5797     },\r
5798     {\r
5799         "id": "bb2e5ad9.46ca68",\r
5800         "type": "configure",\r
5801         "name": "set error-message",\r
5802         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find VNF ID ' + $vf-module-topology-operation-input.vnf-information.vnf-id + ' in MD-SAL'`\" />\n",\r
5803         "comments": "",\r
5804         "outputs": 1,\r
5805         "x": 1124.345230102539,\r
5806         "y": 792.6898679733276,\r
5807         "z": "34265cd.7205424",\r
5808         "wires": [\r
5809             []\r
5810         ]\r
5811     },\r
5812     {\r
5813         "id": "b91cfedb.3fa03",\r
5814         "type": "call",\r
5815         "name": "call self-serve-vf-module-assign",\r
5816         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-assign' mode='sync' >\n",\r
5817         "comments": "",\r
5818         "outputs": 1,\r
5819         "x": 1247.3325996398926,\r
5820         "y": 926.1062297821045,\r
5821         "z": "34265cd.7205424",\r
5822         "wires": [\r
5823             [\r
5824                 "70c27670.277bc"\r
5825             ]\r
5826         ]\r
5827     },\r
5828     {\r
5829         "id": "70c27670.277bc",\r
5830         "type": "failure",\r
5831         "name": "failure",\r
5832         "xml": "<outcome value='failure'>\n",\r
5833         "comments": "",\r
5834         "outputs": 1,\r
5835         "x": 1467.6301803588867,\r
5836         "y": 925.5942611694336,\r
5837         "z": "34265cd.7205424",\r
5838         "wires": [\r
5839             [\r
5840                 "adee9682.834c08"\r
5841             ]\r
5842         ]\r
5843     },\r
5844     {\r
5845         "id": "2b74d386.947184",\r
5846         "type": "returnSuccess",\r
5847         "name": "return success",\r
5848         "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
5849         "comments": "",\r
5850         "x": 1200.035270690918,\r
5851         "y": 1171.367787361145,\r
5852         "z": "34265cd.7205424",\r
5853         "wires": []\r
5854     },\r
5855     {\r
5856         "id": "f3642c27.ec6008",\r
5857         "type": "execute",\r
5858         "name": "printContext",\r
5859         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnfend.log' />\n",\r
5860         "comments": "",\r
5861         "outputs": 1,\r
5862         "x": 1186.2494812011719,\r
5863         "y": 1017.1094055175781,\r
5864         "z": "34265cd.7205424",\r
5865         "wires": [\r
5866             []\r
5867         ]\r
5868     },\r
5869     {\r
5870         "id": "d714905.ce5a3f",\r
5871         "type": "set",\r
5872         "name": "set order-status to PendingCreate",\r
5873         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.order-status'\n  value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n  value='`$vf-module-topology-operation-input.request-information.request-action`' />\n",\r
5874         "comments": "",\r
5875         "x": 1255.2732429504395,\r
5876         "y": 971.0702590942383,\r
5877         "z": "34265cd.7205424",\r
5878         "wires": []\r
5879     },\r
5880     {\r
5881         "id": "be10b89.7317448",\r
5882         "type": "block",\r
5883         "name": "block : atomic",\r
5884         "xml": "<block atomic=\"true\">",\r
5885         "atomic": "true",\r
5886         "outputs": 1,\r
5887         "x": 996.3687133789062,\r
5888         "y": 1012.5700912475586,\r
5889         "z": "34265cd.7205424",\r
5890         "wires": [\r
5891             [\r
5892                 "b91cfedb.3fa03",\r
5893                 "d714905.ce5a3f",\r
5894                 "f3642c27.ec6008",\r
5895                 "2b74d386.947184",\r
5896                 "57df4d97.1b3e74",\r
5897                 "60730953.c387"\r
5898             ]\r
5899         ]\r
5900     },\r
5901     {\r
5902         "id": "7e3f0173.cdd7c8",\r
5903         "type": "block",\r
5904         "name": "block : atomic",\r
5905         "xml": "<block atomic='true'>",\r
5906         "atomic": "true",\r
5907         "comments": "",\r
5908         "outputs": 1,\r
5909         "x": 1706.5477905273438,\r
5910         "y": 1193.904673576355,\r
5911         "z": "34265cd.7205424",\r
5912         "wires": [\r
5913             [\r
5914                 "78f1021d.4797bc",\r
5915                 "d65a69c8.cf6ba"\r
5916             ]\r
5917         ]\r
5918     },\r
5919     {\r
5920         "id": "adee9682.834c08",\r
5921         "type": "block",\r
5922         "name": "block : atomic",\r
5923         "xml": "<block atomic=\"true\">",\r
5924         "atomic": "true",\r
5925         "outputs": 1,\r
5926         "x": 1613.6309051513672,\r
5927         "y": 924.9756164550781,\r
5928         "z": "34265cd.7205424",\r
5929         "wires": [\r
5930             [\r
5931                 "f38280a4.feb028",\r
5932                 "7e3f0173.cdd7c8"\r
5933             ]\r
5934         ]\r
5935     },\r
5936     {\r
5937         "id": "f38280a4.feb028",\r
5938         "type": "configure",\r
5939         "name": "set error-message",\r
5940         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to create self-serve assignment for vf-module with vf-module-id=' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + ' with error: ' + $error-message`\" />\n",\r
5941         "comments": "",\r
5942         "outputs": 1,\r
5943         "x": 1811.3096618652344,\r
5944         "y": 904.2613258361816,\r
5945         "z": "34265cd.7205424",\r
5946         "wires": [\r
5947             []\r
5948         ]\r
5949     },\r
5950     {\r
5951         "id": "41d32aa.5f68754",\r
5952         "type": "configure",\r
5953         "name": "set error-message",\r
5954         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'VF module id ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id\n       + ' already exists, and status is ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.vf-module-level-oper-status.order-status`\" />\n",\r
5955         "comments": "",\r
5956         "outputs": 1,\r
5957         "x": 2518.750015258789,\r
5958         "y": 1423.4688367843628,\r
5959         "z": "34265cd.7205424",\r
5960         "wires": [\r
5961             []\r
5962         ]\r
5963     },\r
5964     {\r
5965         "id": "bdb7e590.4bbf98",\r
5966         "type": "block",\r
5967         "name": "block : atomic",\r
5968         "xml": "<block atomic=\"true\">",\r
5969         "atomic": "true",\r
5970         "outputs": 1,\r
5971         "x": 2324.8211059570312,\r
5972         "y": 1442.9331254959106,\r
5973         "z": "34265cd.7205424",\r
5974         "wires": [\r
5975             [\r
5976                 "41d32aa.5f68754",\r
5977                 "1d6f9b4e.71254d"\r
5978             ]\r
5979         ]\r
5980     },\r
5981     {\r
5982         "id": "e750571d.ca626",\r
5983         "type": "block",\r
5984         "name": "block : atomic",\r
5985         "xml": "<block atomic=\"true\">",\r
5986         "atomic": "true",\r
5987         "outputs": 1,\r
5988         "x": 1029.8213348388672,\r
5989         "y": 1660.5997676849365,\r
5990         "z": "34265cd.7205424",\r
5991         "wires": [\r
5992             [\r
5993                 "1a7b6a78.6a325e",\r
5994                 "1d6f9b4e.71254d"\r
5995             ]\r
5996         ]\r
5997     },\r
5998     {\r
5999         "id": "71cefe31.79b508",\r
6000         "type": "block",\r
6001         "name": "block : atomic",\r
6002         "xml": "<block atomic=\"true\">",\r
6003         "atomic": "true",\r
6004         "outputs": 1,\r
6005         "x": 1031.488021850586,\r
6006         "y": 1703.933141708374,\r
6007         "z": "34265cd.7205424",\r
6008         "wires": [\r
6009             [\r
6010                 "808569e9.5d9618",\r
6011                 "1d6f9b4e.71254d"\r
6012             ]\r
6013         ]\r
6014     },\r
6015     {\r
6016         "id": "1a7b6a78.6a325e",\r
6017         "type": "configure",\r
6018         "name": "set error-message",\r
6019         "xml": "<set>\n<parameter name=\"error-message\" value=\"Cloud region not found in AAI\" />\n",\r
6020         "comments": "",\r
6021         "outputs": 1,\r
6022         "x": 1233.75,\r
6023         "y": 1637.3855438232422,\r
6024         "z": "34265cd.7205424",\r
6025         "wires": [\r
6026             []\r
6027         ]\r
6028     },\r
6029     {\r
6030         "id": "808569e9.5d9618",\r
6031         "type": "configure",\r
6032         "name": "set error-message",\r
6033         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving cloud region from AAI.  Is AAI down?\" />\n",\r
6034         "comments": "",\r
6035         "outputs": 1,\r
6036         "x": 1229.1667404174805,\r
6037         "y": 1685.7188806533813,\r
6038         "z": "34265cd.7205424",\r
6039         "wires": [\r
6040             []\r
6041         ]\r
6042     },\r
6043     {\r
6044         "id": "2b8167ac.ee8e3",\r
6045         "type": "block",\r
6046         "name": "block : atomic",\r
6047         "xml": "<block atomic=\"true\">",\r
6048         "atomic": "true",\r
6049         "outputs": 1,\r
6050         "x": 914.4045486450195,\r
6051         "y": 1884.599820137024,\r
6052         "z": "34265cd.7205424",\r
6053         "wires": [\r
6054             [\r
6055                 "b31a2d90.6e6418",\r
6056                 "1d6f9b4e.71254d"\r
6057             ]\r
6058         ]\r
6059     },\r
6060     {\r
6061         "id": "b31a2d90.6e6418",\r
6062         "type": "configure",\r
6063         "name": "set error-message",\r
6064         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find aic-clli in AAI for aic-cloud-region ' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`\" />\n",\r
6065         "comments": "",\r
6066         "outputs": 1,\r
6067         "x": 1107.0832061767578,\r
6068         "y": 1857.3855504989624,\r
6069         "z": "34265cd.7205424",\r
6070         "wires": [\r
6071             []\r
6072         ]\r
6073     },\r
6074     {\r
6075         "id": "1d6f9b4e.71254d",\r
6076         "type": "block",\r
6077         "name": "block : atomic",\r
6078         "xml": "<block atomic='true'>",\r
6079         "atomic": "true",\r
6080         "comments": "",\r
6081         "outputs": 1,\r
6082         "x": 1708.5714492797852,\r
6083         "y": 2145.540556907654,\r
6084         "z": "34265cd.7205424",\r
6085         "wires": [\r
6086             [\r
6087                 "caca347e.8787d",\r
6088                 "a38241eb.287ec8"\r
6089             ]\r
6090         ]\r
6091     },\r
6092     {\r
6093         "id": "20ed866d.bb0ce2",\r
6094         "type": "call",\r
6095         "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
6096         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
6097         "comments": "",\r
6098         "outputs": 1,\r
6099         "x": 2823.74991607666,\r
6100         "y": 2633.7741470336914,\r
6101         "z": "34265cd.7205424",\r
6102         "wires": [\r
6103             []\r
6104         ]\r
6105     },\r
6106     {\r
6107         "id": "9af3e55f.6087e",\r
6108         "type": "block",\r
6109         "name": "block : atomic",\r
6110         "xml": "<block atomic='true'>",\r
6111         "atomic": "true",\r
6112         "comments": "",\r
6113         "outputs": 1,\r
6114         "x": 2441.011405944824,\r
6115         "y": 2684.19135761261,\r
6116         "z": "34265cd.7205424",\r
6117         "wires": [\r
6118             [\r
6119                 "20ed866d.bb0ce2",\r
6120                 "9ea0a8d5.338e78",\r
6121                 "bb2b8a64.4eda98"\r
6122             ]\r
6123         ]\r
6124     },\r
6125     {\r
6126         "id": "b201b2ed.f32f68",\r
6127         "type": "block",\r
6128         "name": "block : atomic",\r
6129         "xml": "<block atomic=\"true\">",\r
6130         "atomic": "true",\r
6131         "outputs": 1,\r
6132         "x": 3002.083209991455,\r
6133         "y": 2324.524369239807,\r
6134         "z": "34265cd.7205424",\r
6135         "wires": [\r
6136             [\r
6137                 "c392950a.4cd7e",\r
6138                 "9af3e55f.6087e"\r
6139             ]\r
6140         ]\r
6141     },\r
6142     {\r
6143         "id": "c392950a.4cd7e",\r
6144         "type": "configure",\r
6145         "name": "set error-message",\r
6146         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'from-preload flag is true but could not find preload information for VF module name ' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-name`\" />\n",\r
6147         "comments": "",\r
6148         "outputs": 1,\r
6149         "x": 3201.6664505004883,\r
6150         "y": 2291.1673135757446,\r
6151         "z": "34265cd.7205424",\r
6152         "wires": [\r
6153             []\r
6154         ]\r
6155     },\r
6156     {\r
6157         "id": "886e3c52.8c2238",\r
6158         "type": "block",\r
6159         "name": "block : atomic",\r
6160         "xml": "<block atomic=\"true\">",\r
6161         "atomic": "true",\r
6162         "outputs": 1,\r
6163         "x": 2173.987762451172,\r
6164         "y": 2472.1076765060425,\r
6165         "z": "34265cd.7205424",\r
6166         "wires": [\r
6167             [\r
6168                 "3be3b1ce.879d46",\r
6169                 "9af3e55f.6087e"\r
6170             ]\r
6171         ]\r
6172     },\r
6173     {\r
6174         "id": "3be3b1ce.879d46",\r
6175         "type": "configure",\r
6176         "name": "set error-message",\r
6177         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error retrieving preload-information\" />\n",\r
6178         "comments": "",\r
6179         "outputs": 1,\r
6180         "x": 2379.999870300293,\r
6181         "y": 2446.750412940979,\r
6182         "z": "34265cd.7205424",\r
6183         "wires": [\r
6184             []\r
6185         ]\r
6186     },\r
6187     {\r
6188         "id": "b6c26cf.773831",\r
6189         "type": "call",\r
6190         "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
6191         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
6192         "comments": "",\r
6193         "outputs": 1,\r
6194         "x": 4247.083518981934,\r
6195         "y": 4512.246376037598,\r
6196         "z": "34265cd.7205424",\r
6197         "wires": [\r
6198             []\r
6199         ]\r
6200     },\r
6201     {\r
6202         "id": "f3cab335.7ec9f",\r
6203         "type": "block",\r
6204         "name": "block : atomic",\r
6205         "xml": "<block atomic='true'>",\r
6206         "atomic": "true",\r
6207         "comments": "",\r
6208         "outputs": 1,\r
6209         "x": 3859.3447341918945,\r
6210         "y": 4558.913317203522,\r
6211         "z": "34265cd.7205424",\r
6212         "wires": [\r
6213             [\r
6214                 "b6c26cf.773831",\r
6215                 "3a601dac.7a4482",\r
6216                 "aee71bd7.cb4458"\r
6217             ]\r
6218         ]\r
6219     },\r
6220     {\r
6221         "id": "4023444f.ec71fc",\r
6222         "type": "configure",\r
6223         "name": "set error-message",\r
6224         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'VNFC network role '\n      + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-network-role\n      + ' is not found in VNF network list'\n      `\" />\n",\r
6225         "comments": "",\r
6226         "outputs": 1,\r
6227         "x": 1942.0833206176758,\r
6228         "y": 2955.718928337097,\r
6229         "z": "34265cd.7205424",\r
6230         "wires": [\r
6231             []\r
6232         ]\r
6233     },\r
6234     {\r
6235         "id": "38e6ba0e.ecd3ae",\r
6236         "type": "configure",\r
6237         "name": "set error-message",\r
6238         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'SDNC subnet id '\n      + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id\n      + ' does not have network-start-address populated'`\" />\n",\r
6239         "comments": "",\r
6240         "outputs": 1,\r
6241         "x": 4271.666809082031,\r
6242         "y": 3431.413005590439,\r
6243         "z": "34265cd.7205424",\r
6244         "wires": [\r
6245             []\r
6246         ]\r
6247     },\r
6248     {\r
6249         "id": "5e50004f.2c9f",\r
6250         "type": "configure",\r
6251         "name": "set error-message",\r
6252         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'SDNC subnet id '\n      + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].subnets-data.subnet-data[$subnet-data-index].sdnc-subnet-id\n      + ' does not have cidr-mask populated'`\" />\n",\r
6253         "comments": "",\r
6254         "outputs": 1,\r
6255         "x": 4586.666831970215,\r
6256         "y": 3508.9130125045776,\r
6257         "z": "34265cd.7205424",\r
6258         "wires": [\r
6259             []\r
6260         ]\r
6261     },\r
6262     {\r
6263         "id": "1c39b653.2b576a",\r
6264         "type": "configure",\r
6265         "name": "set error-message",\r
6266         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Not able to find VNF network subnet that contains address '\n      + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].vnfc-subnet-ip[0].vnfc-ip-address\n      `\" />",\r
6267         "comments": "",\r
6268         "outputs": 1,\r
6269         "x": 3634.1667861938477,\r
6270         "y": 3628.9130296707153,\r
6271         "z": "34265cd.7205424",\r
6272         "wires": [\r
6273             []\r
6274         ]\r
6275     },\r
6276     {\r
6277         "id": "d4e308ce.5712b",\r
6278         "type": "configure",\r
6279         "name": "set error-message",\r
6280         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error reading VFC_RELATED_NETWORK_ROLE table\" />\n",\r
6281         "comments": "",\r
6282         "outputs": 1,\r
6283         "x": 2074.861038208008,\r
6284         "y": 3865.441397666931,\r
6285         "z": "34265cd.7205424",\r
6286         "wires": [\r
6287             []\r
6288         ]\r
6289     },\r
6290     {\r
6291         "id": "e1873883.a0b338",\r
6292         "type": "configure",\r
6293         "name": "set error-message",\r
6294         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Unable to find related network '\n      + $db.vnf-related-network-role[$db-related-network-index].related-network-role + ' in vnf-networks'`\" />\n",\r
6295         "comments": "",\r
6296         "outputs": 1,\r
6297         "x": 2882.361099243164,\r
6298         "y": 4050.4411458969116,\r
6299         "z": "34265cd.7205424",\r
6300         "wires": [\r
6301             []\r
6302         ]\r
6303     },\r
6304     {\r
6305         "id": "64b6a50b.0e40cc",\r
6306         "type": "configure",\r
6307         "name": "set error-message",\r
6308         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error saving vnfc to AAI\" />\n",\r
6309         "comments": "",\r
6310         "outputs": 1,\r
6311         "x": 2258.7499465942383,\r
6312         "y": 4673.080787658691,\r
6313         "z": "34265cd.7205424",\r
6314         "wires": [\r
6315             []\r
6316         ]\r
6317     },\r
6318     {\r
6319         "id": "b8f70cec.245ee",\r
6320         "type": "call",\r
6321         "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
6322         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
6323         "comments": "",\r
6324         "outputs": 1,\r
6325         "x": 3735.555435180664,\r
6326         "y": 5868.081328392029,\r
6327         "z": "34265cd.7205424",\r
6328         "wires": [\r
6329             []\r
6330         ]\r
6331     },\r
6332     {\r
6333         "id": "deea8b7a.34ee38",\r
6334         "type": "block",\r
6335         "name": "block : atomic",\r
6336         "xml": "<block atomic='true'>",\r
6337         "atomic": "true",\r
6338         "comments": "",\r
6339         "outputs": 1,\r
6340         "x": 3349.066925048828,\r
6341         "y": 5910.998540878296,\r
6342         "z": "34265cd.7205424",\r
6343         "wires": [\r
6344             [\r
6345                 "b8f70cec.245ee",\r
6346                 "c7108bf6.17f21",\r
6347                 "eb62798f.37c47"\r
6348             ]\r
6349         ]\r
6350     },\r
6351     {\r
6352         "id": "ecec95d0.f03d18",\r
6353         "type": "configure",\r
6354         "name": "set error-message",\r
6355         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating vnfc relationships in AAI\" />\n",\r
6356         "comments": "",\r
6357         "outputs": 1,\r
6358         "x": 1896.09130859375,\r
6359         "y": 4786.83000087738,\r
6360         "z": "34265cd.7205424",\r
6361         "wires": [\r
6362             []\r
6363         ]\r
6364     },\r
6365     {\r
6366         "id": "4b5a4f9a.72aaf8",\r
6367         "type": "configure",\r
6368         "name": "set error-message",\r
6369         "xml": "<set>\n<parameter name=\"error-message\" value=\"Not-found error updating vnfc relationships\" />\n",\r
6370         "comments": "",\r
6371         "outputs": 1,\r
6372         "x": 1895.5556297302246,\r
6373         "y": 4843.794567108154,\r
6374         "z": "34265cd.7205424",\r
6375         "wires": [\r
6376             []\r
6377         ]\r
6378     },\r
6379     {\r
6380         "id": "56c543eb.6150dc",\r
6381         "type": "configure",\r
6382         "name": "set error-message",\r
6383         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error saving cp object to AAI\" />\n",\r
6384         "comments": "",\r
6385         "outputs": 1,\r
6386         "x": 2338.055639266968,\r
6387         "y": 5013.080267906189,\r
6388         "z": "34265cd.7205424",\r
6389         "wires": [\r
6390             []\r
6391         ]\r
6392     },\r
6393     {\r
6394         "id": "d01f264c.61c318",\r
6395         "type": "configure",\r
6396         "name": "set error-message",\r
6397         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating cp relationship to l3-network in AAI\" />\n",\r
6398         "comments": "",\r
6399         "outputs": 1,\r
6400         "x": 2993.0557022094727,\r
6401         "y": 5465.302522659302,\r
6402         "z": "34265cd.7205424",\r
6403         "wires": [\r
6404             []\r
6405         ]\r
6406     },\r
6407     {\r
6408         "id": "64482d7f.371044",\r
6409         "type": "configure",\r
6410         "name": "set error-message",\r
6411         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating cp relationship to l3-network\" />\n",\r
6412         "comments": "",\r
6413         "outputs": 1,\r
6414         "x": 2995.5557022094727,\r
6415         "y": 5527.802525520325,\r
6416         "z": "34265cd.7205424",\r
6417         "wires": [\r
6418             []\r
6419         ]\r
6420     },\r
6421     {\r
6422         "id": "7a163627.fcef3",\r
6423         "type": "configure",\r
6424         "name": "set error-message",\r
6425         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating cp relationship to l3-network and vlan-tag in AAI\" />\n",\r
6426         "comments": "",\r
6427         "outputs": 1,\r
6428         "x": 3324.1273040771484,\r
6429         "y": 5625.302538871765,\r
6430         "z": "34265cd.7205424",\r
6431         "wires": [\r
6432             []\r
6433         ]\r
6434     },\r
6435     {\r
6436         "id": "57dc1477.8da4b4",\r
6437         "type": "configure",\r
6438         "name": "set error-message",\r
6439         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating cp relationship to l3-network and vlan-tag\" />\n",\r
6440         "comments": "",\r
6441         "outputs": 1,\r
6442         "x": 3326.6274032592773,\r
6443         "y": 5687.802539825439,\r
6444         "z": "34265cd.7205424",\r
6445         "wires": [\r
6446             []\r
6447         ]\r
6448     },\r
6449     {\r
6450         "id": "a7be1c39.6ee63",\r
6451         "type": "configure",\r
6452         "name": "set error-message",\r
6453         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error creating l3-interface-ipv4-address-list object in AAI\" />\n",\r
6454         "comments": "",\r
6455         "outputs": 1,\r
6456         "x": 4015.9730072021484,\r
6457         "y": 5096.552495002747,\r
6458         "z": "34265cd.7205424",\r
6459         "wires": [\r
6460             []\r
6461         ]\r
6462     },\r
6463     {\r
6464         "id": "a4494b11.30c988",\r
6465         "type": "configure",\r
6466         "name": "set error-message",\r
6467         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating l3-interface-ipv4-address-list relationships in AAI\" />\n",\r
6468         "comments": "",\r
6469         "outputs": 1,\r
6470         "x": 4013.4730072021484,\r
6471         "y": 5175.3025007247925,\r
6472         "z": "34265cd.7205424",\r
6473         "wires": [\r
6474             []\r
6475         ]\r
6476     },\r
6477     {\r
6478         "id": "3b6a1bff.11e25c",\r
6479         "type": "configure",\r
6480         "name": "set error-message",\r
6481         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating l3-interface-ipv4-address-list relationships\" />\n",\r
6482         "comments": "",\r
6483         "outputs": 1,\r
6484         "x": 4015.97274017334,\r
6485         "y": 5235.302507400513,\r
6486         "z": "34265cd.7205424",\r
6487         "wires": [\r
6488             []\r
6489         ]\r
6490     },\r
6491     {\r
6492         "id": "1d21480c.1addf8",\r
6493         "type": "configure",\r
6494         "name": "set error-message",\r
6495         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error creating l3-interface-ipv6-address-list object in AAI\" />\n",\r
6496         "comments": "",\r
6497         "outputs": 1,\r
6498         "x": 4019.7227478027344,\r
6499         "y": 5285.302512168884,\r
6500         "z": "34265cd.7205424",\r
6501         "wires": [\r
6502             []\r
6503         ]\r
6504     },\r
6505     {\r
6506         "id": "e3d10ed9.82b7b8",\r
6507         "type": "configure",\r
6508         "name": "set error-message",\r
6509         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating l3-interface-ipv6-address-list relationships in AAI\" />\n",\r
6510         "comments": "",\r
6511         "outputs": 1,\r
6512         "x": 4018.472480773926,\r
6513         "y": 5346.552515029907,\r
6514         "z": "34265cd.7205424",\r
6515         "wires": [\r
6516             []\r
6517         ]\r
6518     },\r
6519     {\r
6520         "id": "fedf80c9.88e5f",\r
6521         "type": "configure",\r
6522         "name": "set error-message",\r
6523         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating l3-interface-ipv6-address-list relationships\" />\n",\r
6524         "comments": "",\r
6525         "outputs": 1,\r
6526         "x": 4019.722480773926,\r
6527         "y": 5406.5525159835815,\r
6528         "z": "34265cd.7205424",\r
6529         "wires": [\r
6530             []\r
6531         ]\r
6532     },\r
6533     {\r
6534         "id": "aee903cd.9f721",\r
6535         "type": "call",\r
6536         "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
6537         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
6538         "comments": "",\r
6539         "outputs": 1,\r
6540         "x": 4429.722415924072,\r
6541         "y": 5532.802444458008,\r
6542         "z": "34265cd.7205424",\r
6543         "wires": [\r
6544             []\r
6545         ]\r
6546     },\r
6547     {\r
6548         "id": "b8d50b6.e90cc78",\r
6549         "type": "block",\r
6550         "name": "block : atomic",\r
6551         "xml": "<block atomic='true'>",\r
6552         "atomic": "true",\r
6553         "comments": "",\r
6554         "outputs": 1,\r
6555         "x": 4049.483901977539,\r
6556         "y": 5577.469656944275,\r
6557         "z": "34265cd.7205424",\r
6558         "wires": [\r
6559             [\r
6560                 "aee903cd.9f721",\r
6561                 "28125649.296d72",\r
6562                 "a39b4b61.59b038"\r
6563             ]\r
6564         ]\r
6565     },\r
6566     {\r
6567         "id": "8395e0d5.a4ecb8",\r
6568         "type": "call",\r
6569         "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
6570         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
6571         "comments": "",\r
6572         "outputs": 1,\r
6573         "x": 3853.1943283081055,\r
6574         "y": 6997.246689796448,\r
6575         "z": "34265cd.7205424",\r
6576         "wires": [\r
6577             []\r
6578         ]\r
6579     },\r
6580     {\r
6581         "id": "269063c8.ce5a84",\r
6582         "type": "block",\r
6583         "name": "block : atomic",\r
6584         "xml": "<block atomic='true'>",\r
6585         "atomic": "true",\r
6586         "comments": "",\r
6587         "outputs": 1,\r
6588         "x": 3465.455551147461,\r
6589         "y": 7047.663359642029,\r
6590         "z": "34265cd.7205424",\r
6591         "wires": [\r
6592             [\r
6593                 "8395e0d5.a4ecb8",\r
6594                 "8d26e950.2b598",\r
6595                 "a7b746c4.2d389"\r
6596             ]\r
6597         ]\r
6598     },\r
6599     {\r
6600         "id": "fd80fcb3.880c8",\r
6601         "type": "configure",\r
6602         "name": "set error-message",\r
6603         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",\r
6604         "comments": "",\r
6605         "outputs": 1,\r
6606         "x": 3403.194622039795,\r
6607         "y": 6635.996907234192,\r
6608         "z": "34265cd.7205424",\r
6609         "wires": [\r
6610             []\r
6611         ]\r
6612     },\r
6613     {\r
6614         "id": "fc4213a2.47c98",\r
6615         "type": "configure",\r
6616         "name": "set error-message",\r
6617         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationship to cp in AAI\" />\n",\r
6618         "comments": "",\r
6619         "outputs": 1,\r
6620         "x": 3396.944892883301,\r
6621         "y": 6572.247441291809,\r
6622         "z": "34265cd.7205424",\r
6623         "wires": [\r
6624             []\r
6625         ]\r
6626     },\r
6627     {\r
6628         "id": "97a750a7.0acbc8",\r
6629         "type": "configure",\r
6630         "name": "set error-message",\r
6631         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationship to cp\" />\n",\r
6632         "comments": "",\r
6633         "outputs": 1,\r
6634         "x": 3408.194625854492,\r
6635         "y": 6323.496886253357,\r
6636         "z": "34265cd.7205424",\r
6637         "wires": [\r
6638             []\r
6639         ]\r
6640     },\r
6641     {\r
6642         "id": "4923f1db.2fcc2",\r
6643         "type": "configure",\r
6644         "name": "set error-message",\r
6645         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationship to cp in AAI\" />\n",\r
6646         "comments": "",\r
6647         "outputs": 1,\r
6648         "x": 3408.194892883301,\r
6649         "y": 6262.247422218323,\r
6650         "z": "34265cd.7205424",\r
6651         "wires": [\r
6652             []\r
6653         ]\r
6654     },\r
6655     {\r
6656         "id": "84c51507.94d668",\r
6657         "type": "configure",\r
6658         "name": "set error-message",\r
6659         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv6-address-list relationships\" />\n",\r
6660         "comments": "",\r
6661         "outputs": 1,\r
6662         "x": 2775.6945877075195,\r
6663         "y": 6523.496897697449,\r
6664         "z": "34265cd.7205424",\r
6665         "wires": [\r
6666             []\r
6667         ]\r
6668     },\r
6669     {\r
6670         "id": "4a19d7b6.f2c47",\r
6671         "type": "configure",\r
6672         "name": "set error-message",\r
6673         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv6-address-list relationships in AAI\" />\n",\r
6674         "comments": "",\r
6675         "outputs": 1,\r
6676         "x": 2774.444580078125,\r
6677         "y": 6465.997433662415,\r
6678         "z": "34265cd.7205424",\r
6679         "wires": [\r
6680             []\r
6681         ]\r
6682     },\r
6683     {\r
6684         "id": "48c2cba4.91f6cc",\r
6685         "type": "configure",\r
6686         "name": "set error-message",\r
6687         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error saving vip-ipv6-address-list\" />\n",\r
6688         "comments": "",\r
6689         "outputs": 1,\r
6690         "x": 2438.194564819336,\r
6691         "y": 6409.746890068054,\r
6692         "z": "34265cd.7205424",\r
6693         "wires": [\r
6694             []\r
6695         ]\r
6696     },\r
6697     {\r
6698         "id": "37375282.76ddb6",\r
6699         "type": "configure",\r
6700         "name": "set error-message",\r
6701         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error saving vip-ipv6-address-list in AAI\" />\n",\r
6702         "comments": "",\r
6703         "outputs": 1,\r
6704         "x": 2438.194564819336,\r
6705         "y": 6355.996887207031,\r
6706         "z": "34265cd.7205424",\r
6707         "wires": [\r
6708             []\r
6709         ]\r
6710     },\r
6711     {\r
6712         "id": "bdc62da9.93398",\r
6713         "type": "configure",\r
6714         "name": "set error-message",\r
6715         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error updating vip-ipv4-address-list relationships\" />\n",\r
6716         "comments": "",\r
6717         "outputs": 1,\r
6718         "x": 2784.4445838928223,\r
6719         "y": 6198.496878623962,\r
6720         "z": "34265cd.7205424",\r
6721         "wires": [\r
6722             []\r
6723         ]\r
6724     },\r
6725     {\r
6726         "id": "c60c031b.634f38",\r
6727         "type": "configure",\r
6728         "name": "set error-message",\r
6729         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vip-ipv4-address-list relationships in AAI\" />\n",\r
6730         "comments": "",\r
6731         "outputs": 1,\r
6732         "x": 2785.6945877075195,\r
6733         "y": 6140.996874809265,\r
6734         "z": "34265cd.7205424",\r
6735         "wires": [\r
6736             []\r
6737         ]\r
6738     },\r
6739     {\r
6740         "id": "5573d94b.dc5",\r
6741         "type": "configure",\r
6742         "name": "set error-message",\r
6743         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Not-found error saving vip-ipv4-address-list\" />\n",\r
6744         "comments": "",\r
6745         "outputs": 1,\r
6746         "x": 2441.944564819336,\r
6747         "y": 6097.246870994568,\r
6748         "z": "34265cd.7205424",\r
6749         "wires": [\r
6750             []\r
6751         ]\r
6752     },\r
6753     {\r
6754         "id": "f4049c01.0aeaf",\r
6755         "type": "configure",\r
6756         "name": "set error-message",\r
6757         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error saving vip-ipv4-address-list in AAI\" />\n",\r
6758         "comments": "",\r
6759         "outputs": 1,\r
6760         "x": 2438.194564819336,\r
6761         "y": 6029.746867179871,\r
6762         "z": "34265cd.7205424",\r
6763         "wires": [\r
6764             []\r
6765         ]\r
6766     },\r
6767     {\r
6768         "id": "21dc9b2.c9b4164",\r
6769         "type": "configure",\r
6770         "name": "set error-message",\r
6771         "xml": "<set>\n<parameter name=\"error-message\" value=\"`'No l3-network found in AAI for network ID '\n      + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`\" />\n\n",\r
6772         "comments": "",\r
6773         "outputs": 1,\r
6774         "x": 1935.6945304870605,\r
6775         "y": 5954.746864318848,\r
6776         "z": "34265cd.7205424",\r
6777         "wires": [\r
6778             []\r
6779         ]\r
6780     },\r
6781     {\r
6782         "id": "c98dc3b.19af54",\r
6783         "type": "configure",\r
6784         "name": "set error-message",\r
6785         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vf-module relationships in AAI\" />\n",\r
6786         "comments": "",\r
6787         "outputs": 1,\r
6788         "x": 1936.9445266723633,\r
6789         "y": 5895.996856212616,\r
6790         "z": "34265cd.7205424",\r
6791         "wires": [\r
6792             []\r
6793         ]\r
6794     },\r
6795     {\r
6796         "id": "23db4204.137326",\r
6797         "type": "configure",\r
6798         "name": "set error-message",\r
6799         "xml": "<set>\n    <parameter name=\"error-message\" value=\"Error updating vf-module in AAI\" />\n",\r
6800         "comments": "",\r
6801         "outputs": 1,\r
6802         "x": 1088.749984741211,\r
6803         "y": 4326.830564498901,\r
6804         "z": "34265cd.7205424",\r
6805         "wires": [\r
6806             []\r
6807         ]\r
6808     },\r
6809     {\r
6810         "id": "c333832f.3cfc3",\r
6811         "type": "configure",\r
6812         "name": "set error-message",\r
6813         "xml": "<set>\n    <parameter name=\"error-message\" value=\"`'No vf-module found in AAI for vf module ID ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\" />\n",\r
6814         "comments": "",\r
6815         "outputs": 1,\r
6816         "x": 1092.499984741211,\r
6817         "y": 4403.080567359924,\r
6818         "z": "34265cd.7205424",\r
6819         "wires": [\r
6820             []\r
6821         ]\r
6822     },\r
6823     {\r
6824         "id": "9f112544.7f8a58",\r
6825         "type": "execute",\r
6826         "name": "printContext",\r
6827         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/bgb-vfmodule.log' />\n",\r
6828         "comments": "",\r
6829         "outputs": 1,\r
6830         "x": 476.07337188720703,\r
6831         "y": 7964.7099623680115,\r
6832         "z": "34265cd.7205424",\r
6833         "wires": [\r
6834             []\r
6835         ]\r
6836     },\r
6837     {\r
6838         "id": "84fdd3bf.927fd",\r
6839         "type": "execute",\r
6840         "name": "execute RestApiCallNode - PUT vf-module",\r
6841         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + 'vf-module-assign.json'`\" />\n    <parameter name='restapiUrl' value=\"`$prop.controller.url + $tmp.vf-module.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=\"vf-module-assign\" />\n\n",\r
6842         "comments": "",\r
6843         "outputs": 1,\r
6844         "x": 573.4065093994141,\r
6845         "y": 7823.908843040466,\r
6846         "z": "34265cd.7205424",\r
6847         "wires": [\r
6848             [\r
6849                 "48031f36.06a36",\r
6850                 "61c1ba7d.9ba324"\r
6851             ]\r
6852         ]\r
6853     },\r
6854     {\r
6855         "id": "48031f36.06a36",\r
6856         "type": "not-found",\r
6857         "name": "not-found",\r
6858         "xml": "<outcome value='not-found'>\n",\r
6859         "comments": "",\r
6860         "outputs": 1,\r
6861         "x": 854.1906814575195,\r
6862         "y": 7844.6049218177795,\r
6863         "z": "34265cd.7205424",\r
6864         "wires": [\r
6865             [\r
6866                 "b517797c.221e9"\r
6867             ]\r
6868         ]\r
6869     },\r
6870     {\r
6871         "id": "61c1ba7d.9ba324",\r
6872         "type": "failure",\r
6873         "name": "failure",\r
6874         "xml": "<outcome value='failure'>\n",\r
6875         "comments": "",\r
6876         "outputs": 1,\r
6877         "x": 846.6193161010742,\r
6878         "y": 7803.10494184494,\r
6879         "z": "34265cd.7205424",\r
6880         "wires": [\r
6881             [\r
6882                 "b517797c.221e9"\r
6883             ]\r
6884         ]\r
6885     },\r
6886     {\r
6887         "id": "b517797c.221e9",\r
6888         "type": "block",\r
6889         "name": "block : atomic",\r
6890         "xml": "<block atomic=\"true\">",\r
6891         "atomic": "true",\r
6892         "outputs": 1,\r
6893         "x": 1055.5494270324707,\r
6894         "y": 7823.273902416229,\r
6895         "z": "34265cd.7205424",\r
6896         "wires": [\r
6897             [\r
6898                 "3d40ba87.1beba6",\r
6899                 "1a40ddac.06f67a"\r
6900             ]\r
6901         ]\r
6902     },\r
6903     {\r
6904         "id": "91e9c48a.4b386",\r
6905         "type": "call",\r
6906         "name": "call GENERIC-RESOURCE-API:vf-module-topology-assign-rollback",\r
6907         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-assign-rollback' mode='sync' >\n",\r
6908         "comments": "",\r
6909         "outputs": 1,\r
6910         "x": 1809.799674987793,\r
6911         "y": 7965.4422726631165,\r
6912         "z": "34265cd.7205424",\r
6913         "wires": [\r
6914             []\r
6915         ]\r
6916     },\r
6917     {\r
6918         "id": "1a40ddac.06f67a",\r
6919         "type": "block",\r
6920         "name": "block : atomic",\r
6921         "xml": "<block atomic='true'>",\r
6922         "atomic": "true",\r
6923         "comments": "",\r
6924         "outputs": 1,\r
6925         "x": 1428.846923828125,\r
6926         "y": 8017.465929508209,\r
6927         "z": "34265cd.7205424",\r
6928         "wires": [\r
6929             [\r
6930                 "91e9c48a.4b386",\r
6931                 "c1b9561e.c76ae8",\r
6932                 "c58f8414.25a99"\r
6933             ]\r
6934         ]\r
6935     },\r
6936     {\r
6937         "id": "3d40ba87.1beba6",\r
6938         "type": "configure",\r
6939         "name": "set error-message",\r
6940         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error doing PUT of vf-module\" />\n",\r
6941         "comments": "",\r
6942         "outputs": 1,\r
6943         "x": 1260.0498428344727,\r
6944         "y": 7795.798916339874,\r
6945         "z": "34265cd.7205424",\r
6946         "wires": [\r
6947             []\r
6948         ]\r
6949     },\r
6950     {\r
6951         "id": "4c0ccb17.3b1804",\r
6952         "type": "comment",\r
6953         "name": "This should have been removed from Dublin",\r
6954         "info": "",\r
6955         "comments": "",\r
6956         "x": 728.7499923706055,\r
6957         "y": 7285.302035331726,\r
6958         "z": "34265cd.7205424",\r
6959         "wires": []\r
6960     },\r
6961     {\r
6962         "id": "b13baffe.18c468",\r
6963         "type": "set",\r
6964         "name": "Initialize SO 500 reponse params",\r
6965         "xml": "<set>\n<parameter name=\"so.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"so.response-code\" value=\"500\" />\n<parameter name=\"so.notification-url\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"so.svc-request-id\" value=\"`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"so.service-type\" value=\"`$vf-module-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"so.service-instance-id\" value=\"`$vf-module-topology-operation-input.service-information.service-instance-id`\" />",\r
6966         "comments": "",\r
6967         "x": 644.9999313354492,\r
6968         "y": 270.02429485321045,\r
6969         "z": "34265cd.7205424",\r
6970         "wires": []\r
6971     },\r
6972     {\r
6973         "id": "78f1021d.4797bc",\r
6974         "type": "call",\r
6975         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
6976         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
6977         "comments": "",\r
6978         "outputs": 1,\r
6979         "x": 2013.749870300293,\r
6980         "y": 1172.3854970932007,\r
6981         "z": "34265cd.7205424",\r
6982         "wires": [\r
6983             []\r
6984         ]\r
6985     },\r
6986     {\r
6987         "id": "caca347e.8787d",\r
6988         "type": "call",\r
6989         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
6990         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
6991         "comments": "",\r
6992         "outputs": 1,\r
6993         "x": 2021.2499160766602,\r
6994         "y": 2124.6077165603638,\r
6995         "z": "34265cd.7205424",\r
6996         "wires": [\r
6997             []\r
6998         ]\r
6999     },\r
7000     {\r
7001         "id": "60730953.c387",\r
7002         "type": "call",\r
7003         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
7004         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
7005         "comments": "",\r
7006         "outputs": 1,\r
7007         "x": 1309.9998931884766,\r
7008         "y": 1120.3020401000977,\r
7009         "z": "34265cd.7205424",\r
7010         "wires": [\r
7011             []\r
7012         ]\r
7013     },\r
7014     {\r
7015         "id": "57df4d97.1b3e74",\r
7016         "type": "set",\r
7017         "name": "set so.reponse-code = 200",\r
7018         "xml": "<set>\n<parameter name=\"so.response-code\" value=\"200\" />\n",\r
7019         "comments": "",\r
7020         "x": 1238.7499160766602,\r
7021         "y": 1064.0520524978638,\r
7022         "z": "34265cd.7205424",\r
7023         "wires": []\r
7024     },\r
7025     {\r
7026         "id": "9ea0a8d5.338e78",\r
7027         "type": "call",\r
7028         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
7029         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
7030         "comments": "",\r
7031         "outputs": 1,\r
7032         "x": 2766.249897003174,\r
7033         "y": 2684.330011367798,\r
7034         "z": "34265cd.7205424",\r
7035         "wires": [\r
7036             []\r
7037         ]\r
7038     },\r
7039     {\r
7040         "id": "3a601dac.7a4482",\r
7041         "type": "call",\r
7042         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
7043         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
7044         "comments": "",\r
7045         "outputs": 1,\r
7046         "x": 4188.888832092285,\r
7047         "y": 4559.885304450989,\r
7048         "z": "34265cd.7205424",\r
7049         "wires": [\r
7050             []\r
7051         ]\r
7052     },\r
7053     {\r
7054         "id": "28125649.296d72",\r
7055         "type": "call",\r
7056         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
7057         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
7058         "comments": "",\r
7059         "outputs": 1,\r
7060         "x": 4371.388870239258,\r
7061         "y": 5576.691199302673,\r
7062         "z": "34265cd.7205424",\r
7063         "wires": [\r
7064             []\r
7065         ]\r
7066     },\r
7067     {\r
7068         "id": "c7108bf6.17f21",\r
7069         "type": "call",\r
7070         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
7071         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
7072         "comments": "",\r
7073         "outputs": 1,\r
7074         "x": 3672.638832092285,\r
7075         "y": 5913.496632575989,\r
7076         "z": "34265cd.7205424",\r
7077         "wires": [\r
7078             []\r
7079         ]\r
7080     },\r
7081     {\r
7082         "id": "8d26e950.2b598",\r
7083         "type": "call",\r
7084         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
7085         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
7086         "comments": "",\r
7087         "outputs": 1,\r
7088         "x": 3792.638832092285,\r
7089         "y": 7047.524464607239,\r
7090         "z": "34265cd.7205424",\r
7091         "wires": [\r
7092             []\r
7093         ]\r
7094     },\r
7095     {\r
7096         "id": "c1b9561e.c76ae8",\r
7097         "type": "call",\r
7098         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
7099         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
7100         "comments": "",\r
7101         "outputs": 1,\r
7102         "x": 1750.694320678711,\r
7103         "y": 8018.21951341629,\r
7104         "z": "34265cd.7205424",\r
7105         "wires": [\r
7106             []\r
7107         ]\r
7108     },\r
7109     {\r
7110         "id": "a1c5d05.89a983",\r
7111         "type": "call",\r
7112         "name": "call GENERIC-RESOURCE-API_send-so-response",\r
7113         "xml": "<call module='GENERIC-RESOURCE-API' rpc='send-so-response' mode='sync' >\n",\r
7114         "comments": "",\r
7115         "outputs": 1,\r
7116         "x": 594.4444427490234,\r
7117         "y": 8071.97101354599,\r
7118         "z": "34265cd.7205424",\r
7119         "wires": [\r
7120             []\r
7121         ]\r
7122     },\r
7123     {\r
7124         "id": "5b817e7f.0206",\r
7125         "type": "set",\r
7126         "name": "set so.reponse-code = 200",\r
7127         "xml": "<set>\n<parameter name=\"so.response-code\" value=\"200\" />\n",\r
7128         "comments": "",\r
7129         "x": 524.4444427490234,\r
7130         "y": 8017.942268848419,\r
7131         "z": "34265cd.7205424",\r
7132         "wires": []\r
7133     },\r
7134     {\r
7135         "id": "c58f8414.25a99",\r
7136         "type": "returnFailure",\r
7137         "name": "return failure",\r
7138         "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
7139         "comments": "",\r
7140         "x": 1631.9443817138672,\r
7141         "y": 8066.969216823578,\r
7142         "z": "34265cd.7205424",\r
7143         "wires": []\r
7144     },\r
7145     {\r
7146         "id": "a7b746c4.2d389",\r
7147         "type": "returnFailure",\r
7148         "name": "return failure",\r
7149         "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
7150         "comments": "",\r
7151         "x": 3672.361000061035,\r
7152         "y": 7096.135304450989,\r
7153         "z": "34265cd.7205424",\r
7154         "wires": []\r
7155     },\r
7156     {\r
7157         "id": "eb62798f.37c47",\r
7158         "type": "returnFailure",\r
7159         "name": "return failure",\r
7160         "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
7161         "comments": "",\r
7162         "x": 3551.111000061035,\r
7163         "y": 5958.774464607239,\r
7164         "z": "34265cd.7205424",\r
7165         "wires": []\r
7166     },\r
7167     {\r
7168         "id": "a39b4b61.59b038",\r
7169         "type": "returnFailure",\r
7170         "name": "return failure",\r
7171         "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
7172         "comments": "",\r
7173         "x": 4254.861000061035,\r
7174         "y": 5621.274464607239,\r
7175         "z": "34265cd.7205424",\r
7176         "wires": []\r
7177     },\r
7178     {\r
7179         "id": "aee71bd7.cb4458",\r
7180         "type": "returnFailure",\r
7181         "name": "return failure",\r
7182         "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
7183         "comments": "",\r
7184         "x": 4069.861000061035,\r
7185         "y": 4604.052296638489,\r
7186         "z": "34265cd.7205424",\r
7187         "wires": []\r
7188     },\r
7189     {\r
7190         "id": "bb2b8a64.4eda98",\r
7191         "type": "returnFailure",\r
7192         "name": "return failure",\r
7193         "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
7194         "comments": "",\r
7195         "x": 2649.99991607666,\r
7196         "y": 2730.4409685134888,\r
7197         "z": "34265cd.7205424",\r
7198         "wires": []\r
7199     },\r
7200     {\r
7201         "id": "a38241eb.287ec8",\r
7202         "type": "returnFailure",\r
7203         "name": "return failure",\r
7204         "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
7205         "comments": "",\r
7206         "x": 1902.4999160766602,\r
7207         "y": 2166.2742204666138,\r
7208         "z": "34265cd.7205424",\r
7209         "wires": []\r
7210     },\r
7211     {\r
7212         "id": "d65a69c8.cf6ba",\r
7213         "type": "returnFailure",\r
7214         "name": "return failure",\r
7215         "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
7216         "comments": "",\r
7217         "x": 1893.7499160766602,\r
7218         "y": 1215.0243425369263,\r
7219         "z": "34265cd.7205424",\r
7220         "wires": []\r
7221     },\r
7222     {\r
7223         "id": "7e168e6e.8d02f8",\r
7224         "type": "set",\r
7225         "name": "copy vf-module data",\r
7226         "xml": "<set>\n<parameter name='vf-module-data.'\n  value='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.' />\n",\r
7227         "comments": "",\r
7228         "x": 493.0711898803711,\r
7229         "y": 7468.457430839539,\r
7230         "z": "34265cd.7205424",\r
7231         "wires": []\r
7232     },\r
7233     {\r
7234         "id": "c1894905.cb3d58",\r
7235         "type": "execute",\r
7236         "name": "generate vf-module URL (sub service-instance-id)",\r
7237         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.vf-module`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.part\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.service-topology.service-topology-identifier.service-instance-id`\"/>\n",\r
7238         "comments": "",\r
7239         "outputs": 1,\r
7240         "x": 592.1782302856445,\r
7241         "y": 7552.745089530945,\r
7242         "z": "34265cd.7205424",\r
7243         "wires": [\r
7244             []\r
7245         ]\r
7246     },\r
7247     {\r
7248         "id": "7badb381.1fbf0c",\r
7249         "type": "execute",\r
7250         "name": "generate vf-module URL (sub vnf-id)",\r
7251         "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.part\"/>\n    <parameter name=\"target\" value=\"{vnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-id`\"/>\n",\r
7252         "comments": "",\r
7253         "outputs": 1,\r
7254         "x": 546.821044921875,\r
7255         "y": 7597.923043251038,\r
7256         "z": "34265cd.7205424",\r
7257         "wires": [\r
7258             []\r
7259         ]\r
7260     },\r
7261     {\r
7262         "id": "2d6c7dfc.640b9a",\r
7263         "type": "execute",\r
7264         "name": "generate vf-module URL (sub vf-module-id)",\r
7265         "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.vf-module.url\"/>\n    <parameter name=\"target\" value=\"{vf-module-id}\"/>\n    <parameter name=\"replacement\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\"/>\n",\r
7266         "comments": "",\r
7267         "outputs": 1,\r
7268         "x": 571.9997024536133,\r
7269         "y": 7644.530034065247,\r
7270         "z": "34265cd.7205424",\r
7271         "wires": [\r
7272             []\r
7273         ]\r
7274     },\r
7275     {\r
7276         "id": "bcdb4bf7.c65098",\r
7277         "type": "comment",\r
7278         "name": "'New' version of DG, called for flows where SO expects async response (so-bpmn-infra)",\r
7279         "info": "",\r
7280         "comments": "",\r
7281         "x": 528,\r
7282         "y": 64,\r
7283         "z": "34265cd.7205424",\r
7284         "wires": []\r
7285     }\r
7286 ]