3 "id": "de11a95f.852ac8",
7 "x": 106.66664123535156,
8 "y": 84.99999523162842,
9 "z": "b6bc16fc.df4e08",
17 "id": "a6b03503.57f968",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
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}'>",
25 "x": 220.6190185546875,
26 "y": 125.23811626434326,
27 "z": "b6bc16fc.df4e08",
35 "id": "e999d03f.3a56d",
37 "name": "method port-mirror-topology-operation-mapping-pprobe",
38 "xml": "<method rpc='port-mirror-topology-operation-mapping-pprobe' mode='sync'>\n",
41 "x": 247.95243072509766,
42 "y": 166.42856884002686,
43 "z": "b6bc16fc.df4e08",
51 "id": "9baf7ef3.09748",
53 "name": "port-mirror-topology-operation-mapping-pprobe",
56 "x": 501.0114974975586,
57 "y": 32.58633899688721,
58 "z": "b6bc16fc.df4e08",
62 "id": "d54a5c4.3df72a",
64 "name": "block : atomic",
65 "xml": "<block atomic=\"true\">",
68 "x": 123.33333587646484,
69 "y": 659.9999465942383,
70 "z": "b6bc16fc.df4e08",
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",
92 "x": 423.3333206176758,
93 "y": 378.3333511352539,
94 "z": "b6bc16fc.df4e08",
103 "id": "b6d325fc.465448",
106 "xml": "<outcome value='failure'>\n",
109 "x": 637.5795135498047,
110 "y": 396.4842071533203,
111 "z": "b6bc16fc.df4e08",
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",
124 "x": 812.5794868469238,
125 "y": 396.48424339294434,
126 "z": "b6bc16fc.df4e08",
130 "id": "60c80e24.84bd3",
133 "xml": "<outcome value='not-found'>\n",
136 "x": 646.5081100463867,
137 "y": 354.76994037628174,
138 "z": "b6bc16fc.df4e08",
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",
151 "x": 812.8573875427246,
152 "y": 354.07551765441895,
153 "z": "b6bc16fc.df4e08",
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 > 0`'>\n",
163 "x": 436.6666793823242,
164 "y": 445.0000305175781,
165 "z": "b6bc16fc.df4e08",
173 "id": "1a36b2b3.1d74ed",
174 "type": "outcomeFalse",
176 "xml": "<outcome value='false'>\n",
179 "x": 648.3333702087402,
180 "y": 443.3333435058594,
181 "z": "b6bc16fc.df4e08",
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",
194 "x": 811.666618347168,
195 "y": 441.66665744781494,
196 "z": "b6bc16fc.df4e08",
200 "id": "e0b23aa2.a3c348",
202 "name": "for each l-interface",
203 "xml": "<for index='idx' start='0' end='`$aai.pnf.p-interface.l-interface_length`' >\n",
206 "x": 403.3332977294922,
207 "y": 604.9999256134033,
208 "z": "b6bc16fc.df4e08",
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",
222 "x": 608.3333282470703,
223 "y": 605.0000076293945,
224 "z": "b6bc16fc.df4e08",
233 "id": "e8c160d6.30e49",
236 "xml": "<outcome value=''>\n",
239 "x": 786.6665878295898,
240 "y": 556.6665945053101,
241 "z": "b6bc16fc.df4e08",
249 "id": "87df81a2.3bf67",
252 "xml": "<outcome value='Other'>\n",
255 "x": 786.238037109375,
256 "y": 675.2859592437744,
257 "z": "b6bc16fc.df4e08",
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",
271 "x": 979.9999237060547,
272 "y": 554.999942779541,
273 "z": "b6bc16fc.df4e08",
282 "id": "85f2249f.93aab8",
285 "xml": "<outcome value=''>\n",
288 "x": 1153.3333358764648,
289 "y": 529.9999618530273,
290 "z": "b6bc16fc.df4e08",
298 "id": "deb53a82.0016d8",
301 "xml": "<outcome value='Other'>\n",
304 "x": 1151.238151550293,
305 "y": 581.9526376724243,
306 "z": "b6bc16fc.df4e08",
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",
319 "x": 740.0000228881836,
320 "y": 756.6667022705078,
321 "z": "b6bc16fc.df4e08",
325 "id": "68c4a0ec.b8bfe",
330 "x": 1106.6666946411133,
331 "y": 699.9999504089355,
332 "z": "b6bc16fc.df4e08",
336 "id": "50b58898.682778",
343 "x": 1306.6666450500488,
344 "y": 528.3333024978638,
345 "z": "b6bc16fc.df4e08",
351 "id": "b278293c.4f9588",
353 "name": "set tmp.found-one to false",
354 "xml": "<set>\n<parameter name='tmp.found-one' value='false' />\n",
356 "x": 428.3332977294922,
357 "y": 491.6666488647461,
358 "z": "b6bc16fc.df4e08",
362 "id": "8affe25c.62539",
364 "name": "block : atomic",
365 "xml": "<block atomic=\"true\">",
368 "x": 953.333324432373,
369 "y": 676.666615486145,
370 "z": "b6bc16fc.df4e08",
379 "id": "98c4128d.4f2a3",
381 "name": "set tmp.found-one to true",
382 "xml": "<set>\n<parameter name='tmp.found-one' value='true' />\n",
384 "x": 1164.999927520752,
385 "y": 651.6666278839111,
386 "z": "b6bc16fc.df4e08",
390 "id": "a9b64a4f.527c28",
395 "x": 1463.3333473205566,
396 "y": 601.6666526794434,
397 "z": "b6bc16fc.df4e08",
401 "id": "f1c94d40.8d93d",
403 "name": "block : atomic",
404 "xml": "<block atomic=\"true\">",
407 "x": 1309.9999771118164,
408 "y": 578.3333177566528,
409 "z": "b6bc16fc.df4e08",
418 "id": "a8e91133.3c04",
420 "name": "set tmp.found-one to true",
421 "xml": "<set>\n<parameter name='tmp.found-one' value='true' />\n",
423 "x": 1521.6665802001953,
424 "y": 553.333330154419,
425 "z": "b6bc16fc.df4e08",
429 "id": "5b676e8b.e1385",
430 "type": "switchNode",
431 "name": "switch tmp.found-one",
432 "xml": "<switch test='`$tmp.found-one`'>\n",
435 "x": 406.6666717529297,
436 "y": 758.333345413208,
437 "z": "b6bc16fc.df4e08",
445 "id": "5a39c52e.e2842c",
446 "type": "outcomeFalse",
448 "xml": "<outcome value='false'>\n",
452 "y": 756.6666469573975,
453 "z": "b6bc16fc.df4e08",
461 "id": "8cb804df.babd98",
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",
467 "x": 423.33326721191406,
468 "y": 854.9999198913574,
469 "z": "b6bc16fc.df4e08",
477 "id": "9172f540.14fc68",
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",
483 "x": 664.9999313354492,
484 "y": 854.4270343780518,
485 "z": "b6bc16fc.df4e08",
493 "id": "9c57370e.4caf68",
495 "name": "set map-idx to 0",
496 "xml": "<set>\n<parameter name='map-idx' value='0' />\n",
498 "x": 390.4284973144531,
499 "y": 808.3320236206055,
500 "z": "b6bc16fc.df4e08",
504 "id": "12cb160c.65893a",
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",
509 "x": 433.3330726623535,
511 "z": "b6bc16fc.df4e08",
515 "id": "6c80f24a.f38ccc",
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",
520 "x": 1074.9999542236328,
521 "y": 831.6666221618652,
522 "z": "b6bc16fc.df4e08",
526 "id": "bcb038b9.b6a1a8",
528 "name": "increment map-idx",
529 "xml": "<set>\n<parameter name='map-idx' value='`$map-idx + 1`' />\n",
531 "x": 1058.999885559082,
532 "y": 877.6667728424072,
533 "z": "b6bc16fc.df4e08",
537 "id": "b04d986.600fc68",
538 "type": "returnSuccess",
539 "name": "return success",
540 "xml": "<return status='success'>\n",
542 "x": 383.3333549499512,
543 "y": 973.3333053588867,
544 "z": "b6bc16fc.df4e08",
548 "id": "453bf3e8.000eac",
550 "name": "block : atomic",
551 "xml": "<block atomic=\"true\">",
554 "x": 863.3333129882812,
555 "y": 853.3333129882812,
556 "z": "b6bc16fc.df4e08",