Fix Authorization Failed issue in SDWAN VPN activate
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-activate.json
1 [\r
2     {\r
3         "id": "21e79fdd.0452",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 172,\r
8         "y": 78,\r
9         "z": "1c1dd38f.89b8bc",\r
10         "wires": [\r
11             [\r
12                 "a56bff31.7def2"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "a56bff31.7def2",\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": 251.28570556640625,\r
26         "y": 140.23810958862305,\r
27         "z": "1c1dd38f.89b8bc",\r
28         "wires": [\r
29             [\r
30                 "debd8cb4.849ed"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "debd8cb4.849ed",\r
36         "type": "method",\r
37         "name": "method sdwan-vf-operation-vpn-activate",\r
38         "xml": "<method rpc='sdwan-vf-operation-vpn-activate' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 263,\r
42         "y": 234.58634185791016,\r
43         "z": "1c1dd38f.89b8bc",\r
44         "wires": [\r
45             [\r
46                 "7513aa1e.16b4d4"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "7513aa1e.16b4d4",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">",\r
55         "atomic": "true",\r
56         "outputs": 1,\r
57         "x": 249.6666717529297,\r
58         "y": 419.6667137145996,\r
59         "z": "1c1dd38f.89b8bc",\r
60         "wires": [\r
61             [\r
62                 "f032d4b7.491cc8",\r
63                 "67bb10ae.0e353",\r
64                 "c1332488.62fde8",\r
65                 "e39bef36.4698d",\r
66                 "774b89d9.c41338",\r
67                 "73b6f7ab.0d36d8",\r
68                 "5ccac719.bf4388",\r
69                 "ab39c2ec.e041d",\r
70                 "83763572.db11e8",\r
71                 "5e0a24cd.c963fc",\r
72                 "5dbdc6ec.868d28",\r
73                 "5048db5.9599324",\r
74                 "a8022531.9687b8",\r
75                 "6aeee675.ba6f48",\r
76                 "139e4c0f.50ddb4",\r
77                 "64534896.fa8bc8",\r
78                 "8cf38aaa.8f6988"\r
79             ]\r
80         ]\r
81     },\r
82     {\r
83         "id": "f032d4b7.491cc8",\r
84         "type": "call",\r
85         "name": "call GENERIC-RESOURCE-API:validate-sdwan-vf-vpn-input-parameters",\r
86         "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sdwan-vf-vpn-input-parameters' mode='sync' >\n",\r
87         "comments": "",\r
88         "outputs": 1,\r
89         "x": 789.6667633056641,\r
90         "y": 257.000159740448,\r
91         "z": "1c1dd38f.89b8bc",\r
92         "wires": [\r
93             []\r
94         ]\r
95     },\r
96     {\r
97         "id": "c1332488.62fde8",\r
98         "type": "execute",\r
99         "name": "execute Properties",\r
100         "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
101         "comments": "",\r
102         "outputs": 1,\r
103         "x": 621.0312652587891,\r
104         "y": 345.03125,\r
105         "z": "1c1dd38f.89b8bc",\r
106         "wires": [\r
107             []\r
108         ]\r
109     },\r
110     {\r
111         "id": "67bb10ae.0e353",\r
112         "type": "record",\r
113         "name": "record",\r
114         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"sdwan-network-topology-operation-activate\"/>\n<parameter name=\"field3\" value=\"SDWAN-Activate\"/>\n",\r
115         "comments": "",\r
116         "outputs": 1,\r
117         "x": 585.7291412353516,\r
118         "y": 301.0312223434448,\r
119         "z": "1c1dd38f.89b8bc",\r
120         "wires": [\r
121             []\r
122         ]\r
123     },\r
124     {\r
125         "id": "57e47be3.8054b4",\r
126         "type": "block",\r
127         "name": "block",\r
128         "xml": "<block>\n",\r
129         "atomic": "false",\r
130         "comments": "",\r
131         "outputs": 1,\r
132         "x": 908.454833984375,\r
133         "y": 395.0104079246521,\r
134         "z": "1c1dd38f.89b8bc",\r
135         "wires": [\r
136             [\r
137                 "d56b85ca.9481e8",\r
138                 "d0693d28.80f9b"\r
139             ]\r
140         ]\r
141     },\r
142     {\r
143         "id": "d56b85ca.9481e8",\r
144         "type": "switchNode",\r
145         "name": "switch name",\r
146         "xml": "<switch test=\"`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'name'`\">\n",\r
147         "comments": "",\r
148         "outputs": 1,\r
149         "x": 1092.4549407958984,\r
150         "y": 357.0104351043701,\r
151         "z": "1c1dd38f.89b8bc",\r
152         "wires": [\r
153             [\r
154                 "2748734c.684fac"\r
155             ]\r
156         ]\r
157     },\r
158     {\r
159         "id": "2748734c.684fac",\r
160         "type": "outcomeTrue",\r
161         "name": "true",\r
162         "xml": "<outcome value='true'>\n",\r
163         "comments": "",\r
164         "outputs": 1,\r
165         "x": 1266.4550666809082,\r
166         "y": 357.0104389190674,\r
167         "z": "1c1dd38f.89b8bc",\r
168         "wires": [\r
169             [\r
170                 "6309dd22.f19b94"\r
171             ]\r
172         ]\r
173     },\r
174     {\r
175         "id": "6309dd22.f19b94",\r
176         "type": "set",\r
177         "name": "set name",\r
178         "xml": "<set>\n<parameter name='prop.name' value='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",\r
179         "comments": "",\r
180         "x": 1429.4549522399902,\r
181         "y": 356.6104335784912,\r
182         "z": "1c1dd38f.89b8bc",\r
183         "wires": []\r
184     },\r
185     {\r
186         "id": "d0693d28.80f9b",\r
187         "type": "switchNode",\r
188         "name": "switch topology",\r
189         "xml": "<switch test=\"`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'topology'`\">\n",\r
190         "comments": "",\r
191         "outputs": 1,\r
192         "x": 1102.8714408874512,\r
193         "y": 404.67706394195557,\r
194         "z": "1c1dd38f.89b8bc",\r
195         "wires": [\r
196             [\r
197                 "8fb95e7a.24168"\r
198             ]\r
199         ]\r
200     },\r
201     {\r
202         "id": "8fb95e7a.24168",\r
203         "type": "outcomeTrue",\r
204         "name": "true",\r
205         "xml": "<outcome value='true'>\n",\r
206         "comments": "",\r
207         "outputs": 1,\r
208         "x": 1276.871566772461,\r
209         "y": 404.67706775665283,\r
210         "z": "1c1dd38f.89b8bc",\r
211         "wires": [\r
212             [\r
213                 "f7379751.d87ff8"\r
214             ]\r
215         ]\r
216     },\r
217     {\r
218         "id": "f7379751.d87ff8",\r
219         "type": "set",\r
220         "name": "set topology",\r
221         "xml": "<set>\n<parameter name='prop.topology' value='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",\r
222         "comments": "",\r
223         "x": 1439.871452331543,\r
224         "y": 404.27706241607666,\r
225         "z": "1c1dd38f.89b8bc",\r
226         "wires": []\r
227     },\r
228     {\r
229         "id": "e39bef36.4698d",\r
230         "type": "for",\r
231         "name": "for each network-input-parameters",\r
232         "xml": "<for index='idx' start='0' end='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",\r
233         "comments": "",\r
234         "outputs": 1,\r
235         "x": 656.6214027404785,\r
236         "y": 404.6770553588867,\r
237         "z": "1c1dd38f.89b8bc",\r
238         "wires": [\r
239             [\r
240                 "57e47be3.8054b4"\r
241             ]\r
242         ]\r
243     },\r
244     {\r
245         "id": "139e4c0f.50ddb4",\r
246         "type": "get-resource",\r
247         "name": "get-resource esr-thirdparty-sdnc",\r
248         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = 'SDWANController' AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
249         "comments": "",\r
250         "outputs": 1,\r
251         "x": 653.4549522399902,\r
252         "y": 531.0104274749756,\r
253         "z": "1c1dd38f.89b8bc",\r
254         "wires": [\r
255             [\r
256                 "3689f3fd.7221cc",\r
257                 "d64da76b.209af8",\r
258                 "17a9c1ef.c4208e"\r
259             ]\r
260         ]\r
261     },\r
262     {\r
263         "id": "3689f3fd.7221cc",\r
264         "type": "success",\r
265         "name": "success",\r
266         "xml": "<outcome value='success'>\n",\r
267         "comments": "",\r
268         "outputs": 1,\r
269         "x": 915.454833984375,\r
270         "y": 484.0104077756405,\r
271         "z": "1c1dd38f.89b8bc",\r
272         "wires": [\r
273             [\r
274                 "33d44e4e.88ac52"\r
275             ]\r
276         ]\r
277     },\r
278     {\r
279         "id": "d64da76b.209af8",\r
280         "type": "not-found",\r
281         "name": "not-found",\r
282         "xml": "<outcome value='not-found'>\n",\r
283         "comments": "",\r
284         "outputs": 1,\r
285         "x": 918.94580078125,\r
286         "y": 531.5844434201717,\r
287         "z": "1c1dd38f.89b8bc",\r
288         "wires": [\r
289             [\r
290                 "210fb3c2.b65bac"\r
291             ]\r
292         ]\r
293     },\r
294     {\r
295         "id": "17a9c1ef.c4208e",\r
296         "type": "other",\r
297         "name": "other",\r
298         "xml": "<outcome value='Other'>\n",\r
299         "comments": "",\r
300         "outputs": 1,\r
301         "x": 914.27880859375,\r
302         "y": 572.917756408453,\r
303         "z": "1c1dd38f.89b8bc",\r
304         "wires": [\r
305             [\r
306                 "7173d290.3a041c"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "210fb3c2.b65bac",\r
312         "type": "returnFailure",\r
313         "name": "return failure",\r
314         "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
315         "comments": "",\r
316         "x": 1095.5172119140625,\r
317         "y": 519.8701795041561,\r
318         "z": "1c1dd38f.89b8bc",\r
319         "wires": []\r
320     },\r
321     {\r
322         "id": "7173d290.3a041c",\r
323         "type": "returnFailure",\r
324         "name": "return failure",\r
325         "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
326         "comments": "",\r
327         "x": 1102.0513648986816,\r
328         "y": 568.3569491803646,\r
329         "z": "1c1dd38f.89b8bc",\r
330         "wires": []\r
331     },\r
332     {\r
333         "id": "6aeee675.ba6f48",\r
334         "type": "execute",\r
335         "name": "execute RestApiCallNode Get token",\r
336         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",\r
337         "comments": "",\r
338         "outputs": 1,\r
339         "x": 673.4548721313477,\r
340         "y": 650.0104312896729,\r
341         "z": "1c1dd38f.89b8bc",\r
342         "wires": [\r
343             [\r
344                 "4fc3faa9.6dc304",\r
345                 "f1aacba9.1de118"\r
346             ]\r
347         ]\r
348     },\r
349     {\r
350         "id": "4fc3faa9.6dc304",\r
351         "type": "success",\r
352         "name": "success",\r
353         "xml": "<outcome value='success'>\n",\r
354         "comments": "",\r
355         "outputs": 1,\r
356         "x": 917.454906463623,\r
357         "y": 627.0104379653931,\r
358         "z": "1c1dd38f.89b8bc",\r
359         "wires": [\r
360             [\r
361                 "16433351.3e777d"\r
362             ]\r
363         ]\r
364     },\r
365     {\r
366         "id": "f1aacba9.1de118",\r
367         "type": "failure",\r
368         "name": "failure",\r
369         "xml": "<outcome value='failure'>\n",\r
370         "comments": "",\r
371         "outputs": 1,\r
372         "x": 909.704906463623,\r
373         "y": 680.6533212661743,\r
374         "z": "1c1dd38f.89b8bc",\r
375         "wires": [\r
376             [\r
377                 "34937ca.3e30484"\r
378             ]\r
379         ]\r
380     },\r
381     {\r
382         "id": "16433351.3e777d",\r
383         "type": "set",\r
384         "name": "set token-id",\r
385         "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
386         "comments": "",\r
387         "x": 1067.454833984375,\r
388         "y": 628.0104064941406,\r
389         "z": "1c1dd38f.89b8bc",\r
390         "wires": []\r
391     },\r
392     {\r
393         "id": "34937ca.3e30484",\r
394         "type": "returnFailure",\r
395         "name": "return failure",\r
396         "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 executing get token rest api\" />\n",\r
397         "comments": "",\r
398         "x": 1062.454906463623,\r
399         "y": 680.4033823013306,\r
400         "z": "1c1dd38f.89b8bc",\r
401         "wires": []\r
402     },\r
403     {\r
404         "id": "33d44e4e.88ac52",\r
405         "type": "set",\r
406         "name": "set controller data",\r
407         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",\r
408         "comments": "",\r
409         "x": 1112.9548950195312,\r
410         "y": 472.0104077756405,\r
411         "z": "1c1dd38f.89b8bc",\r
412         "wires": []\r
413     },\r
414     {\r
415         "id": "a8022531.9687b8",\r
416         "type": "execute",\r
417         "name": "execute RestApiCallNode Create vpn",\r
418         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-create.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
419         "comments": "",\r
420         "outputs": 1,\r
421         "x": 679.1942138671875,\r
422         "y": 763.6907243728638,\r
423         "z": "1c1dd38f.89b8bc",\r
424         "wires": [\r
425             []\r
426         ]\r
427     },\r
428     {\r
429         "id": "774b89d9.c41338",\r
430         "type": "set",\r
431         "name": "set prop.vpn-id and prop.vpn1Id",\r
432         "xml": "<set>\n<parameter name='prop.vpn-id' value='`$vpn-result.success[0].id`' />\n<parameter name='prop.vpn1Id' value='`$vpn-result.success[0].id`' />\n",\r
433         "comments": "",\r
434         "x": 664.1944122314453,\r
435         "y": 817.6908464431763,\r
436         "z": "1c1dd38f.89b8bc",\r
437         "wires": []\r
438     },\r
439     {\r
440         "id": "5048db5.9599324",\r
441         "type": "execute",\r
442         "name": "execute RestApiCallNode Create vpn topology",\r
443         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-topology-create.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpn-id + '/topology'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
444         "comments": "",\r
445         "outputs": 1,\r
446         "x": 706.6942138671875,\r
447         "y": 865.6906909942627,\r
448         "z": "1c1dd38f.89b8bc",\r
449         "wires": [\r
450             []\r
451         ]\r
452     },\r
453     {\r
454         "id": "73b6f7ab.0d36d8",\r
455         "type": "set",\r
456         "name": "set  vpn-id to service-data",\r
457         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='vpn-id' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.vpn-id`' />\n",\r
458         "comments": "",\r
459         "x": 639.9442138671875,\r
460         "y": 927.1906471252441,\r
461         "z": "1c1dd38f.89b8bc",\r
462         "wires": []\r
463     },\r
464     {\r
465         "id": "5ccac719.bf4388",\r
466         "type": "returnSuccess",\r
467         "name": "return success",\r
468         "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
469         "comments": "",\r
470         "x": 604.004020690918,\r
471         "y": 1257.504249572754,\r
472         "z": "1c1dd38f.89b8bc",\r
473         "wires": []\r
474     },\r
475     {\r
476         "id": "64534896.fa8bc8",\r
477         "type": "update",\r
478         "name": "update SDWAN VPN status to AAI",\r
479         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='sdwan-vpn' \n      key='sdwan-vpn.sdwan-vpn-id = $vf-module-topology-operation-input.vf-module-information.vf-module-id' >\n<parameter name='sdwan-vpn-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='operational-status' value='Active' />\n<parameter name='tenanat-id' value='`$prop.tenant-id`' />\n<parameter name='vpn-id' value='`$prop.vpn-id`' />",\r
480         "comments": "",\r
481         "outputs": 1,\r
482         "x": 666.3337326049805,\r
483         "y": 1181.8739857673645,\r
484         "z": "1c1dd38f.89b8bc",\r
485         "wires": [\r
486             []\r
487         ]\r
488     },\r
489     {\r
490         "id": "5e0a24cd.c963fc",\r
491         "type": "set",\r
492         "name": "set vf-module-level-oper-status",\r
493         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.order-status'  value='Active' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].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[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />",\r
494         "comments": "",\r
495         "x": 662.96875,\r
496         "y": 1124.9688164917752,\r
497         "z": "1c1dd38f.89b8bc",\r
498         "wires": []\r
499     },\r
500     {\r
501         "id": "83763572.db11e8",\r
502         "type": "set",\r
503         "name": "set vf-module-id and vf-module-object-path",\r
504         "xml": "<set>\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
505         "comments": "",\r
506         "x": 696.96875,\r
507         "y": 1076.468815538101,\r
508         "z": "1c1dd38f.89b8bc",\r
509         "wires": []\r
510     },\r
511     {\r
512         "id": "ab39c2ec.e041d",\r
513         "type": "set",\r
514         "name": "copy input data in service-data",\r
515         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].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[$tmp.vidx].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[$tmp.vidx].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[$tmp.vidx].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n",\r
516         "comments": "",\r
517         "x": 660.9687042236328,\r
518         "y": 1028.7187700271606,\r
519         "z": "1c1dd38f.89b8bc",\r
520         "wires": []\r
521     },\r
522     {\r
523         "id": "5dbdc6ec.868d28",\r
524         "type": "set",\r
525         "name": "set  param-length + 1",\r
526         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />",\r
527         "comments": "",\r
528         "x": 635.9687824249268,\r
529         "y": 976.9688520431519,\r
530         "z": "1c1dd38f.89b8bc",\r
531         "wires": []\r
532     },\r
533     {\r
534         "id": "8cf38aaa.8f6988",\r
535         "type": "call",\r
536         "name": "call sdwan-get-tenant-auth",\r
537         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",\r
538         "comments": "",\r
539         "outputs": 1,\r
540         "x": 655.00390625,\r
541         "y": 707.00390625,\r
542         "z": "1c1dd38f.89b8bc",\r
543         "wires": [\r
544             []\r
545         ]\r
546     }\r
547 ]