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-mapping-pprobe.json
1 [
2     {
3         "id": "de11a95f.852ac8",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 106.66664123535156,
8         "y": 84.99999523162842,
9         "z": "b6bc16fc.df4e08",
10         "wires": [
11             [
12                 "a6b03503.57f968"
13             ]
14         ]
15     },
16     {
17         "id": "a6b03503.57f968",
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": 220.6190185546875,
26         "y": 125.23811626434326,
27         "z": "b6bc16fc.df4e08",
28         "wires": [
29             [
30                 "e999d03f.3a56d"
31             ]
32         ]
33     },
34     {
35         "id": "e999d03f.3a56d",
36         "type": "method",
37         "name": "method port-mirror-topology-operation-mapping-pprobe",
38         "xml": "<method rpc='port-mirror-topology-operation-mapping-pprobe' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 247.95243072509766,
42         "y": 166.42856884002686,
43         "z": "b6bc16fc.df4e08",
44         "wires": [
45             [
46                 "d54a5c4.3df72a"
47             ]
48         ]
49     },
50     {
51         "id": "9baf7ef3.09748",
52         "type": "comment",
53         "name": "port-mirror-topology-operation-mapping-pprobe",
54         "info": "",
55         "comments": "",
56         "x": 501.0114974975586,
57         "y": 32.58633899688721,
58         "z": "b6bc16fc.df4e08",
59         "wires": []
60     },
61     {
62         "id": "d54a5c4.3df72a",
63         "type": "block",
64         "name": "block : atomic",
65         "xml": "<block atomic=\"true\">",
66         "atomic": "true",
67         "outputs": 1,
68         "x": 123.33333587646484,
69         "y": 659.9999465942383,
70         "z": "b6bc16fc.df4e08",
71         "wires": [
72             [
73                 "c44a1b6c.6ee0e8",
74                 "f3a203c9.954a3",
75                 "e0b23aa2.a3c348",
76                 "b278293c.4f9588",
77                 "5b676e8b.e1385",
78                 "9c57370e.4caf68",
79                 "8cb804df.babd98",
80                 "b04d986.600fc68",
81                 "12cb160c.65893a"
82             ]
83         ]
84     },
85     {
86         "id": "c44a1b6c.6ee0e8",
87         "type": "get-resource",
88         "name": "get-resource l-interface",
89         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l-interfaces\" \n\t\tkey=\"pnf.pnf-name = $tmp.dest-pnf-name AND \n\t\t     p-interface.interface-name = $tmp.dest-p-interface AND depth='all'\"\n        pfx='aai.pnf.p-interface' local-only='false' >\n\n",
90         "comments": "",
91         "outputs": 1,
92         "x": 423.3333206176758,
93         "y": 378.3333511352539,
94         "z": "b6bc16fc.df4e08",
95         "wires": [
96             [
97                 "60c80e24.84bd3",
98                 "b6d325fc.465448"
99             ]
100         ]
101     },
102     {
103         "id": "b6d325fc.465448",
104         "type": "failure",
105         "name": "failure",
106         "xml": "<outcome value='failure'>\n",
107         "comments": "",
108         "outputs": 1,
109         "x": 637.5795135498047,
110         "y": 396.4842071533203,
111         "z": "b6bc16fc.df4e08",
112         "wires": [
113             [
114                 "224dbadd.8b3fd6"
115             ]
116         ]
117     },
118     {
119         "id": "224dbadd.8b3fd6",
120         "type": "returnFailure",
121         "name": "return failure",
122         "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=\"Error retrieving l-interfaces from AAI\" />\n",
123         "comments": "",
124         "x": 812.5794868469238,
125         "y": 396.48424339294434,
126         "z": "b6bc16fc.df4e08",
127         "wires": []
128     },
129     {
130         "id": "60c80e24.84bd3",
131         "type": "not-found",
132         "name": "not-found",
133         "xml": "<outcome value='not-found'>\n",
134         "comments": "",
135         "outputs": 1,
136         "x": 646.5081100463867,
137         "y": 354.76994037628174,
138         "z": "b6bc16fc.df4e08",
139         "wires": [
140             [
141                 "73dbd598.33544c"
142             ]
143         ]
144     },
145     {
146         "id": "73dbd598.33544c",
147         "type": "returnFailure",
148         "name": "return failure",
149         "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=\"Destination L-Interfaces are not set for the Destination PNF\" />\n",
150         "comments": "",
151         "x": 812.8573875427246,
152         "y": 354.07551765441895,
153         "z": "b6bc16fc.df4e08",
154         "wires": []
155     },
156     {
157         "id": "f3a203c9.954a3",
158         "type": "switchNode",
159         "name": "switch l-interface_length > 0",
160         "xml": "<switch test='`$aai.pnf.p-interface.l-interface_length &gt; 0`'>\n",
161         "comments": "",
162         "outputs": 1,
163         "x": 436.6666793823242,
164         "y": 445.0000305175781,
165         "z": "b6bc16fc.df4e08",
166         "wires": [
167             [
168                 "1a36b2b3.1d74ed"
169             ]
170         ]
171     },
172     {
173         "id": "1a36b2b3.1d74ed",
174         "type": "outcomeFalse",
175         "name": "false",
176         "xml": "<outcome value='false'>\n",
177         "comments": "",
178         "outputs": 1,
179         "x": 648.3333702087402,
180         "y": 443.3333435058594,
181         "z": "b6bc16fc.df4e08",
182         "wires": [
183             [
184                 "cb4e30bc.89d64"
185             ]
186         ]
187     },
188     {
189         "id": "cb4e30bc.89d64",
190         "type": "returnFailure",
191         "name": "return failure",
192         "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=\"Destination L-Interface is not set for the Destination PNF\" />\n",
193         "comments": "",
194         "x": 811.666618347168,
195         "y": 441.66665744781494,
196         "z": "b6bc16fc.df4e08",
197         "wires": []
198     },
199     {
200         "id": "e0b23aa2.a3c348",
201         "type": "for",
202         "name": "for each l-interface",
203         "xml": "<for index='idx' start='0' end='`$aai.pnf.p-interface.l-interface_length`' >\n",
204         "comments": "",
205         "outputs": 1,
206         "x": 403.3332977294922,
207         "y": 604.9999256134033,
208         "z": "b6bc16fc.df4e08",
209         "wires": [
210             [
211                 "4f93bc13.888424"
212             ]
213         ]
214     },
215     {
216         "id": "4f93bc13.888424",
217         "type": "switchNode",
218         "name": "switch ipv4-address",
219         "xml": "<switch test='`$aai.pnf.p-interface.l-interface[$idx].l3-interface-ipv4-address-list[0].l3-interface-ipv4-address`'>\n",
220         "comments": "",
221         "outputs": 1,
222         "x": 608.3333282470703,
223         "y": 605.0000076293945,
224         "z": "b6bc16fc.df4e08",
225         "wires": [
226             [
227                 "e8c160d6.30e49",
228                 "87df81a2.3bf67"
229             ]
230         ]
231     },
232     {
233         "id": "e8c160d6.30e49",
234         "type": "other",
235         "name": "NULL",
236         "xml": "<outcome value=''>\n",
237         "comments": "",
238         "outputs": 1,
239         "x": 786.6665878295898,
240         "y": 556.6665945053101,
241         "z": "b6bc16fc.df4e08",
242         "wires": [
243             [
244                 "8ccdea1a.97e9d8"
245             ]
246         ]
247     },
248     {
249         "id": "87df81a2.3bf67",
250         "type": "other",
251         "name": "other",
252         "xml": "<outcome value='Other'>\n",
253         "comments": "",
254         "outputs": 1,
255         "x": 786.238037109375,
256         "y": 675.2859592437744,
257         "z": "b6bc16fc.df4e08",
258         "wires": [
259             [
260                 "8affe25c.62539"
261             ]
262         ]
263     },
264     {
265         "id": "8ccdea1a.97e9d8",
266         "type": "switchNode",
267         "name": "switch ipv6-address",
268         "xml": "<switch test='`$aai.pnf.p-interface.l-interface[$idx].l3-interface-ipv6-address-list[0].l3-interface-ipv6-address`'>\n",
269         "comments": "",
270         "outputs": 1,
271         "x": 979.9999237060547,
272         "y": 554.999942779541,
273         "z": "b6bc16fc.df4e08",
274         "wires": [
275             [
276                 "85f2249f.93aab8",
277                 "deb53a82.0016d8"
278             ]
279         ]
280     },
281     {
282         "id": "85f2249f.93aab8",
283         "type": "other",
284         "name": "NULL",
285         "xml": "<outcome value=''>\n",
286         "comments": "",
287         "outputs": 1,
288         "x": 1153.3333358764648,
289         "y": 529.9999618530273,
290         "z": "b6bc16fc.df4e08",
291         "wires": [
292             [
293                 "50b58898.682778"
294             ]
295         ]
296     },
297     {
298         "id": "deb53a82.0016d8",
299         "type": "other",
300         "name": "other",
301         "xml": "<outcome value='Other'>\n",
302         "comments": "",
303         "outputs": 1,
304         "x": 1151.238151550293,
305         "y": 581.9526376724243,
306         "z": "b6bc16fc.df4e08",
307         "wires": [
308             [
309                 "f1c94d40.8d93d"
310             ]
311         ]
312     },
313     {
314         "id": "ee128f1d.83c73",
315         "type": "returnFailure",
316         "name": "return failure",
317         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Destination Port IP Address is not set for the Destination PNF' />\n",
318         "comments": "",
319         "x": 740.0000228881836,
320         "y": 756.6667022705078,
321         "z": "b6bc16fc.df4e08",
322         "wires": []
323     },
324     {
325         "id": "68c4a0ec.b8bfe",
326         "type": "break",
327         "name": "break",
328         "xml": "<break>\n",
329         "comments": "",
330         "x": 1106.6666946411133,
331         "y": 699.9999504089355,
332         "z": "b6bc16fc.df4e08",
333         "wires": []
334     },
335     {
336         "id": "50b58898.682778",
337         "type": "block",
338         "name": "block",
339         "xml": "<block>\n",
340         "atomic": "false",
341         "comments": "",
342         "outputs": 1,
343         "x": 1306.6666450500488,
344         "y": 528.3333024978638,
345         "z": "b6bc16fc.df4e08",
346         "wires": [
347             []
348         ]
349     },
350     {
351         "id": "b278293c.4f9588",
352         "type": "set",
353         "name": "set tmp.found-one to false",
354         "xml": "<set>\n<parameter name='tmp.found-one' value='false' />\n",
355         "comments": "",
356         "x": 428.3332977294922,
357         "y": 491.6666488647461,
358         "z": "b6bc16fc.df4e08",
359         "wires": []
360     },
361     {
362         "id": "8affe25c.62539",
363         "type": "block",
364         "name": "block : atomic",
365         "xml": "<block atomic=\"true\">",
366         "atomic": "true",
367         "outputs": 1,
368         "x": 953.333324432373,
369         "y": 676.666615486145,
370         "z": "b6bc16fc.df4e08",
371         "wires": [
372             [
373                 "98c4128d.4f2a3",
374                 "68c4a0ec.b8bfe"
375             ]
376         ]
377     },
378     {
379         "id": "98c4128d.4f2a3",
380         "type": "set",
381         "name": "set tmp.found-one to true",
382         "xml": "<set>\n<parameter name='tmp.found-one' value='true' />\n",
383         "comments": "",
384         "x": 1164.999927520752,
385         "y": 651.6666278839111,
386         "z": "b6bc16fc.df4e08",
387         "wires": []
388     },
389     {
390         "id": "a9b64a4f.527c28",
391         "type": "break",
392         "name": "break",
393         "xml": "<break>\n",
394         "comments": "",
395         "x": 1463.3333473205566,
396         "y": 601.6666526794434,
397         "z": "b6bc16fc.df4e08",
398         "wires": []
399     },
400     {
401         "id": "f1c94d40.8d93d",
402         "type": "block",
403         "name": "block : atomic",
404         "xml": "<block atomic=\"true\">",
405         "atomic": "true",
406         "outputs": 1,
407         "x": 1309.9999771118164,
408         "y": 578.3333177566528,
409         "z": "b6bc16fc.df4e08",
410         "wires": [
411             [
412                 "a8e91133.3c04",
413                 "a9b64a4f.527c28"
414             ]
415         ]
416     },
417     {
418         "id": "a8e91133.3c04",
419         "type": "set",
420         "name": "set tmp.found-one to true",
421         "xml": "<set>\n<parameter name='tmp.found-one' value='true' />\n",
422         "comments": "",
423         "x": 1521.6665802001953,
424         "y": 553.333330154419,
425         "z": "b6bc16fc.df4e08",
426         "wires": []
427     },
428     {
429         "id": "5b676e8b.e1385",
430         "type": "switchNode",
431         "name": "switch tmp.found-one",
432         "xml": "<switch test='`$tmp.found-one`'>\n",
433         "comments": "",
434         "outputs": 1,
435         "x": 406.6666717529297,
436         "y": 758.333345413208,
437         "z": "b6bc16fc.df4e08",
438         "wires": [
439             [
440                 "5a39c52e.e2842c"
441             ]
442         ]
443     },
444     {
445         "id": "5a39c52e.e2842c",
446         "type": "outcomeFalse",
447         "name": "false",
448         "xml": "<outcome value='false'>\n",
449         "comments": "",
450         "outputs": 1,
451         "x": 585,
452         "y": 756.6666469573975,
453         "z": "b6bc16fc.df4e08",
454         "wires": [
455             [
456                 "ee128f1d.83c73"
457             ]
458         ]
459     },
460     {
461         "id": "8cb804df.babd98",
462         "type": "for",
463         "name": "for each source vnfc-object",
464         "xml": "<for silentFailure='true' index='vnfc-so-idx' start='0' end='`$service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object_length`' >\n",
465         "comments": "",
466         "outputs": 1,
467         "x": 423.33326721191406,
468         "y": 854.9999198913574,
469         "z": "b6bc16fc.df4e08",
470         "wires": [
471             [
472                 "9172f540.14fc68"
473             ]
474         ]
475     },
476     {
477         "id": "9172f540.14fc68",
478         "type": "for",
479         "name": "for each source vnic",
480         "xml": "<for silentFailure='true' index='vnic-s-idx' start='0' end='`$service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$vnfc-so-idx].vnics.vnic_length`' >\n",
481         "comments": "",
482         "outputs": 1,
483         "x": 664.9999313354492,
484         "y": 854.4270343780518,
485         "z": "b6bc16fc.df4e08",
486         "wires": [
487             [
488                 "453bf3e8.000eac"
489             ]
490         ]
491     },
492     {
493         "id": "9c57370e.4caf68",
494         "type": "set",
495         "name": "set map-idx to 0",
496         "xml": "<set>\n<parameter name='map-idx' value='0' />\n",
497         "comments": "",
498         "x": 390.4284973144531,
499         "y": 808.3320236206055,
500         "z": "b6bc16fc.df4e08",
501         "wires": []
502     },
503     {
504         "id": "12cb160c.65893a",
505         "type": "set",
506         "name": "set source-to-dest-map_length",
507         "xml": "<set>\n<parameter name='pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map_length'\n  value='`$map-idx`' />\n",
508         "comments": "",
509         "x": 433.3330726623535,
510         "y": 925,
511         "z": "b6bc16fc.df4e08",
512         "wires": []
513     },
514     {
515         "id": "6c80f24a.f38ccc",
516         "type": "set",
517         "name": "set source-to-dest-map",
518         "xml": "<set>\n<parameter name='pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$map-idx].source-port-id'\n  value='`$service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$vnfc-so-idx].vnics.vnic[$vnic-s-idx].vnic-port-id`' />\n<parameter name='pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$map-idx].source-port-name'\n  value='`$service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$vnfc-so-idx].vnics.vnic[$vnic-s-idx].vnic-port-name`' />\n<parameter name='pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$map-idx].source-vserver-id'\n  value='`$service-data.vnfc-instance-groups.vnfc-instance-group[$tmp.src-vnfc-idx].vnfc-objects.vnfc-object[$vnfc-so-idx].vserver-id`' />\n\n<parameter name='pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$map-idx].dest-port-id'\n  value='`$aai.pnf.p-interface.l-interface[$idx].interface-id`' />\n<parameter name='pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$map-idx].dest-port-name'\n  value='`$aai.pnf.p-interface.l-interface[$idx].interface-name`' />\n\n<parameter name='pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$map-idx].dest-ip-addresses.ip-addresses.ipv4-address'\n  value='`$aai.pnf.p-interface.l-interface[$idx].l3-interface-ipv4-address-list[0].l3-interface-ipv4-address`' />\n<parameter name='pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$map-idx].dest-ip-addresses.ip-addresses.ipv6-address'\n  value='`$aai.pnf.p-interface.l-interface[$idx].l3-interface-ipv6-address-list[0].l3-interface-ipv6-address`' />\n",
519         "comments": "",
520         "x": 1074.9999542236328,
521         "y": 831.6666221618652,
522         "z": "b6bc16fc.df4e08",
523         "wires": []
524     },
525     {
526         "id": "bcb038b9.b6a1a8",
527         "type": "set",
528         "name": "increment map-idx",
529         "xml": "<set>\n<parameter name='map-idx' value='`$map-idx + 1`' />\n",
530         "comments": "",
531         "x": 1058.999885559082,
532         "y": 877.6667728424072,
533         "z": "b6bc16fc.df4e08",
534         "wires": []
535     },
536     {
537         "id": "b04d986.600fc68",
538         "type": "returnSuccess",
539         "name": "return success",
540         "xml": "<return status='success'>\n",
541         "comments": "",
542         "x": 383.3333549499512,
543         "y": 973.3333053588867,
544         "z": "b6bc16fc.df4e08",
545         "wires": []
546     },
547     {
548         "id": "453bf3e8.000eac",
549         "type": "block",
550         "name": "block : atomic",
551         "xml": "<block atomic=\"true\">",
552         "atomic": "true",
553         "outputs": 1,
554         "x": 863.3333129882812,
555         "y": 853.3333129882812,
556         "z": "b6bc16fc.df4e08",
557         "wires": [
558             [
559                 "6c80f24a.f38ccc",
560                 "bcb038b9.b6a1a8"
561             ]
562         ]
563     }
564 ]