Merge "Updating RestApi to RestconfApi"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_network-topology-operation.json
1 [
2     {
3         "id": "c19fae6.fd4f15",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 156,
8         "y": 91.77774620056152,
9         "z": "b2ff82f0.56033",
10         "wires": [
11             [
12                 "d41d69a6.549648"
13             ]
14         ]
15     },
16     {
17         "id": "d41d69a6.549648",
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": 237.95236206054688,
26         "y": 132.01585865020752,
27         "z": "b2ff82f0.56033",
28         "wires": [
29             [
30                 "c18fe015.f338a"
31             ]
32         ]
33     },
34     {
35         "id": "c18fe015.f338a",
36         "type": "method",
37         "name": "network-topology-operation",
38         "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 217.4286346435547,
42         "y": 182.77775192260742,
43         "z": "b2ff82f0.56033",
44         "wires": [
45             [
46                 "7bb97745.a09f58"
47             ]
48         ]
49     },
50     {
51         "id": "9dc3ada0.6983e",
52         "type": "comment",
53         "name": " NETWORK-TOPOLOGY-OPERATION ",
54         "info": "",
55         "comments": "",
56         "x": 550.344856262207,
57         "y": 39.36408996582031,
58         "z": "b2ff82f0.56033",
59         "wires": []
60     },
61     {
62         "id": "7bb97745.a09f58",
63         "type": "block",
64         "name": "block : atomic",
65         "xml": "<block atomic=\"true\">",
66         "atomic": "true",
67         "outputs": 1,
68         "x": 270.0000305175781,
69         "y": 255.22122955322266,
70         "z": "b2ff82f0.56033",
71         "wires": [
72             [
73                 "852074bb.b92d38",
74                 "5d9f602.f8cd8a",
75                 "a9b65525.597998",
76                 "d2f271fb.1251e"
77             ]
78         ]
79     },
80     {
81         "id": "852074bb.b92d38",
82         "type": "returnSuccess",
83         "name": "return success",
84         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
85         "comments": "",
86         "x": 474.0834045410156,
87         "y": 1281.3138828277588,
88         "z": "b2ff82f0.56033",
89         "wires": []
90     },
91     {
92         "id": "5d9f602.f8cd8a",
93         "type": "switchNode",
94         "name": "switch svc-action",
95         "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
96         "comments": "",
97         "outputs": 1,
98         "x": 496.7142639160156,
99         "y": 485.6349239349365,
100         "z": "b2ff82f0.56033",
101         "wires": [
102             [
103                 "1a068b2f.ec1c25",
104                 "c32a4d78.480ba",
105                 "5471c0fe.38f1d",
106                 "ef9f174e.95c598",
107                 "e2c37c63.95631",
108                 "933967a8.61f458",
109                 "1ec9b1c2.d7896e",
110                 "7621e17b.a9522",
111                 "a3ec8288.4b45b"
112             ]
113         ]
114     },
115     {
116         "id": "1a068b2f.ec1c25",
117         "type": "other",
118         "name": "assign",
119         "xml": "<outcome value='assign'>\n",
120         "comments": "",
121         "outputs": 1,
122         "x": 711.190502166748,
123         "y": 257.9206027984619,
124         "z": "b2ff82f0.56033",
125         "wires": [
126             [
127                 "2d8f5a2d.0637b6"
128             ]
129         ]
130     },
131     {
132         "id": "2d8f5a2d.0637b6",
133         "type": "block",
134         "name": "block : atomic",
135         "xml": "<block atomic=\"true\">",
136         "atomic": "true",
137         "outputs": 1,
138         "x": 883.4286727905273,
139         "y": 255.92073154449463,
140         "z": "b2ff82f0.56033",
141         "wires": [
142             [
143                 "edbce417.bd23e8"
144             ]
145         ]
146     },
147     {
148         "id": "a9b65525.597998",
149         "type": "call",
150         "name": "call GENERIC-RESOURCE-API:validate-network-input",
151         "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
152         "comments": "",
153         "outputs": 1,
154         "x": 606.9999885559082,
155         "y": 195.77775311470032,
156         "z": "b2ff82f0.56033",
157         "wires": [
158             []
159         ]
160     },
161     {
162         "id": "c32a4d78.480ba",
163         "type": "other",
164         "name": "activate",
165         "xml": "<outcome value='activate'>\n",
166         "comments": "",
167         "outputs": 1,
168         "x": 714.0000419616699,
169         "y": 347.7777404785156,
170         "z": "b2ff82f0.56033",
171         "wires": [
172             [
173                 "3e56973c.7167e8"
174             ]
175         ]
176     },
177     {
178         "id": "91cf810e.16ded",
179         "type": "block",
180         "name": "block : atomic",
181         "xml": "<block atomic=\"true\">",
182         "atomic": "true",
183         "outputs": 1,
184         "x": 1169.2383575439453,
185         "y": 432.77799224853516,
186         "z": "b2ff82f0.56033",
187         "wires": [
188             [
189                 "510a8ba.2d0a674",
190                 "c320966e.dcfd18",
191                 "d140ba03.9488f8"
192             ]
193         ]
194     },
195     {
196         "id": "60aaff20.5a112",
197         "type": "call",
198         "name": "call GENERIC-RESOURCE-API:network-topology-operation-activate",
199         "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n",
200         "comments": "",
201         "outputs": 1,
202         "x": 2361.059928894043,
203         "y": 936.38498878479,
204         "z": "b2ff82f0.56033",
205         "wires": [
206             []
207         ]
208     },
209     {
210         "id": "5471c0fe.38f1d",
211         "type": "other",
212         "name": "deactivate",
213         "xml": "<outcome value='deactivate'>\n",
214         "comments": "",
215         "outputs": 1,
216         "x": 708.0000343322754,
217         "y": 579.777738571167,
218         "z": "b2ff82f0.56033",
219         "wires": [
220             [
221                 "ac8744c.c01bcb8"
222             ]
223         ]
224     },
225     {
226         "id": "955e93bb.ba042",
227         "type": "block",
228         "name": "block : atomic",
229         "xml": "<block atomic=\"true\">",
230         "atomic": "true",
231         "outputs": 1,
232         "x": 1145.2383346557617,
233         "y": 819.7780523300171,
234         "z": "b2ff82f0.56033",
235         "wires": [
236             [
237                 "510a8ba.2d0a674",
238                 "1d230c90.43d433",
239                 "d140ba03.9488f8"
240             ]
241         ]
242     },
243     {
244         "id": "1d230c90.43d433",
245         "type": "call",
246         "name": "call GENERIC-RESOURCE-API:network-topology-operation-deactivate",
247         "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n",
248         "comments": "",
249         "outputs": 1,
250         "x": 1689.2265319824219,
251         "y": 1024.6350364685059,
252         "z": "b2ff82f0.56033",
253         "wires": [
254             []
255         ]
256     },
257     {
258         "id": "ef9f174e.95c598",
259         "type": "other",
260         "name": "unassign",
261         "xml": "<outcome value='unassign'>\n",
262         "comments": "",
263         "outputs": 1,
264         "x": 705.0000534057617,
265         "y": 831.7777881622314,
266         "z": "b2ff82f0.56033",
267         "wires": [
268             [
269                 "94357376.87b42"
270             ]
271         ]
272     },
273     {
274         "id": "94357376.87b42",
275         "type": "block",
276         "name": "block : atomic",
277         "xml": "<block atomic=\"true\">",
278         "atomic": "true",
279         "outputs": 1,
280         "x": 886.2382125854492,
281         "y": 832.777910232544,
282         "z": "b2ff82f0.56033",
283         "wires": [
284             [
285                 "510a8ba.2d0a674",
286                 "1a2ab749.8c5249",
287                 "d140ba03.9488f8"
288             ]
289         ]
290     },
291     {
292         "id": "4a11ad47.8a00e4",
293         "type": "call",
294         "name": "call GENERIC-RESOURCE-API:network-topology-operation-unassign",
295         "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n",
296         "comments": "",
297         "outputs": 1,
298         "x": 2356.8097915649414,
299         "y": 1129.884958267212,
300         "z": "b2ff82f0.56033",
301         "wires": [
302             []
303         ]
304     },
305     {
306         "id": "e2c37c63.95631",
307         "type": "other",
308         "name": "other",
309         "xml": "<outcome value='Other'>\n",
310         "comments": "",
311         "outputs": 1,
312         "x": 689.0000534057617,
313         "y": 1086.7777848243713,
314         "z": "b2ff82f0.56033",
315         "wires": [
316             [
317                 "b262823a.325c8"
318             ]
319         ]
320     },
321     {
322         "id": "b262823a.325c8",
323         "type": "returnFailure",
324         "name": "return failure",
325         "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-action is a required input\" />\n",
326         "comments": "",
327         "x": 871.0000495910645,
328         "y": 1085.7777943611145,
329         "z": "b2ff82f0.56033",
330         "wires": []
331     },
332     {
333         "id": "d2f271fb.1251e",
334         "type": "set",
335         "name": "Set final indicator to Y",
336         "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
337         "comments": "",
338         "x": 493.11109924316406,
339         "y": 1240.4722213745117,
340         "z": "b2ff82f0.56033",
341         "wires": []
342     },
343     {
344         "id": "f1cdaba4.4b1468",
345         "type": "for",
346         "name": "for nidx..service-data.networks.network[]",
347         "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
348         "comments": "",
349         "outputs": 1,
350         "x": 2225.730457305908,
351         "y": 474.5396976470947,
352         "z": "b2ff82f0.56033",
353         "wires": [
354             [
355                 "1ce3aa4.6cf4256"
356             ]
357         ]
358     },
359     {
360         "id": "510a8ba.2d0a674",
361         "type": "switchNode",
362         "name": "switch service-data.networks.network_length",
363         "xml": "<switch test='`$service-data.networks.network_length`'>\n",
364         "comments": "",
365         "outputs": 1,
366         "x": 1503.1946144104004,
367         "y": 442.8610897064209,
368         "z": "b2ff82f0.56033",
369         "wires": [
370             [
371                 "8d10209.2f0f7e",
372                 "b8f3d29c.ee262"
373             ]
374         ]
375     },
376     {
377         "id": "8d10209.2f0f7e",
378         "type": "other",
379         "name": "outcome Null",
380         "xml": "<outcome value=''>\n",
381         "comments": "",
382         "outputs": 1,
383         "x": 1802.444492340088,
384         "y": 441.11108779907227,
385         "z": "b2ff82f0.56033",
386         "wires": [
387             [
388                 "6f9c2eea.df9cc"
389             ]
390         ]
391     },
392     {
393         "id": "b8f3d29c.ee262",
394         "type": "other",
395         "name": "other",
396         "xml": "<outcome value='Other'>\n",
397         "comments": "",
398         "outputs": 1,
399         "x": 1756.444522857666,
400         "y": 474.1111087799072,
401         "z": "b2ff82f0.56033",
402         "wires": [
403             [
404                 "f1ccef3b.7d9c6"
405             ]
406         ]
407     },
408     {
409         "id": "1ce3aa4.6cf4256",
410         "type": "switchNode",
411         "name": "switch networkid found",
412         "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
413         "comments": "",
414         "outputs": 1,
415         "x": 2516.159008026123,
416         "y": 473.78978157043457,
417         "z": "b2ff82f0.56033",
418         "wires": [
419             [
420                 "702929b4.6bd008"
421             ]
422         ]
423     },
424     {
425         "id": "702929b4.6bd008",
426         "type": "outcomeTrue",
427         "name": "true",
428         "xml": "<outcome value='true'>\n",
429         "comments": "",
430         "outputs": 1,
431         "x": 2705.1113624572754,
432         "y": 474.6825199127197,
433         "z": "b2ff82f0.56033",
434         "wires": [
435             [
436                 "46381e91.19efd"
437             ]
438         ]
439     },
440     {
441         "id": "46381e91.19efd",
442         "type": "set",
443         "name": "set tmp.nidx and network-data",
444         "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
445         "comments": "",
446         "x": 2938.6431312561035,
447         "y": 473.43252754211426,
448         "z": "b2ff82f0.56033",
449         "wires": []
450     },
451     {
452         "id": "1e4f1e53.bd5ab2",
453         "type": "comment",
454         "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
455         "info": "",
456         "comments": "",
457         "x": 1653.555908203125,
458         "y": 408.11110973358154,
459         "z": "b2ff82f0.56033",
460         "wires": []
461     },
462     {
463         "id": "3eb7337.d523acc",
464         "type": "comment",
465         "name": "service-data  will not be stored until we have a network-id",
466         "info": "",
467         "comments": "",
468         "x": 1221.6667938232422,
469         "y": 37,
470         "z": "b2ff82f0.56033",
471         "wires": []
472     },
473     {
474         "id": "6f9c2eea.df9cc",
475         "type": "returnFailure",
476         "name": "return failure",
477         "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",
478         "comments": "",
479         "x": 1994.2220497131348,
480         "y": 439.0000858306885,
481         "z": "b2ff82f0.56033",
482         "wires": []
483     },
484     {
485         "id": "f1ccef3b.7d9c6",
486         "type": "block",
487         "name": "block : atomic",
488         "xml": "<block atomic=\"true\">",
489         "atomic": "true",
490         "outputs": 1,
491         "x": 1923.7144889831543,
492         "y": 473.6656856536865,
493         "z": "b2ff82f0.56033",
494         "wires": [
495             [
496                 "f1cdaba4.4b1468",
497                 "b70c43a4.8f446"
498             ]
499         ]
500     },
501     {
502         "id": "b70c43a4.8f446",
503         "type": "switchNode",
504         "name": "switch tmp.nidx ",
505         "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
506         "comments": "",
507         "outputs": 1,
508         "x": 2152.7820014953613,
509         "y": 524.0228967666626,
510         "z": "b2ff82f0.56033",
511         "wires": [
512             [
513                 "f9fd607e.a7a39",
514                 "6229e67b.dcc688"
515             ]
516         ]
517     },
518     {
519         "id": "f043129c.def34",
520         "type": "returnFailure",
521         "name": "return failure",
522         "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",
523         "comments": "",
524         "x": 2505.638984680176,
525         "y": 519.737138748169,
526         "z": "b2ff82f0.56033",
527         "wires": []
528     },
529     {
530         "id": "f9fd607e.a7a39",
531         "type": "outcome",
532         "name": "NULL",
533         "xml": "<outcome value=''>\n",
534         "comments": "",
535         "outputs": 1,
536         "x": 2324.210536956787,
537         "y": 522.5942821502686,
538         "z": "b2ff82f0.56033",
539         "wires": [
540             [
541                 "f043129c.def34"
542             ]
543         ]
544     },
545     {
546         "id": "c320966e.dcfd18",
547         "type": "switchNode",
548         "name": "switch network-level-oper-status",
549         "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
550         "comments": "",
551         "outputs": 1,
552         "x": 1574.0281600952148,
553         "y": 936.336389541626,
554         "z": "b2ff82f0.56033",
555         "wires": [
556             [
557                 "8fc07d73.2176e",
558                 "97dffa6e.212f38"
559             ]
560         ]
561     },
562     {
563         "id": "8fc07d73.2176e",
564         "type": "outcome",
565         "name": "outcome PendingCreate",
566         "xml": "<outcome value='PendingCreate'>\n",
567         "comments": "",
568         "outputs": 1,
569         "x": 1939.0281397501622,
570         "y": 936.3363742828369,
571         "z": "b2ff82f0.56033",
572         "wires": [
573             [
574                 "60aaff20.5a112"
575             ]
576         ]
577     },
578     {
579         "id": "97dffa6e.212f38",
580         "type": "other",
581         "name": "other",
582         "xml": "<outcome value='Other'>\n",
583         "comments": "",
584         "outputs": 1,
585         "x": 1889.0281867980957,
586         "y": 976.336404800415,
587         "z": "b2ff82f0.56033",
588         "wires": [
589             [
590                 "1160d210.ecd43e"
591             ]
592         ]
593     },
594     {
595         "id": "1160d210.ecd43e",
596         "type": "returnFailure",
597         "name": "return failure",
598         "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`\" />",
599         "comments": "",
600         "x": 2059.0281867980957,
601         "y": 976.336404800415,
602         "z": "b2ff82f0.56033",
603         "wires": []
604     },
605     {
606         "id": "1a2ab749.8c5249",
607         "type": "switchNode",
608         "name": "switch network-level-oper-status",
609         "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
610         "comments": "",
611         "outputs": 1,
612         "x": 1563.6311721801758,
613         "y": 1131.4891605377197,
614         "z": "b2ff82f0.56033",
615         "wires": [
616             [
617                 "f2a9aed4.f72e6",
618                 "873cbb6b.299728",
619                 "adb06f51.82448"
620             ]
621         ]
622     },
623     {
624         "id": "f2a9aed4.f72e6",
625         "type": "outcome",
626         "name": "outcome PendingCreate",
627         "xml": "<outcome value='PendingCreate'>\n",
628         "comments": "",
629         "outputs": 1,
630         "x": 1923.6311416625977,
631         "y": 1131.4891910552979,
632         "z": "b2ff82f0.56033",
633         "wires": [
634             [
635                 "4a11ad47.8a00e4"
636             ]
637         ]
638     },
639     {
640         "id": "873cbb6b.299728",
641         "type": "other",
642         "name": "other",
643         "xml": "<outcome value='Other'>\n",
644         "comments": "",
645         "outputs": 1,
646         "x": 1879.3810653686523,
647         "y": 1202.9892539978027,
648         "z": "b2ff82f0.56033",
649         "wires": [
650             [
651                 "4806b0a4.c6ffb"
652             ]
653         ]
654     },
655     {
656         "id": "4806b0a4.c6ffb",
657         "type": "returnFailure",
658         "name": "return failure",
659         "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 unassign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
660         "comments": "",
661         "x": 2070.714485168457,
662         "y": 1201.6558828353882,
663         "z": "b2ff82f0.56033",
664         "wires": []
665     },
666     {
667         "id": "adb06f51.82448",
668         "type": "outcome",
669         "name": "outcome PendingDelete",
670         "xml": "<outcome value='PendingDelete'>\n",
671         "comments": "",
672         "outputs": 1,
673         "x": 1926.8613662719727,
674         "y": 1169.3363590240479,
675         "z": "b2ff82f0.56033",
676         "wires": [
677             [
678                 "4a11ad47.8a00e4"
679             ]
680         ]
681     },
682     {
683         "id": "933967a8.61f458",
684         "type": "other",
685         "name": "changeassign",
686         "xml": "<outcome value='changeassign'>",
687         "comments": "",
688         "outputs": 1,
689         "x": 716.000072479248,
690         "y": 482.77777099609375,
691         "z": "b2ff82f0.56033",
692         "wires": [
693             [
694                 "cab994c6.fcf578"
695             ]
696         ]
697     },
698     {
699         "id": "cab994c6.fcf578",
700         "type": "block",
701         "name": "block : atomic",
702         "xml": "<block atomic=\"true\">",
703         "atomic": "true",
704         "outputs": 1,
705         "x": 1088.2500114440918,
706         "y": 479.7777624130249,
707         "z": "b2ff82f0.56033",
708         "wires": [
709             [
710                 "510a8ba.2d0a674",
711                 "9f741f0f.86e65"
712             ]
713         ]
714     },
715     {
716         "id": "c5852511.ea0668",
717         "type": "call",
718         "name": "call GENERIC-RESOURCE-API:network-topology-operation-assign",
719         "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n",
720         "comments": "",
721         "outputs": 1,
722         "x": 1857.0001945495605,
723         "y": 177.77776336669922,
724         "z": "b2ff82f0.56033",
725         "wires": [
726             []
727         ]
728     },
729     {
730         "id": "edbce417.bd23e8",
731         "type": "switchNode",
732         "name": "switch network-level-oper-status",
733         "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
734         "comments": "",
735         "outputs": 1,
736         "x": 1152.9682502746582,
737         "y": 115.72915458679199,
738         "z": "b2ff82f0.56033",
739         "wires": [
740             [
741                 "5138e78a.bf2918",
742                 "ce27f2ab.d7a5d",
743                 "c8c8edc5.558e4",
744                 "ae55af74.56f3c"
745             ]
746         ]
747     },
748     {
749         "id": "5138e78a.bf2918",
750         "type": "outcome",
751         "name": "outcome PendingCreate",
752         "xml": "<outcome value='PendingCreate'>\n",
753         "comments": "",
754         "outputs": 1,
755         "x": 1538.9682960510254,
756         "y": 135.72913646697998,
757         "z": "b2ff82f0.56033",
758         "wires": [
759             [
760                 "c7dca56e.257ca8"
761             ]
762         ]
763     },
764     {
765         "id": "ce27f2ab.d7a5d",
766         "type": "other",
767         "name": "other",
768         "xml": "<outcome value='Other'>\n",
769         "comments": "",
770         "outputs": 1,
771         "x": 1486.9682922363281,
772         "y": 177.72916793823242,
773         "z": "b2ff82f0.56033",
774         "wires": [
775             [
776                 "c5852511.ea0668"
777             ]
778         ]
779     },
780     {
781         "id": "c7dca56e.257ca8",
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 is not in appropriate state for assign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
785         "comments": "",
786         "x": 1813.9685173034668,
787         "y": 131.72918510437012,
788         "z": "b2ff82f0.56033",
789         "wires": []
790     },
791     {
792         "id": "ae55af74.56f3c",
793         "type": "outcome",
794         "name": "outcome PendingDelete",
795         "xml": "<outcome value='PendingDelete'>\n",
796         "comments": "",
797         "outputs": 1,
798         "x": 1537.0000343322754,
799         "y": 100.77775192260742,
800         "z": "b2ff82f0.56033",
801         "wires": [
802             [
803                 "c7dca56e.257ca8"
804             ]
805         ]
806     },
807     {
808         "id": "c8c8edc5.558e4",
809         "type": "outcome",
810         "name": "outcome Created",
811         "xml": "<outcome value='Created'>\n",
812         "comments": "",
813         "outputs": 1,
814         "x": 1517.000072479248,
815         "y": 65.77775382995605,
816         "z": "b2ff82f0.56033",
817         "wires": [
818             [
819                 "c7dca56e.257ca8"
820             ]
821         ]
822     },
823     {
824         "id": "9f741f0f.86e65",
825         "type": "call",
826         "name": "call GENERIC-RESOURCE-API:network-topology-operation-changeassign",
827         "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-changeassign' mode='sync' >\n",
828         "comments": "",
829         "outputs": 1,
830         "x": 1666.2464065551758,
831         "y": 868.2738800048828,
832         "z": "b2ff82f0.56033",
833         "wires": [
834             []
835         ]
836     },
837     {
838         "id": "d140ba03.9488f8",
839         "type": "switchNode",
840         "name": "switch network-information.network-instance-group-id",
841         "xml": "<switch test='`$network-topology-operation-input.network-information.network-instance-group-id`'>\n\n",
842         "comments": "",
843         "outputs": 1,
844         "x": 1578.438648223877,
845         "y": 700.2787666320801,
846         "z": "b2ff82f0.56033",
847         "wires": [
848             [
849                 "19350a2.00944f6",
850                 "2ac3adf2.61df12"
851             ]
852         ]
853     },
854     {
855         "id": "19350a2.00944f6",
856         "type": "other",
857         "name": "Other",
858         "xml": "<outcome value='Other'>",
859         "comments": "",
860         "outputs": 1,
861         "x": 1865.1885299682617,
862         "y": 738.4454336166382,
863         "z": "b2ff82f0.56033",
864         "wires": [
865             [
866                 "c6e7b54f.a386d8"
867             ]
868         ]
869     },
870     {
871         "id": "2ac3adf2.61df12",
872         "type": "other",
873         "name": "NULL",
874         "xml": "<outcome value=''>",
875         "comments": "",
876         "outputs": 1,
877         "x": 1862.85542678833,
878         "y": 705.4453077316284,
879         "z": "b2ff82f0.56033",
880         "wires": [
881             [
882                 "4c785d2a.b22b24"
883             ]
884         ]
885     },
886     {
887         "id": "4c785d2a.b22b24",
888         "type": "returnSuccess",
889         "name": "return success",
890         "xml": "<return status='success'>\n",
891         "comments": "",
892         "x": 2023.1886558532715,
893         "y": 702.4453649520874,
894         "z": "b2ff82f0.56033",
895         "wires": []
896     },
897     {
898         "id": "7082d0a5.d6ea",
899         "type": "switchNode",
900         "name": "service-data.network-instance-groups.network-instance-group_length",
901         "xml": "<switch test='`$service-data.network-instance-groups.network-instance-group_length`'>\n",
902         "comments": "",
903         "outputs": 1,
904         "x": 2358.2642707824707,
905         "y": 731.7111825942993,
906         "z": "b2ff82f0.56033",
907         "wires": [
908             [
909                 "e3d6d488.f4d528",
910                 "bf586b63.f59aa8"
911             ]
912         ]
913     },
914     {
915         "id": "e3d6d488.f4d528",
916         "type": "other",
917         "name": "outcome Null",
918         "xml": "<outcome value=''>\n",
919         "comments": "",
920         "outputs": 1,
921         "x": 2717.513961791992,
922         "y": 688.7111854553223,
923         "z": "b2ff82f0.56033",
924         "wires": [
925             [
926                 "ada3072f.b79978"
927             ]
928         ]
929     },
930     {
931         "id": "bf586b63.f59aa8",
932         "type": "other",
933         "name": "other",
934         "xml": "<outcome value='Other'>\n",
935         "comments": "",
936         "outputs": 1,
937         "x": 2697.513961791992,
938         "y": 723.7111854553223,
939         "z": "b2ff82f0.56033",
940         "wires": [
941             [
942                 "8992cd4d.3eddd"
943             ]
944         ]
945     },
946     {
947         "id": "c6e7b54f.a386d8",
948         "type": "block",
949         "name": "block",
950         "xml": "<block>\n",
951         "atomic": "false",
952         "comments": "",
953         "outputs": 1,
954         "x": 1999.2997856140137,
955         "y": 738.889838218689,
956         "z": "b2ff82f0.56033",
957         "wires": [
958             [
959                 "7082d0a5.d6ea"
960             ]
961         ]
962     },
963     {
964         "id": "74dc02ac.b7191c",
965         "type": "outcomeTrue",
966         "name": "true",
967         "xml": "<outcome value='true'>\n",
968         "comments": "",
969         "outputs": 1,
970         "x": 4121.507778167725,
971         "y": 666.9217891693115,
972         "z": "b2ff82f0.56033",
973         "wires": [
974             [
975                 "e21a7b71.ed73e8"
976             ]
977         ]
978     },
979     {
980         "id": "a41523ea.9b6f2",
981         "type": "set",
982         "name": "set tmp.ngidx and ctx.network-instance-group-data",
983         "xml": "<set>\n<parameter name='tmp.ngidx' value='`$ngidx`' />\n<parameter name='ctx.network-instance-group-data.' value='`$service-data.network-instance-groups.network-instance-group[$ngidx].`' />\n",
984         "comments": "",
985         "x": 4564.039745330811,
986         "y": 666.6718139648438,
987         "z": "b2ff82f0.56033",
988         "wires": []
989     },
990     {
991         "id": "e21a7b71.ed73e8",
992         "type": "block",
993         "name": "block : atomic",
994         "xml": "<block atomic=\"true\">",
995         "atomic": "true",
996         "outputs": 1,
997         "x": 4270.126216888428,
998         "y": 666.778974533081,
999         "z": "b2ff82f0.56033",
1000         "wires": [
1001             [
1002                 "a41523ea.9b6f2"
1003             ]
1004         ]
1005     },
1006     {
1007         "id": "b5ea24ff.8906d8",
1008         "type": "for",
1009         "name": "for ngidx..service-data.network-instance-groups.network-instance-group[]",
1010         "xml": "<for index='ngidx' start='0' end='`$service-data.network-instance-groups.network-instance-_length`' >\n",
1011         "comments": "",
1012         "outputs": 1,
1013         "x": 3304.3761825561523,
1014         "y": 727.0287618637085,
1015         "z": "b2ff82f0.56033",
1016         "wires": [
1017             [
1018                 "f7b04893.75f7b8"
1019             ]
1020         ]
1021     },
1022     {
1023         "id": "f7b04893.75f7b8",
1024         "type": "switchNode",
1025         "name": "switch network-instance-group-id found",
1026         "xml": "<switch test=\"`$service-data.network-instance-groups.network-instance-group[$nidx].network-instance-group-id == $network-topology-operation-input.network-information.network-instance-group-id`\">\n\n",
1027         "comments": "",
1028         "outputs": 1,
1029         "x": 3749.8047790527344,
1030         "y": 726.7789306640625,
1031         "z": "b2ff82f0.56033",
1032         "wires": [
1033             [
1034                 "74dc02ac.b7191c"
1035             ]
1036         ]
1037     },
1038     {
1039         "id": "8992cd4d.3eddd",
1040         "type": "block",
1041         "name": "block : atomic",
1042         "xml": "<block atomic=\"true\">",
1043         "atomic": "true",
1044         "outputs": 1,
1045         "x": 2916.360061645508,
1046         "y": 724.9046869277954,
1047         "z": "b2ff82f0.56033",
1048         "wires": [
1049             [
1050                 "b5ea24ff.8906d8"
1051             ]
1052         ]
1053     },
1054     {
1055         "id": "ada3072f.b79978",
1056         "type": "returnFailure",
1057         "name": "return failure",
1058         "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-instance-group-id not found in service-data\" />\n",
1059         "comments": "",
1060         "x": 2909.0636138916016,
1061         "y": 688.2787523269653,
1062         "z": "b2ff82f0.56033",
1063         "wires": []
1064     },
1065     {
1066         "id": "6229e67b.dcc688",
1067         "type": "other",
1068         "name": "other",
1069         "xml": "<outcome value='Other'>\n",
1070         "comments": "",
1071         "outputs": 1,
1072         "x": 2323.7461891174316,
1073         "y": 553.5238647460938,
1074         "z": "b2ff82f0.56033",
1075         "wires": [
1076             [
1077                 "3eb1e370.0868ec"
1078             ]
1079         ]
1080     },
1081     {
1082         "id": "3eb1e370.0868ec",
1083         "type": "set",
1084         "name": "set nidx",
1085         "xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n",
1086         "comments": "",
1087         "x": 2480.7461891174316,
1088         "y": 554.5238647460938,
1089         "z": "b2ff82f0.56033",
1090         "wires": []
1091     },
1092     {
1093         "id": "3e56973c.7167e8",
1094         "type": "switchNode",
1095         "name": "switch request-action",
1096         "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1097         "comments": "",
1098         "outputs": 1,
1099         "x": 905.1111869812012,
1100         "y": 340.2326765060425,
1101         "z": "b2ff82f0.56033",
1102         "wires": [
1103             [
1104                 "35e94c82.e258f4",
1105                 "3e5ff33f.47870c",
1106                 "e06b8831.66ddf8",
1107                 "28b987dd.785e58"
1108             ]
1109         ]
1110     },
1111     {
1112         "id": "35e94c82.e258f4",
1113         "type": "outcome",
1114         "name": "ActivateDCINetworkInstance",
1115         "xml": "<outcome value='ActivateDCINetworkInstance'>",
1116         "comments": "",
1117         "outputs": 1,
1118         "x": 1201.4444122314453,
1119         "y": 285.23250579833984,
1120         "z": "b2ff82f0.56033",
1121         "wires": [
1122             [
1123                 "155e6231.f6ae8e"
1124             ]
1125         ]
1126     },
1127     {
1128         "id": "155e6231.f6ae8e",
1129         "type": "call",
1130         "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate",
1131         "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-activate' mode='sync' >\n",
1132         "comments": "",
1133         "outputs": 1,
1134         "x": 1716.4444885253906,
1135         "y": 284.8993377685547,
1136         "z": "b2ff82f0.56033",
1137         "wires": [
1138             []
1139         ]
1140     },
1141     {
1142         "id": "3e5ff33f.47870c",
1143         "type": "outcome",
1144         "name": "other",
1145         "xml": "<outcome value='other'>",
1146         "comments": "",
1147         "outputs": 1,
1148         "x": 1038.4445304870605,
1149         "y": 389.8992614746094,
1150         "z": "b2ff82f0.56033",
1151         "wires": [
1152             [
1153                 "dd8ef6f1.b78588"
1154             ]
1155         ]
1156     },
1157     {
1158         "id": "ac8744c.c01bcb8",
1159         "type": "switchNode",
1160         "name": "switch request-action",
1161         "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1162         "comments": "",
1163         "outputs": 1,
1164         "x": 909.6667366027832,
1165         "y": 581.6770572662354,
1166         "z": "b2ff82f0.56033",
1167         "wires": [
1168             [
1169                 "4bae5f0b.cedde",
1170                 "675d1751.d19a88",
1171                 "8a4a4e41.b5515",
1172                 "59dbfd81.6f2924"
1173             ]
1174         ]
1175     },
1176     {
1177         "id": "4bae5f0b.cedde",
1178         "type": "outcome",
1179         "name": "DeactivateSOTNConnectivityInstance",
1180         "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
1181         "comments": "",
1182         "outputs": 1,
1183         "x": 1199.4446144104004,
1184         "y": 525.8991947174072,
1185         "z": "b2ff82f0.56033",
1186         "wires": [
1187             [
1188                 "64bcaf0e.b9bc4"
1189             ]
1190         ]
1191     },
1192     {
1193         "id": "675d1751.d19a88",
1194         "type": "other",
1195         "name": "other",
1196         "xml": "<outcome value='Other'>\n",
1197         "comments": "",
1198         "outputs": 1,
1199         "x": 1058.8897018432617,
1200         "y": 672.5908031463623,
1201         "z": "b2ff82f0.56033",
1202         "wires": [
1203             [
1204                 "3130c731.b83a38"
1205             ]
1206         ]
1207     },
1208     {
1209         "id": "64bcaf0e.b9bc4",
1210         "type": "call",
1211         "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-deactivate",
1212         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-deactivate' mode='sync' >\n",
1213         "comments": "",
1214         "outputs": 1,
1215         "x": 1690.8018798828125,
1216         "y": 524.1825675964355,
1217         "z": "b2ff82f0.56033",
1218         "wires": [
1219             []
1220         ]
1221     },
1222     {
1223         "id": "1ec9b1c2.d7896e",
1224         "type": "other",
1225         "name": "create",
1226         "xml": "<outcome value='create'>\n",
1227         "comments": "",
1228         "outputs": 1,
1229         "x": 695.3335037231445,
1230         "y": 921.0105962753296,
1231         "z": "b2ff82f0.56033",
1232         "wires": [
1233             [
1234                 "d8080c3a.ae819"
1235             ]
1236         ]
1237     },
1238     {
1239         "id": "d8080c3a.ae819",
1240         "type": "switchNode",
1241         "name": "switch request-action",
1242         "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1243         "comments": "",
1244         "outputs": 1,
1245         "x": 895.6473236083984,
1246         "y": 920.7882690429688,
1247         "z": "b2ff82f0.56033",
1248         "wires": [
1249             [
1250                 "36fb281c.5a7318",
1251                 "81edc8f4.ef4398",
1252                 "7cf33cd4.4d9ff4"
1253             ]
1254         ]
1255     },
1256     {
1257         "id": "7621e17b.a9522",
1258         "type": "other",
1259         "name": "delete",
1260         "xml": "<outcome value='delete'>\n",
1261         "comments": "",
1262         "outputs": 1,
1263         "x": 693.3335075378418,
1264         "y": 998.0106000900269,
1265         "z": "b2ff82f0.56033",
1266         "wires": [
1267             [
1268                 "f6b6bca8.c4f78"
1269             ]
1270         ]
1271     },
1272     {
1273         "id": "f6b6bca8.c4f78",
1274         "type": "switchNode",
1275         "name": "switch request-action",
1276         "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1277         "comments": "",
1278         "outputs": 1,
1279         "x": 895.6217651367188,
1280         "y": 999.071400642395,
1281         "z": "b2ff82f0.56033",
1282         "wires": [
1283             [
1284                 "f30dd932.31da78",
1285                 "5aa4890e.c66fd8",
1286                 "9d76e3e7.e3dc5"
1287             ]
1288         ]
1289     },
1290     {
1291         "id": "17812524.ab993b",
1292         "type": "block",
1293         "name": "block : atomic",
1294         "xml": "<block atomic=\"true\">",
1295         "atomic": "true",
1296         "outputs": 1,
1297         "x": 1627.4448852539062,
1298         "y": 1411.8994827270508,
1299         "z": "b2ff82f0.56033",
1300         "wires": [
1301             [
1302                 "ee06cc7e.4911c"
1303             ]
1304         ]
1305     },
1306     {
1307         "id": "c39b7ecf.bd11",
1308         "type": "block",
1309         "name": "block : atomic",
1310         "xml": "<block atomic=\"true\">",
1311         "atomic": "true",
1312         "outputs": 1,
1313         "x": 1593.8891830444336,
1314         "y": 1707.4552936553955,
1315         "z": "b2ff82f0.56033",
1316         "wires": [
1317             [
1318                 "389a961d.5233ca"
1319             ]
1320         ]
1321     },
1322     {
1323         "id": "ee06cc7e.4911c",
1324         "type": "call",
1325         "name": "call GENERIC-RESOURCE-API:network-topology-operation-create",
1326         "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-create' mode='sync' >\n",
1327         "comments": "",
1328         "outputs": 1,
1329         "x": 1993.111328125,
1330         "y": 1408.3441352844238,
1331         "z": "b2ff82f0.56033",
1332         "wires": [
1333             []
1334         ]
1335     },
1336     {
1337         "id": "389a961d.5233ca",
1338         "type": "call",
1339         "name": "call GENERIC-RESOURCE-API:network-topology-operation-delete",
1340         "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n",
1341         "comments": "",
1342         "outputs": 1,
1343         "x": 1958.8891067504883,
1344         "y": 1706.4552221298218,
1345         "z": "b2ff82f0.56033",
1346         "wires": [
1347             []
1348         ]
1349     },
1350     {
1351         "id": "36fb281c.5a7318",
1352         "type": "outcome",
1353         "name": "other",
1354         "xml": "<outcome value='other'>",
1355         "comments": "",
1356         "outputs": 1,
1357         "x": 1457.6473083496094,
1358         "y": 1357.677001953125,
1359         "z": "b2ff82f0.56033",
1360         "wires": [
1361             [
1362                 "60512a1c.621c74"
1363             ]
1364         ]
1365     },
1366     {
1367         "id": "81edc8f4.ef4398",
1368         "type": "outcome",
1369         "name": "CreateSOTNConnectivityInstance",
1370         "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
1371         "comments": "",
1372         "outputs": 1,
1373         "x": 1537.314037322998,
1374         "y": 1258.4549032608047,
1375         "z": "b2ff82f0.56033",
1376         "wires": [
1377             [
1378                 "97483d5f.4254d"
1379             ]
1380         ]
1381     },
1382     {
1383         "id": "97483d5f.4254d",
1384         "type": "call",
1385         "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-create",
1386         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-create' mode='sync' >\n",
1387         "comments": "",
1388         "outputs": 1,
1389         "x": 2016.2028541564941,
1390         "y": 1260.6770855346695,
1391         "z": "b2ff82f0.56033",
1392         "wires": [
1393             []
1394         ]
1395     },
1396     {
1397         "id": "5aa4890e.c66fd8",
1398         "type": "outcome",
1399         "name": "DeleteSOTNConnectivityInstance",
1400         "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
1401         "comments": "",
1402         "outputs": 1,
1403         "x": 1530.7332000732422,
1404         "y": 1515.6271324157715,
1405         "z": "b2ff82f0.56033",
1406         "wires": [
1407             [
1408                 "976fa25c.f8c0f"
1409             ]
1410         ]
1411     },
1412     {
1413         "id": "976fa25c.f8c0f",
1414         "type": "call",
1415         "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-delete",
1416         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-delete' mode='sync' >\n",
1417         "comments": "",
1418         "outputs": 1,
1419         "x": 1997.6220169067383,
1420         "y": 1517.8493146896362,
1421         "z": "b2ff82f0.56033",
1422         "wires": [
1423             []
1424         ]
1425     },
1426     {
1427         "id": "f30dd932.31da78",
1428         "type": "outcome",
1429         "name": "other",
1430         "xml": "<outcome value='other'>",
1431         "comments": "",
1432         "outputs": 1,
1433         "x": 1449.0663375854492,
1434         "y": 1626.8492712974548,
1435         "z": "b2ff82f0.56033",
1436         "wires": [
1437             [
1438                 "b8c67313.e4837"
1439             ]
1440         ]
1441     },
1442     {
1443         "id": "e06b8831.66ddf8",
1444         "type": "outcome",
1445         "name": "ActivateSOTNConnectivityInstance",
1446         "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
1447         "comments": "",
1448         "outputs": 1,
1449         "x": 1221.4445037841797,
1450         "y": 236.01041412353516,
1451         "z": "b2ff82f0.56033",
1452         "wires": [
1453             [
1454                 "ca6079d7.52d3f8"
1455             ]
1456         ]
1457     },
1458     {
1459         "id": "ca6079d7.52d3f8",
1460         "type": "call",
1461         "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-activate",
1462         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-activate' mode='sync' >\n",
1463         "comments": "",
1464         "outputs": 1,
1465         "x": 1675.6667175292969,
1466         "y": 237.24494552612305,
1467         "z": "b2ff82f0.56033",
1468         "wires": [
1469             []
1470         ]
1471     },
1472     {
1473         "id": "8a4a4e41.b5515",
1474         "type": "outcome",
1475         "name": "DeActivateDCINetworkInstance",
1476         "xml": "<outcome value='DeActivateDCINetworkInstance'>",
1477         "comments": "",
1478         "outputs": 1,
1479         "x": 1179.5451545715332,
1480         "y": 568.9999942779541,
1481         "z": "b2ff82f0.56033",
1482         "wires": [
1483             [
1484                 "dfad3438.d76388"
1485             ]
1486         ]
1487     },
1488     {
1489         "id": "dfad3438.d76388",
1490         "type": "call",
1491         "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate",
1492         "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-deactivate' mode='sync' >\n",
1493         "comments": "",
1494         "outputs": 1,
1495         "x": 1719.5455322265625,
1496         "y": 572.666805267334,
1497         "z": "b2ff82f0.56033",
1498         "wires": [
1499             []
1500         ]
1501     },
1502     {
1503         "id": "28b987dd.785e58",
1504         "type": "outcome",
1505         "name": "ActivateSDWANConnectivityInstance",
1506         "xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
1507         "comments": "",
1508         "outputs": 1,
1509         "x": 1222.9896392822266,
1510         "y": 336.0000190734863,
1511         "z": "b2ff82f0.56033",
1512         "wires": [
1513             [
1514                 "ba274317.79471"
1515             ]
1516         ]
1517     },
1518     {
1519         "id": "ba274317.79471",
1520         "type": "call",
1521         "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-activate",
1522         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-activate' mode='sync' >\n",
1523         "comments": "",
1524         "outputs": 1,
1525         "x": 1742.9898376464844,
1526         "y": 330.66687393188477,
1527         "z": "b2ff82f0.56033",
1528         "wires": [
1529             []
1530         ]
1531     },
1532     {
1533         "id": "59dbfd81.6f2924",
1534         "type": "outcome",
1535         "name": "DeactivateSDWANConnectivityInstance",
1536         "xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
1537         "comments": "",
1538         "outputs": 1,
1539         "x": 1196.9895935058594,
1540         "y": 622,
1541         "z": "b2ff82f0.56033",
1542         "wires": [
1543             [
1544                 "3ea2e33f.e9bfac"
1545             ]
1546         ]
1547     },
1548     {
1549         "id": "3ea2e33f.e9bfac",
1550         "type": "call",
1551         "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-deactivate",
1552         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-deactivate' mode='sync' >\n",
1553         "comments": "",
1554         "outputs": 1,
1555         "x": 1710.9898681640625,
1556         "y": 619.6668519973755,
1557         "z": "b2ff82f0.56033",
1558         "wires": [
1559             []
1560         ]
1561     },
1562     {
1563         "id": "7cf33cd4.4d9ff4",
1564         "type": "outcome",
1565         "name": "CreateSDWANConnectivityInstance",
1566         "xml": "<outcome value='CreateSDWANConnectivityInstance'>",
1567         "comments": "",
1568         "outputs": 1,
1569         "x": 1542.9895935058594,
1570         "y": 1307,
1571         "z": "b2ff82f0.56033",
1572         "wires": [
1573             [
1574                 "229eb427.523f3c"
1575             ]
1576         ]
1577     },
1578     {
1579         "id": "229eb427.523f3c",
1580         "type": "call",
1581         "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-create",
1582         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-create' mode='sync' >\n",
1583         "comments": "",
1584         "outputs": 1,
1585         "x": 1985.9897842407227,
1586         "y": 1304.6668286323547,
1587         "z": "b2ff82f0.56033",
1588         "wires": [
1589             []
1590         ]
1591     },
1592     {
1593         "id": "9d76e3e7.e3dc5",
1594         "type": "outcome",
1595         "name": "DeleteSDWANConnectivityInstance",
1596         "xml": "<outcome value='DeleteSDWANConnectivityInstance'>",
1597         "comments": "",
1598         "outputs": 1,
1599         "x": 1531.989658355713,
1600         "y": 1566.0001797676086,
1601         "z": "b2ff82f0.56033",
1602         "wires": [
1603             [
1604                 "8830d064.6046"
1605             ]
1606         ]
1607     },
1608     {
1609         "id": "8830d064.6046",
1610         "type": "call",
1611         "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-delete",
1612         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-delete' mode='sync' >\n",
1613         "comments": "",
1614         "outputs": 1,
1615         "x": 1998.878475189209,
1616         "y": 1568.2223620414734,
1617         "z": "b2ff82f0.56033",
1618         "wires": [
1619             []
1620         ]
1621     },
1622     {
1623         "id": "dd8ef6f1.b78588",
1624         "type": "execute",
1625         "name": "contains wan-connection",
1626         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"wan-connection\"/>\n",
1627         "comments": "",
1628         "outputs": 1,
1629         "x": 1228.8954391479492,
1630         "y": 375.0065197944641,
1631         "z": "b2ff82f0.56033",
1632         "wires": [
1633             [
1634                 "4305e223.93e80c",
1635                 "c6d3360e.e46bb8"
1636             ]
1637         ]
1638     },
1639     {
1640         "id": "4305e223.93e80c",
1641         "type": "outcomeTrue",
1642         "name": "true",
1643         "xml": "<outcome value='true'>\n",
1644         "comments": "",
1645         "outputs": 1,
1646         "x": 1434.895492553711,
1647         "y": 370.11759185791016,
1648         "z": "b2ff82f0.56033",
1649         "wires": [
1650             [
1651                 "efbbd6dd.74a268"
1652             ]
1653         ]
1654     },
1655     {
1656         "id": "efbbd6dd.74a268",
1657         "type": "call",
1658         "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-activate",
1659         "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-activate' mode='sync' >\n",
1660         "comments": "",
1661         "outputs": 1,
1662         "x": 1819.8955917358398,
1663         "y": 372.1176052093506,
1664         "z": "b2ff82f0.56033",
1665         "wires": [
1666             []
1667         ]
1668     },
1669     {
1670         "id": "c6d3360e.e46bb8",
1671         "type": "outcomeTrue",
1672         "name": "false",
1673         "xml": "<outcome value='false'>\n",
1674         "comments": "",
1675         "outputs": 1,
1676         "x": 1007.1176147460938,
1677         "y": 437.0064754486084,
1678         "z": "b2ff82f0.56033",
1679         "wires": [
1680             [
1681                 "91cf810e.16ded"
1682             ]
1683         ]
1684     },
1685     {
1686         "id": "3130c731.b83a38",
1687         "type": "execute",
1688         "name": "contains wan-connection",
1689         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"wan-connection\"/>\n",
1690         "comments": "",
1691         "outputs": 1,
1692         "x": 1244.6732025146484,
1693         "y": 663.2287330627441,
1694         "z": "b2ff82f0.56033",
1695         "wires": [
1696             [
1697                 "ac9a367d.5109a8",
1698                 "d701c806.67d1c8"
1699             ]
1700         ]
1701     },
1702     {
1703         "id": "ac9a367d.5109a8",
1704         "type": "outcomeTrue",
1705         "name": "true",
1706         "xml": "<outcome value='true'>\n",
1707         "comments": "",
1708         "outputs": 1,
1709         "x": 1445.6733589172363,
1710         "y": 662.339765548706,
1711         "z": "b2ff82f0.56033",
1712         "wires": [
1713             [
1714                 "85b225fb.948668"
1715             ]
1716         ]
1717     },
1718     {
1719         "id": "85b225fb.948668",
1720         "type": "call",
1721         "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-deactivate",
1722         "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-deactivate' mode='sync' >\n",
1723         "comments": "",
1724         "outputs": 1,
1725         "x": 1811.673324584961,
1726         "y": 659.3397808074951,
1727         "z": "b2ff82f0.56033",
1728         "wires": [
1729             []
1730         ]
1731     },
1732     {
1733         "id": "d701c806.67d1c8",
1734         "type": "outcomeTrue",
1735         "name": "false",
1736         "xml": "<outcome value='false'>\n",
1737         "comments": "",
1738         "outputs": 1,
1739         "x": 1091.673252105713,
1740         "y": 726.1176118850708,
1741         "z": "b2ff82f0.56033",
1742         "wires": [
1743             [
1744                 "955e93bb.ba042"
1745             ]
1746         ]
1747     },
1748     {
1749         "id": "60512a1c.621c74",
1750         "type": "execute",
1751         "name": "contains wan-connection",
1752         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"wan-connection\"/>\n",
1753         "comments": "",
1754         "outputs": 1,
1755         "x": 1642.895492553711,
1756         "y": 1363.6731243133545,
1757         "z": "b2ff82f0.56033",
1758         "wires": [
1759             [
1760                 "dbd50474.6c2188",
1761                 "8590bbfd.3e1818"
1762             ]
1763         ]
1764     },
1765     {
1766         "id": "8590bbfd.3e1818",
1767         "type": "outcomeTrue",
1768         "name": "false",
1769         "xml": "<outcome value='false'>\n",
1770         "comments": "",
1771         "outputs": 1,
1772         "x": 1449.8954315185547,
1773         "y": 1410.562126159668,
1774         "z": "b2ff82f0.56033",
1775         "wires": [
1776             [
1777                 "17812524.ab993b"
1778             ]
1779         ]
1780     },
1781     {
1782         "id": "dbd50474.6c2188",
1783         "type": "outcomeTrue",
1784         "name": "true",
1785         "xml": "<outcome value='true'>\n",
1786         "comments": "",
1787         "outputs": 1,
1788         "x": 1848.895565032959,
1789         "y": 1355.7841815948486,
1790         "z": "b2ff82f0.56033",
1791         "wires": [
1792             [
1793                 "1cb02075.d69fc"
1794             ]
1795         ]
1796     },
1797     {
1798         "id": "1cb02075.d69fc",
1799         "type": "call",
1800         "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-create",
1801         "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-create' mode='sync' >\n",
1802         "comments": "",
1803         "outputs": 1,
1804         "x": 2207.895492553711,
1805         "y": 1356.7842350006104,
1806         "z": "b2ff82f0.56033",
1807         "wires": [
1808             []
1809         ]
1810     },
1811     {
1812         "id": "b8c67313.e4837",
1813         "type": "execute",
1814         "name": "contains wan-connection",
1815         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"wan-connection\"/>\n",
1816         "comments": "",
1817         "outputs": 1,
1818         "x": 1655.56201171875,
1819         "y": 1635.0065059661865,
1820         "z": "b2ff82f0.56033",
1821         "wires": [
1822             [
1823                 "3f6aae39.2b27c2",
1824                 "d69b4681.c4d078"
1825             ]
1826         ]
1827     },
1828     {
1829         "id": "d69b4681.c4d078",
1830         "type": "outcomeTrue",
1831         "name": "false",
1832         "xml": "<outcome value='false'>\n",
1833         "comments": "",
1834         "outputs": 1,
1835         "x": 1440.562026977539,
1836         "y": 1710.895429611206,
1837         "z": "b2ff82f0.56033",
1838         "wires": [
1839             [
1840                 "c39b7ecf.bd11"
1841             ]
1842         ]
1843     },
1844     {
1845         "id": "3f6aae39.2b27c2",
1846         "type": "outcomeTrue",
1847         "name": "true",
1848         "xml": "<outcome value='true'>\n",
1849         "comments": "",
1850         "outputs": 1,
1851         "x": 1856.562168121338,
1852         "y": 1634.1175384521484,
1853         "z": "b2ff82f0.56033",
1854         "wires": [
1855             [
1856                 "2b872d7d.587eb2"
1857             ]
1858         ]
1859     },
1860     {
1861         "id": "2b872d7d.587eb2",
1862         "type": "call",
1863         "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-deactivate",
1864         "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-deactivate' mode='sync' >\n",
1865         "comments": "",
1866         "outputs": 1,
1867         "x": 2222.5621337890625,
1868         "y": 1631.1175537109375,
1869         "z": "b2ff82f0.56033",
1870         "wires": [
1871             []
1872         ]
1873     },
1874     {
1875         "id": "34673e4d.5f2892",
1876         "type": "set",
1877         "name": "set network-level-oper-status",
1878         "xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n",
1879         "comments": "",
1880         "x": 544.7866706848145,
1881         "y": 1191.9571886062622,
1882         "z": "b2ff82f0.56033",
1883         "wires": []
1884     },
1885     {
1886         "id": "8cdfa6fc.6f3bc8",
1887         "type": "set",
1888         "name": "set object-path",
1889         "xml": "<set>\n<parameter name='network-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/networks/network/'\n + $networkId\n + '/network-data/network-topology/'` \" />\n \n",
1890         "comments": "",
1891         "x": 502.5009765625,
1892         "y": 1146.528715133667,
1893         "z": "b2ff82f0.56033",
1894         "wires": []
1895     },
1896     {
1897         "id": "e2dc53b9.ec394",
1898         "type": "set",
1899         "name": "set networkId",
1900         "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
1901         "comments": "",
1902         "x": 496.7866096496582,
1903         "y": 1109.385823249817,
1904         "z": "b2ff82f0.56033",
1905         "wires": []
1906     },
1907     {
1908         "id": "a3ec8288.4b45b",
1909         "type": "other",
1910         "name": "reoptimize",
1911         "xml": "<outcome value='reoptimize'>\n",
1912         "comments": "",
1913         "outputs": 1,
1914         "x": 693,
1915         "y": 1034,
1916         "z": "b2ff82f0.56033",
1917         "wires": [
1918             [
1919                 "ee626a29.366388"
1920             ]
1921         ]
1922     },
1923     {
1924         "id": "ee626a29.366388",
1925         "type": "switchNode",
1926         "name": "switch request-action",
1927         "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1928         "comments": "",
1929         "outputs": 1,
1930         "x": 888,
1931         "y": 1038,
1932         "z": "b2ff82f0.56033",
1933         "wires": [
1934             [
1935                 "5c17b026.118b2"
1936             ]
1937         ]
1938     },
1939     {
1940         "id": "5c17b026.118b2",
1941         "type": "outcome",
1942         "name": "ReoptimizeSOTNInstance",
1943         "xml": "<outcome value='ReoptimizeSOTNInstance'>",
1944         "comments": "",
1945         "outputs": 1,
1946         "x": 1540,
1947         "y": 1781,
1948         "z": "b2ff82f0.56033",
1949         "wires": [
1950             [
1951                 "674f0e13.78aad"
1952             ]
1953         ]
1954     },
1955     {
1956         "id": "674f0e13.78aad",
1957         "type": "call",
1958         "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-reoptimize",
1959         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-reoptimize' mode='sync' >\n",
1960         "comments": "",
1961         "outputs": 1,
1962         "x": 1955,
1963         "y": 1779,
1964         "z": "b2ff82f0.56033",
1965         "wires": [
1966             []
1967         ]
1968     }
1969 ]