5bbee4532f14fc251216a550eed931cd9f00b4cc
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_dci-connects-network-topology-operation-activate.json
1 [
2   {
3     "id": "efadabab.b5cb18",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 161.03125,
8     "y": 58.03125,
9     "z": "1d7d5b1a.5d6895",
10     "wires": [
11       [
12         "ba4efe38.fe52f"
13       ]
14     ]
15   },
16   {
17     "id": "ba4efe38.fe52f",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
23     "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
24     "outputs": 1,
25     "x": 377.53125,
26     "y": 120.53125,
27     "z": "1d7d5b1a.5d6895",
28     "wires": [
29       [
30         "7f023f5f.1b1c1"
31       ]
32     ]
33   },
34   {
35     "id": "7f023f5f.1b1c1",
36     "type": "method",
37     "name": "method dci-connects-network-topology-operation-activate",
38     "xml": "<method rpc='dci-connects-network-topology-operation-activate' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 285.5312805175781,
42     "y": 215.53123474121094,
43     "z": "1d7d5b1a.5d6895",
44     "wires": [
45       [
46         "e1d5d7b9.ae02f8"
47       ]
48     ]
49   },
50   {
51     "id": "e1d5d7b9.ae02f8",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 583.3645935058594,
58     "y": 223.3645782470703,
59     "z": "1d7d5b1a.5d6895",
60     "wires": [
61       [
62         "66ae34bb.465bdc",
63         "f39d0958.e0ee98",
64         "9338de7d.f59b5",
65         "80e65684.a81798",
66         "44b13ee0.f42ab"
67       ]
68     ]
69   },
70   {
71     "id": "f39d0958.e0ee98",
72     "type": "call",
73     "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
74     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
75     "comments": "",
76     "outputs": 1,
77     "x": 973.3645935058594,
78     "y": 88.36457824707031,
79     "z": "1d7d5b1a.5d6895",
80     "wires": [
81       []
82     ]
83   },
84   {
85     "id": "605eaf8f.084d",
86     "type": "for",
87     "name": "for each network-input-parameters",
88     "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
89     "comments": "",
90     "outputs": 1,
91     "x": 1491.3648834228516,
92     "y": 361.364639043808,
93     "z": "1d7d5b1a.5d6895",
94     "wires": [
95       [
96         "bfa446d7.0384a8"
97       ]
98     ]
99   },
100   {
101     "id": "bfa446d7.0384a8",
102     "type": "block",
103     "name": "block",
104     "xml": "<block>\n",
105     "atomic": "false",
106     "comments": "",
107     "outputs": 1,
108     "x": 1738.3647918701172,
109     "y": 359.36460852622986,
110     "z": "1d7d5b1a.5d6895",
111     "wires": [
112       [
113         "2241976d.6a72e8",
114         "923aebd8.9492b8",
115         "2f701681.5a3f2a",
116         "7ed4d1f2.e0fb2",
117         "c165c87.d2de838",
118         "9f9caa1e.b9ba18",
119         "fd1390eb.db4fe",
120         "dc38e2a3.7cbf5",
121         "6fbbb836.ada618"
122       ]
123     ]
124   },
125   {
126     "id": "2241976d.6a72e8",
127     "type": "switchNode",
128     "name": "switch id",
129     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_id'`\">\n",
130     "comments": "",
131     "outputs": 1,
132     "x": 2225.36515045166,
133     "y": 235.36472511291504,
134     "z": "1d7d5b1a.5d6895",
135     "wires": [
136       [
137         "78ea1224.bc5bac"
138       ]
139     ]
140   },
141   {
142     "id": "923aebd8.9492b8",
143     "type": "switchNode",
144     "name": "switch description",
145     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_description'`\">\n",
146     "comments": "",
147     "outputs": 1,
148     "x": 2253.36515045166,
149     "y": 289.3647108078003,
150     "z": "1d7d5b1a.5d6895",
151     "wires": [
152       [
153         "3eb5f34b.fabb6c"
154       ]
155     ]
156   },
157   {
158     "id": "2f701681.5a3f2a",
159     "type": "switchNode",
160     "name": "switch routerId",
161     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_routerId'`\">\n",
162     "comments": "",
163     "outputs": 1,
164     "x": 2242.3649368286133,
165     "y": 420.364670753479,
166     "z": "1d7d5b1a.5d6895",
167     "wires": [
168       [
169         "db1938c9.795a18"
170       ]
171     ]
172   },
173   {
174     "id": "7ed4d1f2.e0fb2",
175     "type": "switchNode",
176     "name": "switch importRT1",
177     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_importRT1'`\">\n",
178     "comments": "",
179     "outputs": 1,
180     "x": 2250.6506729125977,
181     "y": 481.6504240036011,
182     "z": "1d7d5b1a.5d6895",
183     "wires": [
184       [
185         "666446e9.c89ea8"
186       ]
187     ]
188   },
189   {
190     "id": "c165c87.d2de838",
191     "type": "switchNode",
192     "name": "switch exportRT1",
193     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_exportRT1'`\">\n",
194     "comments": "",
195     "outputs": 1,
196     "x": 2251.650733947754,
197     "y": 545.6503947973251,
198     "z": "1d7d5b1a.5d6895",
199     "wires": [
200       [
201         "16c5b91c.f31b17"
202       ]
203     ]
204   },
205   {
206     "id": "9f9caa1e.b9ba18",
207     "type": "switchNode",
208     "name": "switch vni",
209     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_vni'`\">\n",
210     "comments": "",
211     "outputs": 1,
212     "x": 2222.650703430176,
213     "y": 608.650426864624,
214     "z": "1d7d5b1a.5d6895",
215     "wires": [
216       [
217         "918dfdc3.aa336"
218       ]
219     ]
220   },
221   {
222     "id": "78ea1224.bc5bac",
223     "type": "outcomeTrue",
224     "name": "true",
225     "xml": "<outcome value='true'>\n",
226     "comments": "",
227     "outputs": 1,
228     "x": 2440.36515045166,
229     "y": 234.36472511291504,
230     "z": "1d7d5b1a.5d6895",
231     "wires": [
232       [
233         "4bf931c1.dd806"
234       ]
235     ]
236   },
237   {
238     "id": "3eb5f34b.fabb6c",
239     "type": "outcomeTrue",
240     "name": "true",
241     "xml": "<outcome value='true'>\n",
242     "comments": "",
243     "outputs": 1,
244     "x": 2451.36515045166,
245     "y": 289.3647108078003,
246     "z": "1d7d5b1a.5d6895",
247     "wires": [
248       [
249         "55b0ea54.6a4d14"
250       ]
251     ]
252   },
253   {
254     "id": "db1938c9.795a18",
255     "type": "outcomeTrue",
256     "name": "true",
257     "xml": "<outcome value='true'>\n",
258     "comments": "",
259     "outputs": 1,
260     "x": 2447.3649368286133,
261     "y": 419.364670753479,
262     "z": "1d7d5b1a.5d6895",
263     "wires": [
264       [
265         "874dab5.61e2258"
266       ]
267     ]
268   },
269   {
270     "id": "666446e9.c89ea8",
271     "type": "outcomeTrue",
272     "name": "true",
273     "xml": "<outcome value='true'>\n",
274     "comments": "",
275     "outputs": 1,
276     "x": 2452.6506729125977,
277     "y": 480.6504240036011,
278     "z": "1d7d5b1a.5d6895",
279     "wires": [
280       [
281         "3adcbd29.e08a92"
282       ]
283     ]
284   },
285   {
286     "id": "16c5b91c.f31b17",
287     "type": "outcomeTrue",
288     "name": "true",
289     "xml": "<outcome value='true'>\n",
290     "comments": "",
291     "outputs": 1,
292     "x": 2447.650733947754,
293     "y": 542.6503947973251,
294     "z": "1d7d5b1a.5d6895",
295     "wires": [
296       [
297         "4c2a55f8.8427bc"
298       ]
299     ]
300   },
301   {
302     "id": "918dfdc3.aa336",
303     "type": "outcomeTrue",
304     "name": "true",
305     "xml": "<outcome value='true'>\n",
306     "comments": "",
307     "outputs": 1,
308     "x": 2428.650703430176,
309     "y": 608.650426864624,
310     "z": "1d7d5b1a.5d6895",
311     "wires": [
312       [
313         "18742d4d.86f243"
314       ]
315     ]
316   },
317   {
318     "id": "55b0ea54.6a4d14",
319     "type": "set",
320     "name": "set description",
321     "xml": "<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
322     "comments": "",
323     "x": 2633.36515045166,
324     "y": 282.3647108078003,
325     "z": "1d7d5b1a.5d6895",
326     "wires": []
327   },
328   {
329     "id": "874dab5.61e2258",
330     "type": "set",
331     "name": "set router_id",
332     "xml": "<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
333     "comments": "",
334     "x": 2638.3651580810547,
335     "y": 412.3647575378418,
336     "z": "1d7d5b1a.5d6895",
337     "wires": []
338   },
339   {
340     "id": "18742d4d.86f243",
341     "type": "set",
342     "name": "set vni",
343     "xml": "<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
344     "comments": "",
345     "x": 2598.650703430176,
346     "y": 600.650426864624,
347     "z": "1d7d5b1a.5d6895",
348     "wires": []
349   },
350   {
351     "id": "66ae34bb.465bdc",
352     "type": "returnSuccess",
353     "name": "return success",
354     "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",
355     "comments": "",
356     "x": 806.6504211425781,
357     "y": 1186.0789794921875,
358     "z": "1d7d5b1a.5d6895",
359     "wires": []
360   },
361   {
362     "id": "fd1390eb.db4fe",
363     "type": "switchNode",
364     "name": "switch name",
365     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
366     "comments": "",
367     "outputs": 1,
368     "x": 2236.5316848754883,
369     "y": 176.53135681152344,
370     "z": "1d7d5b1a.5d6895",
371     "wires": [
372       [
373         "c0671fb5.a1596"
374       ]
375     ]
376   },
377   {
378     "id": "c0671fb5.a1596",
379     "type": "outcomeTrue",
380     "name": "true",
381     "xml": "<outcome value='true'>\n",
382     "comments": "",
383     "outputs": 1,
384     "x": 2434.5316848754883,
385     "y": 176.53135681152344,
386     "z": "1d7d5b1a.5d6895",
387     "wires": [
388       [
389         "4df90ce2.99e144"
390       ]
391     ]
392   },
393   {
394     "id": "4df90ce2.99e144",
395     "type": "set",
396     "name": "set name",
397     "xml": "<set>\n<parameter name='prop.dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
398     "comments": "",
399     "x": 2616.5316848754883,
400     "y": 169.53135681152344,
401     "z": "1d7d5b1a.5d6895",
402     "wires": []
403   },
404   {
405     "id": "dc38e2a3.7cbf5",
406     "type": "switchNode",
407     "name": "switch networkName",
408     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_networkName'`\">\n",
409     "comments": "",
410     "outputs": 1,
411     "x": 2260.0314712524414,
412     "y": 355.5312967300415,
413     "z": "1d7d5b1a.5d6895",
414     "wires": [
415       [
416         "b00f6243.0a48"
417       ]
418     ]
419   },
420   {
421     "id": "b00f6243.0a48",
422     "type": "outcomeTrue",
423     "name": "true",
424     "xml": "<outcome value='true'>\n",
425     "comments": "",
426     "outputs": 1,
427     "x": 2458.0314712524414,
428     "y": 355.5312967300415,
429     "z": "1d7d5b1a.5d6895",
430     "wires": [
431       [
432         "2e41bbcc.a6d6e4"
433       ]
434     ]
435   },
436   {
437     "id": "9338de7d.f59b5",
438     "type": "block",
439     "name": "block : execute",
440     "xml": "<block atomic=\"true\">",
441     "atomic": "true",
442     "comments": "",
443     "outputs": 1,
444     "x": 807.0311813354492,
445     "y": 596.5312957763672,
446     "z": "1d7d5b1a.5d6895",
447     "wires": [
448       [
449         "c6f41a63.9856e8",
450         "e91af8d8.1aa348",
451         "d35fd906.7c7fe8"
452       ]
453     ]
454   },
455   {
456     "id": "c6f41a63.9856e8",
457     "type": "block",
458     "name": "block : executeSite1",
459     "xml": "<block atomic=\"true\">",
460     "atomic": "true",
461     "comments": "",
462     "outputs": 1,
463     "x": 1099.5312423706055,
464     "y": 421.0312719345093,
465     "z": "1d7d5b1a.5d6895",
466     "wires": [
467       [
468         "605eaf8f.084d",
469         "5df4287.26506d8"
470       ]
471     ]
472   },
473   {
474     "id": "e91af8d8.1aa348",
475     "type": "block",
476     "name": "block : executeSite2",
477     "xml": "<block atomic=\"true\">",
478     "atomic": "true",
479     "comments": "",
480     "outputs": 1,
481     "x": 1116.5312881469727,
482     "y": 937.0312547683716,
483     "z": "1d7d5b1a.5d6895",
484     "wires": [
485       [
486         "ba12a388.ca536",
487         "5df4287.26506d8"
488       ]
489     ]
490   },
491   {
492     "id": "4ba9c3e9.e8390c",
493     "type": "switchNode",
494     "name": "switch id",
495     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n",
496     "comments": "",
497     "outputs": 1,
498     "x": 2211.031494140625,
499     "y": 756.0311889648438,
500     "z": "1d7d5b1a.5d6895",
501     "wires": [
502       [
503         "4d059d56.ac7354"
504       ]
505     ]
506   },
507   {
508     "id": "a5aeb648.cbf968",
509     "type": "switchNode",
510     "name": "switch description",
511     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_description'`\">\n",
512     "comments": "",
513     "outputs": 1,
514     "x": 2235.0318450927734,
515     "y": 815.031195640564,
516     "z": "1d7d5b1a.5d6895",
517     "wires": [
518       [
519         "44b5c7cb.6c0ad8",
520         "f5c82290.f1663"
521       ]
522     ]
523   },
524   {
525     "id": "1b41b68d.54ece9",
526     "type": "switchNode",
527     "name": "switch routerId",
528     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n",
529     "comments": "",
530     "outputs": 1,
531     "x": 2244.031234741211,
532     "y": 1011.0311613082886,
533     "z": "1d7d5b1a.5d6895",
534     "wires": [
535       [
536         "126609cf.3fa496"
537       ]
538     ]
539   },
540   {
541     "id": "1ea9ba64.03cfe6",
542     "type": "switchNode",
543     "name": "switch importRT1",
544     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n",
545     "comments": "",
546     "outputs": 1,
547     "x": 2252.3169708251953,
548     "y": 1072.3169145584106,
549     "z": "1d7d5b1a.5d6895",
550     "wires": [
551       [
552         "f302ebc3.5b2b08"
553       ]
554     ]
555   },
556   {
557     "id": "f446799d.52ab98",
558     "type": "switchNode",
559     "name": "switch exportRT1",
560     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_exportRT1'`\">\n",
561     "comments": "",
562     "outputs": 1,
563     "x": 2253.3170318603516,
564     "y": 1136.3168853521347,
565     "z": "1d7d5b1a.5d6895",
566     "wires": [
567       [
568         "760fe723.f862b8"
569       ]
570     ]
571   },
572   {
573     "id": "12876faf.c9b22",
574     "type": "switchNode",
575     "name": "switch vni",
576     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n",
577     "comments": "",
578     "outputs": 1,
579     "x": 2224.3170013427734,
580     "y": 1199.3169174194336,
581     "z": "1d7d5b1a.5d6895",
582     "wires": [
583       [
584         "9ec06044.5ffa5"
585       ]
586     ]
587   },
588   {
589     "id": "4d059d56.ac7354",
590     "type": "outcomeTrue",
591     "name": "true",
592     "xml": "<outcome value='true'>\n",
593     "comments": "",
594     "outputs": 1,
595     "x": 2426.031494140625,
596     "y": 755.0311889648438,
597     "z": "1d7d5b1a.5d6895",
598     "wires": [
599       [
600         "59ffa97c.5c0fc8"
601       ]
602     ]
603   },
604   {
605     "id": "44b5c7cb.6c0ad8",
606     "type": "outcomeTrue",
607     "name": "true",
608     "xml": "<outcome value='true'>\n",
609     "comments": "",
610     "outputs": 1,
611     "x": 2433.0318450927734,
612     "y": 815.031195640564,
613     "z": "1d7d5b1a.5d6895",
614     "wires": [
615       [
616         "bc8f84e7.1a2c38"
617       ]
618     ]
619   },
620   {
621     "id": "126609cf.3fa496",
622     "type": "outcomeTrue",
623     "name": "true",
624     "xml": "<outcome value='true'>\n",
625     "comments": "",
626     "outputs": 1,
627     "x": 2449.031234741211,
628     "y": 1010.0311613082886,
629     "z": "1d7d5b1a.5d6895",
630     "wires": [
631       [
632         "9984a813.340fe8"
633       ]
634     ]
635   },
636   {
637     "id": "f302ebc3.5b2b08",
638     "type": "outcomeTrue",
639     "name": "true",
640     "xml": "<outcome value='true'>\n",
641     "comments": "",
642     "outputs": 1,
643     "x": 2454.3169708251953,
644     "y": 1071.3169145584106,
645     "z": "1d7d5b1a.5d6895",
646     "wires": [
647       [
648         "76d6f69c.e0f7a8"
649       ]
650     ]
651   },
652   {
653     "id": "760fe723.f862b8",
654     "type": "outcomeTrue",
655     "name": "true",
656     "xml": "<outcome value='true'>\n",
657     "comments": "",
658     "outputs": 1,
659     "x": 2449.3170318603516,
660     "y": 1133.3168853521347,
661     "z": "1d7d5b1a.5d6895",
662     "wires": [
663       [
664         "fe22f97a.e156b8"
665       ]
666     ]
667   },
668   {
669     "id": "9ec06044.5ffa5",
670     "type": "outcomeTrue",
671     "name": "true",
672     "xml": "<outcome value='true'>\n",
673     "comments": "",
674     "outputs": 1,
675     "x": 2430.3170013427734,
676     "y": 1199.3169174194336,
677     "z": "1d7d5b1a.5d6895",
678     "wires": [
679       [
680         "cab29ddd.d3511"
681       ]
682     ]
683   },
684   {
685     "id": "bc8f84e7.1a2c38",
686     "type": "set",
687     "name": "set description",
688     "xml": "<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
689     "comments": "",
690     "x": 2615.0318450927734,
691     "y": 808.031195640564,
692     "z": "1d7d5b1a.5d6895",
693     "wires": []
694   },
695   {
696     "id": "9984a813.340fe8",
697     "type": "set",
698     "name": "set router_id",
699     "xml": "<set>\n<parameter name='prop.dci-connects.router_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
700     "comments": "",
701     "x": 2640.0314559936523,
702     "y": 1003.0312480926514,
703     "z": "1d7d5b1a.5d6895",
704     "wires": []
705   },
706   {
707     "id": "cab29ddd.d3511",
708     "type": "set",
709     "name": "set vni",
710     "xml": "<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
711     "comments": "",
712     "x": 2600.3170013427734,
713     "y": 1191.3169174194336,
714     "z": "1d7d5b1a.5d6895",
715     "wires": []
716   },
717   {
718     "id": "da831bc2.b61118",
719     "type": "switchNode",
720     "name": "switch networkName",
721     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n",
722     "comments": "",
723     "outputs": 1,
724     "x": 2261.697769165039,
725     "y": 946.1977872848511,
726     "z": "1d7d5b1a.5d6895",
727     "wires": [
728       [
729         "1a29ba09.a33016"
730       ]
731     ]
732   },
733   {
734     "id": "1a29ba09.a33016",
735     "type": "outcomeTrue",
736     "name": "true",
737     "xml": "<outcome value='true'>\n",
738     "comments": "",
739     "outputs": 1,
740     "x": 2459.697769165039,
741     "y": 946.1977872848511,
742     "z": "1d7d5b1a.5d6895",
743     "wires": [
744       [
745         "38aff846.dc0b98"
746       ]
747     ]
748   },
749   {
750     "id": "f9349a4.bd78768",
751     "type": "block",
752     "name": "block",
753     "xml": "<block>\n",
754     "atomic": "false",
755     "comments": "",
756     "outputs": 1,
757     "x": 1730.0309448242188,
758     "y": 878.0311467647552,
759     "z": "1d7d5b1a.5d6895",
760     "wires": [
761       [
762         "4ba9c3e9.e8390c",
763         "a5aeb648.cbf968",
764         "1b41b68d.54ece9",
765         "1ea9ba64.03cfe6",
766         "f446799d.52ab98",
767         "12876faf.c9b22",
768         "da831bc2.b61118"
769       ]
770     ]
771   },
772   {
773     "id": "ba12a388.ca536",
774     "type": "for",
775     "name": "for each network-input-parameters",
776     "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
777     "comments": "",
778     "outputs": 1,
779     "x": 1483.0310363769531,
780     "y": 880.0311772823334,
781     "z": "1d7d5b1a.5d6895",
782     "wires": [
783       [
784         "f9349a4.bd78768"
785       ]
786     ]
787   },
788   {
789     "id": "4bf931c1.dd806",
790     "type": "set",
791     "name": "set id",
792     "xml": "<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
793     "comments": "",
794     "x": 2622.0315322875977,
795     "y": 228.03127479553223,
796     "z": "1d7d5b1a.5d6895",
797     "wires": []
798   },
799   {
800     "id": "6fbbb836.ada618",
801     "type": "switchNode",
802     "name": "switch tunnelType",
803     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n",
804     "comments": "",
805     "outputs": 1,
806     "x": 2241.53125,
807     "y": 678.0311889648438,
808     "z": "1d7d5b1a.5d6895",
809     "wires": [
810       [
811         "c5018b38.b82348"
812       ]
813     ]
814   },
815   {
816     "id": "c5018b38.b82348",
817     "type": "outcomeTrue",
818     "name": "true",
819     "xml": "<outcome value='true'>\n",
820     "comments": "",
821     "outputs": 1,
822     "x": 2447.53125,
823     "y": 678.0311889648438,
824     "z": "1d7d5b1a.5d6895",
825     "wires": [
826       [
827         "85645a4.a9bb1a8"
828       ]
829     ]
830   },
831   {
832     "id": "85645a4.a9bb1a8",
833     "type": "set",
834     "name": "set tunnelType",
835     "xml": "<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
836     "comments": "",
837     "x": 2617.53125,
838     "y": 670.0311889648438,
839     "z": "1d7d5b1a.5d6895",
840     "wires": []
841   },
842   {
843     "id": "5df4287.26506d8",
844     "type": "block",
845     "name": "block : sendRequest",
846     "xml": "<block atomic=\"true\">",
847     "atomic": "true",
848     "comments": "",
849     "outputs": 1,
850     "x": 1395.5312690734863,
851     "y": 1437.5311946868896,
852     "z": "1d7d5b1a.5d6895",
853     "wires": [
854       [
855         "1dccb94.bd57b47",
856         "5d6b118.552a3f",
857         "2eb443d1.da3d7c",
858         "6c39ea0c.ba0e9c",
859         "1fbe5a07.98eb36"
860       ]
861     ]
862   },
863   {
864     "id": "37fa897c.a998d6",
865     "type": "execute",
866     "name": "execute RestApiCallNode Activate Vxlan Tunnel",
867     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l3-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l3-dci-connects'`\"/>\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=\"restapi-result\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
868     "comments": "",
869     "outputs": 1,
870     "x": 2203.5315437316895,
871     "y": 1500.5311498641968,
872     "z": "1d7d5b1a.5d6895",
873     "wires": [
874       []
875     ]
876   },
877   {
878     "id": "a2886d1e.1475a",
879     "type": "success",
880     "name": "success",
881     "xml": "<outcome value='success'>\n",
882     "comments": "",
883     "outputs": 1,
884     "x": 1882.0312271118164,
885     "y": 1208.530781507492,
886     "z": "1d7d5b1a.5d6895",
887     "wires": [
888       [
889         "59fbb9bc.1fe2b8"
890       ]
891     ]
892   },
893   {
894     "id": "4cc401c7.12563",
895     "type": "not-found",
896     "name": "not-found",
897     "xml": "<outcome value='not-found'>\n",
898     "comments": "",
899     "outputs": 1,
900     "x": 1889.0312271118164,
901     "y": 1246.530781507492,
902     "z": "1d7d5b1a.5d6895",
903     "wires": [
904       [
905         "fa41b944.ad53d8"
906       ]
907     ]
908   },
909   {
910     "id": "499333c.6e6f8cc",
911     "type": "other",
912     "name": "other",
913     "xml": "<outcome value='Other'>\n",
914     "comments": "",
915     "outputs": 1,
916     "x": 1881.0312271118164,
917     "y": 1288.530781507492,
918     "z": "1d7d5b1a.5d6895",
919     "wires": [
920       [
921         "30de8b8b.248734"
922       ]
923     ]
924   },
925   {
926     "id": "fa41b944.ad53d8",
927     "type": "returnFailure",
928     "name": "return failure",
929     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
930     "comments": "",
931     "x": 2046.0312271118164,
932     "y": 1250.530781507492,
933     "z": "1d7d5b1a.5d6895",
934     "wires": []
935   },
936   {
937     "id": "30de8b8b.248734",
938     "type": "returnFailure",
939     "name": "return failure",
940     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
941     "comments": "",
942     "x": 2039.0312271118164,
943     "y": 1297.530781507492,
944     "z": "1d7d5b1a.5d6895",
945     "wires": []
946   },
947   {
948     "id": "2eb443d1.da3d7c",
949     "type": "get-resource",
950     "name": "get-resource esr-thirdparty-sdnc",
951     "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 = $prop.dci-connects.id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n",
952     "comments": "",
953     "outputs": 1,
954     "x": 1663.262107849121,
955     "y": 1247.8385467529297,
956     "z": "1d7d5b1a.5d6895",
957     "wires": [
958       [
959         "a2886d1e.1475a",
960         "4cc401c7.12563",
961         "499333c.6e6f8cc"
962       ]
963     ]
964   },
965   {
966     "id": "59fbb9bc.1fe2b8",
967     "type": "set",
968     "name": "set controller data",
969     "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\n",
970     "comments": "",
971     "x": 2056.5311584472656,
972     "y": 1205.03076171875,
973     "z": "1d7d5b1a.5d6895",
974     "wires": []
975   },
976   {
977     "id": "1dccb94.bd57b47",
978     "type": "switchNode",
979     "name": "switch tunnelType",
980     "xml": "<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
981     "comments": "",
982     "outputs": 1,
983     "x": 1666.5310020446777,
984     "y": 1525.0306606292725,
985     "z": "1d7d5b1a.5d6895",
986     "wires": [
987       [
988         "71cfd469.6c1bec",
989         "86e8360c.b36588"
990       ]
991     ]
992   },
993   {
994     "id": "71cfd469.6c1bec",
995     "type": "outcomeTrue",
996     "name": "L3-DCI",
997     "xml": "<outcome value='L3-DCI'>\n",
998     "comments": "",
999     "outputs": 1,
1000     "x": 1879.5311317443848,
1001     "y": 1505.0306606292725,
1002     "z": "1d7d5b1a.5d6895",
1003     "wires": [
1004       [
1005         "37fa897c.a998d6"
1006       ]
1007     ]
1008   },
1009   {
1010     "id": "86e8360c.b36588",
1011     "type": "outcomeTrue",
1012     "name": "L2-DCI",
1013     "xml": "<outcome value='L2-DCI'>\n",
1014     "comments": "",
1015     "outputs": 1,
1016     "x": 1877.5309524536133,
1017     "y": 1577.0306606292725,
1018     "z": "1d7d5b1a.5d6895",
1019     "wires": [
1020       [
1021         "888b7367.eced7"
1022       ]
1023     ]
1024   },
1025   {
1026     "id": "59ffa97c.5c0fc8",
1027     "type": "set",
1028     "name": "set id",
1029     "xml": "<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1030     "comments": "",
1031     "x": 2600.031467437744,
1032     "y": 750.0312414169312,
1033     "z": "1d7d5b1a.5d6895",
1034     "wires": []
1035   },
1036   {
1037     "id": "888b7367.eced7",
1038     "type": "execute",
1039     "name": "execute RestApiCallNode Activate Vxlan Tunnel",
1040     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l2-dci-connects-template.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/v2.0/l2-dci-connects'`\"/>\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=\"restapi-result\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",
1041     "comments": "",
1042     "outputs": 1,
1043     "x": 2197.5314979553223,
1044     "y": 1577.5310859680176,
1045     "z": "1d7d5b1a.5d6895",
1046     "wires": [
1047       []
1048     ]
1049   },
1050   {
1051     "id": "f5c82290.f1663",
1052     "type": "outcomeTrue",
1053     "name": "false",
1054     "xml": "<outcome value='false'>\n",
1055     "comments": "",
1056     "outputs": 1,
1057     "x": 2431.531425476074,
1058     "y": 874.0312252044678,
1059     "z": "1d7d5b1a.5d6895",
1060     "wires": [
1061       [
1062         "cbfd35c2.bfcb88"
1063       ]
1064     ]
1065   },
1066   {
1067     "id": "cbfd35c2.bfcb88",
1068     "type": "set",
1069     "name": "set description",
1070     "xml": "<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
1071     "comments": "",
1072     "x": 2612.531494140625,
1073     "y": 869.0311660766602,
1074     "z": "1d7d5b1a.5d6895",
1075     "wires": []
1076   },
1077   {
1078     "id": "3adcbd29.e08a92",
1079     "type": "block",
1080     "name": "block setEvpnIrts",
1081     "xml": "<block atomic=\"true\">\n",
1082     "atomic": "false",
1083     "comments": "",
1084     "outputs": 1,
1085     "x": 2634.531005859375,
1086     "y": 482.5468463897705,
1087     "z": "1d7d5b1a.5d6895",
1088     "wires": [
1089       [
1090         "ee0c28f8.e4d418",
1091         "e8a5d988.95c218"
1092       ]
1093     ]
1094   },
1095   {
1096     "id": "ee0c28f8.e4d418",
1097     "type": "set",
1098     "name": "set evpn_irts",
1099     "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1100     "comments": "",
1101     "x": 2880.531005859375,
1102     "y": 433.5468463897705,
1103     "z": "1d7d5b1a.5d6895",
1104     "wires": []
1105   },
1106   {
1107     "id": "e8a5d988.95c218",
1108     "type": "execute",
1109     "name": "split evpn_irts",
1110     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n",
1111     "comments": "",
1112     "outputs": 1,
1113     "x": 2909.531005859375,
1114     "y": 485.5468463897705,
1115     "z": "1d7d5b1a.5d6895",
1116     "wires": [
1117       [
1118         "d28f896c.05d5c8",
1119         "14de53a9.69951c"
1120       ]
1121     ]
1122   },
1123   {
1124     "id": "14de53a9.69951c",
1125     "type": "failure",
1126     "name": "success",
1127     "xml": "<outcome value='success'>\n",
1128     "comments": "",
1129     "outputs": 1,
1130     "x": 3126.531005859375,
1131     "y": 411.5468463897705,
1132     "z": "1d7d5b1a.5d6895",
1133     "wires": [
1134       [
1135         "2beb253e.7afdaa"
1136       ]
1137     ]
1138   },
1139   {
1140     "id": "d28f896c.05d5c8",
1141     "type": "failure",
1142     "name": "failure",
1143     "xml": "<outcome value='failure'>\n",
1144     "comments": "",
1145     "outputs": 1,
1146     "x": 3127.531005859375,
1147     "y": 477.5468463897705,
1148     "z": "1d7d5b1a.5d6895",
1149     "wires": [
1150       [
1151         "75111897.c6e698"
1152       ]
1153     ]
1154   },
1155   {
1156     "id": "75111897.c6e698",
1157     "type": "returnFailure",
1158     "name": "return failure",
1159     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1160     "comments": "",
1161     "x": 3308.531005859375,
1162     "y": 475.5468463897705,
1163     "z": "1d7d5b1a.5d6895",
1164     "wires": []
1165   },
1166   {
1167     "id": "cc14d3d6.a8bb8",
1168     "type": "set",
1169     "name": "set evpn_erts",
1170     "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1171     "comments": "",
1172     "x": 2877.031005859375,
1173     "y": 576.0468769073486,
1174     "z": "1d7d5b1a.5d6895",
1175     "wires": []
1176   },
1177   {
1178     "id": "456385de.3c8bcc",
1179     "type": "execute",
1180     "name": "split evpn_erts",
1181     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n",
1182     "comments": "",
1183     "outputs": 1,
1184     "x": 2906.031005859375,
1185     "y": 628.0468769073486,
1186     "z": "1d7d5b1a.5d6895",
1187     "wires": [
1188       [
1189         "7302b848.08c648",
1190         "5fdfc909.24b298"
1191       ]
1192     ]
1193   },
1194   {
1195     "id": "5fdfc909.24b298",
1196     "type": "failure",
1197     "name": "success",
1198     "xml": "<outcome value='success'>\n",
1199     "comments": "",
1200     "outputs": 1,
1201     "x": 3123.031005859375,
1202     "y": 554.0468769073486,
1203     "z": "1d7d5b1a.5d6895",
1204     "wires": [
1205       [
1206         "a89b655a.a9acf8"
1207       ]
1208     ]
1209   },
1210   {
1211     "id": "7302b848.08c648",
1212     "type": "failure",
1213     "name": "failure",
1214     "xml": "<outcome value='failure'>\n",
1215     "comments": "",
1216     "outputs": 1,
1217     "x": 3124.031005859375,
1218     "y": 620.0468769073486,
1219     "z": "1d7d5b1a.5d6895",
1220     "wires": [
1221       [
1222         "c1a75157.1fffe"
1223       ]
1224     ]
1225   },
1226   {
1227     "id": "c1a75157.1fffe",
1228     "type": "returnFailure",
1229     "name": "return failure",
1230     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1231     "comments": "",
1232     "x": 3305.031005859375,
1233     "y": 618.0468769073486,
1234     "z": "1d7d5b1a.5d6895",
1235     "wires": []
1236   },
1237   {
1238     "id": "4c2a55f8.8427bc",
1239     "type": "block",
1240     "name": "block setEvpnErts",
1241     "xml": "<block atomic=\"true\">\n",
1242     "atomic": "false",
1243     "comments": "",
1244     "outputs": 1,
1245     "x": 2628.0308990478516,
1246     "y": 538.0469341278076,
1247     "z": "1d7d5b1a.5d6895",
1248     "wires": [
1249       [
1250         "cc14d3d6.a8bb8",
1251         "456385de.3c8bcc"
1252       ]
1253     ]
1254   },
1255   {
1256     "id": "2beb253e.7afdaa",
1257     "type": "for",
1258     "name": "for each evpn_irts",
1259     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
1260     "comments": "",
1261     "outputs": 1,
1262     "x": 3329.0311698913574,
1263     "y": 411.0468864440918,
1264     "z": "1d7d5b1a.5d6895",
1265     "wires": [
1266       [
1267         "7f5427c6.ab6078"
1268       ]
1269     ]
1270   },
1271   {
1272     "id": "7f5427c6.ab6078",
1273     "type": "set",
1274     "name": "set evpn_irt",
1275     "xml": "<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
1276     "comments": "",
1277     "x": 3541.0316619873047,
1278     "y": 411.0470390319824,
1279     "z": "1d7d5b1a.5d6895",
1280     "wires": []
1281   },
1282   {
1283     "id": "a89b655a.a9acf8",
1284     "type": "for",
1285     "name": "for each evpn_erts",
1286     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
1287     "comments": "",
1288     "outputs": 1,
1289     "x": 3322.531005859375,
1290     "y": 550.0468769073486,
1291     "z": "1d7d5b1a.5d6895",
1292     "wires": [
1293       [
1294         "26d12fff.9c7b4"
1295       ]
1296     ]
1297   },
1298   {
1299     "id": "26d12fff.9c7b4",
1300     "type": "set",
1301     "name": "set evpn_ert",
1302     "xml": "<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
1303     "comments": "",
1304     "x": 3534.5314979553223,
1305     "y": 550.0470294952393,
1306     "z": "1d7d5b1a.5d6895",
1307     "wires": []
1308   },
1309   {
1310     "id": "232c8152.10922e",
1311     "type": "set",
1312     "name": "set evpn_irts",
1313     "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_irts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1314     "comments": "",
1315     "x": 2893.531005859375,
1316     "y": 1016.5468158721924,
1317     "z": "1d7d5b1a.5d6895",
1318     "wires": []
1319   },
1320   {
1321     "id": "60735ad6.75f224",
1322     "type": "execute",
1323     "name": "split evpn_irts",
1324     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_irts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_irts\"/>\n",
1325     "comments": "",
1326     "outputs": 1,
1327     "x": 2922.531005859375,
1328     "y": 1068.5468158721924,
1329     "z": "1d7d5b1a.5d6895",
1330     "wires": [
1331       [
1332         "9de0af26.c612a",
1333         "f23e522f.721f"
1334       ]
1335     ]
1336   },
1337   {
1338     "id": "f23e522f.721f",
1339     "type": "failure",
1340     "name": "success",
1341     "xml": "<outcome value='success'>\n",
1342     "comments": "",
1343     "outputs": 1,
1344     "x": 3139.531005859375,
1345     "y": 994.5468158721924,
1346     "z": "1d7d5b1a.5d6895",
1347     "wires": [
1348       [
1349         "3e0e3570.15512a"
1350       ]
1351     ]
1352   },
1353   {
1354     "id": "9de0af26.c612a",
1355     "type": "failure",
1356     "name": "failure",
1357     "xml": "<outcome value='failure'>\n",
1358     "comments": "",
1359     "outputs": 1,
1360     "x": 3140.531005859375,
1361     "y": 1060.5468158721924,
1362     "z": "1d7d5b1a.5d6895",
1363     "wires": [
1364       [
1365         "7bec3155.0aa5"
1366       ]
1367     ]
1368   },
1369   {
1370     "id": "7bec3155.0aa5",
1371     "type": "returnFailure",
1372     "name": "return failure",
1373     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1374     "comments": "",
1375     "x": 3321.531005859375,
1376     "y": 1058.5468158721924,
1377     "z": "1d7d5b1a.5d6895",
1378     "wires": []
1379   },
1380   {
1381     "id": "2d50095d.e93056",
1382     "type": "set",
1383     "name": "set evpn_erts",
1384     "xml": "<set>\n<parameter name='tmp.dci-connects.evpn_erts.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1385     "comments": "",
1386     "x": 2890.031005859375,
1387     "y": 1159.0468463897705,
1388     "z": "1d7d5b1a.5d6895",
1389     "wires": []
1390   },
1391   {
1392     "id": "5512a241.93c69c",
1393     "type": "execute",
1394     "name": "split evpn_erts",
1395     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.evpn_erts.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.evpn_erts\"/>\n",
1396     "comments": "",
1397     "outputs": 1,
1398     "x": 2919.031005859375,
1399     "y": 1211.0468463897705,
1400     "z": "1d7d5b1a.5d6895",
1401     "wires": [
1402       [
1403         "2406f85.66f9d08",
1404         "5ea7c0a.461a54"
1405       ]
1406     ]
1407   },
1408   {
1409     "id": "5ea7c0a.461a54",
1410     "type": "failure",
1411     "name": "success",
1412     "xml": "<outcome value='success'>\n",
1413     "comments": "",
1414     "outputs": 1,
1415     "x": 3136.031005859375,
1416     "y": 1137.0468463897705,
1417     "z": "1d7d5b1a.5d6895",
1418     "wires": [
1419       [
1420         "29bb0627.190dea"
1421       ]
1422     ]
1423   },
1424   {
1425     "id": "2406f85.66f9d08",
1426     "type": "failure",
1427     "name": "failure",
1428     "xml": "<outcome value='failure'>\n",
1429     "comments": "",
1430     "outputs": 1,
1431     "x": 3137.031005859375,
1432     "y": 1203.0468463897705,
1433     "z": "1d7d5b1a.5d6895",
1434     "wires": [
1435       [
1436         "f9b95a01.7c2878"
1437       ]
1438     ]
1439   },
1440   {
1441     "id": "f9b95a01.7c2878",
1442     "type": "returnFailure",
1443     "name": "return failure",
1444     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1445     "comments": "",
1446     "x": 3318.031005859375,
1447     "y": 1201.0468463897705,
1448     "z": "1d7d5b1a.5d6895",
1449     "wires": []
1450   },
1451   {
1452     "id": "3e0e3570.15512a",
1453     "type": "for",
1454     "name": "for each evpn_irts",
1455     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
1456     "comments": "",
1457     "outputs": 1,
1458     "x": 3342.0311698913574,
1459     "y": 994.0468559265137,
1460     "z": "1d7d5b1a.5d6895",
1461     "wires": [
1462       [
1463         "9a59b84a.ecec98"
1464       ]
1465     ]
1466   },
1467   {
1468     "id": "9a59b84a.ecec98",
1469     "type": "set",
1470     "name": "set evpn_irt",
1471     "xml": "<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
1472     "comments": "",
1473     "x": 3554.0316619873047,
1474     "y": 994.0470085144043,
1475     "z": "1d7d5b1a.5d6895",
1476     "wires": []
1477   },
1478   {
1479     "id": "29bb0627.190dea",
1480     "type": "for",
1481     "name": "for each evpn_erts",
1482     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
1483     "comments": "",
1484     "outputs": 1,
1485     "x": 3335.531005859375,
1486     "y": 1133.0468463897705,
1487     "z": "1d7d5b1a.5d6895",
1488     "wires": [
1489       [
1490         "d32d9c80.701b4"
1491       ]
1492     ]
1493   },
1494   {
1495     "id": "d32d9c80.701b4",
1496     "type": "set",
1497     "name": "set evpn_ert",
1498     "xml": "<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
1499     "comments": "",
1500     "x": 3547.5314979553223,
1501     "y": 1133.0469989776611,
1502     "z": "1d7d5b1a.5d6895",
1503     "wires": []
1504   },
1505   {
1506     "id": "76d6f69c.e0f7a8",
1507     "type": "block",
1508     "name": "block setEvpnIrts",
1509     "xml": "<block atomic=\"true\">\n",
1510     "atomic": "false",
1511     "comments": "",
1512     "outputs": 1,
1513     "x": 2647.531005859375,
1514     "y": 1065.5468158721924,
1515     "z": "1d7d5b1a.5d6895",
1516     "wires": [
1517       [
1518         "232c8152.10922e",
1519         "60735ad6.75f224"
1520       ]
1521     ]
1522   },
1523   {
1524     "id": "fe22f97a.e156b8",
1525     "type": "block",
1526     "name": "block setEvpnErts",
1527     "xml": "<block atomic=\"true\">\n",
1528     "atomic": "false",
1529     "comments": "",
1530     "outputs": 1,
1531     "x": 2641.0308990478516,
1532     "y": 1121.0469036102295,
1533     "z": "1d7d5b1a.5d6895",
1534     "wires": [
1535       [
1536         "2d50095d.e93056",
1537         "5512a241.93c69c"
1538       ]
1539     ]
1540   },
1541   {
1542     "id": "cb8f4f81.03f6",
1543     "type": "execute",
1544     "name": "execute generate-overlay-network-id",
1545     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.dci.network-id\"/>\n",
1546     "comments": "",
1547     "outputs": 1,
1548     "x": 1452.6979598999023,
1549     "y": 1601.3646783828735,
1550     "z": "1d7d5b1a.5d6895",
1551     "wires": [
1552       []
1553     ]
1554   },
1555   {
1556     "id": "b671a31f.ca73a",
1557     "type": "switchNode",
1558     "name": "switch service-data.networks_length",
1559     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
1560     "comments": "",
1561     "outputs": 1,
1562     "x": 1444.6979751586914,
1563     "y": 1671.3646847009659,
1564     "z": "1d7d5b1a.5d6895",
1565     "wires": [
1566       [
1567         "ac48e882.8e5458",
1568         "bc7b8c68.e23fc"
1569       ]
1570     ]
1571   },
1572   {
1573     "id": "ac48e882.8e5458",
1574     "type": "other",
1575     "name": "Null",
1576     "xml": "<outcome value=''>\n",
1577     "comments": "",
1578     "outputs": 1,
1579     "x": 1718.5075454711914,
1580     "y": 1640.3170772790909,
1581     "z": "1d7d5b1a.5d6895",
1582     "wires": [
1583       [
1584         "e844e350.99df9"
1585       ]
1586     ]
1587   },
1588   {
1589     "id": "bc7b8c68.e23fc",
1590     "type": "other",
1591     "name": "other",
1592     "xml": "<outcome value='Other'>\n",
1593     "comments": "",
1594     "outputs": 1,
1595     "x": 1713.3647232055664,
1596     "y": 1686.0313717126846,
1597     "z": "1d7d5b1a.5d6895",
1598     "wires": [
1599       [
1600         "1eb190aa.78173f"
1601       ]
1602     ]
1603   },
1604   {
1605     "id": "e844e350.99df9",
1606     "type": "set",
1607     "name": "set nidx",
1608     "xml": "<set>\n<parameter name='nidx' value='0' />\n",
1609     "comments": "",
1610     "x": 1871.5075454711914,
1611     "y": 1639.8884884119034,
1612     "z": "1d7d5b1a.5d6895",
1613     "wires": []
1614   },
1615   {
1616     "id": "1eb190aa.78173f",
1617     "type": "set",
1618     "name": "set nidx",
1619     "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
1620     "comments": "",
1621     "x": 1872.936134338379,
1622     "y": 1684.8885494470596,
1623     "z": "1d7d5b1a.5d6895",
1624     "wires": []
1625   },
1626   {
1627     "id": "55222dc2.e57ec4",
1628     "type": "set",
1629     "name": "set network in service-data",
1630     "xml": "<set>\n<parameter name=\"service-data.networks.network[$nidx].network-id\" value='`$prop.dci.network-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.' value='`$network-topology-operation-input.network-request-input.`' />\n<parameter name=\"service-data.networks.network_length\" value='`$nidx+1`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n\n\n",
1631     "comments": "",
1632     "x": 1416.6979598999023,
1633     "y": 1743.3646869659424,
1634     "z": "1d7d5b1a.5d6895",
1635     "wires": []
1636   },
1637   {
1638     "id": "d35fd906.7c7fe8",
1639     "type": "block",
1640     "name": "block : saveNetworkData",
1641     "xml": "<block atomic=\"true\">",
1642     "atomic": "true",
1643     "comments": "",
1644     "outputs": 1,
1645     "x": 1113.0312118530273,
1646     "y": 1582.6978778839111,
1647     "z": "1d7d5b1a.5d6895",
1648     "wires": [
1649       [
1650         "cb8f4f81.03f6",
1651         "b671a31f.ca73a",
1652         "55222dc2.e57ec4",
1653         "a89a8da5.fdcdb"
1654       ]
1655     ]
1656   },
1657   {
1658     "id": "a89a8da5.fdcdb",
1659     "type": "set",
1660     "name": "set networkId and network-object-path",
1661     "xml": "<set>\n<parameter name='networkId' value='`$prop.dci.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.dci.network-id  + '/network-data/'` \" />",
1662     "comments": "",
1663     "x": 1449.0312118530273,
1664     "y": 1813.0312519073486,
1665     "z": "1d7d5b1a.5d6895",
1666     "wires": []
1667   },
1668   {
1669     "id": "5d6b118.552a3f",
1670     "type": "record",
1671     "name": "record",
1672     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"dci-network-topology-operation-activate\"/>\n<parameter name=\"field3\" value=\"dci-connects.name\"/>\n<parameter name=\"field4\" value=\"`$prop.dci-connects.name`\" />\n<parameter name=\"field5\" value=\"dci-connects.id\"/>\n<parameter name=\"field6\" value=\"`$prop.dci-connects.id`\"/>\n<parameter name=\"field7\" value=\"dci-connects.tunnelType\" />\n<parameter name=\"field8\" value=\"`$prop.dci-connects.tunnelType`\"/>\n<parameter name=\"field9\" value=\"sdncRestApi.thirdpartySdnc.url\"/>\n<parameter name=\"field10\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url`\"/>",
1673     "comments": "",
1674     "outputs": 1,
1675     "x": 1622.364990234375,
1676     "y": 1392.697998046875,
1677     "z": "1d7d5b1a.5d6895",
1678     "wires": [
1679       []
1680     ]
1681   },
1682   {
1683     "id": "228b648e.7d106c",
1684     "type": "comment",
1685     "name": "TODO",
1686     "info": "Currently activate is done without assignment, later divide in two phases.",
1687     "comments": "",
1688     "x": 1408.0312118530273,
1689     "y": 75.69791603088379,
1690     "z": "1d7d5b1a.5d6895",
1691     "wires": []
1692   },
1693   {
1694     "id": "38aff846.dc0b98",
1695     "type": "block",
1696     "name": "block setLocalNetworks",
1697     "xml": "<block atomic=\"true\">\n",
1698     "atomic": "false",
1699     "comments": "",
1700     "outputs": 1,
1701     "x": 2630.531280517578,
1702     "y": 945.03125,
1703     "z": "1d7d5b1a.5d6895",
1704     "wires": [
1705       [
1706         "d37b497d.93d8f8",
1707         "d298e6ac.258b68"
1708       ]
1709     ]
1710   },
1711   {
1712     "id": "d37b497d.93d8f8",
1713     "type": "set",
1714     "name": "set local_networks",
1715     "xml": "<set>\n<parameter name='tmp.dci-connects.local_networks.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1716     "comments": "",
1717     "x": 2833.531280517578,
1718     "y": 880.03125,
1719     "z": "1d7d5b1a.5d6895",
1720     "wires": []
1721   },
1722   {
1723     "id": "d298e6ac.258b68",
1724     "type": "execute",
1725     "name": "split local_networks",
1726     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.local_networks.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.local_networks\"/>\n",
1727     "comments": "",
1728     "outputs": 1,
1729     "x": 2862.531280517578,
1730     "y": 932.03125,
1731     "z": "1d7d5b1a.5d6895",
1732     "wires": [
1733       [
1734         "eff34a17.4d5f68",
1735         "a2b7dcb4.f7dfe"
1736       ]
1737     ]
1738   },
1739   {
1740     "id": "eff34a17.4d5f68",
1741     "type": "failure",
1742     "name": "success",
1743     "xml": "<outcome value='success'>\n",
1744     "comments": "",
1745     "outputs": 1,
1746     "x": 3059.531280517578,
1747     "y": 867.03125,
1748     "z": "1d7d5b1a.5d6895",
1749     "wires": [
1750       [
1751         "f3612128.8fa1"
1752       ]
1753     ]
1754   },
1755   {
1756     "id": "a2b7dcb4.f7dfe",
1757     "type": "failure",
1758     "name": "failure",
1759     "xml": "<outcome value='failure'>\n",
1760     "comments": "",
1761     "outputs": 1,
1762     "x": 3060.531280517578,
1763     "y": 933.03125,
1764     "z": "1d7d5b1a.5d6895",
1765     "wires": [
1766       [
1767         "8c6ffd32.2208f"
1768       ]
1769     ]
1770   },
1771   {
1772     "id": "8c6ffd32.2208f",
1773     "type": "returnFailure",
1774     "name": "return failure",
1775     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1776     "comments": "",
1777     "x": 3241.531280517578,
1778     "y": 931.03125,
1779     "z": "1d7d5b1a.5d6895",
1780     "wires": []
1781   },
1782   {
1783     "id": "f3612128.8fa1",
1784     "type": "for",
1785     "name": "for each local_networks",
1786     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.local_networks_length`' >\n\n",
1787     "comments": "",
1788     "outputs": 1,
1789     "x": 3262.0314445495605,
1790     "y": 866.5312900543213,
1791     "z": "1d7d5b1a.5d6895",
1792     "wires": [
1793       [
1794         "654fc20b.a1919c"
1795       ]
1796     ]
1797   },
1798   {
1799     "id": "654fc20b.a1919c",
1800     "type": "get-resource",
1801     "name": "get-resource l3-network",
1802     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $tmp.dci-connects.local_networks[$idx] AND \n\t\t     depth = '0'\"\n        pfx='tmp.aai.l3-network' local-only='false' >\n",
1803     "comments": "",
1804     "outputs": 1,
1805     "x": 3534.531280517578,
1806     "y": 865.03125,
1807     "z": "1d7d5b1a.5d6895",
1808     "wires": [
1809       [
1810         "e570a32e.5f1c",
1811         "bdb2f778.6e3618",
1812         "bc031e42.eeb7c"
1813       ]
1814     ]
1815   },
1816   {
1817     "id": "e570a32e.5f1c",
1818     "type": "success",
1819     "name": "success",
1820     "xml": "<outcome value='success'>\n",
1821     "comments": "",
1822     "outputs": 1,
1823     "x": 3753.3003997802734,
1824     "y": 825.7234847545624,
1825     "z": "1d7d5b1a.5d6895",
1826     "wires": [
1827       [
1828         "c951297e.06f838"
1829       ]
1830     ]
1831   },
1832   {
1833     "id": "bdb2f778.6e3618",
1834     "type": "not-found",
1835     "name": "not-found",
1836     "xml": "<outcome value='not-found'>\n",
1837     "comments": "",
1838     "outputs": 1,
1839     "x": 3760.3003997802734,
1840     "y": 863.7234847545624,
1841     "z": "1d7d5b1a.5d6895",
1842     "wires": [
1843       [
1844         "37619.408049e7c"
1845       ]
1846     ]
1847   },
1848   {
1849     "id": "bc031e42.eeb7c",
1850     "type": "other",
1851     "name": "other",
1852     "xml": "<outcome value='Other'>\n",
1853     "comments": "",
1854     "outputs": 1,
1855     "x": 3752.3003997802734,
1856     "y": 905.7234847545624,
1857     "z": "1d7d5b1a.5d6895",
1858     "wires": [
1859       [
1860         "8357d17d.030af"
1861       ]
1862     ]
1863   },
1864   {
1865     "id": "37619.408049e7c",
1866     "type": "returnFailure",
1867     "name": "return failure",
1868     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1869     "comments": "",
1870     "x": 3917.3003997802734,
1871     "y": 867.7234847545624,
1872     "z": "1d7d5b1a.5d6895",
1873     "wires": []
1874   },
1875   {
1876     "id": "8357d17d.030af",
1877     "type": "returnFailure",
1878     "name": "return failure",
1879     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1880     "comments": "",
1881     "x": 3910.3003997802734,
1882     "y": 914.7234847545624,
1883     "z": "1d7d5b1a.5d6895",
1884     "wires": []
1885   },
1886   {
1887     "id": "c951297e.06f838",
1888     "type": "set",
1889     "name": "set network-id",
1890     "xml": "<set>\n<parameter name='prop.dci-connects.local_networks[$idx]' value=\"`$tmp.aai.l3-network.network-id`\" />\n",
1891     "comments": "",
1892     "x": 3927.8003311157227,
1893     "y": 822.2234649658203,
1894     "z": "1d7d5b1a.5d6895",
1895     "wires": []
1896   },
1897   {
1898     "id": "80e65684.a81798",
1899     "type": "save",
1900     "name": "save overlay configuration in AAI",
1901     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration' \n      key='configuration.configuration-id = $prop.dci.network-id' >\n<parameter name='configuration-id' value='`$prop.dci.network-id`' />\n<parameter name='configuration-type' value='overlay' />\n<parameter name='orchestration-status' value='Created' />\n<parameter name='configuration-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.dci.network-id  + '/network-data/'` \" />\n",
1902     "comments": "",
1903     "outputs": 1,
1904     "x": 912.53125,
1905     "y": 1019.03125,
1906     "z": "1d7d5b1a.5d6895",
1907     "wires": [
1908       []
1909     ]
1910   },
1911   {
1912     "id": "44b13ee0.f42ab",
1913     "type": "save",
1914     "name": "save service relationship in AAI",
1915     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $service-data.service-information.service-id' >\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"configuration\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"/network/configurations/configuration\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"configuration.configuration-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.dci.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"configuration.configuration-type\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"overlay\" />",
1916     "comments": "",
1917     "outputs": 1,
1918     "x": 870.5312805175781,
1919     "y": 1098.03125,
1920     "z": "1d7d5b1a.5d6895",
1921     "wires": [
1922       []
1923     ]
1924   },
1925   {
1926     "id": "2e41bbcc.a6d6e4",
1927     "type": "block",
1928     "name": "block setLocalNetworks",
1929     "xml": "<block atomic=\"true\">\n",
1930     "atomic": "false",
1931     "comments": "",
1932     "outputs": 1,
1933     "x": 2661.03125,
1934     "y": 352.03125,
1935     "z": "1d7d5b1a.5d6895",
1936     "wires": [
1937       [
1938         "636f0708.977f58",
1939         "af56db03.32d938"
1940       ]
1941     ]
1942   },
1943   {
1944     "id": "636f0708.977f58",
1945     "type": "set",
1946     "name": "set local_networks",
1947     "xml": "<set>\n<parameter name='tmp.dci-connects.local_networks.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1948     "comments": "",
1949     "x": 2864.03125,
1950     "y": 287.03125,
1951     "z": "1d7d5b1a.5d6895",
1952     "wires": []
1953   },
1954   {
1955     "id": "af56db03.32d938",
1956     "type": "execute",
1957     "name": "split local_networks",
1958     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.local_networks.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.local_networks\"/>\n",
1959     "comments": "",
1960     "outputs": 1,
1961     "x": 2893.03125,
1962     "y": 339.03125,
1963     "z": "1d7d5b1a.5d6895",
1964     "wires": [
1965       [
1966         "39e07dec.1621b2",
1967         "91074007.ecd89"
1968       ]
1969     ]
1970   },
1971   {
1972     "id": "39e07dec.1621b2",
1973     "type": "failure",
1974     "name": "success",
1975     "xml": "<outcome value='success'>\n",
1976     "comments": "",
1977     "outputs": 1,
1978     "x": 3090.03125,
1979     "y": 274.03125,
1980     "z": "1d7d5b1a.5d6895",
1981     "wires": [
1982       [
1983         "cb051330.3cb5b"
1984       ]
1985     ]
1986   },
1987   {
1988     "id": "91074007.ecd89",
1989     "type": "failure",
1990     "name": "failure",
1991     "xml": "<outcome value='failure'>\n",
1992     "comments": "",
1993     "outputs": 1,
1994     "x": 3091.03125,
1995     "y": 340.03125,
1996     "z": "1d7d5b1a.5d6895",
1997     "wires": [
1998       [
1999         "573f8606.d6b8a8"
2000       ]
2001     ]
2002   },
2003   {
2004     "id": "573f8606.d6b8a8",
2005     "type": "returnFailure",
2006     "name": "return failure",
2007     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
2008     "comments": "",
2009     "x": 3272.03125,
2010     "y": 338.03125,
2011     "z": "1d7d5b1a.5d6895",
2012     "wires": []
2013   },
2014   {
2015     "id": "cb051330.3cb5b",
2016     "type": "for",
2017     "name": "for each local_networks",
2018     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.local_networks_length`' >\n\n",
2019     "comments": "",
2020     "outputs": 1,
2021     "x": 3292.5314140319824,
2022     "y": 273.5312900543213,
2023     "z": "1d7d5b1a.5d6895",
2024     "wires": [
2025       [
2026         "99742942.c53d08"
2027       ]
2028     ]
2029   },
2030   {
2031     "id": "99742942.c53d08",
2032     "type": "get-resource",
2033     "name": "get-resource l3-network",
2034     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $tmp.dci-connects.local_networks[$idx] AND \n\t\t     depth = '0'\"\n        pfx='tmp.aai.l3-network' local-only='false' >\n",
2035     "comments": "",
2036     "outputs": 1,
2037     "x": 3565.03125,
2038     "y": 272.03125,
2039     "z": "1d7d5b1a.5d6895",
2040     "wires": [
2041       [
2042         "ce35f358.6f76e",
2043         "8d00520d.551d5",
2044         "2e5108cc.272428"
2045       ]
2046     ]
2047   },
2048   {
2049     "id": "2e5108cc.272428",
2050     "type": "other",
2051     "name": "other",
2052     "xml": "<outcome value='Other'>\n",
2053     "comments": "",
2054     "outputs": 1,
2055     "x": 3782.8003692626953,
2056     "y": 312.7234847545624,
2057     "z": "1d7d5b1a.5d6895",
2058     "wires": [
2059       [
2060         "dcf88a18.567f48"
2061       ]
2062     ]
2063   },
2064   {
2065     "id": "8d00520d.551d5",
2066     "type": "not-found",
2067     "name": "not-found",
2068     "xml": "<outcome value='not-found'>\n",
2069     "comments": "",
2070     "outputs": 1,
2071     "x": 3790.8003692626953,
2072     "y": 270.7234847545624,
2073     "z": "1d7d5b1a.5d6895",
2074     "wires": [
2075       [
2076         "2d45b755.c2efb8"
2077       ]
2078     ]
2079   },
2080   {
2081     "id": "ce35f358.6f76e",
2082     "type": "success",
2083     "name": "success",
2084     "xml": "<outcome value='success'>\n",
2085     "comments": "",
2086     "outputs": 1,
2087     "x": 3783.8003692626953,
2088     "y": 232.72348475456238,
2089     "z": "1d7d5b1a.5d6895",
2090     "wires": [
2091       [
2092         "5eecb2c5.b15a1c"
2093       ]
2094     ]
2095   },
2096   {
2097     "id": "5eecb2c5.b15a1c",
2098     "type": "set",
2099     "name": "set network-id",
2100     "xml": "<set>\n<parameter name='prop.dci-connects.local_networks[$idx]' value=\"`$tmp.aai.l3-network.network-id`\" />\n",
2101     "comments": "",
2102     "x": 3958.3003005981445,
2103     "y": 229.2234649658203,
2104     "z": "1d7d5b1a.5d6895",
2105     "wires": []
2106   },
2107   {
2108     "id": "2d45b755.c2efb8",
2109     "type": "returnFailure",
2110     "name": "return failure",
2111     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
2112     "comments": "",
2113     "x": 3947.8003692626953,
2114     "y": 274.7234847545624,
2115     "z": "1d7d5b1a.5d6895",
2116     "wires": []
2117   },
2118   {
2119     "id": "dcf88a18.567f48",
2120     "type": "returnFailure",
2121     "name": "return failure",
2122     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
2123     "comments": "",
2124     "x": 3940.8003692626953,
2125     "y": 321.7234847545624,
2126     "z": "1d7d5b1a.5d6895",
2127     "wires": []
2128   },
2129   {
2130     "id": "6c39ea0c.ba0e9c",
2131     "type": "execute",
2132     "name": "execute Properties",
2133     "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",
2134     "comments": "",
2135     "outputs": 1,
2136     "x": 1646,
2137     "y": 1323,
2138     "z": "1d7d5b1a.5d6895",
2139     "wires": [
2140       []
2141     ]
2142   },
2143   {
2144     "id": "1fbe5a07.98eb36",
2145     "type": "execute",
2146     "name": "execute RestApiCallNode Get token",
2147     "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\"/>",
2148     "comments": "",
2149     "outputs": 1,
2150     "x": 1910,
2151     "y": 1421,
2152     "z": "1d7d5b1a.5d6895",
2153     "wires": [
2154       [
2155         "ecc5245d.ffca28",
2156         "6e7f216c.19692"
2157       ]
2158     ]
2159   },
2160   {
2161     "id": "ecc5245d.ffca28",
2162     "type": "success",
2163     "name": "success",
2164     "xml": "<outcome value='success'>\n",
2165     "comments": "",
2166     "outputs": 1,
2167     "x": 2150,
2168     "y": 1384,
2169     "z": "1d7d5b1a.5d6895",
2170     "wires": [
2171       [
2172         "952d3488.c107a8"
2173       ]
2174     ]
2175   },
2176   {
2177     "id": "6e7f216c.19692",
2178     "type": "failure",
2179     "name": "failure",
2180     "xml": "<outcome value='failure'>\n",
2181     "comments": "",
2182     "outputs": 1,
2183     "x": 2157.25,
2184     "y": 1450.6428833007812,
2185     "z": "1d7d5b1a.5d6895",
2186     "wires": [
2187       [
2188         "323acdac.d34ffa"
2189       ]
2190     ]
2191   },
2192   {
2193     "id": "323acdac.d34ffa",
2194     "type": "returnFailure",
2195     "name": "return failure",
2196     "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",
2197     "comments": "",
2198     "x": 2338,
2199     "y": 1449.3929443359375,
2200     "z": "1d7d5b1a.5d6895",
2201     "wires": []
2202   },
2203   {
2204     "id": "952d3488.c107a8",
2205     "type": "set",
2206     "name": "set token-id",
2207     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.token_id' />\n",
2208     "comments": "",
2209     "x": 2335,
2210     "y": 1381,
2211     "z": "1d7d5b1a.5d6895",
2212     "wires": []
2213   }
2214 ]