Added DG for overlay input validation
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-network-input-parameters.json
1 [
2   {
3     "id":"da317618.54edf8",
4     "type":"dgstart",
5     "name":"DGSTART",
6     "outputs":1,
7     "x":102.515625,
8     "y":113.04766654968262,
9     "z":"bc976c53.f1a79",
10     "wires":[
11       [
12         "20ee17f7.cfbc68"
13       ]
14     ]
15   },
16   {
17     "id":"20ee17f7.cfbc68",
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":347.8013381958008,
26     "y":112.28574562072754,
27     "z":"bc976c53.f1a79",
28     "wires":[
29       [
30         "5a68f7e0.593d38"
31       ]
32     ]
33   },
34   {
35     "id":"5a68f7e0.593d38",
36     "type":"method",
37     "name":"method validate-network-input-parameters",
38     "xml":"<method rpc='validate-network-input-parameters' mode='sync'>\n",
39     "comments":"",
40     "outputs":1,
41     "x":305.43231201171875,
42     "y":187.30068397521973,
43     "z":"bc976c53.f1a79",
44     "wires":[
45       [
46         "df4d604e.2ca72"
47       ]
48     ]
49   },
50   {
51     "id":"df4d604e.2ca72",
52     "type":"block",
53     "name":"block : atomic",
54     "xml":"<block atomic=\"true\">",
55     "atomic":"true",
56     "outputs":1,
57     "x":589.4323196411133,
58     "y":175.30070877075195,
59     "z":"bc976c53.f1a79",
60     "wires":[
61       [
62         "638c95bd.8f466c",
63         "420ecc0a.f3f174"
64       ]
65     ]
66   },
67   {
68     "id":"638c95bd.8f466c",
69     "type":"switchNode",
70     "name":"switch  svc-action",
71     "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
72     "comments":"",
73     "outputs":1,
74     "x":870.4323196411133,
75     "y":170.3006944656372,
76     "z":"bc976c53.f1a79",
77     "wires":[
78       [
79         "66d387c4.23de98"
80       ]
81     ]
82   },
83   {
84     "id":"66d387c4.23de98",
85     "type":"outcome",
86     "name":"NULL",
87     "xml":"<outcome value=''>",
88     "comments":"",
89     "outputs":1,
90     "x":1061.1466217041016,
91     "y":171.30069541931152,
92     "z":"bc976c53.f1a79",
93     "wires":[
94       [
95         "a7efa050.0eb13"
96       ]
97     ]
98   },
99   {
100     "id":"a7efa050.0eb13",
101     "type":"returnFailure",
102     "name":"return failure",
103     "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=\"sdnc-request-header.svc-request-id is a required input\" />\n",
104     "comments":"",
105     "x":1235.5751724243164,
106     "y":170.300687789917,
107     "z":"bc976c53.f1a79",
108     "wires":[
109
110     ]
111   },
112   {
113     "id":"420ecc0a.f3f174",
114     "type":"switchNode",
115     "name":"switch svc-action",
116     "xml":"<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
117     "comments":"",
118     "outputs":1,
119     "x":171.43226623535156,
120     "y":446.30070877075195,
121     "z":"bc976c53.f1a79",
122     "wires":[
123       [
124         "a1c81a08.4a4658",
125         "35262124.49e2ee",
126         "8db39207.9cf42",
127         "ac1f4d45.6379a",
128         "50f9a48d.e072dc"
129       ]
130     ]
131   },
132   {
133     "id":"a1c81a08.4a4658",
134     "type":"outcome",
135     "name":"assign",
136     "xml":"<outcome value='assign'>\n",
137     "comments":"",
138     "outputs":1,
139     "x":372.9323501586914,
140     "y":446.30070877075195,
141     "z":"bc976c53.f1a79",
142     "wires":[
143       [
144         "7802f1ec.ca7d8"
145       ]
146     ]
147   },
148   {
149     "id":"7802f1ec.ca7d8",
150     "type":"block",
151     "name":"block : atomic",
152     "xml":"<block atomic=\"true\">",
153     "atomic":"true",
154     "outputs":1,
155     "x":538.9323577880859,
156     "y":446.30070877075195,
157     "z":"bc976c53.f1a79",
158     "wires":[
159       [
160         "ea0957a5.857bf8"
161       ]
162     ]
163   },
164   {
165     "id":"ef18ce39.3e51e",
166     "type":"for",
167     "name":"for loop i - Network input parameters",
168     "xml":"<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
169     "comments":"",
170     "outputs":1,
171     "x":1738.146499633789,
172     "y":110.01497840881348,
173     "z":"bc976c53.f1a79",
174     "wires":[
175       [
176         "80257d50.3b4d4"
177       ]
178     ]
179   },
180   {
181     "id":"4a695b88.fdc594",
182     "type":"switchNode",
183     "name":"switch value",
184     "xml":"<switch test=\"`$tmp.value`\">\n",
185     "comments":"",
186     "outputs":1,
187     "x":2591.7178497314453,
188     "y":364.01495361328125,
189     "z":"bc976c53.f1a79",
190     "wires":[
191       [
192         "9ba44b0.d83ecb8"
193       ]
194     ]
195   },
196   {
197     "id":"9ba44b0.d83ecb8",
198     "type":"outcome",
199     "name":"NULL",
200     "xml":"<outcome value=''>",
201     "comments":"",
202     "outputs":1,
203     "x":2808.7178230285645,
204     "y":363.01495933532715,
205     "z":"bc976c53.f1a79",
206     "wires":[
207       [
208         "b0753bf8.b88448"
209       ]
210     ]
211   },
212   {
213     "id":"b0753bf8.b88448",
214     "type":"returnFailure",
215     "name":"return failure",
216     "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",
217     "comments":"",
218     "x":2987.1465377807617,
219     "y":364.01495933532715,
220     "z":"bc976c53.f1a79",
221     "wires":[
222
223     ]
224   },
225   {
226     "id":"35262124.49e2ee",
227     "type":"outcome",
228     "name":"deactivate",
229     "xml":"<outcome value='deactivate'>\n",
230     "comments":"",
231     "outputs":1,
232     "x":375.2299041748047,
233     "y":604.4762363433838,
234     "z":"bc976c53.f1a79",
235     "wires":[
236       [
237         "e5333ad2.88c6a8"
238       ]
239     ]
240   },
241   {
242     "id":"8db39207.9cf42",
243     "type":"outcome",
244     "name":"delete",
245     "xml":"<outcome value='delete'>\n",
246     "comments":"",
247     "outputs":1,
248     "x":378.94428634643555,
249     "y":931.1907939910889,
250     "z":"bc976c53.f1a79",
251     "wires":[
252       [
253         "69b449f8.e0c4f8"
254       ]
255     ]
256   },
257   {
258     "id":"ac1f4d45.6379a",
259     "type":"other",
260     "name":"other",
261     "xml":"<outcome value='Other'>\n",
262     "comments":"",
263     "outputs":1,
264     "x":376.7061653137207,
265     "y":885.619062423706,
266     "z":"bc976c53.f1a79",
267     "wires":[
268       [
269         "c57b3d6b.428a1"
270       ]
271     ]
272   },
273   {
274     "id":"c57b3d6b.428a1",
275     "type":"returnFailure",
276     "name":"return failure",
277     "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-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
278     "comments":"",
279     "x":530.2777404785156,
280     "y":888.2382063865662,
281     "z":"bc976c53.f1a79",
282     "wires":[
283
284     ]
285   },
286   {
287     "id":"80257d50.3b4d4",
288     "type":"block",
289     "name":"block",
290     "xml":"<block>\n",
291     "atomic":"false",
292     "comments":"",
293     "outputs":1,
294     "x":1616.2298736572266,
295     "y":256.761926651001,
296     "z":"bc976c53.f1a79",
297     "wires":[
298       [
299         "50315017.56b56",
300         "1ffb5b62.b458c5",
301         "846be723.9405f8"
302       ]
303     ]
304   },
305   {
306     "id":"ea0957a5.857bf8",
307     "type":"switchNode",
308     "name":"switch request-action",
309     "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
310     "comments":"",
311     "outputs":1,
312     "x":864.5156402587891,
313     "y":335.7143363952637,
314     "z":"bc976c53.f1a79",
315     "wires":[
316       [
317         "6458f4b.5fda60c",
318         "7c5ea13d.5b8e"
319       ]
320     ]
321   },
322   {
323     "id":"6458f4b.5fda60c",
324     "type":"other",
325     "name":"CreateNetworkInstance",
326     "xml":"<outcome value='CreateNetworkInstance'>",
327     "comments":"",
328     "outputs":1,
329     "x":1130.515640258789,
330     "y":294.7143363952637,
331     "z":"bc976c53.f1a79",
332     "wires":[
333       [
334         "84eb81e3.dcb2d"
335       ]
336     ]
337   },
338   {
339     "id":"7c5ea13d.5b8e",
340     "type":"other",
341     "name":"Other",
342     "xml":"<outcome value='Other'>",
343     "comments":"",
344     "outputs":1,
345     "x":1084.515640258789,
346     "y":344.7143363952637,
347     "z":"bc976c53.f1a79",
348     "wires":[
349       [
350         "f6d144fc.f801f8"
351       ]
352     ]
353   },
354   {
355     "id":"f6d144fc.f801f8",
356     "type":"returnFailure",
357     "name":"return failure",
358     "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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
359     "comments":"",
360     "x":1253.515640258789,
361     "y":344.7143363952637,
362     "z":"bc976c53.f1a79",
363     "wires":[
364
365     ]
366   },
367   {
368     "id":"84eb81e3.dcb2d",
369     "type":"block",
370     "name":"block : atomic",
371     "xml":"<block atomic=\"true\">",
372     "atomic":"true",
373     "outputs":1,
374     "x":1355.515640258789,
375     "y":283.7143363952637,
376     "z":"bc976c53.f1a79",
377     "wires":[
378       [
379         "ef18ce39.3e51e"
380       ]
381     ]
382   },
383   {
384     "id":"e0b5f19f.d9b45",
385     "type":"comment",
386     "name":"TODO: need to identify underlay or overlay",
387     "info":"",
388     "comments":"",
389     "x":1100.087142944336,
390     "y":243.42859649658203,
391     "z":"bc976c53.f1a79",
392     "wires":[
393
394     ]
395   },
396   {
397     "id":"50315017.56b56",
398     "type":"set",
399     "name":"clear tmp-data",
400     "xml":"<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
401     "comments":"",
402     "x":1808.2299346923828,
403     "y":211.00002479553223,
404     "z":"bc976c53.f1a79",
405     "wires":[
406
407     ]
408   },
409   {
410     "id":"1ffb5b62.b458c5",
411     "type":"set",
412     "name":"set tmp-data",
413     "xml":"<set>\n<parameter name='tmp.name' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'\"/>\n<parameter name='tmp.value' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'\"/>\n",
414     "comments":"",
415     "x":1797.2299346923828,
416     "y":301.0000247955322,
417     "z":"bc976c53.f1a79",
418     "wires":[
419
420     ]
421   },
422   {
423     "id":"846be723.9405f8",
424     "type":"switchNode",
425     "name":"switch name",
426     "xml":"<switch test=\"'$tmp.name'\">\n",
427     "comments":"",
428     "outputs":1,
429     "x":1776.2299346923828,
430     "y":395.0000247955322,
431     "z":"bc976c53.f1a79",
432     "wires":[
433       [
434         "45932bf.e6c01d4",
435         "39a76082.5cc54",
436         "6eae96bd.b54598",
437         "fa0caaec.e45618",
438         "ca5c1826.4817d8",
439         "7792e369.1908ac",
440         "13678c40.7cc714",
441         "a2732629.f76cc8",
442         "f2c5c3f2.76097",
443         "54ca3e0b.56d18",
444         "681149f1.d61ef8",
445         "4bc98b71.a2aa84",
446         "aff0f172.9ddbc",
447         "d8ad234.fa86ce",
448         "705971b7.939b3",
449         "c8386139.7bc31",
450         "382fe5b2.be669a"
451       ]
452     ]
453   },
454   {
455     "id":"45932bf.e6c01d4",
456     "type":"outcome",
457     "name":"NULL",
458     "xml":"<outcome value=''>",
459     "comments":"",
460     "outputs":1,
461     "x":2315.801223754883,
462     "y":898,
463     "z":"bc976c53.f1a79",
464     "wires":[
465       [
466         "6a1da75c.dff4f8"
467       ]
468     ]
469   },
470   {
471     "id":"6a1da75c.dff4f8",
472     "type":"returnFailure",
473     "name":"return failure",
474     "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-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
475     "comments":"",
476     "x":2490.801223754883,
477     "y":897,
478     "z":"bc976c53.f1a79",
479     "wires":[
480
481     ]
482   },
483   {
484     "id":"39a76082.5cc54",
485     "type":"other",
486     "name":"name",
487     "xml":"<outcome value='name'>",
488     "comments":"",
489     "outputs":1,
490     "x":2292.801223754883,
491     "y":20,
492     "z":"bc976c53.f1a79",
493     "wires":[
494       [
495         "4a695b88.fdc594"
496       ]
497     ]
498   },
499   {
500     "id":"6eae96bd.b54598",
501     "type":"other",
502     "name":"service-type",
503     "xml":"<outcome value='service-type'>",
504     "comments":"",
505     "outputs":1,
506     "x":2295.801223754883,
507     "y":87,
508     "z":"bc976c53.f1a79",
509     "wires":[
510       [
511         "4a695b88.fdc594"
512       ]
513     ]
514   },
515   {
516     "id":"13678c40.7cc714",
517     "type":"other",
518     "name":"sna2_name",
519     "xml":"<outcome value='sna2_name'>",
520     "comments":"",
521     "outputs":1,
522     "x":2299.801223754883,
523     "y":316,
524     "z":"bc976c53.f1a79",
525     "wires":[
526       [
527         "4a695b88.fdc594"
528       ]
529     ]
530   },
531   {
532     "id":"fa0caaec.e45618",
533     "type":"other",
534     "name":"site1-name",
535     "xml":"<outcome value='site1-name'>",
536     "comments":"",
537     "outputs":1,
538     "x":2296.801223754883,
539     "y":148,
540     "z":"bc976c53.f1a79",
541     "wires":[
542       [
543         "4a695b88.fdc594"
544       ]
545     ]
546   },
547   {
548     "id":"ca5c1826.4817d8",
549     "type":"other",
550     "name":"site2-name",
551     "xml":"<outcome value='site2-name'>",
552     "comments":"",
553     "outputs":1,
554     "x":2292.801223754883,
555     "y":205,
556     "z":"bc976c53.f1a79",
557     "wires":[
558       [
559         "4a695b88.fdc594"
560       ]
561     ]
562   },
563   {
564     "id":"7792e369.1908ac",
565     "type":"other",
566     "name":"sna1_name",
567     "xml":"<outcome value='sna1_name'>",
568     "comments":"",
569     "outputs":1,
570     "x":2295.801223754883,
571     "y":262,
572     "z":"bc976c53.f1a79",
573     "wires":[
574       [
575         "4a695b88.fdc594"
576       ]
577     ]
578   },
579   {
580     "id":"a2732629.f76cc8",
581     "type":"other",
582     "name":"pe1_id",
583     "xml":"<outcome value='pe1_id'>",
584     "comments":"",
585     "outputs":1,
586     "x":2299.801223754883,
587     "y":367,
588     "z":"bc976c53.f1a79",
589     "wires":[
590       [
591         "4a695b88.fdc594"
592       ]
593     ]
594   },
595   {
596     "id":"f2c5c3f2.76097",
597     "type":"other",
598     "name":"pe2_id",
599     "xml":"<outcome value='pe2_id'>",
600     "comments":"",
601     "outputs":1,
602     "x":2302.801223754883,
603     "y":415,
604     "z":"bc976c53.f1a79",
605     "wires":[
606       [
607         "4a695b88.fdc594"
608       ]
609     ]
610   },
611   {
612     "id":"54ca3e0b.56d18",
613     "type":"other",
614     "name":"ac1-id",
615     "xml":"<outcome value='ac1-id'>",
616     "comments":"",
617     "outputs":1,
618     "x":2307.801223754883,
619     "y":464,
620     "z":"bc976c53.f1a79",
621     "wires":[
622       [
623         "4a695b88.fdc594"
624       ]
625     ]
626   },
627   {
628     "id":"681149f1.d61ef8",
629     "type":"other",
630     "name":"ac2-id",
631     "xml":"<outcome value='ac2-id'>",
632     "comments":"",
633     "outputs":1,
634     "x":2309.801223754883,
635     "y":519,
636     "z":"bc976c53.f1a79",
637     "wires":[
638       [
639         "4a695b88.fdc594"
640       ]
641     ]
642   },
643   {
644     "id":"4bc98b71.a2aa84",
645     "type":"other",
646     "name":"ac1-ip",
647     "xml":"<outcome value='ac1-ip'>",
648     "comments":"",
649     "outputs":1,
650     "x":2309.801223754883,
651     "y":571,
652     "z":"bc976c53.f1a79",
653     "wires":[
654       [
655         "4a695b88.fdc594"
656       ]
657     ]
658   },
659   {
660     "id":"aff0f172.9ddbc",
661     "type":"other",
662     "name":"ac2-ip",
663     "xml":"<outcome value='ac2-ip'>",
664     "comments":"",
665     "outputs":1,
666     "x":2311.801223754883,
667     "y":632,
668     "z":"bc976c53.f1a79",
669     "wires":[
670       [
671         "4a695b88.fdc594"
672       ]
673     ]
674   },
675   {
676     "id":"d8ad234.fa86ce",
677     "type":"other",
678     "name":"ac1_peer_ip",
679     "xml":"<outcome value='ac1_peer_ip'>",
680     "comments":"",
681     "outputs":1,
682     "x":2313.801223754883,
683     "y":682,
684     "z":"bc976c53.f1a79",
685     "wires":[
686       [
687         "4a695b88.fdc594"
688       ]
689     ]
690   },
691   {
692     "id":"705971b7.939b3",
693     "type":"other",
694     "name":"ac2_peer_ip",
695     "xml":"<outcome value='ac2_peer_ip'>",
696     "comments":"",
697     "outputs":1,
698     "x":2309.801223754883,
699     "y":730,
700     "z":"bc976c53.f1a79",
701     "wires":[
702       [
703         "4a695b88.fdc594"
704       ]
705     ]
706   },
707   {
708     "id":"c8386139.7bc31",
709     "type":"other",
710     "name":"ac1_svlan",
711     "xml":"<outcome value='ac1_svlan'>",
712     "comments":"",
713     "outputs":1,
714     "x":2311.801223754883,
715     "y":783,
716     "z":"bc976c53.f1a79",
717     "wires":[
718       [
719         "4a695b88.fdc594"
720       ]
721     ]
722   },
723   {
724     "id":"382fe5b2.be669a",
725     "type":"other",
726     "name":"ac2_svlan",
727     "xml":"<outcome value='ac2_svlan'>",
728     "comments":"",
729     "outputs":1,
730     "x":2313.801223754883,
731     "y":844,
732     "z":"bc976c53.f1a79",
733     "wires":[
734       [
735         "4a695b88.fdc594"
736       ]
737     ]
738   },
739   {
740     "id":"69b449f8.e0c4f8",
741     "type":"block",
742     "name":"block : atomic",
743     "xml":"<block atomic=\"true\">",
744     "atomic":"true",
745     "outputs":1,
746     "x":310.0870590209961,
747     "y":1012.8572435379028,
748     "z":"bc976c53.f1a79",
749     "wires":[
750       [
751         "d5f90944.52fe68",
752         "f019a10f.84bba"
753       ]
754     ]
755   },
756   {
757     "id":"d5f90944.52fe68",
758     "type":"other",
759     "name":"DeleteNetworkInstance",
760     "xml":"<outcome value='DeleteNetworkInstance'>",
761     "comments":"",
762     "outputs":1,
763     "x":325.8013496398926,
764     "y":1068.8572072982788,
765     "z":"bc976c53.f1a79",
766     "wires":[
767       [
768         "1ad15265.c666ae"
769       ]
770     ]
771   },
772   {
773     "id":"f019a10f.84bba",
774     "type":"other",
775     "name":"Other",
776     "xml":"<outcome value='Other'>",
777     "comments":"",
778     "outputs":1,
779     "x":279.8013496398926,
780     "y":1118.8572072982788,
781     "z":"bc976c53.f1a79",
782     "wires":[
783       [
784         "b5aedf37.5b6ec"
785       ]
786     ]
787   },
788   {
789     "id":"b5aedf37.5b6ec",
790     "type":"returnFailure",
791     "name":"return failure",
792     "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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
793     "comments":"",
794     "x":448.8013496398926,
795     "y":1118.8572072982788,
796     "z":"bc976c53.f1a79",
797     "wires":[
798
799     ]
800   },
801   {
802     "id":"1ad15265.c666ae",
803     "type":"block",
804     "name":"block : atomic",
805     "xml":"<block atomic=\"true\">",
806     "atomic":"true",
807     "outputs":1,
808     "x":550.8013496398926,
809     "y":1057.8572072982788,
810     "z":"bc976c53.f1a79",
811     "wires":[
812       [
813         "916b52b.b2dacb"
814       ]
815     ]
816   },
817   {
818     "id":"916b52b.b2dacb",
819     "type":"for",
820     "name":"for each network-input-parameters",
821     "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
822     "comments":"",
823     "outputs":1,
824     "x":372.8013496398926,
825     "y":1212.8572072982788,
826     "z":"bc976c53.f1a79",
827     "wires":[
828       [
829         "48a15b4b.da9c94"
830       ]
831     ]
832   },
833   {
834     "id":"48a15b4b.da9c94",
835     "type":"block",
836     "name":"block",
837     "xml":"<block>\n",
838     "atomic":"false",
839     "comments":"",
840     "outputs":1,
841     "x":365.8013496398926,
842     "y":1297.8572072982788,
843     "z":"bc976c53.f1a79",
844     "wires":[
845       [
846         "c6022f0d.42d06"
847       ]
848     ]
849   },
850   {
851     "id":"c6022f0d.42d06",
852     "type":"switchNode",
853     "name":"switch name",
854     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
855     "comments":"",
856     "outputs":1,
857     "x":548.8013496398926,
858     "y":1290.8572072982788,
859     "z":"bc976c53.f1a79",
860     "wires":[
861       [
862         "235fbeb1.629a02"
863       ]
864     ]
865   },
866   {
867     "id":"235fbeb1.629a02",
868     "type":"outcomeTrue",
869     "name":"true",
870     "xml":"<outcome value='true'>\n",
871     "comments":"",
872     "outputs":1,
873     "x":729.8013496398926,
874     "y":1289.8572072982788,
875     "z":"bc976c53.f1a79",
876     "wires":[
877       [
878         "9c3a3b86.66d288"
879       ]
880     ]
881   },
882   {
883     "id":"9c3a3b86.66d288",
884     "type":"switchNode",
885     "name":"switch value",
886     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
887     "comments":"",
888     "outputs":1,
889     "x":893.8013496398926,
890     "y":1289.8572072982788,
891     "z":"bc976c53.f1a79",
892     "wires":[
893       [
894         "7bc8b1f4.9d2b8"
895       ]
896     ]
897   },
898   {
899     "id":"7bc8b1f4.9d2b8",
900     "type":"outcome",
901     "name":"NULL",
902     "xml":"<outcome value=''>",
903     "comments":"",
904     "outputs":1,
905     "x":762.8013496398926,
906     "y":1413.8572072982788,
907     "z":"bc976c53.f1a79",
908     "wires":[
909       [
910         "457d6f04.16b53"
911       ]
912     ]
913   },
914   {
915     "id":"457d6f04.16b53",
916     "type":"returnFailure",
917     "name":"return failure",
918     "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",
919     "comments":"",
920     "x":941.2300643920898,
921     "y":1414.8572072982788,
922     "z":"bc976c53.f1a79",
923     "wires":[
924
925     ]
926   },
927   {
928     "id":"50f9a48d.e072dc",
929     "type":"outcome",
930     "name":"activate",
931     "xml":"<outcome value='activate'>\n",
932     "comments":"",
933     "outputs":1,
934     "x":373.9441947937012,
935     "y":538.7619791030884,
936     "z":"bc976c53.f1a79",
937     "wires":[
938       [
939         "90da72db.f3e38"
940       ]
941     ]
942   },
943   {
944     "id":"90da72db.f3e38",
945     "type":"switchNode",
946     "name":"switch request-action",
947     "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
948     "comments":"",
949     "outputs":1,
950     "x":556.8013610839844,
951     "y":535.9048290252686,
952     "z":"bc976c53.f1a79",
953     "wires":[
954       [
955         "e1518316.05556",
956         "e5ae8d2b.cedcd"
957       ]
958     ]
959   },
960   {
961     "id":"e1518316.05556",
962     "type":"other",
963     "name":"ActivateNetworkInstance",
964     "xml":"<outcome value='ActivateNetworkInstance'>",
965     "comments":"",
966     "outputs":1,
967     "x":822.8013610839844,
968     "y":494.90482902526855,
969     "z":"bc976c53.f1a79",
970     "wires":[
971       [
972         "d9a3c7f4.4c0498"
973       ]
974     ]
975   },
976   {
977     "id":"e5ae8d2b.cedcd",
978     "type":"other",
979     "name":"Other",
980     "xml":"<outcome value='Other'>",
981     "comments":"",
982     "outputs":1,
983     "x":776.8013610839844,
984     "y":544.9048290252686,
985     "z":"bc976c53.f1a79",
986     "wires":[
987       [
988         "ca95078e.01fd58"
989       ]
990     ]
991   },
992   {
993     "id":"ca95078e.01fd58",
994     "type":"returnFailure",
995     "name":"return failure",
996     "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=\"request-information.request-action is required to be ActivateNetworkInstance for svc-action=activate\" />\n",
997     "comments":"",
998     "x":945.8013610839844,
999     "y":544.9048290252686,
1000     "z":"bc976c53.f1a79",
1001     "wires":[
1002
1003     ]
1004   },
1005   {
1006     "id":"d9a3c7f4.4c0498",
1007     "type":"block",
1008     "name":"block : atomic",
1009     "xml":"<block atomic=\"true\">",
1010     "atomic":"true",
1011     "outputs":1,
1012     "x":1047.8013610839844,
1013     "y":483.90482902526855,
1014     "z":"bc976c53.f1a79",
1015     "wires":[
1016       [
1017         "de9d0bad.f413c8"
1018       ]
1019     ]
1020   },
1021   {
1022     "id":"e5333ad2.88c6a8",
1023     "type":"block",
1024     "name":"block : atomic",
1025     "xml":"<block atomic=\"true\">",
1026     "atomic":"true",
1027     "outputs":1,
1028     "x":542.515625,
1029     "y":608.7620029449463,
1030     "z":"bc976c53.f1a79",
1031     "wires":[
1032       [
1033         "22ce90c5.e5b49",
1034         "52bb2fe2.e66a7"
1035       ]
1036     ]
1037   },
1038   {
1039     "id":"22ce90c5.e5b49",
1040     "type":"other",
1041     "name":"DeactivateNetworkInstance",
1042     "xml":"<outcome value='DeactivateNetworkInstance'>",
1043     "comments":"",
1044     "outputs":1,
1045     "x":639.6585159301758,
1046     "y":686.1905641555786,
1047     "z":"bc976c53.f1a79",
1048     "wires":[
1049       [
1050         "53c38c61.a27c24"
1051       ]
1052     ]
1053   },
1054   {
1055     "id":"52bb2fe2.e66a7",
1056     "type":"other",
1057     "name":"Other",
1058     "xml":"<outcome value='Other'>",
1059     "comments":"",
1060     "outputs":1,
1061     "x":593.6585159301758,
1062     "y":736.1905641555786,
1063     "z":"bc976c53.f1a79",
1064     "wires":[
1065       [
1066         "d9cf8575.0f9368"
1067       ]
1068     ]
1069   },
1070   {
1071     "id":"d9cf8575.0f9368",
1072     "type":"returnFailure",
1073     "name":"return failure",
1074     "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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
1075     "comments":"",
1076     "x":762.6585159301758,
1077     "y":736.1905641555786,
1078     "z":"bc976c53.f1a79",
1079     "wires":[
1080
1081     ]
1082   },
1083   {
1084     "id":"53c38c61.a27c24",
1085     "type":"block",
1086     "name":"block : atomic",
1087     "xml":"<block atomic=\"true\">",
1088     "atomic":"true",
1089     "outputs":1,
1090     "x":864.6585159301758,
1091     "y":675.1905641555786,
1092     "z":"bc976c53.f1a79",
1093     "wires":[
1094       [
1095         "a4cdd306.8c69b"
1096       ]
1097     ]
1098   },
1099   {
1100     "id":"a4cdd306.8c69b",
1101     "type":"for",
1102     "name":"for each network-input-parameters",
1103     "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
1104     "comments":"",
1105     "outputs":1,
1106     "x":686.6585159301758,
1107     "y":830.1905641555786,
1108     "z":"bc976c53.f1a79",
1109     "wires":[
1110       [
1111         "864af6c.1a7ea08"
1112       ]
1113     ]
1114   },
1115   {
1116     "id":"864af6c.1a7ea08",
1117     "type":"block",
1118     "name":"block",
1119     "xml":"<block>\n",
1120     "atomic":"false",
1121     "comments":"",
1122     "outputs":1,
1123     "x":968.2299575805664,
1124     "y":803.7619962692261,
1125     "z":"bc976c53.f1a79",
1126     "wires":[
1127       [
1128         "d3a2495e.6d4c48"
1129       ]
1130     ]
1131   },
1132   {
1133     "id":"d3a2495e.6d4c48",
1134     "type":"switchNode",
1135     "name":"switch id",
1136     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].id == 'id'`\">\n",
1137     "comments":"",
1138     "outputs":1,
1139     "x":984.0871505737305,
1140     "y":859.6191473007202,
1141     "z":"bc976c53.f1a79",
1142     "wires":[
1143       [
1144         "bb342c57.b05fa"
1145       ]
1146     ]
1147   },
1148   {
1149     "id":"bb342c57.b05fa",
1150     "type":"outcomeTrue",
1151     "name":"true",
1152     "xml":"<outcome value='true'>\n",
1153     "comments":"",
1154     "outputs":1,
1155     "x":1165.0871505737305,
1156     "y":858.6191473007202,
1157     "z":"bc976c53.f1a79",
1158     "wires":[
1159       [
1160         "552390de.1e8c"
1161       ]
1162     ]
1163   },
1164   {
1165     "id":"552390de.1e8c",
1166     "type":"switchNode",
1167     "name":"switch value",
1168     "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
1169     "comments":"",
1170     "outputs":1,
1171     "x":1241.9442596435547,
1172     "y":937.1905860900879,
1173     "z":"bc976c53.f1a79",
1174     "wires":[
1175       [
1176         "6d879fa9.4e09f"
1177       ]
1178     ]
1179   },
1180   {
1181     "id":"6d879fa9.4e09f",
1182     "type":"outcome",
1183     "name":"NULL",
1184     "xml":"<outcome value=''>",
1185     "comments":"",
1186     "outputs":1,
1187     "x":1150.9442024230957,
1188     "y":1021.1905422210693,
1189     "z":"bc976c53.f1a79",
1190     "wires":[
1191       [
1192         "70a14092.36e2f"
1193       ]
1194     ]
1195   },
1196   {
1197     "id":"70a14092.36e2f",
1198     "type":"returnFailure",
1199     "name":"return failure",
1200     "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",
1201     "comments":"",
1202     "x":1329.372917175293,
1203     "y":1022.1905422210693,
1204     "z":"bc976c53.f1a79",
1205     "wires":[
1206
1207     ]
1208   },
1209   {
1210     "id":"de9d0bad.f413c8",
1211     "type":"call",
1212     "name":"call validate-overlay-network-input-parameters",
1213     "xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
1214     "comments":"",
1215     "outputs":1,
1216     "x":1355.6666946411133,
1217     "y":485.3333520889282,
1218     "z":"bc976c53.f1a79",
1219     "wires":[
1220       [
1221
1222       ]
1223     ]
1224   }
1225 ]