Fixed SDWAN lan-port-activate DG with correct AAI resource
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.json
1 [\r
2     {\r
3         "id": "449f76b2.35ecd8",\r
4         "type": "switchNode",\r
5         "name": "switch vf-modules.vf-module_length",\r
6         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
7         "comments": "",\r
8         "outputs": 1,\r
9         "x": 651.00390625,\r
10         "y": 351.99999046325684,\r
11         "z": "a60b8cc5.55e8f",\r
12         "wires": [\r
13             [\r
14                 "398bb19.252604e",\r
15                 "b6d1d1d8.bb9ed",\r
16                 "62a6e293.8703bc"\r
17             ]\r
18         ]\r
19     },\r
20     {\r
21         "id": "3ae00491.8f60fc",\r
22         "type": "dgstart",\r
23         "name": "DGSTART",\r
24         "outputs": 1,\r
25         "x": 188.00390243530273,\r
26         "y": 43,\r
27         "z": "a60b8cc5.55e8f",\r
28         "wires": [\r
29             [\r
30                 "cd3d997.ba35068"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "cd3d997.ba35068",\r
36         "type": "service-logic",\r
37         "name": "GENERIC-RESOURCE-API ${project.version}",\r
38         "module": "GENERIC-RESOURCE-API",\r
39         "version": "${project.version}",\r
40         "comments": "",\r
41         "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
42         "outputs": 1,\r
43         "x": 257.2896041870117,\r
44         "y": 106.23810958862305,\r
45         "z": "a60b8cc5.55e8f",\r
46         "wires": [\r
47             [\r
48                 "42625ee9.60cf8"\r
49             ]\r
50         ]\r
51     },\r
52     {\r
53         "id": "42625ee9.60cf8",\r
54         "type": "method",\r
55         "name": "method sdwan-vf-operation-lanport-activate",\r
56         "xml": "<method rpc='sdwan-vf-operation-lanport-activate' mode='sync'>\n",\r
57         "comments": "",\r
58         "outputs": 1,\r
59         "x": 269.00389862060547,\r
60         "y": 200.58634185791016,\r
61         "z": "a60b8cc5.55e8f",\r
62         "wires": [\r
63             [\r
64                 "3ec2bae1.a772e6"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "3ec2bae1.a772e6",\r
70         "type": "block",\r
71         "name": "block : atomic",\r
72         "xml": "<block atomic=\"true\">",\r
73         "atomic": "true",\r
74         "outputs": 1,\r
75         "x": 269.67057037353516,\r
76         "y": 456.666708946228,\r
77         "z": "a60b8cc5.55e8f",\r
78         "wires": [\r
79             [\r
80                 "788af4bb.4d81cc",\r
81                 "1b2b5acf.fbd5d5",\r
82                 "449f76b2.35ecd8",\r
83                 "9c153d6a.4cf43",\r
84                 "46f7cea6.503f1",\r
85                 "fcbf2fc7.b018d",\r
86                 "505ed63f.24baa8",\r
87                 "94404e6f.e8fde",\r
88                 "16a0b0ad.e2c3df",\r
89                 "e352097b.fa56f8",\r
90                 "ea89a3cd.96c6c",\r
91                 "b4355150.f8381",\r
92                 "23f60fe.f5fa6f",\r
93                 "9f914b2c.f63948",\r
94                 "3174dd24.ba8ab2",\r
95                 "455e901d.d7497",\r
96                 "41672a48.274fe4",\r
97                 "58693560.f55b6c",\r
98                 "69c506db.344ae8",\r
99                 "3c1e06fc.eec57a",\r
100                 "b87c5ca2.4198d",\r
101                 "13f149d1.1db0a6",\r
102                 "97edc5d7.68c598",\r
103                 "deaed14.de5b43"\r
104             ]\r
105         ]\r
106     },\r
107     {\r
108         "id": "1b2b5acf.fbd5d5",\r
109         "type": "for",\r
110         "name": "for each vnf",\r
111         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
112         "comments": "",\r
113         "outputs": 1,\r
114         "x": 616.0352668762207,\r
115         "y": 222.26914596557617,\r
116         "z": "a60b8cc5.55e8f",\r
117         "wires": [\r
118             [\r
119                 "7ea5c9a1.849a58"\r
120             ]\r
121         ]\r
122     },\r
123     {\r
124         "id": "788af4bb.4d81cc",\r
125         "type": "switchNode",\r
126         "name": "switch vnf_length",\r
127         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
128         "comments": "",\r
129         "outputs": 1,\r
130         "x": 621.0039215087891,\r
131         "y": 161.00001525878906,\r
132         "z": "a60b8cc5.55e8f",\r
133         "wires": [\r
134             [\r
135                 "eddbe91d.071158"\r
136             ]\r
137         ]\r
138     },\r
139     {\r
140         "id": "eddbe91d.071158",\r
141         "type": "outcome",\r
142         "name": "NULL",\r
143         "xml": "<outcome value=''>\n",\r
144         "comments": "",\r
145         "outputs": 1,\r
146         "x": 801.0039024353027,\r
147         "y": 160.00000476837158,\r
148         "z": "a60b8cc5.55e8f",\r
149         "wires": [\r
150             [\r
151                 "43ffd7ae.190158"\r
152             ]\r
153         ]\r
154     },\r
155     {\r
156         "id": "43ffd7ae.190158",\r
157         "type": "returnFailure",\r
158         "name": "return failure",\r
159         "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
160         "comments": "",\r
161         "x": 950.4326286315918,\r
162         "y": 161.14292240142822,\r
163         "z": "a60b8cc5.55e8f",\r
164         "wires": []\r
165     },\r
166     {\r
167         "id": "7ea5c9a1.849a58",\r
168         "type": "switchNode",\r
169         "name": "switch this vnf-id == input vnf-id",\r
170         "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\">    \n",\r
171         "comments": "",\r
172         "outputs": 1,\r
173         "x": 839.0039176940918,\r
174         "y": 223.00001096725464,\r
175         "z": "a60b8cc5.55e8f",\r
176         "wires": [\r
177             [\r
178                 "63b5b6be.7bb648"\r
179             ]\r
180         ]\r
181     },\r
182     {\r
183         "id": "63b5b6be.7bb648",\r
184         "type": "outcomeTrue",\r
185         "name": "true",\r
186         "xml": "<outcome value='true'>\n",\r
187         "comments": "",\r
188         "outputs": 1,\r
189         "x": 1054.0039024353027,\r
190         "y": 221.00000476837158,\r
191         "z": "a60b8cc5.55e8f",\r
192         "wires": [\r
193             [\r
194                 "395d7249.60aa0e"\r
195             ]\r
196         ]\r
197     },\r
198     {\r
199         "id": "395d7249.60aa0e",\r
200         "type": "set",\r
201         "name": "set vnf-index",\r
202         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
203         "comments": "",\r
204         "x": 1218.0039024353027,\r
205         "y": 216.00000476837158,\r
206         "z": "a60b8cc5.55e8f",\r
207         "wires": []\r
208     },\r
209     {\r
210         "id": "b6d1d1d8.bb9ed",\r
211         "type": "outcome",\r
212         "name": "NULL",\r
213         "xml": "<outcome value=''>\n",\r
214         "comments": "",\r
215         "outputs": 1,\r
216         "x": 873.0038986206055,\r
217         "y": 386,\r
218         "z": "a60b8cc5.55e8f",\r
219         "wires": [\r
220             [\r
221                 "284a993a.df0816"\r
222             ]\r
223         ]\r
224     },\r
225     {\r
226         "id": "398bb19.252604e",\r
227         "type": "outcome",\r
228         "name": "0",\r
229         "xml": "<outcome value='0'>\n",\r
230         "comments": "",\r
231         "outputs": 1,\r
232         "x": 878.0038948059082,\r
233         "y": 332.9999990463257,\r
234         "z": "a60b8cc5.55e8f",\r
235         "wires": [\r
236             [\r
237                 "284a993a.df0816"\r
238             ]\r
239         ]\r
240     },\r
241     {\r
242         "id": "284a993a.df0816",\r
243         "type": "returnFailure",\r
244         "name": "return failure",\r
245         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",\r
246         "comments": "",\r
247         "x": 1036.0038986206055,\r
248         "y": 346,\r
249         "z": "a60b8cc5.55e8f",\r
250         "wires": []\r
251     },\r
252     {\r
253         "id": "62a6e293.8703bc",\r
254         "type": "other",\r
255         "name": "other",\r
256         "xml": "<outcome value='Other'>\n",\r
257         "comments": "",\r
258         "outputs": 1,\r
259         "x": 873.0038986206055,\r
260         "y": 447,\r
261         "z": "a60b8cc5.55e8f",\r
262         "wires": [\r
263             [\r
264                 "f366b8b5.961cc8"\r
265             ]\r
266         ]\r
267     },\r
268     {\r
269         "id": "cb04cf04.061eb",\r
270         "type": "set",\r
271         "name": "set vf-module_length",\r
272         "xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n",\r
273         "comments": "",\r
274         "x": 1227.0039138793945,\r
275         "y": 445.0000139474869,\r
276         "z": "a60b8cc5.55e8f",\r
277         "wires": []\r
278     },\r
279     {\r
280         "id": "f366b8b5.961cc8",\r
281         "type": "block",\r
282         "name": "block : atomic",\r
283         "xml": "<block atomic=\"true\">",\r
284         "atomic": "true",\r
285         "outputs": 1,\r
286         "x": 1034.0039443969727,\r
287         "y": 443.99999141693115,\r
288         "z": "a60b8cc5.55e8f",\r
289         "wires": [\r
290             [\r
291                 "cb04cf04.061eb",\r
292                 "19000243.abd3ee"\r
293             ]\r
294         ]\r
295     },\r
296     {\r
297         "id": "19000243.abd3ee",\r
298         "type": "for",\r
299         "name": "for each existing vf-index",\r
300         "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",\r
301         "comments": "",\r
302         "outputs": 1,\r
303         "x": 1246.0038833618164,\r
304         "y": 497.99999046325684,\r
305         "z": "a60b8cc5.55e8f",\r
306         "wires": [\r
307             [\r
308                 "7d37972f.257a38"\r
309             ]\r
310         ]\r
311     },\r
312     {\r
313         "id": "7d37972f.257a38",\r
314         "type": "switchNode",\r
315         "name": "switch vf-module-id found",\r
316         "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
317         "comments": "",\r
318         "outputs": 1,\r
319         "x": 1489.0038986206055,\r
320         "y": 493,\r
321         "z": "a60b8cc5.55e8f",\r
322         "wires": [\r
323             [\r
324                 "377bfea7.613792"\r
325             ]\r
326         ]\r
327     },\r
328     {\r
329         "id": "377bfea7.613792",\r
330         "type": "outcomeTrue",\r
331         "name": "true",\r
332         "xml": "<outcome value='true'>\n",\r
333         "comments": "",\r
334         "outputs": 1,\r
335         "x": 1687.003927230835,\r
336         "y": 480.0000066757202,\r
337         "z": "a60b8cc5.55e8f",\r
338         "wires": [\r
339             [\r
340                 "18c55aa5.f966a5"\r
341             ]\r
342         ]\r
343     },\r
344     {\r
345         "id": "18c55aa5.f966a5",\r
346         "type": "block",\r
347         "name": "block : atomic",\r
348         "xml": "<block atomic=\"true\">",\r
349         "atomic": "true",\r
350         "outputs": 1,\r
351         "x": 1839.0038986206055,\r
352         "y": 482,\r
353         "z": "a60b8cc5.55e8f",\r
354         "wires": [\r
355             [\r
356                 "d08221fe.a8a22",\r
357                 "f8638c60.50c2c",\r
358                 "4e4f3655.251b48"\r
359             ]\r
360         ]\r
361     },\r
362     {\r
363         "id": "d08221fe.a8a22",\r
364         "type": "set",\r
365         "name": "set tmp.vidx and ctx.vnf-data",\r
366         "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
367         "comments": "",\r
368         "x": 2067.0040130615234,\r
369         "y": 424.00000381469727,\r
370         "z": "a60b8cc5.55e8f",\r
371         "wires": []\r
372     },\r
373     {\r
374         "id": "f8638c60.50c2c",\r
375         "type": "set",\r
376         "name": "set vf-module-request-input.",\r
377         "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",\r
378         "comments": "",\r
379         "x": 2071.0040130615234,\r
380         "y": 478.00000381469727,\r
381         "z": "a60b8cc5.55e8f",\r
382         "wires": []\r
383     },\r
384     {\r
385         "id": "9c153d6a.4cf43",\r
386         "type": "returnSuccess",\r
387         "name": "return success",\r
388         "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
389         "comments": "",\r
390         "x": 585.0040168762207,\r
391         "y": 2093.501151561737,\r
392         "z": "a60b8cc5.55e8f",\r
393         "wires": []\r
394     },\r
395     {\r
396         "id": "4e4f3655.251b48",\r
397         "type": "call",\r
398         "name": "call sdwan-get-vf-module-lanport-param",\r
399         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",\r
400         "comments": "",\r
401         "outputs": 1,\r
402         "x": 2101.4590377807617,\r
403         "y": 529.0104961395264,\r
404         "z": "a60b8cc5.55e8f",\r
405         "wires": [\r
406             []\r
407         ]\r
408     },\r
409     {\r
410         "id": "2dd1b5ff.e9de3a",\r
411         "type": "for",\r
412         "name": "for vf-modules.vf-module_length",\r
413         "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",\r
414         "comments": "",\r
415         "outputs": 1,\r
416         "x": 1358.2580871582031,\r
417         "y": 557.0040807723999,\r
418         "z": "a60b8cc5.55e8f",\r
419         "wires": [\r
420             [\r
421                 "afb4aa7c.d42128"\r
422             ]\r
423         ]\r
424     },\r
425     {\r
426         "id": "bc24bdbf.b7fae",\r
427         "type": "switchNode",\r
428         "name": "switch this deviceName == vf-input",\r
429         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == $prop.lan.deviceName`\">\n",\r
430         "comments": "",\r
431         "outputs": 1,\r
432         "x": 1429.25830078125,\r
433         "y": 630.0042104721069,\r
434         "z": "a60b8cc5.55e8f",\r
435         "wires": [\r
436             [\r
437                 "3a56a654.531a3a"\r
438             ]\r
439         ]\r
440     },\r
441     {\r
442         "id": "afb4aa7c.d42128",\r
443         "type": "for",\r
444         "name": "for vf-module-input-param length",\r
445         "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",\r
446         "comments": "",\r
447         "outputs": 1,\r
448         "x": 1644.2579345703125,\r
449         "y": 559.0041646957397,\r
450         "z": "a60b8cc5.55e8f",\r
451         "wires": [\r
452             [\r
453                 "258487d9.bf18e8"\r
454             ]\r
455         ]\r
456     },\r
457     {\r
458         "id": "3a56a654.531a3a",\r
459         "type": "outcomeTrue",\r
460         "name": "true",\r
461         "xml": "<outcome value='true'>\n",\r
462         "comments": "",\r
463         "outputs": 1,\r
464         "x": 1649.2580242156982,\r
465         "y": 631.0042181015015,\r
466         "z": "a60b8cc5.55e8f",\r
467         "wires": [\r
468             [\r
469                 "c2e2f4ae.3e81f8"\r
470             ]\r
471         ]\r
472     },\r
473     {\r
474         "id": "c2e2f4ae.3e81f8",\r
475         "type": "for",\r
476         "name": "for vf-modules.vf-module_length",\r
477         "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",\r
478         "comments": "",\r
479         "outputs": 1,\r
480         "x": 1894.2581024169922,\r
481         "y": 631.0041356086731,\r
482         "z": "a60b8cc5.55e8f",\r
483         "wires": [\r
484             [\r
485                 "1b295fc8.1fb94"\r
486             ]\r
487         ]\r
488     },\r
489     {\r
490         "id": "1b295fc8.1fb94",\r
491         "type": "switchNode",\r
492         "name": "switch deviceId == input vf-id",\r
493         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'deviceId'`\">\n    \n\n\n",\r
494         "comments": "",\r
495         "outputs": 1,\r
496         "x": 2202.2583770751953,\r
497         "y": 614.0041036605835,\r
498         "z": "a60b8cc5.55e8f",\r
499         "wires": [\r
500             [\r
501                 "35a3cdd9.9a70d2"\r
502             ]\r
503         ]\r
504     },\r
505     {\r
506         "id": "35a3cdd9.9a70d2",\r
507         "type": "outcomeTrue",\r
508         "name": "true",\r
509         "xml": "<outcome value='true'>\n",\r
510         "comments": "",\r
511         "outputs": 1,\r
512         "x": 2411.258415222168,\r
513         "y": 616.004096031189,\r
514         "z": "a60b8cc5.55e8f",\r
515         "wires": [\r
516             [\r
517                 "219f921f.088efe"\r
518             ]\r
519         ]\r
520     },\r
521     {\r
522         "id": "219f921f.088efe",\r
523         "type": "set",\r
524         "name": "set prop.lan.deviceId",\r
525         "xml": "<set>\n<parameter name='prop.lan.deviceId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",\r
526         "comments": "",\r
527         "x": 2588.2583808898926,\r
528         "y": 612.0042867660522,\r
529         "z": "a60b8cc5.55e8f",\r
530         "wires": []\r
531     },\r
532     {\r
533         "id": "46f7cea6.503f1",\r
534         "type": "for",\r
535         "name": "for service-data.vnfs.vnf_length",\r
536         "xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
537         "comments": "",\r
538         "outputs": 1,\r
539         "x": 612.2578125,\r
540         "y": 424.00404262542725,\r
541         "z": "a60b8cc5.55e8f",\r
542         "wires": [\r
543             [\r
544                 "8fd527ce.0b2738"\r
545             ]\r
546         ]\r
547     },\r
548     {\r
549         "id": "daa35d7b.bbc16",\r
550         "type": "switchNode",\r
551         "name": "switch ActivateSDWANSiteInstance",\r
552         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`\">\n",\r
553         "comments": "",\r
554         "outputs": 1,\r
555         "x": 1249.008186340332,\r
556         "y": 741.0039882659912,\r
557         "z": "a60b8cc5.55e8f",\r
558         "wires": [\r
559             [\r
560                 "d9309324.f3584"\r
561             ]\r
562         ]\r
563     },\r
564     {\r
565         "id": "7a222fcd.73c1e",\r
566         "type": "for",\r
567         "name": "for vf-modules.vf-module_length",\r
568         "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",\r
569         "comments": "",\r
570         "outputs": 1,\r
571         "x": 895.0080261230469,\r
572         "y": 708.0040283203125,\r
573         "z": "a60b8cc5.55e8f",\r
574         "wires": [\r
575             [\r
576                 "7ba15821.578698"\r
577             ]\r
578         ]\r
579     },\r
580     {\r
581         "id": "3174dd24.ba8ab2",\r
582         "type": "for",\r
583         "name": "for service-data.vnfs.vnf_length",\r
584         "xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
585         "comments": "",\r
586         "outputs": 1,\r
587         "x": 646.0078811645508,\r
588         "y": 639.0039081573486,\r
589         "z": "a60b8cc5.55e8f",\r
590         "wires": [\r
591             [\r
592                 "7a222fcd.73c1e"\r
593             ]\r
594         ]\r
595     },\r
596     {\r
597         "id": "d9309324.f3584",\r
598         "type": "outcomeTrue",\r
599         "name": "true",\r
600         "xml": "<outcome value='true'>\n",\r
601         "comments": "",\r
602         "outputs": 1,\r
603         "x": 1471.0081024169922,\r
604         "y": 741.0040698051453,\r
605         "z": "a60b8cc5.55e8f",\r
606         "wires": [\r
607             [\r
608                 "6e42570c.9e97d8"\r
609             ]\r
610         ]\r
611     },\r
612     {\r
613         "id": "6e42570c.9e97d8",\r
614         "type": "for",\r
615         "name": "for vf-modules.vf-module_length",\r
616         "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",\r
617         "comments": "",\r
618         "outputs": 1,\r
619         "x": 1552.2581100463867,\r
620         "y": 815.5040712356567,\r
621         "z": "a60b8cc5.55e8f",\r
622         "wires": [\r
623             [\r
624                 "8eb63937.68f308"\r
625             ]\r
626         ]\r
627     },\r
628     {\r
629         "id": "f89ede9f.dfe34",\r
630         "type": "switchNode",\r
631         "name": "switch siteId",\r
632         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'siteId'`\">\n    \n\n\n",\r
633         "comments": "",\r
634         "outputs": 1,\r
635         "x": 1935.2584686279297,\r
636         "y": 822.5041785240173,\r
637         "z": "a60b8cc5.55e8f",\r
638         "wires": [\r
639             [\r
640                 "69e745ff.0d272c"\r
641             ]\r
642         ]\r
643     },\r
644     {\r
645         "id": "69e745ff.0d272c",\r
646         "type": "outcomeTrue",\r
647         "name": "true",\r
648         "xml": "<outcome value='true'>\n",\r
649         "comments": "",\r
650         "outputs": 1,\r
651         "x": 2112.258487701416,\r
652         "y": 825.5040187835693,\r
653         "z": "a60b8cc5.55e8f",\r
654         "wires": [\r
655             [\r
656                 "f03a8e8e.83fe2"\r
657             ]\r
658         ]\r
659     },\r
660     {\r
661         "id": "dee78c9f.5dd72",\r
662         "type": "set",\r
663         "name": "set prop.attach.siteId",\r
664         "xml": "<set>\n<parameter name='prop.attach.siteId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",\r
665         "comments": "",\r
666         "x": 2496.2589950561523,\r
667         "y": 799.5040702819824,\r
668         "z": "a60b8cc5.55e8f",\r
669         "wires": []\r
670     },\r
671     {\r
672         "id": "f03a8e8e.83fe2",\r
673         "type": "block",\r
674         "name": "block : atomic",\r
675         "xml": "<block atomic=\"true\">",\r
676         "atomic": "true",\r
677         "outputs": 1,\r
678         "x": 2271.5086784362793,\r
679         "y": 821.0040588378906,\r
680         "z": "a60b8cc5.55e8f",\r
681         "wires": [\r
682             [\r
683                 "dee78c9f.5dd72",\r
684                 "43b17553.c7382c",\r
685                 "36d57da.c3bd682",\r
686                 "1a9cf10f.4a8b1f"\r
687             ]\r
688         ]\r
689     },\r
690     {\r
691         "id": "9e2a9762.50d9a8",\r
692         "type": "get-resource",\r
693         "name": "get-resource esr-thirdparty-sdnc",\r
694         "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
695         "comments": "",\r
696         "outputs": 1,\r
697         "x": 1930.0078430175781,\r
698         "y": 1338.5039596557617,\r
699         "z": "a60b8cc5.55e8f",\r
700         "wires": [\r
701             [\r
702                 "45a4d258.24544c",\r
703                 "cb543421.e8e548",\r
704                 "f2ddc8f8.67f5b8"\r
705             ]\r
706         ]\r
707     },\r
708     {\r
709         "id": "45a4d258.24544c",\r
710         "type": "success",\r
711         "name": "success",\r
712         "xml": "<outcome value='success'>\n",\r
713         "comments": "",\r
714         "outputs": 1,\r
715         "x": 2174.0079040527344,\r
716         "y": 1302.5039596557617,\r
717         "z": "a60b8cc5.55e8f",\r
718         "wires": [\r
719             [\r
720                 "73860a6b.6e7a64"\r
721             ]\r
722         ]\r
723     },\r
724     {\r
725         "id": "cb543421.e8e548",\r
726         "type": "not-found",\r
727         "name": "not-found",\r
728         "xml": "<outcome value='not-found'>\n",\r
729         "comments": "",\r
730         "outputs": 1,\r
731         "x": 2176.4987869262695,\r
732         "y": 1338.0779962539673,\r
733         "z": "a60b8cc5.55e8f",\r
734         "wires": [\r
735             [\r
736                 "57b80d68.fd6804"\r
737             ]\r
738         ]\r
739     },\r
740     {\r
741         "id": "f2ddc8f8.67f5b8",\r
742         "type": "other",\r
743         "name": "other",\r
744         "xml": "<outcome value='Other'>\n",\r
745         "comments": "",\r
746         "outputs": 1,\r
747         "x": 2171.8317947387695,\r
748         "y": 1374.4113550186157,\r
749         "z": "a60b8cc5.55e8f",\r
750         "wires": [\r
751             [\r
752                 "114f2452.7c39bc"\r
753             ]\r
754         ]\r
755     },\r
756     {\r
757         "id": "114f2452.7c39bc",\r
758         "type": "returnFailure",\r
759         "name": "return failure",\r
760         "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
761         "comments": "",\r
762         "x": 2325.6042861938477,\r
763         "y": 1371.8504419326782,\r
764         "z": "a60b8cc5.55e8f",\r
765         "wires": []\r
766     },\r
767     {\r
768         "id": "57b80d68.fd6804",\r
769         "type": "returnFailure",\r
770         "name": "return failure",\r
771         "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
772         "comments": "",\r
773         "x": 2322.070182800293,\r
774         "y": 1336.3636837005615,\r
775         "z": "a60b8cc5.55e8f",\r
776         "wires": []\r
777     },\r
778     {\r
779         "id": "73860a6b.6e7a64",\r
780         "type": "set",\r
781         "name": "set controller data",\r
782         "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
783         "comments": "",\r
784         "x": 2334.508014678955,\r
785         "y": 1300.5038995742798,\r
786         "z": "a60b8cc5.55e8f",\r
787         "wires": []\r
788     },\r
789     {\r
790         "id": "315d042b.94c54c",\r
791         "type": "execute",\r
792         "name": "execute RestApiCallNode Get token",\r
793         "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
794         "comments": "",\r
795         "outputs": 1,\r
796         "x": 1943.9460754394531,\r
797         "y": 1441.6250534057617,\r
798         "z": "a60b8cc5.55e8f",\r
799         "wires": [\r
800             [\r
801                 "277e96cc.23f53a",\r
802                 "d503dd86.6b851"\r
803             ]\r
804         ]\r
805     },\r
806     {\r
807         "id": "277e96cc.23f53a",\r
808         "type": "success",\r
809         "name": "success",\r
810         "xml": "<outcome value='success'>\n",\r
811         "comments": "",\r
812         "outputs": 1,\r
813         "x": 2178.946201324463,\r
814         "y": 1427.62504196167,\r
815         "z": "a60b8cc5.55e8f",\r
816         "wires": [\r
817             [\r
818                 "7b5e2570.2698cc"\r
819             ]\r
820         ]\r
821     },\r
822     {\r
823         "id": "d503dd86.6b851",\r
824         "type": "failure",\r
825         "name": "failure",\r
826         "xml": "<outcome value='failure'>\n",\r
827         "comments": "",\r
828         "outputs": 1,\r
829         "x": 2178.196201324463,\r
830         "y": 1463.267949104309,\r
831         "z": "a60b8cc5.55e8f",\r
832         "wires": [\r
833             [\r
834                 "198d65d8.c721ba"\r
835             ]\r
836         ]\r
837     },\r
838     {\r
839         "id": "198d65d8.c721ba",\r
840         "type": "returnFailure",\r
841         "name": "return failure",\r
842         "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
843         "comments": "",\r
844         "x": 2326.9462089538574,\r
845         "y": 1464.0180311203003,\r
846         "z": "a60b8cc5.55e8f",\r
847         "wires": []\r
848     },\r
849     {\r
850         "id": "7b5e2570.2698cc",\r
851         "type": "set",\r
852         "name": "set token-id",\r
853         "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
854         "comments": "",\r
855         "x": 2320.9462089538574,\r
856         "y": 1426.6250429153442,\r
857         "z": "a60b8cc5.55e8f",\r
858         "wires": []\r
859     },\r
860     {\r
861         "id": "41672a48.274fe4",\r
862         "type": "execute",\r
863         "name": "execute RestApiCallNode device port create",\r
864         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-port.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"portResp\"/>\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
865         "comments": "",\r
866         "outputs": 1,\r
867         "x": 647.03515625,\r
868         "y": 1213.0782289505005,\r
869         "z": "a60b8cc5.55e8f",\r
870         "wires": [\r
871             [\r
872                 "74d5de9e.64c39",\r
873                 "95bf4540.859768"\r
874             ]\r
875         ]\r
876     },\r
877     {\r
878         "id": "74d5de9e.64c39",\r
879         "type": "success",\r
880         "name": "success",\r
881         "xml": "<outcome value='success'>\n",\r
882         "comments": "",\r
883         "outputs": 1,\r
884         "x": 896.0352153778076,\r
885         "y": 1227.0784349441528,\r
886         "z": "a60b8cc5.55e8f",\r
887         "wires": [\r
888             [\r
889                 "446d7b16.686f54"\r
890             ]\r
891         ]\r
892     },\r
893     {\r
894         "id": "95bf4540.859768",\r
895         "type": "failure",\r
896         "name": "failure",\r
897         "xml": "<outcome value='failure'>\n",\r
898         "comments": "",\r
899         "outputs": 1,\r
900         "x": 896.0352153778076,\r
901         "y": 1189.0782704353333,\r
902         "z": "a60b8cc5.55e8f",\r
903         "wires": [\r
904             [\r
905                 "5b043775.82b438"\r
906             ]\r
907         ]\r
908     },\r
909     {\r
910         "id": "5b043775.82b438",\r
911         "type": "returnFailure",\r
912         "name": "return failure",\r
913         "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 Create device port rest api\" />\n",\r
914         "comments": "",\r
915         "x": 1040.0355491638184,\r
916         "y": 1188.078269958496,\r
917         "z": "a60b8cc5.55e8f",\r
918         "wires": []\r
919     },\r
920     {\r
921         "id": "446d7b16.686f54",\r
922         "type": "block",\r
923         "name": "block : atomic",\r
924         "xml": "<block atomic=\"true\">",\r
925         "atomic": "true",\r
926         "comments": "",\r
927         "outputs": 1,\r
928         "x": 1043.0352268218994,\r
929         "y": 1228.0782737731934,\r
930         "z": "a60b8cc5.55e8f",\r
931         "wires": [\r
932             []\r
933         ]\r
934     },\r
935     {\r
936         "id": "fcbf2fc7.b018d",\r
937         "type": "set",\r
938         "name": "set prop.lan.devicePortId",\r
939         "xml": "<set>\n<parameter name='prop.lan.devicePortId' value='`$portResp.success[0].id`' />\n",\r
940         "comments": "",\r
941         "x": 589.6924171447754,\r
942         "y": 1266.1794338226318,\r
943         "z": "a60b8cc5.55e8f",\r
944         "wires": []\r
945     },\r
946     {\r
947         "id": "b76fce1f.c41d6",\r
948         "type": "comment",\r
949         "name": "Create port",\r
950         "info": "",\r
951         "comments": "",\r
952         "x": 548.7010955810547,\r
953         "y": 1179.522253036499,\r
954         "z": "a60b8cc5.55e8f",\r
955         "wires": []\r
956     },\r
957     {\r
958         "id": "455e901d.d7497",\r
959         "type": "call",\r
960         "name": "call sdwan-get-tenant-auth",\r
961         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",\r
962         "comments": "",\r
963         "outputs": 1,\r
964         "x": 595.7010955810547,\r
965         "y": 1128.1886892318726,\r
966         "z": "a60b8cc5.55e8f",\r
967         "wires": [\r
968             []\r
969         ]\r
970     },\r
971     {\r
972         "id": "4fc0e57c.93c3fc",\r
973         "type": "execute",\r
974         "name": "execute RestApiCallNode bridge domain create",\r
975         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-bridge-domain.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/bridge-domains'`\" />\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=\"bridgeDomainResp\"/>\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
976         "comments": "",\r
977         "outputs": 1,\r
978         "x": 1069.6854057312012,\r
979         "y": 1308.188857793808,\r
980         "z": "a60b8cc5.55e8f",\r
981         "wires": [\r
982             [\r
983                 "fe4c3471.1ff888",\r
984                 "5d7f5544.360c1c"\r
985             ]\r
986         ]\r
987     },\r
988     {\r
989         "id": "fe4c3471.1ff888",\r
990         "type": "success",\r
991         "name": "success",\r
992         "xml": "<outcome value='success'>\n",\r
993         "comments": "",\r
994         "outputs": 1,\r
995         "x": 1390.685432434082,\r
996         "y": 1325.1891782283783,\r
997         "z": "a60b8cc5.55e8f",\r
998         "wires": [\r
999             [\r
1000                 "ab1e6271.60b9c"\r
1001             ]\r
1002         ]\r
1003     },\r
1004     {\r
1005         "id": "5d7f5544.360c1c",\r
1006         "type": "failure",\r
1007         "name": "failure",\r
1008         "xml": "<outcome value='failure'>\n",\r
1009         "comments": "",\r
1010         "outputs": 1,\r
1011         "x": 1393.685459136963,\r
1012         "y": 1290.1889598369598,\r
1013         "z": "a60b8cc5.55e8f",\r
1014         "wires": [\r
1015             [\r
1016                 "cee492db.e0603"\r
1017             ]\r
1018         ]\r
1019     },\r
1020     {\r
1021         "id": "cee492db.e0603",\r
1022         "type": "returnFailure",\r
1023         "name": "return failure",\r
1024         "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 Create bridge domain rest api\" />\n",\r
1025         "comments": "",\r
1026         "x": 1596.685848236084,\r
1027         "y": 1286.1890671253204,\r
1028         "z": "a60b8cc5.55e8f",\r
1029         "wires": []\r
1030     },\r
1031     {\r
1032         "id": "ab1e6271.60b9c",\r
1033         "type": "block",\r
1034         "name": "block : atomic",\r
1035         "xml": "<block atomic=\"true\">",\r
1036         "atomic": "true",\r
1037         "comments": "",\r
1038         "outputs": 1,\r
1039         "x": 1597.6854133605957,\r
1040         "y": 1321.1889336109161,\r
1041         "z": "a60b8cc5.55e8f",\r
1042         "wires": [\r
1043             []\r
1044         ]\r
1045     },\r
1046     {\r
1047         "id": "e47a1f03.1d40d",\r
1048         "type": "comment",\r
1049         "name": "Create bridge domain",\r
1050         "info": "",\r
1051         "comments": "",\r
1052         "x": 1013.3512992858887,\r
1053         "y": 1274.6330835819244,\r
1054         "z": "a60b8cc5.55e8f",\r
1055         "wires": []\r
1056     },\r
1057     {\r
1058         "id": "505ed63f.24baa8",\r
1059         "type": "switchNode",\r
1060         "name": "switch portSwitch",\r
1061         "xml": "<switch test=\"`$prop.lan.portSwitch == 'layer2-port'`\">\n\n",\r
1062         "comments": "",\r
1063         "outputs": 1,\r
1064         "x": 569.4628715515137,\r
1065         "y": 1309.855489730835,\r
1066         "z": "a60b8cc5.55e8f",\r
1067         "wires": [\r
1068             [\r
1069                 "f3a0568f.15eb08"\r
1070             ]\r
1071         ]\r
1072     },\r
1073     {\r
1074         "id": "f3a0568f.15eb08",\r
1075         "type": "outcomeTrue",\r
1076         "name": "true",\r
1077         "xml": "<outcome value='true'>\n",\r
1078         "comments": "",\r
1079         "outputs": 1,\r
1080         "x": 748.4629020690918,\r
1081         "y": 1309.966812133789,\r
1082         "z": "a60b8cc5.55e8f",\r
1083         "wires": [\r
1084             [\r
1085                 "4fc0e57c.93c3fc"\r
1086             ]\r
1087         ]\r
1088     },\r
1089     {\r
1090         "id": "94404e6f.e8fde",\r
1091         "type": "execute",\r
1092         "name": "execute split ip and mask",\r
1093         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.lan.ipAddress`'/>\n<parameter name=\"regex\" value=\"/\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"ipandMask\"/>\n",\r
1094         "comments": "",\r
1095         "outputs": 1,\r
1096         "x": 594.0078659057617,\r
1097         "y": 1409.7540397644043,\r
1098         "z": "a60b8cc5.55e8f",\r
1099         "wires": [\r
1100             [\r
1101                 "8f41cbf5.215278",\r
1102                 "e159f50d.926278"\r
1103             ]\r
1104         ]\r
1105     },\r
1106     {\r
1107         "id": "e159f50d.926278",\r
1108         "type": "failure",\r
1109         "name": "success",\r
1110         "xml": "<outcome value='success'>\n",\r
1111         "comments": "",\r
1112         "outputs": 1,\r
1113         "x": 795.007884979248,\r
1114         "y": 1387.7540311813354,\r
1115         "z": "a60b8cc5.55e8f",\r
1116         "wires": [\r
1117             [\r
1118                 "f5bbd137.51f5f"\r
1119             ]\r
1120         ]\r
1121     },\r
1122     {\r
1123         "id": "8f41cbf5.215278",\r
1124         "type": "failure",\r
1125         "name": "failure",\r
1126         "xml": "<outcome value='failure'>\n",\r
1127         "comments": "",\r
1128         "outputs": 1,\r
1129         "x": 795.0078887939453,\r
1130         "y": 1428.7540349960327,\r
1131         "z": "a60b8cc5.55e8f",\r
1132         "wires": [\r
1133             [\r
1134                 "b8b52f84.e55ad"\r
1135             ]\r
1136         ]\r
1137     },\r
1138     {\r
1139         "id": "f5bbd137.51f5f",\r
1140         "type": "set",\r
1141         "name": "set ipAddress prefixLength",\r
1142         "xml": "<set>\n<parameter name='prop.lan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.lan.prefixLength' value='`$ipandMask[1]`' />",\r
1143         "comments": "",\r
1144         "x": 992.0079040527344,\r
1145         "y": 1385.7540311813354,\r
1146         "z": "a60b8cc5.55e8f",\r
1147         "wires": []\r
1148     },\r
1149     {\r
1150         "id": "b8b52f84.e55ad",\r
1151         "type": "returnFailure",\r
1152         "name": "return failure",\r
1153         "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
1154         "comments": "",\r
1155         "x": 950.0078964233398,\r
1156         "y": 1425.7540340423584,\r
1157         "z": "a60b8cc5.55e8f",\r
1158         "wires": []\r
1159     },\r
1160     {\r
1161         "id": "9835abaa.deb1b8",\r
1162         "type": "comment",\r
1163         "name": "Create wan port",\r
1164         "info": "",\r
1165         "comments": "",\r
1166         "x": 567.0177421569824,\r
1167         "y": 1362.7640895843506,\r
1168         "z": "a60b8cc5.55e8f",\r
1169         "wires": []\r
1170     },\r
1171     {\r
1172         "id": "707a08a2.84bfc8",\r
1173         "type": "comment",\r
1174         "name": "TODO: split ip/mask",\r
1175         "info": "",\r
1176         "comments": "",\r
1177         "x": 991.0175361633301,\r
1178         "y": 1347.9343032836914,\r
1179         "z": "a60b8cc5.55e8f",\r
1180         "wires": []\r
1181     },\r
1182     {\r
1183         "id": "58693560.f55b6c",\r
1184         "type": "execute",\r
1185         "name": "execute RestApiCallNode IPSubnets create",\r
1186         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-ip-subnets.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/ip-subnets'`\" />\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=\"lanPortResp\"/>\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
1187         "comments": "",\r
1188         "outputs": 1,\r
1189         "x": 652.7792358398438,\r
1190         "y": 1485.8749294281006,\r
1191         "z": "a60b8cc5.55e8f",\r
1192         "wires": [\r
1193             [\r
1194                 "e01d8566.26a208",\r
1195                 "b77c647.be67698"\r
1196             ]\r
1197         ]\r
1198     },\r
1199     {\r
1200         "id": "b77c647.be67698",\r
1201         "type": "failure",\r
1202         "name": "failure",\r
1203         "xml": "<outcome value='failure'>\n",\r
1204         "comments": "",\r
1205         "outputs": 1,\r
1206         "x": 921.7792663574219,\r
1207         "y": 1472.8749017715454,\r
1208         "z": "a60b8cc5.55e8f",\r
1209         "wires": [\r
1210             [\r
1211                 "7b6fdd20.906734"\r
1212             ]\r
1213         ]\r
1214     },\r
1215     {\r
1216         "id": "e01d8566.26a208",\r
1217         "type": "success",\r
1218         "name": "success",\r
1219         "xml": "<outcome value='success'>\n",\r
1220         "comments": "",\r
1221         "outputs": 1,\r
1222         "x": 918.779239654541,\r
1223         "y": 1507.8751201629639,\r
1224         "z": "a60b8cc5.55e8f",\r
1225         "wires": [\r
1226             [\r
1227                 "a2642272.8a0b"\r
1228             ]\r
1229         ]\r
1230     },\r
1231     {\r
1232         "id": "7b6fdd20.906734",\r
1233         "type": "returnFailure",\r
1234         "name": "return failure",\r
1235         "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 Create device port rest api\" />\n",\r
1236         "comments": "",\r
1237         "x": 1074.7796478271484,\r
1238         "y": 1468.8751277923584,\r
1239         "z": "a60b8cc5.55e8f",\r
1240         "wires": []\r
1241     },\r
1242     {\r
1243         "id": "a2642272.8a0b",\r
1244         "type": "block",\r
1245         "name": "block : atomic",\r
1246         "xml": "<block atomic=\"true\">",\r
1247         "atomic": "true",\r
1248         "comments": "",\r
1249         "outputs": 1,\r
1250         "x": 1065.7792205810547,\r
1251         "y": 1508.8748760223389,\r
1252         "z": "a60b8cc5.55e8f",\r
1253         "wires": [\r
1254             [\r
1255                 "e06f7472.e95f98"\r
1256             ]\r
1257         ]\r
1258     },\r
1259     {\r
1260         "id": "e06f7472.e95f98",\r
1261         "type": "set",\r
1262         "name": "set prop.lan.lanPortId",\r
1263         "xml": "<set>\n<parameter name='prop.lan.lanPortId' value='`lanPortResp.success[0].id`' />\n",\r
1264         "comments": "",\r
1265         "x": 1272.6683235168457,\r
1266         "y": 1511.208342552185,\r
1267         "z": "a60b8cc5.55e8f",\r
1268         "wires": []\r
1269     },\r
1270     {\r
1271         "id": "3c1e06fc.eec57a",\r
1272         "type": "execute",\r
1273         "name": "execute RestApiCallNode create vpn topology",\r
1274         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-topology.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpn1Id + '/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=\"put\"/>\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
1275         "comments": "",\r
1276         "outputs": 1,\r
1277         "x": 669.2896881103516,\r
1278         "y": 1665.3338165283203,\r
1279         "z": "a60b8cc5.55e8f",\r
1280         "wires": [\r
1281             [\r
1282                 "5e387a3e.4fd8a4",\r
1283                 "e4302470.9e4168"\r
1284             ]\r
1285         ]\r
1286     },\r
1287     {\r
1288         "id": "e4302470.9e4168",\r
1289         "type": "success",\r
1290         "name": "success",\r
1291         "xml": "<outcome value='success'>\n",\r
1292         "comments": "",\r
1293         "outputs": 1,\r
1294         "x": 917.289571762085,\r
1295         "y": 1691.333193898201,\r
1296         "z": "a60b8cc5.55e8f",\r
1297         "wires": [\r
1298             [\r
1299                 "1a5d2b85.cc6d14"\r
1300             ]\r
1301         ]\r
1302     },\r
1303     {\r
1304         "id": "1a5d2b85.cc6d14",\r
1305         "type": "block",\r
1306         "name": "block : atomic",\r
1307         "xml": "<block atomic=\"true\">",\r
1308         "atomic": "true",\r
1309         "comments": "",\r
1310         "outputs": 1,\r
1311         "x": 1087.2895107269287,\r
1312         "y": 1694.333193898201,\r
1313         "z": "a60b8cc5.55e8f",\r
1314         "wires": [\r
1315             []\r
1316         ]\r
1317     },\r
1318     {\r
1319         "id": "5ab2794a.636098",\r
1320         "type": "returnFailure",\r
1321         "name": "return failure",\r
1322         "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 Create vpn topology failed\" />\n",\r
1323         "comments": "",\r
1324         "x": 1087.2896327972412,\r
1325         "y": 1650.333193898201,\r
1326         "z": "a60b8cc5.55e8f",\r
1327         "wires": []\r
1328     },\r
1329     {\r
1330         "id": "5e387a3e.4fd8a4",\r
1331         "type": "failure",\r
1332         "name": "failure",\r
1333         "xml": "<outcome value='failure'>\n",\r
1334         "comments": "",\r
1335         "outputs": 1,\r
1336         "x": 920.2895107269287,\r
1337         "y": 1650.333193898201,\r
1338         "z": "a60b8cc5.55e8f",\r
1339         "wires": [\r
1340             [\r
1341                 "5ab2794a.636098"\r
1342             ]\r
1343         ]\r
1344     },\r
1345     {\r
1346         "id": "69c506db.344ae8",\r
1347         "type": "execute",\r
1348         "name": "execute RestApiCallNode create vpn ",\r
1349         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn.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=\"put\"/>\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
1350         "comments": "",\r
1351         "outputs": 1,\r
1352         "x": 640.288013458252,\r
1353         "y": 1575.8328762054443,\r
1354         "z": "a60b8cc5.55e8f",\r
1355         "wires": [\r
1356             [\r
1357                 "e0d8f775.adb548",\r
1358                 "1307c84a.e256c8"\r
1359             ]\r
1360         ]\r
1361     },\r
1362     {\r
1363         "id": "1307c84a.e256c8",\r
1364         "type": "success",\r
1365         "name": "success",\r
1366         "xml": "<outcome value='success'>\n",\r
1367         "comments": "",\r
1368         "outputs": 1,\r
1369         "x": 861.2879161834717,\r
1370         "y": 1597.8328419923782,\r
1371         "z": "a60b8cc5.55e8f",\r
1372         "wires": [\r
1373             [\r
1374                 "845c9ffd.b87b7"\r
1375             ]\r
1376         ]\r
1377     },\r
1378     {\r
1379         "id": "845c9ffd.b87b7",\r
1380         "type": "block",\r
1381         "name": "block : atomic",\r
1382         "xml": "<block atomic=\"true\">",\r
1383         "atomic": "true",\r
1384         "comments": "",\r
1385         "outputs": 1,\r
1386         "x": 1031.2878551483154,\r
1387         "y": 1600.8328419923782,\r
1388         "z": "a60b8cc5.55e8f",\r
1389         "wires": [\r
1390             []\r
1391         ]\r
1392     },\r
1393     {\r
1394         "id": "de430292.51fa5",\r
1395         "type": "returnFailure",\r
1396         "name": "return failure",\r
1397         "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 Create vpn failed\" />\n",\r
1398         "comments": "",\r
1399         "x": 1031.287977218628,\r
1400         "y": 1556.8328419923782,\r
1401         "z": "a60b8cc5.55e8f",\r
1402         "wires": []\r
1403     },\r
1404     {\r
1405         "id": "e0d8f775.adb548",\r
1406         "type": "failure",\r
1407         "name": "failure",\r
1408         "xml": "<outcome value='failure'>\n",\r
1409         "comments": "",\r
1410         "outputs": 1,\r
1411         "x": 864.2878551483154,\r
1412         "y": 1556.8328419923782,\r
1413         "z": "a60b8cc5.55e8f",\r
1414         "wires": [\r
1415             [\r
1416                 "de430292.51fa5"\r
1417             ]\r
1418         ]\r
1419     },\r
1420     {\r
1421         "id": "8b10096b.8cb7e8",\r
1422         "type": "switchNode",\r
1423         "name": "switch ActivateSDWANVpnInstance",\r
1424         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANVpnInstance'`\">\n",\r
1425         "comments": "",\r
1426         "outputs": 1,\r
1427         "x": 1227.2898406982422,\r
1428         "y": 862.3332567214966,\r
1429         "z": "a60b8cc5.55e8f",\r
1430         "wires": [\r
1431             [\r
1432                 "43a6f166.ec09e"\r
1433             ]\r
1434         ]\r
1435     },\r
1436     {\r
1437         "id": "7ba15821.578698",\r
1438         "type": "block",\r
1439         "name": "block",\r
1440         "xml": "<block>\n",\r
1441         "atomic": "false",\r
1442         "comments": "",\r
1443         "outputs": 1,\r
1444         "x": 984.6229438781738,\r
1445         "y": 791.3333368301392,\r
1446         "z": "a60b8cc5.55e8f",\r
1447         "wires": [\r
1448             [\r
1449                 "daa35d7b.bbc16",\r
1450                 "8b10096b.8cb7e8"\r
1451             ]\r
1452         ]\r
1453     },\r
1454     {\r
1455         "id": "43a6f166.ec09e",\r
1456         "type": "outcomeTrue",\r
1457         "name": "true",\r
1458         "xml": "<outcome value='true'>\n",\r
1459         "comments": "",\r
1460         "outputs": 1,\r
1461         "x": 1322.9563522338867,\r
1462         "y": 936.3333377838135,\r
1463         "z": "a60b8cc5.55e8f",\r
1464         "wires": [\r
1465             [\r
1466                 "f4ccb599.a134d8"\r
1467             ]\r
1468         ]\r
1469     },\r
1470     {\r
1471         "id": "f4ccb599.a134d8",\r
1472         "type": "for",\r
1473         "name": "for vf-modules.vf-module_length",\r
1474         "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",\r
1475         "comments": "",\r
1476         "outputs": 1,\r
1477         "x": 1537.2062377929688,\r
1478         "y": 937.8333144187927,\r
1479         "z": "a60b8cc5.55e8f",\r
1480         "wires": [\r
1481             [\r
1482                 "f6720c82.39b5d"\r
1483             ]\r
1484         ]\r
1485     },\r
1486     {\r
1487         "id": "f6720c82.39b5d",\r
1488         "type": "switchNode",\r
1489         "name": "switch vpn-id",\r
1490         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'vpn-id'`\">\n    \n\n\n",\r
1491         "comments": "",\r
1492         "outputs": 1,\r
1493         "x": 1784.2062759399414,\r
1494         "y": 932.8333973884583,\r
1495         "z": "a60b8cc5.55e8f",\r
1496         "wires": [\r
1497             [\r
1498                 "460bb48a.240e2c"\r
1499             ]\r
1500         ]\r
1501     },\r
1502     {\r
1503         "id": "460bb48a.240e2c",\r
1504         "type": "outcomeTrue",\r
1505         "name": "true",\r
1506         "xml": "<outcome value='true'>\n",\r
1507         "comments": "",\r
1508         "outputs": 1,\r
1509         "x": 1934.9562301635742,\r
1510         "y": 934.3333129882812,\r
1511         "z": "a60b8cc5.55e8f",\r
1512         "wires": [\r
1513             [\r
1514                 "ac3fc038.e0007"\r
1515             ]\r
1516         ]\r
1517     },\r
1518     {\r
1519         "id": "ac3fc038.e0007",\r
1520         "type": "set",\r
1521         "name": "set prop.vpn1Id",\r
1522         "xml": "<set>\n<parameter name='prop.vpn1Id' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",\r
1523         "comments": "",\r
1524         "x": 2108.9569778442383,\r
1525         "y": 934.3333714008331,\r
1526         "z": "a60b8cc5.55e8f",\r
1527         "wires": []\r
1528     },\r
1529     {\r
1530         "id": "43b17553.c7382c",\r
1531         "type": "set",\r
1532         "name": "Add sites to list and update length",\r
1533         "xml": "<set>\n<parameter name='prop.siteIds[$prop.siteIds_length]' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteIds_length' value='`$prop.siteIds_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1534         "comments": "",\r
1535         "x": 2539.290351867676,\r
1536         "y": 840.3333714008331,\r
1537         "z": "a60b8cc5.55e8f",\r
1538         "wires": []\r
1539     },\r
1540     {\r
1541         "id": "36d57da.c3bd682",\r
1542         "type": "set",\r
1543         "name": "Add site attachement to list and update length",\r
1544         "xml": "<set>\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].siteId' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles[0]' value='`$prop.role`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles_length' value='1' />\n<parameter name='prop.siteAttachements_length' value='`$prop.siteAttachements_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1545         "comments": "",\r
1546         "x": 2570.2902450561523,\r
1547         "y": 883.3333377838135,\r
1548         "z": "a60b8cc5.55e8f",\r
1549         "wires": []\r
1550     },\r
1551     {\r
1552         "id": "16a0b0ad.e2c3df",\r
1553         "type": "set",\r
1554         "name": "set prop.siteAttachement_length=0",\r
1555         "xml": "<set>\n<parameter name='prop.siteAttachements_length' value='0' />\n<parameter name='prop.siteIds_length' value='0' />\n\n\n\n",\r
1556         "comments": "",\r
1557         "x": 656.2896194458008,\r
1558         "y": 588.333330154419,\r
1559         "z": "a60b8cc5.55e8f",\r
1560         "wires": []\r
1561     },\r
1562     {\r
1563         "id": "8eb63937.68f308",\r
1564         "type": "block",\r
1565         "name": "block atomic",\r
1566         "xml": "<block atomic=\"true\">\n",\r
1567         "atomic": "false",\r
1568         "comments": "",\r
1569         "outputs": 1,\r
1570         "x": 1769.623275756836,\r
1571         "y": 816.3333358764648,\r
1572         "z": "a60b8cc5.55e8f",\r
1573         "wires": [\r
1574             [\r
1575                 "f89ede9f.dfe34",\r
1576                 "fe16c8cc.020428",\r
1577                 "9d46cf63.0dcd9"\r
1578             ]\r
1579         ]\r
1580     },\r
1581     {\r
1582         "id": "fe16c8cc.020428",\r
1583         "type": "switchNode",\r
1584         "name": "switch role",\r
1585         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'role'`\">\n    \n\n\n",\r
1586         "comments": "",\r
1587         "outputs": 1,\r
1588         "x": 1931.9562072753906,\r
1589         "y": 747.3333349227905,\r
1590         "z": "a60b8cc5.55e8f",\r
1591         "wires": [\r
1592             [\r
1593                 "7b19ac17.f7b154"\r
1594             ]\r
1595         ]\r
1596     },\r
1597     {\r
1598         "id": "7b19ac17.f7b154",\r
1599         "type": "outcomeTrue",\r
1600         "name": "true",\r
1601         "xml": "<outcome value='true'>\n",\r
1602         "comments": "",\r
1603         "outputs": 1,\r
1604         "x": 2094.956211090088,\r
1605         "y": 742.3333358764648,\r
1606         "z": "a60b8cc5.55e8f",\r
1607         "wires": [\r
1608             [\r
1609                 "5fca6bb6.2ad174"\r
1610             ]\r
1611         ]\r
1612     },\r
1613     {\r
1614         "id": "5fca6bb6.2ad174",\r
1615         "type": "block",\r
1616         "name": "block : atomic",\r
1617         "xml": "<block atomic=\"true\">",\r
1618         "atomic": "true",\r
1619         "outputs": 1,\r
1620         "x": 2262.956253051758,\r
1621         "y": 736.3333339691162,\r
1622         "z": "a60b8cc5.55e8f",\r
1623         "wires": [\r
1624             [\r
1625                 "fa5fdce5.2309f",\r
1626                 "d71b47e7.ba0928",\r
1627                 "368fa25d.21f04e"\r
1628             ]\r
1629         ]\r
1630     },\r
1631     {\r
1632         "id": "d71b47e7.ba0928",\r
1633         "type": "switchNode",\r
1634         "name": "switch sd-wan-edge",\r
1635         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == 'sd-wan-edge'`\">\n\n",\r
1636         "comments": "",\r
1637         "outputs": 1,\r
1638         "x": 2457.956382751465,\r
1639         "y": 697.3333253860474,\r
1640         "z": "a60b8cc5.55e8f",\r
1641         "wires": [\r
1642             [\r
1643                 "4c9e170f.05bda8"\r
1644             ]\r
1645         ]\r
1646     },\r
1647     {\r
1648         "id": "fa5fdce5.2309f",\r
1649         "type": "switchNode",\r
1650         "name": "switch dsvpn-hub",\r
1651         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'dsvpn-hub'`\">\n    \n\n\n",\r
1652         "comments": "",\r
1653         "outputs": 1,\r
1654         "x": 2454.9564895629883,\r
1655         "y": 752.333340883255,\r
1656         "z": "a60b8cc5.55e8f",\r
1657         "wires": [\r
1658             [\r
1659                 "a41f3558.9efd38"\r
1660             ]\r
1661         ]\r
1662     },\r
1663     {\r
1664         "id": "8f17f745.17ddb8",\r
1665         "type": "set",\r
1666         "name": "set spoke role",\r
1667         "xml": "<set>\n<parameter name='prop.role' value=\"spoke\" />\n",\r
1668         "comments": "",\r
1669         "x": 2787.9565048217773,\r
1670         "y": 691.3333711624146,\r
1671         "z": "a60b8cc5.55e8f",\r
1672         "wires": []\r
1673     },\r
1674     {\r
1675         "id": "44a0a864.8cd1d8",\r
1676         "type": "set",\r
1677         "name": "set hub role",\r
1678         "xml": "<set>\n<parameter name='prop.role' value=\"hub\" />\n",\r
1679         "comments": "",\r
1680         "x": 2786.9562644958496,\r
1681         "y": 746.3333549499512,\r
1682         "z": "a60b8cc5.55e8f",\r
1683         "wires": []\r
1684     },\r
1685     {\r
1686         "id": "4c9e170f.05bda8",\r
1687         "type": "outcomeTrue",\r
1688         "name": "true",\r
1689         "xml": "<outcome value='true'>\n",\r
1690         "comments": "",\r
1691         "outputs": 1,\r
1692         "x": 2627.9563522338867,\r
1693         "y": 693,\r
1694         "z": "a60b8cc5.55e8f",\r
1695         "wires": [\r
1696             [\r
1697                 "8f17f745.17ddb8"\r
1698             ]\r
1699         ]\r
1700     },\r
1701     {\r
1702         "id": "a41f3558.9efd38",\r
1703         "type": "outcomeTrue",\r
1704         "name": "true",\r
1705         "xml": "<outcome value='true'>\n",\r
1706         "comments": "",\r
1707         "outputs": 1,\r
1708         "x": 2631.9563522338867,\r
1709         "y": 748,\r
1710         "z": "a60b8cc5.55e8f",\r
1711         "wires": [\r
1712             [\r
1713                 "44a0a864.8cd1d8"\r
1714             ]\r
1715         ]\r
1716     },\r
1717     {\r
1718         "id": "b87c5ca2.4198d",\r
1719         "type": "update",\r
1720         "name": "update SDWAN VPN status to AAI",\r
1721         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='lan-port-config' \n      key='lan-port-config.lan-port-config-id = $vf-module-topology-operation-input.vf-module-information.vf-module-id' >\n<parameter name='lan-port-config-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='operational-status' value='Active' />\n<!--parameter name='lan-port-config-id' value='`$prop.lan-port-config-id`' /-->\n",\r
1722         "comments": "",\r
1723         "outputs": 1,\r
1724         "x": 640.3208885192871,\r
1725         "y": 2012.031280040741,\r
1726         "z": "a60b8cc5.55e8f",\r
1727         "wires": [\r
1728             []\r
1729         ]\r
1730     },\r
1731     {\r
1732         "id": "b4355150.f8381",\r
1733         "type": "set",\r
1734         "name": "set vf-module-level-oper-status",\r
1735         "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
1736         "comments": "",\r
1737         "x": 634.9559097290039,\r
1738         "y": 1957.126205444336,\r
1739         "z": "a60b8cc5.55e8f",\r
1740         "wires": []\r
1741     },\r
1742     {\r
1743         "id": "ea89a3cd.96c6c",\r
1744         "type": "set",\r
1745         "name": "set vf-module-id and vf-module-object-path",\r
1746         "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
1747         "comments": "",\r
1748         "x": 670.9559097290039,\r
1749         "y": 1910.6261444091797,\r
1750         "z": "a60b8cc5.55e8f",\r
1751         "wires": []\r
1752     },\r
1753     {\r
1754         "id": "e352097b.fa56f8",\r
1755         "type": "set",\r
1756         "name": "copy input data in service-data",\r
1757         "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
1758         "comments": "",\r
1759         "x": 634.9558601379395,\r
1760         "y": 1858.876064300537,\r
1761         "z": "a60b8cc5.55e8f",\r
1762         "wires": []\r
1763     },\r
1764     {\r
1765         "id": "9f914b2c.f63948",\r
1766         "type": "set",\r
1767         "name": "set device PortId to service data",\r
1768         "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='devicePortId' />\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.lan.devicePortId`' />\n",\r
1769         "comments": "",\r
1770         "x": 641.3209266662598,\r
1771         "y": 1752.0314636230469,\r
1772         "z": "a60b8cc5.55e8f",\r
1773         "wires": []\r
1774     },\r
1775     {\r
1776         "id": "23f60fe.f5fa6f",\r
1777         "type": "set",\r
1778         "name": "set lan PortId to service data",\r
1779         "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='lanPortId' />\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.lan.lanPortId`' />\n",\r
1780         "comments": "",\r
1781         "x": 627.3208503723145,\r
1782         "y": 1806.0312767028809,\r
1783         "z": "a60b8cc5.55e8f",\r
1784         "wires": []\r
1785     },\r
1786     {\r
1787         "id": "1a9cf10f.4a8b1f",\r
1788         "type": "record",\r
1789         "name": "record",\r
1790         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic21.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"prop.attach.siteId\"/>\n<parameter name=\"field3\" value='`$prop.attach.siteId`'/>\n",\r
1791         "comments": "",\r
1792         "outputs": 1,\r
1793         "x": 2464.3209915161133,\r
1794         "y": 928.5312805175781,\r
1795         "z": "a60b8cc5.55e8f",\r
1796         "wires": [\r
1797             []\r
1798         ]\r
1799     },\r
1800     {\r
1801         "id": "368fa25d.21f04e",\r
1802         "type": "record",\r
1803         "name": "record",\r
1804         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic22.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"set spoke role\"/>\n",\r
1805         "comments": "",\r
1806         "outputs": 1,\r
1807         "x": 2433.321002960205,\r
1808         "y": 659.531247138977,\r
1809         "z": "a60b8cc5.55e8f",\r
1810         "wires": [\r
1811             []\r
1812         ]\r
1813     },\r
1814     {\r
1815         "id": "9d46cf63.0dcd9",\r
1816         "type": "record",\r
1817         "name": "record",\r
1818         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic23.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"param-name\"/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name`'/>\n",\r
1819         "comments": "",\r
1820         "outputs": 1,\r
1821         "x": 1927.3208541870117,\r
1822         "y": 691.53125,\r
1823         "z": "a60b8cc5.55e8f",\r
1824         "wires": [\r
1825             []\r
1826         ]\r
1827     },\r
1828     {\r
1829         "id": "62b5eb93.96f0e4",\r
1830         "type": "comment",\r
1831         "name": "**revert the changes",\r
1832         "info": "",\r
1833         "comments": "",\r
1834         "x": 1328.3208808898926,\r
1835         "y": 697.0312824249268,\r
1836         "z": "a60b8cc5.55e8f",\r
1837         "wires": []\r
1838     },\r
1839     {\r
1840         "id": "4995fb6d.83aaf4",\r
1841         "type": "switchNode",\r
1842         "name": "switch vf-modules.vf-module_length",\r
1843         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length >= '0'`\">\n\n<!--switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\"-->\n",\r
1844         "comments": "",\r
1845         "outputs": 1,\r
1846         "x": 871.5038909912109,\r
1847         "y": 511.25390625,\r
1848         "z": "a60b8cc5.55e8f",\r
1849         "wires": [\r
1850             [\r
1851                 "208d9618.3a993a"\r
1852             ]\r
1853         ]\r
1854     },\r
1855     {\r
1856         "id": "208d9618.3a993a",\r
1857         "type": "outcomeTrue",\r
1858         "name": "true",\r
1859         "xml": "<outcome value='true'>\n",\r
1860         "comments": "",\r
1861         "outputs": 1,\r
1862         "x": 977.50390625,\r
1863         "y": 562.25390625,\r
1864         "z": "a60b8cc5.55e8f",\r
1865         "wires": [\r
1866             [\r
1867                 "fd503aa4.1469a8"\r
1868             ]\r
1869         ]\r
1870     },\r
1871     {\r
1872         "id": "8fd527ce.0b2738",\r
1873         "type": "block",\r
1874         "name": "block : atomic",\r
1875         "xml": "<block atomic=\"true\">",\r
1876         "atomic": "true",\r
1877         "outputs": 1,\r
1878         "x": 671.7539138793945,\r
1879         "y": 472.0039048194885,\r
1880         "z": "a60b8cc5.55e8f",\r
1881         "wires": [\r
1882             [\r
1883                 "4995fb6d.83aaf4"\r
1884             ]\r
1885         ]\r
1886     },\r
1887     {\r
1888         "id": "fd503aa4.1469a8",\r
1889         "type": "block",\r
1890         "name": "block : atomic",\r
1891         "xml": "<block atomic=\"true\">",\r
1892         "atomic": "true",\r
1893         "outputs": 1,\r
1894         "x": 1129.753890991211,\r
1895         "y": 559.0039281845093,\r
1896         "z": "a60b8cc5.55e8f",\r
1897         "wires": [\r
1898             [\r
1899                 "2dd1b5ff.e9de3a"\r
1900             ]\r
1901         ]\r
1902     },\r
1903     {\r
1904         "id": "258487d9.bf18e8",\r
1905         "type": "block",\r
1906         "name": "block : atomic",\r
1907         "xml": "<block atomic=\"true\">",\r
1908         "atomic": "true",\r
1909         "outputs": 1,\r
1910         "x": 1873.5039710998535,\r
1911         "y": 557.0039119720459,\r
1912         "z": "a60b8cc5.55e8f",\r
1913         "wires": [\r
1914             [\r
1915                 "bc24bdbf.b7fae"\r
1916             ]\r
1917         ]\r
1918     },\r
1919     {\r
1920         "id": "63f09f8.86bc26",\r
1921         "type": "success",\r
1922         "name": "success",\r
1923         "xml": "<outcome value='success'>\n",\r
1924         "comments": "",\r
1925         "outputs": 1,\r
1926         "x": 878.2539176940918,\r
1927         "y": 910.7539704740047,\r
1928         "z": "a60b8cc5.55e8f",\r
1929         "wires": [\r
1930             [\r
1931                 "6c04212d.63f27"\r
1932             ]\r
1933         ]\r
1934     },\r
1935     {\r
1936         "id": "b3737121.de6a3",\r
1937         "type": "not-found",\r
1938         "name": "not-found",\r
1939         "xml": "<outcome value='not-found'>\n",\r
1940         "comments": "",\r
1941         "outputs": 1,\r
1942         "x": 881.7448844909668,\r
1943         "y": 958.328006118536,\r
1944         "z": "a60b8cc5.55e8f",\r
1945         "wires": [\r
1946             [\r
1947                 "b8053b7f.3dfe58"\r
1948             ]\r
1949         ]\r
1950     },\r
1951     {\r
1952         "id": "b40d4802.cec768",\r
1953         "type": "other",\r
1954         "name": "other",\r
1955         "xml": "<outcome value='Other'>\n",\r
1956         "comments": "",\r
1957         "outputs": 1,\r
1958         "x": 877.0778923034668,\r
1959         "y": 999.6613191068172,\r
1960         "z": "a60b8cc5.55e8f",\r
1961         "wires": [\r
1962             [\r
1963                 "11f26c3c.e24064"\r
1964             ]\r
1965         ]\r
1966     },\r
1967     {\r
1968         "id": "b8053b7f.3dfe58",\r
1969         "type": "returnFailure",\r
1970         "name": "return failure",\r
1971         "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
1972         "comments": "",\r
1973         "x": 1058.3162956237793,\r
1974         "y": 946.6137422025204,\r
1975         "z": "a60b8cc5.55e8f",\r
1976         "wires": []\r
1977     },\r
1978     {\r
1979         "id": "11f26c3c.e24064",\r
1980         "type": "returnFailure",\r
1981         "name": "return failure",\r
1982         "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
1983         "comments": "",\r
1984         "x": 1064.8504486083984,\r
1985         "y": 995.1005118787289,\r
1986         "z": "a60b8cc5.55e8f",\r
1987         "wires": []\r
1988     },\r
1989     {\r
1990         "id": "b9f93820.627df8",\r
1991         "type": "success",\r
1992         "name": "success",\r
1993         "xml": "<outcome value='success'>\n",\r
1994         "comments": "",\r
1995         "outputs": 1,\r
1996         "x": 880.2539901733398,\r
1997         "y": 1053.7540006637573,\r
1998         "z": "a60b8cc5.55e8f",\r
1999         "wires": [\r
2000             [\r
2001                 "ea0a2431.4fcee8"\r
2002             ]\r
2003         ]\r
2004     },\r
2005     {\r
2006         "id": "4b6f89c7.7da458",\r
2007         "type": "failure",\r
2008         "name": "failure",\r
2009         "xml": "<outcome value='failure'>\n",\r
2010         "comments": "",\r
2011         "outputs": 1,\r
2012         "x": 872.5039901733398,\r
2013         "y": 1107.3968839645386,\r
2014         "z": "a60b8cc5.55e8f",\r
2015         "wires": [\r
2016             [\r
2017                 "10698363.0892ad"\r
2018             ]\r
2019         ]\r
2020     },\r
2021     {\r
2022         "id": "ea0a2431.4fcee8",\r
2023         "type": "set",\r
2024         "name": "set token-id",\r
2025         "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
2026         "comments": "",\r
2027         "x": 1030.2539176940918,\r
2028         "y": 1054.7539691925049,\r
2029         "z": "a60b8cc5.55e8f",\r
2030         "wires": []\r
2031     },\r
2032     {\r
2033         "id": "10698363.0892ad",\r
2034         "type": "returnFailure",\r
2035         "name": "return failure",\r
2036         "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
2037         "comments": "",\r
2038         "x": 1025.2539901733398,\r
2039         "y": 1107.1469449996948,\r
2040         "z": "a60b8cc5.55e8f",\r
2041         "wires": []\r
2042     },\r
2043     {\r
2044         "id": "6c04212d.63f27",\r
2045         "type": "set",\r
2046         "name": "set controller data",\r
2047         "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
2048         "comments": "",\r
2049         "x": 1073.7539978027344,\r
2050         "y": 905.7539749145508,\r
2051         "z": "a60b8cc5.55e8f",\r
2052         "wires": []\r
2053     },\r
2054     {\r
2055         "id": "97edc5d7.68c598",\r
2056         "type": "execute",\r
2057         "name": "execute RestApiCallNode Get token",\r
2058         "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
2059         "comments": "",\r
2060         "outputs": 1,\r
2061         "x": 631.2539672851562,\r
2062         "y": 1076.754077911377,\r
2063         "z": "a60b8cc5.55e8f",\r
2064         "wires": [\r
2065             [\r
2066                 "b9f93820.627df8",\r
2067                 "4b6f89c7.7da458"\r
2068             ]\r
2069         ]\r
2070     },\r
2071     {\r
2072         "id": "13f149d1.1db0a6",\r
2073         "type": "get-resource",\r
2074         "name": "get-resource esr-thirdparty-sdnc",\r
2075         "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
2076         "comments": "",\r
2077         "outputs": 1,\r
2078         "x": 616.254035949707,\r
2079         "y": 957.7539901733398,\r
2080         "z": "a60b8cc5.55e8f",\r
2081         "wires": [\r
2082             [\r
2083                 "63f09f8.86bc26",\r
2084                 "b3737121.de6a3",\r
2085                 "b40d4802.cec768"\r
2086             ]\r
2087         ]\r
2088     },\r
2089     {\r
2090         "id": "deaed14.de5b43",\r
2091         "type": "execute",\r
2092         "name": "execute Properties",\r
2093         "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
2094         "comments": "",\r
2095         "outputs": 1,\r
2096         "x": 631.00390625,\r
2097         "y": 291.50390625,\r
2098         "z": "a60b8cc5.55e8f",\r
2099         "wires": [\r
2100             []\r
2101         ]\r
2102     }\r
2103 ]