3 "id": "785080f2.6936b8",
\r
9 "z": "f861838.07df98",
\r
17 "id": "4da9bc1a.de21c4",
\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": 449.00001525878906,
\r
27 "z": "f861838.07df98",
\r
35 "id": "4d41d418.8146fc",
\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": 372.0001220703125,
\r
43 "z": "f861838.07df98",
\r
51 "id": "8caf5150.39185",
\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`\" />\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": 854.9730834960938,
\r
58 "y": 200.99600219726562,
\r
59 "z": "f861838.07df98",
\r
68 "id": "4d2dbd72.56d1c4",
\r
71 "xml": "<outcome value='success'>\n",
\r
74 "x": 1094.9732246398926,
\r
75 "y": 224.9959716796875,
\r
76 "z": "f861838.07df98",
\r
84 "id": "e8159436.f6c238",
\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": 1233.973258972168,
\r
90 "y": 173.99606323242188,
\r
91 "z": "f861838.07df98",
\r
95 "id": "d1c68f83.41e85",
\r
98 "xml": "<outcome value='failure'>\n",
\r
101 "x": 1093.9730110168457,
\r
102 "y": 173.99606227874756,
\r
103 "z": "f861838.07df98",
\r
111 "id": "820d1c3.af11fe",
\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": 826.4768829345703,
\r
117 "y": 157.00000190734863,
\r
118 "z": "f861838.07df98",
\r
122 "id": "74bde20c.a7fc74",
\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": 845.972900390625,
\r
129 "y": 510.2457275390625,
\r
130 "z": "f861838.07df98",
\r
138 "id": "cd87cc44.8c15b8",
\r
140 "name": "Loop through OTN links",
\r
143 "x": 929.4732055664062,
\r
145 "z": "f861838.07df98",
\r
149 "id": "4106c3e4.394aa4",
\r
151 "name": "block : atomic",
\r
152 "xml": "<block atomic=\"true\">",
\r
155 "x": 950.5001220703125,
\r
156 "y": 701.2864990234375,
\r
157 "z": "f861838.07df98",
\r
166 "id": "ce760c47.cc25c",
\r
167 "type": "get-resource",
\r
168 "name": "get-resource cross-link",
\r
169 "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
172 "x": 1217.5001220703125,
\r
173 "y": 621.2864685058594,
\r
174 "z": "f861838.07df98",
\r
184 "id": "996489b0.d36438",
\r
187 "xml": "<outcome value='success'>\n",
\r
190 "x": 1409.0001220703125,
\r
191 "y": 566.2864685058594,
\r
192 "z": "f861838.07df98",
\r
200 "id": "ad346b3e.ce4fa8",
\r
201 "type": "not-found",
\r
202 "name": "not-found",
\r
203 "xml": "<outcome value='not-found'>\n",
\r
206 "x": 1445.0001220703125,
\r
207 "y": 691.2864990234375,
\r
208 "z": "f861838.07df98",
\r
216 "id": "fc5baf89.e9e038",
\r
219 "xml": "<outcome value='Other'>\n",
\r
222 "x": 1439.0001220703125,
\r
223 "y": 741.2864990234375,
\r
224 "z": "f861838.07df98",
\r
232 "id": "ac6169c7.f0845",
\r
233 "type": "returnFailure",
\r
234 "name": "return failure",
\r
235 "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
237 "x": 1606.0001220703125,
\r
238 "y": 680.2864990234375,
\r
239 "z": "f861838.07df98",
\r
243 "id": "63822e63.363e4",
\r
244 "type": "returnFailure",
\r
245 "name": "return failure",
\r
246 "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
248 "x": 1604.0001220703125,
\r
249 "y": 736.2864990234375,
\r
250 "z": "f861838.07df98",
\r
254 "id": "dd34e96e.f687",
\r
256 "name": "get cross-domain-link information",
\r
259 "x": 1218.5001220703125,
\r
260 "y": 582.2864685058594,
\r
261 "z": "f861838.07df98",
\r
265 "id": "881e4d7c.ab39a8",
\r
267 "name": "set otn-oof.link-name",
\r
268 "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />",
\r
270 "x": 1200.0001220703125,
\r
271 "y": 531.2864685058594,
\r
272 "z": "f861838.07df98",
\r
276 "id": "f83b56b9.c9b638",
\r
279 "xml": "<block>\n",
\r
283 "x": 1240.0002708435059,
\r
284 "y": 222.74145698547363,
\r
285 "z": "f861838.07df98",
\r
291 "id": "e5176e39.ab5f58",
\r
293 "name": "block : atomic",
\r
294 "xml": "<block atomic=\"true\">",
\r
297 "x": 612.9688835144043,
\r
298 "y": 468.74163722991943,
\r
299 "z": "f861838.07df98",
\r
308 "id": "26918861.79c318",
\r
309 "type": "switchNode",
\r
310 "name": "test cross-domain-link role",
\r
311 "xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",
\r
314 "x": 1724.5001220703125,
\r
316 "z": "f861838.07df98",
\r
324 "id": "3531deb1.d8e4aa",
\r
326 "name": "outcome cross-domain",
\r
327 "xml": "<outcome value='cross-domain'>\n",
\r
330 "x": 1960.5001220703125,
\r
332 "z": "f861838.07df98",
\r
340 "id": "7e986d4a.8efc2c",
\r
343 "xml": "<break>\n",
\r
347 "z": "f861838.07df98",
\r
351 "id": "eebcac2b.5130c8",
\r
353 "name": "block : atomic",
\r
354 "xml": "<block atomic=\"true\">",
\r
357 "x": 2163.5001220703125,
\r
359 "z": "f861838.07df98",
\r
370 "id": "a6afce7.6f2473",
\r
373 "xml": "<outcome value='success'>\n",
\r
378 "z": "f861838.07df98",
\r
386 "id": "2f1a9902.061d36",
\r
387 "type": "not-found",
\r
388 "name": "not-found",
\r
389 "xml": "<outcome value='not-found'>\n",
\r
392 "x": 2637.0001220703125,
\r
394 "z": "f861838.07df98",
\r
402 "id": "9127ce8b.3def68",
\r
405 "xml": "<outcome value='Other'>\n",
\r
408 "x": 2640.0001220703125,
\r
410 "z": "f861838.07df98",
\r
418 "id": "dbfe4fc5.e26958",
\r
419 "type": "returnFailure",
\r
420 "name": "return failure",
\r
421 "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
423 "x": 2822.0001220703125,
\r
425 "z": "f861838.07df98",
\r
429 "id": "c41edc57.5a3f3",
\r
430 "type": "returnFailure",
\r
431 "name": "return failure",
\r
432 "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
434 "x": 2810.0001220703125,
\r
436 "z": "f861838.07df98",
\r
440 "id": "ecb2deab.b51cf",
\r
442 "name": "set domain A node ttp-id",
\r
443 "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
447 "z": "f861838.07df98",
\r
451 "id": "d1cdcf8f.8a3938",
\r
452 "type": "get-resource",
\r
453 "name": "get-resource src TTP",
\r
454 "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
459 "z": "f861838.07df98",
\r
467 "id": "5ec14125.845248",
\r
470 "xml": "<outcome value='success'>\n",
\r
475 "z": "f861838.07df98",
\r
483 "id": "c49d7c6a.28c258",
\r
485 "name": "tunnel-termination-point",
\r
486 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
489 "x": 3492.66845703125,
\r
490 "y": 528.4815063476562,
\r
491 "z": "f861838.07df98",
\r
499 "id": "d42ddf1f.aa33b8",
\r
501 "name": "for each relationship",
\r
502 "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",
\r
506 "y": 530.6597290039062,
\r
507 "z": "f861838.07df98",
\r
515 "id": "422b69de.73fa7",
\r
516 "type": "switchNode",
\r
517 "name": "switch related-to",
\r
518 "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$vidx].related-to`'>\n",
\r
522 "y": 527.6597290039062,
\r
523 "z": "f861838.07df98",
\r
531 "id": "dd92713b.0e1d48",
\r
533 "name": "block : atomic",
\r
534 "xml": "<block atomic=\"true\">",
\r
539 "z": "f861838.07df98",
\r
551 "id": "ea827dd1.08ec5",
\r
552 "type": "get-resource",
\r
553 "name": "get-resource dst tp",
\r
554 "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
557 "x": 2360.5001220703125,
\r
559 "z": "f861838.07df98",
\r
569 "id": "6be782aa.b86974",
\r
572 "xml": "<outcome value='success'>\n",
\r
577 "z": "f861838.07df98",
\r
585 "id": "6d662459.228964",
\r
586 "type": "not-found",
\r
587 "name": "not-found",
\r
588 "xml": "<outcome value='not-found'>\n",
\r
593 "z": "f861838.07df98",
\r
601 "id": "898db702.b7dc98",
\r
604 "xml": "<outcome value='Other'>\n",
\r
609 "z": "f861838.07df98",
\r
617 "id": "bfee6332.37f66",
\r
618 "type": "returnFailure",
\r
619 "name": "return failure",
\r
620 "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
624 "z": "f861838.07df98",
\r
628 "id": "b65b40fe.974c6",
\r
629 "type": "returnFailure",
\r
630 "name": "return failure",
\r
631 "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
635 "z": "f861838.07df98",
\r
639 "id": "8d7d4d68.6b1788",
\r
641 "name": "for each relationship",
\r
642 "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",
\r
646 "y": 1092.6597290039062,
\r
647 "z": "f861838.07df98",
\r
655 "id": "575ceb9c.cab194",
\r
656 "type": "switchNode",
\r
657 "name": "switch related-to",
\r
658 "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].related-to`'>\n",
\r
662 "y": 1091.6597290039062,
\r
663 "z": "f861838.07df98",
\r
671 "id": "a539cf03.6d6808",
\r
673 "name": "block : atomic",
\r
674 "xml": "<block atomic=\"true\">",
\r
679 "z": "f861838.07df98",
\r
689 "id": "b72d167f.fee4e",
\r
691 "name": "tunnel-termination-point",
\r
692 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
695 "x": 3438.66845703125,
\r
696 "y": 1091.4815063476562,
\r
697 "z": "f861838.07df98",
\r
705 "id": "9378bfdf.c4bd08",
\r
707 "name": "network-resource",
\r
708 "xml": "<outcome value='network-resource'>\n",
\r
713 "z": "f861838.07df98",
\r
721 "id": "9c7f096e.2675b8",
\r
723 "name": "block : atomic",
\r
724 "xml": "<block atomic=\"true\">",
\r
729 "z": "f861838.07df98",
\r
741 "id": "176fbec8.809f09",
\r
743 "name": "set domain B node ttp-id",
\r
744 "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
748 "z": "f861838.07df98",
\r
752 "id": "4808dba3.0d097c",
\r
753 "type": "get-resource",
\r
754 "name": "get-resource dst TTP",
\r
755 "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
760 "z": "f861838.07df98",
\r
768 "id": "4a5731eb.8e0df8",
\r
771 "xml": "<outcome value='success'>\n",
\r
776 "z": "f861838.07df98",
\r
784 "id": "d5068892.e23ae8",
\r
786 "name": "set domain B network-id",
\r
787 "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
791 "z": "f861838.07df98",
\r
795 "id": "81d0dbc4.fd6ab8",
\r
796 "type": "get-resource",
\r
797 "name": "get-resource dst network-resource",
\r
798 "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
803 "z": "f861838.07df98",
\r
811 "id": "584862de.86be1c",
\r
814 "xml": "<outcome value='success'>\n",
\r
819 "z": "f861838.07df98",
\r
827 "id": "419ec6e9.6efd2",
\r
829 "name": "set domain B network-id, topo-id, client-id, etc",
\r
830 "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
834 "z": "f861838.07df98",
\r
838 "id": "f8be66de.741848",
\r
841 "xml": "<block>\n",
\r
847 "z": "f861838.07df98",
\r
855 "id": "65a0fa24.29df6c",
\r
858 "xml": "<block>\n",
\r
864 "z": "f861838.07df98",
\r
872 "id": "3ceef7ce.6836e",
\r
875 "xml": "<block>\n",
\r
881 "z": "f861838.07df98",
\r
889 "id": "baf2958a.4c4df8",
\r
891 "name": "for each relationship",
\r
892 "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",
\r
897 "z": "f861838.07df98",
\r
905 "id": "98d39228.4f43c",
\r
906 "type": "switchNode",
\r
907 "name": "switch related-to",
\r
908 "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",
\r
913 "z": "f861838.07df98",
\r
921 "id": "1abf5c4f.924da4",
\r
923 "name": "p-interface",
\r
924 "xml": "<outcome value='p-interface'>\n",
\r
927 "x": 2689.117431640625,
\r
928 "y": 347.34027099609375,
\r
929 "z": "f861838.07df98",
\r
937 "id": "8b0d1bcd.9b2bf8",
\r
939 "name": "set src-ltpId and dst-ltpId",
\r
940 "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.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[1].relationship-value`\" />\n\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[0].relationship-value`\" />\n\n\n",
\r
944 "z": "f861838.07df98",
\r
948 "id": "69b5dc47.c8bab4",
\r
951 "xml": "<break>\n",
\r
955 "z": "f861838.07df98",
\r
959 "id": "d47f9442.a83a08",
\r
962 "xml": "<block>\n",
\r
968 "z": "f861838.07df98",
\r
977 "id": "ca7d08dc.2600e",
\r
979 "name": "block : atomic",
\r
980 "xml": "<block atomic=\"true\">",
\r
985 "z": "f861838.07df98",
\r
993 "id": "53c0541b.770fcc",
\r
995 "name": "block : atomic",
\r
996 "xml": "<block atomic=\"true\">",
\r
1001 "z": "f861838.07df98",
\r
1009 "id": "fb366a0b.531b8",
\r
1010 "type": "get-resource",
\r
1011 "name": "get-resource src tp",
\r
1012 "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
1015 "x": 2406.5001220703125,
\r
1017 "z": "f861838.07df98",
\r
1021 "2f1a9902.061d36",
\r
1027 "id": "971f1502.6917e",
\r
1028 "type": "get-resource",
\r
1029 "name": "get-resource src pnf",
\r
1030 "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
1035 "z": "f861838.07df98",
\r
1039 "6ff47511.68ce04",
\r
1045 "id": "806ba724.7c9cb",
\r
1046 "type": "success",
\r
1047 "name": "success",
\r
1048 "xml": "<outcome value='success'>\n",
\r
1051 "x": 4005.5001220703125,
\r
1053 "z": "f861838.07df98",
\r
1061 "id": "6ff47511.68ce04",
\r
1062 "type": "not-found",
\r
1063 "name": "not-found",
\r
1064 "xml": "<outcome value='not-found'>\n",
\r
1067 "x": 3997.5001220703125,
\r
1069 "z": "f861838.07df98",
\r
1077 "id": "3a2344e6.758334",
\r
1080 "xml": "<outcome value='Other'>\n",
\r
1083 "x": 4002.5001220703125,
\r
1085 "z": "f861838.07df98",
\r
1093 "id": "10fe2a63.edb7de",
\r
1094 "type": "returnFailure",
\r
1095 "name": "return failure",
\r
1096 "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
1098 "x": 4154.5001220703125,
\r
1100 "z": "f861838.07df98",
\r
1104 "id": "658b18f7.6c229",
\r
1105 "type": "returnFailure",
\r
1106 "name": "return failure",
\r
1107 "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
1109 "x": 4165.5001220703125,
\r
1111 "z": "f861838.07df98",
\r
1115 "id": "198edc3a.f7e7a4",
\r
1118 "xml": "<block>\n",
\r
1119 "atomic": "false",
\r
1122 "x": 4149.8824462890625,
\r
1123 "y": 269.6556701660156,
\r
1124 "z": "f861838.07df98",
\r
1127 "3a3ab784.901e48",
\r
1133 "id": "3a3ab784.901e48",
\r
1135 "name": "set domain A node-id and tpn",
\r
1136 "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
1140 "z": "f861838.07df98",
\r
1144 "id": "c7ca7420.72c18",
\r
1147 "xml": "<break>\n",
\r
1151 "z": "f861838.07df98",
\r
1155 "id": "4e511808.615928",
\r
1157 "name": "set domain A tunnel tp ip",
\r
1158 "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n",
\r
1162 "z": "f861838.07df98",
\r
1166 "id": "967b7a6e.29dcc",
\r
1167 "type": "get-resource",
\r
1168 "name": "get-resource dst pnf",
\r
1169 "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
1174 "z": "f861838.07df98",
\r
1177 "e327bfa4.a9a3a8",
\r
1178 "d6f6e8cf.638658",
\r
1184 "id": "370c2654.35ab6a",
\r
1185 "type": "success",
\r
1186 "name": "success",
\r
1187 "xml": "<outcome value='success'>\n",
\r
1190 "x": 4002.5001220703125,
\r
1192 "z": "f861838.07df98",
\r
1200 "id": "d6f6e8cf.638658",
\r
1201 "type": "not-found",
\r
1202 "name": "not-found",
\r
1203 "xml": "<outcome value='not-found'>\n",
\r
1206 "x": 3994.5001220703125,
\r
1208 "z": "f861838.07df98",
\r
1216 "id": "e327bfa4.a9a3a8",
\r
1219 "xml": "<outcome value='Other'>\n",
\r
1222 "x": 3999.5001220703125,
\r
1224 "z": "f861838.07df98",
\r
1232 "id": "750d9871.e65c38",
\r
1235 "xml": "<block>\n",
\r
1236 "atomic": "false",
\r
1239 "x": 4146.8824462890625,
\r
1240 "y": 872.6556701660156,
\r
1241 "z": "f861838.07df98",
\r
1244 "93208213.553588",
\r
1250 "id": "a22c9c14.dad95",
\r
1251 "type": "returnFailure",
\r
1252 "name": "return failure",
\r
1253 "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
1255 "x": 4162.5001220703125,
\r
1257 "z": "f861838.07df98",
\r
1261 "id": "68964b02.e7fefc",
\r
1262 "type": "returnFailure",
\r
1263 "name": "return failure",
\r
1264 "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
1266 "x": 4151.5001220703125,
\r
1268 "z": "f861838.07df98",
\r
1272 "id": "93208213.553588",
\r
1274 "name": "set domain B node-id and tpn",
\r
1275 "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
1279 "z": "f861838.07df98",
\r
1283 "id": "a9a61e4c.61cea8",
\r
1286 "xml": "<break>\n",
\r
1290 "z": "f861838.07df98",
\r
1294 "id": "1d3fc9e2.e7e6d6",
\r
1296 "name": "set domain B tunnel tp id",
\r
1297 "xml": "<set>\n<parameter name='domain-B.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n",
\r
1301 "z": "f861838.07df98",
\r
1305 "id": "57d0de73.a03a68",
\r
1306 "type": "outcome",
\r
1307 "name": "network-resource",
\r
1308 "xml": "<outcome value='network-resource'>\n",
\r
1313 "z": "f861838.07df98",
\r
1321 "id": "ed098b6a.2cacf8",
\r
1323 "name": "block : atomic",
\r
1324 "xml": "<block atomic=\"true\">",
\r
1329 "z": "f861838.07df98",
\r
1332 "61d12009.69ae18",
\r
1333 "bb57da49.8f1178",
\r
1339 "id": "61d12009.69ae18",
\r
1341 "name": "set domain A network-id",
\r
1342 "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
1346 "z": "f861838.07df98",
\r
1350 "id": "bb57da49.8f1178",
\r
1351 "type": "get-resource",
\r
1352 "name": "get-resource src network-resource",
\r
1353 "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
1358 "z": "f861838.07df98",
\r
1366 "id": "603dc665.e100a",
\r
1367 "type": "success",
\r
1368 "name": "success",
\r
1369 "xml": "<outcome value='success'>\n",
\r
1374 "z": "f861838.07df98",
\r
1382 "id": "bfe1407d.be933",
\r
1384 "name": "set domain A network-id, topo-id, client-id, etc",
\r
1385 "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
1389 "z": "f861838.07df98",
\r
1393 "id": "a97b2a05.9f73a",
\r
1395 "name": "for each relationship",
\r
1396 "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",
\r
1401 "z": "f861838.07df98",
\r
1409 "id": "2c83d3d0.5ba494",
\r
1410 "type": "switchNode",
\r
1411 "name": "switch related-to",
\r
1412 "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
\r
1417 "z": "f861838.07df98",
\r
1425 "id": "85c9485f.31b9d8",
\r
1428 "xml": "<break>\n",
\r
1432 "z": "f861838.07df98",
\r
1436 "id": "71258e68.5cbd58",
\r
1438 "name": "for each relationship",
\r
1439 "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",
\r
1444 "z": "f861838.07df98",
\r
1452 "id": "1cdec3b0.3edecc",
\r
1453 "type": "switchNode",
\r
1454 "name": "switch related-to",
\r
1455 "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
\r
1460 "z": "f861838.07df98",
\r
1468 "id": "7f9bc054.18256",
\r
1471 "xml": "<break>\n",
\r
1475 "z": "f861838.07df98",
\r
1479 "id": "8d70c942.44a4b",
\r
1480 "type": "execute",
\r
1481 "name": "execute split tp-id to get pnf-name",
\r
1482 "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
1487 "z": "f861838.07df98",
\r
1496 "id": "d873be99.cdd6b8",
\r
1497 "type": "failure",
\r
1498 "name": "success",
\r
1499 "xml": "<outcome value='success'>\n",
\r
1504 "z": "f861838.07df98",
\r
1512 "id": "f6a321aa.4933d",
\r
1513 "type": "failure",
\r
1514 "name": "failure",
\r
1515 "xml": "<outcome value='failure'>\n",
\r
1520 "z": "f861838.07df98",
\r
1528 "id": "aee73e2c.22e008",
\r
1530 "name": "block : atomic",
\r
1531 "xml": "<block atomic=\"true\">",
\r
1536 "z": "f861838.07df98",
\r
1544 "id": "e00cc6b0.3f2b6",
\r
1546 "name": "set domain-A.ltpId",
\r
1547 "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n",
\r
1551 "z": "f861838.07df98",
\r
1555 "id": "58dfd18f.2c2408",
\r
1556 "type": "returnFailure",
\r
1557 "name": "return failure",
\r
1558 "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
1562 "z": "f861838.07df98",
\r
1566 "id": "eb2816b.38b8868",
\r
1567 "type": "execute",
\r
1568 "name": "execute split tp-id to get pnf-name",
\r
1569 "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
1574 "z": "f861838.07df98",
\r
1577 "4540307f.4c5428",
\r
1583 "id": "da15be4.fdd654",
\r
1584 "type": "failure",
\r
1585 "name": "success",
\r
1586 "xml": "<outcome value='success'>\n",
\r
1591 "z": "f861838.07df98",
\r
1599 "id": "4540307f.4c5428",
\r
1600 "type": "failure",
\r
1601 "name": "failure",
\r
1602 "xml": "<outcome value='failure'>\n",
\r
1607 "z": "f861838.07df98",
\r
1615 "id": "344ce354.79f65c",
\r
1617 "name": "block : atomic",
\r
1618 "xml": "<block atomic=\"true\">",
\r
1623 "z": "f861838.07df98",
\r
1631 "id": "2f5cfc52.4cced4",
\r
1633 "name": "set domain-B.ltpId",
\r
1634 "xml": "<set>\n<parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n",
\r
1638 "z": "f861838.07df98",
\r
1642 "id": "e36b8ad2.500998",
\r
1643 "type": "returnFailure",
\r
1644 "name": "return failure",
\r
1645 "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
1649 "z": "f861838.07df98",
\r