f9f7a42d3957dea2bcaa17aeadb78c505b5c214c
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-bandwidth-policy-change.json
1 [\r
2     {\r
3         "id": "2f944e3f.133922",\r
4         "type": "method",\r
5         "name": "method sdwan-bandwidth-policy-change",\r
6         "xml": "<method rpc='sdwan-bandwidth-policy-change' mode='sync'>\n",\r
7         "comments": "",\r
8         "outputs": 1,\r
9         "x": 228,\r
10         "y": 177.58634185791016,\r
11         "z": "fe3a5d18.ca1b6",\r
12         "wires": [\r
13             [\r
14                 "ab448c0a.7a72d"\r
15             ]\r
16         ]\r
17     },\r
18     {\r
19         "id": "c5904683.1a03e8",\r
20         "type": "dgstart",\r
21         "name": "DGSTART",\r
22         "outputs": 1,\r
23         "x": 117,\r
24         "y": 32.00000190734863,\r
25         "z": "fe3a5d18.ca1b6",\r
26         "wires": [\r
27             [\r
28                 "6bc6460b.0fa818"\r
29             ]\r
30         ]\r
31     },\r
32     {\r
33         "id": "6bc6460b.0fa818",\r
34         "type": "service-logic",\r
35         "name": "GENERIC-RESOURCE-API ${project.version}",\r
36         "module": "GENERIC-RESOURCE-API",\r
37         "version": "${project.version}",\r
38         "comments": "",\r
39         "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
40         "outputs": 1,\r
41         "x": 216.28570556640625,\r
42         "y": 83.23810958862305,\r
43         "z": "fe3a5d18.ca1b6",\r
44         "wires": [\r
45             [\r
46                 "2f944e3f.133922"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "ab448c0a.7a72d",\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": 176.6666717529297,\r
58         "y": 459.6667175292969,\r
59         "z": "fe3a5d18.ca1b6",\r
60         "wires": [\r
61             [\r
62                 "12f15f6d.9827f1",\r
63                 "fe00d9f.b56fd28",\r
64                 "6684c99a.7427e8",\r
65                 "2af6c94c.af19e6",\r
66                 "e293366.5ca59c8",\r
67                 "ed22f7f1.ec7288",\r
68                 "1a81feba.045cb1",\r
69                 "565469d0.7320a8",\r
70                 "6d629a7b.45bc64",\r
71                 "a9a5c4dd.f02338",\r
72                 "b2fc342f.6c0b68",\r
73                 "23f3a49a.a36dac",\r
74                 "325ec5e8.8f682a",\r
75                 "fb6cf9c5.202108",\r
76                 "df7c0c81.e6dd8",\r
77                 "95135039.a60aa",\r
78                 "e76d9029.37f13",\r
79                 "55e5acbf.fe5b24",\r
80                 "bf167ea6.f9992",\r
81                 "89ecf7ea.f65c78"\r
82             ]\r
83         ]\r
84     },\r
85     {\r
86         "id": "fe00d9f.b56fd28",\r
87         "type": "for",\r
88         "name": "for each vnf",\r
89         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
90         "comments": "",\r
91         "outputs": 1,\r
92         "x": 554.0313873291016,\r
93         "y": 257.26914978027344,\r
94         "z": "fe3a5d18.ca1b6",\r
95         "wires": [\r
96             [\r
97                 "12817250.a42a3e"\r
98             ]\r
99         ]\r
100     },\r
101     {\r
102         "id": "12f15f6d.9827f1",\r
103         "type": "switchNode",\r
104         "name": "switch vnf_length",\r
105         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
106         "comments": "",\r
107         "outputs": 1,\r
108         "x": 565.0000190734863,\r
109         "y": 196.00001049041748,\r
110         "z": "fe3a5d18.ca1b6",\r
111         "wires": [\r
112             [\r
113                 "b500c350.6e3d9"\r
114             ]\r
115         ]\r
116     },\r
117     {\r
118         "id": "b500c350.6e3d9",\r
119         "type": "outcome",\r
120         "name": "NULL",\r
121         "xml": "<outcome value=''>\n",\r
122         "comments": "",\r
123         "outputs": 1,\r
124         "x": 745,\r
125         "y": 195,\r
126         "z": "fe3a5d18.ca1b6",\r
127         "wires": [\r
128             [\r
129                 "805afe4f.d6084"\r
130             ]\r
131         ]\r
132     },\r
133     {\r
134         "id": "805afe4f.d6084",\r
135         "type": "returnFailure",\r
136         "name": "return failure",\r
137         "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-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",\r
138         "comments": "",\r
139         "x": 894.4287261962891,\r
140         "y": 196.14291763305664,\r
141         "z": "fe3a5d18.ca1b6",\r
142         "wires": []\r
143     },\r
144     {\r
145         "id": "12817250.a42a3e",\r
146         "type": "switchNode",\r
147         "name": "switch this vnf-id == input vnf-id",\r
148         "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\">    \n",\r
149         "comments": "",\r
150         "outputs": 1,\r
151         "x": 783.0000152587891,\r
152         "y": 258.00000619888306,\r
153         "z": "fe3a5d18.ca1b6",\r
154         "wires": [\r
155             [\r
156                 "b6a1534.58369b"\r
157             ]\r
158         ]\r
159     },\r
160     {\r
161         "id": "b6a1534.58369b",\r
162         "type": "outcomeTrue",\r
163         "name": "true",\r
164         "xml": "<outcome value='true'>\n",\r
165         "comments": "",\r
166         "outputs": 1,\r
167         "x": 998,\r
168         "y": 256,\r
169         "z": "fe3a5d18.ca1b6",\r
170         "wires": [\r
171             [\r
172                 "3bca8e45.080102"\r
173             ]\r
174         ]\r
175     },\r
176     {\r
177         "id": "3bca8e45.080102",\r
178         "type": "set",\r
179         "name": "set vnf-index",\r
180         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
181         "comments": "",\r
182         "x": 1162,\r
183         "y": 251,\r
184         "z": "fe3a5d18.ca1b6",\r
185         "wires": []\r
186     },\r
187     {\r
188         "id": "6684c99a.7427e8",\r
189         "type": "set",\r
190         "name": "set prop.siteAttachement_length=0",\r
191         "xml": "<set>\n<parameter name='prop.siteAttachements_length' value='0' />\n<parameter name='prop.siteIds_length' value='0' />\n\n\n\n",\r
192         "comments": "",\r
193         "x": 586.2857360839844,\r
194         "y": 573.3333435058594,\r
195         "z": "fe3a5d18.ca1b6",\r
196         "wires": []\r
197     },\r
198     {\r
199         "id": "2af6c94c.af19e6",\r
200         "type": "for",\r
201         "name": "for vf-modules.vf-module_length",\r
202         "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",\r
203         "comments": "",\r
204         "outputs": 1,\r
205         "x": 581.0312652587891,\r
206         "y": 725.531270980835,\r
207         "z": "fe3a5d18.ca1b6",\r
208         "wires": [\r
209             [\r
210                 "27cc261.a1c4eda"\r
211             ]\r
212         ]\r
213     },\r
214     {\r
215         "id": "27cc261.a1c4eda",\r
216         "type": "block",\r
217         "name": "block",\r
218         "xml": "<block>\n",\r
219         "atomic": "false",\r
220         "comments": "",\r
221         "outputs": 1,\r
222         "x": 741.0312728881836,\r
223         "y": 802.5312714576721,\r
224         "z": "fe3a5d18.ca1b6",\r
225         "wires": [\r
226             [\r
227                 "25c1741b.71156c",\r
228                 "f476b4c1.90d488",\r
229                 "38661728.f30148"\r
230             ]\r
231         ]\r
232     },\r
233     {\r
234         "id": "25c1741b.71156c",\r
235         "type": "switchNode",\r
236         "name": "switch ActivateSDWANDeviceInstance",\r
237         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n\n",\r
238         "comments": "",\r
239         "outputs": 1,\r
240         "x": 1036.0000305175781,\r
241         "y": 726.0000219345093,\r
242         "z": "fe3a5d18.ca1b6",\r
243         "wires": [\r
244             [\r
245                 "d5c6abe5.2055e8"\r
246             ]\r
247         ]\r
248     },\r
249     {\r
250         "id": "d5c6abe5.2055e8",\r
251         "type": "outcomeTrue",\r
252         "name": "true",\r
253         "xml": "<outcome value='true'>\n",\r
254         "comments": "",\r
255         "outputs": 1,\r
256         "x": 1257.999870300293,\r
257         "y": 725.000020980835,\r
258         "z": "fe3a5d18.ca1b6",\r
259         "wires": [\r
260             [\r
261                 "2cf625ba.b60eba"\r
262             ]\r
263         ]\r
264     },\r
265     {\r
266         "id": "2cf625ba.b60eba",\r
267         "type": "block",\r
268         "name": "block : atomic",\r
269         "xml": "<block atomic=\"true\">",\r
270         "atomic": "true",\r
271         "outputs": 1,\r
272         "x": 1402.3333740234375,\r
273         "y": 724.0000219345093,\r
274         "z": "fe3a5d18.ca1b6",\r
275         "wires": [\r
276             [\r
277                 "139b09d6.445b26"\r
278             ]\r
279         ]\r
280     },\r
281     {\r
282         "id": "139b09d6.445b26",\r
283         "type": "for",\r
284         "name": "for loop didx - Get deviceId from servicedata",\r
285         "xml": "<for index=\"didx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`\">\n\n",\r
286         "comments": "",\r
287         "outputs": 1,\r
288         "x": 1665.3334197998047,\r
289         "y": 765.9999008178711,\r
290         "z": "fe3a5d18.ca1b6",\r
291         "wires": [\r
292             [\r
293                 "21359c3d.902a24"\r
294             ]\r
295         ]\r
296     },\r
297     {\r
298         "id": "21359c3d.902a24",\r
299         "type": "block",\r
300         "name": "block : atomic",\r
301         "xml": "<block atomic=\"true\">",\r
302         "atomic": "true",\r
303         "outputs": 1,\r
304         "x": 1594.6663208007812,\r
305         "y": 849.6666679382324,\r
306         "z": "fe3a5d18.ca1b6",\r
307         "wires": [\r
308             [\r
309                 "b1f8674.56f5f98"\r
310             ]\r
311         ]\r
312     },\r
313     {\r
314         "id": "b1f8674.56f5f98",\r
315         "type": "switchNode",\r
316         "name": "switch name (DeviceName)",\r
317         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$didx].name == 'name'`\">\n\n",\r
318         "comments": "",\r
319         "outputs": 1,\r
320         "x": 1799.3342399597168,\r
321         "y": 858.0001764297485,\r
322         "z": "fe3a5d18.ca1b6",\r
323         "wires": [\r
324             [\r
325                 "708fccb5.daf804"\r
326             ]\r
327         ]\r
328     },\r
329     {\r
330         "id": "708fccb5.daf804",\r
331         "type": "outcomeTrue",\r
332         "name": "true",\r
333         "xml": "<outcome value='true'>\n",\r
334         "comments": "",\r
335         "outputs": 1,\r
336         "x": 2022.3346977233887,\r
337         "y": 839.0002365112305,\r
338         "z": "fe3a5d18.ca1b6",\r
339         "wires": [\r
340             [\r
341                 "eb8a8320.4a5de"\r
342             ]\r
343         ]\r
344     },\r
345     {\r
346         "id": "eb8a8320.4a5de",\r
347         "type": "block",\r
348         "name": "block : atomic",\r
349         "xml": "<block atomic=\"true\">",\r
350         "atomic": "true",\r
351         "outputs": 1,\r
352         "x": 1760.6675491333008,\r
353         "y": 940.0002403259277,\r
354         "z": "fe3a5d18.ca1b6",\r
355         "wires": [\r
356             [\r
357                 "f39deed1.3e3c"\r
358             ]\r
359         ]\r
360     },\r
361     {\r
362         "id": "f39deed1.3e3c",\r
363         "type": "switchNode",\r
364         "name": "switch deviceName match",\r
365         "xml": "<switch test=\"`$prop.wan.deviceName == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$didx].value`\">\n\n\n",\r
366         "comments": "",\r
367         "outputs": 1,\r
368         "x": 1966.3342742919922,\r
369         "y": 941.0003042221069,\r
370         "z": "fe3a5d18.ca1b6",\r
371         "wires": [\r
372             [\r
373                 "bb4cb546.fc5c48"\r
374             ]\r
375         ]\r
376     },\r
377     {\r
378         "id": "bb4cb546.fc5c48",\r
379         "type": "outcomeTrue",\r
380         "name": "true",\r
381         "xml": "<outcome value='true'>\n",\r
382         "comments": "",\r
383         "outputs": 1,\r
384         "x": 1735.668342590332,\r
385         "y": 1007.0003929138184,\r
386         "z": "fe3a5d18.ca1b6",\r
387         "wires": [\r
388             [\r
389                 "f77de57f.61b768"\r
390             ]\r
391         ]\r
392     },\r
393     {\r
394         "id": "f77de57f.61b768",\r
395         "type": "block",\r
396         "name": "block : atomic",\r
397         "xml": "<block atomic=\"true\">",\r
398         "atomic": "true",\r
399         "outputs": 1,\r
400         "x": 1885.0003128051758,\r
401         "y": 1012.0001487731934,\r
402         "z": "fe3a5d18.ca1b6",\r
403         "wires": [\r
404             [\r
405                 "93f703bf.f8f44",\r
406                 "a140338b.f48e2",\r
407                 "a367096a.4c3508"\r
408             ]\r
409         ]\r
410     },\r
411     {\r
412         "id": "93f703bf.f8f44",\r
413         "type": "for",\r
414         "name": "for loop deviceidx - Get deviceId from servicedata",\r
415         "xml": "<for index=\"deviceidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`\">\n",\r
416         "comments": "",\r
417         "outputs": 1,\r
418         "x": 2156.197494506836,\r
419         "y": 983.0313453674316,\r
420         "z": "fe3a5d18.ca1b6",\r
421         "wires": [\r
422             [\r
423                 "16b92c49.0550e4"\r
424             ]\r
425         ]\r
426     },\r
427     {\r
428         "id": "a140338b.f48e2",\r
429         "type": "set",\r
430         "name": "set tmp.devicevidx",\r
431         "xml": "<set>\n<parameter name='tmp.devicevidx' value='`$vfidx`' />\n\n",\r
432         "comments": "",\r
433         "x": 2073.9994049072266,\r
434         "y": 1023.0001039505005,\r
435         "z": "fe3a5d18.ca1b6",\r
436         "wires": []\r
437     },\r
438     {\r
439         "id": "16b92c49.0550e4",\r
440         "type": "block",\r
441         "name": "block : atomic",\r
442         "xml": "<block atomic=\"true\">",\r
443         "atomic": "true",\r
444         "outputs": 1,\r
445         "x": 2321.1983489990234,\r
446         "y": 1035.0314292907715,\r
447         "z": "fe3a5d18.ca1b6",\r
448         "wires": [\r
449             [\r
450                 "2c030d38.c88f02",\r
451                 "27a33e60.c61c12"\r
452             ]\r
453         ]\r
454     },\r
455     {\r
456         "id": "2c030d38.c88f02",\r
457         "type": "switchNode",\r
458         "name": "switch deviceId",\r
459         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",\r
460         "comments": "",\r
461         "outputs": 1,\r
462         "x": 2336.6680221557617,\r
463         "y": 1077.6669998168945,\r
464         "z": "fe3a5d18.ca1b6",\r
465         "wires": [\r
466             [\r
467                 "cfe51c42.c396a"\r
468             ]\r
469         ]\r
470     },\r
471     {\r
472         "id": "c2afdbf0.691fd8",\r
473         "type": "comment",\r
474         "name": "Get deviceId from device resource created for this service",\r
475         "info": "",\r
476         "comments": "",\r
477         "x": 2164.333366394043,\r
478         "y": 908.3332514762878,\r
479         "z": "fe3a5d18.ca1b6",\r
480         "wires": []\r
481     },\r
482     {\r
483         "id": "cfe51c42.c396a",\r
484         "type": "outcomeTrue",\r
485         "name": "true",\r
486         "xml": "<outcome value='true'>\n",\r
487         "comments": "",\r
488         "outputs": 1,\r
489         "x": 2489.6683921813965,\r
490         "y": 1078.6670770645142,\r
491         "z": "fe3a5d18.ca1b6",\r
492         "wires": [\r
493             [\r
494                 "c26a319e.7f774"\r
495             ]\r
496         ]\r
497     },\r
498     {\r
499         "id": "c26a319e.7f774",\r
500         "type": "set",\r
501         "name": "set prop.wan.deviceId",\r
502         "xml": "<set>\n<parameter name='prop.wan.deviceId' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].value`' />\n",\r
503         "comments": "",\r
504         "x": 2658.6689987182617,\r
505         "y": 1077.2671117782593,\r
506         "z": "fe3a5d18.ca1b6",\r
507         "wires": []\r
508     },\r
509     {\r
510         "id": "f476b4c1.90d488",\r
511         "type": "switchNode",\r
512         "name": "switch ActivateSiteInstance",\r
513         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSiteInstance'`\">\n\n    \n\n",\r
514         "comments": "",\r
515         "outputs": 1,\r
516         "x": 989.6666870117188,\r
517         "y": 786.666690826416,\r
518         "z": "fe3a5d18.ca1b6",\r
519         "wires": [\r
520             [\r
521                 "b3e07a22.de09f8"\r
522             ]\r
523         ]\r
524     },\r
525     {\r
526         "id": "b3e07a22.de09f8",\r
527         "type": "outcomeTrue",\r
528         "name": "true",\r
529         "xml": "<outcome value='true'>\n",\r
530         "comments": "",\r
531         "outputs": 1,\r
532         "x": 1183.666862487793,\r
533         "y": 785.6667108535767,\r
534         "z": "fe3a5d18.ca1b6",\r
535         "wires": [\r
536             [\r
537                 "b9aff3fc.b88e"\r
538             ]\r
539         ]\r
540     },\r
541     {\r
542         "id": "b9aff3fc.b88e",\r
543         "type": "set",\r
544         "name": "set tmp.siteVidx",\r
545         "xml": "<set>\n<parameter name='tmp.siteVidx' value='`$vfidx`' />\n<parameter name='ctx.site.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].`' />",\r
546         "comments": "",\r
547         "x": 1346.6662979125977,\r
548         "y": 782.666711807251,\r
549         "z": "fe3a5d18.ca1b6",\r
550         "wires": []\r
551     },\r
552     {\r
553         "id": "55e5acbf.fe5b24",\r
554         "type": "switchNode",\r
555         "name": "switch tmp.wanPortVidx",\r
556         "xml": "<switch test=\"`$tmp.wanPortVidx`\">\n\n",\r
557         "comments": "",\r
558         "outputs": 1,\r
559         "x": 567.0002365112305,\r
560         "y": 842.0002207756042,\r
561         "z": "fe3a5d18.ca1b6",\r
562         "wires": [\r
563             [\r
564                 "51af758e.d4a8ec"\r
565             ]\r
566         ]\r
567     },\r
568     {\r
569         "id": "bf167ea6.f9992",\r
570         "type": "switchNode",\r
571         "name": "switch tmp.siteVidx",\r
572         "xml": "<switch test=\"`$tmp.siteVidx`\">\n\n",\r
573         "comments": "",\r
574         "outputs": 1,\r
575         "x": 551.984489440918,\r
576         "y": 886.9965887069702,\r
577         "z": "fe3a5d18.ca1b6",\r
578         "wires": [\r
579             [\r
580                 "d0596a3e.d0abe8"\r
581             ]\r
582         ]\r
583     },\r
584     {\r
585         "id": "89ecf7ea.f65c78",\r
586         "type": "switchNode",\r
587         "name": "switch tmp.devicevidx",\r
588         "xml": "<switch test=\"`$tmp.devicevidx`\">\n\n",\r
589         "comments": "",\r
590         "outputs": 1,\r
591         "x": 563.651237487793,\r
592         "y": 931.9965581893921,\r
593         "z": "fe3a5d18.ca1b6",\r
594         "wires": [\r
595             [\r
596                 "46e578eb.e7f2e8"\r
597             ]\r
598         ]\r
599     },\r
600     {\r
601         "id": "46e578eb.e7f2e8",\r
602         "type": "outcome",\r
603         "name": "NULL",\r
604         "xml": "<outcome value=''>\n",\r
605         "comments": "",\r
606         "outputs": 1,\r
607         "x": 742.0798377990723,\r
608         "y": 932.5679111480713,\r
609         "z": "fe3a5d18.ca1b6",\r
610         "wires": [\r
611             [\r
612                 "7c5cc100.4ca9a"\r
613             ]\r
614         ]\r
615     },\r
616     {\r
617         "id": "d0596a3e.d0abe8",\r
618         "type": "outcome",\r
619         "name": "NULL",\r
620         "xml": "<outcome value=''>\n",\r
621         "comments": "",\r
622         "outputs": 1,\r
623         "x": 735.4131698608398,\r
624         "y": 885.5678281784058,\r
625         "z": "fe3a5d18.ca1b6",\r
626         "wires": [\r
627             [\r
628                 "c0c0caa4.6e3d18"\r
629             ]\r
630         ]\r
631     },\r
632     {\r
633         "id": "51af758e.d4a8ec",\r
634         "type": "outcome",\r
635         "name": "NULL",\r
636         "xml": "<outcome value=''>\n",\r
637         "comments": "",\r
638         "outputs": 1,\r
639         "x": 737.4289398193359,\r
640         "y": 844.5715956687927,\r
641         "z": "fe3a5d18.ca1b6",\r
642         "wires": [\r
643             [\r
644                 "c3788885.5a3728"\r
645             ]\r
646         ]\r
647     },\r
648     {\r
649         "id": "c3788885.5a3728",\r
650         "type": "returnFailure",\r
651         "name": "return failure",\r
652         "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=\"ActivateSDWANPortInstance not found in service-data\" />\n",\r
653         "comments": "",\r
654         "x": 878.8580017089844,\r
655         "y": 844.7145147323608,\r
656         "z": "fe3a5d18.ca1b6",\r
657         "wires": []\r
658     },\r
659     {\r
660         "id": "c0c0caa4.6e3d18",\r
661         "type": "returnFailure",\r
662         "name": "return failure",\r
663         "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=\"ActivateSiteInstance not found in service-data\" />\n",\r
664         "comments": "",\r
665         "x": 879.8421325683594,\r
666         "y": 885.710732460022,\r
667         "z": "fe3a5d18.ca1b6",\r
668         "wires": []\r
669     },\r
670     {\r
671         "id": "7c5cc100.4ca9a",\r
672         "type": "returnFailure",\r
673         "name": "return failure",\r
674         "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=\"ActivateSDWANDeviceInstance not found in service-data\" />\n",\r
675         "comments": "",\r
676         "x": 888.508623123169,\r
677         "y": 931.7109107971191,\r
678         "z": "fe3a5d18.ca1b6",\r
679         "wires": []\r
680     },\r
681     {\r
682         "id": "e293366.5ca59c8",\r
683         "type": "for",\r
684         "name": "for loop sidx - Get siteId from servicedata",\r
685         "xml": "<for index=\"sidx\" start=\"0\" end=\"`$ctx.site.vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`\">\n    \n    \n",\r
686         "comments": "",\r
687         "outputs": 1,\r
688         "x": 628,\r
689         "y": 996.0000038146973,\r
690         "z": "fe3a5d18.ca1b6",\r
691         "wires": [\r
692             [\r
693                 "42f26061.cc632"\r
694             ]\r
695         ]\r
696     },\r
697     {\r
698         "id": "42f26061.cc632",\r
699         "type": "block",\r
700         "name": "block : atomic",\r
701         "xml": "<block atomic=\"true\">",\r
702         "atomic": "true",\r
703         "outputs": 1,\r
704         "x": 890.0101928710938,\r
705         "y": 996.6768283843994,\r
706         "z": "fe3a5d18.ca1b6",\r
707         "wires": [\r
708             [\r
709                 "cb46a81.d18b858"\r
710             ]\r
711         ]\r
712     },\r
713     {\r
714         "id": "cb46a81.d18b858",\r
715         "type": "switchNode",\r
716         "name": "switch siteId",\r
717         "xml": "<switch test=\"`$ctx.site.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$sidx].name == 'siteId'`\">\n",\r
718         "comments": "",\r
719         "outputs": 1,\r
720         "x": 1059.0003280639648,\r
721         "y": 997.0001344680786,\r
722         "z": "fe3a5d18.ca1b6",\r
723         "wires": [\r
724             [\r
725                 "a653a5d0.84bc78"\r
726             ]\r
727         ]\r
728     },\r
729     {\r
730         "id": "a653a5d0.84bc78",\r
731         "type": "outcomeTrue",\r
732         "name": "true",\r
733         "xml": "<outcome value='true'>\n",\r
734         "comments": "",\r
735         "outputs": 1,\r
736         "x": 1197.0007858276367,\r
737         "y": 995.0001192092896,\r
738         "z": "fe3a5d18.ca1b6",\r
739         "wires": [\r
740             [\r
741                 "53153bf4.922eb4"\r
742             ]\r
743         ]\r
744     },\r
745     {\r
746         "id": "53153bf4.922eb4",\r
747         "type": "set",\r
748         "name": "set prop.wan.siteId",\r
749         "xml": "<set>\n<parameter name='prop.wan.siteId' value='`$ctx.site.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$sidx].value`' />\n\n\n",\r
750         "comments": "",\r
751         "x": 1361.000820159912,\r
752         "y": 996.5999727249146,\r
753         "z": "fe3a5d18.ca1b6",\r
754         "wires": []\r
755     },\r
756     {\r
757         "id": "7b2acf1d.5d2c4",\r
758         "type": "execute",\r
759         "name": "execute RestApiCallNode Get token",\r
760         "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
761         "comments": "",\r
762         "outputs": 1,\r
763         "x": 611,\r
764         "y": 1169.3333778381348,\r
765         "z": "fe3a5d18.ca1b6",\r
766         "wires": [\r
767             [\r
768                 "1d80bee.50bc541",\r
769                 "eb5f900d.dda61"\r
770             ]\r
771         ]\r
772     },\r
773     {\r
774         "id": "56ffc8fe.295058",\r
775         "type": "get-resource",\r
776         "name": "get-resource esr-thirdparty-sdnc",\r
777         "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
778         "comments": "",\r
779         "outputs": 1,\r
780         "x": 597.0617713928223,\r
781         "y": 1086.2122583389282,\r
782         "z": "fe3a5d18.ca1b6",\r
783         "wires": [\r
784             [\r
785                 "2d46ac01.fa3384",\r
786                 "c3235371.70f16",\r
787                 "11a49df.fe69062"\r
788             ]\r
789         ]\r
790     },\r
791     {\r
792         "id": "2d46ac01.fa3384",\r
793         "type": "success",\r
794         "name": "success",\r
795         "xml": "<outcome value='success'>\n",\r
796         "comments": "",\r
797         "outputs": 1,\r
798         "x": 832.0618362426758,\r
799         "y": 1050.212275505066,\r
800         "z": "fe3a5d18.ca1b6",\r
801         "wires": [\r
802             [\r
803                 "ec636fec.ea999"\r
804             ]\r
805         ]\r
806     },\r
807     {\r
808         "id": "c3235371.70f16",\r
809         "type": "not-found",\r
810         "name": "not-found",\r
811         "xml": "<outcome value='not-found'>\n",\r
812         "comments": "",\r
813         "outputs": 1,\r
814         "x": 834.5527191162109,\r
815         "y": 1085.7863121032715,\r
816         "z": "fe3a5d18.ca1b6",\r
817         "wires": [\r
818             [\r
819                 "1b1255b3.3b49aa"\r
820             ]\r
821         ]\r
822     },\r
823     {\r
824         "id": "11a49df.fe69062",\r
825         "type": "other",\r
826         "name": "other",\r
827         "xml": "<outcome value='Other'>\n",\r
828         "comments": "",\r
829         "outputs": 1,\r
830         "x": 829.8857269287109,\r
831         "y": 1122.11967086792,\r
832         "z": "fe3a5d18.ca1b6",\r
833         "wires": [\r
834             [\r
835                 "5e1f1c91.441454"\r
836             ]\r
837         ]\r
838     },\r
839     {\r
840         "id": "1b1255b3.3b49aa",\r
841         "type": "returnFailure",\r
842         "name": "return failure",\r
843         "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
844         "comments": "",\r
845         "x": 980.1241149902344,\r
846         "y": 1084.0719995498657,\r
847         "z": "fe3a5d18.ca1b6",\r
848         "wires": []\r
849     },\r
850     {\r
851         "id": "ec636fec.ea999",\r
852         "type": "set",\r
853         "name": "set controller data",\r
854         "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
855         "comments": "",\r
856         "x": 992.5619468688965,\r
857         "y": 1048.212215423584,\r
858         "z": "fe3a5d18.ca1b6",\r
859         "wires": []\r
860     },\r
861     {\r
862         "id": "1d80bee.50bc541",\r
863         "type": "success",\r
864         "name": "success",\r
865         "xml": "<outcome value='success'>\n",\r
866         "comments": "",\r
867         "outputs": 1,\r
868         "x": 846.0001258850098,\r
869         "y": 1155.333366394043,\r
870         "z": "fe3a5d18.ca1b6",\r
871         "wires": [\r
872             [\r
873                 "f4c3c5fd.2e8218"\r
874             ]\r
875         ]\r
876     },\r
877     {\r
878         "id": "eb5f900d.dda61",\r
879         "type": "failure",\r
880         "name": "failure",\r
881         "xml": "<outcome value='failure'>\n",\r
882         "comments": "",\r
883         "outputs": 1,\r
884         "x": 845.2501258850098,\r
885         "y": 1190.9762735366821,\r
886         "z": "fe3a5d18.ca1b6",\r
887         "wires": [\r
888             [\r
889                 "e10df217.332b2"\r
890             ]\r
891         ]\r
892     },\r
893     {\r
894         "id": "e10df217.332b2",\r
895         "type": "returnFailure",\r
896         "name": "return failure",\r
897         "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
898         "comments": "",\r
899         "x": 994.0001335144043,\r
900         "y": 1191.7263555526733,\r
901         "z": "fe3a5d18.ca1b6",\r
902         "wires": []\r
903     },\r
904     {\r
905         "id": "f4c3c5fd.2e8218",\r
906         "type": "set",\r
907         "name": "set token-id",\r
908         "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
909         "comments": "",\r
910         "x": 988.0001335144043,\r
911         "y": 1154.3333673477173,\r
912         "z": "fe3a5d18.ca1b6",\r
913         "wires": []\r
914     },\r
915     {\r
916         "id": "ed22f7f1.ec7288",\r
917         "type": "set",\r
918         "name": "set prop.tenant-id",\r
919         "xml": "<set>\n<parameter name='prop.tenant-id' value='d9511b64-61ae-446e-96a1-6adbff09582c' />\n",\r
920         "comments": "",\r
921         "x": 552.9999847412109,\r
922         "y": 1214.6250553131104,\r
923         "z": "fe3a5d18.ca1b6",\r
924         "wires": []\r
925     },\r
926     {\r
927         "id": "fb6cf9c5.202108",\r
928         "type": "execute",\r
929         "name": "execute RestApiCallNode Create tenant auth",\r
930         "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/campus/v2/baseservice/tenants/authorization/' + $prop.tenant-id`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"tenant-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
931         "comments": "",\r
932         "outputs": 1,\r
933         "x": 634.9999961853027,\r
934         "y": 1256.6249332427979,\r
935         "z": "fe3a5d18.ca1b6",\r
936         "wires": [\r
937             []\r
938         ]\r
939     },\r
940     {\r
941         "id": "5e1f1c91.441454",\r
942         "type": "returnFailure",\r
943         "name": "return failure",\r
944         "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
945         "comments": "",\r
946         "x": 983.6582183837891,\r
947         "y": 1119.5587577819824,\r
948         "z": "fe3a5d18.ca1b6",\r
949         "wires": []\r
950     },\r
951     {\r
952         "id": "b2fc342f.6c0b68",\r
953         "type": "returnSuccess",\r
954         "name": "return success",\r
955         "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
956         "comments": "",\r
957         "x": 496,\r
958         "y": 1733.999966621399,\r
959         "z": "fe3a5d18.ca1b6",\r
960         "wires": []\r
961     },\r
962     {\r
963         "id": "be4cbaa5.a17bc8",\r
964         "type": "set",\r
965         "name": "set prop.wan.transportNetworkId",\r
966         "xml": "<set>\n<parameter name='prop.wan.transportNetworkId' value='`$transportNetworksResp.data.transportNetworks[$tidx].id`' />\n",\r
967         "comments": "",\r
968         "x": 1450.656608581543,\r
969         "y": 1367.6559944152832,\r
970         "z": "fe3a5d18.ca1b6",\r
971         "wires": []\r
972     },\r
973     {\r
974         "id": "a3594760.3045f8",\r
975         "type": "switchNode",\r
976         "name": "switch transportNetworkName same",\r
977         "xml": "<switch test=\"`$transportNetworksResp.data.transportNetworks[$tidx].name == $prop.wan.transportNetworkName`\">\n\n",\r
978         "comments": "",\r
979         "outputs": 1,\r
980         "x": 1030.666259765625,\r
981         "y": 1368.3323431015015,\r
982         "z": "fe3a5d18.ca1b6",\r
983         "wires": [\r
984             [\r
985                 "2217267e.e3931a"\r
986             ]\r
987         ]\r
988     },\r
989     {\r
990         "id": "2217267e.e3931a",\r
991         "type": "outcomeTrue",\r
992         "name": "true",\r
993         "xml": "<outcome value='true'>\n",\r
994         "comments": "",\r
995         "outputs": 1,\r
996         "x": 1243.6657104492188,\r
997         "y": 1368.3322610855103,\r
998         "z": "fe3a5d18.ca1b6",\r
999         "wires": [\r
1000             [\r
1001                 "be4cbaa5.a17bc8"\r
1002             ]\r
1003         ]\r
1004     },\r
1005     {\r
1006         "id": "ab99bc56.03a1f",\r
1007         "type": "block",\r
1008         "name": "block",\r
1009         "xml": "<block>\n",\r
1010         "atomic": "false",\r
1011         "comments": "",\r
1012         "outputs": 1,\r
1013         "x": 817.6660118103027,\r
1014         "y": 1368.9990720748901,\r
1015         "z": "fe3a5d18.ca1b6",\r
1016         "wires": [\r
1017             [\r
1018                 "a3594760.3045f8"\r
1019             ]\r
1020         ]\r
1021     },\r
1022     {\r
1023         "id": "95135039.a60aa",\r
1024         "type": "for",\r
1025         "name": "for loop tidx - Get transportNetwork ID",\r
1026         "xml": "<for index=\"tidx\" start=\"0\" end=\"`$transportNetworksResp.data.transportNetworks_length`\">\n    \n    \n",\r
1027         "comments": "",\r
1028         "outputs": 1,\r
1029         "x": 593.6655960083008,\r
1030         "y": 1368.9987926483154,\r
1031         "z": "fe3a5d18.ca1b6",\r
1032         "wires": [\r
1033             [\r
1034                 "ab99bc56.03a1f"\r
1035             ]\r
1036         ]\r
1037     },\r
1038     {\r
1039         "id": "bc190905.6bdb08",\r
1040         "type": "block",\r
1041         "name": "block : atomic",\r
1042         "xml": "<block atomic=\"true\">",\r
1043         "atomic": "true",\r
1044         "comments": "",\r
1045         "outputs": 1,\r
1046         "x": 1095.6652336120605,\r
1047         "y": 1324.6654443740845,\r
1048         "z": "fe3a5d18.ca1b6",\r
1049         "wires": [\r
1050             []\r
1051         ]\r
1052     },\r
1053     {\r
1054         "id": "ce813dcf.485f7",\r
1055         "type": "returnFailure",\r
1056         "name": "return failure",\r
1057         "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 transport network info rest api\" />\n",\r
1058         "comments": "",\r
1059         "x": 1084.66548538208,\r
1060         "y": 1280.6654481887817,\r
1061         "z": "fe3a5d18.ca1b6",\r
1062         "wires": []\r
1063     },\r
1064     {\r
1065         "id": "ee008d39.43008",\r
1066         "type": "failure",\r
1067         "name": "failure",\r
1068         "xml": "<outcome value='failure'>\n",\r
1069         "comments": "",\r
1070         "outputs": 1,\r
1071         "x": 942.665153503418,\r
1072         "y": 1281.6654481887817,\r
1073         "z": "fe3a5d18.ca1b6",\r
1074         "wires": [\r
1075             [\r
1076                 "ce813dcf.485f7"\r
1077             ]\r
1078         ]\r
1079     },\r
1080     {\r
1081         "id": "719fe2a2.cae46c",\r
1082         "type": "success",\r
1083         "name": "success",\r
1084         "xml": "<outcome value='success'>\n",\r
1085         "comments": "",\r
1086         "outputs": 1,\r
1087         "x": 938.6652297973633,\r
1088         "y": 1325.6657705307007,\r
1089         "z": "fe3a5d18.ca1b6",\r
1090         "wires": [\r
1091             [\r
1092                 "bc190905.6bdb08"\r
1093             ]\r
1094         ]\r
1095     },\r
1096     {\r
1097         "id": "df7c0c81.e6dd8",\r
1098         "type": "execute",\r
1099         "name": "execute RestApiCallNode get transport network info",\r
1100         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/network-orchestration-resources'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"transportNetworksResp\"/>\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
1101         "comments": "",\r
1102         "outputs": 1,\r
1103         "x": 650.6655883789062,\r
1104         "y": 1330.6659331321716,\r
1105         "z": "fe3a5d18.ca1b6",\r
1106         "wires": [\r
1107             [\r
1108                 "719fe2a2.cae46c",\r
1109                 "ee008d39.43008"\r
1110             ]\r
1111         ]\r
1112     },\r
1113     {\r
1114         "id": "a9a5c4dd.f02338",\r
1115         "type": "save",\r
1116         "name": "save sdwan vpn bandwidth configuration in AAI",\r
1117         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='bandwidth-history' \n      key='sdwan-bandwidth-policy-id = $prop.bandwidth.bandwidth-policyId' >\n<parameter name=\"sdwan-bandwidth-policy-id\" value=\"`$prop.bandwidth.bandwidth-policyId`\" />\n<parameter name=\"sdwan-bandwidth-policy-name\" value=\"`$prop.bandwidth.bandwidth-policyId`\" />\n<parameter name=\"bandwidth-value\" value=\"`$prop.wan.inputBandwidth`\" />\n<parameter name=\"bandwidth-change-time\" value=\"`$prop.wan.bandwidth-change-time`\" />\n<parameter name=\"vpn-id\" value=\"`$prop.bandwidth.vpnId`\" />\n<!--parameter name='model-customization-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' /-->\n",\r
1118         "comments": "",\r
1119         "outputs": 1,\r
1120         "x": 599.7565498352051,\r
1121         "y": 1688.3282527923584,\r
1122         "z": "fe3a5d18.ca1b6",\r
1123         "wires": [\r
1124             [\r
1125                 "9a0d6126.e5e05",\r
1126                 "7f8d367f.2cb258"\r
1127             ]\r
1128         ]\r
1129     },\r
1130     {\r
1131         "id": "565469d0.7320a8",\r
1132         "type": "for",\r
1133         "name": "for loop bwidx -input-parameters",\r
1134         "xml": "<for index=\"bwidx\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n",\r
1135         "comments": "",\r
1136         "outputs": 1,\r
1137         "x": 568.0937576293945,\r
1138         "y": 1508.6650838851929,\r
1139         "z": "fe3a5d18.ca1b6",\r
1140         "wires": [\r
1141             [\r
1142                 "fe4d7e03.7b0c7"\r
1143             ]\r
1144         ]\r
1145     },\r
1146     {\r
1147         "id": "fe4d7e03.7b0c7",\r
1148         "type": "block",\r
1149         "name": "block : atomic",\r
1150         "xml": "<block atomic=\"true\">",\r
1151         "atomic": "true",\r
1152         "outputs": 1,\r
1153         "x": 804.0945892333984,\r
1154         "y": 1507.665246963501,\r
1155         "z": "fe3a5d18.ca1b6",\r
1156         "wires": [\r
1157             [\r
1158                 "7f4a05af.27429c",\r
1159                 "67d8e067.207d7"\r
1160             ]\r
1161         ]\r
1162     },\r
1163     {\r
1164         "id": "7f4a05af.27429c",\r
1165         "type": "switchNode",\r
1166         "name": "switch bandwidth",\r
1167         "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].name == 'bandwidth'`\">\n",\r
1168         "comments": "",\r
1169         "outputs": 1,\r
1170         "x": 990.563835144043,\r
1171         "y": 1504.3006629943848,\r
1172         "z": "fe3a5d18.ca1b6",\r
1173         "wires": [\r
1174             [\r
1175                 "27845d4d.df4892"\r
1176             ]\r
1177         ]\r
1178     },\r
1179     {\r
1180         "id": "27845d4d.df4892",\r
1181         "type": "outcomeTrue",\r
1182         "name": "true",\r
1183         "xml": "<outcome value='true'>\n",\r
1184         "comments": "",\r
1185         "outputs": 1,\r
1186         "x": 1156.5641689300537,\r
1187         "y": 1501.3008270263672,\r
1188         "z": "fe3a5d18.ca1b6",\r
1189         "wires": [\r
1190             [\r
1191                 "7318bc58.3a78f4"\r
1192             ]\r
1193         ]\r
1194     },\r
1195     {\r
1196         "id": "7318bc58.3a78f4",\r
1197         "type": "set",\r
1198         "name": "set prop.wan.inputBandwidth & outputBandwidth",\r
1199         "xml": "<set>\n<parameter name='prop.wan.inputBandwidth' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].value`' />\n<parameter name='prop.wan.outputBandwidth' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].value`' />\n",\r
1200         "comments": "",\r
1201         "x": 1419.564826965332,\r
1202         "y": 1499.9009237289429,\r
1203         "z": "fe3a5d18.ca1b6",\r
1204         "wires": []\r
1205     },\r
1206     {\r
1207         "id": "67d8e067.207d7",\r
1208         "type": "switchNode",\r
1209         "name": "switch bandwidth",\r
1210         "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].name == 'bandwidth-change-time'`\">\n\n",\r
1211         "comments": "",\r
1212         "outputs": 1,\r
1213         "x": 993.3692321777344,\r
1214         "y": 1542.3316974639893,\r
1215         "z": "fe3a5d18.ca1b6",\r
1216         "wires": [\r
1217             [\r
1218                 "d3e4fb8e.757688"\r
1219             ]\r
1220         ]\r
1221     },\r
1222     {\r
1223         "id": "d3e4fb8e.757688",\r
1224         "type": "outcomeTrue",\r
1225         "name": "true",\r
1226         "xml": "<outcome value='true'>\n",\r
1227         "comments": "",\r
1228         "outputs": 1,\r
1229         "x": 1159.3695659637451,\r
1230         "y": 1539.3318614959717,\r
1231         "z": "fe3a5d18.ca1b6",\r
1232         "wires": [\r
1233             [\r
1234                 "dad668dd.f97bc8"\r
1235             ]\r
1236         ]\r
1237     },\r
1238     {\r
1239         "id": "dad668dd.f97bc8",\r
1240         "type": "set",\r
1241         "name": "set prop.wan.bandwidth-change-time",\r
1242         "xml": "<set>\n<parameter name='prop.wan.bandwidth-change-time' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].value`' />\n\n",\r
1243         "comments": "",\r
1244         "x": 1393.370246887207,\r
1245         "y": 1537.9320068359375,\r
1246         "z": "fe3a5d18.ca1b6",\r
1247         "wires": []\r
1248     },\r
1249     {\r
1250         "id": "9a0d6126.e5e05",\r
1251         "type": "failure",\r
1252         "name": "success",\r
1253         "xml": "<outcome value='success'>\n",\r
1254         "comments": "",\r
1255         "outputs": 1,\r
1256         "x": 863.0359802246094,\r
1257         "y": 1664.9988250732422,\r
1258         "z": "fe3a5d18.ca1b6",\r
1259         "wires": [\r
1260             [\r
1261                 "2fb60b95.3ca614"\r
1262             ]\r
1263         ]\r
1264     },\r
1265     {\r
1266         "id": "7f8d367f.2cb258",\r
1267         "type": "failure",\r
1268         "name": "failure",\r
1269         "xml": "<outcome value='failure'>\n",\r
1270         "comments": "",\r
1271         "outputs": 1,\r
1272         "x": 858.0359802246094,\r
1273         "y": 1698.9988269805908,\r
1274         "z": "fe3a5d18.ca1b6",\r
1275         "wires": [\r
1276             [\r
1277                 "9bc825b2.9d6228"\r
1278             ]\r
1279         ]\r
1280     },\r
1281     {\r
1282         "id": "2fb60b95.3ca614",\r
1283         "type": "block",\r
1284         "name": "block : atomic",\r
1285         "xml": "<block atomic=\"true\">",\r
1286         "atomic": "true",\r
1287         "comments": "",\r
1288         "outputs": 1,\r
1289         "x": 1015.0359840393066,\r
1290         "y": 1661.9988255500793,\r
1291         "z": "fe3a5d18.ca1b6",\r
1292         "wires": [\r
1293             []\r
1294         ]\r
1295     },\r
1296     {\r
1297         "id": "6d629a7b.45bc64",\r
1298         "type": "execute",\r
1299         "name": "execute generate-vnf-index",\r
1300         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.bandwidth.bandwidth-policyId\"/>\n",\r
1301         "comments": "",\r
1302         "outputs": 1,\r
1303         "x": 540.1652374267578,\r
1304         "y": 1647.998661994934,\r
1305         "z": "fe3a5d18.ca1b6",\r
1306         "wires": [\r
1307             []\r
1308         ]\r
1309     },\r
1310     {\r
1311         "id": "9bc825b2.9d6228",\r
1312         "type": "returnFailure",\r
1313         "name": "return failure",\r
1314         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"Falied to add AAI bandwidth history record\" />\n",\r
1315         "comments": "",\r
1316         "x": 1007.1652164459229,\r
1317         "y": 1698.9988269805908,\r
1318         "z": "fe3a5d18.ca1b6",\r
1319         "wires": []\r
1320     },\r
1321     {\r
1322         "id": "d4773b75.f02ff8",\r
1323         "type": "block",\r
1324         "name": "block : atomic",\r
1325         "xml": "<block atomic=\"true\">",\r
1326         "atomic": "true",\r
1327         "comments": "",\r
1328         "outputs": 1,\r
1329         "x": 1423.831729888916,\r
1330         "y": 1618.6653962135315,\r
1331         "z": "fe3a5d18.ca1b6",\r
1332         "wires": [\r
1333             []\r
1334         ]\r
1335     },\r
1336     {\r
1337         "id": "654cee32.d9b47",\r
1338         "type": "block",\r
1339         "name": "block : atomic",\r
1340         "xml": "<block atomic=\"true\">",\r
1341         "atomic": "true",\r
1342         "comments": "",\r
1343         "outputs": 1,\r
1344         "x": 1419.8355903625488,\r
1345         "y": 1584.169144153595,\r
1346         "z": "fe3a5d18.ca1b6",\r
1347         "wires": [\r
1348             []\r
1349         ]\r
1350     },\r
1351     {\r
1352         "id": "496f73f1.608cec",\r
1353         "type": "success",\r
1354         "name": "success",\r
1355         "xml": "<outcome value='success'>\n",\r
1356         "comments": "",\r
1357         "outputs": 1,\r
1358         "x": 1279.831714630127,\r
1359         "y": 1619.6655592918396,\r
1360         "z": "fe3a5d18.ca1b6",\r
1361         "wires": [\r
1362             [\r
1363                 "d4773b75.f02ff8"\r
1364             ]\r
1365         ]\r
1366     },\r
1367     {\r
1368         "id": "93a36b7f.6e1e08",\r
1369         "type": "failure",\r
1370         "name": "failure",\r
1371         "xml": "<outcome value='failure'>\n",\r
1372         "comments": "",\r
1373         "outputs": 1,\r
1374         "x": 1275.831745147705,\r
1375         "y": 1585.6654524803162,\r
1376         "z": "fe3a5d18.ca1b6",\r
1377         "wires": [\r
1378             [\r
1379                 "654cee32.d9b47"\r
1380             ]\r
1381         ]\r
1382     },\r
1383     {\r
1384         "id": "62263572.725b3c",\r
1385         "type": "execute",\r
1386         "name": "execute RestApiCallNode wan port update",\r
1387         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"wanPortResp\"/>\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
1388         "comments": "",\r
1389         "outputs": 1,\r
1390         "x": 1012.8321380615234,\r
1391         "y": 1594.6657781600952,\r
1392         "z": "fe3a5d18.ca1b6",\r
1393         "wires": [\r
1394             [\r
1395                 "496f73f1.608cec",\r
1396                 "93a36b7f.6e1e08"\r
1397             ]\r
1398         ]\r
1399     },\r
1400     {\r
1401         "id": "e76d9029.37f13",\r
1402         "type": "switchNode",\r
1403         "name": "switch prop.wanPortUpdate null",\r
1404         "xml": "<switch test=\"`$prop.wanPortUpdate`\">",\r
1405         "comments": "",\r
1406         "outputs": 1,\r
1407         "x": 558.1964721679688,\r
1408         "y": 1594.696870803833,\r
1409         "z": "fe3a5d18.ca1b6",\r
1410         "wires": [\r
1411             [\r
1412                 "125755f3.b6968a"\r
1413             ]\r
1414         ]\r
1415     },\r
1416     {\r
1417         "id": "125755f3.b6968a",\r
1418         "type": "outcome",\r
1419         "name": "NULL",\r
1420         "xml": "<outcome value=''>\n",\r
1421         "comments": "",\r
1422         "outputs": 1,\r
1423         "x": 770.1965560913086,\r
1424         "y": 1595.1965408325195,\r
1425         "z": "fe3a5d18.ca1b6",\r
1426         "wires": [\r
1427             [\r
1428                 "62263572.725b3c"\r
1429             ]\r
1430         ]\r
1431     },\r
1432     {\r
1433         "id": "1e1aff6a.3deca1",\r
1434         "type": "returnFailure",\r
1435         "name": "return failure",\r
1436         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1437         "comments": "",\r
1438         "x": 911.6554641723633,\r
1439         "y": 1470.9890832901,\r
1440         "z": "fe3a5d18.ca1b6",\r
1441         "wires": []\r
1442     },\r
1443     {\r
1444         "id": "abee6b5b.1a5908",\r
1445         "type": "set",\r
1446         "name": "set ipAddress prefixLength",\r
1447         "xml": "<set>\n<parameter name='prop.wan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.wan.prefixLength' value='`$ipandMask[1]`' />",\r
1448         "comments": "",\r
1449         "x": 953.6554718017578,\r
1450         "y": 1430.9890804290771,\r
1451         "z": "fe3a5d18.ca1b6",\r
1452         "wires": []\r
1453     },\r
1454     {\r
1455         "id": "24145b24.9d1724",\r
1456         "type": "failure",\r
1457         "name": "failure",\r
1458         "xml": "<outcome value='failure'>\n",\r
1459         "comments": "",\r
1460         "outputs": 1,\r
1461         "x": 756.6554565429688,\r
1462         "y": 1473.9890842437744,\r
1463         "z": "fe3a5d18.ca1b6",\r
1464         "wires": [\r
1465             [\r
1466                 "1e1aff6a.3deca1"\r
1467             ]\r
1468         ]\r
1469     },\r
1470     {\r
1471         "id": "621ae9dc.5f21b8",\r
1472         "type": "failure",\r
1473         "name": "success",\r
1474         "xml": "<outcome value='success'>\n",\r
1475         "comments": "",\r
1476         "outputs": 1,\r
1477         "x": 756.6554527282715,\r
1478         "y": 1432.9890804290771,\r
1479         "z": "fe3a5d18.ca1b6",\r
1480         "wires": [\r
1481             [\r
1482                 "abee6b5b.1a5908"\r
1483             ]\r
1484         ]\r
1485     },\r
1486     {\r
1487         "id": "1a81feba.045cb1",\r
1488         "type": "execute",\r
1489         "name": "execute split ip and mask",\r
1490         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.wan.ipAddress`'/>\n<parameter name=\"regex\" value=\"/\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"ipandMask\"/>\n",\r
1491         "comments": "",\r
1492         "outputs": 1,\r
1493         "x": 555.6554336547852,\r
1494         "y": 1454.989089012146,\r
1495         "z": "fe3a5d18.ca1b6",\r
1496         "wires": [\r
1497             [\r
1498                 "24145b24.9d1724",\r
1499                 "621ae9dc.5f21b8"\r
1500             ]\r
1501         ]\r
1502     },\r
1503     {\r
1504         "id": "beaaef8c.a4de5",\r
1505         "type": "comment",\r
1506         "name": "Create wan port",\r
1507         "info": "",\r
1508         "comments": "",\r
1509         "x": 519.6653251647949,\r
1510         "y": 1407.999002456665,\r
1511         "z": "fe3a5d18.ca1b6",\r
1512         "wires": []\r
1513     },\r
1514     {\r
1515         "id": "c837b6d8.71b3e8",\r
1516         "type": "comment",\r
1517         "name": "TODO: split ip/mask",\r
1518         "info": "",\r
1519         "comments": "",\r
1520         "x": 943.6651191711426,\r
1521         "y": 1393.1692161560059,\r
1522         "z": "fe3a5d18.ca1b6",\r
1523         "wires": []\r
1524     },\r
1525     {\r
1526         "id": "aaddefb8.d63d3",\r
1527         "type": "comment",\r
1528         "name": "Get network id",\r
1529         "info": "",\r
1530         "comments": "",\r
1531         "x": 604.6652145385742,\r
1532         "y": 1294.9988594055176,\r
1533         "z": "fe3a5d18.ca1b6",\r
1534         "wires": []\r
1535     },\r
1536     {\r
1537         "id": "38661728.f30148",\r
1538         "type": "record",\r
1539         "name": "record",\r
1540         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic111.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"request-action\"/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action`'/>\n",\r
1541         "comments": "",\r
1542         "outputs": 1,\r
1543         "x": 945.0000343322754,\r
1544         "y": 683.0000123977661,\r
1545         "z": "fe3a5d18.ca1b6",\r
1546         "wires": [\r
1547             []\r
1548         ]\r
1549     },\r
1550     {\r
1551         "id": "27a33e60.c61c12",\r
1552         "type": "record",\r
1553         "name": "record",\r
1554         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic113.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].name`'/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].value`'/>\n",\r
1555         "comments": "",\r
1556         "outputs": 1,\r
1557         "x": 2473.00008392334,\r
1558         "y": 1019.0000581741333,\r
1559         "z": "fe3a5d18.ca1b6",\r
1560         "wires": [\r
1561             []\r
1562         ]\r
1563     },\r
1564     {\r
1565         "id": "a367096a.4c3508",\r
1566         "type": "record",\r
1567         "name": "record",\r
1568         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic112.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"tmp.devicevidx\"/>\n<parameter name=\"field3\" value='`$tmp.devicevidx`'/>\n",\r
1569         "comments": "",\r
1570         "outputs": 1,\r
1571         "x": 2028.000057220459,\r
1572         "y": 1074.0000247955322,\r
1573         "z": "fe3a5d18.ca1b6",\r
1574         "wires": [\r
1575             []\r
1576         ]\r
1577     },\r
1578     {\r
1579         "id": "483c2153.d1795",\r
1580         "type": "outcomeTrue",\r
1581         "name": "true",\r
1582         "xml": "<outcome value='true'>\n",\r
1583         "comments": "",\r
1584         "outputs": 1,\r
1585         "x": 1254.4840850830078,\r
1586         "y": 485.00001335144043,\r
1587         "z": "fe3a5d18.ca1b6",\r
1588         "wires": [\r
1589             [\r
1590                 "600f472e.25ba58"\r
1591             ]\r
1592         ]\r
1593     },\r
1594     {\r
1595         "id": "abbfdee9.6a6e5",\r
1596         "type": "switchNode",\r
1597         "name": "switch ActivateSDWANPortInstance",\r
1598         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.request-information.request-action == 'ActivateSDWANPortInstance'`\">\n\n    \n    \n\n",\r
1599         "comments": "",\r
1600         "outputs": 1,\r
1601         "x": 1034.7699279785156,\r
1602         "y": 483.5715036392212,\r
1603         "z": "fe3a5d18.ca1b6",\r
1604         "wires": [\r
1605             [\r
1606                 "483c2153.d1795"\r
1607             ]\r
1608         ]\r
1609     },\r
1610     {\r
1611         "id": "c4affd66.4dfb2",\r
1612         "type": "block",\r
1613         "name": "block : atomic",\r
1614         "xml": "<block atomic=\"true\">",\r
1615         "atomic": "true",\r
1616         "outputs": 1,\r
1617         "x": 797.9841156005859,\r
1618         "y": 484.0000114440918,\r
1619         "z": "fe3a5d18.ca1b6",\r
1620         "wires": [\r
1621             [\r
1622                 "abbfdee9.6a6e5"\r
1623             ]\r
1624         ]\r
1625     },\r
1626     {\r
1627         "id": "23f3a49a.a36dac",\r
1628         "type": "for",\r
1629         "name": "for each existing vf-index",\r
1630         "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",\r
1631         "comments": "",\r
1632         "outputs": 1,\r
1633         "x": 569.4841003417969,\r
1634         "y": 477.9999713897705,\r
1635         "z": "fe3a5d18.ca1b6",\r
1636         "wires": [\r
1637             [\r
1638                 "c4affd66.4dfb2"\r
1639             ]\r
1640         ]\r
1641     },\r
1642     {\r
1643         "id": "fbf16bc4.9feaf8",\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": 853.0000228881836,\r
1650         "y": 386.222261428833,\r
1651         "z": "fe3a5d18.ca1b6",\r
1652         "wires": [\r
1653             [\r
1654                 "5652c210.116cdc"\r
1655             ]\r
1656         ]\r
1657     },\r
1658     {\r
1659         "id": "325ec5e8.8f682a",\r
1660         "type": "switchNode",\r
1661         "name": "switch vf-modules.vf-module_length",\r
1662         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
1663         "comments": "",\r
1664         "outputs": 1,\r
1665         "x": 617,\r
1666         "y": 332.2222456638701,\r
1667         "z": "fe3a5d18.ca1b6",\r
1668         "wires": [\r
1669             [\r
1670                 "49412102.9496d",\r
1671                 "e27deb32.e1e6a8",\r
1672                 "fbf16bc4.9feaf8"\r
1673             ]\r
1674         ]\r
1675     },\r
1676     {\r
1677         "id": "49412102.9496d",\r
1678         "type": "outcome",\r
1679         "name": "0",\r
1680         "xml": "<outcome value='0'>\n",\r
1681         "comments": "",\r
1682         "outputs": 1,\r
1683         "x": 858.4840364456177,\r
1684         "y": 303.99997469829395,\r
1685         "z": "fe3a5d18.ca1b6",\r
1686         "wires": [\r
1687             [\r
1688                 "b39cde31.8ce66"\r
1689             ]\r
1690         ]\r
1691     },\r
1692     {\r
1693         "id": "e27deb32.e1e6a8",\r
1694         "type": "other",\r
1695         "name": "Null",\r
1696         "xml": "<outcome value=''>\n",\r
1697         "comments": "",\r
1698         "outputs": 1,\r
1699         "x": 860.5152254104614,\r
1700         "y": 341.0312857334502,\r
1701         "z": "fe3a5d18.ca1b6",\r
1702         "wires": [\r
1703             [\r
1704                 "b39cde31.8ce66"\r
1705             ]\r
1706         ]\r
1707     },\r
1708     {\r
1709         "id": "b39cde31.8ce66",\r
1710         "type": "returnFailure",\r
1711         "name": "return failure",\r
1712         "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=\"vf-module-operation-input.vf-module-request-input.vf-id not found in service-data\" />\n",\r
1713         "comments": "",\r
1714         "x": 1018.2927408218384,\r
1715         "y": 321.92023417400196,\r
1716         "z": "fe3a5d18.ca1b6",\r
1717         "wires": []\r
1718     },\r
1719     {\r
1720         "id": "5652c210.116cdc",\r
1721         "type": "set",\r
1722         "name": "set vf-module-length",\r
1723         "xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",\r
1724         "comments": "",\r
1725         "x": 1038.6666259765625,\r
1726         "y": 368,\r
1727         "z": "fe3a5d18.ca1b6",\r
1728         "wires": []\r
1729     },\r
1730     {\r
1731         "id": "600f472e.25ba58",\r
1732         "type": "block",\r
1733         "name": "block : atomic",\r
1734         "xml": "<block atomic=\"true\">",\r
1735         "atomic": "true",\r
1736         "outputs": 1,\r
1737         "x": 1428.0313301086426,\r
1738         "y": 462.03124907566234,\r
1739         "z": "fe3a5d18.ca1b6",\r
1740         "wires": [\r
1741             [\r
1742                 "a6912dc8.5986c",\r
1743                 "2acae3d9.7f09cc",\r
1744                 "83a5b820.78ba98",\r
1745                 "b1b5a247.70dba"\r
1746             ]\r
1747         ]\r
1748     },\r
1749     {\r
1750         "id": "a6912dc8.5986c",\r
1751         "type": "set",\r
1752         "name": "set tmp.wanPortVidx and ctx.vnf-data",\r
1753         "xml": "<set>\n<parameter name='tmp.wanPortVidx' value='`$idx`' />\n<parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\n",\r
1754         "comments": "",\r
1755         "x": 1704.9180221557617,\r
1756         "y": 430.37367010116577,\r
1757         "z": "fe3a5d18.ca1b6",\r
1758         "wires": []\r
1759     },\r
1760     {\r
1761         "id": "2acae3d9.7f09cc",\r
1762         "type": "set",\r
1763         "name": "set vf-module-request-input.",\r
1764         "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",\r
1765         "comments": "",\r
1766         "x": 1677.3642578125,\r
1767         "y": 475.0313091278076,\r
1768         "z": "fe3a5d18.ca1b6",\r
1769         "wires": []\r
1770     },\r
1771     {\r
1772         "id": "83a5b820.78ba98",\r
1773         "type": "call",\r
1774         "name": "call sdwan-get-wan-param",\r
1775         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",\r
1776         "comments": "",\r
1777         "outputs": 1,\r
1778         "x": 1664.660732269287,\r
1779         "y": 523.8709006602876,\r
1780         "z": "fe3a5d18.ca1b6",\r
1781         "wires": [\r
1782             []\r
1783         ]\r
1784     },\r
1785     {\r
1786         "id": "be34f62e.f9bdf8",\r
1787         "type": "switchNode",\r
1788         "name": "switch vf-modules.vf-module_length",\r
1789         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
1790         "comments": "",\r
1791         "outputs": 1,\r
1792         "x": 463.03125,\r
1793         "y": 1964.53125,\r
1794         "z": "fe3a5d18.ca1b6",\r
1795         "wires": [\r
1796             [\r
1797                 "52c232df.5401dc"\r
1798             ]\r
1799         ]\r
1800     },\r
1801     {\r
1802         "id": "52c232df.5401dc",\r
1803         "type": "other",\r
1804         "name": "other",\r
1805         "xml": "<outcome value='Other'>\n",\r
1806         "comments": "",\r
1807         "outputs": 1,\r
1808         "x": 699.031268119812,\r
1809         "y": 2037.5312375728972,\r
1810         "z": "fe3a5d18.ca1b6",\r
1811         "wires": [\r
1812             [\r
1813                 "cadc484c.8b1958"\r
1814             ]\r
1815         ]\r
1816     },\r
1817     {\r
1818         "id": "cadc484c.8b1958",\r
1819         "type": "block",\r
1820         "name": "block",\r
1821         "xml": "<block>\n",\r
1822         "atomic": "false",\r
1823         "comments": "",\r
1824         "outputs": 1,\r
1825         "x": 843.3883123397827,\r
1826         "y": 2037.4677495663054,\r
1827         "z": "fe3a5d18.ca1b6",\r
1828         "wires": [\r
1829             [\r
1830                 "4c365aae.126754",\r
1831                 "d7b1d5a0.b2f338",\r
1832                 "cd28ccaa.a0cb3"\r
1833             ]\r
1834         ]\r
1835     },\r
1836     {\r
1837         "id": "cd28ccaa.a0cb3",\r
1838         "type": "set",\r
1839         "name": "set prop.site.deviceId_length",\r
1840         "xml": "<set>\n<parameter name='prop.site.deviceId_length' value='0' />\n",\r
1841         "comments": "",\r
1842         "x": 1065.515284538269,\r
1843         "y": 1988.3089876174927,\r
1844         "z": "fe3a5d18.ca1b6",\r
1845         "wires": []\r
1846     },\r
1847     {\r
1848         "id": "d7b1d5a0.b2f338",\r
1849         "type": "set",\r
1850         "name": "set vf-module-length",\r
1851         "xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",\r
1852         "comments": "",\r
1853         "x": 1039.086916923523,\r
1854         "y": 2024.0868644714355,\r
1855         "z": "fe3a5d18.ca1b6",\r
1856         "wires": []\r
1857     },\r
1858     {\r
1859         "id": "4c365aae.126754",\r
1860         "type": "for",\r
1861         "name": "for each existing vf-index",\r
1862         "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",\r
1863         "comments": "",\r
1864         "outputs": 1,\r
1865         "x": 1052.5152921676636,\r
1866         "y": 2060.308978051413,\r
1867         "z": "fe3a5d18.ca1b6",\r
1868         "wires": [\r
1869             [\r
1870                 "d0642297.f75c7"\r
1871             ]\r
1872         ]\r
1873     },\r
1874     {\r
1875         "id": "d0642297.f75c7",\r
1876         "type": "block",\r
1877         "name": "block : atomic",\r
1878         "xml": "<block atomic=\"true\">",\r
1879         "atomic": "true",\r
1880         "outputs": 1,\r
1881         "x": 1354.0153493881226,\r
1882         "y": 2031.3090119655244,\r
1883         "z": "fe3a5d18.ca1b6",\r
1884         "wires": [\r
1885             [\r
1886                 "1f9b5508.732aeb"\r
1887             ]\r
1888         ]\r
1889     },\r
1890     {\r
1891         "id": "1f9b5508.732aeb",\r
1892         "type": "switchNode",\r
1893         "name": "switch vf-module-id found",\r
1894         "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
1895         "comments": "",\r
1896         "outputs": 1,\r
1897         "x": 1560.8011465072632,\r
1898         "y": 2027.880497932434,\r
1899         "z": "fe3a5d18.ca1b6",\r
1900         "wires": [\r
1901             [\r
1902                 "199c63ad.ad4b1c"\r
1903             ]\r
1904         ]\r
1905     },\r
1906     {\r
1907         "id": "199c63ad.ad4b1c",\r
1908         "type": "outcomeTrue",\r
1909         "name": "true",\r
1910         "xml": "<outcome value='true'>\n",\r
1911         "comments": "",\r
1912         "outputs": 1,\r
1913         "x": 1764.5153875350952,\r
1914         "y": 2026.3090043361299,\r
1915         "z": "fe3a5d18.ca1b6",\r
1916         "wires": [\r
1917             [\r
1918                 "4cd80296.71966c"\r
1919             ]\r
1920         ]\r
1921     },\r
1922     {\r
1923         "id": "4cd80296.71966c",\r
1924         "type": "block",\r
1925         "name": "block : atomic",\r
1926         "xml": "<block atomic=\"true\">",\r
1927         "atomic": "true",\r
1928         "outputs": 1,\r
1929         "x": 1934.8586835861206,\r
1930         "y": 2030.3951397235505,\r
1931         "z": "fe3a5d18.ca1b6",\r
1932         "wires": [\r
1933             [\r
1934                 "cab6ed40.1a967",\r
1935                 "30158b6d.c639f4",\r
1936                 "a23128b1.823648"\r
1937             ]\r
1938         ]\r
1939     },\r
1940     {\r
1941         "id": "cab6ed40.1a967",\r
1942         "type": "set",\r
1943         "name": "set tmp.vidx and ctx.vnf-data",\r
1944         "xml": "<set>\n<parameter name='tmp.vidx' value='`$idx`' />\n<parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\n",\r
1945         "comments": "",\r
1946         "x": 2185.745337486267,\r
1947         "y": 2000.7375526428223,\r
1948         "z": "fe3a5d18.ca1b6",\r
1949         "wires": []\r
1950     },\r
1951     {\r
1952         "id": "30158b6d.c639f4",\r
1953         "type": "set",\r
1954         "name": "set vf-module-request-input.",\r
1955         "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",\r
1956         "comments": "",\r
1957         "x": 2180.1916341781616,\r
1958         "y": 2045.395192652475,\r
1959         "z": "fe3a5d18.ca1b6",\r
1960         "wires": []\r
1961     },\r
1962     {\r
1963         "id": "a23128b1.823648",\r
1964         "type": "call",\r
1965         "name": "call sdwan-get-wan-param",\r
1966         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",\r
1967         "comments": "",\r
1968         "outputs": 1,\r
1969         "x": 2171.488085746765,\r
1970         "y": 2092.2347913081758,\r
1971         "z": "fe3a5d18.ca1b6",\r
1972         "wires": [\r
1973             []\r
1974         ]\r
1975     },\r
1976     {\r
1977         "id": "b1b5a247.70dba",\r
1978         "type": "record",\r
1979         "name": "record",\r
1980         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic121.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"tmp.wanPortVidx\"/>\n<parameter name=\"field3\" value='`$tmp.wanPortVidx`'/>\n<parameter name=\"field4\" value=\"wan port i/p param len\"/>\n<parameter name=\"field5\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`'/>\n",\r
1981         "comments": "",\r
1982         "outputs": 1,\r
1983         "x": 1615.0313711166382,\r
1984         "y": 378.03124713897705,\r
1985         "z": "fe3a5d18.ca1b6",\r
1986         "wires": [\r
1987             []\r
1988         ]\r
1989     }\r
1990 ]