Fix for validate-network-input
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-network-input-parameters.json
1 [
2   {
3     "id":"876e190d.c525e8",
4     "type":"dgstart",
5     "name":"DGSTART",
6     "outputs":1,
7     "x":102.66666412353516,
8     "y":113.04766654968262,
9     "z":"6ce0e277.83694c",
10     "wires":[
11       [
12         "b93e38a6.cd8608"
13       ]
14     ]
15   },
16   {
17     "id":"b93e38a6.cd8608",
18     "type":"service-logic",
19     "name":"GENERIC-RESOURCE-API ${project.version}",
20     "module":"GENERIC-RESOURCE-API",
21     "version":"${project.version}",
22     "comments":"",
23     "xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
24     "outputs":1,
25     "x":347.95237731933594,
26     "y":112.28574562072754,
27     "z":"6ce0e277.83694c",
28     "wires":[
29       [
30         "fbd1bd91.34b78"
31       ]
32     ]
33   },
34   {
35     "id":"fbd1bd91.34b78",
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.5833511352539,
42     "y":187.30068397521973,
43     "z":"6ce0e277.83694c",
44     "wires":[
45       [
46         "6b5c5bc8.7d32d4"
47       ]
48     ]
49   },
50   {
51     "id":"6b5c5bc8.7d32d4",
52     "type":"block",
53     "name":"block : atomic",
54     "xml":"<block atomic=\"true\">",
55     "atomic":"true",
56     "outputs":1,
57     "x":589.5833587646484,
58     "y":175.30070877075195,
59     "z":"6ce0e277.83694c",
60     "wires":[
61       [
62         "fa0b7905.76ead8",
63         "b76add98.9e1be"
64       ]
65     ]
66   },
67   {
68     "id":"fa0b7905.76ead8",
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.5833587646484,
75     "y":170.3006944656372,
76     "z":"6ce0e277.83694c",
77     "wires":[
78       [
79         "5c424a89.e26674"
80       ]
81     ]
82   },
83   {
84     "id":"5c424a89.e26674",
85     "type":"outcome",
86     "name":"NULL",
87     "xml":"<outcome value=''>",
88     "comments":"",
89     "outputs":1,
90     "x":1061.2976608276367,
91     "y":171.30069541931152,
92     "z":"6ce0e277.83694c",
93     "wires":[
94       [
95         "47b80c53.4ff5d4"
96       ]
97     ]
98   },
99   {
100     "id":"47b80c53.4ff5d4",
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.7262115478516,
106     "y":170.300687789917,
107     "z":"6ce0e277.83694c",
108     "wires":[
109
110     ]
111   },
112   {
113     "id":"b76add98.9e1be",
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.58330535888672,
120     "y":446.30070877075195,
121     "z":"6ce0e277.83694c",
122     "wires":[
123       [
124         "9f1d13e8.82e5",
125         "35c209ea.ec9956",
126         "bc476f2b.e9662",
127         "a4e386cc.9d4fe8",
128         "3750fd7a.51d192"
129       ]
130     ]
131   },
132   {
133     "id":"9f1d13e8.82e5",
134     "type":"outcome",
135     "name":"create",
136     "xml":"<outcome value='create'>\n",
137     "comments":"",
138     "outputs":1,
139     "x":373.08338928222656,
140     "y":446.30070877075195,
141     "z":"6ce0e277.83694c",
142     "wires":[
143       [
144         "229d8b8e.ad42f4"
145       ]
146     ]
147   },
148   {
149     "id":"229d8b8e.ad42f4",
150     "type":"block",
151     "name":"block : atomic",
152     "xml":"<block atomic=\"true\">",
153     "atomic":"true",
154     "outputs":1,
155     "x":539.0833969116211,
156     "y":446.30070877075195,
157     "z":"6ce0e277.83694c",
158     "wires":[
159       [
160         "87553fdd.439b4"
161       ]
162     ]
163   },
164   {
165     "id":"31212153.05a14e",
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.2975387573242,
172     "y":110.01497840881348,
173     "z":"6ce0e277.83694c",
174     "wires":[
175       [
176         "f4b30b58.428408"
177       ]
178     ]
179   },
180   {
181     "id":"673a19c8.c4f588",
182     "type":"switchNode",
183     "name":"switch value",
184     "xml":"<switch test=\"`$tmp.value`\">\n",
185     "comments":"",
186     "outputs":1,
187     "x":2591.8688888549805,
188     "y":364.01495361328125,
189     "z":"6ce0e277.83694c",
190     "wires":[
191       [
192         "e672b71c.729478"
193       ]
194     ]
195   },
196   {
197     "id":"e672b71c.729478",
198     "type":"outcome",
199     "name":"NULL",
200     "xml":"<outcome value=''>",
201     "comments":"",
202     "outputs":1,
203     "x":2808.8688621520996,
204     "y":363.01495933532715,
205     "z":"6ce0e277.83694c",
206     "wires":[
207       [
208         "9880ef3.46a7f1"
209       ]
210     ]
211   },
212   {
213     "id":"9880ef3.46a7f1",
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.param '+ $tmp.name +' is a required input'\" />\n",
217     "comments":"",
218     "x":2987.297576904297,
219     "y":364.01495933532715,
220     "z":"6ce0e277.83694c",
221     "wires":[
222
223     ]
224   },
225   {
226     "id":"35c209ea.ec9956",
227     "type":"outcome",
228     "name":"deactivate",
229     "xml":"<outcome value='deactivate'>\n",
230     "comments":"",
231     "outputs":1,
232     "x":375.38094329833984,
233     "y":604.4762363433838,
234     "z":"6ce0e277.83694c",
235     "wires":[
236       [
237         "cb8ed99f.c4ede8"
238       ]
239     ]
240   },
241   {
242     "id":"bc476f2b.e9662",
243     "type":"outcome",
244     "name":"delete",
245     "xml":"<outcome value='delete'>\n",
246     "comments":"",
247     "outputs":1,
248     "x":379.0953254699707,
249     "y":775.1907939910889,
250     "z":"6ce0e277.83694c",
251     "wires":[
252       [
253         "1a9b73a8.0cf75c"
254       ]
255     ]
256   },
257   {
258     "id":"a4e386cc.9d4fe8",
259     "type":"other",
260     "name":"other",
261     "xml":"<outcome value='Other'>\n",
262     "comments":"",
263     "outputs":1,
264     "x":376.85720443725586,
265     "y":729.619062423706,
266     "z":"6ce0e277.83694c",
267     "wires":[
268       [
269         "5e5bc4fc.5288dc"
270       ]
271     ]
272   },
273   {
274     "id":"5e5bc4fc.5288dc",
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.4287796020508,
280     "y":732.2382063865662,
281     "z":"6ce0e277.83694c",
282     "wires":[
283
284     ]
285   },
286   {
287     "id":"f4b30b58.428408",
288     "type":"block",
289     "name":"block",
290     "xml":"<block>\n",
291     "atomic":"false",
292     "comments":"",
293     "outputs":1,
294     "x":1616.3809127807617,
295     "y":256.761926651001,
296     "z":"6ce0e277.83694c",
297     "wires":[
298       [
299         "e47573a1.6ba18",
300         "26ac63ef.a9427c",
301         "71e6ba60.1db544"
302       ]
303     ]
304   },
305   {
306     "id":"87553fdd.439b4",
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.6666793823242,
313     "y":335.7143363952637,
314     "z":"6ce0e277.83694c",
315     "wires":[
316       [
317         "39a5f2c0.1dc56e",
318         "88f987b2.ec07e8"
319       ]
320     ]
321   },
322   {
323     "id":"39a5f2c0.1dc56e",
324     "type":"other",
325     "name":"CreateNetworkInstance",
326     "xml":"<outcome value='CreateNetworkInstance'>",
327     "comments":"",
328     "outputs":1,
329     "x":1130.6666793823242,
330     "y":294.7143363952637,
331     "z":"6ce0e277.83694c",
332     "wires":[
333       [
334         "c169b655.0cf8b8"
335       ]
336     ]
337   },
338   {
339     "id":"88f987b2.ec07e8",
340     "type":"other",
341     "name":"Other",
342     "xml":"<outcome value='Other'>",
343     "comments":"",
344     "outputs":1,
345     "x":1084.6666793823242,
346     "y":344.7143363952637,
347     "z":"6ce0e277.83694c",
348     "wires":[
349       [
350         "8ba2158c.eefe38"
351       ]
352     ]
353   },
354   {
355     "id":"8ba2158c.eefe38",
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=create\" />\n",
359     "comments":"",
360     "x":1253.6666793823242,
361     "y":344.7143363952637,
362     "z":"6ce0e277.83694c",
363     "wires":[
364
365     ]
366   },
367   {
368     "id":"c169b655.0cf8b8",
369     "type":"block",
370     "name":"block : atomic",
371     "xml":"<block atomic=\"true\">",
372     "atomic":"true",
373     "outputs":1,
374     "x":1355.6666793823242,
375     "y":283.7143363952637,
376     "z":"6ce0e277.83694c",
377     "wires":[
378       [
379         "31212153.05a14e"
380       ]
381     ]
382   },
383   {
384     "id":"e47573a1.6ba18",
385     "type":"set",
386     "name":"clear tmp-data",
387     "xml":"<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
388     "comments":"",
389     "x":1808.380973815918,
390     "y":211.00002479553223,
391     "z":"6ce0e277.83694c",
392     "wires":[
393
394     ]
395   },
396   {
397     "id":"26ac63ef.a9427c",
398     "type":"set",
399     "name":"set tmp-data",
400     "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",
401     "comments":"",
402     "x":1797.380973815918,
403     "y":301.0000247955322,
404     "z":"6ce0e277.83694c",
405     "wires":[
406
407     ]
408   },
409   {
410     "id":"71e6ba60.1db544",
411     "type":"switchNode",
412     "name":"switch name",
413     "xml":"<switch test=\"'$tmp.name'\">\n",
414     "comments":"",
415     "outputs":1,
416     "x":1776.380973815918,
417     "y":395.0000247955322,
418     "z":"6ce0e277.83694c",
419     "wires":[
420       [
421         "680083b4.4ec03c",
422         "52ae21e2.cbfde",
423         "eb52f0cc.707a2",
424         "729b727c.e783bc",
425         "a11ee971.636938",
426         "847e975f.c4e778",
427         "9c556409.b9d588",
428         "92551891.abca18",
429         "43e55944.571388",
430         "bffd97c2.c0d0d8",
431         "53c77b44.d42e04",
432         "5b52d96e.83c168",
433         "12245816.6f2ce8",
434         "10b6ad91.e93502",
435         "311da7df.56b808",
436         "5e98d17a.e9af5",
437         "ae2e4af6.5db478"
438       ]
439     ]
440   },
441   {
442     "id":"680083b4.4ec03c",
443     "type":"outcome",
444     "name":"NULL",
445     "xml":"<outcome value=''>",
446     "comments":"",
447     "outputs":1,
448     "x":2315.952262878418,
449     "y":898,
450     "z":"6ce0e277.83694c",
451     "wires":[
452       [
453         "cc20162b.8f5aa8"
454       ]
455     ]
456   },
457   {
458     "id":"cc20162b.8f5aa8",
459     "type":"returnFailure",
460     "name":"return failure",
461     "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",
462     "comments":"",
463     "x":2490.952262878418,
464     "y":897,
465     "z":"6ce0e277.83694c",
466     "wires":[
467
468     ]
469   },
470   {
471     "id":"52ae21e2.cbfde",
472     "type":"other",
473     "name":"name",
474     "xml":"<outcome value='name'>",
475     "comments":"",
476     "outputs":1,
477     "x":2292.952262878418,
478     "y":20,
479     "z":"6ce0e277.83694c",
480     "wires":[
481       [
482         "673a19c8.c4f588"
483       ]
484     ]
485   },
486   {
487     "id":"eb52f0cc.707a2",
488     "type":"other",
489     "name":"service-type",
490     "xml":"<outcome value='service-type'>",
491     "comments":"",
492     "outputs":1,
493     "x":2295.952262878418,
494     "y":87,
495     "z":"6ce0e277.83694c",
496     "wires":[
497       [
498         "673a19c8.c4f588"
499       ]
500     ]
501   },
502   {
503     "id":"9c556409.b9d588",
504     "type":"other",
505     "name":"sna2_name",
506     "xml":"<outcome value='sna2_name'>",
507     "comments":"",
508     "outputs":1,
509     "x":2299.952262878418,
510     "y":316,
511     "z":"6ce0e277.83694c",
512     "wires":[
513       [
514         "673a19c8.c4f588"
515       ]
516     ]
517   },
518   {
519     "id":"729b727c.e783bc",
520     "type":"other",
521     "name":"site1-name",
522     "xml":"<outcome value='site1-name'>",
523     "comments":"",
524     "outputs":1,
525     "x":2296.952262878418,
526     "y":148,
527     "z":"6ce0e277.83694c",
528     "wires":[
529       [
530         "673a19c8.c4f588"
531       ]
532     ]
533   },
534   {
535     "id":"a11ee971.636938",
536     "type":"other",
537     "name":"site2-name",
538     "xml":"<outcome value='site2-name'>",
539     "comments":"",
540     "outputs":1,
541     "x":2292.952262878418,
542     "y":205,
543     "z":"6ce0e277.83694c",
544     "wires":[
545       [
546         "673a19c8.c4f588"
547       ]
548     ]
549   },
550   {
551     "id":"847e975f.c4e778",
552     "type":"other",
553     "name":"sna1_name",
554     "xml":"<outcome value='sna1_name'>",
555     "comments":"",
556     "outputs":1,
557     "x":2295.952262878418,
558     "y":262,
559     "z":"6ce0e277.83694c",
560     "wires":[
561       [
562         "673a19c8.c4f588"
563       ]
564     ]
565   },
566   {
567     "id":"92551891.abca18",
568     "type":"other",
569     "name":"pe1_id",
570     "xml":"<outcome value='pe1_id'>",
571     "comments":"",
572     "outputs":1,
573     "x":2299.952262878418,
574     "y":367,
575     "z":"6ce0e277.83694c",
576     "wires":[
577       [
578         "673a19c8.c4f588"
579       ]
580     ]
581   },
582   {
583     "id":"43e55944.571388",
584     "type":"other",
585     "name":"pe2_id",
586     "xml":"<outcome value='pe2_id'>",
587     "comments":"",
588     "outputs":1,
589     "x":2302.952262878418,
590     "y":415,
591     "z":"6ce0e277.83694c",
592     "wires":[
593       [
594         "673a19c8.c4f588"
595       ]
596     ]
597   },
598   {
599     "id":"bffd97c2.c0d0d8",
600     "type":"other",
601     "name":"ac1-id",
602     "xml":"<outcome value='ac1-id'>",
603     "comments":"",
604     "outputs":1,
605     "x":2307.952262878418,
606     "y":464,
607     "z":"6ce0e277.83694c",
608     "wires":[
609       [
610         "673a19c8.c4f588"
611       ]
612     ]
613   },
614   {
615     "id":"53c77b44.d42e04",
616     "type":"other",
617     "name":"ac2-id",
618     "xml":"<outcome value='ac2-id'>",
619     "comments":"",
620     "outputs":1,
621     "x":2309.952262878418,
622     "y":519,
623     "z":"6ce0e277.83694c",
624     "wires":[
625       [
626         "673a19c8.c4f588"
627       ]
628     ]
629   },
630   {
631     "id":"5b52d96e.83c168",
632     "type":"other",
633     "name":"ac1-ip",
634     "xml":"<outcome value='ac1-ip'>",
635     "comments":"",
636     "outputs":1,
637     "x":2309.952262878418,
638     "y":571,
639     "z":"6ce0e277.83694c",
640     "wires":[
641       [
642         "673a19c8.c4f588"
643       ]
644     ]
645   },
646   {
647     "id":"12245816.6f2ce8",
648     "type":"other",
649     "name":"ac2-ip",
650     "xml":"<outcome value='ac2-ip'>",
651     "comments":"",
652     "outputs":1,
653     "x":2311.952262878418,
654     "y":632,
655     "z":"6ce0e277.83694c",
656     "wires":[
657       [
658         "673a19c8.c4f588"
659       ]
660     ]
661   },
662   {
663     "id":"10b6ad91.e93502",
664     "type":"other",
665     "name":"ac1_peer_ip",
666     "xml":"<outcome value='ac1_peer_ip'>",
667     "comments":"",
668     "outputs":1,
669     "x":2313.952262878418,
670     "y":682,
671     "z":"6ce0e277.83694c",
672     "wires":[
673       [
674         "673a19c8.c4f588"
675       ]
676     ]
677   },
678   {
679     "id":"311da7df.56b808",
680     "type":"other",
681     "name":"ac2_peer_ip",
682     "xml":"<outcome value='ac2_peer_ip'>",
683     "comments":"",
684     "outputs":1,
685     "x":2309.952262878418,
686     "y":730,
687     "z":"6ce0e277.83694c",
688     "wires":[
689       [
690         "673a19c8.c4f588"
691       ]
692     ]
693   },
694   {
695     "id":"5e98d17a.e9af5",
696     "type":"other",
697     "name":"ac1_svlan",
698     "xml":"<outcome value='ac1_svlan'>",
699     "comments":"",
700     "outputs":1,
701     "x":2311.952262878418,
702     "y":783,
703     "z":"6ce0e277.83694c",
704     "wires":[
705       [
706         "673a19c8.c4f588"
707       ]
708     ]
709   },
710   {
711     "id":"ae2e4af6.5db478",
712     "type":"other",
713     "name":"ac2_svlan",
714     "xml":"<outcome value='ac2_svlan'>",
715     "comments":"",
716     "outputs":1,
717     "x":2313.952262878418,
718     "y":844,
719     "z":"6ce0e277.83694c",
720     "wires":[
721       [
722         "673a19c8.c4f588"
723       ]
724     ]
725   },
726   {
727     "id":"1a9b73a8.0cf75c",
728     "type":"block",
729     "name":"block : atomic",
730     "xml":"<block atomic=\"true\">",
731     "atomic":"true",
732     "outputs":1,
733     "x":310.23809814453125,
734     "y":856.8572435379028,
735     "z":"6ce0e277.83694c",
736     "wires":[
737       [
738         "9d2b6252.7686e"
739       ]
740     ]
741   },
742   {
743     "id":"a2921cae.f2ac3",
744     "type":"other",
745     "name":"DeleteNetworkInstance",
746     "xml":"<outcome value='DeleteNetworkInstance'>",
747     "comments":"",
748     "outputs":1,
749     "x":776.9523887634277,
750     "y":769.8572072982788,
751     "z":"6ce0e277.83694c",
752     "wires":[
753       [
754         "5219fa84.90d664"
755       ]
756     ]
757   },
758   {
759     "id":"444810a.5a640f",
760     "type":"other",
761     "name":"Other",
762     "xml":"<outcome value='Other'>",
763     "comments":"",
764     "outputs":1,
765     "x":836.9523887634277,
766     "y":899.8572072982788,
767     "z":"6ce0e277.83694c",
768     "wires":[
769       [
770         "975771a8.05f76"
771       ]
772     ]
773   },
774   {
775     "id":"975771a8.05f76",
776     "type":"returnFailure",
777     "name":"return failure",
778     "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 DeleteNetworkInstance for svc-action=delete\" />\n",
779     "comments":"",
780     "x":1023.9523887634277,
781     "y":900.8572072982788,
782     "z":"6ce0e277.83694c",
783     "wires":[
784
785     ]
786   },
787   {
788     "id":"5219fa84.90d664",
789     "type":"block",
790     "name":"block : atomic",
791     "xml":"<block atomic=\"true\">",
792     "atomic":"true",
793     "outputs":1,
794     "x":731.9523887634277,
795     "y":969.8572072982788,
796     "z":"6ce0e277.83694c",
797     "wires":[
798       [
799         "9de6db30.2f5d08",
800         "1e164e5f.bcc522"
801       ]
802     ]
803   },
804   {
805     "id":"9de6db30.2f5d08",
806     "type":"switchNode",
807     "name":"switch network-id",
808     "xml":"<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
809     "comments":"",
810     "outputs":1,
811     "x":885.9523277282715,
812     "y":1069.8572072982788,
813     "z":"6ce0e277.83694c",
814     "wires":[
815       [
816         "8dcf2b85.8a7718"
817       ]
818     ]
819   },
820   {
821     "id":"8dcf2b85.8a7718",
822     "type":"outcome",
823     "name":"NULL",
824     "xml":"<outcome value=''>",
825     "comments":"",
826     "outputs":1,
827     "x":1069.9523277282715,
828     "y":1072.8572072982788,
829     "z":"6ce0e277.83694c",
830     "wires":[
831       [
832         "826c9129.66a6a"
833       ]
834     ]
835   },
836   {
837     "id":"826c9129.66a6a",
838     "type":"returnFailure",
839     "name":"return failure",
840     "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",
841     "comments":"",
842     "x":1226.3810386657715,
843     "y":1071.8572072982788,
844     "z":"6ce0e277.83694c",
845     "wires":[
846
847     ]
848   },
849   {
850     "id":"3750fd7a.51d192",
851     "type":"outcome",
852     "name":"activate",
853     "xml":"<outcome value='activate'>\n",
854     "comments":"",
855     "outputs":1,
856     "x":374.0952339172363,
857     "y":538.7619791030884,
858     "z":"6ce0e277.83694c",
859     "wires":[
860       [
861         "5d1ff75b.5232f8"
862       ]
863     ]
864   },
865   {
866     "id":"5d1ff75b.5232f8",
867     "type":"switchNode",
868     "name":"switch request-action",
869     "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
870     "comments":"",
871     "outputs":1,
872     "x":556.9524002075195,
873     "y":535.9048290252686,
874     "z":"6ce0e277.83694c",
875     "wires":[
876       [
877         "2afede0b.bd1572",
878         "54e1c91a.d85148"
879       ]
880     ]
881   },
882   {
883     "id":"2afede0b.bd1572",
884     "type":"other",
885     "name":"ActivateDCINetworkInstance",
886     "xml":"<outcome value='ActivateDCINetworkInstance'>",
887     "comments":"",
888     "outputs":1,
889     "x":822.9524002075195,
890     "y":494.90482902526855,
891     "z":"6ce0e277.83694c",
892     "wires":[
893       [
894         "50e656ca.d6f338"
895       ]
896     ]
897   },
898   {
899     "id":"54e1c91a.d85148",
900     "type":"other",
901     "name":"Other",
902     "xml":"<outcome value='Other'>",
903     "comments":"",
904     "outputs":1,
905     "x":776.9524002075195,
906     "y":544.9048290252686,
907     "z":"6ce0e277.83694c",
908     "wires":[
909       [
910         "3c265a21.293036"
911       ]
912     ]
913   },
914   {
915     "id":"3c265a21.293036",
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=\"request-information.request-action is required to be ActivateNetworkInstance for svc-action=activate\" />\n",
919     "comments":"",
920     "x":945.9524002075195,
921     "y":544.9048290252686,
922     "z":"6ce0e277.83694c",
923     "wires":[
924
925     ]
926   },
927   {
928     "id":"50e656ca.d6f338",
929     "type":"block",
930     "name":"block : atomic",
931     "xml":"<block atomic=\"true\">",
932     "atomic":"true",
933     "outputs":1,
934     "x":1047.9524002075195,
935     "y":483.90482902526855,
936     "z":"6ce0e277.83694c",
937     "wires":[
938       [
939         "64a676e8.861d28"
940       ]
941     ]
942   },
943   {
944     "id":"6076d36f.c0eccc",
945     "type":"other",
946     "name":"DeActivateDCINetworkInstance",
947     "xml":"<outcome value='DeActivateDCINetworkInstance'>",
948     "comments":"",
949     "outputs":1,
950     "x":818.8095703125,
951     "y":606.1906299591064,
952     "z":"6ce0e277.83694c",
953     "wires":[
954       [
955         "ad73741b.c60b68"
956       ]
957     ]
958   },
959   {
960     "id":"b7a2dc33.468d7",
961     "type":"other",
962     "name":"Other",
963     "xml":"<outcome value='Other'>",
964     "comments":"",
965     "outputs":1,
966     "x":733.8095626831055,
967     "y":675.190637588501,
968     "z":"6ce0e277.83694c",
969     "wires":[
970       [
971         "866ab25a.9ff16"
972       ]
973     ]
974   },
975   {
976     "id":"866ab25a.9ff16",
977     "type":"returnFailure",
978     "name":"return failure",
979     "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 DeactivateNetworkInstance for svc-action=deactivate\" />\n",
980     "comments":"",
981     "x":914.8095779418945,
982     "y":676.190637588501,
983     "z":"6ce0e277.83694c",
984     "wires":[
985
986     ]
987   },
988   {
989     "id":"64a676e8.861d28",
990     "type":"call",
991     "name":"call validate-overlay-network-input-parameters",
992     "xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
993     "comments":"",
994     "outputs":1,
995     "x":1355.8177337646484,
996     "y":485.3333520889282,
997     "z":"6ce0e277.83694c",
998     "wires":[
999       [
1000
1001       ]
1002     ]
1003   },
1004   {
1005     "id":"cb8ed99f.c4ede8",
1006     "type":"switchNode",
1007     "name":"switch request-action",
1008     "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1009     "comments":"",
1010     "outputs":1,
1011     "x":555.6666259765625,
1012     "y":606.6664638519287,
1013     "z":"6ce0e277.83694c",
1014     "wires":[
1015       [
1016         "6076d36f.c0eccc",
1017         "b7a2dc33.468d7"
1018       ]
1019     ]
1020   },
1021   {
1022     "id":"9d2b6252.7686e",
1023     "type":"switchNode",
1024     "name":"switch request-action",
1025     "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1026     "comments":"",
1027     "outputs":1,
1028     "x":545.6666831970215,
1029     "y":857.0000295639038,
1030     "z":"6ce0e277.83694c",
1031     "wires":[
1032       [
1033         "a2921cae.f2ac3",
1034         "444810a.5a640f"
1035       ]
1036     ]
1037   },
1038   {
1039     "id":"1e164e5f.bcc522",
1040     "type":"execute",
1041     "name":"execute requiredParameter",
1042     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"$network-topology-operation-input.network-information.network-id\" value=\"\"/>\n\n",
1043     "comments":"",
1044     "outputs":1,
1045     "x":1018.6666831970215,
1046     "y":966.0000295639038,
1047     "z":"6ce0e277.83694c",
1048     "wires":[
1049       [
1050
1051       ]
1052     ]
1053   },
1054   {
1055     "id":"ad73741b.c60b68",
1056     "type":"block",
1057     "name":"block : atomic",
1058     "xml":"<block atomic=\"true\">",
1059     "atomic":"true",
1060     "outputs":1,
1061     "x":1107.6666259765625,
1062     "y":609,
1063     "z":"6ce0e277.83694c",
1064     "wires":[
1065       [
1066         "68fa6b90.e42414",
1067         "b293eb0.4a82b18"
1068       ]
1069     ]
1070   },
1071   {
1072     "id":"68fa6b90.e42414",
1073     "type":"switchNode",
1074     "name":"switch network-id",
1075     "xml":"<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
1076     "comments":"",
1077     "outputs":1,
1078     "x":1261.6665649414062,
1079     "y":709,
1080     "z":"6ce0e277.83694c",
1081     "wires":[
1082       [
1083         "e6a56919.99b308"
1084       ]
1085     ]
1086   },
1087   {
1088     "id":"e6a56919.99b308",
1089     "type":"outcome",
1090     "name":"NULL",
1091     "xml":"<outcome value=''>",
1092     "comments":"",
1093     "outputs":1,
1094     "x":1445.6665649414062,
1095     "y":712,
1096     "z":"6ce0e277.83694c",
1097     "wires":[
1098       [
1099         "c239837d.9386b"
1100       ]
1101     ]
1102   },
1103   {
1104     "id":"c239837d.9386b",
1105     "type":"returnFailure",
1106     "name":"return failure",
1107     "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",
1108     "comments":"",
1109     "x":1602.0952758789062,
1110     "y":711,
1111     "z":"6ce0e277.83694c",
1112     "wires":[
1113
1114     ]
1115   },
1116   {
1117     "id":"b293eb0.4a82b18",
1118     "type":"execute",
1119     "name":"execute requiredParameters",
1120     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"$network-topology-operation-input.network-information.network-id\" value=\"\"/>\n\n",
1121     "comments":"",
1122     "outputs":1,
1123     "x":1394.3809204101562,
1124     "y":605.142822265625,
1125     "z":"6ce0e277.83694c",
1126     "wires":[
1127       [
1128
1129       ]
1130     ]
1131   }
1132 ]