7ba8a8fad23fbca51b5e20877133150f8926cd75
[sdnc/oam.git] /
1 [
2   {
3     "id": "f341527b.50b3",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 100.03125,
8     "y": 50.3333295583725,
9     "z": "612a8bcd.555ff4",
10     "wires": [
11       [
12         "73a43f3f.5366a"
13       ]
14     ]
15   },
16   {
17     "id": "73a43f3f.5366a",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API 1.2.1-SNAPSHOT",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "1.2.1-SNAPSHOT",
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='1.2.1-SNAPSHOT'>",
24     "outputs": 1,
25     "x": 345.3169631958008,
26     "y": 49.57140862941742,
27     "z": "612a8bcd.555ff4",
28     "wires": [
29       [
30         "51c30458.248f6c"
31       ]
32     ]
33   },
34   {
35     "id": "51c30458.248f6c",
36     "type": "method",
37     "name": "validate-sotn-network-input-parameters",
38     "xml": "<method rpc='validate-sotn-network-input-parameters' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 302.94793701171875,
42     "y": 124.5863469839096,
43     "z": "612a8bcd.555ff4",
44     "wires": [
45       [
46         "2614ca2e.5555e6"
47       ]
48     ]
49   },
50   {
51     "id": "2614ca2e.5555e6",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 586.9479446411133,
58     "y": 112.58637177944183,
59     "z": "612a8bcd.555ff4",
60     "wires": [
61       [
62         "7d98662d.87c938",
63         "db93dd27.961fc"
64       ]
65     ]
66   },
67   {
68     "id": "7d98662d.87c938",
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": 867.9479446411133,
75     "y": 107.58635747432709,
76     "z": "612a8bcd.555ff4",
77     "wires": [
78       [
79         "ed1074da.968838"
80       ]
81     ]
82   },
83   {
84     "id": "ed1074da.968838",
85     "type": "outcome",
86     "name": "NULL",
87     "xml": "<outcome value=''>",
88     "comments": "",
89     "outputs": 1,
90     "x": 1058.6622467041016,
91     "y": 108.5863584280014,
92     "z": "612a8bcd.555ff4",
93     "wires": [
94       [
95         "1f50e65c.41f41a"
96       ]
97     ]
98   },
99   {
100     "id": "1f50e65c.41f41a",
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": 1233.0907974243164,
106     "y": 107.58635079860687,
107     "z": "612a8bcd.555ff4",
108     "wires": [
109       
110     ]
111   },
112   {
113     "id": "db93dd27.961fc",
114     "type": "switchNode",
115     "name": "switch svc-action",
116     "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
117     "comments": "",
118     "outputs": 1,
119     "x": 168.94789123535156,
120     "y": 383.58637177944183,
121     "z": "612a8bcd.555ff4",
122     "wires": [
123       [
124         "b3bdbe0b.cad91",
125         "26d5914b.21d37e",
126         "3f8d5428.3f490c",
127         "2e6ac3e2.42bc2c",
128         "8ba722c1.4dbdb"
129       ]
130     ]
131   },
132   {
133     "id": "b3bdbe0b.cad91",
134     "type": "outcome",
135     "name": "create",
136     "xml": "<outcome value='create'>\n",
137     "comments": "",
138     "outputs": 1,
139     "x": 377.53126525878906,
140     "y": 212.99999940395355,
141     "z": "612a8bcd.555ff4",
142     "wires": [
143       [
144         "898ae9b8.952238"
145       ]
146     ]
147   },
148   {
149     "id": "898ae9b8.952238",
150     "type": "block",
151     "name": "block : atomic",
152     "xml": "<block atomic=\"true\">",
153     "atomic": "true",
154     "outputs": 1,
155     "x": 538.5312652587891,
156     "y": 212.99999940395355,
157     "z": "612a8bcd.555ff4",
158     "wires": [
159       [
160         "29c233ae.14280c"
161       ]
162     ]
163   },
164   {
165     "id": "26d5914b.21d37e",
166     "type": "outcome",
167     "name": "deactivate",
168     "xml": "<outcome value='deactivate'>\n",
169     "comments": "",
170     "outputs": 1,
171     "x": 350.52325439453125,
172     "y": 821.7618678808212,
173     "z": "612a8bcd.555ff4",
174     "wires": [
175       [
176         "5f3074f8.76c69c"
177       ]
178     ]
179   },
180   {
181     "id": "3f8d5428.3f490c",
182     "type": "outcome",
183     "name": "delete",
184     "xml": "<outcome value='delete'>\n",
185     "comments": "",
186     "outputs": 1,
187     "x": 354.2376365661621,
188     "y": 992.4764255285263,
189     "z": "612a8bcd.555ff4",
190     "wires": [
191       [
192         "b3fb014d.8c7af"
193       ]
194     ]
195   },
196   {
197     "id": "2e6ac3e2.42bc2c",
198     "type": "other",
199     "name": "other",
200     "xml": "<outcome value='Other'>\n",
201     "comments": "",
202     "outputs": 1,
203     "x": 353.99952697753906,
204     "y": 1165.9047111272812,
205     "z": "612a8bcd.555ff4",
206     "wires": [
207       [
208         "bc54858d.9ca818"
209       ]
210     ]
211   },
212   {
213     "id": "bc54858d.9ca818",
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-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
217     "comments": "",
218     "x": 537.5710601806641,
219     "y": 1166.5238517522812,
220     "z": "612a8bcd.555ff4",
221     "wires": [
222       
223     ]
224   },
225   {
226     "id": "29c233ae.14280c",
227     "type": "switchNode",
228     "name": "switch request-action",
229     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
230     "comments": "",
231     "outputs": 1,
232     "x": 762.0312652587891,
233     "y": 212.99999940395355,
234     "z": "612a8bcd.555ff4",
235     "wires": [
236       [
237         "45f9882d.888fa8",
238         "c9fe1e81.e4448"
239       ]
240     ]
241   },
242   {
243     "id": "45f9882d.888fa8",
244     "type": "other",
245     "name": "Other",
246     "xml": "<outcome value='Other'>",
247     "comments": "",
248     "outputs": 1,
249     "x": 937.5312652587891,
250     "y": 232.99999940395355,
251     "z": "612a8bcd.555ff4",
252     "wires": [
253       [
254         "a900b306.d7c45"
255       ]
256     ]
257   },
258   {
259     "id": "a900b306.d7c45",
260     "type": "returnFailure",
261     "name": "return failure",
262     "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 SOTN CreateVPNNetworkInstance for svc-action=create\" />\n",
263     "comments": "",
264     "x": 1075.031265258789,
265     "y": 232.99999940395355,
266     "z": "612a8bcd.555ff4",
267     "wires": [
268       
269     ]
270   },
271   {
272     "id": "6b8a3092.36d36",
273     "type": "other",
274     "name": "DeleteSOTNConnectivityIntance",
275     "xml": "<outcome value='DeleteSOTNConnectivityIntance'>",
276     "comments": "",
277     "outputs": 1,
278     "x": 776.0946769714355,
279     "y": 993.0316957235336,
280     "z": "612a8bcd.555ff4",
281     "wires": [
282       [
283         "77908b22.05afb4"
284       ]
285     ]
286   },
287   {
288     "id": "8144887f.4926d8",
289     "type": "other",
290     "name": "Other",
291     "xml": "<outcome value='Other'>",
292     "comments": "",
293     "outputs": 1,
294     "x": 711.6502227783203,
295     "y": 1065.2539647817612,
296     "z": "612a8bcd.555ff4",
297     "wires": [
298       [
299         "8b6a3319.1c2db"
300       ]
301     ]
302   },
303   {
304     "id": "8b6a3319.1c2db",
305     "type": "returnFailure",
306     "name": "return failure",
307     "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 SOTN DeleteVPNNetworkInstance for svc-action=delete\" />\n",
308     "comments": "",
309     "x": 871.983642578125,
310     "y": 1067.365102171898,
311     "z": "612a8bcd.555ff4",
312     "wires": [
313       
314     ]
315   },
316   {
317     "id": "77908b22.05afb4",
318     "type": "block",
319     "name": "block : atomic",
320     "xml": "<block atomic=\"true\">",
321     "atomic": "true",
322     "outputs": 1,
323     "x": 1019.9835510253906,
324     "y": 995.2539476156235,
325     "z": "612a8bcd.555ff4",
326     "wires": [
327       [
328         "174db933.229107",
329         "c5c30480.3e58d8",
330         "57a9e8ca.5b6ba8",
331         "5d3a1919.83ff78"
332       ]
333     ]
334   },
335   {
336     "id": "8ba722c1.4dbdb",
337     "type": "outcome",
338     "name": "activate",
339     "xml": "<outcome value='activate'>\n",
340     "comments": "",
341     "outputs": 1,
342     "x": 371.4598197937012,
343     "y": 476.04764211177826,
344     "z": "612a8bcd.555ff4",
345     "wires": [
346       [
347         "c50ae05a.b3f78"
348       ]
349     ]
350   },
351   {
352     "id": "c50ae05a.b3f78",
353     "type": "switchNode",
354     "name": "switch request-action",
355     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
356     "comments": "",
357     "outputs": 1,
358     "x": 554.3169860839844,
359     "y": 473.19049203395844,
360     "z": "612a8bcd.555ff4",
361     "wires": [
362       [
363         "3a3dfff9.f5159",
364         "e69e7919.c1d848"
365       ]
366     ]
367   },
368   {
369     "id": "3a3dfff9.f5159",
370     "type": "other",
371     "name": "ActivateSOTNConnectivityIntance",
372     "xml": "<outcome value='ActivateSOTNConnectivityIntance'>",
373     "comments": "",
374     "outputs": 1,
375     "x": 807.5312652587891,
376     "y": 452.99999940395355,
377     "z": "612a8bcd.555ff4",
378     "wires": [
379       [
380         "c446e4e6.e8ac48"
381       ]
382     ]
383   },
384   {
385     "id": "e69e7919.c1d848",
386     "type": "other",
387     "name": "Other",
388     "xml": "<outcome value='Other'>",
389     "comments": "",
390     "outputs": 1,
391     "x": 737.5312652587891,
392     "y": 492.99999940395355,
393     "z": "612a8bcd.555ff4",
394     "wires": [
395       [
396         "f911f3da.ef74b"
397       ]
398     ]
399   },
400   {
401     "id": "f911f3da.ef74b",
402     "type": "returnFailure",
403     "name": "return failure",
404     "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 SOTN ActivateVPNNetworkInstance for svc-action=activate\" />\n",
405     "comments": "",
406     "x": 895.0312652587891,
407     "y": 492.99999940395355,
408     "z": "612a8bcd.555ff4",
409     "wires": [
410       
411     ]
412   },
413   {
414     "id": "c446e4e6.e8ac48",
415     "type": "block",
416     "name": "block : atomic",
417     "xml": "<block atomic=\"true\">",
418     "atomic": "true",
419     "outputs": 1,
420     "x": 1038.531265258789,
421     "y": 452.99999940395355,
422     "z": "612a8bcd.555ff4",
423     "wires": [
424       [
425         "57a9e8ca.5b6ba8",
426         "174db933.229107",
427         "c5c30480.3e58d8",
428         "ca8482b0.138b7"
429       ]
430     ]
431   },
432   {
433     "id": "d4ecf814.c6a798",
434     "type": "other",
435     "name": "DeactivateSOTNConnectivityIntance",
436     "xml": "<outcome value='DeactivateSOTNConnectivityIntance'>",
437     "comments": "",
438     "outputs": 1,
439     "x": 793.9518814086914,
440     "y": 823.4762614965439,
441     "z": "612a8bcd.555ff4",
442     "wires": [
443       [
444         "3dd1f9de.bc71e6"
445       ]
446     ]
447   },
448   {
449     "id": "5b749a1a.8a0654",
450     "type": "other",
451     "name": "Other",
452     "xml": "<outcome value='Other'>",
453     "comments": "",
454     "outputs": 1,
455     "x": 708.9518737792969,
456     "y": 892.4762691259384,
457     "z": "612a8bcd.555ff4",
458     "wires": [
459       [
460         "47507d7d.fc2bb4"
461       ]
462     ]
463   },
464   {
465     "id": "47507d7d.fc2bb4",
466     "type": "returnFailure",
467     "name": "return failure",
468     "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 SOTN DeactivateVPNNetworkInstance for svc-action=deactivate\" />\n",
469     "comments": "",
470     "x": 889.9518890380859,
471     "y": 893.4762691259384,
472     "z": "612a8bcd.555ff4",
473     "wires": [
474       
475     ]
476   },
477   {
478     "id": "5f3074f8.76c69c",
479     "type": "switchNode",
480     "name": "switch request-action",
481     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
482     "comments": "",
483     "outputs": 1,
484     "x": 530.8089370727539,
485     "y": 823.9520953893661,
486     "z": "612a8bcd.555ff4",
487     "wires": [
488       [
489         "d4ecf814.c6a798",
490         "5b749a1a.8a0654"
491       ]
492     ]
493   },
494   {
495     "id": "b3fb014d.8c7af",
496     "type": "switchNode",
497     "name": "switch request-action",
498     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
499     "comments": "",
500     "outputs": 1,
501     "x": 534.5867385864258,
502     "y": 992.2856494188309,
503     "z": "612a8bcd.555ff4",
504     "wires": [
505       [
506         "6b8a3092.36d36",
507         "8144887f.4926d8"
508       ]
509     ]
510   },
511   {
512     "id": "3dd1f9de.bc71e6",
513     "type": "block",
514     "name": "block : atomic",
515     "xml": "<block atomic=\"true\">",
516     "atomic": "true",
517     "outputs": 1,
518     "x": 1053.9200286865234,
519     "y": 826.2856563329697,
520     "z": "612a8bcd.555ff4",
521     "wires": [
522       [
523         "174db933.229107",
524         "c5c30480.3e58d8",
525         "57a9e8ca.5b6ba8",
526         "dee8bd53.56b7b"
527       ]
528     ]
529   },
530   {
531     "id": "c9fe1e81.e4448",
532     "type": "other",
533     "name": "CreateSOTNConnectivityIntance",
534     "xml": "<outcome value='CreateSOTNConnectivityIntance'>",
535     "comments": "",
536     "outputs": 1,
537     "x": 1003.5312652587891,
538     "y": 192.99999940395355,
539     "z": "612a8bcd.555ff4",
540     "wires": [
541       [
542         "f41339c3.f110b8"
543       ]
544     ]
545   },
546   {
547     "id": "f41339c3.f110b8",
548     "type": "block",
549     "name": "block : atomic",
550     "xml": "<block atomic=\"true\">",
551     "atomic": "true",
552     "outputs": 1,
553     "x": 1218.531265258789,
554     "y": 192.99999940395355,
555     "z": "612a8bcd.555ff4",
556     "wires": [
557       [
558         "78324d1c.b05904"
559       ]
560     ]
561   },
562   {
563     "id": "78324d1c.b05904",
564     "type": "for",
565     "name": "for loop i - Network input parameters",
566     "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n",
567     "comments": "",
568     "outputs": 1,
569     "x": 1469.031265258789,
570     "y": 192.99999940395355,
571     "z": "612a8bcd.555ff4",
572     "wires": [
573       [
574         "6af6c64a.163a28"
575       ]
576     ]
577   },
578   {
579     "id": "6af6c64a.163a28",
580     "type": "block",
581     "name": "block",
582     "xml": "<block>\n",
583     "atomic": "false",
584     "comments": "",
585     "outputs": 1,
586     "x": 1697.531265258789,
587     "y": 192.99999940395355,
588     "z": "612a8bcd.555ff4",
589     "wires": [
590       [
591         "9cb7bf55.5070b",
592         "46cd63b4.17fedc",
593         "8ab4804d.8981"
594       ]
595     ]
596   },
597   {
598     "id": "9cb7bf55.5070b",
599     "type": "set",
600     "name": "clear tmp-data",
601     "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
602     "comments": "",
603     "x": 1880.531265258789,
604     "y": 152.99999940395355,
605     "z": "612a8bcd.555ff4",
606     "wires": [
607       
608     ]
609   },
610   {
611     "id": "46cd63b4.17fedc",
612     "type": "set",
613     "name": "set tmp-data",
614     "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",
615     "comments": "",
616     "x": 1875.031265258789,
617     "y": 192.99999940395355,
618     "z": "612a8bcd.555ff4",
619     "wires": [
620       
621     ]
622   },
623   {
624     "id": "8ab4804d.8981",
625     "type": "switchNode",
626     "name": "switch name",
627     "xml": "<switch test=\"`$tmp.name`\">\n",
628     "comments": "",
629     "outputs": 1,
630     "x": 1875.031265258789,
631     "y": 232.99999940395355,
632     "z": "612a8bcd.555ff4",
633     "wires": [
634       [
635         "9592d9e2.7991f8",
636         "97143bfc.87f758",
637         "d423ac2f.9c51f"
638       ]
639     ]
640   },
641   {
642     "id": "7c1a345e.318e8c",
643     "type": "switchNode",
644     "name": "switch value",
645     "xml": "<switch test=\"`$tmp.value`\">\n",
646     "comments": "",
647     "outputs": 1,
648     "x": 2335.0314331054688,
649     "y": 185.00002002716064,
650     "z": "612a8bcd.555ff4",
651     "wires": [
652       [
653         "71892760.797d58"
654       ]
655     ]
656   },
657   {
658     "id": "d423ac2f.9c51f",
659     "type": "outcome",
660     "name": "NULL",
661     "xml": "<outcome value=''>",
662     "comments": "",
663     "outputs": 1,
664     "x": 2094.5316009521484,
665     "y": 251.00000762939453,
666     "z": "612a8bcd.555ff4",
667     "wires": [
668       [
669         "f8a3cfb8.ff88b"
670       ]
671     ]
672   },
673   {
674     "id": "f8a3cfb8.ff88b",
675     "type": "returnFailure",
676     "name": "return failure",
677     "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",
678     "comments": "",
679     "x": 2269.5316047668457,
680     "y": 250.00000762939453,
681     "z": "612a8bcd.555ff4",
682     "wires": [
683       
684     ]
685   },
686   {
687     "id": "9592d9e2.7991f8",
688     "type": "other",
689     "name": "name",
690     "xml": "<outcome value='name'>",
691     "comments": "",
692     "outputs": 1,
693     "x": 2094.5316009521484,
694     "y": 135.00000190734863,
695     "z": "612a8bcd.555ff4",
696     "wires": [
697       [
698         "7c1a345e.318e8c"
699       ]
700     ]
701   },
702   {
703     "id": "97143bfc.87f758",
704     "type": "other",
705     "name": "description",
706     "xml": "<outcome value='description'>",
707     "comments": "",
708     "outputs": 1,
709     "x": 2106.5313568115234,
710     "y": 188.66666412353516,
711     "z": "612a8bcd.555ff4",
712     "wires": [
713       [
714         "7c1a345e.318e8c"
715       ]
716     ]
717   },
718   {
719     "id": "71892760.797d58",
720     "type": "outcome",
721     "name": "NULL",
722     "xml": "<outcome value=''>",
723     "comments": "",
724     "outputs": 1,
725     "x": 2478.5314331054688,
726     "y": 185.00002002716064,
727     "z": "612a8bcd.555ff4",
728     "wires": [
729       [
730         "51159df7.8f7f34"
731       ]
732     ]
733   },
734   {
735     "id": "51159df7.8f7f34",
736     "type": "returnFailure",
737     "name": "return failure",
738     "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",
739     "comments": "",
740     "x": 2636.5314331054688,
741     "y": 185.00002002716064,
742     "z": "612a8bcd.555ff4",
743     "wires": [
744       
745     ]
746   },
747   {
748     "id": "57a9e8ca.5b6ba8",
749     "type": "switchNode",
750     "name": "switch service-data.networks.network_length",
751     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
752     "comments": "",
753     "outputs": 1,
754     "x": 1343.4201278686523,
755     "y": 496.3333123922348,
756     "z": "612a8bcd.555ff4",
757     "wires": [
758       [
759         "c975a187.53f03",
760         "c343c1d6.32b89"
761       ]
762     ]
763   },
764   {
765     "id": "c975a187.53f03",
766     "type": "other",
767     "name": "outcome Null",
768     "xml": "<outcome value=''>\n",
769     "comments": "",
770     "outputs": 1,
771     "x": 1597.031265258789,
772     "y": 472.99999940395355,
773     "z": "612a8bcd.555ff4",
774     "wires": [
775       [
776         "7bf63be7.236304"
777       ]
778     ]
779   },
780   {
781     "id": "7bf63be7.236304",
782     "type": "returnFailure",
783     "name": "return failure",
784     "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-id not found in service-data\" />\n",
785     "comments": "",
786     "x": 1775.031265258789,
787     "y": 472.99999940395355,
788     "z": "612a8bcd.555ff4",
789     "wires": [
790       
791     ]
792   },
793   {
794     "id": "c343c1d6.32b89",
795     "type": "other",
796     "name": "other",
797     "xml": "<outcome value='Other'>\n",
798     "comments": "",
799     "outputs": 1,
800     "x": 1577.531265258789,
801     "y": 512.9999994039536,
802     "z": "612a8bcd.555ff4",
803     "wires": [
804       [
805         "8b3c7b72.8416d8"
806       ]
807     ]
808   },
809   {
810     "id": "8b3c7b72.8416d8",
811     "type": "block",
812     "name": "block : atomic",
813     "xml": "<block atomic=\"true\">",
814     "atomic": "true",
815     "outputs": 1,
816     "x": 1738.531265258789,
817     "y": 512.9999994039536,
818     "z": "612a8bcd.555ff4",
819     "wires": [
820       [
821         "ea8be443.435208",
822         "f4cb0140.f19dc"
823       ]
824     ]
825   },
826   {
827     "id": "ea8be443.435208",
828     "type": "for",
829     "name": "for nidx..service-data.networks.network[]",
830     "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
831     "comments": "",
832     "outputs": 1,
833     "x": 2001.031265258789,
834     "y": 492.99999940395355,
835     "z": "612a8bcd.555ff4",
836     "wires": [
837       [
838         "1c69986e.121d38"
839       ]
840     ]
841   },
842   {
843     "id": "1c69986e.121d38",
844     "type": "switchNode",
845     "name": "switch networkid found",
846     "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
847     "comments": "",
848     "outputs": 1,
849     "x": 2287.031265258789,
850     "y": 492.99999940395355,
851     "z": "612a8bcd.555ff4",
852     "wires": [
853       [
854         "835d02de.19c93"
855       ]
856     ]
857   },
858   {
859     "id": "835d02de.19c93",
860     "type": "outcomeTrue",
861     "name": "true",
862     "xml": "<outcome value='true'>\n",
863     "comments": "",
864     "outputs": 1,
865     "x": 2457.531265258789,
866     "y": 492.99999940395355,
867     "z": "612a8bcd.555ff4",
868     "wires": [
869       [
870         "a4620b88.fbb918"
871       ]
872     ]
873   },
874   {
875     "id": "a4620b88.fbb918",
876     "type": "set",
877     "name": "set tmp.nidx and ctx.network-data",
878     "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].network-data.`' />\n",
879     "comments": "",
880     "x": 2680.531265258789,
881     "y": 492.99999940395355,
882     "z": "612a8bcd.555ff4",
883     "wires": [
884       
885     ]
886   },
887   {
888     "id": "2c706feb.2be3b",
889     "type": "returnFailure",
890     "name": "return failure",
891     "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-id not found in service-data\" />\n",
892     "comments": "",
893     "x": 2215.031265258789,
894     "y": 532.9999994039536,
895     "z": "612a8bcd.555ff4",
896     "wires": [
897       
898     ]
899   },
900   {
901     "id": "c1c7826b.646b7",
902     "type": "outcome",
903     "name": "NULL",
904     "xml": "<outcome value=''>\n",
905     "comments": "",
906     "outputs": 1,
907     "x": 2077.531265258789,
908     "y": 532.9999994039536,
909     "z": "612a8bcd.555ff4",
910     "wires": [
911       [
912         "2c706feb.2be3b"
913       ]
914     ]
915   },
916   {
917     "id": "f4cb0140.f19dc",
918     "type": "switchNode",
919     "name": "switch tmp.nidx ",
920     "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
921     "comments": "",
922     "outputs": 1,
923     "x": 1923.531265258789,
924     "y": 532.9999994039536,
925     "z": "612a8bcd.555ff4",
926     "wires": [
927       [
928         "c1c7826b.646b7"
929       ]
930     ]
931   },
932   {
933     "id": "ca8482b0.138b7",
934     "type": "switchNode",
935     "name": "switch network-level-oper-status",
936     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
937     "comments": "",
938     "outputs": 1,
939     "x": 1302.6979522705078,
940     "y": 571.8888772726059,
941     "z": "612a8bcd.555ff4",
942     "wires": [
943       [
944         "ac1c944.a70cf68",
945         "64f9182f.832d98"
946       ]
947     ]
948   },
949   {
950     "id": "ac1c944.a70cf68",
951     "type": "outcome",
952     "name": "outcome Created",
953     "xml": "<outcome value='Created'>\n",
954     "comments": "",
955     "outputs": 1,
956     "x": 1599.5313682556152,
957     "y": 571.8888753652573,
958     "z": "612a8bcd.555ff4",
959     "wires": [
960       [
961         "dd869d4d.7e624"
962       ]
963     ]
964   },
965   {
966     "id": "64f9182f.832d98",
967     "type": "other",
968     "name": "other",
969     "xml": "<outcome value='Other'>\n",
970     "comments": "",
971     "outputs": 1,
972     "x": 1567.5313682556152,
973     "y": 611.8888753652573,
974     "z": "612a8bcd.555ff4",
975     "wires": [
976       [
977         "52f7cab.128ad34"
978       ]
979     ]
980   },
981   {
982     "id": "52f7cab.128ad34",
983     "type": "returnFailure",
984     "name": "return failure",
985     "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 is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
986     "comments": "",
987     "x": 1725.0313682556152,
988     "y": 611.8888753652573,
989     "z": "612a8bcd.555ff4",
990     "wires": [
991       
992     ]
993   },
994   {
995     "id": "c5c30480.3e58d8",
996     "type": "switchNode",
997     "name": "switch network-id",
998     "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
999     "comments": "",
1000     "outputs": 1,
1001     "x": 1249.531265258789,
1002     "y": 432.99999940395355,
1003     "z": "612a8bcd.555ff4",
1004     "wires": [
1005       [
1006         "edcc0678.bb4db8"
1007       ]
1008     ]
1009   },
1010   {
1011     "id": "edcc0678.bb4db8",
1012     "type": "outcome",
1013     "name": "NULL",
1014     "xml": "<outcome value=''>",
1015     "comments": "",
1016     "outputs": 1,
1017     "x": 1477.531265258789,
1018     "y": 432.99999940395355,
1019     "z": "612a8bcd.555ff4",
1020     "wires": [
1021       [
1022         "df1eaa9a.c904b8"
1023       ]
1024     ]
1025   },
1026   {
1027     "id": "df1eaa9a.c904b8",
1028     "type": "returnFailure",
1029     "name": "return failure",
1030     "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",
1031     "comments": "",
1032     "x": 1615.031265258789,
1033     "y": 432.99999940395355,
1034     "z": "612a8bcd.555ff4",
1035     "wires": [
1036       
1037     ]
1038   },
1039   {
1040     "id": "174db933.229107",
1041     "type": "execute",
1042     "name": "execute requiredParameters",
1043     "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",
1044     "comments": "",
1045     "outputs": 1,
1046     "x": 1284.031265258789,
1047     "y": 392.99999940395355,
1048     "z": "612a8bcd.555ff4",
1049     "wires": [
1050       [
1051         
1052       ]
1053     ]
1054   },
1055   {
1056     "id": "dee8bd53.56b7b",
1057     "type": "switchNode",
1058     "name": "switch network-level-oper-status",
1059     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
1060     "comments": "",
1061     "outputs": 1,
1062     "x": 1330.864517211914,
1063     "y": 821.8888543844223,
1064     "z": "612a8bcd.555ff4",
1065     "wires": [
1066       [
1067         "5a840e5a.dfcfb",
1068         "1e04803d.2175e"
1069       ]
1070     ]
1071   },
1072   {
1073     "id": "5a840e5a.dfcfb",
1074     "type": "outcome",
1075     "name": "outcome Active",
1076     "xml": "<outcome value='Active'>\n",
1077     "comments": "",
1078     "outputs": 1,
1079     "x": 1604.1978912353516,
1080     "y": 796.3333123922348,
1081     "z": "612a8bcd.555ff4",
1082     "wires": [
1083       [
1084         "1bb2b0bd.7522ff"
1085       ]
1086     ]
1087   },
1088   {
1089     "id": "1e04803d.2175e",
1090     "type": "other",
1091     "name": "other",
1092     "xml": "<outcome value='Other'>\n",
1093     "comments": "",
1094     "outputs": 1,
1095     "x": 1574.1978912353516,
1096     "y": 836.3333123922348,
1097     "z": "612a8bcd.555ff4",
1098     "wires": [
1099       [
1100         "f180da96.e20aa8"
1101       ]
1102     ]
1103   },
1104   {
1105     "id": "f180da96.e20aa8",
1106     "type": "returnFailure",
1107     "name": "return failure",
1108     "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 is not in appropriate state for deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
1109     "comments": "",
1110     "x": 1740.1978912353516,
1111     "y": 838.3333123922348,
1112     "z": "612a8bcd.555ff4",
1113     "wires": [
1114       
1115     ]
1116   },
1117   {
1118     "id": "5d3a1919.83ff78",
1119     "type": "switchNode",
1120     "name": "switch network-level-oper-status",
1121     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
1122     "comments": "",
1123     "outputs": 1,
1124     "x": 1319.753433227539,
1125     "y": 992.9999383687973,
1126     "z": "612a8bcd.555ff4",
1127     "wires": [
1128       [
1129         "c0abb2c6.46f4e",
1130         "d275091d.1d6858"
1131       ]
1132     ]
1133   },
1134   {
1135     "id": "c0abb2c6.46f4e",
1136     "type": "outcome",
1137     "name": "outcome PendingDelete",
1138     "xml": "<outcome value='PendingDelete'>\n",
1139     "comments": "",
1140     "outputs": 1,
1141     "x": 1619.7534942626953,
1142     "y": 960.7777341604233,
1143     "z": "612a8bcd.555ff4",
1144     "wires": [
1145       [
1146         "77485a8b.427a64"
1147       ]
1148     ]
1149   },
1150   {
1151     "id": "d275091d.1d6858",
1152     "type": "other",
1153     "name": "other",
1154     "xml": "<outcome value='Other'>\n",
1155     "comments": "",
1156     "outputs": 1,
1157     "x": 1563.0868072509766,
1158     "y": 1007.4443963766098,
1159     "z": "612a8bcd.555ff4",
1160     "wires": [
1161       [
1162         "1df75e1e.6ce5d2"
1163       ]
1164     ]
1165   },
1166   {
1167     "id": "1df75e1e.6ce5d2",
1168     "type": "returnFailure",
1169     "name": "return failure",
1170     "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 is not in appropriate state for delete. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
1171     "comments": "",
1172     "x": 1729.0868072509766,
1173     "y": 1009.4443963766098,
1174     "z": "612a8bcd.555ff4",
1175     "wires": [
1176       
1177     ]
1178   },
1179   {
1180     "id": "dd869d4d.7e624",
1181     "type": "block",
1182     "name": "block : atomic",
1183     "xml": "<block atomic=\"true\">",
1184     "atomic": "true",
1185     "outputs": 1,
1186     "x": 1787.5312461853027,
1187     "y": 572.9999593496323,
1188     "z": "612a8bcd.555ff4",
1189     "wires": [
1190       [
1191         
1192       ]
1193     ]
1194   },
1195   {
1196     "id": "1bb2b0bd.7522ff",
1197     "type": "block",
1198     "name": "block : atomic",
1199     "xml": "<block atomic=\"true\">",
1200     "atomic": "true",
1201     "outputs": 1,
1202     "x": 1804.197769165039,
1203     "y": 794.4814447164536,
1204     "z": "612a8bcd.555ff4",
1205     "wires": [
1206       [
1207         
1208       ]
1209     ]
1210   },
1211   {
1212     "id": "77485a8b.427a64",
1213     "type": "block",
1214     "name": "block : atomic",
1215     "xml": "<block atomic=\"true\">",
1216     "atomic": "true",
1217     "outputs": 1,
1218     "x": 1835.3089752197266,
1219     "y": 961.148070693016,
1220     "z": "612a8bcd.555ff4",
1221     "wires": [
1222       [
1223         
1224       ]
1225     ]
1226   }
1227 ]