Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_port-mirror-topology-operation-unassign.json
1 [
2     {
3         "id": "8bbb7374.4b98a",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 116,
8         "y": 90,
9         "z": "57b283d9.2c73ac",
10         "wires": [
11             [
12                 "772f4378.64823c"
13             ]
14         ]
15     },
16     {
17         "id": "772f4378.64823c",
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": 229.61902618408203,
26         "y": 130.2381134033203,
27         "z": "57b283d9.2c73ac",
28         "wires": [
29             [
30                 "58997f12.7afb3"
31             ]
32         ]
33     },
34     {
35         "id": "58997f12.7afb3",
36         "type": "method",
37         "name": "method port-mirror-topology-operation-unassign",
38         "xml": "<method rpc='port-mirror-topology-operation-unassign' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 234.09529876708984,
42         "y": 171.66666793823242,
43         "z": "57b283d9.2c73ac",
44         "wires": [
45             [
46                 "5c090ffc.79e3e"
47             ]
48         ]
49     },
50     {
51         "id": "b44412dc.e6821",
52         "type": "comment",
53         "name": "port-mirror-topology-operation-unassign",
54         "info": "",
55         "comments": "",
56         "x": 510.34485626220703,
57         "y": 37.58634376525879,
58         "z": "57b283d9.2c73ac",
59         "wires": []
60     },
61     {
62         "id": "5c090ffc.79e3e",
63         "type": "block",
64         "name": "block : atomic",
65         "xml": "<block atomic=\"true\">",
66         "atomic": "true",
67         "outputs": 1,
68         "x": 168.85714721679688,
69         "y": 687.1428813934326,
70         "z": "57b283d9.2c73ac",
71         "wires": [
72             [
73                 "a00881e6.27503",
74                 "3cd15e0b.8a9242",
75                 "c02c29b9.8c7e88",
76                 "6dad1b2d.44e274",
77                 "970129e3.7b30e8",
78                 "9bbcaeed.5bcb1",
79                 "b0105555.232da8",
80                 "af3a37ae.9c69a8",
81                 "a3b37ff7.c3c35",
82                 "fb90193b.a54318",
83                 "6cdc1207.ebd5dc",
84                 "942856b4.633be8"
85             ]
86         ]
87     },
88     {
89         "id": "a00881e6.27503",
90         "type": "returnSuccess",
91         "name": "return success",
92         "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='ack-final' value='Y' />",
93         "comments": "",
94         "x": 440.4762268066406,
95         "y": 1303.5712909698486,
96         "z": "57b283d9.2c73ac",
97         "wires": []
98     },
99     {
100         "id": "3cd15e0b.8a9242",
101         "type": "set",
102         "name": "set tmp.configuration-id",
103         "xml": "<set>\n<parameter name='tmp.configuration-id' value='`$port-mirror-topology-operation-input.configuration-information.configuration-id`' />\n<parameter name='tmp.service-instance-id' value='`$port-mirror-topology-operation-input.service-information.service-instance-id`' />\n",
104         "comments": "",
105         "x": 477.8571548461914,
106         "y": 288.57142639160156,
107         "z": "57b283d9.2c73ac",
108         "wires": []
109     },
110     {
111         "id": "c02c29b9.8c7e88",
112         "type": "execute",
113         "name": "execute readProperties",
114         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
115         "comments": "",
116         "outputs": 1,
117         "x": 478.8571472167969,
118         "y": 334.28567695617676,
119         "z": "57b283d9.2c73ac",
120         "wires": [
121             []
122         ]
123     },
124     {
125         "id": "6dad1b2d.44e274",
126         "type": "execute",
127         "name": "generate port-mirror-configuration url",
128         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.pm-configuration`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.pmc-url\"/>\n    <parameter name=\"target\" value=\"{configuration-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.configuration-id`\"/>\n",
129         "comments": "",
130         "outputs": 1,
131         "x": 518.8571548461914,
132         "y": 375.7142524719238,
133         "z": "57b283d9.2c73ac",
134         "wires": [
135             []
136         ]
137     },
138     {
139         "id": "970129e3.7b30e8",
140         "type": "execute",
141         "name": "execute RestApiCallNode - get port-mirror-configuration",
142         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.pmc-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"pm-mdsal\" />\n\n",
143         "comments": "",
144         "outputs": 1,
145         "x": 577.4286193847656,
146         "y": 440.00006103515625,
147         "z": "57b283d9.2c73ac",
148         "wires": [
149             [
150                 "3dcfdbe4.afb2f4",
151                 "8f7d6134.c5be7"
152             ]
153         ]
154     },
155     {
156         "id": "3dcfdbe4.afb2f4",
157         "type": "success",
158         "name": "success",
159         "xml": "<outcome value='success'>\n",
160         "comments": "",
161         "outputs": 1,
162         "x": 875.5817413330078,
163         "y": 410.80790996551514,
164         "z": "57b283d9.2c73ac",
165         "wires": [
166             [
167                 "75cc3cfd.cbd064"
168             ]
169         ]
170     },
171     {
172         "id": "8f7d6134.c5be7",
173         "type": "other",
174         "name": "other",
175         "xml": "<outcome value='Other'>\n",
176         "comments": "",
177         "outputs": 1,
178         "x": 873.142879486084,
179         "y": 460.00000381469727,
180         "z": "57b283d9.2c73ac",
181         "wires": [
182             [
183                 "a00d5b26.695c08"
184             ]
185         ]
186     },
187     {
188         "id": "a00d5b26.695c08",
189         "type": "returnFailure",
190         "name": "return failure",
191         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Cannot find port-mirror-configuration ' + $tmp.configuration-id`\" />\n",
192         "comments": "",
193         "x": 1387.4285583496094,
194         "y": 457.14286613464355,
195         "z": "57b283d9.2c73ac",
196         "wires": []
197     },
198     {
199         "id": "9bbcaeed.5bcb1",
200         "type": "switchNode",
201         "name": "switch order-status == 'Created'",
202         "xml": "<switch test=\"`$pm-mdsal.port-mirror-configuration[0].configuration-data.configuration-oper-status.order-status == 'Created'`\">\n",
203         "comments": "",
204         "outputs": 1,
205         "x": 503.1428909301758,
206         "y": 507.1428031921387,
207         "z": "57b283d9.2c73ac",
208         "wires": [
209             [
210                 "3c7b307b.3b6f6"
211             ]
212         ]
213     },
214     {
215         "id": "75cc3cfd.cbd064",
216         "type": "switchNode",
217         "name": "switch length == 1",
218         "xml": "<switch test='`$pm-mdsal.port-mirror-configuration_length == 1`'>\n",
219         "comments": "",
220         "outputs": 1,
221         "x": 1054.5714416503906,
222         "y": 410.000018119812,
223         "z": "57b283d9.2c73ac",
224         "wires": [
225             [
226                 "edc73da3.d8892"
227             ]
228         ]
229     },
230     {
231         "id": "edc73da3.d8892",
232         "type": "outcomeFalse",
233         "name": "false",
234         "xml": "<outcome value='false'>\n",
235         "comments": "",
236         "outputs": 1,
237         "x": 1224.5714721679688,
238         "y": 410.00000953674316,
239         "z": "57b283d9.2c73ac",
240         "wires": [
241             [
242                 "a00d5b26.695c08"
243             ]
244         ]
245     },
246     {
247         "id": "3c7b307b.3b6f6",
248         "type": "outcomeFalse",
249         "name": "false",
250         "xml": "<outcome value='false'>\n",
251         "comments": "",
252         "outputs": 1,
253         "x": 721.7143020629883,
254         "y": 507.1428909301758,
255         "z": "57b283d9.2c73ac",
256         "wires": [
257             [
258                 "8e30c079.587fb"
259             ]
260         ]
261     },
262     {
263         "id": "8e30c079.587fb",
264         "type": "returnFailure",
265         "name": "return failure",
266         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Order status is ' + $mdsal-pmc.port-mirror-configuration[0].configuration-data.configuration-oper-status.order-status + ' but must be Created'`\" />\n",
267         "comments": "",
268         "x": 883.1428909301758,
269         "y": 505.7143020629883,
270         "z": "57b283d9.2c73ac",
271         "wires": []
272     },
273     {
274         "id": "91831f7f.9b292",
275         "type": "comment",
276         "name": "rpc-port-mirror-1100",
277         "info": "",
278         "comments": "",
279         "x": 428.142822265625,
280         "y": 679.2856960296631,
281         "z": "57b283d9.2c73ac",
282         "wires": []
283     },
284     {
285         "id": "60c9f952.f4f188",
286         "type": "comment",
287         "name": "step 2 - call DG to delete route policy",
288         "info": "",
289         "comments": "",
290         "x": 509.3332977294922,
291         "y": 730.238130569458,
292         "z": "57b283d9.2c73ac",
293         "wires": []
294     },
295     {
296         "id": "fc0ac42c.952338",
297         "type": "comment",
298         "name": "step 4 - delete logical-link objects (aai-port-mirror-1080)",
299         "info": "",
300         "comments": "",
301         "x": 565.0477142333984,
302         "y": 864.5237045288086,
303         "z": "57b283d9.2c73ac",
304         "wires": []
305     },
306     {
307         "id": "7d49d03a.924b7",
308         "type": "comment",
309         "name": "step 5 - update configuration object (aai-port-mirror-1070)",
310         "info": "",
311         "comments": "",
312         "x": 569.333366394043,
313         "y": 1027.1428117752075,
314         "z": "57b283d9.2c73ac",
315         "wires": []
316     },
317     {
318         "id": "decb832b.7756e",
319         "type": "comment",
320         "name": "step 6 - remove port mirror configuration instance ",
321         "info": "",
322         "comments": "",
323         "x": 544.8094940185547,
324         "y": 1160.9523677825928,
325         "z": "57b283d9.2c73ac",
326         "wires": []
327     },
328     {
329         "id": "b0105555.232da8",
330         "type": "execute",
331         "name": "execute RestApiCallNode - get port-mirror-configuration",
332         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.pmc-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='DELETE' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-pmc\" />\n\n",
333         "comments": "",
334         "outputs": 1,
335         "x": 569.0952301025391,
336         "y": 1217.3809337615967,
337         "z": "57b283d9.2c73ac",
338         "wires": [
339             [
340                 "e5926e1f.9d417",
341                 "a0df149e.9ba658"
342             ]
343         ]
344     },
345     {
346         "id": "e5926e1f.9d417",
347         "type": "success",
348         "name": "success",
349         "xml": "<outcome value='success'>\n",
350         "comments": "",
351         "outputs": 1,
352         "x": 890.1055297851562,
353         "y": 1192.474473953247,
354         "z": "57b283d9.2c73ac",
355         "wires": [
356             [
357                 "ddd7e984.1b33f8"
358             ]
359         ]
360     },
361     {
362         "id": "a0df149e.9ba658",
363         "type": "other",
364         "name": "other",
365         "xml": "<outcome value='Other'>\n",
366         "comments": "",
367         "outputs": 1,
368         "x": 887.6666679382324,
369         "y": 1241.6665678024292,
370         "z": "57b283d9.2c73ac",
371         "wires": [
372             [
373                 "bfee39f8.3ed2a8"
374             ]
375         ]
376     },
377     {
378         "id": "bfee39f8.3ed2a8",
379         "type": "returnFailure",
380         "name": "return failure",
381         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"Failed to delete port-mirror-configuration object in MD-SAL\" />\n",
382         "comments": "",
383         "x": 1050.2856979370117,
384         "y": 1242.1427536010742,
385         "z": "57b283d9.2c73ac",
386         "wires": []
387     },
388     {
389         "id": "ddd7e984.1b33f8",
390         "type": "block",
391         "name": "block",
392         "xml": "<block>\n",
393         "atomic": "false",
394         "comments": "",
395         "outputs": 1,
396         "x": 1031.9524269104004,
397         "y": 1191.66667842865,
398         "z": "57b283d9.2c73ac",
399         "wires": [
400             []
401         ]
402     },
403     {
404         "id": "f67563da.36229",
405         "type": "call",
406         "name": "call api-contrail-route-topology-operation-delete",
407         "xml": "<call module='GENERIC-RESOURCE-API' rpc='api-contrail-route-topology-operation-delete' mode='sync' >\n\n",
408         "comments": "",
409         "outputs": 1,
410         "x": 1155.7617301940918,
411         "y": 767.3809356689453,
412         "z": "57b283d9.2c73ac",
413         "wires": [
414             [
415                 "88c7692a.dfbb88"
416             ]
417         ]
418     },
419     {
420         "id": "88c7692a.dfbb88",
421         "type": "failure",
422         "name": "failure",
423         "xml": "<outcome value='failure'>\n",
424         "comments": "",
425         "outputs": 1,
426         "x": 1419.5714073181152,
427         "y": 767.618992805481,
428         "z": "57b283d9.2c73ac",
429         "wires": [
430             [
431                 "e130765d.952908"
432             ]
433         ]
434     },
435     {
436         "id": "dd3beea5.003a",
437         "type": "set",
438         "name": "set parameters",
439         "xml": "<set>\n<parameter name='cto-api.default-domain' value='default-domain' />\n<parameter name='cto-api.default-project'\n  value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.tenant`' />\n<parameter name='cto-api.cloud-region-id'\n  value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-region-id`' />\n<parameter name='cto-api.contrail-route-allotted-resource-id'\n  value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.route-allotted-resource-id`' />\n<parameter name='cto-api.rollback-flag' value='false' />\n<parameter name='cto-api.configuration-id' value='`$tmp.configuration-id`' />\n<parameter name='cto-api.owning-entity'\n  value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.owning-entity`' />\n",
440         "comments": "",
441         "x": 1053.8571815490723,
442         "y": 717.8573741912842,
443         "z": "57b283d9.2c73ac",
444         "wires": []
445     },
446     {
447         "id": "e130765d.952908",
448         "type": "returnFailure",
449         "name": "return failure",
450         "xml": "<return status='failure'>\n",
451         "comments": "",
452         "x": 1592.6666374206543,
453         "y": 766.1904449462891,
454         "z": "57b283d9.2c73ac",
455         "wires": []
456     },
457     {
458         "id": "a3ed1438.144d08",
459         "type": "failure",
460         "name": "failure",
461         "xml": "<outcome value='failure'>\n",
462         "comments": "",
463         "outputs": 1,
464         "x": 1067.0237274169922,
465         "y": 946.3470678329468,
466         "z": "57b283d9.2c73ac",
467         "wires": [
468             [
469                 "25107429.8cfe6c"
470             ]
471         ]
472     },
473     {
474         "id": "71dc471a.140258",
475         "type": "not-found",
476         "name": "not-found",
477         "xml": "<outcome value='not-found'>\n",
478         "comments": "",
479         "outputs": 1,
480         "x": 1075.595157623291,
481         "y": 990.6327810287476,
482         "z": "57b283d9.2c73ac",
483         "wires": [
484             [
485                 "71960fd3.a6f9d"
486             ]
487         ]
488     },
489     {
490         "id": "af3a37ae.9c69a8",
491         "type": "for",
492         "name": "for each mapped source port",
493         "xml": "<for silentFailure='true' index='src-idx' start='0' end='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map_length`' >\n",
494         "comments": "",
495         "outputs": 1,
496         "x": 493.6189651489258,
497         "y": 932.3801527023315,
498         "z": "57b283d9.2c73ac",
499         "wires": [
500             [
501                 "f9221a0.27240e8"
502             ]
503         ]
504     },
505     {
506         "id": "f9221a0.27240e8",
507         "type": "block",
508         "name": "block : atomic",
509         "xml": "<block atomic=\"true\">",
510         "atomic": "true",
511         "outputs": 1,
512         "x": 714.0951461791992,
513         "y": 932.6180410385132,
514         "z": "57b283d9.2c73ac",
515         "wires": [
516             [
517                 "1b255416.32a90c",
518                 "29114eb1.e42792"
519             ]
520         ]
521     },
522     {
523         "id": "29114eb1.e42792",
524         "type": "save",
525         "name": "delete logical-link",
526         "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\" \n\tkey=\"logical-link.link-name = $tmp.link-name\" >\n",
527         "comments": "",
528         "outputs": 1,
529         "x": 902.1903915405273,
530         "y": 965.4754810333252,
531         "z": "57b283d9.2c73ac",
532         "wires": [
533             [
534                 "a3ed1438.144d08",
535                 "71dc471a.140258"
536             ]
537         ]
538     },
539     {
540         "id": "1b255416.32a90c",
541         "type": "set",
542         "name": "set tmp.link-name",
543         "xml": "<set>\n<parameter name='tmp.link-name' value=\"`'PMC_' + $tmp.configuration-id\n  + '_Source' + $pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].source-port-name\n  + '_Dest' + $pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].dest-port-name`\" />\n",
544         "comments": "",
545         "x": 905.5237846374512,
546         "y": 903.8086490631104,
547         "z": "57b283d9.2c73ac",
548         "wires": []
549     },
550     {
551         "id": "25107429.8cfe6c",
552         "type": "block",
553         "name": "block : atomic",
554         "xml": "<block atomic=\"true\">",
555         "atomic": "true",
556         "outputs": 1,
557         "x": 1235.5236892700195,
558         "y": 945.4752893447876,
559         "z": "57b283d9.2c73ac",
560         "wires": [
561             [
562                 "d47baa6a.fa3238"
563             ]
564         ]
565     },
566     {
567         "id": "d47baa6a.fa3238",
568         "type": "returnFailure",
569         "name": "return failure",
570         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to delete logical-link in AAI: ' + $tmp.link-name`\" />\n",
571         "comments": "",
572         "x": 1411.7143325805664,
573         "y": 944.7618818283081,
574         "z": "57b283d9.2c73ac",
575         "wires": []
576     },
577     {
578         "id": "a3b37ff7.c3c35",
579         "type": "save",
580         "name": "update configuration object",
581         "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n   resource=\"configuration\"\n   key=\"configuration.configuration-id = $tmp.configuration-id\"\n   force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"operational-status\" value=\"out-of-service-path\" />\n",
582         "comments": "",
583         "outputs": 1,
584         "x": 482.19054412841797,
585         "y": 1090.000015258789,
586         "z": "57b283d9.2c73ac",
587         "wires": [
588             [
589                 "6d22e53b.f9793c",
590                 "5df9b73.caf0d48"
591             ]
592         ]
593     },
594     {
595         "id": "6d22e53b.f9793c",
596         "type": "failure",
597         "name": "failure",
598         "xml": "<outcome value='failure'>\n",
599         "comments": "",
600         "outputs": 1,
601         "x": 686.5478630065918,
602         "y": 1113.619324684143,
603         "z": "57b283d9.2c73ac",
604         "wires": [
605             [
606                 "b4115912.041598"
607             ]
608         ]
609     },
610     {
611         "id": "5df9b73.caf0d48",
612         "type": "not-found",
613         "name": "not-found",
614         "xml": "<outcome value='not-found'>\n",
615         "comments": "",
616         "outputs": 1,
617         "x": 695.1192779541016,
618         "y": 1062.9051275253296,
619         "z": "57b283d9.2c73ac",
620         "wires": [
621             [
622                 "44175244.a650bc"
623             ]
624         ]
625     },
626     {
627         "id": "44175244.a650bc",
628         "type": "returnFailure",
629         "name": "return failure",
630         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"Unable to find configuration object in AAI\" />\n",
631         "comments": "",
632         "x": 855.0476608276367,
633         "y": 1062.8571319580078,
634         "z": "57b283d9.2c73ac",
635         "wires": []
636     },
637     {
638         "id": "b4115912.041598",
639         "type": "returnFailure",
640         "name": "return failure",
641         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"Failure updating configuration object in AAI\" />\n",
642         "comments": "",
643         "x": 853.6191329956055,
644         "y": 1114.285659790039,
645         "z": "57b283d9.2c73ac",
646         "wires": []
647     },
648     {
649         "id": "fb90193b.a54318",
650         "type": "set",
651         "name": "set pm",
652         "xml": "<set>\n<parameter name='pm.configuration-id' value='`$tmp.configuration-id`' />\n<parameter name='pm.configuration-data.' value='`$pm-mdsal.port-mirror-configuration[0].configuration-data.`' />\n",
653         "comments": "",
654         "x": 425.76184844970703,
655         "y": 550.9523181915283,
656         "z": "57b283d9.2c73ac",
657         "wires": []
658     },
659     {
660         "id": "71960fd3.a6f9d",
661         "type": "block",
662         "name": "block : atomic",
663         "xml": "<block atomic=\"true\">",
664         "atomic": "true",
665         "outputs": 1,
666         "x": 1239.0952529907227,
667         "y": 989.2856588363647,
668         "z": "57b283d9.2c73ac",
669         "wires": [
670             []
671         ]
672     },
673     {
674         "id": "6cdc1207.ebd5dc",
675         "type": "switchNode",
676         "name": "switch tmp.configuration-sub-type",
677         "xml": "<switch test='`$tmp.configuration-sub-type`'>\n",
678         "comments": "",
679         "outputs": 1,
680         "x": 507.6667175292969,
681         "y": 789.9999523162842,
682         "z": "57b283d9.2c73ac",
683         "wires": [
684             [
685                 "5808e94d.02aa98"
686             ]
687         ]
688     },
689     {
690         "id": "5808e94d.02aa98",
691         "type": "outcome",
692         "name": "vprobe",
693         "xml": "<outcome value='vprobe'>\n",
694         "comments": "",
695         "outputs": 1,
696         "x": 720.6667251586914,
697         "y": 789.9999370574951,
698         "z": "57b283d9.2c73ac",
699         "wires": [
700             [
701                 "2d69de80.1eff82"
702             ]
703         ]
704     },
705     {
706         "id": "2d69de80.1eff82",
707         "type": "block",
708         "name": "block : atomic",
709         "xml": "<block atomic=\"true\">",
710         "atomic": "true",
711         "outputs": 1,
712         "x": 865.9999847412109,
713         "y": 789.9999885559082,
714         "z": "57b283d9.2c73ac",
715         "wires": [
716             [
717                 "93d9487f.f05578",
718                 "dd3beea5.003a",
719                 "f67563da.36229"
720             ]
721         ]
722     },
723     {
724         "id": "93d9487f.f05578",
725         "type": "call",
726         "name": "call port-mirror-rollback-capacity-db",
727         "xml": "<call module='GENERIC-RESOURCE-API' rpc='port-mirror-rollback-capacity-db' mode='sync' >\n\n",
728         "comments": "",
729         "outputs": 1,
730         "x": 1114.333236694336,
731         "y": 851.6666440963745,
732         "z": "57b283d9.2c73ac",
733         "wires": [
734             [
735                 "ff59022f.79e16"
736             ]
737         ]
738     },
739     {
740         "id": "639e5c15.feeb14",
741         "type": "comment",
742         "name": "step 3 - undo DB capacity data",
743         "info": "",
744         "comments": "",
745         "x": 1114.3332748413086,
746         "y": 810.000036239624,
747         "z": "57b283d9.2c73ac",
748         "wires": []
749     },
750     {
751         "id": "ff59022f.79e16",
752         "type": "failure",
753         "name": "failure",
754         "xml": "<outcome value='failure'>\n",
755         "comments": "",
756         "outputs": 1,
757         "x": 1344.3333129882812,
758         "y": 849.9999876022339,
759         "z": "57b283d9.2c73ac",
760         "wires": [
761             [
762                 "64c8888e.67e758"
763             ]
764         ]
765     },
766     {
767         "id": "64c8888e.67e758",
768         "type": "returnFailure",
769         "name": "return failure",
770         "xml": "<return status='failure'>\n",
771         "comments": "",
772         "x": 1517.4285430908203,
773         "y": 848.571439743042,
774         "z": "57b283d9.2c73ac",
775         "wires": []
776     },
777     {
778         "id": "942856b4.633be8",
779         "type": "set",
780         "name": "set tmp.configuration-sub-type",
781         "xml": "<set>\n<parameter name='tmp.configuration-sub-type' value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.probe-type`' />\n",
782         "comments": "",
783         "x": 497.6666717529297,
784         "y": 596.666633605957,
785         "z": "57b283d9.2c73ac",
786         "wires": []
787     }
788 ]