Fix for overlay DGs.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-overlay-network-input-parameters.json
1 [
2   {
3     "id":"ba95087e.92b9a8",
4     "type":"for",
5     "name":"for each network-input-parameters",
6     "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
7     "comments":"",
8     "outputs":1,
9     "x":727.3197174072266,
10     "y":129.1666979789734,
11     "z":"b32ccb5b.ff5d48",
12     "wires":[
13       [
14         "ae14dcf0.2fa2"
15       ]
16     ]
17   },
18   {
19     "id":"28487c0a.d2f1d4",
20     "type":"block",
21     "name":"block",
22     "xml":"<block>\n",
23     "atomic":"false",
24     "comments":"",
25     "outputs":1,
26     "x":950.3197402954102,
27     "y":259.16665744781494,
28     "z":"b32ccb5b.ff5d48",
29     "wires":[
30       [
31         "ad2f29e4.7e0148",
32         "3e9c0ee8.789922",
33         "c68a818d.6aada",
34         "d2dc6063.75e3d",
35         "5b5e1852.3a7938",
36         "ebff3dbb.cb64",
37         "b517b557.2b1c88",
38         "4b1e3c3c.1ae2b4",
39         "293c94ec.7eed0c",
40         "d912bc7a.af608",
41         "6132d023.70902",
42         "137f7cf2.c3ab93",
43         "1d0ed859.af0d08",
44         "5509cc69.b39b94"
45       ]
46     ]
47   },
48   {
49     "id":"657025f9.1e55dc",
50     "type":"execute",
51     "name":"checkRequiredL2Parameters",
52     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"`$validate.dci-connects.name`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site1_id`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site2_id`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site1_networkName`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site2_networkName`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site1_importRT1`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site2_importRT1`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site1_exportRT1`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site2_exportRT1`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site1_vni`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.site2_vni`\" value=\"\"/>\n<parameter name=\"`$validate.dci-connects.tunnelType`\" value=\"\"/>\n\n",
53     "comments":"",
54     "outputs":1,
55     "x":763.9864959716797,
56     "y":396.6666667461395,
57     "z":"b32ccb5b.ff5d48",
58     "wires":[
59       [
60
61       ]
62     ]
63   },
64   {
65     "id":"bea84f00.558f5",
66     "type":"dgstart",
67     "name":"DGSTART",
68     "outputs":1,
69     "x":122.3197250366211,
70     "y":55.99998092651367,
71     "z":"b32ccb5b.ff5d48",
72     "wires":[
73       [
74         "10709a4.e272a66"
75       ]
76     ]
77   },
78   {
79     "id":"10709a4.e272a66",
80     "type":"service-logic",
81     "name":"GENERIC-RESOURCE-API ${project.version}",
82     "module":"GENERIC-RESOURCE-API",
83     "version":"${project.version}",
84     "comments":"",
85     "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}'>",
86     "outputs":1,
87     "x":367.6054382324219,
88     "y":55.238059997558594,
89     "z":"b32ccb5b.ff5d48",
90     "wires":[
91       [
92         "6b6d13a7.c62a8c"
93       ]
94     ]
95   },
96   {
97     "id":"6b6d13a7.c62a8c",
98     "type":"method",
99     "name":"method validate-network-input-parameters",
100     "xml":"<method rpc='validate-overlay-network-input-parameters' mode='sync'>\n",
101     "comments":"",
102     "outputs":1,
103     "x":325.23641204833984,
104     "y":130.25299835205078,
105     "z":"b32ccb5b.ff5d48",
106     "wires":[
107       [
108         "ba95087e.92b9a8"
109       ]
110     ]
111   },
112   {
113     "id":"62808866.b25cf8",
114     "type":"execute",
115     "name":"checkAdditionalL3Parameters",
116     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"`$network-topology-operation-input.network-request-input.network-input-parameters.site1_routerId`\" value=\"\"/>\n<parameter name=\"`$network-topology-operation-input.network-request-input.network-input-parameters.site2_routerId`\" value=\"\"/>\n\n",
117     "comments":"",
118     "outputs":1,
119     "x":904.3197479248047,
120     "y":491.9999694824219,
121     "z":"b32ccb5b.ff5d48",
122     "wires":[
123       [
124
125       ]
126     ]
127   },
128   {
129     "id":"766e54f6.c89c1c",
130     "type":"switchNode",
131     "name":"switch value",
132     "xml":"<switch test=\"`$validate.dci-connects.tunnelType`\">\n",
133     "comments":"",
134     "outputs":1,
135     "x":503.3197326660156,
136     "y":554.9999351501465,
137     "z":"b32ccb5b.ff5d48",
138     "wires":[
139       [
140         "63292a9d.15ee34",
141         "319f787e.f84698",
142         "43d71a57.0cfe24"
143       ]
144     ]
145   },
146   {
147     "id":"63292a9d.15ee34",
148     "type":"outcome",
149     "name":"L3-DCI",
150     "xml":"<outcome value='L3-DCI'>",
151     "comments":"",
152     "outputs":1,
153     "x":683.6530685424805,
154     "y":490.99977684020996,
155     "z":"b32ccb5b.ff5d48",
156     "wires":[
157       [
158         "62808866.b25cf8"
159       ]
160     ]
161   },
162   {
163     "id":"319f787e.f84698",
164     "type":"outcome",
165     "name":"L2-DCI",
166     "xml":"<outcome value='L2-DCI'>",
167     "comments":"",
168     "outputs":1,
169     "x":681.6529541015625,
170     "y":563.9997224807739,
171     "z":"b32ccb5b.ff5d48",
172     "wires":[
173       [
174
175       ]
176     ]
177   },
178   {
179     "id":"43d71a57.0cfe24",
180     "type":"outcome",
181     "name":"other",
182     "xml":"<outcome value='other'>",
183     "comments":"",
184     "outputs":1,
185     "x":679.6530704498291,
186     "y":645.6664152145386,
187     "z":"b32ccb5b.ff5d48",
188     "wires":[
189       [
190         "f6f6f732.6fe428"
191       ]
192     ]
193   },
194   {
195     "id":"f6f6f732.6fe428",
196     "type":"returnFailure",
197     "name":"return failure",
198     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-request-input.network-input-parameters.name is a required input\" />\n",
199     "comments":"",
200     "x":893.0815925598145,
201     "y":645.6664419174194,
202     "z":"b32ccb5b.ff5d48",
203     "wires":[
204
205     ]
206   },
207   {
208     "id":"ad2f29e4.7e0148",
209     "type":"switchNode",
210     "name":"switch site1_id",
211     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_id'`\">\n",
212     "comments":"",
213     "outputs":1,
214     "x":1237.3199844360352,
215     "y":145.16679191589355,
216     "z":"b32ccb5b.ff5d48",
217     "wires":[
218       [
219         "f33cf253.17a49"
220       ]
221     ]
222   },
223   {
224     "id":"3e9c0ee8.789922",
225     "type":"switchNode",
226     "name":"switch site1_importRT1",
227     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_importRT1'`\">\n",
228     "comments":"",
229     "outputs":1,
230     "x":1238.9646034240723,
231     "y":553.2989673614502,
232     "z":"b32ccb5b.ff5d48",
233     "wires":[
234       [
235         "5eac7584.6d267c"
236       ]
237     ]
238   },
239   {
240     "id":"c68a818d.6aada",
241     "type":"switchNode",
242     "name":"switch site1_exportRT1",
243     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_exportRT1'`\">\n",
244     "comments":"",
245     "outputs":1,
246     "x":1233.887710571289,
247     "y":689.9144258499146,
248     "z":"b32ccb5b.ff5d48",
249     "wires":[
250       [
251         "e98038fe.3bc7a8"
252       ]
253     ]
254   },
255   {
256     "id":"d2dc6063.75e3d",
257     "type":"switchNode",
258     "name":"switch site1_vni",
259     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_vni'`\">\n",
260     "comments":"",
261     "outputs":1,
262     "x":1206.1955490112305,
263     "y":808.9145526885986,
264     "z":"b32ccb5b.ff5d48",
265     "wires":[
266       [
267         "7c71225a.f8d93c"
268       ]
269     ]
270   },
271   {
272     "id":"f33cf253.17a49",
273     "type":"outcomeTrue",
274     "name":"true",
275     "xml":"<outcome value='true'>\n",
276     "comments":"",
277     "outputs":1,
278     "x":1452.3199844360352,
279     "y":144.16679191589355,
280     "z":"b32ccb5b.ff5d48",
281     "wires":[
282       [
283         "479be6ca.797c48"
284       ]
285     ]
286   },
287   {
288     "id":"5eac7584.6d267c",
289     "type":"outcomeTrue",
290     "name":"true",
291     "xml":"<outcome value='true'>\n",
292     "comments":"",
293     "outputs":1,
294     "x":1440.9646034240723,
295     "y":552.2989673614502,
296     "z":"b32ccb5b.ff5d48",
297     "wires":[
298       [
299         "8e2e8c1d.89a89"
300       ]
301     ]
302   },
303   {
304     "id":"e98038fe.3bc7a8",
305     "type":"outcomeTrue",
306     "name":"true",
307     "xml":"<outcome value='true'>\n",
308     "comments":"",
309     "outputs":1,
310     "x":1429.887710571289,
311     "y":686.9144258499146,
312     "z":"b32ccb5b.ff5d48",
313     "wires":[
314       [
315         "53264553.d1234c"
316       ]
317     ]
318   },
319   {
320     "id":"7c71225a.f8d93c",
321     "type":"outcomeTrue",
322     "name":"true",
323     "xml":"<outcome value='true'>\n",
324     "comments":"",
325     "outputs":1,
326     "x":1405.1955451965332,
327     "y":808.914571762085,
328     "z":"b32ccb5b.ff5d48",
329     "wires":[
330       [
331         "a5b17398.c8fe9"
332       ]
333     ]
334   },
335   {
336     "id":"5b5e1852.3a7938",
337     "type":"switchNode",
338     "name":"switch name",
339     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
340     "comments":"",
341     "outputs":1,
342     "x":1234.4865493774414,
343     "y":86.33342361450195,
344     "z":"b32ccb5b.ff5d48",
345     "wires":[
346       [
347         "1557c16b.13de0f"
348       ]
349     ]
350   },
351   {
352     "id":"1557c16b.13de0f",
353     "type":"outcomeTrue",
354     "name":"true",
355     "xml":"<outcome value='true'>\n",
356     "comments":"",
357     "outputs":1,
358     "x":1454.1791381835938,
359     "y":85.56419563293457,
360     "z":"b32ccb5b.ff5d48",
361     "wires":[
362       [
363         "da60451d.6b55f8"
364       ]
365     ]
366   },
367   {
368     "id":"1db7b8be.899e57",
369     "type":"set",
370     "name":"set name",
371     "xml":"<set>\n<parameter name='validate.dci-connects.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
372     "comments":"",
373     "x":1842.4868621826172,
374     "y":86.41035079956055,
375     "z":"b32ccb5b.ff5d48",
376     "wires":[
377
378     ]
379   },
380   {
381     "id":"ebff3dbb.cb64",
382     "type":"switchNode",
383     "name":"switch site1_networkName",
384     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_networkName'`\">\n",
385     "comments":"",
386     "outputs":1,
387     "x":1270.03755569458,
388     "y":274.3334674835205,
389     "z":"b32ccb5b.ff5d48",
390     "wires":[
391       [
392         "92423844.76f288"
393       ]
394     ]
395   },
396   {
397     "id":"92423844.76f288",
398     "type":"outcomeTrue",
399     "name":"true",
400     "xml":"<outcome value='true'>\n",
401     "comments":"",
402     "outputs":1,
403     "x":1468.03755569458,
404     "y":274.3334674835205,
405     "z":"b32ccb5b.ff5d48",
406     "wires":[
407       [
408         "360a973d.9d1cc8"
409       ]
410     ]
411   },
412   {
413     "id":"96044bd5.858c28",
414     "type":"switchNode",
415     "name":"switch value",
416     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
417     "comments":"",
418     "outputs":1,
419     "x":2098.370994567871,
420     "y":518.3846913799644,
421     "z":"b32ccb5b.ff5d48",
422     "wires":[
423       [
424         "d3d16a56.8a9738"
425       ]
426     ]
427   },
428   {
429     "id":"d3d16a56.8a9738",
430     "type":"outcome",
431     "name":"NULL",
432     "xml":"<outcome value=''>",
433     "comments":"",
434     "outputs":1,
435     "x":2265.3712005615234,
436     "y":518.0110122188926,
437     "z":"b32ccb5b.ff5d48",
438     "wires":[
439       [
440         "ee6eab17.fc7618"
441       ]
442     ]
443   },
444   {
445     "id":"ee6eab17.fc7618",
446     "type":"returnFailure",
447     "name":"return failure",
448     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-request-input.network-input-parameters.name is a required input\" />\n",
449     "comments":"",
450     "x":2433.1845703125,
451     "y":518.0109936222434,
452     "z":"b32ccb5b.ff5d48",
453     "wires":[
454
455     ]
456   },
457   {
458     "id":"f8ed6bb4.b05df8",
459     "type":"set",
460     "name":"set site1_id",
461     "xml":"<set>\n<parameter name='validate.dci-connects.site1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
462     "comments":"",
463     "x":1851.243019104004,
464     "y":143.6922788619995,
465     "z":"b32ccb5b.ff5d48",
466     "wires":[
467
468     ]
469   },
470   {
471     "id":"b517b557.2b1c88",
472     "type":"switchNode",
473     "name":"switch site2_id",
474     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_id'`\">\n",
475     "comments":"",
476     "outputs":1,
477     "x":1235.935214996338,
478     "y":207.692289352417,
479     "z":"b32ccb5b.ff5d48",
480     "wires":[
481       [
482         "417631c9.904ff"
483       ]
484     ]
485   },
486   {
487     "id":"417631c9.904ff",
488     "type":"outcomeTrue",
489     "name":"true",
490     "xml":"<outcome value='true'>\n",
491     "comments":"",
492     "outputs":1,
493     "x":1450.935214996338,
494     "y":206.692289352417,
495     "z":"b32ccb5b.ff5d48",
496     "wires":[
497       [
498         "d9eecf1d.5da05"
499       ]
500     ]
501   },
502   {
503     "id":"54871b70.cd0a24",
504     "type":"set",
505     "name":"set site2_id",
506     "xml":"<set>\n<parameter name='validate.dci-connects.site2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
507     "comments":"",
508     "x":1842.9352684020996,
509     "y":205.14089107513428,
510     "z":"b32ccb5b.ff5d48",
511     "wires":[
512
513     ]
514   },
515   {
516     "id":"4ef856dd.ae2728",
517     "type":"set",
518     "name":"set site1_networkName",
519     "xml":"<set>\n<parameter name='validate.dci-connects.site1_networkName' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
520     "comments":"",
521     "x":1874.1148681640625,
522     "y":278.0769100189209,
523     "z":"b32ccb5b.ff5d48",
524     "wires":[
525
526     ]
527   },
528   {
529     "id":"4b1e3c3c.1ae2b4",
530     "type":"switchNode",
531     "name":"switch site2_networkName",
532     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_networkName'`\">\n",
533     "comments":"",
534     "outputs":1,
535     "x":1261.5761260986328,
536     "y":339.153790473938,
537     "z":"b32ccb5b.ff5d48",
538     "wires":[
539       [
540         "9f5a1ec2.9dcc9"
541       ]
542     ]
543   },
544   {
545     "id":"9f5a1ec2.9dcc9",
546     "type":"outcomeTrue",
547     "name":"true",
548     "xml":"<outcome value='true'>\n",
549     "comments":"",
550     "outputs":1,
551     "x":1459.5761260986328,
552     "y":339.153790473938,
553     "z":"b32ccb5b.ff5d48",
554     "wires":[
555       [
556         "822ee2d3.48c3c"
557       ]
558     ]
559   },
560   {
561     "id":"ad54b8c9.7da448",
562     "type":"set",
563     "name":"set site1_networkName",
564     "xml":"<set>\n<parameter name='validate.dci-connects.site2_networkName' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
565     "comments":"",
566     "x":1867.9607391357422,
567     "y":339.8202781677246,
568     "z":"b32ccb5b.ff5d48",
569     "wires":[
570
571     ]
572   },
573   {
574     "id":"293c94ec.7eed0c",
575     "type":"switchNode",
576     "name":"switch site1_routerId",
577     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_routerId'`\">\n",
578     "comments":"",
579     "outputs":1,
580     "x":1238.44775390625,
581     "y":404.3978147506714,
582     "z":"b32ccb5b.ff5d48",
583     "wires":[
584       [
585         "bd102392.9272f"
586       ]
587     ]
588   },
589   {
590     "id":"bd102392.9272f",
591     "type":"outcomeTrue",
592     "name":"true",
593     "xml":"<outcome value='true'>\n",
594     "comments":"",
595     "outputs":1,
596     "x":1443.44775390625,
597     "y":403.3978147506714,
598     "z":"b32ccb5b.ff5d48",
599     "wires":[
600       [
601         "e3a432d7.d3122"
602       ]
603     ]
604   },
605   {
606     "id":"aa160e34.e4b32",
607     "type":"set",
608     "name":"set site1_routerId",
609     "xml":"<set>\n<parameter name='validate.dci-connects.site1_routerId' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
610     "comments":"",
611     "x":1847.601577758789,
612     "y":402.2564105987549,
613     "z":"b32ccb5b.ff5d48",
614     "wires":[
615
616     ]
617   },
618   {
619     "id":"5509cc69.b39b94",
620     "type":"switchNode",
621     "name":"switch site2_routerId",
622     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_routerId'`\">\n",
623     "comments":"",
624     "outputs":1,
625     "x":1235.986557006836,
626     "y":475.79493522644043,
627     "z":"b32ccb5b.ff5d48",
628     "wires":[
629       [
630         "6e0eb7d7.46a9d8"
631       ]
632     ]
633   },
634   {
635     "id":"6e0eb7d7.46a9d8",
636     "type":"outcomeTrue",
637     "name":"true",
638     "xml":"<outcome value='true'>\n",
639     "comments":"",
640     "outputs":1,
641     "x":1440.986557006836,
642     "y":474.79493522644043,
643     "z":"b32ccb5b.ff5d48",
644     "wires":[
645       [
646         "82d1be44.e3709"
647       ]
648     ]
649   },
650   {
651     "id":"6301c339.b9a5ac",
652     "type":"set",
653     "name":"set site2_routerId",
654     "xml":"<set>\n<parameter name='validate.dci-connects.site2_routerId' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
655     "comments":"",
656     "x":1868.9871444702148,
657     "y":475.19210052490234,
658     "z":"b32ccb5b.ff5d48",
659     "wires":[
660
661     ]
662   },
663   {
664     "id":"56ed96a3.41ee28",
665     "type":"set",
666     "name":"set site2_routerId",
667     "xml":"<set>\n<parameter name='validate.dci-connects.site1_importRT1' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
668     "comments":"",
669     "x":1860.8328247070312,
670     "y":552.410285949707,
671     "z":"b32ccb5b.ff5d48",
672     "wires":[
673
674     ]
675   },
676   {
677     "id":"d912bc7a.af608",
678     "type":"switchNode",
679     "name":"switch site2_importRT1",
680     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_importRT1'`\">\n",
681     "comments":"",
682     "outputs":1,
683     "x":1238.653060913086,
684     "y":621.5128269195557,
685     "z":"b32ccb5b.ff5d48",
686     "wires":[
687       [
688         "767cef4c.87c12"
689       ]
690     ]
691   },
692   {
693     "id":"767cef4c.87c12",
694     "type":"outcomeTrue",
695     "name":"true",
696     "xml":"<outcome value='true'>\n",
697     "comments":"",
698     "outputs":1,
699     "x":1440.653060913086,
700     "y":620.5128269195557,
701     "z":"b32ccb5b.ff5d48",
702     "wires":[
703       [
704         "774128e9.097e98"
705       ]
706     ]
707   },
708   {
709     "id":"1fe27c7.2dcc584",
710     "type":"set",
711     "name":"set site2_importRT1",
712     "xml":"<set>\n<parameter name='validate.dci-connects.site2_importRT1' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
713     "comments":"",
714     "x":1862.8285751342773,
715     "y":620.6240797042847,
716     "z":"b32ccb5b.ff5d48",
717     "wires":[
718
719     ]
720   },
721   {
722     "id":"addc94d5.935028",
723     "type":"set",
724     "name":"set site1_exportRT1",
725     "xml":"<set>\n<parameter name='validate.dci-connects.site1_exportRT1' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
726     "comments":"",
727     "x":1844.9608268737793,
728     "y":682.8463268280029,
729     "z":"b32ccb5b.ff5d48",
730     "wires":[
731
732     ]
733   },
734   {
735     "id":"6132d023.70902",
736     "type":"switchNode",
737     "name":"switch site1_exportRT2",
738     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_exportRT2'`\">\n",
739     "comments":"",
740     "outputs":1,
741     "x":1230.9609603881836,
742     "y":747.7693099975586,
743     "z":"b32ccb5b.ff5d48",
744     "wires":[
745       [
746         "feb35a24.cd3648"
747       ]
748     ]
749   },
750   {
751     "id":"feb35a24.cd3648",
752     "type":"outcomeTrue",
753     "name":"true",
754     "xml":"<outcome value='true'>\n",
755     "comments":"",
756     "outputs":1,
757     "x":1426.9609603881836,
758     "y":744.7693099975586,
759     "z":"b32ccb5b.ff5d48",
760     "wires":[
761       [
762         "4b3b20e7.2b2fe"
763       ]
764     ]
765   },
766   {
767     "id":"c9f8c3ab.70b24",
768     "type":"set",
769     "name":"set site1_exportRT2",
770     "xml":"<set>\n<parameter name='validate.dci-connects.site1_exportRT2' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
771     "comments":"",
772     "x":1840.4958572387695,
773     "y":740.7011775970459,
774     "z":"b32ccb5b.ff5d48",
775     "wires":[
776
777     ]
778   },
779   {
780     "id":"a5dc4d63.d58b1",
781     "type":"set",
782     "name":"set site1_vni",
783     "xml":"<set>\n<parameter name='validate.dci-connects.site1_vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
784     "comments":"",
785     "x":1812.9096298217773,
786     "y":807.6412315368652,
787     "z":"b32ccb5b.ff5d48",
788     "wires":[
789
790     ]
791   },
792   {
793     "id":"137f7cf2.c3ab93",
794     "type":"switchNode",
795     "name":"switch site2_vni",
796     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_vni'`\">\n",
797     "comments":"",
798     "outputs":1,
799     "x":1203.6532287597656,
800     "y":873.3337364196777,
801     "z":"b32ccb5b.ff5d48",
802     "wires":[
803       [
804         "79ded29d.4ddd9c"
805       ]
806     ]
807   },
808   {
809     "id":"79ded29d.4ddd9c",
810     "type":"outcomeTrue",
811     "name":"true",
812     "xml":"<outcome value='true'>\n",
813     "comments":"",
814     "outputs":1,
815     "x":1402.6532249450684,
816     "y":873.3337554931641,
817     "z":"b32ccb5b.ff5d48",
818     "wires":[
819       [
820         "d0c7e690.e8d078"
821       ]
822     ]
823   },
824   {
825     "id":"8a4479c0.ee42f8",
826     "type":"set",
827     "name":"set site2_vni",
828     "xml":"<set>\n<parameter name='validate.dci-connects.site2_vni' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
829     "comments":"",
830     "x":1807.2905578613281,
831     "y":871.2911982536316,
832     "z":"b32ccb5b.ff5d48",
833     "wires":[
834
835     ]
836   },
837   {
838     "id":"1d0ed859.af0d08",
839     "type":"switchNode",
840     "name":"switch tunnelType",
841     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tunnelType'`\">\n",
842     "comments":"",
843     "outputs":1,
844     "x":1207.5376205444336,
845     "y":940.372227191925,
846     "z":"b32ccb5b.ff5d48",
847     "wires":[
848       [
849         "5540f5e2.10ecbc"
850       ]
851     ]
852   },
853   {
854     "id":"5540f5e2.10ecbc",
855     "type":"outcomeTrue",
856     "name":"true",
857     "xml":"<outcome value='true'>\n",
858     "comments":"",
859     "outputs":1,
860     "x":1413.5376205444336,
861     "y":940.372227191925,
862     "z":"b32ccb5b.ff5d48",
863     "wires":[
864       [
865         "f2527f65.6836f"
866       ]
867     ]
868   },
869   {
870     "id":"99b782e.ba8658",
871     "type":"set",
872     "name":"set tunnelType",
873     "xml":"<set>\n<parameter name='prop.dci-connects.tunnelType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
874     "comments":"",
875     "x":1812.8451919555664,
876     "y":935.9876976013184,
877     "z":"b32ccb5b.ff5d48",
878     "wires":[
879
880     ]
881   },
882   {
883     "id":"a101c9de.bfa5c8",
884     "type":"comment",
885     "name":"TODO: optimize the activate by using parameter assignment here",
886     "info":"",
887     "comments":"",
888     "x":1100.3197479248047,
889     "y":20,
890     "z":"b32ccb5b.ff5d48",
891     "wires":[
892
893     ]
894   },
895   {
896     "id":"ae14dcf0.2fa2",
897     "type":"block",
898     "name":"block validate",
899     "xml":"<block atomic=\"true\">\n",
900     "atomic":"false",
901     "comments":"",
902     "outputs":1,
903     "x":575.3197402954102,
904     "y":261.9999895095825,
905     "z":"b32ccb5b.ff5d48",
906     "wires":[
907       [
908         "28487c0a.d2f1d4",
909         "657025f9.1e55dc",
910         "766e54f6.c89c1c"
911       ]
912     ]
913   },
914   {
915     "id":"da60451d.6b55f8",
916     "type":"block",
917     "name":"block",
918     "xml":"<block>\n",
919     "atomic":"false",
920     "comments":"",
921     "outputs":1,
922     "x":1625.0120544433594,
923     "y":86.55049514770508,
924     "z":"b32ccb5b.ff5d48",
925     "wires":[
926       [
927         "1db7b8be.899e57",
928         "96044bd5.858c28"
929       ]
930     ]
931   },
932   {
933     "id":"479be6ca.797c48",
934     "type":"block",
935     "name":"block",
936     "xml":"<block>\n",
937     "atomic":"false",
938     "comments":"",
939     "outputs":1,
940     "x":1624.242691040039,
941     "y":144.2427978515625,
942     "z":"b32ccb5b.ff5d48",
943     "wires":[
944       [
945         "f8ed6bb4.b05df8",
946         "96044bd5.858c28"
947       ]
948     ]
949   },
950   {
951     "id":"d9eecf1d.5da05",
952     "type":"block",
953     "name":"block",
954     "xml":"<block>\n",
955     "atomic":"false",
956     "comments":"",
957     "outputs":1,
958     "x":1616.5506019592285,
959     "y":205.78127479553223,
960     "z":"b32ccb5b.ff5d48",
961     "wires":[
962       [
963         "54871b70.cd0a24",
964         "96044bd5.858c28"
965       ]
966     ]
967   },
968   {
969     "id":"360a973d.9d1cc8",
970     "type":"block",
971     "name":"block",
972     "xml":"<block>\n",
973     "atomic":"false",
974     "comments":"",
975     "outputs":1,
976     "x":1615.0120849609375,
977     "y":275.78126430511475,
978     "z":"b32ccb5b.ff5d48",
979     "wires":[
980       [
981         "4ef856dd.ae2728",
982         "96044bd5.858c28"
983       ]
984     ]
985   },
986   {
987     "id":"822ee2d3.48c3c",
988     "type":"block",
989     "name":"block",
990     "xml":"<block>\n",
991     "atomic":"false",
992     "comments":"",
993     "outputs":1,
994     "x":1606.550521850586,
995     "y":338.858193397522,
996     "z":"b32ccb5b.ff5d48",
997     "wires":[
998       [
999         "ad54b8c9.7da448",
1000         "96044bd5.858c28"
1001       ]
1002     ]
1003   },
1004   {
1005     "id":"e3a432d7.d3122",
1006     "type":"block",
1007     "name":"block",
1008     "xml":"<block>\n",
1009     "atomic":"false",
1010     "comments":"",
1011     "outputs":1,
1012     "x":1596.5502471923828,
1013     "y":403.1658983230591,
1014     "z":"b32ccb5b.ff5d48",
1015     "wires":[
1016       [
1017         "aa160e34.e4b32",
1018         "96044bd5.858c28"
1019       ]
1020     ]
1021   },
1022   {
1023     "id":"82d1be44.e3709",
1024     "type":"block",
1025     "name":"block",
1026     "xml":"<block>\n",
1027     "atomic":"false",
1028     "comments":"",
1029     "outputs":1,
1030     "x":1587.319839477539,
1031     "y":477.3197727203369,
1032     "z":"b32ccb5b.ff5d48",
1033     "wires":[
1034       [
1035         "6301c339.b9a5ac",
1036         "96044bd5.858c28"
1037       ]
1038     ]
1039   },
1040   {
1041     "id":"8e2e8c1d.89a89",
1042     "type":"block",
1043     "name":"block",
1044     "xml":"<block>\n",
1045     "atomic":"false",
1046     "comments":"",
1047     "outputs":1,
1048     "x":1588.08890914917,
1049     "y":553.8582248687744,
1050     "z":"b32ccb5b.ff5d48",
1051     "wires":[
1052       [
1053         "56ed96a3.41ee28",
1054         "96044bd5.858c28"
1055       ]
1056     ]
1057   },
1058   {
1059     "id":"774128e9.097e98",
1060     "type":"block",
1061     "name":"block",
1062     "xml":"<block>\n",
1063     "atomic":"false",
1064     "comments":"",
1065     "outputs":1,
1066     "x":1592.704360961914,
1067     "y":621.5506038665771,
1068     "z":"b32ccb5b.ff5d48",
1069     "wires":[
1070       [
1071         "1fe27c7.2dcc584",
1072         "96044bd5.858c28"
1073       ]
1074     ]
1075   },
1076   {
1077     "id":"53264553.d1234c",
1078     "type":"block",
1079     "name":"block",
1080     "xml":"<block>\n",
1081     "atomic":"false",
1082     "comments":"",
1083     "outputs":1,
1084     "x":1582.7043190002441,
1085     "y":686.166033744812,
1086     "z":"b32ccb5b.ff5d48",
1087     "wires":[
1088       [
1089         "addc94d5.935028",
1090         "96044bd5.858c28"
1091       ]
1092     ]
1093   },
1094   {
1095     "id":"4b3b20e7.2b2fe",
1096     "type":"block",
1097     "name":"block",
1098     "xml":"<block>\n",
1099     "atomic":"false",
1100     "comments":"",
1101     "outputs":1,
1102     "x":1584.2429733276367,
1103     "y":744.6275215148926,
1104     "z":"b32ccb5b.ff5d48",
1105     "wires":[
1106       [
1107         "c9f8c3ab.70b24",
1108         "96044bd5.858c28"
1109       ]
1110     ]
1111   },
1112   {
1113     "id":"a5b17398.c8fe9",
1114     "type":"block",
1115     "name":"block",
1116     "xml":"<block>\n",
1117     "atomic":"false",
1118     "comments":"",
1119     "outputs":1,
1120     "x":1574.242935180664,
1121     "y":813.8583087921143,
1122     "z":"b32ccb5b.ff5d48",
1123     "wires":[
1124       [
1125         "a5dc4d63.d58b1",
1126         "96044bd5.858c28"
1127       ]
1128     ]
1129   },
1130   {
1131     "id":"d0c7e690.e8d078",
1132     "type":"block",
1133     "name":"block",
1134     "xml":"<block>\n",
1135     "atomic":"false",
1136     "comments":"",
1137     "outputs":1,
1138     "x":1567.319580078125,
1139     "y":879.243043422699,
1140     "z":"b32ccb5b.ff5d48",
1141     "wires":[
1142       [
1143         "8a4479c0.ee42f8",
1144         "96044bd5.858c28"
1145       ]
1146     ]
1147   },
1148   {
1149     "id":"f2527f65.6836f",
1150     "type":"block",
1151     "name":"block",
1152     "xml":"<block>\n",
1153     "atomic":"false",
1154     "comments":"",
1155     "outputs":1,
1156     "x":1574.2429809570312,
1157     "y":939.2429823875427,
1158     "z":"b32ccb5b.ff5d48",
1159     "wires":[
1160       [
1161         "99b782e.ba8658",
1162         "96044bd5.858c28"
1163       ]
1164     ]
1165   }
1166 ]