Fix SDNC parameters save in AAI failure
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-vf-operation-wanport-create.json
1 [\r
2     {\r
3         "id": "aee5dac3.29d8f8",\r
4         "type": "service-logic",\r
5         "name": "GENERIC-RESOURCE-API ${project.version}",\r
6         "module": "GENERIC-RESOURCE-API",\r
7         "version": "${project.version}",\r
8         "comments": "",\r
9         "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
10         "outputs": 1,\r
11         "x": 259.0104064941406,\r
12         "y": 136.99999237060547,\r
13         "z": "3e6f238d.8b432c",\r
14         "wires": [\r
15             [\r
16                 "92f80405.527238"\r
17             ]\r
18         ]\r
19     },\r
20     {\r
21         "id": "92f80405.527238",\r
22         "type": "method",\r
23         "name": "sdwan-vf-operation-wanport-create",\r
24         "xml": "<method rpc='sdwan-vf-operation-wanport-create' mode='sync'>\n",\r
25         "comments": "",\r
26         "outputs": 1,\r
27         "x": 258.0104064941406,\r
28         "y": 236.99999237060547,\r
29         "z": "3e6f238d.8b432c",\r
30         "wires": [\r
31             [\r
32                 "8357a961.bd7368"\r
33             ]\r
34         ]\r
35     },\r
36     {\r
37         "id": "a10fd13a.8313d",\r
38         "type": "dgstart",\r
39         "name": "DGSTART",\r
40         "outputs": 1,\r
41         "x": 115.51040267944336,\r
42         "y": 46,\r
43         "z": "3e6f238d.8b432c",\r
44         "wires": [\r
45             [\r
46                 "aee5dac3.29d8f8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "8357a961.bd7368",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">\n",\r
55         "atomic": "false",\r
56         "comments": "",\r
57         "outputs": 1,\r
58         "x": 417.01039123535156,\r
59         "y": 353.0000009536743,\r
60         "z": "3e6f238d.8b432c",\r
61         "wires": [\r
62             [\r
63                 "c20a7dc0.e21ea",\r
64                 "b9fc1e5f.5b376",\r
65                 "1b6a0c2c.530674",\r
66                 "dfd3a664.1be748",\r
67                 "f3dc4ebd.df298",\r
68                 "cae5d4a0.b09a38",\r
69                 "67d04e5d.908a3",\r
70                 "fd081780.8915a8",\r
71                 "4fc9e2ee.90febc",\r
72                 "cdfc7ae4.0514d8",\r
73                 "2814f80b.cacb28",\r
74                 "da49c07c.27b0f",\r
75                 "3699b36a.223adc",\r
76                 "1bf42dc2.073fb2"\r
77             ]\r
78         ]\r
79     },\r
80     {\r
81         "id": "c20a7dc0.e21ea",\r
82         "type": "for",\r
83         "name": "for each vnf",\r
84         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
85         "comments": "",\r
86         "outputs": 1,\r
87         "x": 717.3398132324219,\r
88         "y": 244.49612522125244,\r
89         "z": "3e6f238d.8b432c",\r
90         "wires": [\r
91             [\r
92                 "fc97057b.994b78"\r
93             ]\r
94         ]\r
95     },\r
96     {\r
97         "id": "fc97057b.994b78",\r
98         "type": "switchNode",\r
99         "name": "switch this vnf-id == input vnf-id",\r
100         "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\">    \n",\r
101         "comments": "",\r
102         "outputs": 1,\r
103         "x": 969.3399047851562,\r
104         "y": 243.16278839111328,\r
105         "z": "3e6f238d.8b432c",\r
106         "wires": [\r
107             [\r
108                 "df301c25.93aef"\r
109             ]\r
110         ]\r
111     },\r
112     {\r
113         "id": "311e101f.d5d19",\r
114         "type": "set",\r
115         "name": "set vnf-index",\r
116         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
117         "comments": "",\r
118         "x": 1341.0063934326172,\r
119         "y": 245.16279125213623,\r
120         "z": "3e6f238d.8b432c",\r
121         "wires": []\r
122     },\r
123     {\r
124         "id": "df301c25.93aef",\r
125         "type": "outcomeTrue",\r
126         "name": "true",\r
127         "xml": "<outcome value='true'>\n",\r
128         "comments": "",\r
129         "outputs": 1,\r
130         "x": 1187.6732215881348,\r
131         "y": 245.16277027130127,\r
132         "z": "3e6f238d.8b432c",\r
133         "wires": [\r
134             [\r
135                 "311e101f.d5d19"\r
136             ]\r
137         ]\r
138     },\r
139     {\r
140         "id": "dfd3a664.1be748",\r
141         "type": "for",\r
142         "name": "for loop idx - VF input parameters",\r
143         "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
144         "comments": "",\r
145         "outputs": 1,\r
146         "x": 791.2605972290039,\r
147         "y": 466.66665840148926,\r
148         "z": "3e6f238d.8b432c",\r
149         "wires": [\r
150             [\r
151                 "aad3c15.925ee4"\r
152             ]\r
153         ]\r
154     },\r
155     {\r
156         "id": "aad3c15.925ee4",\r
157         "type": "block",\r
158         "name": "block",\r
159         "xml": "<block>\n",\r
160         "atomic": "false",\r
161         "comments": "",\r
162         "outputs": 1,\r
163         "x": 1006.0389404296875,\r
164         "y": 464.2222423553467,\r
165         "z": "3e6f238d.8b432c",\r
166         "wires": [\r
167             [\r
168                 "917fbe88.711cc",\r
169                 "c43ea4c0.149928"\r
170             ]\r
171         ]\r
172     },\r
173     {\r
174         "id": "917fbe88.711cc",\r
175         "type": "execute",\r
176         "name": "execute split parameterName",\r
177         "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
178         "comments": "",\r
179         "outputs": 1,\r
180         "x": 1202.2951431274414,\r
181         "y": 441.97038078308105,\r
182         "z": "3e6f238d.8b432c",\r
183         "wires": [\r
184             []\r
185         ]\r
186     },\r
187     {\r
188         "id": "c43ea4c0.149928",\r
189         "type": "set",\r
190         "name": "set parameterName",\r
191         "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
192         "comments": "",\r
193         "x": 1171.7395706176758,\r
194         "y": 478.97049713134766,\r
195         "z": "3e6f238d.8b432c",\r
196         "wires": []\r
197     },\r
198     {\r
199         "id": "5248680e.c068e8",\r
200         "type": "comment",\r
201         "name": "Take the parameter names by removing prefix",\r
202         "info": "",\r
203         "comments": "",\r
204         "x": 1175.260799407959,\r
205         "y": 401.33332681655884,\r
206         "z": "3e6f238d.8b432c",\r
207         "wires": []\r
208     },\r
209     {\r
210         "id": "b9fc1e5f.5b376",\r
211         "type": "switchNode",\r
212         "name": "switch vnf_length",\r
213         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
214         "comments": "",\r
215         "outputs": 1,\r
216         "x": 731.7604064941406,\r
217         "y": 199.9999942779541,\r
218         "z": "3e6f238d.8b432c",\r
219         "wires": [\r
220             [\r
221                 "c77be859.d85c08"\r
222             ]\r
223         ]\r
224     },\r
225     {\r
226         "id": "c77be859.d85c08",\r
227         "type": "other",\r
228         "name": "NULL",\r
229         "xml": "<outcome value=''>\n",\r
230         "comments": "",\r
231         "outputs": 1,\r
232         "x": 918.4270858764648,\r
233         "y": 199.3332920074463,\r
234         "z": "3e6f238d.8b432c",\r
235         "wires": [\r
236             [\r
237                 "c9a6db6e.787d58"\r
238             ]\r
239         ]\r
240     },\r
241     {\r
242         "id": "c9a6db6e.787d58",\r
243         "type": "returnFailure",\r
244         "name": "return failure",\r
245         "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
246         "comments": "",\r
247         "x": 1100.0937118530273,\r
248         "y": 199.3332920074463,\r
249         "z": "3e6f238d.8b432c",\r
250         "wires": []\r
251     },\r
252     {\r
253         "id": "1b6a0c2c.530674",\r
254         "type": "switchNode",\r
255         "name": "switch vf-modules.vf-module_length",\r
256         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
257         "comments": "",\r
258         "outputs": 1,\r
259         "x": 773.0103960037231,\r
260         "y": 319.9999952316284,\r
261         "z": "3e6f238d.8b432c",\r
262         "wires": [\r
263             [\r
264                 "9acf5c90.6cf6",\r
265                 "ffb3f2fc.2e117"\r
266             ]\r
267         ]\r
268     },\r
269     {\r
270         "id": "9acf5c90.6cf6",\r
271         "type": "other",\r
272         "name": "Null",\r
273         "xml": "<outcome value=''>\n",\r
274         "comments": "",\r
275         "outputs": 1,\r
276         "x": 1004.0104064941406,\r
277         "y": 295.99999237060547,\r
278         "z": "3e6f238d.8b432c",\r
279         "wires": [\r
280             [\r
281                 "8e0399d7.7006d8"\r
282             ]\r
283         ]\r
284     },\r
285     {\r
286         "id": "ffb3f2fc.2e117",\r
287         "type": "other",\r
288         "name": "other",\r
289         "xml": "<outcome value='Other'>\n",\r
290         "comments": "",\r
291         "outputs": 1,\r
292         "x": 1004.0104064941406,\r
293         "y": 335.99999237060547,\r
294         "z": "3e6f238d.8b432c",\r
295         "wires": [\r
296             [\r
297                 "ef3e733d.2d036"\r
298             ]\r
299         ]\r
300     },\r
301     {\r
302         "id": "8e0399d7.7006d8",\r
303         "type": "set",\r
304         "name": "set vf-index",\r
305         "xml": "<set>\n<parameter name='vf-index' value='0' />\n",\r
306         "comments": "",\r
307         "x": 1146.5104064941406,\r
308         "y": 295.99999237060547,\r
309         "z": "3e6f238d.8b432c",\r
310         "wires": []\r
311     },\r
312     {\r
313         "id": "ef3e733d.2d036",\r
314         "type": "block",\r
315         "name": "block",\r
316         "xml": "<block>\n",\r
317         "atomic": "false",\r
318         "comments": "",\r
319         "outputs": 1,\r
320         "x": 1148.3674507141113,\r
321         "y": 335.9365043640137,\r
322         "z": "3e6f238d.8b432c",\r
323         "wires": [\r
324             [\r
325                 "1d25ad68.e6ab83",\r
326                 "461a624f.09559c"\r
327             ]\r
328         ]\r
329     },\r
330     {\r
331         "id": "461a624f.09559c",\r
332         "type": "set",\r
333         "name": "set vf-index",\r
334         "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
335         "comments": "",\r
336         "x": 1301.0659255981445,\r
337         "y": 305.5556030566804,\r
338         "z": "3e6f238d.8b432c",\r
339         "wires": []\r
340     },\r
341     {\r
342         "id": "1d25ad68.e6ab83",\r
343         "type": "for",\r
344         "name": "for each existing vf-index",\r
345         "xml": "<for index='idx' start='0' end='`$vf-index`' >\n",\r
346         "comments": "",\r
347         "outputs": 1,\r
348         "x": 1357.4944305419922,\r
349         "y": 358.7777328491211,\r
350         "z": "3e6f238d.8b432c",\r
351         "wires": [\r
352             [\r
353                 "620a6b7.d8fa094"\r
354             ]\r
355         ]\r
356     },\r
357     {\r
358         "id": "406aa837.6a2a68",\r
359         "type": "comment",\r
360         "name": "make sure this network doesn't exist already",\r
361         "info": "",\r
362         "comments": "",\r
363         "x": 1581.1451606750488,\r
364         "y": 317.03179025650024,\r
365         "z": "3e6f238d.8b432c",\r
366         "wires": []\r
367     },\r
368     {\r
369         "id": "620a6b7.d8fa094",\r
370         "type": "switchNode",\r
371         "name": "switch vf-module-id found",\r
372         "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
373         "comments": "",\r
374         "outputs": 1,\r
375         "x": 1632.7801513671875,\r
376         "y": 358.34923553466797,\r
377         "z": "3e6f238d.8b432c",\r
378         "wires": [\r
379             [\r
380                 "89ef579f.c10518"\r
381             ]\r
382         ]\r
383     },\r
384     {\r
385         "id": "89ef579f.c10518",\r
386         "type": "outcomeTrue",\r
387         "name": "true",\r
388         "xml": "<outcome value='true'>\n",\r
389         "comments": "",\r
390         "outputs": 1,\r
391         "x": 1533.5103492736816,\r
392         "y": 416.9206666946411,\r
393         "z": "3e6f238d.8b432c",\r
394         "wires": [\r
395             [\r
396                 "b4a45077.2328e"\r
397             ]\r
398         ]\r
399     },\r
400     {\r
401         "id": "b4a45077.2328e",\r
402         "type": "returnFailure",\r
403         "name": "return failure",\r
404         "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
405         "comments": "",\r
406         "x": 1681.2604522705078,\r
407         "y": 416.7778587634675,\r
408         "z": "3e6f238d.8b432c",\r
409         "wires": []\r
410     },\r
411     {\r
412         "id": "fd081780.8915a8",\r
413         "type": "set",\r
414         "name": "copy input data to service data",\r
415         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.wan-port-vf-index`' />\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<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
416         "comments": "",\r
417         "x": 788.8636169433594,\r
418         "y": 740.4961795806885,\r
419         "z": "3e6f238d.8b432c",\r
420         "wires": []\r
421     },\r
422     {\r
423         "id": "67d04e5d.908a3",\r
424         "type": "execute",\r
425         "name": "execute generate-vf-module-index",\r
426         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.wan-port-vf-index\"/>\n",\r
427         "comments": "",\r
428         "outputs": 1,\r
429         "x": 798.1971206665039,\r
430         "y": 692.1629104614258,\r
431         "z": "3e6f238d.8b432c",\r
432         "wires": [\r
433             []\r
434         ]\r
435     },\r
436     {\r
437         "id": "cae5d4a0.b09a38",\r
438         "type": "set",\r
439         "name": "set new vf-module_length",\r
440         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />",\r
441         "comments": "",\r
442         "x": 770.1970672607422,\r
443         "y": 639.1628475189209,\r
444         "z": "3e6f238d.8b432c",\r
445         "wires": []\r
446     },\r
447     {\r
448         "id": "f3dc4ebd.df298",\r
449         "type": "set",\r
450         "name": "set vf-module-request-input.",\r
451         "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n",\r
452         "comments": "",\r
453         "x": 782.1967353820801,\r
454         "y": 529.1542224884033,\r
455         "z": "3e6f238d.8b432c",\r
456         "wires": []\r
457     },\r
458     {\r
459         "id": "4fc9e2ee.90febc",\r
460         "type": "set",\r
461         "name": "set vf-module-object-path",\r
462         "xml": "<set>\n<parameter name='vf-module-id' value='`$prop.wan-port-vf-index`' />\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 + $prop.wan-port-vf-index\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
463         "comments": "",\r
464         "x": 774.0104808807373,\r
465         "y": 798.0000371932983,\r
466         "z": "3e6f238d.8b432c",\r
467         "wires": []\r
468     },\r
469     {\r
470         "id": "cdfc7ae4.0514d8",\r
471         "type": "set",\r
472         "name": "set vf-module-level-oper-status",\r
473         "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`' />",\r
474         "comments": "",\r
475         "x": 788.5105400085449,\r
476         "y": 847.9999303817749,\r
477         "z": "3e6f238d.8b432c",\r
478         "wires": []\r
479     },\r
480     {\r
481         "id": "3699b36a.223adc",\r
482         "type": "save",\r
483         "name": "save sdwan vpn resource in AAI",\r
484         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='wan-port-config' \n      key='wan-port-config.wan-port-config-id = $prop.wan-port-vf-index' >\n<parameter name=\"wan-port-config-id\" value=\"`$prop.wan-port-vf-index`\" />\n<parameter name=\"wan-port-config-name\" value=\"`$prop.wan.name`\" />\n<parameter name=\"device-id\" value=\"`$prop.wan.deviceName`\" />\n<parameter name='vlan-id' value=\"`$prop.wan.vlanId`\" />\n<parameter name=\"ip-address\" value=\"`$prop.wan.ipAddress`\" />\n<parameter name=\"provider-ip-address\" value=\"`$prop.wan.providerIpAddress`\" />\n<parameter name=\"input-bandwidth\" value=\"`$prop.wan.inputBandwidth`\" />\n<parameter name=\"output-bandwidth\" value=\"`$prop.wan.outputBandwidth`\" />\n<parameter name=\"description\" value=\"`$prop.wan.description`\" />\n<parameter name=\"port-type\" value=\"`$prop.wan.portType`\" />\n<parameter name=\"port-number\" value=\"`$prop.wan.portNumber`\" />\n<parameter name=\"transport-network-name\" value=\"`$prop.wan.transportNetworkName`\" />\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.wan-port-vf-index + '/vf-module-data/'` \" />\n",\r
485         "comments": "",\r
486         "outputs": 1,\r
487         "x": 792.0104484558105,\r
488         "y": 891.4999761581421,\r
489         "z": "3e6f238d.8b432c",\r
490         "wires": [\r
491             []\r
492         ]\r
493     },\r
494     {\r
495         "id": "1bf42dc2.073fb2",\r
496         "type": "save",\r
497         "name": "save service relationship in AAI",\r
498         "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[0].related-to\" value=\"wan-port-config\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/wan-port-configs/wan-port-config/' + $prop.wan-port-vf-index`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"wan-port-config.wan-port-config-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.wan-port-vf-index`\" />\n",\r
499         "comments": "",\r
500         "outputs": 1,\r
501         "x": 789.0103759765625,\r
502         "y": 937.5000076293945,\r
503         "z": "3e6f238d.8b432c",\r
504         "wires": [\r
505             []\r
506         ]\r
507     },\r
508     {\r
509         "id": "2814f80b.cacb28",\r
510         "type": "returnSuccess",\r
511         "name": "return success",\r
512         "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
513         "comments": "",\r
514         "x": 739.7329216003418,\r
515         "y": 984.6738667488098,\r
516         "z": "3e6f238d.8b432c",\r
517         "wires": []\r
518     },\r
519     {\r
520         "id": "da49c07c.27b0f",\r
521         "type": "call",\r
522         "name": "call sdwan-get-wan-param",\r
523         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",\r
524         "comments": "",\r
525         "outputs": 1,\r
526         "x": 781.8992767333984,\r
527         "y": 591.8888759613037,\r
528         "z": "3e6f238d.8b432c",\r
529         "wires": [\r
530             []\r
531         ]\r
532     }\r
533 ]