3 "id": "5b66f619.481ca8",
8 "y": 87.41365623474121,
9 "z": "a7f7f582.4f3378",
17 "id": "9093334f.03cc8",
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": 216.11902618408203,
26 "y": 127.65176963806152,
27 "z": "a7f7f582.4f3378",
35 "id": "46eaf795.4ef9e8",
37 "name": "method port-mirror-topology-operation-activate-async",
38 "xml": "<method rpc='port-mirror-topology-operation-activate-async' mode='sync'>\n",
41 "x": 237.78578186035156,
42 "y": 168.84222412109375,
43 "z": "a7f7f582.4f3378",
51 "id": "5ade5695.4e98b8",
53 "name": "port-mirror-topology-operation-activate-async",
56 "x": 496.84485626220703,
58 "z": "a7f7f582.4f3378",
62 "id": "9dfceaea.eb6098",
63 "type": "returnSuccess",
64 "name": "return success",
65 "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n",
67 "x": 426.19053649902344,
68 "y": 1876.2829875946045,
69 "z": "a7f7f582.4f3378",
73 "id": "4baa79f1.773a78",
75 "name": "block : atomic",
76 "xml": "<block atomic=\"true\">",
79 "x": 130.11906051635742,
80 "y": 919.7945442199707,
81 "z": "a7f7f582.4f3378",
102 "id": "9d7c2f24.883c3",
104 "name": "set tmp variables",
105 "xml": "<set>\n<parameter name='tmp.configuration-id' value='`$port-mirror-topology-operation-input.configuration-information.configuration-id`' />\n\n\n",
107 "x": 438.4523506164551,
108 "y": 258.12796211242676,
109 "z": "a7f7f582.4f3378",
113 "id": "c318a2df.7e96a",
115 "name": "set port-mirror-configuration data from input",
116 "xml": "<set>\n<parameter name='pm.configuration-data.configuration-operation-information.sdnc-request-header.'\n value='`$port-mirror-topology-operation-input.sdnc-request-header.`' />\n",
118 "x": 517.2619323730469,
119 "y": 593.3659725189209,
120 "z": "a7f7f582.4f3378",
124 "id": "1a03c81f.4db2c8",
126 "name": "execute RestApiCallNode - PUT port-mirror-configuration",
127 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.portmirrorconfig.templatefile`\" />\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='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-pmc\" />\n",
130 "x": 559.9405288696289,
131 "y": 1737.2946586608887,
132 "z": "a7f7f582.4f3378",
142 "id": "20309f96.3358a",
144 "name": "execute readProperties",
145 "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",
148 "x": 457.7381057739258,
149 "y": 306.2231864929199,
150 "z": "a7f7f582.4f3378",
156 "id": "1c40385c.325dd8",
158 "name": "generate port-mirror-configuration url",
159 "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",
162 "x": 499.40484619140625,
163 "y": 354.37803649902344,
164 "z": "a7f7f582.4f3378",
170 "id": "669414b9.13962c",
172 "name": "rpc-port-mirror 1070",
175 "x": 427.0238342285156,
176 "y": 690.508918762207,
177 "z": "a7f7f582.4f3378",
181 "id": "518cb61a.5d7d28",
183 "name": "step 4 - for each source port:",
186 "x": 477.0238800048828,
187 "y": 845.2708034515381,
188 "z": "a7f7f582.4f3378",
192 "id": "36ffd2a4.3fef6e",
194 "name": "1. turn on packet mirroring in contrail (see input parameters spreadsheet)",
197 "x": 822.7381591796875,
198 "y": 938.127875328064,
199 "z": "a7f7f582.4f3378",
203 "id": "3743c99d.19d286",
205 "name": "2. set is-port-mirrored in A&AI (aai-port-mirror-1040) ",
208 "x": 625.8334121704102,
209 "y": 1294.0804176330566,
210 "z": "a7f7f582.4f3378",
214 "id": "84422f16.c64f1",
216 "name": "step 5 - update configuration object (aai-port-mirror-1070)",
219 "x": 560.3573226928711,
220 "y": 1421.4613437652588,
221 "z": "a7f7f582.4f3378",
225 "id": "1e115862.718808",
227 "name": "step 6 - update oper status",
230 "x": 554.642936706543,
231 "y": 1591.4613199234009,
232 "z": "a7f7f582.4f3378",
236 "id": "cf922003.19ed6",
238 "name": "set oper-status",
239 "xml": "<set>\n<parameter name='pm.configuration-data.configuration-oper-status.order-status'\n value='Active' />\n<parameter name='pm.configuration-data.configuration-oper-status.last-action'\n value='`$port-mirror-topology-operation-input.request-information.request-action`' />\n<parameter name='pm.configuration-data.configuration-oper-status.last-rpc-action'\n value='`$port-mirror-topology-operation-input.sdnc-request-header.svc-action`' />\n",
241 "x": 431.07147216796875,
242 "y": 1635.747018814087,
243 "z": "a7f7f582.4f3378",
247 "id": "b5f3f5f0.9a29c8",
248 "type": "returnFailure",
249 "name": "return failure",
250 "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-message'`\" />\n",
252 "x": 1636.3096771240234,
253 "y": 2031.9372997283936,
254 "z": "a7f7f582.4f3378",
258 "id": "a94cb68e.ce8ec8",
260 "name": "send error to MSO",
261 "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$port-mirror-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"500\" />\n<parameter name=\"input.response-message\" value=\"`$error-message`\" />\n<parameter name=\"input.svc-request-id\" value=\"`$port-mirror-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$port-mirror-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$port-mirror-topology-operation-input.service-information.service-instance-id`\" />\n",
264 "x": 1654.001766204834,
265 "y": 1985.4032258987427,
266 "z": "a7f7f582.4f3378",
272 "id": "cb2b8a7c.9946e8",
274 "name": "block : atomic",
275 "xml": "<block atomic=\"true\">",
278 "x": 1446.3096771240234,
279 "y": 2004.7944774627686,
280 "z": "a7f7f582.4f3378",
289 "id": "c179bec7.58ec",
292 "xml": "<outcome value='not-found'>\n",
295 "x": 867.2618789672852,
296 "y": 1776.6993389129639,
297 "z": "a7f7f582.4f3378",
305 "id": "46b3d868.4e0598",
308 "xml": "<outcome value='failure'>\n",
311 "x": 859.6905136108398,
312 "y": 1735.1993589401245,
313 "z": "a7f7f582.4f3378",
321 "id": "20d19532.83d93a",
324 "xml": "<outcome value='success'>\n",
327 "x": 863.4405059814453,
328 "y": 1695.556456565857,
329 "z": "a7f7f582.4f3378",
337 "id": "43655533.51c43c",
344 "x": 1000.8107757568359,
345 "y": 1694.6057996749878,
346 "z": "a7f7f582.4f3378",
352 "id": "52a144a4.16f3bc",
354 "name": "set error-message",
355 "xml": "<set>\n<parameter name=\"error-message\" value=\"Error updating md-sal for port-mirror-configuration\" />\n",
358 "x": 1226.6801223754883,
359 "y": 1743.2721109390259,
360 "z": "a7f7f582.4f3378",
366 "id": "46404dc.0055ab4",
368 "name": "block : atomic",
369 "xml": "<block atomic=\"true\">",
372 "x": 1022.6800231933594,
373 "y": 1749.2721853256226,
374 "z": "a7f7f582.4f3378",
383 "id": "2301271e.b9e618",
385 "name": "execute RestApiCallNode - get port-mirror-configuration",
386 "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",
390 "y": 442.17554473876953,
391 "z": "a7f7f582.4f3378",
401 "id": "87629ab5.d3e158",
404 "xml": "<outcome value='success'>\n",
407 "x": 857.7959594726562,
408 "y": 398.4595613479614,
409 "z": "a7f7f582.4f3378",
417 "id": "b1aab94e.c85a18",
420 "xml": "<outcome value='failure'>\n",
423 "x": 853.9285430908203,
424 "y": 440.5088119506836,
425 "z": "a7f7f582.4f3378",
433 "id": "25dfdff8.aaf1a",
440 "x": 1009.6427993774414,
441 "y": 398.8420944213867,
442 "z": "a7f7f582.4f3378",
448 "id": "62a4327.1f6e7cc",
451 "xml": "<outcome value='not-found'>\n",
454 "x": 860.8333129882812,
455 "y": 483.8422203063965,
456 "z": "a7f7f582.4f3378",
464 "id": "907e66e7.8ae6a8",
466 "name": "block : atomic",
467 "xml": "<block atomic=\"true\">",
471 "y": 440.5088863372803,
472 "z": "a7f7f582.4f3378",
481 "id": "83c77205.8a342",
483 "name": "block : atomic",
484 "xml": "<block atomic=\"true\">",
487 "x": 1030.833251953125,
488 "y": 482.1755428314209,
489 "z": "a7f7f582.4f3378",
498 "id": "af67f274.d2307",
500 "name": "set error-message",
501 "xml": "<set>\n<parameter name=\"error-message\" value=\"Failed to read port-mirror-configuration from MD-SAL\" />\n",
505 "y": 438.8421993255615,
506 "z": "a7f7f582.4f3378",
512 "id": "36634427.23548c",
514 "name": "set error-message",
515 "xml": "<set>\n<parameter name=\"error-message\" value=\"Cannot find port-mirror-configuration in MD-SAL\" />\n",
518 "x": 1234.1666259765625,
519 "y": 483.8421993255615,
520 "z": "a7f7f582.4f3378",
526 "id": "42b72587.aeabfc",
529 "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",
531 "x": 404.16667556762695,
532 "y": 545.5088768005371,
533 "z": "a7f7f582.4f3378",
537 "id": "5f135d1f.6da3d4",
539 "name": "step 3 - call DG to apply route policy",
542 "x": 497.50000762939453,
543 "y": 737.1755886077881,
544 "z": "a7f7f582.4f3378",
548 "id": "33f08c48.ac39c4",
550 "name": "call api-contrail-route-topology-operation-activate",
551 "xml": "<call module='GENERIC-RESOURCE-API' rpc='api-contrail-route-topology-operation-activate' mode='sync' >\n\n",
554 "x": 1112.0236740112305,
555 "y": 802.8891315460205,
556 "z": "a7f7f582.4f3378",
564 "id": "409f455d.7e97cc",
567 "xml": "<outcome value='failure'>\n",
570 "x": 1403.2142181396484,
571 "y": 801.4604616165161,
572 "z": "a7f7f582.4f3378",
580 "id": "1f339ae1.7e9945",
582 "name": "set parameters",
583 "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.src-contrail-network-fqdn'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-network-fqdn`' />\n<parameter name='cto-api.collector-contrail-network-fqdn'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.dest-network-fqdn`' />\n<parameter name='cto-api.owning-entity'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.owning-entity`' />\n",
585 "x": 1007.0236892700195,
586 "y": 759.555980682373,
587 "z": "a7f7f582.4f3378",
591 "id": "cc56f026.30c05",
593 "name": "for each mapped source port",
594 "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",
598 "y": 893.1271686553955,
599 "z": "a7f7f582.4f3378",
607 "id": "d2de6b9.c85cf98",
609 "name": "block : atomic",
610 "xml": "<block atomic=\"true\">",
613 "x": 454.1664810180664,
614 "y": 1166.221978187561,
615 "z": "a7f7f582.4f3378",
625 "id": "2c2fabce.b42c34",
627 "name": "execute ContrailAdaptor to enable port mirroring",
628 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.contrail.ContrailAdaptor' method='sendContrailRequest' emitsOutcome='true' >\n<parameter name='api-name' value='port-mirroring' />\n<parameter name='api-action' value='enable' />\n<parameter name='resp-prefix' value='contrailResp' />\n<parameter name='display-name'\n value='`$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<parameter name='contrail-virtual-machine-interface-name'\n value='`$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<parameter name='contrail-virtual-machine-interface-id'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].source-port-id`' />\n<parameter name='default-domain' value='default-domain' />\n<parameter name='default-project'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.tenant`' />\n<parameter name='traffic-direction' value='both' />\n<parameter name='analyzer-ip-address'\n value='`$tmp.analyzer.ip-address`' />\n<parameter name='udp-port' value='8099' />\n<parameter name='routing-instance'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.dest-network-fqdn`' />\n<parameter name='local-preference' value='1' />\n<parameter name='cloud-region-id'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-region-id`' />\n<parameter name='cloud-owner'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-owner`' />\n\n",
631 "x": 1174.6428909301758,
632 "y": 1194.5563316345215,
633 "z": "a7f7f582.4f3378",
642 "id": "8e6a90d8.54e6d",
645 "xml": "<outcome value='failure'>\n",
648 "x": 1463.9284362792969,
649 "y": 1245.2707290649414,
650 "z": "a7f7f582.4f3378",
658 "id": "b9f3fac3.bb5568",
660 "name": "set error-message",
661 "xml": "<set>\n <parameter name=\"error-message\" value=\"`'Failed to update policy in Contrail. '+ $contrailResp.resp-code + ':' +$contrailResp.resp-message `\" />\n",
664 "x": 1796.7857818603516,
665 "y": 1245.270746231079,
666 "z": "a7f7f582.4f3378",
672 "id": "ecf4f173.580a",
674 "name": "block : atomic",
675 "xml": "<block atomic=\"true\">",
678 "x": 1609.6427917480469,
679 "y": 1245.2707290649414,
680 "z": "a7f7f582.4f3378",
689 "id": "156f04a3.ab4e6b",
690 "type": "switchNode",
691 "name": "switch ipv4-address",
692 "xml": "<switch test='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].dest-ip-addresses.ip-addresses.ipv4-address`'>\n",
695 "x": 685.1190872192383,
696 "y": 982.4136581420898,
697 "z": "a7f7f582.4f3378",
706 "id": "d44612d6.5899b",
709 "xml": "<outcome value=''>\n",
712 "x": 850.8332824707031,
713 "y": 1023.8422298431396,
714 "z": "a7f7f582.4f3378",
722 "id": "9ca91e45.69dae",
725 "xml": "<outcome value='Other'>\n",
729 "y": 980.9851217269897,
730 "z": "a7f7f582.4f3378",
738 "id": "166a986c.b15718",
740 "name": "set tmp.analyzer.ip-address",
741 "xml": "<set>\n<parameter name='tmp.analyzer.ip-address'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].dest-ip-addresses.ip-addresses.ipv4-address`' />\n",
743 "x": 1045.1191177368164,
744 "y": 979.5565509796143,
745 "z": "a7f7f582.4f3378",
749 "id": "c8d71660.7cd7f8",
750 "type": "switchNode",
751 "name": "switch ipv6-address",
752 "xml": "<switch test='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].dest-ip-addresses.ip-addresses.ipv6-address`'>\n",
755 "x": 1022.2619476318359,
756 "y": 1023.8421955108643,
757 "z": "a7f7f582.4f3378",
766 "id": "d6835a48.98f2c8",
769 "xml": "<outcome value=''>\n",
772 "x": 1183.6905364990234,
773 "y": 1066.6993732452393,
774 "z": "a7f7f582.4f3378",
782 "id": "2e56fc40.6f6d44",
785 "xml": "<outcome value='Other'>\n",
788 "x": 1186.5476837158203,
789 "y": 1023.8422651290894,
790 "z": "a7f7f582.4f3378",
798 "id": "934fa49b.ab4b48",
800 "name": "set tmp.analyzer.ip-address",
801 "xml": "<set>\n<parameter name='tmp.analyzer.ip-address'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].dest-ip-addresses.ip-addresses.ipv6-address`' />\n",
803 "x": 1377.9763717651367,
804 "y": 1022.4136943817139,
805 "z": "a7f7f582.4f3378",
809 "id": "672a9034.4db54",
810 "type": "switchNode",
811 "name": "switch vipv4-address",
812 "xml": "<switch test='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].dest-ip-addresses.ip-addresses.vipv4-address`'>\n",
815 "x": 1355.1192016601562,
816 "y": 1066.6993389129639,
817 "z": "a7f7f582.4f3378",
826 "id": "d7e38600.c720f8",
829 "xml": "<outcome value=''>\n",
832 "x": 1517.9761810302734,
833 "y": 1106.6993732452393,
834 "z": "a7f7f582.4f3378",
842 "id": "71ee4607.c8dec8",
845 "xml": "<outcome value='Other'>\n",
848 "x": 1519.40474319458,
849 "y": 1065.2709398269653,
850 "z": "a7f7f582.4f3378",
858 "id": "5973e388.4447dc",
860 "name": "set tmp.analyzer.ip-address",
861 "xml": "<set>\n<parameter name='tmp.analyzer.ip-address'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].dest-ip-addresses.ip-addresses.vipv4-address`' />\n",
863 "x": 1712.2620162963867,
864 "y": 1062.4136943817139,
865 "z": "a7f7f582.4f3378",
869 "id": "5d222c5f.7e8574",
870 "type": "switchNode",
871 "name": "switch vipv6-address",
872 "xml": "<switch test='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].dest-ip-addresses.ip-addresses.vipv6-address`'>\n",
875 "x": 1689.4048461914062,
876 "y": 1106.6993389129639,
877 "z": "a7f7f582.4f3378",
886 "id": "141ebb8.809aa45",
889 "xml": "<outcome value=''>\n",
892 "x": 1859.8810005187988,
893 "y": 1149.7947750091553,
894 "z": "a7f7f582.4f3378",
902 "id": "37537bc8.5de5c4",
905 "xml": "<outcome value='Other'>\n",
908 "x": 1857.976276397705,
909 "y": 1106.6995286941528,
910 "z": "a7f7f582.4f3378",
918 "id": "2b3161dd.2d635e",
920 "name": "set tmp.analyzer.ip-address",
921 "xml": "<set>\n<parameter name='tmp.analyzer.ip-address'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].dest-ip-addresses.ip-addresses.vipv6-address`' />\n",
923 "x": 2050.8335494995117,
924 "y": 1103.8422832489014,
925 "z": "a7f7f582.4f3378",
929 "id": "c1b0625d.b0c22",
931 "name": "set error-message",
932 "xml": "<set>\n <parameter name=\"error-message\" value=\"`'No dest addresses stored for source port ' + $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",
935 "x": 2193.6905364990234,
936 "y": 1148.1279621124268,
937 "z": "a7f7f582.4f3378",
943 "id": "ff1880e.8c26e8",
945 "name": "block : atomic",
946 "xml": "<block atomic=\"true\">",
949 "x": 2006.5475463867188,
950 "y": 1148.127944946289,
951 "z": "a7f7f582.4f3378",
960 "id": "8c26df81.34a5a",
962 "name": "update l-interface object",
963 "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"l-interface\"\n key=\"cloud-region.cloud-region-id = $pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-region-id\n AND cloud-region.cloud-owner = $pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-owner\n AND tenant.tenant-id = $pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.tenant-id\n AND vserver.vserver-id = $pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].source-vserver-id\n AND l-interface.interface-name = $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 force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"is-port-mirrored\" value=\"true\" />\n\n",
966 "x": 688.9286422729492,
967 "y": 1335.50901222229,
968 "z": "a7f7f582.4f3378",
978 "id": "2ac43ee8.92b012",
981 "xml": "<outcome value='failure'>\n",
984 "x": 909.9525451660156,
985 "y": 1336.2710342407227,
986 "z": "a7f7f582.4f3378",
994 "id": "423c6134.c60e6",
997 "xml": "<outcome value='not-found'>\n",
1000 "x": 918.5239944458008,
1001 "y": 1291.2712287902832,
1002 "z": "a7f7f582.4f3378",
1010 "id": "642dae65.a043d",
1012 "name": "block : atomic",
1013 "xml": "<block atomic=\"true\">",
1016 "x": 1087.976173400879,
1017 "y": 1311.6993608474731,
1018 "z": "a7f7f582.4f3378",
1027 "id": "a5024b1c.62a428",
1028 "type": "configure",
1029 "name": "set error-message",
1030 "xml": "<set>\n<parameter name=\"error-message\" value=\"`'Failed to update l-interface object in AAI for interface ' + $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",
1033 "x": 1284.642707824707,
1034 "y": 1310.0325956344604,
1035 "z": "a7f7f582.4f3378",
1041 "id": "2720d8dd.1d2888",
1043 "name": "update configuration object",
1044 "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=\"in-service-path\" />\n",
1047 "x": 468.4524154663086,
1048 "y": 1491.4614448547363,
1049 "z": "a7f7f582.4f3378",
1058 "id": "4a933093.ed2b5",
1061 "xml": "<outcome value='failure'>\n",
1064 "x": 672.8097343444824,
1065 "y": 1515.0807542800903,
1066 "z": "a7f7f582.4f3378",
1074 "id": "baf9eee7.66408",
1075 "type": "not-found",
1076 "name": "not-found",
1077 "xml": "<outcome value='not-found'>\n",
1080 "x": 681.3811492919922,
1081 "y": 1464.3665571212769,
1082 "z": "a7f7f582.4f3378",
1090 "id": "d1df8438.f8a798",
1092 "name": "block : atomic",
1093 "xml": "<block atomic=\"true\">",
1096 "x": 855.1190795898438,
1097 "y": 1516.4610977172852,
1098 "z": "a7f7f582.4f3378",
1107 "id": "a3982d20.86c2c",
1109 "name": "block : atomic",
1110 "xml": "<block atomic=\"true\">",
1113 "x": 855.1190567016602,
1114 "y": 1464.7947645187378,
1115 "z": "a7f7f582.4f3378",
1124 "id": "f7fc2fc5.e0c0e",
1125 "type": "configure",
1126 "name": "set error-message",
1127 "xml": "<set>\n<parameter name=\"error-message\" value=\"Failure updating configuration object in AAI\" />\n",
1130 "x": 1041.7857055664062,
1131 "y": 1516.4610977172852,
1132 "z": "a7f7f582.4f3378",
1138 "id": "f1da12be.e4fe3",
1139 "type": "configure",
1140 "name": "set error-message",
1141 "xml": "<set>\n<parameter name=\"error-message\" value=\"Unable to find configuration object in AAI\" />\n",
1144 "x": 1051.7856674194336,
1145 "y": 1463.1280298233032,
1146 "z": "a7f7f582.4f3378",
1152 "id": "9bb8036f.2b542",
1155 "xml": "<outcome value='success'>\n",
1158 "x": 1466.7856521606445,
1159 "y": 1193.1278247833252,
1160 "z": "a7f7f582.4f3378",
1168 "id": "b6bccbf6.e923e8",
1170 "name": "set contrail-set[]",
1171 "xml": "<set>\n<parameter name='contrail-set[$src-idx]' value='true' />\n",
1173 "x": 1622.4998588562012,
1174 "y": 1191.6993570327759,
1175 "z": "a7f7f582.4f3378",
1179 "id": "e4b0b593.a44888",
1182 "xml": "<outcome value='success'>\n",
1185 "x": 914.1666717529297,
1186 "y": 1378.3661165237427,
1187 "z": "a7f7f582.4f3378",
1195 "id": "9d1cdd1b.d4fd9",
1197 "name": "set l-interface-set[]",
1198 "xml": "<set>\n<parameter name='l-interface-set[$src-idx]' value='true' />\n",
1200 "x": 1077.0237274169922,
1201 "y": 1379.7948369979858,
1202 "z": "a7f7f582.4f3378",
1206 "id": "44a2f705.4029d8",
1208 "name": "for each mapped source port",
1209 "xml": "<for 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",
1212 "x": 1694.1667556762695,
1213 "y": 1875.746953010559,
1214 "z": "a7f7f582.4f3378",
1222 "id": "2ef18cf0.f0c604",
1224 "name": "block : atomic",
1225 "xml": "<block atomic=\"true\">",
1228 "x": 1927.0239334106445,
1229 "y": 1874.318242073059,
1230 "z": "a7f7f582.4f3378",
1239 "id": "f71edbf2.13f818",
1240 "type": "switchNode",
1241 "name": "switch contrail-set[] == 'true'",
1242 "xml": "<switch test=\"`$contrail-set[$src-idx] == 'true'`\">\n",
1245 "x": 2154.166961669922,
1246 "y": 1831.4612035751343,
1247 "z": "a7f7f582.4f3378",
1255 "id": "6fb5c952.c67498",
1256 "type": "switchNode",
1257 "name": "switch l-interface-set[] == 'true'",
1258 "xml": "<switch test=\"`$l-interface-set[$src-idx] == 'true'`\">\n",
1261 "x": 2155.5954666137695,
1262 "y": 1904.318242073059,
1263 "z": "a7f7f582.4f3378",
1271 "id": "17d97b45.54b115",
1273 "name": "block : atomic",
1274 "xml": "<block atomic=\"true\">",
1277 "x": 1461.309700012207,
1278 "y": 1878.604130744934,
1279 "z": "a7f7f582.4f3378",
1288 "id": "89fa86c4.b77bd8",
1290 "name": "execute ContrailAdaptor to disable port mirroring",
1291 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.contrail.ContrailAdaptor' method='sendContrailRequest' emitsOutcome='true' >\n<parameter name='api-name' value='port-mirroring' />\n<parameter name='api-action' value='disable' />\n<parameter name='resp-prefix' value='contrailResp' />\n<parameter name='display-name'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].source-port-id`' />\n<parameter name='default-domain' value='default-domain' />\n<parameter name='default-project'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.tenant`' />\n<parameter name='cloud-region-id'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-region-id`' />\n<parameter name='cloud-owner'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-owner`' />\n\n",
1294 "x": 2612.500228881836,
1295 "y": 1830.1275453567505,
1296 "z": "a7f7f582.4f3378",
1302 "id": "7096d601.0c9028",
1304 "name": "update l-interface object",
1305 "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"l-interface\"\n key=\"cloud-region.cloud-region-id = $pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-region-id\n AND cloud-region.cloud-owner = $pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-owner\n AND tenant.tenant-id = $pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.tenant-id\n AND vserver.vserver-id = $pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].source-vserver-id\n AND l-interface.interface-name = $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 force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"is-port-mirrored\" value=\"false\" />\n\n",
1308 "x": 2533.6907081604004,
1309 "y": 1903.556529045105,
1310 "z": "a7f7f582.4f3378",
1316 "id": "2e40dd2d.cbff82",
1317 "type": "outcomeTrue",
1319 "xml": "<outcome value='true'>\n",
1322 "x": 2349.1668586730957,
1323 "y": 1830.5089178085327,
1324 "z": "a7f7f582.4f3378",
1332 "id": "d5a055d6.de8358",
1333 "type": "outcomeTrue",
1335 "xml": "<outcome value='true'>\n",
1338 "x": 2350.8332595825195,
1339 "y": 1903.841923713684,
1340 "z": "a7f7f582.4f3378",
1348 "id": "76f4edeb.848074",
1349 "type": "configure",
1350 "name": "send success to MSO",
1351 "xml": "<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"__READ_FROM_PARAMETERS__\">\n<parameter name=\"notification-url\" value=\"`$port-mirror-topology-operation-input.sdnc-request-header.svc-notification-url`\" />\n<parameter name=\"input.ack-final-indicator\" value=\"Y\" />\n<parameter name=\"input.response-code\" value=\"200\" />\n<parameter name=\"input.svc-request-id\" value=\"`$port-mirror-topology-operation-input.sdnc-request-header.svc-request-id`\" />\n<parameter name=\"input.service-information.service-type\" value=\"`$port-mirror-topology-operation-input.service-information.subscription-service-type`\" />\n<parameter name=\"input.service-information.service-instance-id\" value=\"`$port-mirror-topology-operation-input.service-information.service-instance-id`\" />\n",
1354 "x": 449.16666412353516,
1355 "y": 1825.5088558197021,
1356 "z": "a7f7f582.4f3378",
1362 "id": "66b97c5c.100cc4",
1363 "type": "switchNode",
1364 "name": "switch configuration-sub-type",
1365 "xml": "<switch test='`$tmp.configuration-sub-type`'>\n",
1368 "x": 472.49999237060547,
1369 "y": 781.6666774749756,
1370 "z": "a7f7f582.4f3378",
1378 "id": "80efab22.bce288",
1381 "xml": "<outcome value='vprobe'>\n",
1384 "x": 670.4999923706055,
1385 "y": 781.6666774749756,
1386 "z": "a7f7f582.4f3378",
1394 "id": "c8f11099.9fc8f",
1396 "name": "block : atomic",
1397 "xml": "<block atomic=\"true\">",
1400 "x": 829.166618347168,
1401 "y": 781.6667079925537,
1402 "z": "a7f7f582.4f3378",
1411 "id": "4a2861ff.8c4dd",
1413 "name": "set tmp.configuration-sub-type",
1414 "xml": "<set>\n<parameter name='tmp.configuration-sub-type' value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.probe-type`' />\n",
1416 "x": 475.83333587646484,
1417 "y": 643.3333606719971,
1418 "z": "a7f7f582.4f3378",
1422 "id": "f887cdd.0a0d33",
1423 "type": "switchNode",
1424 "name": "switch configuration-sub-type",
1425 "xml": "<switch test='`$tmp.configuration-sub-type`'>\n",
1428 "x": 710.8333358764648,
1429 "y": 1221.6666021347046,
1430 "z": "a7f7f582.4f3378",
1439 "id": "67100eb7.3ecce",
1442 "xml": "<outcome value='vprobe'>\n",
1445 "x": 912.1666450500488,
1446 "y": 1194.9999055862427,
1447 "z": "a7f7f582.4f3378",
1455 "id": "d0476eef.c40b5",
1458 "xml": "<outcome value='pprobe'>\n",
1461 "x": 912.5000228881836,
1462 "y": 1244.9998540878296,
1463 "z": "a7f7f582.4f3378",
1471 "id": "4c074c9.6a81eb4",
1473 "name": "execute ContrailAdaptor to enable port mirroring",
1474 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.contrail.ContrailAdaptor' method='sendContrailRequest' emitsOutcome='true' >\n<parameter name='api-name' value='port-mirroring' />\n<parameter name='api-action' value='enable' />\n<parameter name='resp-prefix' value='contrailResp' />\n<parameter name='display-name'\n value='`$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<parameter name='contrail-virtual-machine-interface-name'\n value='`$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<parameter name='contrail-virtual-machine-interface-id'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.source-to-dest-maps.source-to-dest-map[$src-idx].source-port-id`' />\n<parameter name='default-domain' value='default-domain' />\n<parameter name='default-project'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.tenant`' />\n<parameter name='traffic-direction' value='both' />\n<parameter name='analyzer-ip-address'\n value='`$tmp.analyzer.ip-address`' />\n<parameter name='vni' value='1000' />\n<parameter name='udp-port' value='8099' />\n<parameter name='routing-instance'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.dest-network-fqdn`' />\n<parameter name='local-preference' value='1' />\n<parameter name='juniper-header' value='false' />\n<parameter name='cloud-region-id'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-region-id`' />\n<parameter name='cloud-owner'\n value='`$pm.configuration-data.port-mirror-configuration-topology.port-mirror-configuration-assignments.cloud-owner`' />\n\n",
1477 "x": 1174.1666946411133,
1478 "y": 1244.9999256134033,
1479 "z": "a7f7f582.4f3378",