Merge "Update DG network-topology-operation-deactivate"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-network-input-parameters.json
1 [
2   {
3     "id": "fbeebb28.041148",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 132.85714721679688,
8     "y": 178.57142639160156,
9     "z": "41919c74.be6e64",
10     "wires": [
11       [
12         "664d9ba9.99b264"
13       ]
14     ]
15   },
16   {
17     "id": "664d9ba9.99b264",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
23     "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
24     "outputs": 1,
25     "x": 378.14286041259766,
26     "y": 177.80950546264648,
27     "z": "41919c74.be6e64",
28     "wires": [
29       [
30         "486551e4.b79ab"
31       ]
32     ]
33   },
34   {
35     "id": "486551e4.b79ab",
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": 335.7738342285156,
42     "y": 252.82444381713867,
43     "z": "41919c74.be6e64",
44     "wires": [
45       [
46         "d58b2e53.2a74d"
47       ]
48     ]
49   },
50   {
51     "id": "d58b2e53.2a74d",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 619.7738418579102,
58     "y": 240.8244686126709,
59     "z": "41919c74.be6e64",
60     "wires": [
61       [
62         "d7a4de3d.285b2",
63         "cec7d28c.31383"
64       ]
65     ]
66   },
67   {
68     "id": "d7a4de3d.285b2",
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": 900.7738418579102,
75     "y": 235.82445430755615,
76     "z": "41919c74.be6e64",
77     "wires": [
78       [
79         "bb379126.44c87"
80       ]
81     ]
82   },
83   {
84     "id": "bb379126.44c87",
85     "type": "outcome",
86     "name": "NULL",
87     "xml": "<outcome value=''>",
88     "comments": "",
89     "outputs": 1,
90     "x": 1091.4881439208984,
91     "y": 236.82445526123047,
92     "z": "41919c74.be6e64",
93     "wires": [
94       [
95         "b6f565f3.490a98"
96       ]
97     ]
98   },
99   {
100     "id": "b6f565f3.490a98",
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": 1265.9166946411133,
106     "y": 235.82444763183594,
107     "z": "41919c74.be6e64",
108     "wires": []
109   },
110   {
111     "id": "cec7d28c.31383",
112     "type": "switchNode",
113     "name": "switch svc-action",
114     "xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
115     "comments": "",
116     "outputs": 1,
117     "x": 201.77378845214844,
118     "y": 511.8244686126709,
119     "z": "41919c74.be6e64",
120     "wires": [
121       [
122         "75d754ee.8a28ac",
123         "ad892566.5276d8",
124         "481e2179.b7e1e",
125         "60a2dfba.9f5d2",
126         "655825a3.9aa7dc"
127       ]
128     ]
129   },
130   {
131     "id": "75d754ee.8a28ac",
132     "type": "outcome",
133     "name": "assign",
134     "xml": "<outcome value='assign'>\n",
135     "comments": "",
136     "outputs": 1,
137     "x": 403.2738723754883,
138     "y": 511.8244686126709,
139     "z": "41919c74.be6e64",
140     "wires": [
141       [
142         "a5452c63.5abad"
143       ]
144     ]
145   },
146   {
147     "id": "a5452c63.5abad",
148     "type": "block",
149     "name": "block : atomic",
150     "xml": "<block atomic=\"true\">",
151     "atomic": "true",
152     "outputs": 1,
153     "x": 569.2738800048828,
154     "y": 511.8244686126709,
155     "z": "41919c74.be6e64",
156     "wires": [
157       [
158         "70b2b7d8.8f4d48"
159       ]
160     ]
161   },
162   {
163     "id": "2111484.fdeeeb8",
164     "type": "for",
165     "name": "for loop i - Network input parameters",
166     "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
167     "comments": "",
168     "outputs": 1,
169     "x": 1768.488021850586,
170     "y": 175.53873825073242,
171     "z": "41919c74.be6e64",
172     "wires": [
173       [
174         "23ff25d7.dc00da"
175       ]
176     ]
177   },
178   {
179     "id": "b6c6c32e.49394",
180     "type": "switchNode",
181     "name": "switch value",
182     "xml": "<switch test=\"`$tmp.value`\">\n",
183     "comments": "",
184     "outputs": 1,
185     "x": 2622.059371948242,
186     "y": 429.5387134552002,
187     "z": "41919c74.be6e64",
188     "wires": [
189       [
190         "ada5f970.525a08"
191       ]
192     ]
193   },
194   {
195     "id": "ada5f970.525a08",
196     "type": "outcome",
197     "name": "NULL",
198     "xml": "<outcome value=''>",
199     "comments": "",
200     "outputs": 1,
201     "x": 2839.0593452453613,
202     "y": 428.5387191772461,
203     "z": "41919c74.be6e64",
204     "wires": [
205       [
206         "ed2ebd09.12d14"
207       ]
208     ]
209   },
210   {
211     "id": "ed2ebd09.12d14",
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.name is a required input\" />\n",
215     "comments": "",
216     "x": 3017.4880599975586,
217     "y": 429.5387191772461,
218     "z": "41919c74.be6e64",
219     "wires": []
220   },
221   {
222     "id": "ad892566.5276d8",
223     "type": "outcome",
224     "name": "deactivate",
225     "xml": "<outcome value='deactivate'>\n",
226     "comments": "",
227     "outputs": 1,
228     "x": 405.57142639160156,
229     "y": 669.9999961853027,
230     "z": "41919c74.be6e64",
231     "wires": [
232       [
233         "cf8cfa72.307308"
234       ]
235     ]
236   },
237   {
238     "id": "481e2179.b7e1e",
239     "type": "outcome",
240     "name": "delete",
241     "xml": "<outcome value='delete'>\n",
242     "comments": "",
243     "outputs": 1,
244     "x": 409.2858085632324,
245     "y": 996.7145538330078,
246     "z": "41919c74.be6e64",
247     "wires": [
248       [
249         "777dc005.88824"
250       ]
251     ]
252   },
253   {
254     "id": "60a2dfba.9f5d2",
255     "type": "other",
256     "name": "other",
257     "xml": "<outcome value='Other'>\n",
258     "comments": "",
259     "outputs": 1,
260     "x": 407.0476875305176,
261     "y": 951.142822265625,
262     "z": "41919c74.be6e64",
263     "wires": [
264       [
265         "e573762b.1a8c88"
266       ]
267     ]
268   },
269   {
270     "id": "e573762b.1a8c88",
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": 560.6192626953125,
276     "y": 953.7619662284851,
277     "z": "41919c74.be6e64",
278     "wires": []
279   },
280   {
281     "id": "23ff25d7.dc00da",
282     "type": "block",
283     "name": "block",
284     "xml": "<block>\n",
285     "atomic": "false",
286     "comments": "",
287     "outputs": 1,
288     "x": 1646.5713958740234,
289     "y": 322.2856864929199,
290     "z": "41919c74.be6e64",
291     "wires": [
292       [
293         "4d67279e.b298d8",
294         "88358308.77ca8",
295         "1a1154a1.e5eeab"
296       ]
297     ]
298   },
299   {
300     "id": "70b2b7d8.8f4d48",
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": 894.8571624755859,
307     "y": 401.2380962371826,
308     "z": "41919c74.be6e64",
309     "wires": [
310       [
311         "2263fcf0.dd9c04",
312         "f78b2624.0874d8"
313       ]
314     ]
315   },
316   {
317     "id": "2263fcf0.dd9c04",
318     "type": "other",
319     "name": "CreateNetworkInstance",
320     "xml": "<outcome value='CreateNetworkInstance'>",
321     "comments": "",
322     "outputs": 1,
323     "x": 1160.857162475586,
324     "y": 360.2380962371826,
325     "z": "41919c74.be6e64",
326     "wires": [
327       [
328         "504c1faf.afb3e"
329       ]
330     ]
331   },
332   {
333     "id": "f78b2624.0874d8",
334     "type": "other",
335     "name": "Other",
336     "xml": "<outcome value='Other'>",
337     "comments": "",
338     "outputs": 1,
339     "x": 1114.857162475586,
340     "y": 410.2380962371826,
341     "z": "41919c74.be6e64",
342     "wires": [
343       [
344         "692f7373.96d08c"
345       ]
346     ]
347   },
348   {
349     "id": "692f7373.96d08c",
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=assign\" />\n",
353     "comments": "",
354     "x": 1283.857162475586,
355     "y": 410.2380962371826,
356     "z": "41919c74.be6e64",
357     "wires": []
358   },
359   {
360     "id": "504c1faf.afb3e",
361     "type": "block",
362     "name": "block : atomic",
363     "xml": "<block atomic=\"true\">",
364     "atomic": "true",
365     "outputs": 1,
366     "x": 1385.857162475586,
367     "y": 349.2380962371826,
368     "z": "41919c74.be6e64",
369     "wires": [
370       [
371         "2111484.fdeeeb8"
372       ]
373     ]
374   },
375   {
376     "id": "6598afe7.9a675",
377     "type": "comment",
378     "name": "TODO: need to identify underlay or overlay",
379     "info": "",
380     "comments": "",
381     "x": 1130.4286651611328,
382     "y": 308.952356338501,
383     "z": "41919c74.be6e64",
384     "wires": []
385   },
386   {
387     "id": "4d67279e.b298d8",
388     "type": "set",
389     "name": "clear tmp-data",
390     "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
391     "comments": "",
392     "x": 1838.5714569091797,
393     "y": 276.5237846374512,
394     "z": "41919c74.be6e64",
395     "wires": []
396   },
397   {
398     "id": "88358308.77ca8",
399     "type": "set",
400     "name": "set tmp-data",
401     "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",
402     "comments": "",
403     "x": 1827.5714569091797,
404     "y": 366.5237846374512,
405     "z": "41919c74.be6e64",
406     "wires": []
407   },
408   {
409     "id": "1a1154a1.e5eeab",
410     "type": "switchNode",
411     "name": "switch name",
412     "xml": "<switch test=\"'$tmp.name'\">\n",
413     "comments": "",
414     "outputs": 1,
415     "x": 1806.5714569091797,
416     "y": 460.5237846374512,
417     "z": "41919c74.be6e64",
418     "wires": [
419       [
420         "fec78ff3.01387",
421         "6a6df5db.95920c",
422         "c9668b0d.369978",
423         "5f023b7d.a0fdc4",
424         "85213655.7adec8",
425         "54513a6c.abaec4",
426         "8b1be305.74e42",
427         "856ed4f2.7a9128",
428         "80769836.7f8968",
429         "9b694645.6496b8",
430         "a075f82a.5f8a08",
431         "1b0790dd.e4f86f",
432         "b32746a2.4cd8b8",
433         "ac316a2a.53ce98",
434         "94575312.6ba8b",
435         "b6c16e45.493e9",
436         "75bd3929.8a42c8"
437       ]
438     ]
439   },
440   {
441     "id": "fec78ff3.01387",
442     "type": "outcome",
443     "name": "NULL",
444     "xml": "<outcome value=''>",
445     "comments": "",
446     "outputs": 1,
447     "x": 2346.1427459716797,
448     "y": 963.523759841919,
449     "z": "41919c74.be6e64",
450     "wires": [
451       [
452         "eaadea68.155218"
453       ]
454     ]
455   },
456   {
457     "id": "eaadea68.155218",
458     "type": "returnFailure",
459     "name": "return failure",
460     "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",
461     "comments": "",
462     "x": 2521.1427459716797,
463     "y": 962.523759841919,
464     "z": "41919c74.be6e64",
465     "wires": []
466   },
467   {
468     "id": "6a6df5db.95920c",
469     "type": "other",
470     "name": "name",
471     "xml": "<outcome value='name'>",
472     "comments": "",
473     "outputs": 1,
474     "x": 2323.1427459716797,
475     "y": 85.52375984191895,
476     "z": "41919c74.be6e64",
477     "wires": [
478       [
479         "b6c6c32e.49394"
480       ]
481     ]
482   },
483   {
484     "id": "c9668b0d.369978",
485     "type": "other",
486     "name": "service-type",
487     "xml": "<outcome value='service-type'>",
488     "comments": "",
489     "outputs": 1,
490     "x": 2326.1427459716797,
491     "y": 152.52375984191895,
492     "z": "41919c74.be6e64",
493     "wires": [
494       [
495         "b6c6c32e.49394"
496       ]
497     ]
498   },
499   {
500     "id": "8b1be305.74e42",
501     "type": "other",
502     "name": "sna2_name",
503     "xml": "<outcome value='sna2_name'>",
504     "comments": "",
505     "outputs": 1,
506     "x": 2330.1427459716797,
507     "y": 381.52375984191895,
508     "z": "41919c74.be6e64",
509     "wires": [
510       [
511         "b6c6c32e.49394"
512       ]
513     ]
514   },
515   {
516     "id": "5f023b7d.a0fdc4",
517     "type": "other",
518     "name": "site1-name",
519     "xml": "<outcome value='site1-name'>",
520     "comments": "",
521     "outputs": 1,
522     "x": 2327.1427459716797,
523     "y": 213.52375984191895,
524     "z": "41919c74.be6e64",
525     "wires": [
526       [
527         "b6c6c32e.49394"
528       ]
529     ]
530   },
531   {
532     "id": "85213655.7adec8",
533     "type": "other",
534     "name": "site2-name",
535     "xml": "<outcome value='site2-name'>",
536     "comments": "",
537     "outputs": 1,
538     "x": 2323.1427459716797,
539     "y": 270.52375984191895,
540     "z": "41919c74.be6e64",
541     "wires": [
542       [
543         "b6c6c32e.49394"
544       ]
545     ]
546   },
547   {
548     "id": "54513a6c.abaec4",
549     "type": "other",
550     "name": "sna1_name",
551     "xml": "<outcome value='sna1_name'>",
552     "comments": "",
553     "outputs": 1,
554     "x": 2326.1427459716797,
555     "y": 327.52375984191895,
556     "z": "41919c74.be6e64",
557     "wires": [
558       [
559         "b6c6c32e.49394"
560       ]
561     ]
562   },
563   {
564     "id": "856ed4f2.7a9128",
565     "type": "other",
566     "name": "pe1_id",
567     "xml": "<outcome value='pe1_id'>",
568     "comments": "",
569     "outputs": 1,
570     "x": 2330.1427459716797,
571     "y": 432.52375984191895,
572     "z": "41919c74.be6e64",
573     "wires": [
574       [
575         "b6c6c32e.49394"
576       ]
577     ]
578   },
579   {
580     "id": "80769836.7f8968",
581     "type": "other",
582     "name": "pe2_id",
583     "xml": "<outcome value='pe2_id'>",
584     "comments": "",
585     "outputs": 1,
586     "x": 2333.1427459716797,
587     "y": 480.52375984191895,
588     "z": "41919c74.be6e64",
589     "wires": [
590       [
591         "b6c6c32e.49394"
592       ]
593     ]
594   },
595   {
596     "id": "9b694645.6496b8",
597     "type": "other",
598     "name": "ac1-id",
599     "xml": "<outcome value='ac1-id'>",
600     "comments": "",
601     "outputs": 1,
602     "x": 2338.1427459716797,
603     "y": 529.523759841919,
604     "z": "41919c74.be6e64",
605     "wires": [
606       [
607         "b6c6c32e.49394"
608       ]
609     ]
610   },
611   {
612     "id": "a075f82a.5f8a08",
613     "type": "other",
614     "name": "ac2-id",
615     "xml": "<outcome value='ac2-id'>",
616     "comments": "",
617     "outputs": 1,
618     "x": 2340.1427459716797,
619     "y": 584.523759841919,
620     "z": "41919c74.be6e64",
621     "wires": [
622       [
623         "b6c6c32e.49394"
624       ]
625     ]
626   },
627   {
628     "id": "1b0790dd.e4f86f",
629     "type": "other",
630     "name": "ac1-ip",
631     "xml": "<outcome value='ac1-ip'>",
632     "comments": "",
633     "outputs": 1,
634     "x": 2340.1427459716797,
635     "y": 636.523759841919,
636     "z": "41919c74.be6e64",
637     "wires": [
638       [
639         "b6c6c32e.49394"
640       ]
641     ]
642   },
643   {
644     "id": "b32746a2.4cd8b8",
645     "type": "other",
646     "name": "ac2-ip",
647     "xml": "<outcome value='ac2-ip'>",
648     "comments": "",
649     "outputs": 1,
650     "x": 2342.1427459716797,
651     "y": 697.523759841919,
652     "z": "41919c74.be6e64",
653     "wires": [
654       [
655         "b6c6c32e.49394"
656       ]
657     ]
658   },
659   {
660     "id": "ac316a2a.53ce98",
661     "type": "other",
662     "name": "ac1_peer_ip",
663     "xml": "<outcome value='ac1_peer_ip'>",
664     "comments": "",
665     "outputs": 1,
666     "x": 2344.1427459716797,
667     "y": 747.523759841919,
668     "z": "41919c74.be6e64",
669     "wires": [
670       [
671         "b6c6c32e.49394"
672       ]
673     ]
674   },
675   {
676     "id": "94575312.6ba8b",
677     "type": "other",
678     "name": "ac2_peer_ip",
679     "xml": "<outcome value='ac2_peer_ip'>",
680     "comments": "",
681     "outputs": 1,
682     "x": 2340.1427459716797,
683     "y": 795.523759841919,
684     "z": "41919c74.be6e64",
685     "wires": [
686       [
687         "b6c6c32e.49394"
688       ]
689     ]
690   },
691   {
692     "id": "b6c16e45.493e9",
693     "type": "other",
694     "name": "ac1_svlan",
695     "xml": "<outcome value='ac1_svlan'>",
696     "comments": "",
697     "outputs": 1,
698     "x": 2342.1427459716797,
699     "y": 848.523759841919,
700     "z": "41919c74.be6e64",
701     "wires": [
702       [
703         "b6c6c32e.49394"
704       ]
705     ]
706   },
707   {
708     "id": "75bd3929.8a42c8",
709     "type": "other",
710     "name": "ac2_svlan",
711     "xml": "<outcome value='ac2_svlan'>",
712     "comments": "",
713     "outputs": 1,
714     "x": 2344.1427459716797,
715     "y": 909.523759841919,
716     "z": "41919c74.be6e64",
717     "wires": [
718       [
719         "b6c6c32e.49394"
720       ]
721     ]
722   },
723   {
724     "id": "777dc005.88824",
725     "type": "block",
726     "name": "block : atomic",
727     "xml": "<block atomic=\"true\">",
728     "atomic": "true",
729     "outputs": 1,
730     "x": 340.42858123779297,
731     "y": 1078.3810033798218,
732     "z": "41919c74.be6e64",
733     "wires": [
734       [
735         "a61ab24b.59e55",
736         "9c0bbd14.63f44"
737       ]
738     ]
739   },
740   {
741     "id": "a61ab24b.59e55",
742     "type": "other",
743     "name": "DeleteNetworkInstance",
744     "xml": "<outcome value='DeleteNetworkInstance'>",
745     "comments": "",
746     "outputs": 1,
747     "x": 356.14287185668945,
748     "y": 1134.3809671401978,
749     "z": "41919c74.be6e64",
750     "wires": [
751       [
752         "a956c548.56a938"
753       ]
754     ]
755   },
756   {
757     "id": "9c0bbd14.63f44",
758     "type": "other",
759     "name": "Other",
760     "xml": "<outcome value='Other'>",
761     "comments": "",
762     "outputs": 1,
763     "x": 310.14287185668945,
764     "y": 1184.3809671401978,
765     "z": "41919c74.be6e64",
766     "wires": [
767       [
768         "3c6c31c7.c393ce"
769       ]
770     ]
771   },
772   {
773     "id": "3c6c31c7.c393ce",
774     "type": "returnFailure",
775     "name": "return failure",
776     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
777     "comments": "",
778     "x": 479.14287185668945,
779     "y": 1184.3809671401978,
780     "z": "41919c74.be6e64",
781     "wires": []
782   },
783   {
784     "id": "a956c548.56a938",
785     "type": "block",
786     "name": "block : atomic",
787     "xml": "<block atomic=\"true\">",
788     "atomic": "true",
789     "outputs": 1,
790     "x": 581.1428718566895,
791     "y": 1123.3809671401978,
792     "z": "41919c74.be6e64",
793     "wires": [
794       [
795         "5793869c.a86c78"
796       ]
797     ]
798   },
799   {
800     "id": "5793869c.a86c78",
801     "type": "for",
802     "name": "for each network-input-parameters",
803     "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
804     "comments": "",
805     "outputs": 1,
806     "x": 403.14287185668945,
807     "y": 1278.3809671401978,
808     "z": "41919c74.be6e64",
809     "wires": [
810       [
811         "1c06545.fe3f9ac"
812       ]
813     ]
814   },
815   {
816     "id": "1c06545.fe3f9ac",
817     "type": "block",
818     "name": "block",
819     "xml": "<block>\n",
820     "atomic": "false",
821     "comments": "",
822     "outputs": 1,
823     "x": 396.14287185668945,
824     "y": 1363.3809671401978,
825     "z": "41919c74.be6e64",
826     "wires": [
827       [
828         "5898a53c.a7675c"
829       ]
830     ]
831   },
832   {
833     "id": "5898a53c.a7675c",
834     "type": "switchNode",
835     "name": "switch name",
836     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
837     "comments": "",
838     "outputs": 1,
839     "x": 579.1428718566895,
840     "y": 1356.3809671401978,
841     "z": "41919c74.be6e64",
842     "wires": [
843       [
844         "a1cbbebc.5e344"
845       ]
846     ]
847   },
848   {
849     "id": "a1cbbebc.5e344",
850     "type": "outcomeTrue",
851     "name": "true",
852     "xml": "<outcome value='true'>\n",
853     "comments": "",
854     "outputs": 1,
855     "x": 760.1428718566895,
856     "y": 1355.3809671401978,
857     "z": "41919c74.be6e64",
858     "wires": [
859       [
860         "1f995851.e066a8"
861       ]
862     ]
863   },
864   {
865     "id": "1f995851.e066a8",
866     "type": "switchNode",
867     "name": "switch value",
868     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
869     "comments": "",
870     "outputs": 1,
871     "x": 924.1428718566895,
872     "y": 1355.3809671401978,
873     "z": "41919c74.be6e64",
874     "wires": [
875       [
876         "964134d1.69bec8"
877       ]
878     ]
879   },
880   {
881     "id": "964134d1.69bec8",
882     "type": "outcome",
883     "name": "NULL",
884     "xml": "<outcome value=''>",
885     "comments": "",
886     "outputs": 1,
887     "x": 793.1428718566895,
888     "y": 1479.3809671401978,
889     "z": "41919c74.be6e64",
890     "wires": [
891       [
892         "5e9f6b8b.a16094"
893       ]
894     ]
895   },
896   {
897     "id": "5e9f6b8b.a16094",
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=\"network-request-input.network-input-parameters.name is a required input\" />\n",
901     "comments": "",
902     "x": 971.5715866088867,
903     "y": 1480.3809671401978,
904     "z": "41919c74.be6e64",
905     "wires": []
906   },
907   {
908     "id": "655825a3.9aa7dc",
909     "type": "outcome",
910     "name": "activate",
911     "xml": "<outcome value='activate'>\n",
912     "comments": "",
913     "outputs": 1,
914     "x": 404.28571701049805,
915     "y": 604.2857389450073,
916     "z": "41919c74.be6e64",
917     "wires": [
918       [
919         "dc7e5048.2381b"
920       ]
921     ]
922   },
923   {
924     "id": "dc7e5048.2381b",
925     "type": "switchNode",
926     "name": "switch request-action",
927     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
928     "comments": "",
929     "outputs": 1,
930     "x": 587.1428833007812,
931     "y": 601.4285888671875,
932     "z": "41919c74.be6e64",
933     "wires": [
934       [
935         "4e0582c3.b1fa7c",
936         "20cf7f44.df308"
937       ]
938     ]
939   },
940   {
941     "id": "4e0582c3.b1fa7c",
942     "type": "other",
943     "name": "ActivateNetworkInstance",
944     "xml": "<outcome value='ActivateNetworkInstance'>",
945     "comments": "",
946     "outputs": 1,
947     "x": 853.1428833007812,
948     "y": 560.4285888671875,
949     "z": "41919c74.be6e64",
950     "wires": [
951       [
952         "dc249849.23db68"
953       ]
954     ]
955   },
956   {
957     "id": "20cf7f44.df308",
958     "type": "other",
959     "name": "Other",
960     "xml": "<outcome value='Other'>",
961     "comments": "",
962     "outputs": 1,
963     "x": 807.1428833007812,
964     "y": 610.4285888671875,
965     "z": "41919c74.be6e64",
966     "wires": [
967       [
968         "c869bca7.37964"
969       ]
970     ]
971   },
972   {
973     "id": "c869bca7.37964",
974     "type": "returnFailure",
975     "name": "return failure",
976     "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",
977     "comments": "",
978     "x": 976.1428833007812,
979     "y": 610.4285888671875,
980     "z": "41919c74.be6e64",
981     "wires": []
982   },
983   {
984     "id": "dc249849.23db68",
985     "type": "block",
986     "name": "block : atomic",
987     "xml": "<block atomic=\"true\">",
988     "atomic": "true",
989     "outputs": 1,
990     "x": 1078.1428833007812,
991     "y": 549.4285888671875,
992     "z": "41919c74.be6e64",
993     "wires": [
994       [
995         "a69af05c.59651"
996       ]
997     ]
998   },
999   {
1000     "id": "a69af05c.59651",
1001     "type": "for",
1002     "name": "for loop i - Network input parameters",
1003     "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
1004     "comments": "",
1005     "outputs": 1,
1006     "x": 1331.4285888671875,
1007     "y": 547.1428833007812,
1008     "z": "41919c74.be6e64",
1009     "wires": [
1010       [
1011         "eebcaba3.114358"
1012       ]
1013     ]
1014   },
1015   {
1016     "id": "eebcaba3.114358",
1017     "type": "block",
1018     "name": "block",
1019     "xml": "<block>\n",
1020     "atomic": "false",
1021     "comments": "",
1022     "outputs": 1,
1023     "x": 1209.511962890625,
1024     "y": 693.8898315429688,
1025     "z": "41919c74.be6e64",
1026     "wires": [
1027       [
1028         "2a9d9d71.d56262",
1029         "7f24842b.80db7c",
1030         "8531be73.7ace4"
1031       ]
1032     ]
1033   },
1034   {
1035     "id": "2a9d9d71.d56262",
1036     "type": "set",
1037     "name": "clear tmp-data",
1038     "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
1039     "comments": "",
1040     "x": 1401.5120239257812,
1041     "y": 648.1279296875,
1042     "z": "41919c74.be6e64",
1043     "wires": []
1044   },
1045   {
1046     "id": "7f24842b.80db7c",
1047     "type": "set",
1048     "name": "set tmp-data",
1049     "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",
1050     "comments": "",
1051     "x": 1390.5120239257812,
1052     "y": 738.1279296875,
1053     "z": "41919c74.be6e64",
1054     "wires": []
1055   },
1056   {
1057     "id": "8531be73.7ace4",
1058     "type": "switchNode",
1059     "name": "switch name",
1060     "xml": "<switch test=\"'$tmp.name'\">\n",
1061     "comments": "",
1062     "outputs": 1,
1063     "x": 1369.5120239257812,
1064     "y": 832.1279296875,
1065     "z": "41919c74.be6e64",
1066     "wires": [
1067       [
1068         "c40817b9.3bf7e8",
1069         "90143650.6febc8",
1070         "96865432.6979a8",
1071         "7937c725.86c838",
1072         "693ea026.96c16",
1073         "6ae3527c.951cac",
1074         "1c7eef33.e38111"
1075       ]
1076     ]
1077   },
1078   {
1079     "id": "c40817b9.3bf7e8",
1080     "type": "other",
1081     "name": "name",
1082     "xml": "<outcome value='name'>",
1083     "comments": "",
1084     "outputs": 1,
1085     "x": 1588.9405250549316,
1086     "y": 681.4136323928833,
1087     "z": "41919c74.be6e64",
1088     "wires": [
1089       [
1090         "490badab.b6f454"
1091       ]
1092     ]
1093   },
1094   {
1095     "id": "90143650.6febc8",
1096     "type": "other",
1097     "name": "description",
1098     "xml": "<outcome value='description'>",
1099     "comments": "",
1100     "outputs": 1,
1101     "x": 1599.0833473205566,
1102     "y": 744.1279344558716,
1103     "z": "41919c74.be6e64",
1104     "wires": [
1105       [
1106         "490badab.b6f454"
1107       ]
1108     ]
1109   },
1110   {
1111     "id": "96865432.6979a8",
1112     "type": "other",
1113     "name": "router_id",
1114     "xml": "<outcome value='router_id'>",
1115     "comments": "",
1116     "outputs": 1,
1117     "x": 1590.0833625793457,
1118     "y": 799.4136219024658,
1119     "z": "41919c74.be6e64",
1120     "wires": [
1121       [
1122         "490badab.b6f454"
1123       ]
1124     ]
1125   },
1126   {
1127     "id": "7937c725.86c838",
1128     "type": "other",
1129     "name": "local_networks",
1130     "xml": "<outcome value='local_networks'>",
1131     "comments": "",
1132     "outputs": 1,
1133     "x": 1608.9405403137207,
1134     "y": 857.8422183990479,
1135     "z": "41919c74.be6e64",
1136     "wires": [
1137       [
1138         "490badab.b6f454"
1139       ]
1140     ]
1141   },
1142   {
1143     "id": "490badab.b6f454",
1144     "type": "switchNode",
1145     "name": "switch value",
1146     "xml": "<switch test=\"`$tmp.value`\">\n",
1147     "comments": "",
1148     "outputs": 1,
1149     "x": 1902.8571815490723,
1150     "y": 787.1428785324097,
1151     "z": "41919c74.be6e64",
1152     "wires": [
1153       [
1154         "8613db79.79ec28"
1155       ]
1156     ]
1157   },
1158   {
1159     "id": "8613db79.79ec28",
1160     "type": "outcome",
1161     "name": "NULL",
1162     "xml": "<outcome value=''>",
1163     "comments": "",
1164     "outputs": 1,
1165     "x": 1909.8572540283203,
1166     "y": 968.9999656677246,
1167     "z": "41919c74.be6e64",
1168     "wires": [
1169       [
1170         "e2427698.1dbd88"
1171       ]
1172     ]
1173   },
1174   {
1175     "id": "e2427698.1dbd88",
1176     "type": "returnFailure",
1177     "name": "return failure",
1178     "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",
1179     "comments": "",
1180     "x": 2088.2859687805176,
1181     "y": 969.9999656677246,
1182     "z": "41919c74.be6e64",
1183     "wires": []
1184   },
1185   {
1186     "id": "693ea026.96c16",
1187     "type": "other",
1188     "name": "evpn_irts",
1189     "xml": "<outcome value='evpn_irts'>",
1190     "comments": "",
1191     "outputs": 1,
1192     "x": 1591.428596496582,
1193     "y": 911.4285907745361,
1194     "z": "41919c74.be6e64",
1195     "wires": [
1196       [
1197         "490badab.b6f454"
1198       ]
1199     ]
1200   },
1201   {
1202     "id": "6ae3527c.951cac",
1203     "type": "other",
1204     "name": "evpn_erts",
1205     "xml": "<outcome value='evpn_erts'>",
1206     "comments": "",
1207     "outputs": 1,
1208     "x": 1595.7144165039062,
1209     "y": 964.2857065200806,
1210     "z": "41919c74.be6e64",
1211     "wires": [
1212       [
1213         "490badab.b6f454"
1214       ]
1215     ]
1216   },
1217   {
1218     "id": "1c7eef33.e38111",
1219     "type": "other",
1220     "name": "l3_vni",
1221     "xml": "<outcome value='l3_vni'>",
1222     "comments": "",
1223     "outputs": 1,
1224     "x": 1585.7143440246582,
1225     "y": 1017.1428127288818,
1226     "z": "41919c74.be6e64",
1227     "wires": [
1228       [
1229         "490badab.b6f454"
1230       ]
1231     ]
1232   },
1233   {
1234     "id": "cf8cfa72.307308",
1235     "type": "block",
1236     "name": "block : atomic",
1237     "xml": "<block atomic=\"true\">",
1238     "atomic": "true",
1239     "outputs": 1,
1240     "x": 572.8571472167969,
1241     "y": 674.2857627868652,
1242     "z": "41919c74.be6e64",
1243     "wires": [
1244       [
1245         "7dfe5fb0.8201a",
1246         "d03dcc77.2fc23"
1247       ]
1248     ]
1249   },
1250   {
1251     "id": "7dfe5fb0.8201a",
1252     "type": "other",
1253     "name": "DeactivateNetworkInstance",
1254     "xml": "<outcome value='DeactivateNetworkInstance'>",
1255     "comments": "",
1256     "outputs": 1,
1257     "x": 670.0000381469727,
1258     "y": 751.7143239974976,
1259     "z": "41919c74.be6e64",
1260     "wires": [
1261       [
1262         "5f1ca7c8.a0e358"
1263       ]
1264     ]
1265   },
1266   {
1267     "id": "d03dcc77.2fc23",
1268     "type": "other",
1269     "name": "Other",
1270     "xml": "<outcome value='Other'>",
1271     "comments": "",
1272     "outputs": 1,
1273     "x": 624.0000381469727,
1274     "y": 801.7143239974976,
1275     "z": "41919c74.be6e64",
1276     "wires": [
1277       [
1278         "4adf02c9.b520fc"
1279       ]
1280     ]
1281   },
1282   {
1283     "id": "4adf02c9.b520fc",
1284     "type": "returnFailure",
1285     "name": "return failure",
1286     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
1287     "comments": "",
1288     "x": 793.0000381469727,
1289     "y": 801.7143239974976,
1290     "z": "41919c74.be6e64",
1291     "wires": []
1292   },
1293   {
1294     "id": "5f1ca7c8.a0e358",
1295     "type": "block",
1296     "name": "block : atomic",
1297     "xml": "<block atomic=\"true\">",
1298     "atomic": "true",
1299     "outputs": 1,
1300     "x": 895.0000381469727,
1301     "y": 740.7143239974976,
1302     "z": "41919c74.be6e64",
1303     "wires": [
1304       [
1305         "9aa1529a.655eb"
1306       ]
1307     ]
1308   },
1309   {
1310     "id": "9aa1529a.655eb",
1311     "type": "for",
1312     "name": "for each network-input-parameters",
1313     "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
1314     "comments": "",
1315     "outputs": 1,
1316     "x": 717.0000381469727,
1317     "y": 895.7143239974976,
1318     "z": "41919c74.be6e64",
1319     "wires": [
1320       [
1321         "9158dfcf.6ea72"
1322       ]
1323     ]
1324   },
1325   {
1326     "id": "9158dfcf.6ea72",
1327     "type": "block",
1328     "name": "block",
1329     "xml": "<block>\n",
1330     "atomic": "false",
1331     "comments": "",
1332     "outputs": 1,
1333     "x": 998.5714797973633,
1334     "y": 869.285756111145,
1335     "z": "41919c74.be6e64",
1336     "wires": [
1337       [
1338         "ae5a6a7f.51a598"
1339       ]
1340     ]
1341   },
1342   {
1343     "id": "ae5a6a7f.51a598",
1344     "type": "switchNode",
1345     "name": "switch id",
1346     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].id == 'id'`\">\n",
1347     "comments": "",
1348     "outputs": 1,
1349     "x": 1014.4286727905273,
1350     "y": 925.1429071426392,
1351     "z": "41919c74.be6e64",
1352     "wires": [
1353       [
1354         "aea89c57.51576"
1355       ]
1356     ]
1357   },
1358   {
1359     "id": "aea89c57.51576",
1360     "type": "outcomeTrue",
1361     "name": "true",
1362     "xml": "<outcome value='true'>\n",
1363     "comments": "",
1364     "outputs": 1,
1365     "x": 1195.4286727905273,
1366     "y": 924.1429071426392,
1367     "z": "41919c74.be6e64",
1368     "wires": [
1369       [
1370         "2c274bc2.d3d8b4"
1371       ]
1372     ]
1373   },
1374   {
1375     "id": "2c274bc2.d3d8b4",
1376     "type": "switchNode",
1377     "name": "switch value",
1378     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
1379     "comments": "",
1380     "outputs": 1,
1381     "x": 1272.2857818603516,
1382     "y": 1002.7143459320068,
1383     "z": "41919c74.be6e64",
1384     "wires": [
1385       [
1386         "d2cf8ac3.2d3078"
1387       ]
1388     ]
1389   },
1390   {
1391     "id": "d2cf8ac3.2d3078",
1392     "type": "outcome",
1393     "name": "NULL",
1394     "xml": "<outcome value=''>",
1395     "comments": "",
1396     "outputs": 1,
1397     "x": 1181.2857246398926,
1398     "y": 1086.7143020629883,
1399     "z": "41919c74.be6e64",
1400     "wires": [
1401       [
1402         "3b17c4b7.c4e83c"
1403       ]
1404     ]
1405   },
1406   {
1407     "id": "3b17c4b7.c4e83c",
1408     "type": "returnFailure",
1409     "name": "return failure",
1410     "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",
1411     "comments": "",
1412     "x": 1359.7144393920898,
1413     "y": 1087.7143020629883,
1414     "z": "41919c74.be6e64",
1415     "wires": []
1416   }
1417 ]