Merge "Update overlay DGs for VoLTE use case"
[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": "4c36e56f.956e94",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 91.49996948242188,
8     "y": 73,
9     "z": "cf1e958c.7fbef8",
10     "wires": [
11       [
12         "38e1188a.f9fef"
13       ]
14     ]
15   },
16   {
17     "id": "38e1188a.f9fef",
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": 307.9999694824219,
26     "y": 135.5,
27     "z": "cf1e958c.7fbef8",
28     "wires": [
29       [
30         "be128d6c.f677e"
31       ]
32     ]
33   },
34   {
35     "id": "be128d6c.f677e",
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": 216,
42     "y": 230.49998474121094,
43     "z": "cf1e958c.7fbef8",
44     "wires": [
45       [
46         "bf628732.ed9c68"
47       ]
48     ]
49   },
50   {
51     "id": "bf628732.ed9c68",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 513.8333129882812,
58     "y": 238.3333282470703,
59     "z": "cf1e958c.7fbef8",
60     "wires": [
61       [
62         "1a1ab9fe.172d5e",
63         "c91abe90.b09f18",
64         "24a12c20.3823c4",
65         "56f7544c.7d9984",
66         "168e5d62.705303"
67       ]
68     ]
69   },
70   {
71     "id": "c91abe90.b09f18",
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": 903.8333129882812,
78     "y": 103.33332824707031,
79     "z": "cf1e958c.7fbef8",
80     "wires": [
81       []
82     ]
83   },
84   {
85     "id": "ee9e843c.f2eaa8",
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": 1421.8336029052734,
92     "y": 376.333389043808,
93     "z": "cf1e958c.7fbef8",
94     "wires": [
95       [
96         "6ecca6a7.b330b8"
97       ]
98     ]
99   },
100   {
101     "id": "6ecca6a7.b330b8",
102     "type": "block",
103     "name": "block",
104     "xml": "<block>\n",
105     "atomic": "false",
106     "comments": "",
107     "outputs": 1,
108     "x": 1668.833511352539,
109     "y": 374.33335852622986,
110     "z": "cf1e958c.7fbef8",
111     "wires": [
112       [
113         "7ec2f156.31bad8",
114         "e570d5e6.8d7958",
115         "2fe6f50.ba2558c",
116         "320c6219.91f19e",
117         "88a16009.d8acd",
118         "69aad884.29b65",
119         "d425399b.6eb9d",
120         "9c7489c7.684fa",
121         "2e60a059.b3e188"
122       ]
123     ]
124   },
125   {
126     "id": "7ec2f156.31bad8",
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": 2155.833869934082,
133     "y": 250.33347511291504,
134     "z": "cf1e958c.7fbef8",
135     "wires": [
136       [
137         "aa4e7849.32cd9"
138       ]
139     ]
140   },
141   {
142     "id": "e570d5e6.8d7958",
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": 2183.833869934082,
149     "y": 304.3334608078003,
150     "z": "cf1e958c.7fbef8",
151     "wires": [
152       [
153         "8223ea44.b877"
154       ]
155     ]
156   },
157   {
158     "id": "2fe6f50.ba2558c",
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": 2172.833656311035,
165     "y": 435.333420753479,
166     "z": "cf1e958c.7fbef8",
167     "wires": [
168       [
169         "b9d7a29d.1fc0a8"
170       ]
171     ]
172   },
173   {
174     "id": "320c6219.91f19e",
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": 2181.1193923950195,
181     "y": 496.6191740036011,
182     "z": "cf1e958c.7fbef8",
183     "wires": [
184       [
185         "db18baa3.a37308"
186       ]
187     ]
188   },
189   {
190     "id": "88a16009.d8acd",
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": 2182.119453430176,
197     "y": 560.6191447973251,
198     "z": "cf1e958c.7fbef8",
199     "wires": [
200       [
201         "7071fdd7.40f6bc"
202       ]
203     ]
204   },
205   {
206     "id": "69aad884.29b65",
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": 2153.1194229125977,
213     "y": 623.619176864624,
214     "z": "cf1e958c.7fbef8",
215     "wires": [
216       [
217         "62dcb995.73bbd"
218       ]
219     ]
220   },
221   {
222     "id": "aa4e7849.32cd9",
223     "type": "outcomeTrue",
224     "name": "true",
225     "xml": "<outcome value='true'>\n",
226     "comments": "",
227     "outputs": 1,
228     "x": 2370.833869934082,
229     "y": 249.33347511291504,
230     "z": "cf1e958c.7fbef8",
231     "wires": [
232       [
233         "13456a67.fe8996"
234       ]
235     ]
236   },
237   {
238     "id": "8223ea44.b877",
239     "type": "outcomeTrue",
240     "name": "true",
241     "xml": "<outcome value='true'>\n",
242     "comments": "",
243     "outputs": 1,
244     "x": 2381.833869934082,
245     "y": 304.3334608078003,
246     "z": "cf1e958c.7fbef8",
247     "wires": [
248       [
249         "dd206567.023688"
250       ]
251     ]
252   },
253   {
254     "id": "b9d7a29d.1fc0a8",
255     "type": "outcomeTrue",
256     "name": "true",
257     "xml": "<outcome value='true'>\n",
258     "comments": "",
259     "outputs": 1,
260     "x": 2377.833656311035,
261     "y": 434.333420753479,
262     "z": "cf1e958c.7fbef8",
263     "wires": [
264       [
265         "b00c15e3.57b258"
266       ]
267     ]
268   },
269   {
270     "id": "db18baa3.a37308",
271     "type": "outcomeTrue",
272     "name": "true",
273     "xml": "<outcome value='true'>\n",
274     "comments": "",
275     "outputs": 1,
276     "x": 2383.1193923950195,
277     "y": 495.6191740036011,
278     "z": "cf1e958c.7fbef8",
279     "wires": [
280       [
281         "b67dfe0e.da3b68"
282       ]
283     ]
284   },
285   {
286     "id": "7071fdd7.40f6bc",
287     "type": "outcomeTrue",
288     "name": "true",
289     "xml": "<outcome value='true'>\n",
290     "comments": "",
291     "outputs": 1,
292     "x": 2378.119453430176,
293     "y": 557.6191447973251,
294     "z": "cf1e958c.7fbef8",
295     "wires": [
296       [
297         "8e66a40c.ada548"
298       ]
299     ]
300   },
301   {
302     "id": "62dcb995.73bbd",
303     "type": "outcomeTrue",
304     "name": "true",
305     "xml": "<outcome value='true'>\n",
306     "comments": "",
307     "outputs": 1,
308     "x": 2359.1194229125977,
309     "y": 623.619176864624,
310     "z": "cf1e958c.7fbef8",
311     "wires": [
312       [
313         "3d1ad610.f82f92"
314       ]
315     ]
316   },
317   {
318     "id": "dd206567.023688",
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": 2563.833869934082,
324     "y": 297.3334608078003,
325     "z": "cf1e958c.7fbef8",
326     "wires": []
327   },
328   {
329     "id": "b00c15e3.57b258",
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": 2568.8338775634766,
335     "y": 427.3335075378418,
336     "z": "cf1e958c.7fbef8",
337     "wires": []
338   },
339   {
340     "id": "3d1ad610.f82f92",
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": 2529.1194229125977,
346     "y": 615.619176864624,
347     "z": "cf1e958c.7fbef8",
348     "wires": []
349   },
350   {
351     "id": "1a1ab9fe.172d5e",
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": 737.119140625,
357     "y": 1201.0477294921875,
358     "z": "cf1e958c.7fbef8",
359     "wires": []
360   },
361   {
362     "id": "d425399b.6eb9d",
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": 2167.00040435791,
369     "y": 191.50010681152344,
370     "z": "cf1e958c.7fbef8",
371     "wires": [
372       [
373         "b5fa6ca4.bca08"
374       ]
375     ]
376   },
377   {
378     "id": "b5fa6ca4.bca08",
379     "type": "outcomeTrue",
380     "name": "true",
381     "xml": "<outcome value='true'>\n",
382     "comments": "",
383     "outputs": 1,
384     "x": 2365.00040435791,
385     "y": 191.50010681152344,
386     "z": "cf1e958c.7fbef8",
387     "wires": [
388       [
389         "8c66be71.462ad"
390       ]
391     ]
392   },
393   {
394     "id": "8c66be71.462ad",
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": 2547.00040435791,
400     "y": 184.50010681152344,
401     "z": "cf1e958c.7fbef8",
402     "wires": []
403   },
404   {
405     "id": "9c7489c7.684fa",
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": 2190.5001907348633,
412     "y": 370.5000467300415,
413     "z": "cf1e958c.7fbef8",
414     "wires": [
415       [
416         "cc2233ba.9a0b28"
417       ]
418     ]
419   },
420   {
421     "id": "cc2233ba.9a0b28",
422     "type": "outcomeTrue",
423     "name": "true",
424     "xml": "<outcome value='true'>\n",
425     "comments": "",
426     "outputs": 1,
427     "x": 2388.5001907348633,
428     "y": 370.5000467300415,
429     "z": "cf1e958c.7fbef8",
430     "wires": [
431       []
432     ]
433   },
434   {
435     "id": "24a12c20.3823c4",
436     "type": "block",
437     "name": "block : execute",
438     "xml": "<block atomic=\"true\">",
439     "atomic": "true",
440     "comments": "",
441     "outputs": 1,
442     "x": 737.4999008178711,
443     "y": 611.5000457763672,
444     "z": "cf1e958c.7fbef8",
445     "wires": [
446       [
447         "37a31ee0.24b852",
448         "23165d49.4901aa",
449         "5c1bffb4.63e308"
450       ]
451     ]
452   },
453   {
454     "id": "37a31ee0.24b852",
455     "type": "block",
456     "name": "block : executeSite1",
457     "xml": "<block atomic=\"true\">",
458     "atomic": "true",
459     "comments": "",
460     "outputs": 1,
461     "x": 1029.9999618530273,
462     "y": 436.0000219345093,
463     "z": "cf1e958c.7fbef8",
464     "wires": [
465       [
466         "ee9e843c.f2eaa8",
467         "9f9de06d.e9691"
468       ]
469     ]
470   },
471   {
472     "id": "23165d49.4901aa",
473     "type": "block",
474     "name": "block : executeSite2",
475     "xml": "<block atomic=\"true\">",
476     "atomic": "true",
477     "comments": "",
478     "outputs": 1,
479     "x": 1047.0000076293945,
480     "y": 952.0000047683716,
481     "z": "cf1e958c.7fbef8",
482     "wires": [
483       [
484         "70a4ded.49d87a",
485         "9f9de06d.e9691"
486       ]
487     ]
488   },
489   {
490     "id": "3d56dd00.415eac",
491     "type": "switchNode",
492     "name": "switch id",
493     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n",
494     "comments": "",
495     "outputs": 1,
496     "x": 2141.500213623047,
497     "y": 770.9999389648438,
498     "z": "cf1e958c.7fbef8",
499     "wires": [
500       [
501         "e78901da.ff61b8"
502       ]
503     ]
504   },
505   {
506     "id": "fe2e1517.a2ac7",
507     "type": "switchNode",
508     "name": "switch description",
509     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_description'`\">\n",
510     "comments": "",
511     "outputs": 1,
512     "x": 2165.5005645751953,
513     "y": 829.999945640564,
514     "z": "cf1e958c.7fbef8",
515     "wires": [
516       [
517         "2d58a544.c935ea",
518         "8505b154.9fb048"
519       ]
520     ]
521   },
522   {
523     "id": "4147e9a8.080da",
524     "type": "switchNode",
525     "name": "switch routerId",
526     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n",
527     "comments": "",
528     "outputs": 1,
529     "x": 2174.499954223633,
530     "y": 1025.9999113082886,
531     "z": "cf1e958c.7fbef8",
532     "wires": [
533       [
534         "f5bf01a7.290cc"
535       ]
536     ]
537   },
538   {
539     "id": "aef1e9ce.a6ab3",
540     "type": "switchNode",
541     "name": "switch importRT1",
542     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n",
543     "comments": "",
544     "outputs": 1,
545     "x": 2182.785690307617,
546     "y": 1087.2856645584106,
547     "z": "cf1e958c.7fbef8",
548     "wires": [
549       [
550         "2d67d7d8.2296d"
551       ]
552     ]
553   },
554   {
555     "id": "360441dc.77ddb6",
556     "type": "switchNode",
557     "name": "switch exportRT1",
558     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_exportRT1'`\">\n",
559     "comments": "",
560     "outputs": 1,
561     "x": 2183.7857513427734,
562     "y": 1151.2856353521347,
563     "z": "cf1e958c.7fbef8",
564     "wires": [
565       [
566         "fb49f623.4e5d48"
567       ]
568     ]
569   },
570   {
571     "id": "2c78d4f1.048ee4",
572     "type": "switchNode",
573     "name": "switch vni",
574     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n",
575     "comments": "",
576     "outputs": 1,
577     "x": 2154.7857208251953,
578     "y": 1214.2856674194336,
579     "z": "cf1e958c.7fbef8",
580     "wires": [
581       [
582         "dd227859.e75bf8"
583       ]
584     ]
585   },
586   {
587     "id": "e78901da.ff61b8",
588     "type": "outcomeTrue",
589     "name": "true",
590     "xml": "<outcome value='true'>\n",
591     "comments": "",
592     "outputs": 1,
593     "x": 2356.500213623047,
594     "y": 769.9999389648438,
595     "z": "cf1e958c.7fbef8",
596     "wires": [
597       [
598         "f1dbc88c.9a5b98"
599       ]
600     ]
601   },
602   {
603     "id": "2d58a544.c935ea",
604     "type": "outcomeTrue",
605     "name": "true",
606     "xml": "<outcome value='true'>\n",
607     "comments": "",
608     "outputs": 1,
609     "x": 2363.5005645751953,
610     "y": 829.999945640564,
611     "z": "cf1e958c.7fbef8",
612     "wires": [
613       [
614         "432bb78.173bc48"
615       ]
616     ]
617   },
618   {
619     "id": "f5bf01a7.290cc",
620     "type": "outcomeTrue",
621     "name": "true",
622     "xml": "<outcome value='true'>\n",
623     "comments": "",
624     "outputs": 1,
625     "x": 2379.499954223633,
626     "y": 1024.9999113082886,
627     "z": "cf1e958c.7fbef8",
628     "wires": [
629       [
630         "f3e93f46.78cae8"
631       ]
632     ]
633   },
634   {
635     "id": "2d67d7d8.2296d",
636     "type": "outcomeTrue",
637     "name": "true",
638     "xml": "<outcome value='true'>\n",
639     "comments": "",
640     "outputs": 1,
641     "x": 2384.785690307617,
642     "y": 1086.2856645584106,
643     "z": "cf1e958c.7fbef8",
644     "wires": [
645       [
646         "e5ced29d.00d08"
647       ]
648     ]
649   },
650   {
651     "id": "fb49f623.4e5d48",
652     "type": "outcomeTrue",
653     "name": "true",
654     "xml": "<outcome value='true'>\n",
655     "comments": "",
656     "outputs": 1,
657     "x": 2379.7857513427734,
658     "y": 1148.2856353521347,
659     "z": "cf1e958c.7fbef8",
660     "wires": [
661       [
662         "199235cd.b410ca"
663       ]
664     ]
665   },
666   {
667     "id": "dd227859.e75bf8",
668     "type": "outcomeTrue",
669     "name": "true",
670     "xml": "<outcome value='true'>\n",
671     "comments": "",
672     "outputs": 1,
673     "x": 2360.7857208251953,
674     "y": 1214.2856674194336,
675     "z": "cf1e958c.7fbef8",
676     "wires": [
677       [
678         "6a38de12.5b185"
679       ]
680     ]
681   },
682   {
683     "id": "432bb78.173bc48",
684     "type": "set",
685     "name": "set description",
686     "xml": "<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
687     "comments": "",
688     "x": 2545.5005645751953,
689     "y": 822.999945640564,
690     "z": "cf1e958c.7fbef8",
691     "wires": []
692   },
693   {
694     "id": "f3e93f46.78cae8",
695     "type": "set",
696     "name": "set router_id",
697     "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",
698     "comments": "",
699     "x": 2570.500175476074,
700     "y": 1017.9999980926514,
701     "z": "cf1e958c.7fbef8",
702     "wires": []
703   },
704   {
705     "id": "6a38de12.5b185",
706     "type": "set",
707     "name": "set vni",
708     "xml": "<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
709     "comments": "",
710     "x": 2530.7857208251953,
711     "y": 1206.2856674194336,
712     "z": "cf1e958c.7fbef8",
713     "wires": []
714   },
715   {
716     "id": "15d71463.8bcfa4",
717     "type": "switchNode",
718     "name": "switch networkName",
719     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n",
720     "comments": "",
721     "outputs": 1,
722     "x": 2192.166488647461,
723     "y": 961.1665372848511,
724     "z": "cf1e958c.7fbef8",
725     "wires": [
726       [
727         "8641ca6f.8854e"
728       ]
729     ]
730   },
731   {
732     "id": "8641ca6f.8854e",
733     "type": "outcomeTrue",
734     "name": "true",
735     "xml": "<outcome value='true'>\n",
736     "comments": "",
737     "outputs": 1,
738     "x": 2390.166488647461,
739     "y": 961.1665372848511,
740     "z": "cf1e958c.7fbef8",
741     "wires": [
742       [
743         "c4b84815.27de5"
744       ]
745     ]
746   },
747   {
748     "id": "415cf18c.8dc438",
749     "type": "block",
750     "name": "block",
751     "xml": "<block>\n",
752     "atomic": "false",
753     "comments": "",
754     "outputs": 1,
755     "x": 1660.4996643066406,
756     "y": 892.9998967647552,
757     "z": "cf1e958c.7fbef8",
758     "wires": [
759       [
760         "3d56dd00.415eac",
761         "fe2e1517.a2ac7",
762         "4147e9a8.080da",
763         "aef1e9ce.a6ab3",
764         "360441dc.77ddb6",
765         "2c78d4f1.048ee4",
766         "15d71463.8bcfa4"
767       ]
768     ]
769   },
770   {
771     "id": "70a4ded.49d87a",
772     "type": "for",
773     "name": "for each network-input-parameters",
774     "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
775     "comments": "",
776     "outputs": 1,
777     "x": 1413.499755859375,
778     "y": 894.9999272823334,
779     "z": "cf1e958c.7fbef8",
780     "wires": [
781       [
782         "415cf18c.8dc438"
783       ]
784     ]
785   },
786   {
787     "id": "13456a67.fe8996",
788     "type": "set",
789     "name": "set id",
790     "xml": "<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
791     "comments": "",
792     "x": 2552.5002517700195,
793     "y": 243.00002479553223,
794     "z": "cf1e958c.7fbef8",
795     "wires": []
796   },
797   {
798     "id": "2e60a059.b3e188",
799     "type": "switchNode",
800     "name": "switch tunnelType",
801     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n",
802     "comments": "",
803     "outputs": 1,
804     "x": 2171.999969482422,
805     "y": 692.9999389648438,
806     "z": "cf1e958c.7fbef8",
807     "wires": [
808       [
809         "4b99b834.6c111"
810       ]
811     ]
812   },
813   {
814     "id": "4b99b834.6c111",
815     "type": "outcomeTrue",
816     "name": "true",
817     "xml": "<outcome value='true'>\n",
818     "comments": "",
819     "outputs": 1,
820     "x": 2377.999969482422,
821     "y": 692.9999389648438,
822     "z": "cf1e958c.7fbef8",
823     "wires": [
824       [
825         "1995f2e4.a2f79d"
826       ]
827     ]
828   },
829   {
830     "id": "1995f2e4.a2f79d",
831     "type": "set",
832     "name": "set tunnelType",
833     "xml": "<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
834     "comments": "",
835     "x": 2547.999969482422,
836     "y": 684.9999389648438,
837     "z": "cf1e958c.7fbef8",
838     "wires": []
839   },
840   {
841     "id": "9f9de06d.e9691",
842     "type": "block",
843     "name": "block : sendRequest",
844     "xml": "<block atomic=\"true\">",
845     "atomic": "true",
846     "comments": "",
847     "outputs": 1,
848     "x": 1325.9999885559082,
849     "y": 1452.4999446868896,
850     "z": "cf1e958c.7fbef8",
851     "wires": [
852       [
853         "4abf4c0.6ba8234",
854         "f7dfb0f6.24b96",
855         "9eb66fb5.27033"
856       ]
857     ]
858   },
859   {
860     "id": "13c2385e.c3283",
861     "type": "execute",
862     "name": "execute RestApiCallNode Activate Vxlan Tunnel",
863     "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",
864     "comments": "",
865     "outputs": 1,
866     "x": 2134.0002632141113,
867     "y": 1515.4998998641968,
868     "z": "cf1e958c.7fbef8",
869     "wires": [
870       []
871     ]
872   },
873   {
874     "id": "cd3c6fdb.337a48",
875     "type": "success",
876     "name": "success",
877     "xml": "<outcome value='success'>\n",
878     "comments": "",
879     "outputs": 1,
880     "x": 1812.4999465942383,
881     "y": 1223.499531507492,
882     "z": "cf1e958c.7fbef8",
883     "wires": [
884       [
885         "9de2e39e.9d2c88"
886       ]
887     ]
888   },
889   {
890     "id": "e94227c8.8ebae",
891     "type": "not-found",
892     "name": "not-found",
893     "xml": "<outcome value='not-found'>\n",
894     "comments": "",
895     "outputs": 1,
896     "x": 1819.4999465942383,
897     "y": 1261.499531507492,
898     "z": "cf1e958c.7fbef8",
899     "wires": [
900       [
901         "2833f620.7533ba"
902       ]
903     ]
904   },
905   {
906     "id": "2d9e1f4a.03602",
907     "type": "other",
908     "name": "other",
909     "xml": "<outcome value='Other'>\n",
910     "comments": "",
911     "outputs": 1,
912     "x": 1811.4999465942383,
913     "y": 1303.499531507492,
914     "z": "cf1e958c.7fbef8",
915     "wires": [
916       [
917         "ddb11f26.1e1f6"
918       ]
919     ]
920   },
921   {
922     "id": "2833f620.7533ba",
923     "type": "returnFailure",
924     "name": "return failure",
925     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
926     "comments": "",
927     "x": 1976.4999465942383,
928     "y": 1265.499531507492,
929     "z": "cf1e958c.7fbef8",
930     "wires": []
931   },
932   {
933     "id": "ddb11f26.1e1f6",
934     "type": "returnFailure",
935     "name": "return failure",
936     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
937     "comments": "",
938     "x": 1969.4999465942383,
939     "y": 1312.499531507492,
940     "z": "cf1e958c.7fbef8",
941     "wires": []
942   },
943   {
944     "id": "4abf4c0.6ba8234",
945     "type": "get-resource",
946     "name": "get-resource esr-thirdparty-sdnc",
947     "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",
948     "comments": "",
949     "outputs": 1,
950     "x": 1593.730827331543,
951     "y": 1262.8072967529297,
952     "z": "cf1e958c.7fbef8",
953     "wires": [
954       [
955         "cd3c6fdb.337a48",
956         "e94227c8.8ebae",
957         "2d9e1f4a.03602"
958       ]
959     ]
960   },
961   {
962     "id": "9de2e39e.9d2c88",
963     "type": "set",
964     "name": "set controller data",
965     "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.templateDir' value='/opt/onap/sdnc/data' />\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",
966     "comments": "",
967     "x": 1986.9998779296875,
968     "y": 1219.99951171875,
969     "z": "cf1e958c.7fbef8",
970     "wires": []
971   },
972   {
973     "id": "f7dfb0f6.24b96",
974     "type": "switchNode",
975     "name": "switch tunnelType",
976     "xml": "<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
977     "comments": "",
978     "outputs": 1,
979     "x": 1596.9997215270996,
980     "y": 1539.9994106292725,
981     "z": "cf1e958c.7fbef8",
982     "wires": [
983       [
984         "88dd7f05.8bf64",
985         "ffc3e991.fbb298"
986       ]
987     ]
988   },
989   {
990     "id": "88dd7f05.8bf64",
991     "type": "outcomeTrue",
992     "name": "L3-DCI",
993     "xml": "<outcome value='L3-DCI'>\n",
994     "comments": "",
995     "outputs": 1,
996     "x": 1809.9998512268066,
997     "y": 1519.9994106292725,
998     "z": "cf1e958c.7fbef8",
999     "wires": [
1000       [
1001         "13c2385e.c3283"
1002       ]
1003     ]
1004   },
1005   {
1006     "id": "ffc3e991.fbb298",
1007     "type": "outcomeTrue",
1008     "name": "L2-DCI",
1009     "xml": "<outcome value='L2-DCI'>\n",
1010     "comments": "",
1011     "outputs": 1,
1012     "x": 1807.9996719360352,
1013     "y": 1591.9994106292725,
1014     "z": "cf1e958c.7fbef8",
1015     "wires": [
1016       [
1017         "c8efabdf.31825"
1018       ]
1019     ]
1020   },
1021   {
1022     "id": "f1dbc88c.9a5b98",
1023     "type": "set",
1024     "name": "set id",
1025     "xml": "<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1026     "comments": "",
1027     "x": 2530.500186920166,
1028     "y": 764.9999914169312,
1029     "z": "cf1e958c.7fbef8",
1030     "wires": []
1031   },
1032   {
1033     "id": "c8efabdf.31825",
1034     "type": "execute",
1035     "name": "execute RestApiCallNode Activate Vxlan Tunnel",
1036     "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",
1037     "comments": "",
1038     "outputs": 1,
1039     "x": 2128.000217437744,
1040     "y": 1592.4998359680176,
1041     "z": "cf1e958c.7fbef8",
1042     "wires": [
1043       []
1044     ]
1045   },
1046   {
1047     "id": "8505b154.9fb048",
1048     "type": "outcomeTrue",
1049     "name": "false",
1050     "xml": "<outcome value='false'>\n",
1051     "comments": "",
1052     "outputs": 1,
1053     "x": 2362.000144958496,
1054     "y": 888.9999752044678,
1055     "z": "cf1e958c.7fbef8",
1056     "wires": [
1057       [
1058         "ccff44a9.224988"
1059       ]
1060     ]
1061   },
1062   {
1063     "id": "ccff44a9.224988",
1064     "type": "set",
1065     "name": "set description",
1066     "xml": "<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
1067     "comments": "",
1068     "x": 2543.000213623047,
1069     "y": 883.9999160766602,
1070     "z": "cf1e958c.7fbef8",
1071     "wires": []
1072   },
1073   {
1074     "id": "b67dfe0e.da3b68",
1075     "type": "block",
1076     "name": "block setEvpnIrts",
1077     "xml": "<block atomic=\"true\">\n",
1078     "atomic": "false",
1079     "comments": "",
1080     "outputs": 1,
1081     "x": 2564.999725341797,
1082     "y": 497.5155963897705,
1083     "z": "cf1e958c.7fbef8",
1084     "wires": [
1085       [
1086         "3c4bea54.b82856",
1087         "8b9a2579.97c4d8"
1088       ]
1089     ]
1090   },
1091   {
1092     "id": "3c4bea54.b82856",
1093     "type": "set",
1094     "name": "set evpn_irts",
1095     "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",
1096     "comments": "",
1097     "x": 2810.999725341797,
1098     "y": 448.5155963897705,
1099     "z": "cf1e958c.7fbef8",
1100     "wires": []
1101   },
1102   {
1103     "id": "8b9a2579.97c4d8",
1104     "type": "execute",
1105     "name": "split evpn_irts",
1106     "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",
1107     "comments": "",
1108     "outputs": 1,
1109     "x": 2839.999725341797,
1110     "y": 500.5155963897705,
1111     "z": "cf1e958c.7fbef8",
1112     "wires": [
1113       [
1114         "6faf57d4.2b98a",
1115         "39a28639.e8be62"
1116       ]
1117     ]
1118   },
1119   {
1120     "id": "39a28639.e8be62",
1121     "type": "failure",
1122     "name": "success",
1123     "xml": "<outcome value='success'>\n",
1124     "comments": "",
1125     "outputs": 1,
1126     "x": 3056.999725341797,
1127     "y": 426.5155963897705,
1128     "z": "cf1e958c.7fbef8",
1129     "wires": [
1130       [
1131         "d250c5a8.c94c48"
1132       ]
1133     ]
1134   },
1135   {
1136     "id": "6faf57d4.2b98a",
1137     "type": "failure",
1138     "name": "failure",
1139     "xml": "<outcome value='failure'>\n",
1140     "comments": "",
1141     "outputs": 1,
1142     "x": 3057.999725341797,
1143     "y": 492.5155963897705,
1144     "z": "cf1e958c.7fbef8",
1145     "wires": [
1146       [
1147         "1a465074.76a89"
1148       ]
1149     ]
1150   },
1151   {
1152     "id": "1a465074.76a89",
1153     "type": "returnFailure",
1154     "name": "return failure",
1155     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1156     "comments": "",
1157     "x": 3238.999725341797,
1158     "y": 490.5155963897705,
1159     "z": "cf1e958c.7fbef8",
1160     "wires": []
1161   },
1162   {
1163     "id": "93246b40.56e6f",
1164     "type": "set",
1165     "name": "set evpn_erts",
1166     "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",
1167     "comments": "",
1168     "x": 2807.499725341797,
1169     "y": 591.0156269073486,
1170     "z": "cf1e958c.7fbef8",
1171     "wires": []
1172   },
1173   {
1174     "id": "1e83de39.311f02",
1175     "type": "execute",
1176     "name": "split evpn_erts",
1177     "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",
1178     "comments": "",
1179     "outputs": 1,
1180     "x": 2836.499725341797,
1181     "y": 643.0156269073486,
1182     "z": "cf1e958c.7fbef8",
1183     "wires": [
1184       [
1185         "f9ddad4a.598dd",
1186         "2c373294.e4fa2e"
1187       ]
1188     ]
1189   },
1190   {
1191     "id": "2c373294.e4fa2e",
1192     "type": "failure",
1193     "name": "success",
1194     "xml": "<outcome value='success'>\n",
1195     "comments": "",
1196     "outputs": 1,
1197     "x": 3053.499725341797,
1198     "y": 569.0156269073486,
1199     "z": "cf1e958c.7fbef8",
1200     "wires": [
1201       [
1202         "20631aad.356246"
1203       ]
1204     ]
1205   },
1206   {
1207     "id": "f9ddad4a.598dd",
1208     "type": "failure",
1209     "name": "failure",
1210     "xml": "<outcome value='failure'>\n",
1211     "comments": "",
1212     "outputs": 1,
1213     "x": 3054.499725341797,
1214     "y": 635.0156269073486,
1215     "z": "cf1e958c.7fbef8",
1216     "wires": [
1217       [
1218         "52741d12.107614"
1219       ]
1220     ]
1221   },
1222   {
1223     "id": "52741d12.107614",
1224     "type": "returnFailure",
1225     "name": "return failure",
1226     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1227     "comments": "",
1228     "x": 3235.499725341797,
1229     "y": 633.0156269073486,
1230     "z": "cf1e958c.7fbef8",
1231     "wires": []
1232   },
1233   {
1234     "id": "8e66a40c.ada548",
1235     "type": "block",
1236     "name": "block setEvpnErts",
1237     "xml": "<block atomic=\"true\">\n",
1238     "atomic": "false",
1239     "comments": "",
1240     "outputs": 1,
1241     "x": 2558.4996185302734,
1242     "y": 553.0156841278076,
1243     "z": "cf1e958c.7fbef8",
1244     "wires": [
1245       [
1246         "93246b40.56e6f",
1247         "1e83de39.311f02"
1248       ]
1249     ]
1250   },
1251   {
1252     "id": "d250c5a8.c94c48",
1253     "type": "for",
1254     "name": "for each evpn_irts",
1255     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
1256     "comments": "",
1257     "outputs": 1,
1258     "x": 3259.4998893737793,
1259     "y": 426.0156364440918,
1260     "z": "cf1e958c.7fbef8",
1261     "wires": [
1262       [
1263         "45b9f14c.5a8a78"
1264       ]
1265     ]
1266   },
1267   {
1268     "id": "45b9f14c.5a8a78",
1269     "type": "set",
1270     "name": "set evpn_irt",
1271     "xml": "<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
1272     "comments": "",
1273     "x": 3471.5003814697266,
1274     "y": 426.0157890319824,
1275     "z": "cf1e958c.7fbef8",
1276     "wires": []
1277   },
1278   {
1279     "id": "20631aad.356246",
1280     "type": "for",
1281     "name": "for each evpn_erts",
1282     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
1283     "comments": "",
1284     "outputs": 1,
1285     "x": 3252.999725341797,
1286     "y": 565.0156269073486,
1287     "z": "cf1e958c.7fbef8",
1288     "wires": [
1289       [
1290         "f124e02f.c76418"
1291       ]
1292     ]
1293   },
1294   {
1295     "id": "f124e02f.c76418",
1296     "type": "set",
1297     "name": "set evpn_ert",
1298     "xml": "<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
1299     "comments": "",
1300     "x": 3465.000217437744,
1301     "y": 565.0157794952393,
1302     "z": "cf1e958c.7fbef8",
1303     "wires": []
1304   },
1305   {
1306     "id": "796a7af8.8352e4",
1307     "type": "set",
1308     "name": "set evpn_irts",
1309     "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",
1310     "comments": "",
1311     "x": 2823.999725341797,
1312     "y": 1031.5155658721924,
1313     "z": "cf1e958c.7fbef8",
1314     "wires": []
1315   },
1316   {
1317     "id": "60fc19ba.39f018",
1318     "type": "execute",
1319     "name": "split evpn_irts",
1320     "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",
1321     "comments": "",
1322     "outputs": 1,
1323     "x": 2852.999725341797,
1324     "y": 1083.5155658721924,
1325     "z": "cf1e958c.7fbef8",
1326     "wires": [
1327       [
1328         "e9500a31.e6d9b8",
1329         "6c399572.83feec"
1330       ]
1331     ]
1332   },
1333   {
1334     "id": "6c399572.83feec",
1335     "type": "failure",
1336     "name": "success",
1337     "xml": "<outcome value='success'>\n",
1338     "comments": "",
1339     "outputs": 1,
1340     "x": 3069.999725341797,
1341     "y": 1009.5155658721924,
1342     "z": "cf1e958c.7fbef8",
1343     "wires": [
1344       [
1345         "db50f835.531508"
1346       ]
1347     ]
1348   },
1349   {
1350     "id": "e9500a31.e6d9b8",
1351     "type": "failure",
1352     "name": "failure",
1353     "xml": "<outcome value='failure'>\n",
1354     "comments": "",
1355     "outputs": 1,
1356     "x": 3070.999725341797,
1357     "y": 1075.5155658721924,
1358     "z": "cf1e958c.7fbef8",
1359     "wires": [
1360       [
1361         "344af43b.bbfec4"
1362       ]
1363     ]
1364   },
1365   {
1366     "id": "344af43b.bbfec4",
1367     "type": "returnFailure",
1368     "name": "return failure",
1369     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1370     "comments": "",
1371     "x": 3251.999725341797,
1372     "y": 1073.5155658721924,
1373     "z": "cf1e958c.7fbef8",
1374     "wires": []
1375   },
1376   {
1377     "id": "a47eee0a.4ca01",
1378     "type": "set",
1379     "name": "set evpn_erts",
1380     "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",
1381     "comments": "",
1382     "x": 2820.499725341797,
1383     "y": 1174.0155963897705,
1384     "z": "cf1e958c.7fbef8",
1385     "wires": []
1386   },
1387   {
1388     "id": "ccdb12e8.f8f76",
1389     "type": "execute",
1390     "name": "split evpn_erts",
1391     "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",
1392     "comments": "",
1393     "outputs": 1,
1394     "x": 2849.499725341797,
1395     "y": 1226.0155963897705,
1396     "z": "cf1e958c.7fbef8",
1397     "wires": [
1398       [
1399         "15b778b0.8c6747",
1400         "1bc5be40.aeed72"
1401       ]
1402     ]
1403   },
1404   {
1405     "id": "1bc5be40.aeed72",
1406     "type": "failure",
1407     "name": "success",
1408     "xml": "<outcome value='success'>\n",
1409     "comments": "",
1410     "outputs": 1,
1411     "x": 3066.499725341797,
1412     "y": 1152.0155963897705,
1413     "z": "cf1e958c.7fbef8",
1414     "wires": [
1415       [
1416         "281922c5.76ef56"
1417       ]
1418     ]
1419   },
1420   {
1421     "id": "15b778b0.8c6747",
1422     "type": "failure",
1423     "name": "failure",
1424     "xml": "<outcome value='failure'>\n",
1425     "comments": "",
1426     "outputs": 1,
1427     "x": 3067.499725341797,
1428     "y": 1218.0155963897705,
1429     "z": "cf1e958c.7fbef8",
1430     "wires": [
1431       [
1432         "1917da37.456156"
1433       ]
1434     ]
1435   },
1436   {
1437     "id": "1917da37.456156",
1438     "type": "returnFailure",
1439     "name": "return failure",
1440     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1441     "comments": "",
1442     "x": 3248.499725341797,
1443     "y": 1216.0155963897705,
1444     "z": "cf1e958c.7fbef8",
1445     "wires": []
1446   },
1447   {
1448     "id": "db50f835.531508",
1449     "type": "for",
1450     "name": "for each evpn_irts",
1451     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_irts_length`' >\n\n",
1452     "comments": "",
1453     "outputs": 1,
1454     "x": 3272.4998893737793,
1455     "y": 1009.0156059265137,
1456     "z": "cf1e958c.7fbef8",
1457     "wires": [
1458       [
1459         "de76e6b5.db4778"
1460       ]
1461     ]
1462   },
1463   {
1464     "id": "de76e6b5.db4778",
1465     "type": "set",
1466     "name": "set evpn_irt",
1467     "xml": "<set>\n<parameter name='prop.dci-connects.evpn_irts[$idx]' value='`$tmp.dci-connects.evpn_irts[$idx]`' />\n",
1468     "comments": "",
1469     "x": 3484.5003814697266,
1470     "y": 1009.0157585144043,
1471     "z": "cf1e958c.7fbef8",
1472     "wires": []
1473   },
1474   {
1475     "id": "281922c5.76ef56",
1476     "type": "for",
1477     "name": "for each evpn_erts",
1478     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.evpn_erts_length`' >\n\n",
1479     "comments": "",
1480     "outputs": 1,
1481     "x": 3265.999725341797,
1482     "y": 1148.0155963897705,
1483     "z": "cf1e958c.7fbef8",
1484     "wires": [
1485       [
1486         "2d79e6ba.6ac452"
1487       ]
1488     ]
1489   },
1490   {
1491     "id": "2d79e6ba.6ac452",
1492     "type": "set",
1493     "name": "set evpn_ert",
1494     "xml": "<set>\n<parameter name='prop.dci-connects.evpn_erts[$idx]' value='`$tmp.dci-connects.evpn_erts[$idx]`' />\n",
1495     "comments": "",
1496     "x": 3478.000217437744,
1497     "y": 1148.0157489776611,
1498     "z": "cf1e958c.7fbef8",
1499     "wires": []
1500   },
1501   {
1502     "id": "e5ced29d.00d08",
1503     "type": "block",
1504     "name": "block setEvpnIrts",
1505     "xml": "<block atomic=\"true\">\n",
1506     "atomic": "false",
1507     "comments": "",
1508     "outputs": 1,
1509     "x": 2577.999725341797,
1510     "y": 1080.5155658721924,
1511     "z": "cf1e958c.7fbef8",
1512     "wires": [
1513       [
1514         "796a7af8.8352e4",
1515         "60fc19ba.39f018"
1516       ]
1517     ]
1518   },
1519   {
1520     "id": "199235cd.b410ca",
1521     "type": "block",
1522     "name": "block setEvpnErts",
1523     "xml": "<block atomic=\"true\">\n",
1524     "atomic": "false",
1525     "comments": "",
1526     "outputs": 1,
1527     "x": 2571.4996185302734,
1528     "y": 1136.0156536102295,
1529     "z": "cf1e958c.7fbef8",
1530     "wires": [
1531       [
1532         "a47eee0a.4ca01",
1533         "ccdb12e8.f8f76"
1534       ]
1535     ]
1536   },
1537   {
1538     "id": "243e5ea1.666f7a",
1539     "type": "comment",
1540     "name": "TODO",
1541     "info": "Get information from VFC team about the A&AI location where name to network mapping will be available.",
1542     "comments": "",
1543     "x": 2552.9999771118164,
1544     "y": 365.5156421661377,
1545     "z": "cf1e958c.7fbef8",
1546     "wires": []
1547   },
1548   {
1549     "id": "ab97722c.5d4ce",
1550     "type": "execute",
1551     "name": "execute generate-overlay-network-id",
1552     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.dci.network-id\"/>\n",
1553     "comments": "",
1554     "outputs": 1,
1555     "x": 1383.1666793823242,
1556     "y": 1616.3334283828735,
1557     "z": "cf1e958c.7fbef8",
1558     "wires": [
1559       []
1560     ]
1561   },
1562   {
1563     "id": "9ef95f17.a0015",
1564     "type": "switchNode",
1565     "name": "switch service-data.networks_length",
1566     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
1567     "comments": "",
1568     "outputs": 1,
1569     "x": 1375.1666946411133,
1570     "y": 1686.3334347009659,
1571     "z": "cf1e958c.7fbef8",
1572     "wires": [
1573       [
1574         "43323e6.68001c",
1575         "e3dee700.85526"
1576       ]
1577     ]
1578   },
1579   {
1580     "id": "43323e6.68001c",
1581     "type": "other",
1582     "name": "Null",
1583     "xml": "<outcome value=''>\n",
1584     "comments": "",
1585     "outputs": 1,
1586     "x": 1648.9762649536133,
1587     "y": 1655.2858272790909,
1588     "z": "cf1e958c.7fbef8",
1589     "wires": [
1590       [
1591         "b3ef8065.c2b5f"
1592       ]
1593     ]
1594   },
1595   {
1596     "id": "e3dee700.85526",
1597     "type": "other",
1598     "name": "other",
1599     "xml": "<outcome value='Other'>\n",
1600     "comments": "",
1601     "outputs": 1,
1602     "x": 1643.8334426879883,
1603     "y": 1701.0001217126846,
1604     "z": "cf1e958c.7fbef8",
1605     "wires": [
1606       [
1607         "4d22c774.611da8"
1608       ]
1609     ]
1610   },
1611   {
1612     "id": "b3ef8065.c2b5f",
1613     "type": "set",
1614     "name": "set nidx",
1615     "xml": "<set>\n<parameter name='nidx' value='0' />\n",
1616     "comments": "",
1617     "x": 1801.9762649536133,
1618     "y": 1654.8572384119034,
1619     "z": "cf1e958c.7fbef8",
1620     "wires": []
1621   },
1622   {
1623     "id": "4d22c774.611da8",
1624     "type": "set",
1625     "name": "set nidx",
1626     "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
1627     "comments": "",
1628     "x": 1803.4048538208008,
1629     "y": 1699.8572994470596,
1630     "z": "cf1e958c.7fbef8",
1631     "wires": []
1632   },
1633   {
1634     "id": "651071ce.194a2",
1635     "type": "set",
1636     "name": "set network in service-data",
1637     "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",
1638     "comments": "",
1639     "x": 1347.1666793823242,
1640     "y": 1758.3334369659424,
1641     "z": "cf1e958c.7fbef8",
1642     "wires": []
1643   },
1644   {
1645     "id": "5c1bffb4.63e308",
1646     "type": "block",
1647     "name": "block : saveNetworkData",
1648     "xml": "<block atomic=\"true\">",
1649     "atomic": "true",
1650     "comments": "",
1651     "outputs": 1,
1652     "x": 1043.4999313354492,
1653     "y": 1597.6666278839111,
1654     "z": "cf1e958c.7fbef8",
1655     "wires": [
1656       [
1657         "ab97722c.5d4ce",
1658         "9ef95f17.a0015",
1659         "651071ce.194a2",
1660         "9eebec9d.2f3c9"
1661       ]
1662     ]
1663   },
1664   {
1665     "id": "9eebec9d.2f3c9",
1666     "type": "set",
1667     "name": "set networkId and network-object-path",
1668     "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/'` \" />",
1669     "comments": "",
1670     "x": 1379.4999313354492,
1671     "y": 1828.0000019073486,
1672     "z": "cf1e958c.7fbef8",
1673     "wires": []
1674   },
1675   {
1676     "id": "9eb66fb5.27033",
1677     "type": "record",
1678     "name": "record",
1679     "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`\"/>",
1680     "comments": "",
1681     "outputs": 1,
1682     "x": 1561.833724975586,
1683     "y": 1456.6667127609253,
1684     "z": "cf1e958c.7fbef8",
1685     "wires": [
1686       []
1687     ]
1688   },
1689   {
1690     "id": "d334df3b.7e75d8",
1691     "type": "comment",
1692     "name": "TODO",
1693     "info": "Currently activate is done without assignment, later divide in two phases.",
1694     "comments": "",
1695     "x": 1338.4999313354492,
1696     "y": 90.66666603088379,
1697     "z": "cf1e958c.7fbef8",
1698     "wires": []
1699   },
1700   {
1701     "id": "c4b84815.27de5",
1702     "type": "block",
1703     "name": "block setLocalNetworks",
1704     "xml": "<block atomic=\"true\">\n",
1705     "atomic": "false",
1706     "comments": "",
1707     "outputs": 1,
1708     "x": 2561,
1709     "y": 960,
1710     "z": "cf1e958c.7fbef8",
1711     "wires": [
1712       [
1713         "fd7ef12a.af13a8",
1714         "431dac78.a25634"
1715       ]
1716     ]
1717   },
1718   {
1719     "id": "fd7ef12a.af13a8",
1720     "type": "set",
1721     "name": "set local_networks",
1722     "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",
1723     "comments": "",
1724     "x": 2764,
1725     "y": 895,
1726     "z": "cf1e958c.7fbef8",
1727     "wires": []
1728   },
1729   {
1730     "id": "431dac78.a25634",
1731     "type": "execute",
1732     "name": "split local_networks",
1733     "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",
1734     "comments": "",
1735     "outputs": 1,
1736     "x": 2793,
1737     "y": 947,
1738     "z": "cf1e958c.7fbef8",
1739     "wires": [
1740       [
1741         "b26744aa.5ef5f8",
1742         "4f0191d.7bcab7"
1743       ]
1744     ]
1745   },
1746   {
1747     "id": "b26744aa.5ef5f8",
1748     "type": "failure",
1749     "name": "success",
1750     "xml": "<outcome value='success'>\n",
1751     "comments": "",
1752     "outputs": 1,
1753     "x": 2990,
1754     "y": 882,
1755     "z": "cf1e958c.7fbef8",
1756     "wires": [
1757       [
1758         "7b77b046.9a18c"
1759       ]
1760     ]
1761   },
1762   {
1763     "id": "4f0191d.7bcab7",
1764     "type": "failure",
1765     "name": "failure",
1766     "xml": "<outcome value='failure'>\n",
1767     "comments": "",
1768     "outputs": 1,
1769     "x": 2991,
1770     "y": 948,
1771     "z": "cf1e958c.7fbef8",
1772     "wires": [
1773       [
1774         "5dbbe62.d3c5198"
1775       ]
1776     ]
1777   },
1778   {
1779     "id": "5dbbe62.d3c5198",
1780     "type": "returnFailure",
1781     "name": "return failure",
1782     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1783     "comments": "",
1784     "x": 3172,
1785     "y": 946,
1786     "z": "cf1e958c.7fbef8",
1787     "wires": []
1788   },
1789   {
1790     "id": "7b77b046.9a18c",
1791     "type": "for",
1792     "name": "for each local_networks",
1793     "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.local_networks_length`' >\n\n",
1794     "comments": "",
1795     "outputs": 1,
1796     "x": 3192.5001640319824,
1797     "y": 881.5000400543213,
1798     "z": "cf1e958c.7fbef8",
1799     "wires": [
1800       [
1801         "481aa367.49438c"
1802       ]
1803     ]
1804   },
1805   {
1806     "id": "481aa367.49438c",
1807     "type": "get-resource",
1808     "name": "get-resource l3-network",
1809     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-network\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.dci-connects.local_networks[$idx] AND \n\t\t     depth = '0'\"\n        pfx='tmp.aai.l3-network' local-only='false' >\n",
1810     "comments": "",
1811     "outputs": 1,
1812     "x": 3465,
1813     "y": 880,
1814     "z": "cf1e958c.7fbef8",
1815     "wires": [
1816       [
1817         "f9f232d0.230d9",
1818         "ec03fafa.3b0368",
1819         "9c02da41.94b9a"
1820       ]
1821     ]
1822   },
1823   {
1824     "id": "f9f232d0.230d9",
1825     "type": "success",
1826     "name": "success",
1827     "xml": "<outcome value='success'>\n",
1828     "comments": "",
1829     "outputs": 1,
1830     "x": 3683.7691192626953,
1831     "y": 840.6922347545624,
1832     "z": "cf1e958c.7fbef8",
1833     "wires": [
1834       [
1835         "a65e1ab.dd1dde8"
1836       ]
1837     ]
1838   },
1839   {
1840     "id": "ec03fafa.3b0368",
1841     "type": "not-found",
1842     "name": "not-found",
1843     "xml": "<outcome value='not-found'>\n",
1844     "comments": "",
1845     "outputs": 1,
1846     "x": 3690.7691192626953,
1847     "y": 878.6922347545624,
1848     "z": "cf1e958c.7fbef8",
1849     "wires": [
1850       [
1851         "2c2a4f31.2b7338"
1852       ]
1853     ]
1854   },
1855   {
1856     "id": "9c02da41.94b9a",
1857     "type": "other",
1858     "name": "other",
1859     "xml": "<outcome value='Other'>\n",
1860     "comments": "",
1861     "outputs": 1,
1862     "x": 3682.7691192626953,
1863     "y": 920.6922347545624,
1864     "z": "cf1e958c.7fbef8",
1865     "wires": [
1866       [
1867         "ae479c4c.16ee9"
1868       ]
1869     ]
1870   },
1871   {
1872     "id": "2c2a4f31.2b7338",
1873     "type": "returnFailure",
1874     "name": "return failure",
1875     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1876     "comments": "",
1877     "x": 3847.7691192626953,
1878     "y": 882.6922347545624,
1879     "z": "cf1e958c.7fbef8",
1880     "wires": []
1881   },
1882   {
1883     "id": "ae479c4c.16ee9",
1884     "type": "returnFailure",
1885     "name": "return failure",
1886     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1887     "comments": "",
1888     "x": 3840.7691192626953,
1889     "y": 929.6922347545624,
1890     "z": "cf1e958c.7fbef8",
1891     "wires": []
1892   },
1893   {
1894     "id": "a65e1ab.dd1dde8",
1895     "type": "set",
1896     "name": "set network-id",
1897     "xml": "<set>\n<parameter name='prop.dci-connects.local_networks[$idx]' value=\"`$tmp.aai.l3-network.network-id`\" />\n",
1898     "comments": "",
1899     "x": 3858.2690505981445,
1900     "y": 837.1922149658203,
1901     "z": "cf1e958c.7fbef8",
1902     "wires": []
1903   },
1904   {
1905     "id": "56f7544c.7d9984",
1906     "type": "save",
1907     "name": "save overlay configuration in AAI",
1908     "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",
1909     "comments": "",
1910     "outputs": 1,
1911     "x": 794,
1912     "y": 1031,
1913     "z": "cf1e958c.7fbef8",
1914     "wires": [
1915       []
1916     ]
1917   },
1918   {
1919     "id": "168e5d62.705303",
1920     "type": "save",
1921     "name": "save service relationship in AAI",
1922     "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\" />",
1923     "comments": "",
1924     "outputs": 1,
1925     "x": 801,
1926     "y": 1113,
1927     "z": "cf1e958c.7fbef8",
1928     "wires": [
1929       []
1930     ]
1931   }
1932 ]