Merge "Connecting SOTN sub DGs to network DG"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_network-topology-operation.json
1 [
2   {
3     "id": "22447bb.ca1b884",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 152.00390625,
8     "y": 98.41365623474121,
9     "z": "9e6cde1a.0ef11",
10     "wires": [
11       [
12         "466f0033.35cb7"
13       ]
14     ]
15   },
16   {
17     "id": "466f0033.35cb7",
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": 233.95626831054688,
26     "y": 138.6517686843872,
27     "z": "9e6cde1a.0ef11",
28     "wires": [
29       [
30         "72c0d062.bcd76"
31       ]
32     ]
33   },
34   {
35     "id": "72c0d062.bcd76",
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": 230.43253326416016,
42     "y": 178.4136505126953,
43     "z": "9e6cde1a.0ef11",
44     "wires": [
45       [
46         "eb6b1875.0a05c8"
47       ]
48     ]
49   },
50   {
51     "id": "5bad23a2.6ab6cc",
52     "type": "comment",
53     "name": " NETWORK-TOPOLOGY-OPERATION ",
54     "info": "",
55     "comments": "",
56     "x": 546.348762512207,
57     "y": 46,
58     "z": "9e6cde1a.0ef11",
59     "wires": [
60       
61     ]
62   },
63   {
64     "id": "eb6b1875.0a05c8",
65     "type": "block",
66     "name": "block : atomic",
67     "xml": "<block atomic=\"true\">",
68     "atomic": "true",
69     "outputs": 1,
70     "x": 266.0039367675781,
71     "y": 261.85713958740234,
72     "z": "9e6cde1a.0ef11",
73     "wires": [
74       [
75         "800f4458.13e0e8",
76         "69a90e48.698e4",
77         "5d15a28a.f8b28c",
78         "1c731b73.ad5485"
79       ]
80     ]
81   },
82   {
83     "id": "800f4458.13e0e8",
84     "type": "returnSuccess",
85     "name": "return success",
86     "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",
87     "comments": "",
88     "x": 496.08729553222656,
89     "y": 885.6997756958008,
90     "z": "9e6cde1a.0ef11",
91     "wires": [
92       
93     ]
94   },
95   {
96     "id": "69a90e48.698e4",
97     "type": "switchNode",
98     "name": "switch svc-action",
99     "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
100     "comments": "",
101     "outputs": 1,
102     "x": 492.7181701660156,
103     "y": 492.2708339691162,
104     "z": "9e6cde1a.0ef11",
105     "wires": [
106       [
107         "7c51d92d.ac3558",
108         "c0f563da.45066",
109         "bcd7f689.e68068",
110         "a339fa13.cef888",
111         "f32b6746.ab2ac8",
112         "65bec383.089c6c",
113         "13d33f80.29ff51"
114       ]
115     ]
116   },
117   {
118     "id": "7c51d92d.ac3558",
119     "type": "other",
120     "name": "assign",
121     "xml": "<outcome value='assign'>\n",
122     "comments": "",
123     "outputs": 1,
124     "x": 713.1943664550781,
125     "y": 268.5564842224121,
126     "z": "9e6cde1a.0ef11",
127     "wires": [
128       [
129         "9275b2f9.0f7e1"
130       ]
131     ]
132   },
133   {
134     "id": "9275b2f9.0f7e1",
135     "type": "block",
136     "name": "block : atomic",
137     "xml": "<block atomic=\"true\">",
138     "atomic": "true",
139     "outputs": 1,
140     "x": 894.4325256347656,
141     "y": 269.5566062927246,
142     "z": "9e6cde1a.0ef11",
143     "wires": [
144       [
145         "325fdcb1.4a6014"
146       ]
147     ]
148   },
149   {
150     "id": "5d15a28a.f8b28c",
151     "type": "call",
152     "name": "call GENERIC-RESOURCE-API:validate-network-input",
153     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
154     "comments": "",
155     "outputs": 1,
156     "x": 625.0039215087891,
157     "y": 204.41373252868652,
158     "z": "9e6cde1a.0ef11",
159     "wires": [
160       [
161         
162       ]
163     ]
164   },
165   {
166     "id": "325fdcb1.4a6014",
167     "type": "call",
168     "name": "call GENERIC-RESOURCE-API:network-topology-operation-assign",
169     "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n",
170     "comments": "",
171     "outputs": 1,
172     "x": 1253.7816772460938,
173     "y": 189.7470084587112,
174     "z": "9e6cde1a.0ef11",
175     "wires": [
176       [
177         
178       ]
179     ]
180   },
181   {
182     "id": "c0f563da.45066",
183     "type": "other",
184     "name": "activate",
185     "xml": "<outcome value='activate'>\n",
186     "comments": "",
187     "outputs": 1,
188     "x": 715.00390625,
189     "y": 442.4136562347412,
190     "z": "9e6cde1a.0ef11",
191     "wires": [
192       [
193         "61d3baaf.004a44"
194       ]
195     ]
196   },
197   {
198     "id": "7e513616.123088",
199     "type": "block",
200     "name": "block : atomic",
201     "xml": "<block atomic=\"true\">",
202     "atomic": "true",
203     "outputs": 1,
204     "x": 1252.2420654296875,
205     "y": 439.4138927459717,
206     "z": "9e6cde1a.0ef11",
207     "wires": [
208       [
209         "ae258a82.33a2e8",
210         "8bbc4549.c2c348"
211       ]
212     ]
213   },
214   {
215     "id": "7dc76c81.46ae84",
216     "type": "call",
217     "name": "call GENERIC-RESOURCE-API:network-topology-operation-activate",
218     "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n",
219     "comments": "",
220     "outputs": 1,
221     "x": 2297.8134765625,
222     "y": 568.2708282470703,
223     "z": "9e6cde1a.0ef11",
224     "wires": [
225       [
226         
227       ]
228     ]
229   },
230   {
231     "id": "bcd7f689.e68068",
232     "type": "other",
233     "name": "deactivate",
234     "xml": "<outcome value='deactivate'>\n",
235     "comments": "",
236     "outputs": 1,
237     "x": 704.00390625,
238     "y": 602.4136810302734,
239     "z": "9e6cde1a.0ef11",
240     "wires": [
241       [
242         "a90bb735.783aa8"
243       ]
244     ]
245   },
246   {
247     "id": "a90bb735.783aa8",
248     "type": "block",
249     "name": "block : atomic",
250     "xml": "<block atomic=\"true\">",
251     "atomic": "true",
252     "outputs": 1,
253     "x": 892.2422637939453,
254     "y": 601.4140040278435,
255     "z": "9e6cde1a.0ef11",
256     "wires": [
257       [
258         "b5b1cc7d.0a9d8"
259       ]
260     ]
261   },
262   {
263     "id": "483724bf.a7dffc",
264     "type": "call",
265     "name": "call GENERIC-RESOURCE-API:network-topology-operation-deactivate",
266     "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n",
267     "comments": "",
268     "outputs": 1,
269     "x": 2465.8691635131836,
270     "y": 853.131984368898,
271     "z": "9e6cde1a.0ef11",
272     "wires": [
273       [
274         
275       ]
276     ]
277   },
278   {
279     "id": "a339fa13.cef888",
280     "type": "other",
281     "name": "unassign",
282     "xml": "<outcome value='unassign'>\n",
283     "comments": "",
284     "outputs": 1,
285     "x": 712.00390625,
286     "y": 667.4136810302734,
287     "z": "9e6cde1a.0ef11",
288     "wires": [
289       [
290         "c4bb456b.36d518"
291       ]
292     ]
293   },
294   {
295     "id": "c4bb456b.36d518",
296     "type": "block",
297     "name": "block : atomic",
298     "xml": "<block atomic=\"true\">",
299     "atomic": "true",
300     "outputs": 1,
301     "x": 893.2420654296875,
302     "y": 668.4138031005859,
303     "z": "9e6cde1a.0ef11",
304     "wires": [
305       [
306         "ae258a82.33a2e8",
307         "b9288b8f.f7a128"
308       ]
309     ]
310   },
311   {
312     "id": "545822dc.aecafc",
313     "type": "call",
314     "name": "call GENERIC-RESOURCE-API:network-topology-operation-unassign",
315     "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n",
316     "comments": "",
317     "outputs": 1,
318     "x": 2040.618911743164,
319     "y": 890.4374882141128,
320     "z": "9e6cde1a.0ef11",
321     "wires": [
322       [
323         
324       ]
325     ]
326   },
327   {
328     "id": "f32b6746.ab2ac8",
329     "type": "other",
330     "name": "other",
331     "xml": "<outcome value='Other'>\n",
332     "comments": "",
333     "outputs": 1,
334     "x": 703.0039100646973,
335     "y": 727.4136714935303,
336     "z": "9e6cde1a.0ef11",
337     "wires": [
338       [
339         "43654f47.8db24"
340       ]
341     ]
342   },
343   {
344     "id": "43654f47.8db24",
345     "type": "returnFailure",
346     "name": "return failure",
347     "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",
348     "comments": "",
349     "x": 885.00390625,
350     "y": 726.4136810302734,
351     "z": "9e6cde1a.0ef11",
352     "wires": [
353       
354     ]
355   },
356   {
357     "id": "1c731b73.ad5485",
358     "type": "set",
359     "name": "Set final indicator to Y",
360     "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
361     "comments": "",
362     "x": 515.114990234375,
363     "y": 844.8581142425537,
364     "z": "9e6cde1a.0ef11",
365     "wires": [
366       
367     ]
368   },
369   {
370     "id": "5f07f64.621f908",
371     "type": "for",
372     "name": "for nidx..service-data.networks.network[]",
373     "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
374     "comments": "",
375     "outputs": 1,
376     "x": 2251.7342681884766,
377     "y": 478.1755828857422,
378     "z": "9e6cde1a.0ef11",
379     "wires": [
380       [
381         "bcc0c33e.bd395"
382       ]
383     ]
384   },
385   {
386     "id": "ae258a82.33a2e8",
387     "type": "switchNode",
388     "name": "switch service-data.networks.network_length",
389     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
390     "comments": "",
391     "outputs": 1,
392     "x": 1558.4483642578125,
393     "y": 437.74696350097656,
394     "z": "9e6cde1a.0ef11",
395     "wires": [
396       [
397         "a9e39ffc.d6d6e",
398         "881da1f.33e4b6"
399       ]
400     ]
401   },
402   {
403     "id": "a9e39ffc.d6d6e",
404     "type": "other",
405     "name": "outcome Null",
406     "xml": "<outcome value=''>\n",
407     "comments": "",
408     "outputs": 1,
409     "x": 1831.4484024047852,
410     "y": 436.7470283508301,
411     "z": "9e6cde1a.0ef11",
412     "wires": [
413       [
414         "77cc77c5.b2f928"
415       ]
416     ]
417   },
418   {
419     "id": "881da1f.33e4b6",
420     "type": "other",
421     "name": "other",
422     "xml": "<outcome value='Other'>\n",
423     "comments": "",
424     "outputs": 1,
425     "x": 1811.4487266540527,
426     "y": 476.74703311920166,
427     "z": "9e6cde1a.0ef11",
428     "wires": [
429       [
430         "86bde218.2b981"
431       ]
432     ]
433   },
434   {
435     "id": "bcc0c33e.bd395",
436     "type": "switchNode",
437     "name": "switch networkid found",
438     "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
439     "comments": "",
440     "outputs": 1,
441     "x": 2542.1628189086914,
442     "y": 477.42566680908203,
443     "z": "9e6cde1a.0ef11",
444     "wires": [
445       [
446         "7c46a173.c9d7a"
447       ]
448     ]
449   },
450   {
451     "id": "7c46a173.c9d7a",
452     "type": "outcomeTrue",
453     "name": "true",
454     "xml": "<outcome value='true'>\n",
455     "comments": "",
456     "outputs": 1,
457     "x": 2731.1151733398438,
458     "y": 478.3184051513672,
459     "z": "9e6cde1a.0ef11",
460     "wires": [
461       [
462         "82887486.a7b018"
463       ]
464     ]
465   },
466   {
467     "id": "82887486.a7b018",
468     "type": "set",
469     "name": "set tmp.nidx and ctx.network-data",
470     "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
471     "comments": "",
472     "x": 2964.646942138672,
473     "y": 477.0684127807617,
474     "z": "9e6cde1a.0ef11",
475     "wires": [
476       
477     ]
478   },
479   {
480     "id": "a24ee0c5.d21c5",
481     "type": "comment",
482     "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
483     "info": "",
484     "comments": "",
485     "x": 1504.559700012207,
486     "y": 401.74702501296997,
487     "z": "9e6cde1a.0ef11",
488     "wires": [
489       
490     ]
491   },
492   {
493     "id": "5e45bf.f8a18a4",
494     "type": "comment",
495     "name": "service-data  will not be stored until we have a network-id",
496     "info": "",
497     "comments": "",
498     "x": 1221.4483032226562,
499     "y": 157.96923746261746,
500     "z": "9e6cde1a.0ef11",
501     "wires": [
502       
503     ]
504   },
505   {
506     "id": "77cc77c5.b2f928",
507     "type": "returnFailure",
508     "name": "return failure",
509     "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",
510     "comments": "",
511     "x": 1993.2258605957031,
512     "y": 437.63597106933594,
513     "z": "9e6cde1a.0ef11",
514     "wires": [
515       
516     ]
517   },
518   {
519     "id": "86bde218.2b981",
520     "type": "block",
521     "name": "block : atomic",
522     "xml": "<block atomic=\"true\">",
523     "atomic": "true",
524     "outputs": 1,
525     "x": 1949.7182998657227,
526     "y": 477.301570892334,
527     "z": "9e6cde1a.0ef11",
528     "wires": [
529       [
530         "5f07f64.621f908",
531         "385983c7.9f2b7c"
532       ]
533     ]
534   },
535   {
536     "id": "385983c7.9f2b7c",
537     "type": "switchNode",
538     "name": "switch tmp.nidx ",
539     "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
540     "comments": "",
541     "outputs": 1,
542     "x": 2170.0356979370117,
543     "y": 520.1587896347046,
544     "z": "9e6cde1a.0ef11",
545     "wires": [
546       [
547         "f85ca643.8fb898"
548       ]
549     ]
550   },
551   {
552     "id": "cdb52735.90dc68",
553     "type": "returnFailure",
554     "name": "return failure",
555     "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",
556     "comments": "",
557     "x": 2522.892681121826,
558     "y": 515.8730316162109,
559     "z": "9e6cde1a.0ef11",
560     "wires": [
561       
562     ]
563   },
564   {
565     "id": "f85ca643.8fb898",
566     "type": "outcome",
567     "name": "NULL",
568     "xml": "<outcome value=''>\n",
569     "comments": "",
570     "outputs": 1,
571     "x": 2341.4642333984375,
572     "y": 518.7301750183105,
573     "z": "9e6cde1a.0ef11",
574     "wires": [
575       [
576         "cdb52735.90dc68"
577       ]
578     ]
579   },
580   {
581     "id": "8bbc4549.c2c348",
582     "type": "switchNode",
583     "name": "switch network-level-oper-status",
584     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
585     "comments": "",
586     "outputs": 1,
587     "x": 1510.7817077636719,
588     "y": 568.2222290039062,
589     "z": "9e6cde1a.0ef11",
590     "wires": [
591       [
592         "6e122dc8.532934",
593         "22b32187.96be8e"
594       ]
595     ]
596   },
597   {
598     "id": "6e122dc8.532934",
599     "type": "outcome",
600     "name": "outcome PendingCreate",
601     "xml": "<outcome value='PendingCreate'>\n",
602     "comments": "",
603     "outputs": 1,
604     "x": 1875.7816874186192,
605     "y": 568.2222137451171,
606     "z": "9e6cde1a.0ef11",
607     "wires": [
608       [
609         "7dc76c81.46ae84"
610       ]
611     ]
612   },
613   {
614     "id": "22b32187.96be8e",
615     "type": "other",
616     "name": "other",
617     "xml": "<outcome value='Other'>\n",
618     "comments": "",
619     "outputs": 1,
620     "x": 1825.7817344665527,
621     "y": 608.2222442626953,
622     "z": "9e6cde1a.0ef11",
623     "wires": [
624       [
625         "c7f8345d.b6f678"
626       ]
627     ]
628   },
629   {
630     "id": "c7f8345d.b6f678",
631     "type": "returnFailure",
632     "name": "return failure",
633     "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`\" />",
634     "comments": "",
635     "x": 1995.7817344665527,
636     "y": 608.2222442626953,
637     "z": "9e6cde1a.0ef11",
638     "wires": [
639       
640     ]
641   },
642   {
643     "id": "634dd574.9447fc",
644     "type": "switchNode",
645     "name": "switch network-level-oper-status",
646     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
647     "comments": "",
648     "outputs": 1,
649     "x": 1243.7500381469727,
650     "y": 794.8403650242835,
651     "z": "9e6cde1a.0ef11",
652     "wires": [
653       [
654         "7b4cd5b5.65915c",
655         "e12f8291.e5f2d"
656       ]
657     ]
658   },
659   {
660     "id": "7b4cd5b5.65915c",
661     "type": "outcome",
662     "name": "outcome Created",
663     "xml": "<outcome value='Created'>\n",
664     "comments": "",
665     "outputs": 1,
666     "x": 1595.6388511657715,
667     "y": 789.2848469177261,
668     "z": "9e6cde1a.0ef11",
669     "wires": [
670       [
671         "8d2e1f53.0a094"
672       ]
673     ]
674   },
675   {
676     "id": "e12f8291.e5f2d",
677     "type": "other",
678     "name": "other",
679     "xml": "<outcome value='Other'>\n",
680     "comments": "",
681     "outputs": 1,
682     "x": 1565.6388511657715,
683     "y": 829.2848469177261,
684     "z": "9e6cde1a.0ef11",
685     "wires": [
686       [
687         "5b7b9e1a.0f623"
688       ]
689     ]
690   },
691   {
692     "id": "5b7b9e1a.0f623",
693     "type": "returnFailure",
694     "name": "return failure",
695     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
696     "comments": "",
697     "x": 1731.6388511657715,
698     "y": 831.2848469177261,
699     "z": "9e6cde1a.0ef11",
700     "wires": [
701       
702     ]
703   },
704   {
705     "id": "b9288b8f.f7a128",
706     "type": "switchNode",
707     "name": "switch network-level-oper-status",
708     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
709     "comments": "",
710     "outputs": 1,
711     "x": 1247.4402923583984,
712     "y": 892.0416904846206,
713     "z": "9e6cde1a.0ef11",
714     "wires": [
715       [
716         "83977ad2.652058",
717         "4164bd1d.d21fe4",
718         "9708ceab.b495d"
719       ]
720     ]
721   },
722   {
723     "id": "83977ad2.652058",
724     "type": "outcome",
725     "name": "outcome PendingCreate",
726     "xml": "<outcome value='PendingCreate'>\n",
727     "comments": "",
728     "outputs": 1,
729     "x": 1607.4402618408203,
730     "y": 892.0417210021988,
731     "z": "9e6cde1a.0ef11",
732     "wires": [
733       [
734         "545822dc.aecafc"
735       ]
736     ]
737   },
738   {
739     "id": "4164bd1d.d21fe4",
740     "type": "other",
741     "name": "other",
742     "xml": "<outcome value='Other'>\n",
743     "comments": "",
744     "outputs": 1,
745     "x": 1564.440200805664,
746     "y": 976.0417362609878,
747     "z": "9e6cde1a.0ef11",
748     "wires": [
749       [
750         "73868aa3.1c8774"
751       ]
752     ]
753   },
754   {
755     "id": "73868aa3.1c8774",
756     "type": "returnFailure",
757     "name": "return failure",
758     "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`\" />",
759     "comments": "",
760     "x": 1755.7736206054688,
761     "y": 974.7083650985733,
762     "z": "9e6cde1a.0ef11",
763     "wires": [
764       
765     ]
766   },
767   {
768     "id": "9708ceab.b495d",
769     "type": "outcome",
770     "name": "outcome PendingDelete",
771     "xml": "<outcome value='PendingDelete'>\n",
772     "comments": "",
773     "outputs": 1,
774     "x": 1610.6704864501953,
775     "y": 929.8888889709488,
776     "z": "9e6cde1a.0ef11",
777     "wires": [
778       [
779         "545822dc.aecafc"
780       ]
781     ]
782   },
783   {
784     "id": "65bec383.089c6c",
785     "type": "other",
786     "name": "create",
787     "xml": "<outcome value='create'>\n",
788     "comments": "",
789     "outputs": 1,
790     "x": 700.4562683105469,
791     "y": 787,
792     "z": "9e6cde1a.0ef11",
793     "wires": [
794       [
795         "854868fb.692c98"
796       ]
797     ]
798   },
799   {
800     "id": "13d33f80.29ff51",
801     "type": "other",
802     "name": "delete",
803     "xml": "<outcome value='delete'>\n",
804     "comments": "",
805     "outputs": 1,
806     "x": 703.4562683105469,
807     "y": 840,
808     "z": "9e6cde1a.0ef11",
809     "wires": [
810       [
811         "eefbd503.989fd8"
812       ]
813     ]
814   },
815   {
816     "id": "509a1330.098dbc",
817     "type": "block",
818     "name": "block : atomic",
819     "xml": "<block atomic=\"true\">",
820     "atomic": "true",
821     "outputs": 1,
822     "x": 1340.567497253418,
823     "y": 1081.8888937393203,
824     "z": "9e6cde1a.0ef11",
825     "wires": [
826       [
827         "fc73b84f.5d78c8"
828       ]
829     ]
830   },
831   {
832     "id": "8263c76f.199698",
833     "type": "block",
834     "name": "block : atomic",
835     "xml": "<block atomic=\"true\">",
836     "atomic": "true",
837     "outputs": 1,
838     "x": 1314.0119552612305,
839     "y": 1236.4444319168106,
840     "z": "9e6cde1a.0ef11",
841     "wires": [
842       [
843         "bd3a896d.c04468"
844       ]
845     ]
846   },
847   {
848     "id": "fc73b84f.5d78c8",
849     "type": "call",
850     "name": "call GENERIC-RESOURCE-API:network-topology-operation-create",
851     "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-create' mode='sync' >\n",
852     "comments": "",
853     "outputs": 1,
854     "x": 1705.2339935302734,
855     "y": 1081.3335157791153,
856     "z": "9e6cde1a.0ef11",
857     "wires": [
858       [
859         
860       ]
861     ]
862   },
863   {
864     "id": "bd3a896d.c04468",
865     "type": "call",
866     "name": "call GENERIC-RESOURCE-API:network-topology-operation-delete",
867     "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n",
868     "comments": "",
869     "outputs": 1,
870     "x": 1679.0118789672852,
871     "y": 1235.4443603912368,
872     "z": "9e6cde1a.0ef11",
873     "wires": [
874       [
875         
876       ]
877     ]
878   },
879   {
880     "id": "61d3baaf.004a44",
881     "type": "switchNode",
882     "name": "switch request-action",
883     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
884     "comments": "",
885     "outputs": 1,
886     "x": 899.6551361083984,
887     "y": 422.7314224243164,
888     "z": "9e6cde1a.0ef11",
889     "wires": [
890       [
891         "a1424008.31d3d",
892         "9be2b7c3.9aa0b8",
893         "9d7d6a23.ac4a28"
894       ]
895     ]
896   },
897   {
898     "id": "a1424008.31d3d",
899     "type": "outcome",
900     "name": "ActivateDCINetworkInstance",
901     "xml": "<outcome value='ActivateDCINetworkInstance'>",
902     "comments": "",
903     "outputs": 1,
904     "x": 1141.9884033203125,
905     "y": 344.7312355041504,
906     "z": "9e6cde1a.0ef11",
907     "wires": [
908       [
909         "3098b58e.59145a"
910       ]
911     ]
912   },
913   {
914     "id": "9be2b7c3.9aa0b8",
915     "type": "outcome",
916     "name": "other",
917     "xml": "<outcome value='other'>",
918     "comments": "",
919     "outputs": 1,
920     "x": 1071.988395690918,
921     "y": 470.3979320526123,
922     "z": "9e6cde1a.0ef11",
923     "wires": [
924       [
925         "7e513616.123088"
926       ]
927     ]
928   },
929   {
930     "id": "3098b58e.59145a",
931     "type": "call",
932     "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate",
933     "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-activate' mode='sync' >\n",
934     "comments": "",
935     "outputs": 1,
936     "x": 1565.9884185791016,
937     "y": 342.3981046676636,
938     "z": "9e6cde1a.0ef11",
939     "wires": [
940       [
941         
942       ]
943     ]
944   },
945   {
946     "id": "8d2e1f53.0a094",
947     "type": "switchNode",
948     "name": "switch request-action",
949     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
950     "comments": "",
951     "outputs": 1,
952     "x": 1870.2261199951172,
953     "y": 787.4444404998794,
954     "z": "9e6cde1a.0ef11",
955     "wires": [
956       [
957         "aaaa0d61.3eb52",
958         "65bd4c29.44c284"
959       ]
960     ]
961   },
962   {
963     "id": "aaaa0d61.3eb52",
964     "type": "outcome",
965     "name": "DeActivateDCINetworkInstance",
966     "xml": "<outcome value='DeActivateDCINetworkInstance'>",
967     "comments": "",
968     "outputs": 1,
969     "x": 2140.559371948242,
970     "y": 797.4443317810073,
971     "z": "9e6cde1a.0ef11",
972     "wires": [
973       [
974         "db97de83.50799"
975       ]
976     ]
977   },
978   {
979     "id": "db97de83.50799",
980     "type": "call",
981     "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate",
982     "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-deactivate' mode='sync' >\n",
983     "comments": "",
984     "outputs": 1,
985     "x": 2615.5595932006836,
986     "y": 796.1111499229446,
987     "z": "9e6cde1a.0ef11",
988     "wires": [
989       [
990         
991       ]
992     ]
993   },
994   {
995     "id": "65bd4c29.44c284",
996     "type": "other",
997     "name": "other",
998     "xml": "<outcome value='Other'>\n",
999     "comments": "",
1000     "outputs": 1,
1001     "x": 2063.2262115478516,
1002     "y": 855.4444824615493,
1003     "z": "9e6cde1a.0ef11",
1004     "wires": [
1005       [
1006         "483724bf.a7dffc"
1007       ]
1008     ]
1009   },
1010   {
1011     "id": "9d7d6a23.ac4a28",
1012     "type": "outcome",
1013     "name": "ActivateSOTNConnectivityInstance",
1014     "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
1015     "comments": "",
1016     "outputs": 1,
1017     "x": 1141.2261047363281,
1018     "y": 276.3202238082886,
1019     "z": "9e6cde1a.0ef11",
1020     "wires": [
1021       [
1022         "a046f39e.31874"
1023       ]
1024     ]
1025   },
1026   {
1027     "id": "a046f39e.31874",
1028     "type": "call",
1029     "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-activate",
1030     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-activate' mode='sync' >\n",
1031     "comments": "",
1032     "outputs": 1,
1033     "x": 1566.4482612609863,
1034     "y": 272.5547663131729,
1035     "z": "9e6cde1a.0ef11",
1036     "wires": [
1037       [
1038         
1039       ]
1040     ]
1041   },
1042   {
1043     "id": "854868fb.692c98",
1044     "type": "switchNode",
1045     "name": "switch request-action",
1046     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1047     "comments": "",
1048     "outputs": 1,
1049     "x": 899.7700729370117,
1050     "y": 793.7777611175552,
1051     "z": "9e6cde1a.0ef11",
1052     "wires": [
1053       [
1054         "52fa6311.1fcbbc",
1055         "873a6681.0ace38"
1056       ]
1057     ]
1058   },
1059   {
1060     "id": "52fa6311.1fcbbc",
1061     "type": "outcome",
1062     "name": "other",
1063     "xml": "<outcome value='other'>",
1064     "comments": "",
1065     "outputs": 1,
1066     "x": 1158.7700309753418,
1067     "y": 1083.6665073791519,
1068     "z": "9e6cde1a.0ef11",
1069     "wires": [
1070       [
1071         "509a1330.098dbc"
1072       ]
1073     ]
1074   },
1075   {
1076     "id": "873a6681.0ace38",
1077     "type": "outcome",
1078     "name": "CreateSOTNConnectivityInstance",
1079     "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
1080     "comments": "",
1081     "outputs": 1,
1082     "x": 1226.4368057250977,
1083     "y": 1020.4444471755996,
1084     "z": "9e6cde1a.0ef11",
1085     "wires": [
1086       [
1087         "2beb5ff2.5f47"
1088       ]
1089     ]
1090   },
1091   {
1092     "id": "2beb5ff2.5f47",
1093     "type": "call",
1094     "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-create",
1095     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-create' mode='sync' >\n",
1096     "comments": "",
1097     "outputs": 1,
1098     "x": 1705.3256225585938,
1099     "y": 1022.6666294494644,
1100     "z": "9e6cde1a.0ef11",
1101     "wires": [
1102       [
1103         
1104       ]
1105     ]
1106   },
1107   {
1108     "id": "99f01de7.cef63",
1109     "type": "other",
1110     "name": "other",
1111     "xml": "<outcome value='Other'>\n",
1112     "comments": "",
1113     "outputs": 1,
1114     "x": 1136.1036529541016,
1115     "y": 680.913647309877,
1116     "z": "9e6cde1a.0ef11",
1117     "wires": [
1118       [
1119         "d8572f1b.9bba2"
1120       ]
1121     ]
1122   },
1123   {
1124     "id": "eefbd503.989fd8",
1125     "type": "switchNode",
1126     "name": "switch request-action",
1127     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1128     "comments": "",
1129     "outputs": 1,
1130     "x": 902.7446212768555,
1131     "y": 1002.060903207399,
1132     "z": "9e6cde1a.0ef11",
1133     "wires": [
1134       [
1135         "939da72d.b0ff98",
1136         "bda71ad3.e6fc18"
1137       ]
1138     ]
1139   },
1140   {
1141     "id": "bda71ad3.e6fc18",
1142     "type": "outcome",
1143     "name": "DeleteSOTNConnectivityInstance",
1144     "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
1145     "comments": "",
1146     "outputs": 1,
1147     "x": 1223.855857849121,
1148     "y": 1177.6164580741897,
1149     "z": "9e6cde1a.0ef11",
1150     "wires": [
1151       [
1152         "b6f5f0d5.a2a9f"
1153       ]
1154     ]
1155   },
1156   {
1157     "id": "b6f5f0d5.a2a9f",
1158     "type": "call",
1159     "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-delete",
1160     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-delete' mode='sync' >\n",
1161     "comments": "",
1162     "outputs": 1,
1163     "x": 1702.7446746826172,
1164     "y": 1179.8386403480545,
1165     "z": "9e6cde1a.0ef11",
1166     "wires": [
1167       [
1168         
1169       ]
1170     ]
1171   },
1172   {
1173     "id": "939da72d.b0ff98",
1174     "type": "outcome",
1175     "name": "other",
1176     "xml": "<outcome value='other'>",
1177     "comments": "",
1178     "outputs": 1,
1179     "x": 1156.1890830993652,
1180     "y": 1240.838518277742,
1181     "z": "9e6cde1a.0ef11",
1182     "wires": [
1183       [
1184         "8263c76f.199698"
1185       ]
1186     ]
1187   },
1188   {
1189     "id": "3a846b42.3e5f44",
1190     "type": "comment",
1191     "name": "SOTN: Activate VPN Instance",
1192     "info": "",
1193     "comments": "",
1194     "x": 1137.1890716552734,
1195     "y": 239.22145618591458,
1196     "z": "9e6cde1a.0ef11",
1197     "wires": [
1198       
1199     ]
1200   },
1201   {
1202     "id": "8bda633.fc2eba",
1203     "type": "comment",
1204     "name": "SOTN: DeActivate VPN Instance",
1205     "info": "",
1206     "comments": "",
1207     "x": 1676.0778427124023,
1208     "y": 653.6658955970779,
1209     "z": "9e6cde1a.0ef11",
1210     "wires": [
1211       
1212     ]
1213   },
1214   {
1215     "id": "249eb98b.1011c6",
1216     "type": "comment",
1217     "name": "SOTN: Create VPN Instance",
1218     "info": "",
1219     "comments": "",
1220     "x": 1234.9667892456055,
1221     "y": 985.7645775238052,
1222     "z": "9e6cde1a.0ef11",
1223     "wires": [
1224       
1225     ]
1226   },
1227   {
1228     "id": "1f1ad24f.997f4e",
1229     "type": "comment",
1230     "name": "SOTN: Delete VPN Instance",
1231     "info": "",
1232     "comments": "",
1233     "x": 1226.0778732299805,
1234     "y": 1142.1843162933365,
1235     "z": "9e6cde1a.0ef11",
1236     "wires": [
1237       
1238     ]
1239   },
1240   {
1241     "id": "b5b1cc7d.0a9d8",
1242     "type": "switchNode",
1243     "name": "switch request-action",
1244     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
1245     "comments": "",
1246     "outputs": 1,
1247     "x": 1110.8812065124512,
1248     "y": 605.9999634185806,
1249     "z": "9e6cde1a.0ef11",
1250     "wires": [
1251       [
1252         "a4048448.f587c8",
1253         "99f01de7.cef63"
1254       ]
1255     ]
1256   },
1257   {
1258     "id": "f7556427.fd2d08",
1259     "type": "call",
1260     "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-deactivate",
1261     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-deactivate' mode='sync' >\n",
1262     "comments": "",
1263     "outputs": 1,
1264     "x": 1811.0160217285156,
1265     "y": 686.5053612152115,
1266     "z": "9e6cde1a.0ef11",
1267     "wires": [
1268       [
1269         
1270       ]
1271     ]
1272   },
1273   {
1274     "id": "a4048448.f587c8",
1275     "type": "outcome",
1276     "name": "DeactivateSOTNConnectivityInstance",
1277     "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
1278     "comments": "",
1279     "outputs": 1,
1280     "x": 1385.6588706970215,
1281     "y": 608.2220562854782,
1282     "z": "9e6cde1a.0ef11",
1283     "wires": [
1284       [
1285         "f7556427.fd2d08"
1286       ]
1287     ]
1288   },
1289   {
1290     "id": "d8572f1b.9bba2",
1291     "type": "block",
1292     "name": "block : atomic",
1293     "xml": "<block atomic=\"true\">",
1294     "atomic": "true",
1295     "outputs": 1,
1296     "x": 1300.8811264038086,
1297     "y": 682.6666122833267,
1298     "z": "9e6cde1a.0ef11",
1299     "wires": [
1300       [
1301         "634dd574.9447fc",
1302         "ae258a82.33a2e8"
1303       ]
1304     ]
1305   }
1306 ]