3 "id": "abafb433.2b07c",
\r
9 "z": "f861838.07df98",
\r
17 "id": "8a2adf01.004b9",
\r
18 "type": "service-logic",
\r
19 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
20 "module": "GENERIC-RESOURCE-API",
\r
21 "version": "${project.version}",
\r
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}'>",
\r
26 "y": 421.00001525878906,
\r
27 "z": "f861838.07df98",
\r
35 "id": "870eb920.3a709",
\r
37 "name": "tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
\r
38 "xml": "<method rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync'>\n",
\r
41 "x": 338.0001220703125,
\r
43 "z": "f861838.07df98",
\r
51 "id": "7b12bbea.4b296c",
\r
53 "name": "execute RestApiCallNode getPath from OOF",
\r
54 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url + '?ethsrvType=' + $prop.ethsrvType`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
\r
57 "x": 820.9730834960938,
\r
58 "y": 172.99600219726562,
\r
59 "z": "f861838.07df98",
\r
68 "id": "838f6988.2e418",
\r
71 "xml": "<outcome value='success'>\n",
\r
74 "x": 1060.9732246398926,
\r
75 "y": 196.9959716796875,
\r
76 "z": "f861838.07df98",
\r
84 "id": "1cd84c7f.13b994",
\r
85 "type": "returnFailure",
\r
86 "name": "return failure",
\r
87 "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 executing OOF api\" />\n",
\r
89 "x": 1199.973258972168,
\r
90 "y": 145.99606323242188,
\r
91 "z": "f861838.07df98",
\r
95 "id": "daadcad7.8d5718",
\r
98 "xml": "<outcome value='failure'>\n",
\r
101 "x": 1059.9730110168457,
\r
102 "y": 145.99606227874756,
\r
103 "z": "f861838.07df98",
\r
111 "id": "fe1658e6.6b98a8",
\r
113 "name": "OTN tunnel path computation",
\r
114 "info": "TODO: check input parameters -- they should be\nthe source and destination of ETH node+tp.",
\r
116 "x": 792.4768829345703,
\r
117 "y": 129.00000190734863,
\r
118 "z": "f861838.07df98",
\r
122 "id": "b6d123ad.aaa61",
\r
124 "name": "for vidx..otn-oof.solutions_length[]",
\r
125 "xml": "<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >",
\r
128 "x": 811.972900390625,
\r
129 "y": 482.2457275390625,
\r
130 "z": "f861838.07df98",
\r
138 "id": "32873616.6130da",
\r
140 "name": "Loop through OTN links",
\r
143 "x": 895.4732055664062,
\r
145 "z": "f861838.07df98",
\r
149 "id": "64a6a0a3.de9e88",
\r
151 "name": "block : atomic",
\r
152 "xml": "<block atomic=\"true\">",
\r
155 "x": 916.5001220703125,
\r
156 "y": 673.2864990234375,
\r
157 "z": "f861838.07df98",
\r
167 "id": "ebe50f50.427a98",
\r
168 "type": "get-resource",
\r
169 "name": "get-resource cross-link",
\r
170 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"logical-link\" \n\t\tkey=\"logical-link.link-name = $otn-oof.link-name\"\n pfx='tmp.aai.cross-link' local-only='false' >\n\n <!--AND depth = '0'\"-->\n\n\n",
\r
173 "x": 1173.5001220703125,
\r
174 "y": 663.2864990234375,
\r
175 "z": "f861838.07df98",
\r
185 "id": "fc9654b0.26f8f8",
\r
188 "xml": "<outcome value='success'>\n",
\r
191 "x": 1375.0001220703125,
\r
192 "y": 538.2864685058594,
\r
193 "z": "f861838.07df98",
\r
201 "id": "383ad684.d27f02",
\r
202 "type": "not-found",
\r
203 "name": "not-found",
\r
204 "xml": "<outcome value='not-found'>\n",
\r
207 "x": 1411.0001220703125,
\r
208 "y": 663.2864990234375,
\r
209 "z": "f861838.07df98",
\r
217 "id": "92e0b7cd.135e8",
\r
220 "xml": "<outcome value='Other'>\n",
\r
223 "x": 1405.0001220703125,
\r
224 "y": 713.2864990234375,
\r
225 "z": "f861838.07df98",
\r
233 "id": "1ff2406e.1859a",
\r
234 "type": "returnFailure",
\r
235 "name": "return failure",
\r
236 "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=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
238 "x": 1572.0001220703125,
\r
239 "y": 652.2864990234375,
\r
240 "z": "f861838.07df98",
\r
244 "id": "a40efbb6.9e2848",
\r
245 "type": "returnFailure",
\r
246 "name": "return failure",
\r
247 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
249 "x": 1570.0001220703125,
\r
250 "y": 708.2864990234375,
\r
251 "z": "f861838.07df98",
\r
255 "id": "4cfcfa39.a67414",
\r
257 "name": "get cross-domain-link information",
\r
260 "x": 1179.5001220703125,
\r
261 "y": 612.2864990234375,
\r
262 "z": "f861838.07df98",
\r
266 "id": "c378542a.988188",
\r
268 "name": "set otn-oof.link-name and etc.",
\r
269 "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].start_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].end_node`' />",
\r
271 "x": 1163.0001220703125,
\r
272 "y": 566.2864990234375,
\r
273 "z": "f861838.07df98",
\r
277 "id": "e2aa0c83.94cd5",
\r
280 "xml": "<block>\n",
\r
284 "x": 1206.0002708435059,
\r
285 "y": 194.74145698547363,
\r
286 "z": "f861838.07df98",
\r
292 "id": "12c71cb4.bbd213",
\r
294 "name": "block : atomic",
\r
295 "xml": "<block atomic=\"true\">",
\r
298 "x": 578.9688835144043,
\r
299 "y": 440.74163722991943,
\r
300 "z": "f861838.07df98",
\r
309 "id": "eed9f90d.625c7",
\r
310 "type": "switchNode",
\r
311 "name": "test cross-domain-link role",
\r
312 "xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",
\r
315 "x": 1690.5001220703125,
\r
317 "z": "f861838.07df98",
\r
325 "id": "84eec670.e2767",
\r
327 "name": "outcome cross-domain",
\r
328 "xml": "<outcome value='cross-domain'>\n",
\r
331 "x": 1926.5001220703125,
\r
333 "z": "f861838.07df98",
\r
341 "id": "1a6d08c1.f63207",
\r
344 "xml": "<break>\n",
\r
348 "z": "f861838.07df98",
\r
352 "id": "4da26d84.4c4d14",
\r
354 "name": "block : atomic",
\r
355 "xml": "<block atomic=\"true\">",
\r
358 "x": 2129.5001220703125,
\r
360 "z": "f861838.07df98",
\r
371 "id": "d525a55b.c81c5",
\r
374 "xml": "<outcome value='success'>\n",
\r
379 "z": "f861838.07df98",
\r
387 "id": "48c96b61.49802c",
\r
388 "type": "not-found",
\r
389 "name": "not-found",
\r
390 "xml": "<outcome value='not-found'>\n",
\r
393 "x": 2603.0001220703125,
\r
395 "z": "f861838.07df98",
\r
403 "id": "27012bae.421594",
\r
406 "xml": "<outcome value='Other'>\n",
\r
409 "x": 2606.0001220703125,
\r
411 "z": "f861838.07df98",
\r
419 "id": "90a49841.e9abd",
\r
420 "type": "returnFailure",
\r
421 "name": "return failure",
\r
422 "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=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
424 "x": 2788.0001220703125,
\r
426 "z": "f861838.07df98",
\r
430 "id": "3218b6b1.58d4da",
\r
431 "type": "returnFailure",
\r
432 "name": "return failure",
\r
433 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
435 "x": 2776.0001220703125,
\r
437 "z": "f861838.07df98",
\r
441 "id": "818ff562.39e0e",
\r
443 "name": "set domain A node ttp-id",
\r
444 "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
\r
448 "z": "f861838.07df98",
\r
452 "id": "f9b5c841.bb08a",
\r
453 "type": "get-resource",
\r
454 "name": "get-resource src TTP",
\r
455 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.domain-A.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",
\r
460 "z": "f861838.07df98",
\r
468 "id": "a8ab9ca9.5f37d",
\r
471 "xml": "<outcome value='success'>\n",
\r
476 "z": "f861838.07df98",
\r
484 "id": "d07aee9c.38cf",
\r
486 "name": "tunnel-termination-point",
\r
487 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
490 "x": 3458.66845703125,
\r
491 "y": 500.48150634765625,
\r
492 "z": "f861838.07df98",
\r
500 "id": "94ee2310.15a178",
\r
502 "name": "for each relationship",
\r
503 "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",
\r
507 "y": 502.65972900390625,
\r
508 "z": "f861838.07df98",
\r
516 "id": "116f7db2.ea55a2",
\r
517 "type": "switchNode",
\r
518 "name": "switch related-to",
\r
519 "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$vidx].related-to`'>\n",
\r
523 "y": 499.65972900390625,
\r
524 "z": "f861838.07df98",
\r
532 "id": "f5a5a2ae.b150d8",
\r
534 "name": "block : atomic",
\r
535 "xml": "<block atomic=\"true\">",
\r
540 "z": "f861838.07df98",
\r
552 "id": "1f33bea3.a37e41",
\r
553 "type": "get-resource",
\r
554 "name": "get-resource dst tp",
\r
555 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n pfx='tmp.aai.dst-tp' local-only='false' >\n \n <!--AND depth = '0'\"-->\n\n\n",
\r
558 "x": 2326.5001220703125,
\r
560 "z": "f861838.07df98",
\r
570 "id": "d37211e1.0a8088",
\r
573 "xml": "<outcome value='success'>\n",
\r
578 "z": "f861838.07df98",
\r
586 "id": "51af98c.c752568",
\r
587 "type": "not-found",
\r
588 "name": "not-found",
\r
589 "xml": "<outcome value='not-found'>\n",
\r
594 "z": "f861838.07df98",
\r
602 "id": "3fe7a459.6ee934",
\r
605 "xml": "<outcome value='Other'>\n",
\r
610 "z": "f861838.07df98",
\r
618 "id": "f5945933.94bc1",
\r
619 "type": "returnFailure",
\r
620 "name": "return failure",
\r
621 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
625 "z": "f861838.07df98",
\r
629 "id": "87af46d4.1052d",
\r
630 "type": "returnFailure",
\r
631 "name": "return failure",
\r
632 "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=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
636 "z": "f861838.07df98",
\r
640 "id": "ee005d71.029a7",
\r
642 "name": "for each relationship",
\r
643 "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",
\r
647 "y": 1064.6597290039062,
\r
648 "z": "f861838.07df98",
\r
656 "id": "d2d24abe.aac6a",
\r
657 "type": "switchNode",
\r
658 "name": "switch related-to",
\r
659 "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].related-to`'>\n",
\r
663 "y": 1063.6597290039062,
\r
664 "z": "f861838.07df98",
\r
672 "id": "a3d738bb.01d098",
\r
674 "name": "block : atomic",
\r
675 "xml": "<block atomic=\"true\">",
\r
680 "z": "f861838.07df98",
\r
690 "id": "328b374b.e6dea8",
\r
692 "name": "tunnel-termination-point",
\r
693 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
696 "x": 3404.66845703125,
\r
697 "y": 1063.4815063476562,
\r
698 "z": "f861838.07df98",
\r
706 "id": "b11078d7.b3b858",
\r
708 "name": "network-resource",
\r
709 "xml": "<outcome value='network-resource'>\n",
\r
714 "z": "f861838.07df98",
\r
722 "id": "daeaf8a3.f790f8",
\r
724 "name": "block : atomic",
\r
725 "xml": "<block atomic=\"true\">",
\r
730 "z": "f861838.07df98",
\r
742 "id": "590b13b.935b9ec",
\r
744 "name": "set domain B node ttp-id",
\r
745 "xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
\r
749 "z": "f861838.07df98",
\r
753 "id": "b7482d1e.97b0b8",
\r
754 "type": "get-resource",
\r
755 "name": "get-resource dst TTP",
\r
756 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.domain-B.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",
\r
761 "z": "f861838.07df98",
\r
769 "id": "3475127.fd4c36e",
\r
772 "xml": "<outcome value='success'>\n",
\r
777 "z": "f861838.07df98",
\r
785 "id": "d76ed9f4.607e58",
\r
787 "name": "set domain B network-id",
\r
788 "xml": "<set>\n<parameter name='tmp.domain-B.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",
\r
792 "z": "f861838.07df98",
\r
796 "id": "4049d8d0.576ec8",
\r
797 "type": "get-resource",
\r
798 "name": "get-resource dst network-resource",
\r
799 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-B.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",
\r
804 "z": "f861838.07df98",
\r
812 "id": "e9f242cc.c24dd8",
\r
815 "xml": "<outcome value='success'>\n",
\r
820 "z": "f861838.07df98",
\r
828 "id": "43e26006.8bc19",
\r
830 "name": "set domain B network-id, topo-id, client-id, etc",
\r
831 "xml": "<set>\n<parameter name='domain-B.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-B.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-B.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-B.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-B.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n",
\r
835 "z": "f861838.07df98",
\r
839 "id": "424e6de2.ee50a4",
\r
842 "xml": "<block>\n",
\r
848 "z": "f861838.07df98",
\r
856 "id": "f87a46b2.f2f308",
\r
859 "xml": "<block>\n",
\r
865 "z": "f861838.07df98",
\r
873 "id": "a60f2416.5968c8",
\r
876 "xml": "<block>\n",
\r
882 "z": "f861838.07df98",
\r
890 "id": "a53fb0ab.3215e8",
\r
892 "name": "for each relationship",
\r
893 "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",
\r
898 "z": "f861838.07df98",
\r
906 "id": "128e534.d6bf2ad",
\r
907 "type": "switchNode",
\r
908 "name": "switch related-to",
\r
909 "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",
\r
914 "z": "f861838.07df98",
\r
922 "id": "11b1dca5.336a6b",
\r
924 "name": "p-interface",
\r
925 "xml": "<outcome value='p-interface'>\n",
\r
928 "x": 2655.117431640625,
\r
929 "y": 319.34027099609375,
\r
930 "z": "f861838.07df98",
\r
938 "id": "a9fc0be8.cb4e7",
\r
940 "name": "set src-ltpId",
\r
941 "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n\n\n\n",
\r
945 "z": "f861838.07df98",
\r
949 "id": "bbad66bd.203d28",
\r
952 "xml": "<break>\n",
\r
956 "z": "f861838.07df98",
\r
960 "id": "16999964.0052a7",
\r
963 "xml": "<block>\n",
\r
969 "z": "f861838.07df98",
\r
978 "id": "f4704103.56f298",
\r
980 "name": "block : atomic",
\r
981 "xml": "<block atomic=\"true\">",
\r
986 "z": "f861838.07df98",
\r
994 "id": "8e8366a6.32694",
\r
996 "name": "block : atomic",
\r
997 "xml": "<block atomic=\"true\">",
\r
1002 "z": "f861838.07df98",
\r
1010 "id": "1a72a670.f5c5ba",
\r
1011 "type": "get-resource",
\r
1012 "name": "get-resource src tp",
\r
1013 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n pfx='tmp.aai.src-tp' local-only='false' >\n \n <!--AND depth = '0'\"-->\n\n\n",
\r
1016 "x": 2372.5001220703125,
\r
1018 "z": "f861838.07df98",
\r
1022 "48c96b61.49802c",
\r
1028 "id": "fa235f06.dbc5c8",
\r
1029 "type": "get-resource",
\r
1030 "name": "get-resource src pnf",
\r
1031 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\"\n pfx='tmp.aai.src-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
1036 "z": "f861838.07df98",
\r
1040 "a32ada2.7e46ba8",
\r
1046 "id": "97e1c7ea.89c31",
\r
1047 "type": "success",
\r
1048 "name": "success",
\r
1049 "xml": "<outcome value='success'>\n",
\r
1052 "x": 3971.5001220703125,
\r
1054 "z": "f861838.07df98",
\r
1062 "id": "a32ada2.7e46ba8",
\r
1063 "type": "not-found",
\r
1064 "name": "not-found",
\r
1065 "xml": "<outcome value='not-found'>\n",
\r
1068 "x": 3963.5001220703125,
\r
1070 "z": "f861838.07df98",
\r
1078 "id": "6c014e40.0055a8",
\r
1081 "xml": "<outcome value='Other'>\n",
\r
1084 "x": 3968.5001220703125,
\r
1086 "z": "f861838.07df98",
\r
1094 "id": "72ca8bf8.aa197c",
\r
1095 "type": "returnFailure",
\r
1096 "name": "return failure",
\r
1097 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
1099 "x": 4120.5001220703125,
\r
1101 "z": "f861838.07df98",
\r
1105 "id": "e78aff2c.f74de8",
\r
1106 "type": "returnFailure",
\r
1107 "name": "return failure",
\r
1108 "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=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
1110 "x": 4131.5001220703125,
\r
1112 "z": "f861838.07df98",
\r
1116 "id": "76aa8066.8a0a68",
\r
1119 "xml": "<block>\n",
\r
1120 "atomic": "false",
\r
1123 "x": 4115.8824462890625,
\r
1124 "y": 241.65567016601562,
\r
1125 "z": "f861838.07df98",
\r
1128 "2bdb018d.2fcdb6",
\r
1134 "id": "2bdb018d.2fcdb6",
\r
1136 "name": "set domain A node-id and tpn",
\r
1137 "xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n",
\r
1141 "z": "f861838.07df98",
\r
1145 "id": "825f6c70.9f6d6",
\r
1148 "xml": "<break>\n",
\r
1152 "z": "f861838.07df98",
\r
1156 "id": "9beffd2c.502c6",
\r
1158 "name": "set domain A tunnel tp ip",
\r
1159 "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n",
\r
1163 "z": "f861838.07df98",
\r
1167 "id": "32404ee3.71aeda",
\r
1168 "type": "get-resource",
\r
1169 "name": "get-resource dst pnf",
\r
1170 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\"\n pfx='tmp.aai.dst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
1175 "z": "f861838.07df98",
\r
1178 "38443514.32f97a",
\r
1179 "3f48494d.b1e386",
\r
1185 "id": "1d72a1d4.29172e",
\r
1186 "type": "success",
\r
1187 "name": "success",
\r
1188 "xml": "<outcome value='success'>\n",
\r
1191 "x": 3968.5001220703125,
\r
1193 "z": "f861838.07df98",
\r
1201 "id": "3f48494d.b1e386",
\r
1202 "type": "not-found",
\r
1203 "name": "not-found",
\r
1204 "xml": "<outcome value='not-found'>\n",
\r
1207 "x": 3960.5001220703125,
\r
1209 "z": "f861838.07df98",
\r
1217 "id": "38443514.32f97a",
\r
1220 "xml": "<outcome value='Other'>\n",
\r
1223 "x": 3965.5001220703125,
\r
1225 "z": "f861838.07df98",
\r
1233 "id": "e3710364.81565",
\r
1236 "xml": "<block>\n",
\r
1237 "atomic": "false",
\r
1240 "x": 4112.8824462890625,
\r
1241 "y": 844.6556701660156,
\r
1242 "z": "f861838.07df98",
\r
1245 "f36692a0.716e88",
\r
1251 "id": "1d46287c.a3abe",
\r
1252 "type": "returnFailure",
\r
1253 "name": "return failure",
\r
1254 "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=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
1256 "x": 4128.5001220703125,
\r
1258 "z": "f861838.07df98",
\r
1262 "id": "cdfeb34e.901888",
\r
1263 "type": "returnFailure",
\r
1264 "name": "return failure",
\r
1265 "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
1267 "x": 4117.5001220703125,
\r
1269 "z": "f861838.07df98",
\r
1273 "id": "f36692a0.716e88",
\r
1275 "name": "set domain B node-id and tpn",
\r
1276 "xml": "<set>\n<parameter name='domain-B.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-B.tpn' value='1' />\n",
\r
1280 "z": "f861838.07df98",
\r
1284 "id": "4d91a36f.ea12e4",
\r
1287 "xml": "<break>\n",
\r
1291 "z": "f861838.07df98",
\r
1295 "id": "2782166b.894a72",
\r
1297 "name": "set domain B tunnel tp id",
\r
1298 "xml": "<set>\n<parameter name='domain-B.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n",
\r
1302 "z": "f861838.07df98",
\r
1306 "id": "93bc95bd.015218",
\r
1307 "type": "outcome",
\r
1308 "name": "network-resource",
\r
1309 "xml": "<outcome value='network-resource'>\n",
\r
1314 "z": "f861838.07df98",
\r
1322 "id": "12aa4902.54d527",
\r
1324 "name": "block : atomic",
\r
1325 "xml": "<block atomic=\"true\">",
\r
1330 "z": "f861838.07df98",
\r
1333 "e133ac15.1cfeb8",
\r
1334 "50016229.5d7aa4",
\r
1340 "id": "e133ac15.1cfeb8",
\r
1342 "name": "set domain A network-id",
\r
1343 "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`\" />\n",
\r
1347 "z": "f861838.07df98",
\r
1351 "id": "50016229.5d7aa4",
\r
1352 "type": "get-resource",
\r
1353 "name": "get-resource src network-resource",
\r
1354 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-A.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.src-network-resource' local-only='false' >\n\n\n",
\r
1359 "z": "f861838.07df98",
\r
1367 "id": "64fc1e3d.6c54a8",
\r
1368 "type": "success",
\r
1369 "name": "success",
\r
1370 "xml": "<outcome value='success'>\n",
\r
1375 "z": "f861838.07df98",
\r
1383 "id": "269c6440.2d1124",
\r
1385 "name": "set domain A network-id, topo-id, client-id, etc",
\r
1386 "xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n",
\r
1390 "z": "f861838.07df98",
\r
1394 "id": "d5b2333f.df7ba8",
\r
1396 "name": "for each relationship",
\r
1397 "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",
\r
1402 "z": "f861838.07df98",
\r
1410 "id": "4f6b55da.d022d4",
\r
1411 "type": "switchNode",
\r
1412 "name": "switch related-to",
\r
1413 "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
\r
1418 "z": "f861838.07df98",
\r
1426 "id": "9731bbf6.0aee28",
\r
1429 "xml": "<break>\n",
\r
1433 "z": "f861838.07df98",
\r
1437 "id": "2c5d340f.626864",
\r
1439 "name": "for each relationship",
\r
1440 "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",
\r
1445 "z": "f861838.07df98",
\r
1453 "id": "a0eb4786.ca84c8",
\r
1454 "type": "switchNode",
\r
1455 "name": "switch related-to",
\r
1456 "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
\r
1461 "z": "f861838.07df98",
\r
1469 "id": "6d1ae1e8.8376b8",
\r
1472 "xml": "<break>\n",
\r
1476 "z": "f861838.07df98",
\r
1480 "id": "6fa2423a.fd13dc",
\r
1481 "type": "execute",
\r
1482 "name": "execute split tp-id to get pnf-name",
\r
1483 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",
\r
1488 "z": "f861838.07df98",
\r
1491 "c37dc1f9.38a388",
\r
1497 "id": "f701d80.fcde128",
\r
1498 "type": "failure",
\r
1499 "name": "success",
\r
1500 "xml": "<outcome value='success'>\n",
\r
1505 "z": "f861838.07df98",
\r
1513 "id": "c37dc1f9.38a388",
\r
1514 "type": "failure",
\r
1515 "name": "failure",
\r
1516 "xml": "<outcome value='failure'>\n",
\r
1521 "z": "f861838.07df98",
\r
1529 "id": "72fa8a9d.201954",
\r
1531 "name": "block : atomic",
\r
1532 "xml": "<block atomic=\"true\">",
\r
1537 "z": "f861838.07df98",
\r
1545 "id": "bbea1bea.ff9688",
\r
1547 "name": "set domain-A.ltpId",
\r
1548 "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n",
\r
1552 "z": "f861838.07df98",
\r
1556 "id": "11d67749.03e0d9",
\r
1557 "type": "returnFailure",
\r
1558 "name": "return failure",
\r
1559 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
\r
1563 "z": "f861838.07df98",
\r
1567 "id": "88a4d7d3.2c52b",
\r
1568 "type": "execute",
\r
1569 "name": "execute split tp-id to get pnf-name",
\r
1570 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n",
\r
1575 "z": "f861838.07df98",
\r
1578 "584895a0.b3ab74",
\r
1584 "id": "d8e0f12d.021a28",
\r
1585 "type": "failure",
\r
1586 "name": "success",
\r
1587 "xml": "<outcome value='success'>\n",
\r
1592 "z": "f861838.07df98",
\r
1600 "id": "584895a0.b3ab74",
\r
1601 "type": "failure",
\r
1602 "name": "failure",
\r
1603 "xml": "<outcome value='failure'>\n",
\r
1608 "z": "f861838.07df98",
\r
1616 "id": "18ffb32b.dc39ad",
\r
1618 "name": "block : atomic",
\r
1619 "xml": "<block atomic=\"true\">",
\r
1624 "z": "f861838.07df98",
\r
1632 "id": "ef90ab42.074438",
\r
1634 "name": "set domain-B.ltpId",
\r
1635 "xml": "<set>\n<parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n",
\r
1639 "z": "f861838.07df98",
\r
1643 "id": "5fcd9d7d.d620cc",
\r
1644 "type": "returnFailure",
\r
1645 "name": "return failure",
\r
1646 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
\r
1650 "z": "f861838.07df98",
\r
1654 "id": "b9a4e12.dabba2",
\r
1656 "name": "unset parameters",
\r
1657 "xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<parameter name='tmp.aai.cross-link' value='' />\n<parameter name='tmp.aai.cross-link.' value='' />\n<parameter name='tmp.aai.cross-link.link-role' value='' />",
\r
1661 "z": "f861838.07df98",
\r
1665 "id": "c4129dee.e1028",
\r
1666 "type": "switchNode",
\r
1667 "name": "switch value == start-node",
\r
1668 "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.start-node`'>",
\r
1673 "z": "f861838.07df98",
\r
1681 "id": "55770297.b0eaec",
\r
1682 "type": "outcome",
\r
1683 "name": "otn-oof.start-node",
\r
1684 "xml": "<outcome value='`$otn-oof.start-node`'>\n",
\r
1689 "z": "f861838.07df98",
\r
1695 "id": "e83d3f89.4fb8f",
\r
1696 "type": "outcome",
\r
1697 "name": "otn-oof.end-node",
\r
1698 "xml": "<outcome value='`$otn-oof.end-node`'>\n",
\r
1703 "z": "f861838.07df98",
\r
1709 "id": "e09f6c32.6da1e8",
\r
1711 "name": "block : atomic",
\r
1712 "xml": "<block atomic=\"true\">",
\r
1717 "z": "f861838.07df98",
\r
1725 "id": "3bd5ba40.547cce",
\r
1727 "name": "set dst-ltpId",
\r
1728 "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n\n\n",
\r
1732 "z": "f861838.07df98",
\r
1736 "id": "bf0c687c.786c3",
\r
1739 "xml": "<break>\n",
\r
1743 "z": "f861838.07df98",
\r
1747 "id": "e18153ce.f19278",
\r
1749 "name": "block : atomic",
\r
1750 "xml": "<block atomic=\"true\">",
\r
1755 "z": "f861838.07df98",
\r
1763 "id": "c507ecc7.0f698",
\r
1764 "type": "outcomeTrue",
\r
1766 "xml": "<outcome value='true'>\n",
\r
1771 "z": "f861838.07df98",
\r
1779 "id": "4b41d356.da9dfc",
\r
1780 "type": "switchNode",
\r
1781 "name": "switch value == end-node",
\r
1782 "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.end-node`'>",
\r
1787 "z": "f861838.07df98",
\r
1795 "id": "2bcfa57c.bd2fea",
\r
1796 "type": "outcomeTrue",
\r
1798 "xml": "<outcome value='true'>\n",
\r
1803 "z": "f861838.07df98",
\r