Fix underlay DG testing issue
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-network-input-parameters.json
1 [
2   {
3     "id": "ddf8122b.bf6e5",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 87,
8     "y": 115.04766654968262,
9     "z": "8e4867bc.5edaa8",
10     "wires": [
11       [
12         "2fff1e3d.63ab82"
13       ]
14     ]
15   },
16   {
17     "id": "2fff1e3d.63ab82",
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": 332.2857131958008,
26     "y": 114.28574562072754,
27     "z": "8e4867bc.5edaa8",
28     "wires": [
29       [
30         "5d7ec735.0c4ba8"
31       ]
32     ]
33   },
34   {
35     "id": "5d7ec735.0c4ba8",
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": 289.91668701171875,
42     "y": 189.30068397521973,
43     "z": "8e4867bc.5edaa8",
44     "wires": [
45       [
46         "c72cc377.3d6a98"
47       ]
48     ]
49   },
50   {
51     "id": "c72cc377.3d6a98",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 573.9166946411133,
58     "y": 177.30070877075195,
59     "z": "8e4867bc.5edaa8",
60     "wires": [
61       [
62         "846bb887.500c9",
63         "26516dd.068d212"
64       ]
65     ]
66   },
67   {
68     "id": "846bb887.500c9",
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": 854.9166946411133,
75     "y": 172.3006944656372,
76     "z": "8e4867bc.5edaa8",
77     "wires": [
78       [
79         "770a13b8.39f74c"
80       ]
81     ]
82   },
83   {
84     "id": "770a13b8.39f74c",
85     "type": "outcome",
86     "name": "NULL",
87     "xml": "<outcome value=''>",
88     "comments": "",
89     "outputs": 1,
90     "x": 1045.6309967041016,
91     "y": 173.30069541931152,
92     "z": "8e4867bc.5edaa8",
93     "wires": [
94       [
95         "b2cafa38.2cf18"
96       ]
97     ]
98   },
99   {
100     "id": "b2cafa38.2cf18",
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": 1220.0595474243164,
106     "y": 172.300687789917,
107     "z": "8e4867bc.5edaa8",
108     "wires": []
109   },
110   {
111     "id": "26516dd.068d212",
112     "type": "switchNode",
113     "name": "switch svc-action",
114     "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
115     "comments": "",
116     "outputs": 1,
117     "x": 155.91664123535156,
118     "y": 448.30070877075195,
119     "z": "8e4867bc.5edaa8",
120     "wires": [
121       [
122         "3553ffe6.e3983",
123         "9543c13f.54a338",
124         "67e65045.59b8a8",
125         "72ab0083.c0d808",
126         "1c3c77bb.a2bfc"
127       ]
128     ]
129   },
130   {
131     "id": "3553ffe6.e3983",
132     "type": "outcome",
133     "name": "create",
134     "xml": "<outcome value='create'>\n",
135     "comments": "",
136     "outputs": 1,
137     "x": 357.4167251586914,
138     "y": 448.30070877075195,
139     "z": "8e4867bc.5edaa8",
140     "wires": [
141       [
142         "dfd730e2.3d41a"
143       ]
144     ]
145   },
146   {
147     "id": "dfd730e2.3d41a",
148     "type": "block",
149     "name": "block : atomic",
150     "xml": "<block atomic=\"true\">",
151     "atomic": "true",
152     "outputs": 1,
153     "x": 523.4167327880859,
154     "y": 448.30070877075195,
155     "z": "8e4867bc.5edaa8",
156     "wires": [
157       [
158         "b792e4c7.13b96"
159       ]
160     ]
161   },
162   {
163     "id": "786f42e8.a3ebcc",
164     "type": "for",
165     "name": "for loop i - Network input parameters",
166     "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n",
167     "comments": "",
168     "outputs": 1,
169     "x": 1720.630859375,
170     "y": 109.01498413085938,
171     "z": "8e4867bc.5edaa8",
172     "wires": [
173       [
174         "39c05252.332006"
175       ]
176     ]
177   },
178   {
179     "id": "4662d843.0df85",
180     "type": "switchNode",
181     "name": "switch value",
182     "xml": "<switch test=\"`$tmp.value`\">\n",
183     "comments": "",
184     "outputs": 1,
185     "x": 2576.2022247314453,
186     "y": 366.01495361328125,
187     "z": "8e4867bc.5edaa8",
188     "wires": [
189       [
190         "632316ae.127dd"
191       ]
192     ]
193   },
194   {
195     "id": "632316ae.127dd",
196     "type": "outcome",
197     "name": "NULL",
198     "xml": "<outcome value=''>",
199     "comments": "",
200     "outputs": 1,
201     "x": 2793.2021980285645,
202     "y": 365.01495933532715,
203     "z": "8e4867bc.5edaa8",
204     "wires": [
205       [
206         "3f61b79e.239a58"
207       ]
208     ]
209   },
210   {
211     "id": "3f61b79e.239a58",
212     "type": "returnFailure",
213     "name": "return failure",
214     "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",
215     "comments": "",
216     "x": 2971.6309127807617,
217     "y": 366.01495933532715,
218     "z": "8e4867bc.5edaa8",
219     "wires": []
220   },
221   {
222     "id": "9543c13f.54a338",
223     "type": "outcome",
224     "name": "deactivate",
225     "xml": "<outcome value='deactivate'>\n",
226     "comments": "",
227     "outputs": 1,
228     "x": 359.7142791748047,
229     "y": 606.4762363433838,
230     "z": "8e4867bc.5edaa8",
231     "wires": [
232       [
233         "ff7f1b4f.30d5a8"
234       ]
235     ]
236   },
237   {
238     "id": "67e65045.59b8a8",
239     "type": "outcome",
240     "name": "delete",
241     "xml": "<outcome value='delete'>\n",
242     "comments": "",
243     "outputs": 1,
244     "x": 363.42866134643555,
245     "y": 777.1907939910889,
246     "z": "8e4867bc.5edaa8",
247     "wires": [
248       [
249         "c1e4044f.d7929"
250       ]
251     ]
252   },
253   {
254     "id": "72ab0083.c0d808",
255     "type": "other",
256     "name": "other",
257     "xml": "<outcome value='Other'>\n",
258     "comments": "",
259     "outputs": 1,
260     "x": 363.1905517578125,
261     "y": 950.6190795898438,
262     "z": "8e4867bc.5edaa8",
263     "wires": [
264       [
265         "f0129720.1ef558"
266       ]
267     ]
268   },
269   {
270     "id": "f0129720.1ef558",
271     "type": "returnFailure",
272     "name": "return failure",
273     "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",
274     "comments": "",
275     "x": 546.7620849609375,
276     "y": 951.2382202148438,
277     "z": "8e4867bc.5edaa8",
278     "wires": []
279   },
280   {
281     "id": "39c05252.332006",
282     "type": "block",
283     "name": "block",
284     "xml": "<block>\n",
285     "atomic": "false",
286     "comments": "",
287     "outputs": 1,
288     "x": 1600.7142486572266,
289     "y": 258.761926651001,
290     "z": "8e4867bc.5edaa8",
291     "wires": [
292       [
293         "bd82571.4ad4228",
294         "ce182094.ef8a3",
295         "6a5abb1b.52e074"
296       ]
297     ]
298   },
299   {
300     "id": "b792e4c7.13b96",
301     "type": "switchNode",
302     "name": "switch request-action",
303     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
304     "comments": "",
305     "outputs": 1,
306     "x": 849.0000152587891,
307     "y": 337.7143363952637,
308     "z": "8e4867bc.5edaa8",
309     "wires": [
310       [
311         "c5d42ffb.c9f0d8",
312         "69f739d0.28fca"
313       ]
314     ]
315   },
316   {
317     "id": "c5d42ffb.c9f0d8",
318     "type": "other",
319     "name": "CreateNetworkInstance",
320     "xml": "<outcome value='CreateNetworkInstance'>",
321     "comments": "",
322     "outputs": 1,
323     "x": 1115.000015258789,
324     "y": 296.7143363952637,
325     "z": "8e4867bc.5edaa8",
326     "wires": [
327       [
328         "2a69c84.9676bb8"
329       ]
330     ]
331   },
332   {
333     "id": "69f739d0.28fca",
334     "type": "other",
335     "name": "Other",
336     "xml": "<outcome value='Other'>",
337     "comments": "",
338     "outputs": 1,
339     "x": 1069.000015258789,
340     "y": 346.7143363952637,
341     "z": "8e4867bc.5edaa8",
342     "wires": [
343       [
344         "a4f6f6a1.e1ab58"
345       ]
346     ]
347   },
348   {
349     "id": "a4f6f6a1.e1ab58",
350     "type": "returnFailure",
351     "name": "return failure",
352     "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",
353     "comments": "",
354     "x": 1238.000015258789,
355     "y": 346.7143363952637,
356     "z": "8e4867bc.5edaa8",
357     "wires": []
358   },
359   {
360     "id": "2a69c84.9676bb8",
361     "type": "block",
362     "name": "block : atomic",
363     "xml": "<block atomic=\"true\">",
364     "atomic": "true",
365     "outputs": 1,
366     "x": 1340.000015258789,
367     "y": 285.7143363952637,
368     "z": "8e4867bc.5edaa8",
369     "wires": [
370       [
371         "786f42e8.a3ebcc"
372       ]
373     ]
374   },
375   {
376     "id": "bd82571.4ad4228",
377     "type": "set",
378     "name": "clear tmp-data",
379     "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
380     "comments": "",
381     "x": 1792.7143096923828,
382     "y": 213.00002479553223,
383     "z": "8e4867bc.5edaa8",
384     "wires": []
385   },
386   {
387     "id": "ce182094.ef8a3",
388     "type": "set",
389     "name": "set tmp-data",
390     "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",
391     "comments": "",
392     "x": 1781.7143096923828,
393     "y": 303.0000247955322,
394     "z": "8e4867bc.5edaa8",
395     "wires": []
396   },
397   {
398     "id": "6a5abb1b.52e074",
399     "type": "switchNode",
400     "name": "switch name",
401     "xml": "<switch test=\"`$tmp.name`\">\n",
402     "comments": "",
403     "outputs": 1,
404     "x": 1760.7143096923828,
405     "y": 397.0000247955322,
406     "z": "8e4867bc.5edaa8",
407     "wires": [
408       [
409         "52effe4f.ac2ae8",
410         "869a7fd8.50b75",
411         "407c2eba.5d49f8",
412         "174077c9.6c10c8",
413         "4f610fc8.b35008",
414         "10ff2035.1d4618",
415         "4c528719.50cae",
416         "a67c5c2f.007308",
417         "8b639e89.f3549",
418         "d88cca1b.f3ea88",
419         "986570e4.376248",
420         "cd383e71.d36be8",
421         "a1ba7fd7.d88d3",
422         "a53ac3b.66852c",
423         "3d95e365.11bc6c",
424         "18048265.211a56",
425         "e570f120.c01b38"
426       ]
427     ]
428   },
429   {
430     "id": "52effe4f.ac2ae8",
431     "type": "outcome",
432     "name": "NULL",
433     "xml": "<outcome value=''>",
434     "comments": "",
435     "outputs": 1,
436     "x": 2300.285598754883,
437     "y": 900,
438     "z": "8e4867bc.5edaa8",
439     "wires": [
440       [
441         "540cec23.3e0ea4"
442       ]
443     ]
444   },
445   {
446     "id": "540cec23.3e0ea4",
447     "type": "returnFailure",
448     "name": "return failure",
449     "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.network-request-input.network-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n",
450     "comments": "",
451     "x": 2475.285598754883,
452     "y": 899,
453     "z": "8e4867bc.5edaa8",
454     "wires": []
455   },
456   {
457     "id": "869a7fd8.50b75",
458     "type": "other",
459     "name": "name",
460     "xml": "<outcome value='name'>",
461     "comments": "",
462     "outputs": 1,
463     "x": 2277.285598754883,
464     "y": 22,
465     "z": "8e4867bc.5edaa8",
466     "wires": [
467       [
468         "4662d843.0df85"
469       ]
470     ]
471   },
472   {
473     "id": "407c2eba.5d49f8",
474     "type": "other",
475     "name": "service-type",
476     "xml": "<outcome value='service-type'>",
477     "comments": "",
478     "outputs": 1,
479     "x": 2280.285598754883,
480     "y": 89,
481     "z": "8e4867bc.5edaa8",
482     "wires": [
483       [
484         "4662d843.0df85"
485       ]
486     ]
487   },
488   {
489     "id": "4c528719.50cae",
490     "type": "other",
491     "name": "sna2_name",
492     "xml": "<outcome value='sna2_name'>",
493     "comments": "",
494     "outputs": 1,
495     "x": 2284.285598754883,
496     "y": 318,
497     "z": "8e4867bc.5edaa8",
498     "wires": [
499       [
500         "4662d843.0df85"
501       ]
502     ]
503   },
504   {
505     "id": "174077c9.6c10c8",
506     "type": "other",
507     "name": "site1-name",
508     "xml": "<outcome value='site1-name'>",
509     "comments": "",
510     "outputs": 1,
511     "x": 2281.285598754883,
512     "y": 150,
513     "z": "8e4867bc.5edaa8",
514     "wires": [
515       [
516         "4662d843.0df85"
517       ]
518     ]
519   },
520   {
521     "id": "4f610fc8.b35008",
522     "type": "other",
523     "name": "site2-name",
524     "xml": "<outcome value='site2-name'>",
525     "comments": "",
526     "outputs": 1,
527     "x": 2277.285598754883,
528     "y": 207,
529     "z": "8e4867bc.5edaa8",
530     "wires": [
531       [
532         "4662d843.0df85"
533       ]
534     ]
535   },
536   {
537     "id": "10ff2035.1d4618",
538     "type": "other",
539     "name": "sna1_name",
540     "xml": "<outcome value='sna1_name'>",
541     "comments": "",
542     "outputs": 1,
543     "x": 2280.285598754883,
544     "y": 264,
545     "z": "8e4867bc.5edaa8",
546     "wires": [
547       [
548         "4662d843.0df85"
549       ]
550     ]
551   },
552   {
553     "id": "a67c5c2f.007308",
554     "type": "other",
555     "name": "pe1_id",
556     "xml": "<outcome value='pe1_id'>",
557     "comments": "",
558     "outputs": 1,
559     "x": 2284.285598754883,
560     "y": 369,
561     "z": "8e4867bc.5edaa8",
562     "wires": [
563       [
564         "4662d843.0df85"
565       ]
566     ]
567   },
568   {
569     "id": "8b639e89.f3549",
570     "type": "other",
571     "name": "pe2_id",
572     "xml": "<outcome value='pe2_id'>",
573     "comments": "",
574     "outputs": 1,
575     "x": 2287.285598754883,
576     "y": 417,
577     "z": "8e4867bc.5edaa8",
578     "wires": [
579       [
580         "4662d843.0df85"
581       ]
582     ]
583   },
584   {
585     "id": "d88cca1b.f3ea88",
586     "type": "other",
587     "name": "ac1-id",
588     "xml": "<outcome value='ac1-id'>",
589     "comments": "",
590     "outputs": 1,
591     "x": 2292.285598754883,
592     "y": 466,
593     "z": "8e4867bc.5edaa8",
594     "wires": [
595       [
596         "4662d843.0df85"
597       ]
598     ]
599   },
600   {
601     "id": "986570e4.376248",
602     "type": "other",
603     "name": "ac2-id",
604     "xml": "<outcome value='ac2-id'>",
605     "comments": "",
606     "outputs": 1,
607     "x": 2294.285598754883,
608     "y": 521,
609     "z": "8e4867bc.5edaa8",
610     "wires": [
611       [
612         "4662d843.0df85"
613       ]
614     ]
615   },
616   {
617     "id": "cd383e71.d36be8",
618     "type": "other",
619     "name": "ac1-ip",
620     "xml": "<outcome value='ac1-ip'>",
621     "comments": "",
622     "outputs": 1,
623     "x": 2294.285598754883,
624     "y": 573,
625     "z": "8e4867bc.5edaa8",
626     "wires": [
627       [
628         "4662d843.0df85"
629       ]
630     ]
631   },
632   {
633     "id": "a1ba7fd7.d88d3",
634     "type": "other",
635     "name": "ac2-ip",
636     "xml": "<outcome value='ac2-ip'>",
637     "comments": "",
638     "outputs": 1,
639     "x": 2296.285598754883,
640     "y": 634,
641     "z": "8e4867bc.5edaa8",
642     "wires": [
643       [
644         "4662d843.0df85"
645       ]
646     ]
647   },
648   {
649     "id": "a53ac3b.66852c",
650     "type": "other",
651     "name": "ac1_peer_ip",
652     "xml": "<outcome value='ac1_peer_ip'>",
653     "comments": "",
654     "outputs": 1,
655     "x": 2298.285598754883,
656     "y": 684,
657     "z": "8e4867bc.5edaa8",
658     "wires": [
659       [
660         "4662d843.0df85"
661       ]
662     ]
663   },
664   {
665     "id": "3d95e365.11bc6c",
666     "type": "other",
667     "name": "ac2_peer_ip",
668     "xml": "<outcome value='ac2_peer_ip'>",
669     "comments": "",
670     "outputs": 1,
671     "x": 2294.285598754883,
672     "y": 732,
673     "z": "8e4867bc.5edaa8",
674     "wires": [
675       [
676         "4662d843.0df85"
677       ]
678     ]
679   },
680   {
681     "id": "18048265.211a56",
682     "type": "other",
683     "name": "ac1_svlan",
684     "xml": "<outcome value='ac1_svlan'>",
685     "comments": "",
686     "outputs": 1,
687     "x": 2296.285598754883,
688     "y": 785,
689     "z": "8e4867bc.5edaa8",
690     "wires": [
691       [
692         "4662d843.0df85"
693       ]
694     ]
695   },
696   {
697     "id": "e570f120.c01b38",
698     "type": "other",
699     "name": "ac2_svlan",
700     "xml": "<outcome value='ac2_svlan'>",
701     "comments": "",
702     "outputs": 1,
703     "x": 2298.285598754883,
704     "y": 846,
705     "z": "8e4867bc.5edaa8",
706     "wires": [
707       [
708         "4662d843.0df85"
709       ]
710     ]
711   },
712   {
713     "id": "c1e4044f.d7929",
714     "type": "block",
715     "name": "block : atomic",
716     "xml": "<block atomic=\"true\">",
717     "atomic": "true",
718     "outputs": 1,
719     "x": 532.5714111328125,
720     "y": 775.8572387695312,
721     "z": "8e4867bc.5edaa8",
722     "wires": [
723       [
724         "4d5581d7.e27f88"
725       ]
726     ]
727   },
728   {
729     "id": "4f4bf5a8.a829ac",
730     "type": "other",
731     "name": "DeleteNetworkInstance",
732     "xml": "<outcome value='DeleteNetworkInstance'>",
733     "comments": "",
734     "outputs": 1,
735     "x": 965.2857055664062,
736     "y": 778.857177734375,
737     "z": "8e4867bc.5edaa8",
738     "wires": [
739       [
740         "562b1ef.a708d6"
741       ]
742     ]
743   },
744   {
745     "id": "548cf43d.62af0c",
746     "type": "other",
747     "name": "Other",
748     "xml": "<outcome value='Other'>",
749     "comments": "",
750     "outputs": 1,
751     "x": 1025.2857055664062,
752     "y": 908.857177734375,
753     "z": "8e4867bc.5edaa8",
754     "wires": [
755       [
756         "5adf131e.a61cf4"
757       ]
758     ]
759   },
760   {
761     "id": "5adf131e.a61cf4",
762     "type": "returnFailure",
763     "name": "return failure",
764     "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",
765     "comments": "",
766     "x": 1212.2857055664062,
767     "y": 909.857177734375,
768     "z": "8e4867bc.5edaa8",
769     "wires": []
770   },
771   {
772     "id": "562b1ef.a708d6",
773     "type": "block",
774     "name": "block : atomic",
775     "xml": "<block atomic=\"true\">",
776     "atomic": "true",
777     "outputs": 1,
778     "x": 920.2857055664062,
779     "y": 978.857177734375,
780     "z": "8e4867bc.5edaa8",
781     "wires": [
782       [
783         "253ad8eb.98869",
784         "aeedc57a.12dee8"
785       ]
786     ]
787   },
788   {
789     "id": "253ad8eb.98869",
790     "type": "switchNode",
791     "name": "switch network-id",
792     "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
793     "comments": "",
794     "outputs": 1,
795     "x": 1074.28564453125,
796     "y": 1078.857177734375,
797     "z": "8e4867bc.5edaa8",
798     "wires": [
799       [
800         "34e7b676.a0927a"
801       ]
802     ]
803   },
804   {
805     "id": "34e7b676.a0927a",
806     "type": "outcome",
807     "name": "NULL",
808     "xml": "<outcome value=''>",
809     "comments": "",
810     "outputs": 1,
811     "x": 1258.28564453125,
812     "y": 1081.857177734375,
813     "z": "8e4867bc.5edaa8",
814     "wires": [
815       [
816         "8389ad47.02308"
817       ]
818     ]
819   },
820   {
821     "id": "8389ad47.02308",
822     "type": "returnFailure",
823     "name": "return failure",
824     "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",
825     "comments": "",
826     "x": 1414.71435546875,
827     "y": 1080.857177734375,
828     "z": "8e4867bc.5edaa8",
829     "wires": []
830   },
831   {
832     "id": "1c3c77bb.a2bfc",
833     "type": "outcome",
834     "name": "activate",
835     "xml": "<outcome value='activate'>\n",
836     "comments": "",
837     "outputs": 1,
838     "x": 358.4285697937012,
839     "y": 540.7619791030884,
840     "z": "8e4867bc.5edaa8",
841     "wires": [
842       [
843         "3c6d4ec3.c79d7a"
844       ]
845     ]
846   },
847   {
848     "id": "3c6d4ec3.c79d7a",
849     "type": "switchNode",
850     "name": "switch request-action",
851     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
852     "comments": "",
853     "outputs": 1,
854     "x": 541.2857360839844,
855     "y": 537.9048290252686,
856     "z": "8e4867bc.5edaa8",
857     "wires": [
858       [
859         "bc964363.f267b",
860         "a1a12099.fb3058"
861       ]
862     ]
863   },
864   {
865     "id": "bc964363.f267b",
866     "type": "other",
867     "name": "ActivateDCINetworkInstance",
868     "xml": "<outcome value='ActivateDCINetworkInstance'>",
869     "comments": "",
870     "outputs": 1,
871     "x": 807.2857360839844,
872     "y": 496.90482902526855,
873     "z": "8e4867bc.5edaa8",
874     "wires": [
875       [
876         "a3300122.bf0e6"
877       ]
878     ]
879   },
880   {
881     "id": "a1a12099.fb3058",
882     "type": "other",
883     "name": "Other",
884     "xml": "<outcome value='Other'>",
885     "comments": "",
886     "outputs": 1,
887     "x": 761.2857360839844,
888     "y": 546.9048290252686,
889     "z": "8e4867bc.5edaa8",
890     "wires": [
891       [
892         "7572ee8e.b0b5b8"
893       ]
894     ]
895   },
896   {
897     "id": "7572ee8e.b0b5b8",
898     "type": "returnFailure",
899     "name": "return failure",
900     "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",
901     "comments": "",
902     "x": 930.2857360839844,
903     "y": 546.9048290252686,
904     "z": "8e4867bc.5edaa8",
905     "wires": []
906   },
907   {
908     "id": "a3300122.bf0e6",
909     "type": "block",
910     "name": "block : atomic",
911     "xml": "<block atomic=\"true\">",
912     "atomic": "true",
913     "outputs": 1,
914     "x": 1032.2857360839844,
915     "y": 485.90482902526855,
916     "z": "8e4867bc.5edaa8",
917     "wires": [
918       [
919         "7cd4d474.99df44"
920       ]
921     ]
922   },
923   {
924     "id": "e4ddb749.a4dd58",
925     "type": "other",
926     "name": "DeActivateDCINetworkInstance",
927     "xml": "<outcome value='DeActivateDCINetworkInstance'>",
928     "comments": "",
929     "outputs": 1,
930     "x": 803.1429061889648,
931     "y": 608.1906299591064,
932     "z": "8e4867bc.5edaa8",
933     "wires": [
934       [
935         "393b880c.5a2ab8"
936       ]
937     ]
938   },
939   {
940     "id": "b415c4d7.ec51d8",
941     "type": "other",
942     "name": "Other",
943     "xml": "<outcome value='Other'>",
944     "comments": "",
945     "outputs": 1,
946     "x": 718.1428985595703,
947     "y": 677.190637588501,
948     "z": "8e4867bc.5edaa8",
949     "wires": [
950       [
951         "b678cd71.9eea48"
952       ]
953     ]
954   },
955   {
956     "id": "b678cd71.9eea48",
957     "type": "returnFailure",
958     "name": "return failure",
959     "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",
960     "comments": "",
961     "x": 899.1429138183594,
962     "y": 678.190637588501,
963     "z": "8e4867bc.5edaa8",
964     "wires": []
965   },
966   {
967     "id": "7cd4d474.99df44",
968     "type": "call",
969     "name": "call validate-overlay-network-input-parameters",
970     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
971     "comments": "",
972     "outputs": 1,
973     "x": 1340.1510696411133,
974     "y": 487.3333520889282,
975     "z": "8e4867bc.5edaa8",
976     "wires": [
977       []
978     ]
979   },
980   {
981     "id": "ff7f1b4f.30d5a8",
982     "type": "switchNode",
983     "name": "switch request-action",
984     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
985     "comments": "",
986     "outputs": 1,
987     "x": 539.9999618530273,
988     "y": 608.6664638519287,
989     "z": "8e4867bc.5edaa8",
990     "wires": [
991       [
992         "e4ddb749.a4dd58",
993         "b415c4d7.ec51d8"
994       ]
995     ]
996   },
997   {
998     "id": "4d5581d7.e27f88",
999     "type": "switchNode",
1000     "name": "switch request-action",
1001     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1002     "comments": "",
1003     "outputs": 1,
1004     "x": 706,
1005     "y": 867,
1006     "z": "8e4867bc.5edaa8",
1007     "wires": [
1008       [
1009         "4f4bf5a8.a829ac",
1010         "548cf43d.62af0c"
1011       ]
1012     ]
1013   },
1014   {
1015     "id": "aeedc57a.12dee8",
1016     "type": "execute",
1017     "name": "execute requiredParameter",
1018     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"network-topology-operation-input.network-information.network-id\" value=\"$network-topology-operation-input.network-information.network-id\"/>\n\n",
1019     "comments": "",
1020     "outputs": 1,
1021     "x": 1207,
1022     "y": 975,
1023     "z": "8e4867bc.5edaa8",
1024     "wires": [
1025       []
1026     ]
1027   },
1028   {
1029     "id": "393b880c.5a2ab8",
1030     "type": "block",
1031     "name": "block : atomic",
1032     "xml": "<block atomic=\"true\">",
1033     "atomic": "true",
1034     "outputs": 1,
1035     "x": 1091.9999618530273,
1036     "y": 611,
1037     "z": "8e4867bc.5edaa8",
1038     "wires": [
1039       [
1040         "46bbeff4.c42c88",
1041         "1fbe8bfb.465ce4"
1042       ]
1043     ]
1044   },
1045   {
1046     "id": "46bbeff4.c42c88",
1047     "type": "switchNode",
1048     "name": "switch network-id",
1049     "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
1050     "comments": "",
1051     "outputs": 1,
1052     "x": 1245.999900817871,
1053     "y": 711,
1054     "z": "8e4867bc.5edaa8",
1055     "wires": [
1056       [
1057         "147516eb.099cf9"
1058       ]
1059     ]
1060   },
1061   {
1062     "id": "147516eb.099cf9",
1063     "type": "outcome",
1064     "name": "NULL",
1065     "xml": "<outcome value=''>",
1066     "comments": "",
1067     "outputs": 1,
1068     "x": 1429.999900817871,
1069     "y": 714,
1070     "z": "8e4867bc.5edaa8",
1071     "wires": [
1072       [
1073         "c957deec.097848"
1074       ]
1075     ]
1076   },
1077   {
1078     "id": "c957deec.097848",
1079     "type": "returnFailure",
1080     "name": "return failure",
1081     "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",
1082     "comments": "",
1083     "x": 1586.428611755371,
1084     "y": 713,
1085     "z": "8e4867bc.5edaa8",
1086     "wires": []
1087   },
1088   {
1089     "id": "1fbe8bfb.465ce4",
1090     "type": "execute",
1091     "name": "execute requiredParameters",
1092     "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",
1093     "comments": "",
1094     "outputs": 1,
1095     "x": 1378.714256286621,
1096     "y": 607.142822265625,
1097     "z": "8e4867bc.5edaa8",
1098     "wires": [
1099       []
1100     ]
1101   }
1102 ]