DGs for SOTN NNI based service creation
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sotn_nni / GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json
1 [\r
2     {\r
3         "id": "e9f5d8f7.e285a8",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 83.47266006469727,\r
8         "y": 26,\r
9         "z": "8abb02c9.ea909",\r
10         "wires": [\r
11             [\r
12                 "f361420f.d2dd5"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "f361420f.d2dd5",\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": 214.75835037231445,\r
26         "y": 75.23810863494873,\r
27         "z": "8abb02c9.ea909",\r
28         "wires": [\r
29             [\r
30                 "83b54aea.5a2e08"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "83b54aea.5a2e08",\r
36         "type": "method",\r
37         "name": "method sotn-vf-operation-uni-create",\r
38         "xml": "<method rpc='sotn-vf-operation-uni-create' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 217.9012794494629,\r
42         "y": 160.00003242492676,\r
43         "z": "8abb02c9.ea909",\r
44         "wires": [\r
45             [\r
46                 "d23ea373.2facb"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "129ae0d2.67909f",\r
52         "type": "switchNode",\r
53         "name": "switch vnf_length",\r
54         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
55         "comments": "",\r
56         "outputs": 1,\r
57         "x": 592,\r
58         "y": 45,\r
59         "z": "8abb02c9.ea909",\r
60         "wires": [\r
61             [\r
62                 "4518c55e.2af6cc"\r
63             ]\r
64         ]\r
65     },\r
66     {\r
67         "id": "4518c55e.2af6cc",\r
68         "type": "other",\r
69         "name": "NULL",\r
70         "xml": "<outcome value=''>\n",\r
71         "comments": "",\r
72         "outputs": 1,\r
73         "x": 778.6666793823242,\r
74         "y": 44.33329772949219,\r
75         "z": "8abb02c9.ea909",\r
76         "wires": [\r
77             [\r
78                 "49f6673c.896c38"\r
79             ]\r
80         ]\r
81     },\r
82     {\r
83         "id": "49f6673c.896c38",\r
84         "type": "returnFailure",\r
85         "name": "return failure",\r
86         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"There are no VNFs in MD-SAL\" />\n",\r
87         "comments": "",\r
88         "x": 960.3333053588867,\r
89         "y": 44.33329772949219,\r
90         "z": "8abb02c9.ea909",\r
91         "wires": []\r
92     },\r
93     {\r
94         "id": "344a6d66.006ae2",\r
95         "type": "for",\r
96         "name": "for each vnf",\r
97         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
98         "comments": "",\r
99         "outputs": 1,\r
100         "x": 581.5794200897217,\r
101         "y": 99.50003504753113,\r
102         "z": "8abb02c9.ea909",\r
103         "wires": [\r
104             [\r
105                 "b740b835.934dd8"\r
106             ]\r
107         ]\r
108     },\r
109     {\r
110         "id": "b740b835.934dd8",\r
111         "type": "switchNode",\r
112         "name": "switch this vnf-id == input vnf-id",\r
113         "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\">    \n",\r
114         "comments": "",\r
115         "outputs": 1,\r
116         "x": 832.5795154571533,\r
117         "y": 95.16665554046631,\r
118         "z": "8abb02c9.ea909",\r
119         "wires": [\r
120             [\r
121                 "7d8c54e9.05fcdc"\r
122             ]\r
123         ]\r
124     },\r
125     {\r
126         "id": "7d8c54e9.05fcdc",\r
127         "type": "outcomeTrue",\r
128         "name": "true",\r
129         "xml": "<outcome value='true'>\n",\r
130         "comments": "",\r
131         "outputs": 1,\r
132         "x": 1050.9128322601318,\r
133         "y": 97.1666374206543,\r
134         "z": "8abb02c9.ea909",\r
135         "wires": [\r
136             [\r
137                 "4090d448.987d9c"\r
138             ]\r
139         ]\r
140     },\r
141     {\r
142         "id": "4090d448.987d9c",\r
143         "type": "set",\r
144         "name": "set vnf-index",\r
145         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
146         "comments": "",\r
147         "x": 1204.2460041046143,\r
148         "y": 97.16665840148926,\r
149         "z": "8abb02c9.ea909",\r
150         "wires": []\r
151     },\r
152     {\r
153         "id": "d6f734d6.542738",\r
154         "type": "switchNode",\r
155         "name": "switch vnf-index",\r
156         "xml": "<switch test='`$vnf-index`'>\n",\r
157         "comments": "",\r
158         "outputs": 1,\r
159         "x": 595.579439163208,\r
160         "y": 160.5000331401825,\r
161         "z": "8abb02c9.ea909",\r
162         "wires": [\r
163             [\r
164                 "cc5e7b73.313338"\r
165             ]\r
166         ]\r
167     },\r
168     {\r
169         "id": "cc5e7b73.313338",\r
170         "type": "other",\r
171         "name": "Null",\r
172         "xml": "<outcome value=''>\n",\r
173         "comments": "",\r
174         "outputs": 1,\r
175         "x": 757.5794849395752,\r
176         "y": 159.50003218650818,\r
177         "z": "8abb02c9.ea909",\r
178         "wires": [\r
179             [\r
180                 "d5e799c5.aa66e8"\r
181             ]\r
182         ]\r
183     },\r
184     {\r
185         "id": "d5e799c5.aa66e8",\r
186         "type": "returnFailure",\r
187         "name": "return failure",\r
188         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"vnf id not found in service-data\" />\n",\r
189         "comments": "",\r
190         "x": 906.8295764923096,\r
191         "y": 157.27790999412537,\r
192         "z": "8abb02c9.ea909",\r
193         "wires": []\r
194     },\r
195     {\r
196         "id": "2e3b155c.1acdba",\r
197         "type": "switchNode",\r
198         "name": "switch vf-modules.vf-module_length",\r
199         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
200         "comments": "",\r
201         "outputs": 1,\r
202         "x": 630.2500219345093,\r
203         "y": 221.99999403953552,\r
204         "z": "8abb02c9.ea909",\r
205         "wires": [\r
206             [\r
207                 "d6b8c302.00cb5",\r
208                 "74fd2b9a.39bbc4"\r
209             ]\r
210         ]\r
211     },\r
212     {\r
213         "id": "d6b8c302.00cb5",\r
214         "type": "other",\r
215         "name": "Null",\r
216         "xml": "<outcome value=''>\n",\r
217         "comments": "",\r
218         "outputs": 1,\r
219         "x": 861.2500324249268,\r
220         "y": 197.99999117851257,\r
221         "z": "8abb02c9.ea909",\r
222         "wires": [\r
223             [\r
224                 "b130c62a.6d5b28"\r
225             ]\r
226         ]\r
227     },\r
228     {\r
229         "id": "74fd2b9a.39bbc4",\r
230         "type": "other",\r
231         "name": "other",\r
232         "xml": "<outcome value='Other'>\n",\r
233         "comments": "",\r
234         "outputs": 1,\r
235         "x": 861.2500324249268,\r
236         "y": 237.99999117851257,\r
237         "z": "8abb02c9.ea909",\r
238         "wires": [\r
239             [\r
240                 "aa20e5dd.34f068"\r
241             ]\r
242         ]\r
243     },\r
244     {\r
245         "id": "b130c62a.6d5b28",\r
246         "type": "set",\r
247         "name": "set vf-index",\r
248         "xml": "<set>\n<parameter name='vf-index' value='0' />\n",\r
249         "comments": "",\r
250         "x": 1003.7500324249268,\r
251         "y": 197.99999117851257,\r
252         "z": "8abb02c9.ea909",\r
253         "wires": []\r
254     },\r
255     {\r
256         "id": "aa20e5dd.34f068",\r
257         "type": "block",\r
258         "name": "block",\r
259         "xml": "<block>\n",\r
260         "atomic": "false",\r
261         "comments": "",\r
262         "outputs": 1,\r
263         "x": 1005.6070766448975,\r
264         "y": 237.93650317192078,\r
265         "z": "8abb02c9.ea909",\r
266         "wires": [\r
267             [\r
268                 "290ec3b5.b78dec",\r
269                 "ba0b306b.1384c"\r
270             ]\r
271         ]\r
272     },\r
273     {\r
274         "id": "ba0b306b.1384c",\r
275         "type": "set",\r
276         "name": "set vf-index",\r
277         "xml": "<set>\n<parameter name='vf-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",\r
278         "comments": "",\r
279         "x": 1158.3055515289307,\r
280         "y": 207.55560186458752,\r
281         "z": "8abb02c9.ea909",\r
282         "wires": []\r
283     },\r
284     {\r
285         "id": "290ec3b5.b78dec",\r
286         "type": "for",\r
287         "name": "for each existing vf-index",\r
288         "xml": "<for index='idx' start='0' end='`$vf-index`' >\n",\r
289         "comments": "",\r
290         "outputs": 1,\r
291         "x": 1214.7340564727783,\r
292         "y": 260.7777316570282,\r
293         "z": "8abb02c9.ea909",\r
294         "wires": [\r
295             [\r
296                 "f5468be4.2d7768"\r
297             ]\r
298         ]\r
299     },\r
300     {\r
301         "id": "55b24f6b.1c68",\r
302         "type": "comment",\r
303         "name": "make sure this network doesn't exist already",\r
304         "info": "",\r
305         "comments": "",\r
306         "x": 1438.384786605835,\r
307         "y": 219.03178906440735,\r
308         "z": "8abb02c9.ea909",\r
309         "wires": []\r
310     },\r
311     {\r
312         "id": "f5468be4.2d7768",\r
313         "type": "switchNode",\r
314         "name": "switch vf-module-id found",\r
315         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",\r
316         "comments": "",\r
317         "outputs": 1,\r
318         "x": 1490.0197772979736,\r
319         "y": 260.3492343425751,\r
320         "z": "8abb02c9.ea909",\r
321         "wires": [\r
322             [\r
323                 "416b188c.9635e8"\r
324             ]\r
325         ]\r
326     },\r
327     {\r
328         "id": "416b188c.9635e8",\r
329         "type": "outcomeTrue",\r
330         "name": "true",\r
331         "xml": "<outcome value='true'>\n",\r
332         "comments": "",\r
333         "outputs": 1,\r
334         "x": 1390.7499752044678,\r
335         "y": 318.9206655025482,\r
336         "z": "8abb02c9.ea909",\r
337         "wires": [\r
338             [\r
339                 "5ff9d421.bc0c2c"\r
340             ]\r
341         ]\r
342     },\r
343     {\r
344         "id": "5ff9d421.bc0c2c",\r
345         "type": "returnFailure",\r
346         "name": "return failure",\r
347         "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=\"service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id already found in service-data\" />\n",\r
348         "comments": "",\r
349         "x": 1538.500078201294,\r
350         "y": 318.7778575713746,\r
351         "z": "8abb02c9.ea909",\r
352         "wires": []\r
353     },\r
354     {\r
355         "id": "a3005c7c.22f1c",\r
356         "type": "comment",\r
357         "name": "Take the parameter names by removing prefix",\r
358         "info": "",\r
359         "comments": "",\r
360         "x": 674.8297939300537,\r
361         "y": 294.8294517993927,\r
362         "z": "8abb02c9.ea909",\r
363         "wires": []\r
364     },\r
365     {\r
366         "id": "c2f9b109.0e45",\r
367         "type": "for",\r
368         "name": "for loop idx - VF input parameters",\r
369         "xml": "<for index=\"idx\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n\n",\r
370         "comments": "",\r
371         "outputs": 1,\r
372         "x": 636.8295917510986,\r
373         "y": 338.16278433799744,\r
374         "z": "8abb02c9.ea909",\r
375         "wires": [\r
376             [\r
377                 "c2930fc2.e5909"\r
378             ]\r
379         ]\r
380     },\r
381     {\r
382         "id": "c2930fc2.e5909",\r
383         "type": "block",\r
384         "name": "block",\r
385         "xml": "<block>\n",\r
386         "atomic": "false",\r
387         "comments": "",\r
388         "outputs": 1,\r
389         "x": 851.6079349517822,\r
390         "y": 335.71836829185486,\r
391         "z": "8abb02c9.ea909",\r
392         "wires": [\r
393             [\r
394                 "d1ed645d.aa3a78",\r
395                 "6dcf8b92.c77424"\r
396             ]\r
397         ]\r
398     },\r
399     {\r
400         "id": "d1ed645d.aa3a78",\r
401         "type": "execute",\r
402         "name": "execute split parameterName",\r
403         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",\r
404         "comments": "",\r
405         "outputs": 1,\r
406         "x": 1047.8641376495361,\r
407         "y": 313.46650671958923,\r
408         "z": "8abb02c9.ea909",\r
409         "wires": [\r
410             []\r
411         ]\r
412     },\r
413     {\r
414         "id": "6dcf8b92.c77424",\r
415         "type": "set",\r
416         "name": "set parameterName",\r
417         "xml": "<set>\n<parameter name=\"`vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",\r
418         "comments": "",\r
419         "x": 1017.3085651397705,\r
420         "y": 350.46662306785583,\r
421         "z": "8abb02c9.ea909",\r
422         "wires": []\r
423     },\r
424     {\r
425         "id": "d23ea373.2facb",\r
426         "type": "block",\r
427         "name": "block : atomic",\r
428         "xml": "<block atomic=\"true\">\n",\r
429         "atomic": "false",\r
430         "comments": "",\r
431         "outputs": 1,\r
432         "x": 290.5794315338135,\r
433         "y": 355.4961154460907,\r
434         "z": "8abb02c9.ea909",\r
435         "wires": [\r
436             [\r
437                 "c2f9b109.0e45",\r
438                 "129ae0d2.67909f",\r
439                 "2e3b155c.1acdba",\r
440                 "a11f77d.859bf88",\r
441                 "7c53c20f.68b9dc",\r
442                 "42215efb.1d8e4",\r
443                 "91211121.8f53",\r
444                 "d001c737.a47218",\r
445                 "b74ff3ee.b1d98",\r
446                 "344a6d66.006ae2",\r
447                 "d6f734d6.542738",\r
448                 "3cca5aeb.576896",\r
449                 "6ba0a91d.74fdb8",\r
450                 "c0fe8566.aad758",\r
451                 "3368b1eb.e464fe",\r
452                 "29fa2ed2.416422"\r
453             ]\r
454         ]\r
455     },\r
456     {\r
457         "id": "d001c737.a47218",\r
458         "type": "returnSuccess",\r
459         "name": "return success",\r
460         "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
461         "comments": "",\r
462         "x": 577.8019104003906,\r
463         "y": 893.00732421875,\r
464         "z": "8abb02c9.ea909",\r
465         "wires": []\r
466     },\r
467     {\r
468         "id": "91211121.8f53",\r
469         "type": "save",\r
470         "name": "save service relationship in AAI",\r
471         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list' \n      key='generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"`relationship-list.relationship[$tmp.relationship_length].related-to`\" value=\"uni\" />\n<parameter name=\"`relationship-list.relationship[$tmp.relationship_length].related-link`\" value=\"`'/network/unis/uni/' + $prop.vf-id`\" />\n<parameter name=\"`relationship-list.relationship[$tmp.relationship_length].relationship-data[0].relationship-key`\" value=\"id\" />\n<parameter name=\"`relationship-list.relationship[$tmp.relationship_length].relationship-data[0].relationship-value`\" value=\"`$prop.vf-id`\" />\n",\r
472         "comments": "",\r
473         "outputs": 1,\r
474         "x": 633.0794067382812,\r
475         "y": 851.83349609375,\r
476         "z": "8abb02c9.ea909",\r
477         "wires": [\r
478             []\r
479         ]\r
480     },\r
481     {\r
482         "id": "42215efb.1d8e4",\r
483         "type": "save",\r
484         "name": "save uni resource in AAI",\r
485         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $prop.vf-id' >\n<parameter name=\"id\" value=\"`$prop.vf-id`\" />\n<parameter name=\"tpId\" value='`$prop.uni.tpId`' />\n<parameter name='cVLAN' value='`$prop.uni.vlanId`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vf-module-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $service-data.vnfs.vnf[$vnf-index].vnf-id  + '/vnf-data/vf-modules/vf-module/' + $prop.vf-id + '/vf-module-data/'` \" />\n",\r
486         "comments": "",\r
487         "outputs": 1,\r
488         "x": 615.0794677734375,\r
489         "y": 747.83349609375,\r
490         "z": "8abb02c9.ea909",\r
491         "wires": [\r
492             []\r
493         ]\r
494     },\r
495     {\r
496         "id": "b74ff3ee.b1d98",\r
497         "type": "set",\r
498         "name": "set vf-module-level-oper-status",\r
499         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.order-status'  value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'  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-index].vf-module-data.vf-module-level-oper-status.last-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",\r
500         "comments": "",\r
501         "x": 632.579439163208,\r
502         "y": 698.5000331401825,\r
503         "z": "8abb02c9.ea909",\r
504         "wires": []\r
505     },\r
506     {\r
507         "id": "7c53c20f.68b9dc",\r
508         "type": "set",\r
509         "name": "set vf-module-object-path",\r
510         "xml": "<set>\n<parameter name='vf-module-id' value='`$prop.vf-id`'/> \n<parameter name='vf-module-object-path' 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
511         "comments": "",\r
512         "x": 616.079475402832,\r
513         "y": 656.3335154056549,\r
514         "z": "8abb02c9.ea909",\r
515         "wires": []\r
516     },\r
517     {\r
518         "id": "a11f77d.859bf88",\r
519         "type": "set",\r
520         "name": "copy input data to service data",\r
521         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.vf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.sdnc-request-header.' 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-index].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vnf-information.' value='`$vf-module-topology-operation-input.vnf-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-information.' 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-index].vf-module-data.vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-topology.' value='`$tmp.vf-module-topology.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index+1`' />\n",\r
522         "comments": "",\r
523         "x": 627.9325504302979,\r
524         "y": 604.8296692371368,\r
525         "z": "8abb02c9.ea909",\r
526         "wires": []\r
527     },\r
528     {\r
529         "id": "c0fe8566.aad758",\r
530         "type": "set",\r
531         "name": "set new vf-module_length",\r
532         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />",\r
533         "comments": "",\r
534         "x": 608,\r
535         "y": 497,\r
536         "z": "8abb02c9.ea909",\r
537         "wires": []\r
538     },\r
539     {\r
540         "id": "3cca5aeb.576896",\r
541         "type": "set",\r
542         "name": "set vf-module-request-input.",\r
543         "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n",\r
544         "comments": "",\r
545         "x": 614.9995880126953,\r
546         "y": 391.9912657737732,\r
547         "z": "8abb02c9.ea909",\r
548         "wires": []\r
549     },\r
550     {\r
551         "id": "6ba0a91d.74fdb8",\r
552         "type": "call",\r
553         "name": "call sotn-get-vf-module-uni-param",\r
554         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-vf-module-uni-param' mode='sync' >\n",\r
555         "comments": "",\r
556         "outputs": 1,\r
557         "x": 653.8132629394531,\r
558         "y": 444.83709144592285,\r
559         "z": "8abb02c9.ea909",\r
560         "wires": [\r
561             []\r
562         ]\r
563     },\r
564     {\r
565         "id": "3368b1eb.e464fe",\r
566         "type": "execute",\r
567         "name": "execute generate-vf-id",\r
568         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vf-id\"/>\n",\r
569         "comments": "",\r
570         "outputs": 1,\r
571         "x": 606.8132781982422,\r
572         "y": 553.3409690856934,\r
573         "z": "8abb02c9.ea909",\r
574         "wires": [\r
575             []\r
576         ]\r
577     },\r
578     {\r
579         "id": "29fa2ed2.416422",\r
580         "type": "get-resource",\r
581         "name": "get-resource generic-vnf",\r
582         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"generic-vnf\" \n\t\tkey=\"'generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.generic-vnf' local-only='false' >\n\n\n",\r
583         "comments": "",\r
584         "outputs": 1,\r
585         "x": 605,\r
586         "y": 803,\r
587         "z": "8abb02c9.ea909",\r
588         "wires": [\r
589             [\r
590                 "5c744e64.d3743"\r
591             ]\r
592         ]\r
593     },\r
594     {\r
595         "id": "5c744e64.d3743",\r
596         "type": "block",\r
597         "name": "block",\r
598         "xml": "<block>\n",\r
599         "atomic": "false",\r
600         "comments": "",\r
601         "outputs": 1,\r
602         "x": 808,\r
603         "y": 798,\r
604         "z": "8abb02c9.ea909",\r
605         "wires": [\r
606             [\r
607                 "79532ac9.38abe4"\r
608             ]\r
609         ]\r
610     },\r
611     {\r
612         "id": "79532ac9.38abe4",\r
613         "type": "set",\r
614         "name": "set tmp.relationship_length",\r
615         "xml": "<set>\n<parameter name=\"tmp.relationship_length\" value='`$tmp.aai.generic-vnf.relationship-list.relation_length`'/>\n",\r
616         "comments": "",\r
617         "x": 991,\r
618         "y": 795,\r
619         "z": "8abb02c9.ea909",\r
620         "wires": []\r
621     }\r
622 ]