Merge "Update DG network-topology-operation-deactivate"
[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":"2a040436.290c8c",
4     "type":"dgstart",
5     "name":"DGSTART",
6     "outputs":1,
7     "x":153.515625,
8     "y":124.515625,
9     "z":"17ff3bf3.2a2c24",
10     "wires":[
11       [
12         "8161f964.80e1c8"
13       ]
14     ]
15   },
16   {
17     "id":"8161f964.80e1c8",
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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
24     "outputs":1,
25     "x":370.015625,
26     "y":187.015625,
27     "z":"17ff3bf3.2a2c24",
28     "wires":[
29       [
30         "30fee650.ed9d0a"
31       ]
32     ]
33   },
34   {
35     "id":"30fee650.ed9d0a",
36     "type":"method",
37     "name":"method network-topology-operation-activate",
38     "xml":"<method rpc='network-topology-operation-activate' mode='sync'>\n",
39     "comments":"",
40     "outputs":1,
41     "x":278.0156555175781,
42     "y":282.01560974121094,
43     "z":"17ff3bf3.2a2c24",
44     "wires":[
45       [
46         "20d450e0.f9c5c"
47       ]
48     ]
49   },
50   {
51     "id":"20d450e0.f9c5c",
52     "type":"block",
53     "name":"block : atomic",
54     "xml":"<block atomic=\"true\">",
55     "atomic":"true",
56     "outputs":1,
57     "x":575.8489685058594,
58     "y":289.8489532470703,
59     "z":"17ff3bf3.2a2c24",
60     "wires":[
61       [
62         "2a5bea3e.9ac986",
63         "69c54932.e08388",
64         "35413b11.2f5d34"
65       ]
66     ]
67   },
68   {
69     "id":"69c54932.e08388",
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":965.8489685058594,
76     "y":154.8489532470703,
77     "z":"17ff3bf3.2a2c24",
78     "wires":[
79       [
80
81       ]
82     ]
83   },
84   {
85     "id":"896ee5a6.83b038",
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":1483.8492584228516,
92     "y":427.849014043808,
93     "z":"17ff3bf3.2a2c24",
94     "wires":[
95       [
96         "af2f5aa0.9db4d8"
97       ]
98     ]
99   },
100   {
101     "id":"af2f5aa0.9db4d8",
102     "type":"block",
103     "name":"block",
104     "xml":"<block>\n",
105     "atomic":"false",
106     "comments":"",
107     "outputs":1,
108     "x":1730.8491668701172,
109     "y":425.84898352622986,
110     "z":"17ff3bf3.2a2c24",
111     "wires":[
112       [
113         "c1ee07c8.a78ae8",
114         "a6b6dbe6.38ccc8",
115         "9e54353d.d1bfc8",
116         "66bffa85.510244",
117         "4785e157.899f7",
118         "663f250e.61399c",
119         "fab15712.1348c8",
120         "586d46f5.85b668",
121         "ec24e74c.17dbe8"
122       ]
123     ]
124   },
125   {
126     "id":"c1ee07c8.a78ae8",
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":2217.84952545166,
133     "y":301.84910011291504,
134     "z":"17ff3bf3.2a2c24",
135     "wires":[
136       [
137         "327b4262.8149de"
138       ]
139     ]
140   },
141   {
142     "id":"a6b6dbe6.38ccc8",
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":2245.84952545166,
149     "y":355.8490858078003,
150     "z":"17ff3bf3.2a2c24",
151     "wires":[
152       [
153         "514eeef4.8a908"
154       ]
155     ]
156   },
157   {
158     "id":"9e54353d.d1bfc8",
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":2234.8493118286133,
165     "y":486.849045753479,
166     "z":"17ff3bf3.2a2c24",
167     "wires":[
168       [
169         "53af1349.89045c"
170       ]
171     ]
172   },
173   {
174     "id":"66bffa85.510244",
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":2243.1350479125977,
181     "y":548.1347990036011,
182     "z":"17ff3bf3.2a2c24",
183     "wires":[
184       [
185         "83930cf2.7360d"
186       ]
187     ]
188   },
189   {
190     "id":"4785e157.899f7",
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":2244.135108947754,
197     "y":612.1347697973251,
198     "z":"17ff3bf3.2a2c24",
199     "wires":[
200       [
201         "534f57af.d494e8"
202       ]
203     ]
204   },
205   {
206     "id":"663f250e.61399c",
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":2215.135078430176,
213     "y":675.134801864624,
214     "z":"17ff3bf3.2a2c24",
215     "wires":[
216       [
217         "c26455d8.5ef828"
218       ]
219     ]
220   },
221   {
222     "id":"327b4262.8149de",
223     "type":"outcomeTrue",
224     "name":"true",
225     "xml":"<outcome value='true'>\n",
226     "comments":"",
227     "outputs":1,
228     "x":2432.84952545166,
229     "y":300.84910011291504,
230     "z":"17ff3bf3.2a2c24",
231     "wires":[
232       [
233         "43d13ebf.45445"
234       ]
235     ]
236   },
237   {
238     "id":"514eeef4.8a908",
239     "type":"outcomeTrue",
240     "name":"true",
241     "xml":"<outcome value='true'>\n",
242     "comments":"",
243     "outputs":1,
244     "x":2443.84952545166,
245     "y":355.8490858078003,
246     "z":"17ff3bf3.2a2c24",
247     "wires":[
248       [
249         "a9b60a7b.f654d8"
250       ]
251     ]
252   },
253   {
254     "id":"53af1349.89045c",
255     "type":"outcomeTrue",
256     "name":"true",
257     "xml":"<outcome value='true'>\n",
258     "comments":"",
259     "outputs":1,
260     "x":2439.8493118286133,
261     "y":485.849045753479,
262     "z":"17ff3bf3.2a2c24",
263     "wires":[
264       [
265         "9f81d7be.b3b6e8"
266       ]
267     ]
268   },
269   {
270     "id":"83930cf2.7360d",
271     "type":"outcomeTrue",
272     "name":"true",
273     "xml":"<outcome value='true'>\n",
274     "comments":"",
275     "outputs":1,
276     "x":2445.1350479125977,
277     "y":547.1347990036011,
278     "z":"17ff3bf3.2a2c24",
279     "wires":[
280       [
281
282       ]
283     ]
284   },
285   {
286     "id":"534f57af.d494e8",
287     "type":"outcomeTrue",
288     "name":"true",
289     "xml":"<outcome value='true'>\n",
290     "comments":"",
291     "outputs":1,
292     "x":2440.135108947754,
293     "y":609.1347697973251,
294     "z":"17ff3bf3.2a2c24",
295     "wires":[
296       [
297
298       ]
299     ]
300   },
301   {
302     "id":"c26455d8.5ef828",
303     "type":"outcomeTrue",
304     "name":"true",
305     "xml":"<outcome value='true'>\n",
306     "comments":"",
307     "outputs":1,
308     "x":2421.135078430176,
309     "y":675.134801864624,
310     "z":"17ff3bf3.2a2c24",
311     "wires":[
312       [
313         "8be01263.8a302"
314       ]
315     ]
316   },
317   {
318     "id":"a9b60a7b.f654d8",
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":2625.84952545166,
324     "y":348.8490858078003,
325     "z":"17ff3bf3.2a2c24",
326     "wires":[
327
328     ]
329   },
330   {
331     "id":"9f81d7be.b3b6e8",
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":2630.8495330810547,
337     "y":478.8491325378418,
338     "z":"17ff3bf3.2a2c24",
339     "wires":[
340
341     ]
342   },
343   {
344     "id":"8be01263.8a302",
345     "type":"set",
346     "name":"set l3_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":2591.135078430176,
350     "y":667.134801864624,
351     "z":"17ff3bf3.2a2c24",
352     "wires":[
353
354     ]
355   },
356   {
357     "id":"2a5bea3e.9ac986",
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":798.1347961425781,
363     "y":1130.5633239746094,
364     "z":"17ff3bf3.2a2c24",
365     "wires":[
366
367     ]
368   },
369   {
370     "id":"fab15712.1348c8",
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":2229.0160598754883,
377     "y":243.01573181152344,
378     "z":"17ff3bf3.2a2c24",
379     "wires":[
380       [
381         "5e5a3418.1941bc"
382       ]
383     ]
384   },
385   {
386     "id":"5e5a3418.1941bc",
387     "type":"outcomeTrue",
388     "name":"true",
389     "xml":"<outcome value='true'>\n",
390     "comments":"",
391     "outputs":1,
392     "x":2427.0160598754883,
393     "y":243.01573181152344,
394     "z":"17ff3bf3.2a2c24",
395     "wires":[
396       [
397         "5ff1b9ff.668d98"
398       ]
399     ]
400   },
401   {
402     "id":"5ff1b9ff.668d98",
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":2609.0160598754883,
408     "y":236.01573181152344,
409     "z":"17ff3bf3.2a2c24",
410     "wires":[
411
412     ]
413   },
414   {
415     "id":"586d46f5.85b668",
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":2252.5158462524414,
422     "y":422.0156717300415,
423     "z":"17ff3bf3.2a2c24",
424     "wires":[
425       [
426         "42b0bf4c.61f81"
427       ]
428     ]
429   },
430   {
431     "id":"42b0bf4c.61f81",
432     "type":"outcomeTrue",
433     "name":"true",
434     "xml":"<outcome value='true'>\n",
435     "comments":"",
436     "outputs":1,
437     "x":2450.5158462524414,
438     "y":422.0156717300415,
439     "z":"17ff3bf3.2a2c24",
440     "wires":[
441       [
442
443       ]
444     ]
445   },
446   {
447     "id":"35413b11.2f5d34",
448     "type":"block",
449     "name":"block : execute",
450     "xml":"<block atomic=\"true\">",
451     "atomic":"true",
452     "comments":"",
453     "outputs":1,
454     "x":799.5155563354492,
455     "y":663.0156707763672,
456     "z":"17ff3bf3.2a2c24",
457     "wires":[
458       [
459         "44be3858.556028",
460         "82979b1a.ffa758"
461       ]
462     ]
463   },
464   {
465     "id":"44be3858.556028",
466     "type":"block",
467     "name":"block : executeSite1",
468     "xml":"<block atomic=\"true\">",
469     "atomic":"true",
470     "comments":"",
471     "outputs":1,
472     "x":1092.0156173706055,
473     "y":487.5156469345093,
474     "z":"17ff3bf3.2a2c24",
475     "wires":[
476       [
477         "896ee5a6.83b038",
478         "6a6dccab.683c44"
479       ]
480     ]
481   },
482   {
483     "id":"82979b1a.ffa758",
484     "type":"block",
485     "name":"block : executeSite2",
486     "xml":"<block atomic=\"true\">",
487     "atomic":"true",
488     "comments":"",
489     "outputs":1,
490     "x":1109.0156631469727,
491     "y":1003.5156297683716,
492     "z":"17ff3bf3.2a2c24",
493     "wires":[
494       [
495         "de7fc2e1.99f1a",
496         "6a6dccab.683c44"
497       ]
498     ]
499   },
500   {
501     "id":"77dd9b7e.75bb04",
502     "type":"switchNode",
503     "name":"switch id",
504     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n",
505     "comments":"",
506     "outputs":1,
507     "x":2203.515869140625,
508     "y":822.5155639648438,
509     "z":"17ff3bf3.2a2c24",
510     "wires":[
511       [
512         "fa545715.6bc4d8"
513       ]
514     ]
515   },
516   {
517     "id":"cbab9cb6.9af94",
518     "type":"switchNode",
519     "name":"switch description",
520     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_description'`\">\n",
521     "comments":"",
522     "outputs":1,
523     "x":2227.5162200927734,
524     "y":881.515570640564,
525     "z":"17ff3bf3.2a2c24",
526     "wires":[
527       [
528         "eca3282e.6ef838",
529         "e75e638.f112aa"
530       ]
531     ]
532   },
533   {
534     "id":"2b87cf93.6aebd",
535     "type":"switchNode",
536     "name":"switch routerId",
537     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n",
538     "comments":"",
539     "outputs":1,
540     "x":2236.515609741211,
541     "y":1077.5155363082886,
542     "z":"17ff3bf3.2a2c24",
543     "wires":[
544       [
545         "5395f6bd.9d59d8"
546       ]
547     ]
548   },
549   {
550     "id":"1400dc59.ed1ce4",
551     "type":"switchNode",
552     "name":"switch importRT1",
553     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n",
554     "comments":"",
555     "outputs":1,
556     "x":2244.8013458251953,
557     "y":1138.8012895584106,
558     "z":"17ff3bf3.2a2c24",
559     "wires":[
560       [
561         "bb1a369b.7663b8"
562       ]
563     ]
564   },
565   {
566     "id":"7f102eb1.e249d",
567     "type":"switchNode",
568     "name":"switch exportRT1",
569     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_exportRT1'`\">\n",
570     "comments":"",
571     "outputs":1,
572     "x":2245.8014068603516,
573     "y":1202.8012603521347,
574     "z":"17ff3bf3.2a2c24",
575     "wires":[
576       [
577         "92bb4854.187448"
578       ]
579     ]
580   },
581   {
582     "id":"e8e9faf3.7fedc8",
583     "type":"switchNode",
584     "name":"switch vni",
585     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n",
586     "comments":"",
587     "outputs":1,
588     "x":2216.8013763427734,
589     "y":1265.8012924194336,
590     "z":"17ff3bf3.2a2c24",
591     "wires":[
592       [
593         "f8be59bd.a42528"
594       ]
595     ]
596   },
597   {
598     "id":"fa545715.6bc4d8",
599     "type":"outcomeTrue",
600     "name":"true",
601     "xml":"<outcome value='true'>\n",
602     "comments":"",
603     "outputs":1,
604     "x":2418.515869140625,
605     "y":821.5155639648438,
606     "z":"17ff3bf3.2a2c24",
607     "wires":[
608       [
609         "f8a4213a.dfd9b"
610       ]
611     ]
612   },
613   {
614     "id":"eca3282e.6ef838",
615     "type":"outcomeTrue",
616     "name":"true",
617     "xml":"<outcome value='true'>\n",
618     "comments":"",
619     "outputs":1,
620     "x":2425.5162200927734,
621     "y":881.515570640564,
622     "z":"17ff3bf3.2a2c24",
623     "wires":[
624       [
625         "52d4304f.1112c"
626       ]
627     ]
628   },
629   {
630     "id":"5395f6bd.9d59d8",
631     "type":"outcomeTrue",
632     "name":"true",
633     "xml":"<outcome value='true'>\n",
634     "comments":"",
635     "outputs":1,
636     "x":2441.515609741211,
637     "y":1076.5155363082886,
638     "z":"17ff3bf3.2a2c24",
639     "wires":[
640       [
641         "6207e038.3cb7a"
642       ]
643     ]
644   },
645   {
646     "id":"bb1a369b.7663b8",
647     "type":"outcomeTrue",
648     "name":"true",
649     "xml":"<outcome value='true'>\n",
650     "comments":"",
651     "outputs":1,
652     "x":2446.8013458251953,
653     "y":1137.8012895584106,
654     "z":"17ff3bf3.2a2c24",
655     "wires":[
656       [
657
658       ]
659     ]
660   },
661   {
662     "id":"92bb4854.187448",
663     "type":"outcomeTrue",
664     "name":"true",
665     "xml":"<outcome value='true'>\n",
666     "comments":"",
667     "outputs":1,
668     "x":2441.8014068603516,
669     "y":1199.8012603521347,
670     "z":"17ff3bf3.2a2c24",
671     "wires":[
672       [
673
674       ]
675     ]
676   },
677   {
678     "id":"f8be59bd.a42528",
679     "type":"outcomeTrue",
680     "name":"true",
681     "xml":"<outcome value='true'>\n",
682     "comments":"",
683     "outputs":1,
684     "x":2422.8013763427734,
685     "y":1265.8012924194336,
686     "z":"17ff3bf3.2a2c24",
687     "wires":[
688       [
689         "a6ac757.8e55c88"
690       ]
691     ]
692   },
693   {
694     "id":"52d4304f.1112c",
695     "type":"set",
696     "name":"set description",
697     "xml":"<set>\n<parameter name='prop.dci-connects.description' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
698     "comments":"",
699     "x":2607.5162200927734,
700     "y":874.515570640564,
701     "z":"17ff3bf3.2a2c24",
702     "wires":[
703
704     ]
705   },
706   {
707     "id":"6207e038.3cb7a",
708     "type":"set",
709     "name":"set router_id",
710     "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",
711     "comments":"",
712     "x":2632.5158309936523,
713     "y":1069.5156230926514,
714     "z":"17ff3bf3.2a2c24",
715     "wires":[
716
717     ]
718   },
719   {
720     "id":"a6ac757.8e55c88",
721     "type":"set",
722     "name":"set l3_vni",
723     "xml":"<set>\n<parameter name='prop.dci-connects.vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
724     "comments":"",
725     "x":2592.8013763427734,
726     "y":1257.8012924194336,
727     "z":"17ff3bf3.2a2c24",
728     "wires":[
729
730     ]
731   },
732   {
733     "id":"8a2a845c.c20518",
734     "type":"switchNode",
735     "name":"switch networkName",
736     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n",
737     "comments":"",
738     "outputs":1,
739     "x":2254.182144165039,
740     "y":1012.6821622848511,
741     "z":"17ff3bf3.2a2c24",
742     "wires":[
743       [
744         "cba705fe.7fbd68"
745       ]
746     ]
747   },
748   {
749     "id":"cba705fe.7fbd68",
750     "type":"outcomeTrue",
751     "name":"true",
752     "xml":"<outcome value='true'>\n",
753     "comments":"",
754     "outputs":1,
755     "x":2452.182144165039,
756     "y":1012.6821622848511,
757     "z":"17ff3bf3.2a2c24",
758     "wires":[
759       [
760
761       ]
762     ]
763   },
764   {
765     "id":"7621d3f.20db72c",
766     "type":"block",
767     "name":"block",
768     "xml":"<block>\n",
769     "atomic":"false",
770     "comments":"",
771     "outputs":1,
772     "x":1722.5153198242188,
773     "y":944.5155217647552,
774     "z":"17ff3bf3.2a2c24",
775     "wires":[
776       [
777         "77dd9b7e.75bb04",
778         "cbab9cb6.9af94",
779         "2b87cf93.6aebd",
780         "1400dc59.ed1ce4",
781         "7f102eb1.e249d",
782         "e8e9faf3.7fedc8",
783         "8a2a845c.c20518"
784       ]
785     ]
786   },
787   {
788     "id":"de7fc2e1.99f1a",
789     "type":"for",
790     "name":"for each network-input-parameters",
791     "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
792     "comments":"",
793     "outputs":1,
794     "x":1475.5154113769531,
795     "y":946.5155522823334,
796     "z":"17ff3bf3.2a2c24",
797     "wires":[
798       [
799         "7621d3f.20db72c"
800       ]
801     ]
802   },
803   {
804     "id":"43d13ebf.45445",
805     "type":"set",
806     "name":"set id",
807     "xml":"<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
808     "comments":"",
809     "x":2614.5159072875977,
810     "y":294.5156497955322,
811     "z":"17ff3bf3.2a2c24",
812     "wires":[
813
814     ]
815   },
816   {
817     "id":"ec24e74c.17dbe8",
818     "type":"switchNode",
819     "name":"switch tunnelType",
820     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n",
821     "comments":"",
822     "outputs":1,
823     "x":2234.015625,
824     "y":744.5155639648438,
825     "z":"17ff3bf3.2a2c24",
826     "wires":[
827       [
828         "12f5c8b9.553a97"
829       ]
830     ]
831   },
832   {
833     "id":"12f5c8b9.553a97",
834     "type":"outcomeTrue",
835     "name":"true",
836     "xml":"<outcome value='true'>\n",
837     "comments":"",
838     "outputs":1,
839     "x":2440.015625,
840     "y":744.5155639648438,
841     "z":"17ff3bf3.2a2c24",
842     "wires":[
843       [
844         "ea283679.45ebf8"
845       ]
846     ]
847   },
848   {
849     "id":"ea283679.45ebf8",
850     "type":"set",
851     "name":"set tunnelType",
852     "xml":"<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
853     "comments":"",
854     "x":2610.015625,
855     "y":736.5155639648438,
856     "z":"17ff3bf3.2a2c24",
857     "wires":[
858
859     ]
860   },
861   {
862     "id":"6a6dccab.683c44",
863     "type":"block",
864     "name":"block : sendRequest",
865     "xml":"<block atomic=\"true\">",
866     "atomic":"true",
867     "comments":"",
868     "outputs":1,
869     "x":1388.0156440734863,
870     "y":1504.0155696868896,
871     "z":"17ff3bf3.2a2c24",
872     "wires":[
873       [
874         "689b1559.c8e0ac",
875         "6b04340b.667f8c",
876         "e59ef441.ec3b38"
877       ]
878     ]
879   },
880   {
881     "id":"dc085795.91fbb8",
882     "type":"execute",
883     "name":"execute RestApiCallNode Activate Vxlan Tunnel",
884     "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",
885     "comments":"",
886     "outputs":1,
887     "x":2196.0159187316895,
888     "y":1567.0155248641968,
889     "z":"17ff3bf3.2a2c24",
890     "wires":[
891       [
892
893       ]
894     ]
895   },
896   {
897     "id":"ff1f7cdd.1de74",
898     "type":"success",
899     "name":"success",
900     "xml":"<outcome value='success'>\n",
901     "comments":"",
902     "outputs":1,
903     "x":1881.5154113769531,
904     "y":1356.0150890350342,
905     "z":"17ff3bf3.2a2c24",
906     "wires":[
907       [
908         "8fb0b02d.400ca"
909       ]
910     ]
911   },
912   {
913     "id":"2e24b7ed.4af348",
914     "type":"not-found",
915     "name":"not-found",
916     "xml":"<outcome value='not-found'>\n",
917     "comments":"",
918     "outputs":1,
919     "x":1888.5154113769531,
920     "y":1394.0150890350342,
921     "z":"17ff3bf3.2a2c24",
922     "wires":[
923       [
924         "eabc77a3.4c68d8"
925       ]
926     ]
927   },
928   {
929     "id":"d482f537.fd1128",
930     "type":"other",
931     "name":"other",
932     "xml":"<outcome value='Other'>\n",
933     "comments":"",
934     "outputs":1,
935     "x":1880.5154113769531,
936     "y":1436.0150890350342,
937     "z":"17ff3bf3.2a2c24",
938     "wires":[
939       [
940         "2834746.db4418c"
941       ]
942     ]
943   },
944   {
945     "id":"8fb0b02d.400ca",
946     "type":"block",
947     "name":"block : atomic",
948     "xml":"<block atomic=\"true\">\n",
949     "atomic":"false",
950     "comments":"",
951     "outputs":1,
952     "x":2046.5154113769531,
953     "y":1345.0150890350342,
954     "z":"17ff3bf3.2a2c24",
955     "wires":[
956       [
957
958       ]
959     ]
960   },
961   {
962     "id":"eabc77a3.4c68d8",
963     "type":"returnFailure",
964     "name":"return failure",
965     "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
966     "comments":"",
967     "x":2045.5154113769531,
968     "y":1398.0150890350342,
969     "z":"17ff3bf3.2a2c24",
970     "wires":[
971
972     ]
973   },
974   {
975     "id":"2834746.db4418c",
976     "type":"returnFailure",
977     "name":"return failure",
978     "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
979     "comments":"",
980     "x":2038.5154113769531,
981     "y":1445.0150890350342,
982     "z":"17ff3bf3.2a2c24",
983     "wires":[
984
985     ]
986   },
987   {
988     "id":"689b1559.c8e0ac",
989     "type":"get-resource",
990     "name":"get-resource dci-connects",
991     "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",
992     "comments":"",
993     "outputs":1,
994     "x":1693.5155334472656,
995     "y":1403.0151081085205,
996     "z":"17ff3bf3.2a2c24",
997     "wires":[
998       [
999         "ff1f7cdd.1de74",
1000         "2e24b7ed.4af348",
1001         "d482f537.fd1128"
1002       ]
1003     ]
1004   },
1005   {
1006     "id":"6b04340b.667f8c",
1007     "type":"set",
1008     "name":"set controller data",
1009     "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",
1010     "comments":"",
1011     "x":1665.0153846740723,
1012     "y":1504.5150623321533,
1013     "z":"17ff3bf3.2a2c24",
1014     "wires":[
1015
1016     ]
1017   },
1018   {
1019     "id":"e59ef441.ec3b38",
1020     "type":"switchNode",
1021     "name":"switch tunnelType",
1022     "xml":"<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
1023     "comments":"",
1024     "outputs":1,
1025     "x":1659.0153770446777,
1026     "y":1591.5150356292725,
1027     "z":"17ff3bf3.2a2c24",
1028     "wires":[
1029       [
1030         "c8be8edd.1a0fe",
1031         "22e73278.5a70de"
1032       ]
1033     ]
1034   },
1035   {
1036     "id":"c8be8edd.1a0fe",
1037     "type":"outcomeTrue",
1038     "name":"L3-DCI",
1039     "xml":"<outcome value='L3-DCI'>\n",
1040     "comments":"",
1041     "outputs":1,
1042     "x":1872.0155067443848,
1043     "y":1571.5150356292725,
1044     "z":"17ff3bf3.2a2c24",
1045     "wires":[
1046       [
1047         "dc085795.91fbb8"
1048       ]
1049     ]
1050   },
1051   {
1052     "id":"22e73278.5a70de",
1053     "type":"outcomeTrue",
1054     "name":"L2-DCI",
1055     "xml":"<outcome value='L2-DCI'>\n",
1056     "comments":"",
1057     "outputs":1,
1058     "x":1870.0153274536133,
1059     "y":1643.5150356292725,
1060     "z":"17ff3bf3.2a2c24",
1061     "wires":[
1062       [
1063         "73fa04bd.92094c"
1064       ]
1065     ]
1066   },
1067   {
1068     "id":"f8a4213a.dfd9b",
1069     "type":"set",
1070     "name":"set id",
1071     "xml":"<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1072     "comments":"",
1073     "x":2592.515842437744,
1074     "y":816.5156164169312,
1075     "z":"17ff3bf3.2a2c24",
1076     "wires":[
1077
1078     ]
1079   },
1080   {
1081     "id":"73fa04bd.92094c",
1082     "type":"execute",
1083     "name":"execute RestApiCallNode Activate Vxlan Tunnel",
1084     "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",
1085     "comments":"",
1086     "outputs":1,
1087     "x":2190.0158729553223,
1088     "y":1644.0154609680176,
1089     "z":"17ff3bf3.2a2c24",
1090     "wires":[
1091       [
1092
1093       ]
1094     ]
1095   },
1096   {
1097     "id":"e75e638.f112aa",
1098     "type":"outcomeTrue",
1099     "name":"false",
1100     "xml":"<outcome value='false'>\n",
1101     "comments":"",
1102     "outputs":1,
1103     "x":2424.015800476074,
1104     "y":940.5156002044678,
1105     "z":"17ff3bf3.2a2c24",
1106     "wires":[
1107       [
1108         "f56ef97.bc2ee08"
1109       ]
1110     ]
1111   },
1112   {
1113     "id":"f56ef97.bc2ee08",
1114     "type":"set",
1115     "name":"set description",
1116     "xml":"<set>\n<parameter name='prop.dci-connects.description' value='' />\n",
1117     "comments":"",
1118     "x":2605.015869140625,
1119     "y":935.5155410766602,
1120     "z":"17ff3bf3.2a2c24",
1121     "wires":[
1122
1123     ]
1124   }
1125 ]