Merge "Fix for overlay DGs."
[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":"d9348659.3343f8",
4     "type":"dgstart",
5     "name":"DGSTART",
6     "outputs":1,
7     "x":123.47356414794922,
8     "y":36.92307662963867,
9     "z":"14477aa.fad1e85",
10     "wires":[
11       [
12         "91511e7d.e1436"
13       ]
14     ]
15   },
16   {
17     "id":"91511e7d.e1436",
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":339.9735641479492,
26     "y":99.42307662963867,
27     "z":"14477aa.fad1e85",
28     "wires":[
29       [
30         "fb35fe83.68171"
31       ]
32     ]
33   },
34   {
35     "id":"fb35fe83.68171",
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":247.97359466552734,
42     "y":194.4230613708496,
43     "z":"14477aa.fad1e85",
44     "wires":[
45       [
46         "85134fc3.6a4b9"
47       ]
48     ]
49   },
50   {
51     "id":"85134fc3.6a4b9",
52     "type":"block",
53     "name":"block : atomic",
54     "xml":"<block atomic=\"true\">",
55     "atomic":"true",
56     "outputs":1,
57     "x":545.8069076538086,
58     "y":202.25640487670898,
59     "z":"14477aa.fad1e85",
60     "wires":[
61       [
62         "72cde0ff.31704",
63         "590c7c68.1d2104",
64         "550a9d72.337fb4"
65       ]
66     ]
67   },
68   {
69     "id":"590c7c68.1d2104",
70     "type":"call",
71     "name":"call GENERIC-RESOURCE-API:validate-network-input-parameters",
72     "xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
73     "comments":"",
74     "outputs":1,
75     "x":935.8069076538086,
76     "y":67.25640487670898,
77     "z":"14477aa.fad1e85",
78     "wires":[
79       [
80
81       ]
82     ]
83   },
84   {
85     "id":"7588d34b.da832c",
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":1453.8071975708008,
92     "y":340.25646567344666,
93     "z":"14477aa.fad1e85",
94     "wires":[
95       [
96         "40d47fba.cda58"
97       ]
98     ]
99   },
100   {
101     "id":"40d47fba.cda58",
102     "type":"block",
103     "name":"block",
104     "xml":"<block>\n",
105     "atomic":"false",
106     "comments":"",
107     "outputs":1,
108     "x":1700.8071060180664,
109     "y":338.25643515586853,
110     "z":"14477aa.fad1e85",
111     "wires":[
112       [
113         "e1df1ae9.cf85b8",
114         "4928a2f4.8183ac",
115         "aa1e7021.923d4",
116         "b5b55974.4394b8",
117         "c1b8667e.1e3be8",
118         "486715ba.35901c",
119         "bfa187c0.0fb398",
120         "32183c6e.e30e04",
121         "61d1802d.1434"
122       ]
123     ]
124   },
125   {
126     "id":"e1df1ae9.cf85b8",
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":2187.8074645996094,
133     "y":214.2565517425537,
134     "z":"14477aa.fad1e85",
135     "wires":[
136       [
137         "df29b873.dc0368"
138       ]
139     ]
140   },
141   {
142     "id":"4928a2f4.8183ac",
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":2215.8074645996094,
149     "y":268.25653743743896,
150     "z":"14477aa.fad1e85",
151     "wires":[
152       [
153         "66a6f423.f8cf2c"
154       ]
155     ]
156   },
157   {
158     "id":"aa1e7021.923d4",
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":2204.8072509765625,
165     "y":399.2564973831177,
166     "z":"14477aa.fad1e85",
167     "wires":[
168       [
169         "f862419f.5a38e"
170       ]
171     ]
172   },
173   {
174     "id":"b5b55974.4394b8",
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":2213.092987060547,
181     "y":460.54225063323975,
182     "z":"14477aa.fad1e85",
183     "wires":[
184       [
185         "d69adf7d.fdb4a"
186       ]
187     ]
188   },
189   {
190     "id":"c1b8667e.1e3be8",
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":2214.093048095703,
197     "y":524.5422214269638,
198     "z":"14477aa.fad1e85",
199     "wires":[
200       [
201         "83c8cb3e.493888"
202       ]
203     ]
204   },
205   {
206     "id":"486715ba.35901c",
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":2185.093017578125,
213     "y":587.5422534942627,
214     "z":"14477aa.fad1e85",
215     "wires":[
216       [
217         "9741b81e.e77848"
218       ]
219     ]
220   },
221   {
222     "id":"df29b873.dc0368",
223     "type":"outcomeTrue",
224     "name":"true",
225     "xml":"<outcome value='true'>\n",
226     "comments":"",
227     "outputs":1,
228     "x":2402.8074645996094,
229     "y":213.2565517425537,
230     "z":"14477aa.fad1e85",
231     "wires":[
232       [
233         "2e6a3378.2c236c"
234       ]
235     ]
236   },
237   {
238     "id":"66a6f423.f8cf2c",
239     "type":"outcomeTrue",
240     "name":"true",
241     "xml":"<outcome value='true'>\n",
242     "comments":"",
243     "outputs":1,
244     "x":2413.8074645996094,
245     "y":268.25653743743896,
246     "z":"14477aa.fad1e85",
247     "wires":[
248       [
249         "1b94cf95.06452"
250       ]
251     ]
252   },
253   {
254     "id":"f862419f.5a38e",
255     "type":"outcomeTrue",
256     "name":"true",
257     "xml":"<outcome value='true'>\n",
258     "comments":"",
259     "outputs":1,
260     "x":2409.8072509765625,
261     "y":398.2564973831177,
262     "z":"14477aa.fad1e85",
263     "wires":[
264       [
265         "20e3f8cc.02b6f8"
266       ]
267     ]
268   },
269   {
270     "id":"d69adf7d.fdb4a",
271     "type":"outcomeTrue",
272     "name":"true",
273     "xml":"<outcome value='true'>\n",
274     "comments":"",
275     "outputs":1,
276     "x":2415.092987060547,
277     "y":459.54225063323975,
278     "z":"14477aa.fad1e85",
279     "wires":[
280       [
281         "4dceded7.35703"
282       ]
283     ]
284   },
285   {
286     "id":"83c8cb3e.493888",
287     "type":"outcomeTrue",
288     "name":"true",
289     "xml":"<outcome value='true'>\n",
290     "comments":"",
291     "outputs":1,
292     "x":2410.093048095703,
293     "y":521.5422214269638,
294     "z":"14477aa.fad1e85",
295     "wires":[
296       [
297         "b28306b0.c9d2a8"
298       ]
299     ]
300   },
301   {
302     "id":"9741b81e.e77848",
303     "type":"outcomeTrue",
304     "name":"true",
305     "xml":"<outcome value='true'>\n",
306     "comments":"",
307     "outputs":1,
308     "x":2391.093017578125,
309     "y":587.5422534942627,
310     "z":"14477aa.fad1e85",
311     "wires":[
312       [
313         "12fa2bd9.b56374"
314       ]
315     ]
316   },
317   {
318     "id":"1b94cf95.06452",
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":2595.8074645996094,
324     "y":261.25653743743896,
325     "z":"14477aa.fad1e85",
326     "wires":[
327
328     ]
329   },
330   {
331     "id":"20e3f8cc.02b6f8",
332     "type":"set",
333     "name":"set router_id",
334     "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",
335     "comments":"",
336     "x":2600.807472229004,
337     "y":391.25658416748047,
338     "z":"14477aa.fad1e85",
339     "wires":[
340
341     ]
342   },
343   {
344     "id":"12fa2bd9.b56374",
345     "type":"set",
346     "name":"set vni",
347     "xml":"<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
348     "comments":"",
349     "x":2561.093017578125,
350     "y":579.5422534942627,
351     "z":"14477aa.fad1e85",
352     "wires":[
353
354     ]
355   },
356   {
357     "id":"72cde0ff.31704",
358     "type":"returnSuccess",
359     "name":"return success",
360     "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",
361     "comments":"",
362     "x":768.0927352905273,
363     "y":1042.970775604248,
364     "z":"14477aa.fad1e85",
365     "wires":[
366
367     ]
368   },
369   {
370     "id":"bfa187c0.0fb398",
371     "type":"switchNode",
372     "name":"switch name",
373     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
374     "comments":"",
375     "outputs":1,
376     "x":2198.9739990234375,
377     "y":155.4231834411621,
378     "z":"14477aa.fad1e85",
379     "wires":[
380       [
381         "72ce5ab6.59c4f4"
382       ]
383     ]
384   },
385   {
386     "id":"72ce5ab6.59c4f4",
387     "type":"outcomeTrue",
388     "name":"true",
389     "xml":"<outcome value='true'>\n",
390     "comments":"",
391     "outputs":1,
392     "x":2396.9739990234375,
393     "y":155.4231834411621,
394     "z":"14477aa.fad1e85",
395     "wires":[
396       [
397         "94ddea4c.b90858"
398       ]
399     ]
400   },
401   {
402     "id":"94ddea4c.b90858",
403     "type":"set",
404     "name":"set name",
405     "xml":"<set>\n<parameter name='prop.dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
406     "comments":"",
407     "x":2578.9739990234375,
408     "y":148.4231834411621,
409     "z":"14477aa.fad1e85",
410     "wires":[
411
412     ]
413   },
414   {
415     "id":"32183c6e.e30e04",
416     "type":"switchNode",
417     "name":"switch networkName",
418     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_networkName'`\">\n",
419     "comments":"",
420     "outputs":1,
421     "x":2222.4737854003906,
422     "y":334.4231233596802,
423     "z":"14477aa.fad1e85",
424     "wires":[
425       [
426         "cbd34ee3.99a0d"
427       ]
428     ]
429   },
430   {
431     "id":"cbd34ee3.99a0d",
432     "type":"outcomeTrue",
433     "name":"true",
434     "xml":"<outcome value='true'>\n",
435     "comments":"",
436     "outputs":1,
437     "x":2420.4737854003906,
438     "y":334.4231233596802,
439     "z":"14477aa.fad1e85",
440     "wires":[
441       [
442
443       ]
444     ]
445   },
446   {
447     "id":"550a9d72.337fb4",
448     "type":"block",
449     "name":"block : execute",
450     "xml":"<block atomic=\"true\">",
451     "atomic":"true",
452     "comments":"",
453     "outputs":1,
454     "x":769.4734954833984,
455     "y":575.4231224060059,
456     "z":"14477aa.fad1e85",
457     "wires":[
458       [
459         "cfc7a47c.663e78",
460         "c5b9ee71.a7f1b",
461         "180ce8e1.cf4c47"
462       ]
463     ]
464   },
465   {
466     "id":"cfc7a47c.663e78",
467     "type":"block",
468     "name":"block : executeSite1",
469     "xml":"<block atomic=\"true\">",
470     "atomic":"true",
471     "comments":"",
472     "outputs":1,
473     "x":1061.9735565185547,
474     "y":399.92309856414795,
475     "z":"14477aa.fad1e85",
476     "wires":[
477       [
478         "7588d34b.da832c",
479         "28717d00.ee3742"
480       ]
481     ]
482   },
483   {
484     "id":"c5b9ee71.a7f1b",
485     "type":"block",
486     "name":"block : executeSite2",
487     "xml":"<block atomic=\"true\">",
488     "atomic":"true",
489     "comments":"",
490     "outputs":1,
491     "x":1078.9736022949219,
492     "y":915.9230813980103,
493     "z":"14477aa.fad1e85",
494     "wires":[
495       [
496         "fd35f4e6.c30318",
497         "28717d00.ee3742"
498       ]
499     ]
500   },
501   {
502     "id":"3cb8fe79.792382",
503     "type":"switchNode",
504     "name":"switch id",
505     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n",
506     "comments":"",
507     "outputs":1,
508     "x":2173.473808288574,
509     "y":734.9230155944824,
510     "z":"14477aa.fad1e85",
511     "wires":[
512       [
513         "95aba4ef.a6b348"
514       ]
515     ]
516   },
517   {
518     "id":"c3869697.ac74a8",
519     "type":"switchNode",
520     "name":"switch description",
521     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_description'`\">\n",
522     "comments":"",
523     "outputs":1,
524     "x":2197.4741592407227,
525     "y":793.9230222702026,
526     "z":"14477aa.fad1e85",
527     "wires":[
528       [
529         "87dd7ff6.4e946",
530         "6ebb06e1.0019e8"
531       ]
532     ]
533   },
534   {
535     "id":"28c024be.02b6cc",
536     "type":"switchNode",
537     "name":"switch routerId",
538     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n",
539     "comments":"",
540     "outputs":1,
541     "x":2206.47354888916,
542     "y":989.9229879379272,
543     "z":"14477aa.fad1e85",
544     "wires":[
545       [
546         "c2a810a1.f17f8"
547       ]
548     ]
549   },
550   {
551     "id":"4596e3bf.5dc28c",
552     "type":"switchNode",
553     "name":"switch importRT1",
554     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n",
555     "comments":"",
556     "outputs":1,
557     "x":2214.7592849731445,
558     "y":1051.2087411880493,
559     "z":"14477aa.fad1e85",
560     "wires":[
561       [
562         "4dd4172.45198e8"
563       ]
564     ]
565   },
566   {
567     "id":"e37ecd89.2308f",
568     "type":"switchNode",
569     "name":"switch exportRT1",
570     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_exportRT1'`\">\n",
571     "comments":"",
572     "outputs":1,
573     "x":2215.759346008301,
574     "y":1115.2087119817734,
575     "z":"14477aa.fad1e85",
576     "wires":[
577       [
578         "562841d1.af6df"
579       ]
580     ]
581   },
582   {
583     "id":"300b1c9.4943ee4",
584     "type":"switchNode",
585     "name":"switch vni",
586     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n",
587     "comments":"",
588     "outputs":1,
589     "x":2186.7593154907227,
590     "y":1178.2087440490723,
591     "z":"14477aa.fad1e85",
592     "wires":[
593       [
594         "ea952cf3.d5472"
595       ]
596     ]
597   },
598   {
599     "id":"95aba4ef.a6b348",
600     "type":"outcomeTrue",
601     "name":"true",
602     "xml":"<outcome value='true'>\n",
603     "comments":"",
604     "outputs":1,
605     "x":2388.473808288574,
606     "y":733.9230155944824,
607     "z":"14477aa.fad1e85",
608     "wires":[
609       [
610         "278a044f.dd078c"
611       ]
612     ]
613   },
614   {
615     "id":"87dd7ff6.4e946",
616     "type":"outcomeTrue",
617     "name":"true",
618     "xml":"<outcome value='true'>\n",
619     "comments":"",
620     "outputs":1,
621     "x":2395.4741592407227,
622     "y":793.9230222702026,
623     "z":"14477aa.fad1e85",
624     "wires":[
625       [
626         "93ea2de.e8ac8d"
627       ]
628     ]
629   },
630   {
631     "id":"c2a810a1.f17f8",
632     "type":"outcomeTrue",
633     "name":"true",
634     "xml":"<outcome value='true'>\n",
635     "comments":"",
636     "outputs":1,
637     "x":2411.47354888916,
638     "y":988.9229879379272,
639     "z":"14477aa.fad1e85",
640     "wires":[
641       [
642         "85948504.e0e5e8"
643       ]
644     ]
645   },
646   {
647     "id":"4dd4172.45198e8",
648     "type":"outcomeTrue",
649     "name":"true",
650     "xml":"<outcome value='true'>\n",
651     "comments":"",
652     "outputs":1,
653     "x":2416.7592849731445,
654     "y":1050.2087411880493,
655     "z":"14477aa.fad1e85",
656     "wires":[
657       [
658         "36bb1ad6.f67656"
659       ]
660     ]
661   },
662   {
663     "id":"562841d1.af6df",
664     "type":"outcomeTrue",
665     "name":"true",
666     "xml":"<outcome value='true'>\n",
667     "comments":"",
668     "outputs":1,
669     "x":2411.759346008301,
670     "y":1112.2087119817734,
671     "z":"14477aa.fad1e85",
672     "wires":[
673       [
674         "6259b6ca.196658"
675       ]
676     ]
677   },
678   {
679     "id":"ea952cf3.d5472",
680     "type":"outcomeTrue",
681     "name":"true",
682     "xml":"<outcome value='true'>\n",
683     "comments":"",
684     "outputs":1,
685     "x":2392.7593154907227,
686     "y":1178.2087440490723,
687     "z":"14477aa.fad1e85",
688     "wires":[
689       [
690         "255616ab.de0f5a"
691       ]
692     ]
693   },
694   {
695     "id":"93ea2de.e8ac8d",
696     "type":"set",
697     "name":"set description",
698     "xml":"<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
699     "comments":"",
700     "x":2577.4741592407227,
701     "y":786.9230222702026,
702     "z":"14477aa.fad1e85",
703     "wires":[
704
705     ]
706   },
707   {
708     "id":"85948504.e0e5e8",
709     "type":"set",
710     "name":"set router_id",
711     "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",
712     "comments":"",
713     "x":2602.4737701416016,
714     "y":981.92307472229,
715     "z":"14477aa.fad1e85",
716     "wires":[
717
718     ]
719   },
720   {
721     "id":"255616ab.de0f5a",
722     "type":"set",
723     "name":"set vni",
724     "xml":"<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
725     "comments":"",
726     "x":2562.7593154907227,
727     "y":1170.2087440490723,
728     "z":"14477aa.fad1e85",
729     "wires":[
730
731     ]
732   },
733   {
734     "id":"61795685.f9f748",
735     "type":"switchNode",
736     "name":"switch networkName",
737     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n",
738     "comments":"",
739     "outputs":1,
740     "x":2224.1400833129883,
741     "y":925.0896139144897,
742     "z":"14477aa.fad1e85",
743     "wires":[
744       [
745         "9b9d32c5.d3d4"
746       ]
747     ]
748   },
749   {
750     "id":"9b9d32c5.d3d4",
751     "type":"outcomeTrue",
752     "name":"true",
753     "xml":"<outcome value='true'>\n",
754     "comments":"",
755     "outputs":1,
756     "x":2422.1400833129883,
757     "y":925.0896139144897,
758     "z":"14477aa.fad1e85",
759     "wires":[
760       [
761
762       ]
763     ]
764   },
765   {
766     "id":"6bade79.05bd618",
767     "type":"block",
768     "name":"block",
769     "xml":"<block>\n",
770     "atomic":"false",
771     "comments":"",
772     "outputs":1,
773     "x":1692.473258972168,
774     "y":856.9229733943939,
775     "z":"14477aa.fad1e85",
776     "wires":[
777       [
778         "3cb8fe79.792382",
779         "c3869697.ac74a8",
780         "28c024be.02b6cc",
781         "4596e3bf.5dc28c",
782         "e37ecd89.2308f",
783         "300b1c9.4943ee4",
784         "61795685.f9f748"
785       ]
786     ]
787   },
788   {
789     "id":"fd35f4e6.c30318",
790     "type":"for",
791     "name":"for each network-input-parameters",
792     "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
793     "comments":"",
794     "outputs":1,
795     "x":1445.4733505249023,
796     "y":858.923003911972,
797     "z":"14477aa.fad1e85",
798     "wires":[
799       [
800         "6bade79.05bd618"
801       ]
802     ]
803   },
804   {
805     "id":"2e6a3378.2c236c",
806     "type":"set",
807     "name":"set id",
808     "xml":"<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
809     "comments":"",
810     "x":2584.473846435547,
811     "y":206.9231014251709,
812     "z":"14477aa.fad1e85",
813     "wires":[
814
815     ]
816   },
817   {
818     "id":"61d1802d.1434",
819     "type":"switchNode",
820     "name":"switch tunnelType",
821     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n",
822     "comments":"",
823     "outputs":1,
824     "x":2203.973564147949,
825     "y":656.9230155944824,
826     "z":"14477aa.fad1e85",
827     "wires":[
828       [
829         "7f01268.d4291d8"
830       ]
831     ]
832   },
833   {
834     "id":"7f01268.d4291d8",
835     "type":"outcomeTrue",
836     "name":"true",
837     "xml":"<outcome value='true'>\n",
838     "comments":"",
839     "outputs":1,
840     "x":2409.973564147949,
841     "y":656.9230155944824,
842     "z":"14477aa.fad1e85",
843     "wires":[
844       [
845         "b055aa18.813ff8"
846       ]
847     ]
848   },
849   {
850     "id":"b055aa18.813ff8",
851     "type":"set",
852     "name":"set tunnelType",
853     "xml":"<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
854     "comments":"",
855     "x":2579.973564147949,
856     "y":648.9230155944824,
857     "z":"14477aa.fad1e85",
858     "wires":[
859
860     ]
861   },
862   {
863     "id":"28717d00.ee3742",
864     "type":"block",
865     "name":"block : sendRequest",
866     "xml":"<block atomic=\"true\">",
867     "atomic":"true",
868     "comments":"",
869     "outputs":1,
870     "x":1357.9735832214355,
871     "y":1416.4230213165283,
872     "z":"14477aa.fad1e85",
873     "wires":[
874       [
875         "ceb4bf57.f1644",
876         "143c42a.ea474bd",
877         "69d4f592.3b2f0c",
878         "282c5c4c.028af4"
879       ]
880     ]
881   },
882   {
883     "id":"f74530f5.a1018",
884     "type":"execute",
885     "name":"execute RestApiCallNode Activate Vxlan Tunnel",
886     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.sdncRestApi.tempDir +'/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",
887     "comments":"",
888     "outputs":1,
889     "x":2165.9738578796387,
890     "y":1479.4229764938354,
891     "z":"14477aa.fad1e85",
892     "wires":[
893       [
894
895       ]
896     ]
897   },
898   {
899     "id":"3efd235d.45b6ec",
900     "type":"success",
901     "name":"success",
902     "xml":"<outcome value='success'>\n",
903     "comments":"",
904     "outputs":1,
905     "x":1844.4735412597656,
906     "y":1187.4226081371307,
907     "z":"14477aa.fad1e85",
908     "wires":[
909       [
910         "e0432082.58761"
911       ]
912     ]
913   },
914   {
915     "id":"55a28fdf.38008",
916     "type":"not-found",
917     "name":"not-found",
918     "xml":"<outcome value='not-found'>\n",
919     "comments":"",
920     "outputs":1,
921     "x":1851.4735412597656,
922     "y":1225.4226081371307,
923     "z":"14477aa.fad1e85",
924     "wires":[
925       [
926         "2d85c47e.12b71c"
927       ]
928     ]
929   },
930   {
931     "id":"726e6abc.90c824",
932     "type":"other",
933     "name":"other",
934     "xml":"<outcome value='Other'>\n",
935     "comments":"",
936     "outputs":1,
937     "x":1843.4735412597656,
938     "y":1267.4226081371307,
939     "z":"14477aa.fad1e85",
940     "wires":[
941       [
942         "e5b22324.d97fb"
943       ]
944     ]
945   },
946   {
947     "id":"e0432082.58761",
948     "type":"block",
949     "name":"block : atomic",
950     "xml":"<block atomic=\"true\">\n",
951     "atomic":"false",
952     "comments":"",
953     "outputs":1,
954     "x":2009.4735412597656,
955     "y":1176.4226081371307,
956     "z":"14477aa.fad1e85",
957     "wires":[
958       [
959
960       ]
961     ]
962   },
963   {
964     "id":"2d85c47e.12b71c",
965     "type":"returnFailure",
966     "name":"return failure",
967     "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
968     "comments":"",
969     "x":2008.4735412597656,
970     "y":1229.4226081371307,
971     "z":"14477aa.fad1e85",
972     "wires":[
973
974     ]
975   },
976   {
977     "id":"e5b22324.d97fb",
978     "type":"returnFailure",
979     "name":"return failure",
980     "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
981     "comments":"",
982     "x":2001.4735412597656,
983     "y":1276.4226081371307,
984     "z":"14477aa.fad1e85",
985     "wires":[
986
987     ]
988   },
989   {
990     "id":"ceb4bf57.f1644",
991     "type":"get-resource",
992     "name":"get-resource esr-thirdparty-sdnc",
993     "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",
994     "comments":"",
995     "outputs":1,
996     "x":1625.7044219970703,
997     "y":1226.7303733825684,
998     "z":"14477aa.fad1e85",
999     "wires":[
1000       [
1001         "3efd235d.45b6ec",
1002         "55a28fdf.38008",
1003         "726e6abc.90c824"
1004       ]
1005     ]
1006   },
1007   {
1008     "id":"143c42a.ea474bd",
1009     "type":"set",
1010     "name":"set controller data",
1011     "xml":"<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`\" />\n\n",
1012     "comments":"",
1013     "x":1627.9735145568848,
1014     "y":1335.9225814342499,
1015     "z":"14477aa.fad1e85",
1016     "wires":[
1017
1018     ]
1019   },
1020   {
1021     "id":"69d4f592.3b2f0c",
1022     "type":"switchNode",
1023     "name":"switch tunnelType",
1024     "xml":"<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
1025     "comments":"",
1026     "outputs":1,
1027     "x":1628.973316192627,
1028     "y":1503.9224872589111,
1029     "z":"14477aa.fad1e85",
1030     "wires":[
1031       [
1032         "871cf858.f9bdf8",
1033         "4bb377eb.2cad38"
1034       ]
1035     ]
1036   },
1037   {
1038     "id":"871cf858.f9bdf8",
1039     "type":"outcomeTrue",
1040     "name":"L3-DCI",
1041     "xml":"<outcome value='L3-DCI'>\n",
1042     "comments":"",
1043     "outputs":1,
1044     "x":1841.973445892334,
1045     "y":1483.9224872589111,
1046     "z":"14477aa.fad1e85",
1047     "wires":[
1048       [
1049         "f74530f5.a1018"
1050       ]
1051     ]
1052   },
1053   {
1054     "id":"4bb377eb.2cad38",
1055     "type":"outcomeTrue",
1056     "name":"L2-DCI",
1057     "xml":"<outcome value='L2-DCI'>\n",
1058     "comments":"",
1059     "outputs":1,
1060     "x":1839.9732666015625,
1061     "y":1555.9224872589111,
1062     "z":"14477aa.fad1e85",
1063     "wires":[
1064       [
1065         "a57b1e86.15921"
1066       ]
1067     ]
1068   },
1069   {
1070     "id":"278a044f.dd078c",
1071     "type":"set",
1072     "name":"set id",
1073     "xml":"<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1074     "comments":"",
1075     "x":2562.4737815856934,
1076     "y":728.9230680465698,
1077     "z":"14477aa.fad1e85",
1078     "wires":[
1079
1080     ]
1081   },
1082   {
1083     "id":"a57b1e86.15921",
1084     "type":"execute",
1085     "name":"execute RestApiCallNode Activate Vxlan Tunnel",
1086     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.sdncRestApi.tempDir +'/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",
1087     "comments":"",
1088     "outputs":1,
1089     "x":2159.9738121032715,
1090     "y":1556.4229125976562,
1091     "z":"14477aa.fad1e85",
1092     "wires":[
1093       [
1094
1095       ]
1096     ]
1097   },
1098   {
1099     "id":"6ebb06e1.0019e8",
1100     "type":"outcomeTrue",
1101     "name":"false",
1102     "xml":"<outcome value='false'>\n",
1103     "comments":"",
1104     "outputs":1,
1105     "x":2393.9737396240234,
1106     "y":852.9230518341064,
1107     "z":"14477aa.fad1e85",
1108     "wires":[
1109       [
1110         "735e68ce.3cf398"
1111       ]
1112     ]
1113   },
1114   {
1115     "id":"735e68ce.3cf398",
1116     "type":"set",
1117     "name":"set description",
1118     "xml":"<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
1119     "comments":"",
1120     "x":2574.973808288574,
1121     "y":847.9229927062988,
1122     "z":"14477aa.fad1e85",
1123     "wires":[
1124
1125     ]
1126   },
1127   {
1128     "id":"4dceded7.35703",
1129     "type":"block",
1130     "name":"block setEvpnIrts",
1131     "xml":"<block atomic=\"true\">\n",
1132     "atomic":"false",
1133     "comments":"",
1134     "outputs":1,
1135     "x":2596.973320007324,
1136     "y":461.4386730194092,
1137     "z":"14477aa.fad1e85",
1138     "wires":[
1139       [
1140         "12798a95.a33a75",
1141         "f44998d.4f3fe68"
1142       ]
1143     ]
1144   },
1145   {
1146     "id":"12798a95.a33a75",
1147     "type":"set",
1148     "name":"set evpn_irts",
1149     "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",
1150     "comments":"",
1151     "x":2842.973320007324,
1152     "y":412.4386730194092,
1153     "z":"14477aa.fad1e85",
1154     "wires":[
1155
1156     ]
1157   },
1158   {
1159     "id":"f44998d.4f3fe68",
1160     "type":"execute",
1161     "name":"split evpn_irts",
1162     "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",
1163     "comments":"",
1164     "outputs":1,
1165     "x":2871.973320007324,
1166     "y":464.4386730194092,
1167     "z":"14477aa.fad1e85",
1168     "wires":[
1169       [
1170         "e89fb3dc.f76c8",
1171         "20275971.a03626"
1172       ]
1173     ]
1174   },
1175   {
1176     "id":"20275971.a03626",
1177     "type":"failure",
1178     "name":"success",
1179     "xml":"<outcome value='success'>\n",
1180     "comments":"",
1181     "outputs":1,
1182     "x":3088.973320007324,
1183     "y":390.4386730194092,
1184     "z":"14477aa.fad1e85",
1185     "wires":[
1186       [
1187         "bd84905.a254d7"
1188       ]
1189     ]
1190   },
1191   {
1192     "id":"e89fb3dc.f76c8",
1193     "type":"failure",
1194     "name":"failure",
1195     "xml":"<outcome value='failure'>\n",
1196     "comments":"",
1197     "outputs":1,
1198     "x":3089.973320007324,
1199     "y":456.4386730194092,
1200     "z":"14477aa.fad1e85",
1201     "wires":[
1202       [
1203         "abdc6840.44d668"
1204       ]
1205     ]
1206   },
1207   {
1208     "id":"abdc6840.44d668",
1209     "type":"returnFailure",
1210     "name":"return failure",
1211     "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1212     "comments":"",
1213     "x":3270.973320007324,
1214     "y":454.4386730194092,
1215     "z":"14477aa.fad1e85",
1216     "wires":[
1217
1218     ]
1219   },
1220   {
1221     "id":"c11fadfd.a884b",
1222     "type":"set",
1223     "name":"set evpn_erts",
1224     "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",
1225     "comments":"",
1226     "x":2839.473320007324,
1227     "y":554.9387035369873,
1228     "z":"14477aa.fad1e85",
1229     "wires":[
1230
1231     ]
1232   },
1233   {
1234     "id":"dc99c979.844158",
1235     "type":"execute",
1236     "name":"split evpn_erts",
1237     "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",
1238     "comments":"",
1239     "outputs":1,
1240     "x":2868.473320007324,
1241     "y":606.9387035369873,
1242     "z":"14477aa.fad1e85",
1243     "wires":[
1244       [
1245         "c87ef0e2.0309f",
1246         "14142012.4a22"
1247       ]
1248     ]
1249   },
1250   {
1251     "id":"14142012.4a22",
1252     "type":"failure",
1253     "name":"success",
1254     "xml":"<outcome value='success'>\n",
1255     "comments":"",
1256     "outputs":1,
1257     "x":3085.473320007324,
1258     "y":532.9387035369873,
1259     "z":"14477aa.fad1e85",
1260     "wires":[
1261       [
1262         "90413362.f9c78"
1263       ]
1264     ]
1265   },
1266   {
1267     "id":"c87ef0e2.0309f",
1268     "type":"failure",
1269     "name":"failure",
1270     "xml":"<outcome value='failure'>\n",
1271     "comments":"",
1272     "outputs":1,
1273     "x":3086.473320007324,
1274     "y":598.9387035369873,
1275     "z":"14477aa.fad1e85",
1276     "wires":[
1277       [
1278         "26998ef1.840202"
1279       ]
1280     ]
1281   },
1282   {
1283     "id":"26998ef1.840202",
1284     "type":"returnFailure",
1285     "name":"return failure",
1286     "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1287     "comments":"",
1288     "x":3267.473320007324,
1289     "y":596.9387035369873,
1290     "z":"14477aa.fad1e85",
1291     "wires":[
1292
1293     ]
1294   },
1295   {
1296     "id":"b28306b0.c9d2a8",
1297     "type":"block",
1298     "name":"block setEvpnErts",
1299     "xml":"<block atomic=\"true\">\n",
1300     "atomic":"false",
1301     "comments":"",
1302     "outputs":1,
1303     "x":2590.473213195801,
1304     "y":516.9387607574463,
1305     "z":"14477aa.fad1e85",
1306     "wires":[
1307       [
1308         "c11fadfd.a884b",
1309         "dc99c979.844158"
1310       ]
1311     ]
1312   },
1313   {
1314     "id":"bd84905.a254d7",
1315     "type":"for",
1316     "name":"for each evpn_irts",
1317     "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
1318     "comments":"",
1319     "outputs":1,
1320     "x":3291.4734840393066,
1321     "y":389.93871307373047,
1322     "z":"14477aa.fad1e85",
1323     "wires":[
1324       [
1325         "71caeb55.d3b804"
1326       ]
1327     ]
1328   },
1329   {
1330     "id":"71caeb55.d3b804",
1331     "type":"set",
1332     "name":"set evpn_irt",
1333     "xml":"<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
1334     "comments":"",
1335     "x":3503.473976135254,
1336     "y":389.9388656616211,
1337     "z":"14477aa.fad1e85",
1338     "wires":[
1339
1340     ]
1341   },
1342   {
1343     "id":"90413362.f9c78",
1344     "type":"for",
1345     "name":"for each evpn_erts",
1346     "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
1347     "comments":"",
1348     "outputs":1,
1349     "x":3284.973320007324,
1350     "y":528.9387035369873,
1351     "z":"14477aa.fad1e85",
1352     "wires":[
1353       [
1354         "d06ccd4c.3f23a"
1355       ]
1356     ]
1357   },
1358   {
1359     "id":"d06ccd4c.3f23a",
1360     "type":"set",
1361     "name":"set evpn_ert",
1362     "xml":"<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
1363     "comments":"",
1364     "x":3496.9738121032715,
1365     "y":528.9388561248779,
1366     "z":"14477aa.fad1e85",
1367     "wires":[
1368
1369     ]
1370   },
1371   {
1372     "id":"71fe8767.b40368",
1373     "type":"set",
1374     "name":"set evpn_irts",
1375     "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",
1376     "comments":"",
1377     "x":2855.973320007324,
1378     "y":995.438642501831,
1379     "z":"14477aa.fad1e85",
1380     "wires":[
1381
1382     ]
1383   },
1384   {
1385     "id":"d661df7a.c1d68",
1386     "type":"execute",
1387     "name":"split evpn_irts",
1388     "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",
1389     "comments":"",
1390     "outputs":1,
1391     "x":2884.973320007324,
1392     "y":1047.438642501831,
1393     "z":"14477aa.fad1e85",
1394     "wires":[
1395       [
1396         "f7a12052.b8c45",
1397         "ab4bc48f.87e7b8"
1398       ]
1399     ]
1400   },
1401   {
1402     "id":"ab4bc48f.87e7b8",
1403     "type":"failure",
1404     "name":"success",
1405     "xml":"<outcome value='success'>\n",
1406     "comments":"",
1407     "outputs":1,
1408     "x":3101.973320007324,
1409     "y":973.438642501831,
1410     "z":"14477aa.fad1e85",
1411     "wires":[
1412       [
1413         "88094f8e.ff73b"
1414       ]
1415     ]
1416   },
1417   {
1418     "id":"f7a12052.b8c45",
1419     "type":"failure",
1420     "name":"failure",
1421     "xml":"<outcome value='failure'>\n",
1422     "comments":"",
1423     "outputs":1,
1424     "x":3102.973320007324,
1425     "y":1039.438642501831,
1426     "z":"14477aa.fad1e85",
1427     "wires":[
1428       [
1429         "419e1dfe.6a10b4"
1430       ]
1431     ]
1432   },
1433   {
1434     "id":"419e1dfe.6a10b4",
1435     "type":"returnFailure",
1436     "name":"return failure",
1437     "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1438     "comments":"",
1439     "x":3283.973320007324,
1440     "y":1037.438642501831,
1441     "z":"14477aa.fad1e85",
1442     "wires":[
1443
1444     ]
1445   },
1446   {
1447     "id":"57e91416.f44a6c",
1448     "type":"set",
1449     "name":"set evpn_erts",
1450     "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",
1451     "comments":"",
1452     "x":2852.473320007324,
1453     "y":1137.9386730194092,
1454     "z":"14477aa.fad1e85",
1455     "wires":[
1456
1457     ]
1458   },
1459   {
1460     "id":"1ae3a00e.04c3e",
1461     "type":"execute",
1462     "name":"split evpn_erts",
1463     "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",
1464     "comments":"",
1465     "outputs":1,
1466     "x":2881.473320007324,
1467     "y":1189.9386730194092,
1468     "z":"14477aa.fad1e85",
1469     "wires":[
1470       [
1471         "cb3d8975.007e48",
1472         "1d9688c3.12e9d7"
1473       ]
1474     ]
1475   },
1476   {
1477     "id":"1d9688c3.12e9d7",
1478     "type":"failure",
1479     "name":"success",
1480     "xml":"<outcome value='success'>\n",
1481     "comments":"",
1482     "outputs":1,
1483     "x":3098.473320007324,
1484     "y":1115.9386730194092,
1485     "z":"14477aa.fad1e85",
1486     "wires":[
1487       [
1488         "cc51ae28.32b09"
1489       ]
1490     ]
1491   },
1492   {
1493     "id":"cb3d8975.007e48",
1494     "type":"failure",
1495     "name":"failure",
1496     "xml":"<outcome value='failure'>\n",
1497     "comments":"",
1498     "outputs":1,
1499     "x":3099.473320007324,
1500     "y":1181.9386730194092,
1501     "z":"14477aa.fad1e85",
1502     "wires":[
1503       [
1504         "1eca56d8.ed2679"
1505       ]
1506     ]
1507   },
1508   {
1509     "id":"1eca56d8.ed2679",
1510     "type":"returnFailure",
1511     "name":"return failure",
1512     "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1513     "comments":"",
1514     "x":3280.473320007324,
1515     "y":1179.9386730194092,
1516     "z":"14477aa.fad1e85",
1517     "wires":[
1518
1519     ]
1520   },
1521   {
1522     "id":"88094f8e.ff73b",
1523     "type":"for",
1524     "name":"for each evpn_irts",
1525     "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
1526     "comments":"",
1527     "outputs":1,
1528     "x":3304.4734840393066,
1529     "y":972.9386825561523,
1530     "z":"14477aa.fad1e85",
1531     "wires":[
1532       [
1533         "434a8acd.8b0244"
1534       ]
1535     ]
1536   },
1537   {
1538     "id":"434a8acd.8b0244",
1539     "type":"set",
1540     "name":"set evpn_irt",
1541     "xml":"<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
1542     "comments":"",
1543     "x":3516.473976135254,
1544     "y":972.938835144043,
1545     "z":"14477aa.fad1e85",
1546     "wires":[
1547
1548     ]
1549   },
1550   {
1551     "id":"cc51ae28.32b09",
1552     "type":"for",
1553     "name":"for each evpn_erts",
1554     "xml":"<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
1555     "comments":"",
1556     "outputs":1,
1557     "x":3297.973320007324,
1558     "y":1111.9386730194092,
1559     "z":"14477aa.fad1e85",
1560     "wires":[
1561       [
1562         "7209bbf1.1dd274"
1563       ]
1564     ]
1565   },
1566   {
1567     "id":"7209bbf1.1dd274",
1568     "type":"set",
1569     "name":"set evpn_ert",
1570     "xml":"<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
1571     "comments":"",
1572     "x":3509.9738121032715,
1573     "y":1111.9388256072998,
1574     "z":"14477aa.fad1e85",
1575     "wires":[
1576
1577     ]
1578   },
1579   {
1580     "id":"36bb1ad6.f67656",
1581     "type":"block",
1582     "name":"block setEvpnIrts",
1583     "xml":"<block atomic=\"true\">\n",
1584     "atomic":"false",
1585     "comments":"",
1586     "outputs":1,
1587     "x":2609.973320007324,
1588     "y":1044.438642501831,
1589     "z":"14477aa.fad1e85",
1590     "wires":[
1591       [
1592         "71fe8767.b40368",
1593         "d661df7a.c1d68"
1594       ]
1595     ]
1596   },
1597   {
1598     "id":"6259b6ca.196658",
1599     "type":"block",
1600     "name":"block setEvpnErts",
1601     "xml":"<block atomic=\"true\">\n",
1602     "atomic":"false",
1603     "comments":"",
1604     "outputs":1,
1605     "x":2603.473213195801,
1606     "y":1099.9387302398682,
1607     "z":"14477aa.fad1e85",
1608     "wires":[
1609       [
1610         "57e91416.f44a6c",
1611         "1ae3a00e.04c3e"
1612       ]
1613     ]
1614   },
1615   {
1616     "id":"ff8f139d.0f616",
1617     "type":"comment",
1618     "name":"TODO",
1619     "info":"Get information from VFC team about the A&AI location where name to network mapping will be available.",
1620     "comments":"",
1621     "x":2584.9735717773438,
1622     "y":329.43871879577637,
1623     "z":"14477aa.fad1e85",
1624     "wires":[
1625
1626     ]
1627   },
1628   {
1629     "id":"6bda705e.915dc",
1630     "type":"comment",
1631     "name":"TODO",
1632     "info":"Store activated network information in A&AI",
1633     "comments":"",
1634     "x":741.4735641479492,
1635     "y":968.938642501831,
1636     "z":"14477aa.fad1e85",
1637     "wires":[
1638
1639     ]
1640   },
1641   {
1642     "id":"9e24c01d.9d49c",
1643     "type":"comment",
1644     "name":"TODO",
1645     "info":"Get information from VFC team about teh A&AI location where name to network mapping will be available.",
1646     "comments":"",
1647     "x":2571.473320007324,
1648     "y":922.438642501831,
1649     "z":"14477aa.fad1e85",
1650     "wires":[
1651
1652     ]
1653   },
1654   {
1655     "id":"9653dd40.51b31",
1656     "type":"execute",
1657     "name":"execute generate-overlay-network-id",
1658     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.dci.network-id\"/>\n",
1659     "comments":"",
1660     "outputs":1,
1661     "x":1415.1402740478516,
1662     "y":1580.2565050125122,
1663     "z":"14477aa.fad1e85",
1664     "wires":[
1665       [
1666
1667       ]
1668     ]
1669   },
1670   {
1671     "id":"6c49ab69.21e594",
1672     "type":"switchNode",
1673     "name":"switch service-data.networks_length",
1674     "xml":"<switch test='`$service-data.networks.network_length`'>\n",
1675     "comments":"",
1676     "outputs":1,
1677     "x":1407.1402893066406,
1678     "y":1650.2565113306046,
1679     "z":"14477aa.fad1e85",
1680     "wires":[
1681       [
1682         "4d11657.e59ad9c",
1683         "ec09cf68.54011"
1684       ]
1685     ]
1686   },
1687   {
1688     "id":"4d11657.e59ad9c",
1689     "type":"other",
1690     "name":"Null",
1691     "xml":"<outcome value=''>\n",
1692     "comments":"",
1693     "outputs":1,
1694     "x":1680.9498596191406,
1695     "y":1619.2089039087296,
1696     "z":"14477aa.fad1e85",
1697     "wires":[
1698       [
1699         "685d7d02.6e8fe4"
1700       ]
1701     ]
1702   },
1703   {
1704     "id":"ec09cf68.54011",
1705     "type":"other",
1706     "name":"other",
1707     "xml":"<outcome value='Other'>\n",
1708     "comments":"",
1709     "outputs":1,
1710     "x":1675.8070373535156,
1711     "y":1664.9231983423233,
1712     "z":"14477aa.fad1e85",
1713     "wires":[
1714       [
1715         "305d55a0.4ef32a"
1716       ]
1717     ]
1718   },
1719   {
1720     "id":"685d7d02.6e8fe4",
1721     "type":"set",
1722     "name":"set nidx",
1723     "xml":"<set>\n<parameter name='nidx' value='0' />\n",
1724     "comments":"",
1725     "x":1833.9498596191406,
1726     "y":1618.780315041542,
1727     "z":"14477aa.fad1e85",
1728     "wires":[
1729
1730     ]
1731   },
1732   {
1733     "id":"305d55a0.4ef32a",
1734     "type":"set",
1735     "name":"set nidx",
1736     "xml":"<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
1737     "comments":"",
1738     "x":1835.3784484863281,
1739     "y":1663.7803760766983,
1740     "z":"14477aa.fad1e85",
1741     "wires":[
1742
1743     ]
1744   },
1745   {
1746     "id":"c180ad49.bc28d",
1747     "type":"set",
1748     "name":"set network in service-data",
1749     "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",
1750     "comments":"",
1751     "x":1379.1402740478516,
1752     "y":1722.256513595581,
1753     "z":"14477aa.fad1e85",
1754     "wires":[
1755
1756     ]
1757   },
1758   {
1759     "id":"180ce8e1.cf4c47",
1760     "type":"block",
1761     "name":"block : saveNetworkData",
1762     "xml":"<block atomic=\"true\">",
1763     "atomic":"true",
1764     "comments":"",
1765     "outputs":1,
1766     "x":1075.4735260009766,
1767     "y":1561.5897045135498,
1768     "z":"14477aa.fad1e85",
1769     "wires":[
1770       [
1771         "9653dd40.51b31",
1772         "6c49ab69.21e594",
1773         "c180ad49.bc28d",
1774         "2148a80e.029b58"
1775       ]
1776     ]
1777   },
1778   {
1779     "id":"2148a80e.029b58",
1780     "type":"set",
1781     "name":"set networkId and network-object-path",
1782     "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/'` \" />",
1783     "comments":"",
1784     "x":1411.4735260009766,
1785     "y":1791.9230785369873,
1786     "z":"14477aa.fad1e85",
1787     "wires":[
1788
1789     ]
1790   },
1791   {
1792     "id":"282c5c4c.028af4",
1793     "type":"record",
1794     "name":"record",
1795     "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`\"/>",
1796     "comments":"",
1797     "outputs":1,
1798     "x":1593.8073196411133,
1799     "y":1420.589789390564,
1800     "z":"14477aa.fad1e85",
1801     "wires":[
1802       [
1803
1804       ]
1805     ]
1806   },
1807   {
1808     "id":"db894db4.d284f",
1809     "type":"comment",
1810     "name":"TODO",
1811     "info":"Currently activate is done without assignment, later divide in two phases.",
1812     "comments":"",
1813     "x":1370.4735260009766,
1814     "y":54.58974266052246,
1815     "z":"14477aa.fad1e85",
1816     "wires":[
1817
1818     ]
1819   }
1820 ]