3 "id": "ffc612a5.7b0918",
\r
9 "z": "59711e8e.29744",
\r
17 "id": "6dda290e.27dad8",
\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": 456.00001525878906,
\r
27 "z": "59711e8e.29744",
\r
35 "id": "3ffa7f3f.e7e27",
\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": "59711e8e.29744",
\r
51 "id": "4ab3abe1.e87adc",
\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": 207.99600219726562,
\r
59 "z": "59711e8e.29744",
\r
68 "id": "6b5ff944.5bf648",
\r
71 "xml": "<outcome value='success'>\n",
\r
74 "x": 1094.9732246398926,
\r
75 "y": 231.9959716796875,
\r
76 "z": "59711e8e.29744",
\r
84 "id": "905d3517.25cab8",
\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": 180.99606323242188,
\r
91 "z": "59711e8e.29744",
\r
95 "id": "850f0c15.20d28",
\r
98 "xml": "<outcome value='failure'>\n",
\r
101 "x": 1093.9730110168457,
\r
102 "y": 180.99606227874756,
\r
103 "z": "59711e8e.29744",
\r
111 "id": "6a5159e4.7418a",
\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": 164.00000190734863,
\r
118 "z": "59711e8e.29744",
\r
122 "id": "eda4482b.a18e38",
\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": 517.2457275390625,
\r
130 "z": "59711e8e.29744",
\r
138 "id": "735419f0.115878",
\r
140 "name": "Loop through OTN links",
\r
143 "x": 929.4732055664062,
\r
145 "z": "59711e8e.29744",
\r
149 "id": "576c4b0b.248fb4",
\r
151 "name": "block : atomic",
\r
152 "xml": "<block atomic=\"true\">",
\r
155 "x": 950.5001220703125,
\r
156 "y": 708.2864990234375,
\r
157 "z": "59711e8e.29744",
\r
166 "id": "da160010.38d94",
\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": 628.2864685058594,
\r
174 "z": "59711e8e.29744",
\r
184 "id": "c37b490.2ec29b8",
\r
187 "xml": "<outcome value='success'>\n",
\r
190 "x": 1409.0001220703125,
\r
191 "y": 573.2864685058594,
\r
192 "z": "59711e8e.29744",
\r
200 "id": "38a6a5c5.3878b2",
\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": 698.2864990234375,
\r
208 "z": "59711e8e.29744",
\r
216 "id": "7911950a.d4f9bc",
\r
219 "xml": "<outcome value='Other'>\n",
\r
222 "x": 1439.0001220703125,
\r
223 "y": 748.2864990234375,
\r
224 "z": "59711e8e.29744",
\r
232 "id": "21535143.0a939e",
\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": 687.2864990234375,
\r
239 "z": "59711e8e.29744",
\r
243 "id": "21f78d15.02bd0a",
\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": 743.2864990234375,
\r
250 "z": "59711e8e.29744",
\r
254 "id": "875b8573.2757",
\r
256 "name": "get cross-domain-link information",
\r
259 "x": 1218.5001220703125,
\r
260 "y": 589.2864685058594,
\r
261 "z": "59711e8e.29744",
\r
265 "id": "5b4dabd5.4d7054",
\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": 538.2864685058594,
\r
272 "z": "59711e8e.29744",
\r
276 "id": "cd276ba.d3fc218",
\r
279 "xml": "<block>\n",
\r
283 "x": 1240.0002708435059,
\r
284 "y": 229.74145698547363,
\r
285 "z": "59711e8e.29744",
\r
291 "id": "9aa7ba3c.52a7f",
\r
293 "name": "block : atomic",
\r
294 "xml": "<block atomic=\"true\">",
\r
297 "x": 612.9688835144043,
\r
298 "y": 475.74163722991943,
\r
299 "z": "59711e8e.29744",
\r
308 "id": "edd38a6c.67c6b8",
\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": "59711e8e.29744",
\r
324 "id": "344b3505.db598a",
\r
326 "name": "outcome cross-domain",
\r
327 "xml": "<outcome value='cross-domain'>\n",
\r
330 "x": 1960.5001220703125,
\r
332 "z": "59711e8e.29744",
\r
340 "id": "7c9a4f45.2dfb5",
\r
343 "xml": "<break>\n",
\r
347 "z": "59711e8e.29744",
\r
351 "id": "bdc2d141.60e88",
\r
353 "name": "block : atomic",
\r
354 "xml": "<block atomic=\"true\">",
\r
357 "x": 2163.5001220703125,
\r
359 "z": "59711e8e.29744",
\r
370 "id": "7f48300c.649cc8",
\r
373 "xml": "<outcome value='success'>\n",
\r
378 "z": "59711e8e.29744",
\r
386 "id": "9cd22818.9c99c",
\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": "59711e8e.29744",
\r
402 "id": "11e5f855.56b93",
\r
405 "xml": "<outcome value='Other'>\n",
\r
408 "x": 2640.0001220703125,
\r
410 "z": "59711e8e.29744",
\r
418 "id": "8222994e.269fa",
\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": "59711e8e.29744",
\r
429 "id": "39b267f5.2906b8",
\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": "59711e8e.29744",
\r
440 "id": "6235283.bbe1f58",
\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": "59711e8e.29744",
\r
451 "id": "4dcc3c3f.b0f8dc",
\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": "59711e8e.29744",
\r
467 "id": "83dfda72.1dad78",
\r
470 "xml": "<outcome value='success'>\n",
\r
475 "z": "59711e8e.29744",
\r
483 "id": "49b3daba.22ab04",
\r
485 "name": "tunnel-termination-point",
\r
486 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
489 "x": 3492.66845703125,
\r
490 "y": 535.4815063476562,
\r
491 "z": "59711e8e.29744",
\r
499 "id": "db5fdeca.64d9c8",
\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": 537.6597290039062,
\r
507 "z": "59711e8e.29744",
\r
515 "id": "7fedd7f6.218328",
\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": 534.6597290039062,
\r
523 "z": "59711e8e.29744",
\r
531 "id": "2abdfdd6.de70da",
\r
533 "name": "block : atomic",
\r
534 "xml": "<block atomic=\"true\">",
\r
539 "z": "59711e8e.29744",
\r
551 "id": "54d54d35.c8ade4",
\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": "59711e8e.29744",
\r
569 "id": "caa1180f.475d",
\r
572 "xml": "<outcome value='success'>\n",
\r
577 "z": "59711e8e.29744",
\r
585 "id": "4f60ddcb.06c464",
\r
586 "type": "not-found",
\r
587 "name": "not-found",
\r
588 "xml": "<outcome value='not-found'>\n",
\r
593 "z": "59711e8e.29744",
\r
601 "id": "99e66acf.ef78a8",
\r
604 "xml": "<outcome value='Other'>\n",
\r
609 "z": "59711e8e.29744",
\r
617 "id": "b029d176.ebc328",
\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": "59711e8e.29744",
\r
628 "id": "ecf71935.9fff1",
\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": "59711e8e.29744",
\r
639 "id": "446999ee.737b88",
\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": 1099.6597290039062,
\r
647 "z": "59711e8e.29744",
\r
655 "id": "733247bb.4951e8",
\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": 1098.6597290039062,
\r
663 "z": "59711e8e.29744",
\r
671 "id": "d1ae1073.116fc8",
\r
673 "name": "block : atomic",
\r
674 "xml": "<block atomic=\"true\">",
\r
679 "z": "59711e8e.29744",
\r
689 "id": "551892cc.c334d4",
\r
691 "name": "tunnel-termination-point",
\r
692 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
695 "x": 3438.66845703125,
\r
696 "y": 1098.4815063476562,
\r
697 "z": "59711e8e.29744",
\r
705 "id": "c5e10d55.b93e8",
\r
707 "name": "network-resource",
\r
708 "xml": "<outcome value='network-resource'>\n",
\r
713 "z": "59711e8e.29744",
\r
721 "id": "167858f1.4d47ff",
\r
723 "name": "block : atomic",
\r
724 "xml": "<block atomic=\"true\">",
\r
729 "z": "59711e8e.29744",
\r
741 "id": "b3d72c6d.8cf07",
\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": "59711e8e.29744",
\r
752 "id": "1624e4ba.2068eb",
\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": "59711e8e.29744",
\r
768 "id": "58cdb5cc.380cfc",
\r
771 "xml": "<outcome value='success'>\n",
\r
776 "z": "59711e8e.29744",
\r
784 "id": "e4453cc8.2d68",
\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": "59711e8e.29744",
\r
795 "id": "a58a5fab.4b9628",
\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": "59711e8e.29744",
\r
811 "id": "a2d84f11.e4cb88",
\r
814 "xml": "<outcome value='success'>\n",
\r
819 "z": "59711e8e.29744",
\r
827 "id": "33f08d3a.c124c2",
\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": "59711e8e.29744",
\r
838 "id": "2a6040f8.29261",
\r
841 "xml": "<block>\n",
\r
847 "z": "59711e8e.29744",
\r
855 "id": "99dd61a2.0612b8",
\r
858 "xml": "<block>\n",
\r
864 "z": "59711e8e.29744",
\r
872 "id": "203a4a36.513986",
\r
875 "xml": "<block>\n",
\r
881 "z": "59711e8e.29744",
\r
889 "id": "965a7aea.98984",
\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": "59711e8e.29744",
\r
905 "id": "3bc95abb.a9239e",
\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": "59711e8e.29744",
\r
921 "id": "3cce24fd.740654",
\r
923 "name": "p-interface",
\r
924 "xml": "<outcome value='p-interface'>\n",
\r
927 "x": 2689.117431640625,
\r
928 "y": 354.34027099609375,
\r
929 "z": "59711e8e.29744",
\r
937 "id": "9ef5481b.bf4b48",
\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": "59711e8e.29744",
\r
948 "id": "ddeb58ef.e40c3",
\r
951 "xml": "<break>\n",
\r
955 "z": "59711e8e.29744",
\r
959 "id": "6ac060c8.1a11e8",
\r
962 "xml": "<block>\n",
\r
968 "z": "59711e8e.29744",
\r
977 "id": "bd70272d.20274",
\r
979 "name": "block : atomic",
\r
980 "xml": "<block atomic=\"true\">",
\r
985 "z": "59711e8e.29744",
\r
993 "id": "355115bb.2168d2",
\r
995 "name": "block : atomic",
\r
996 "xml": "<block atomic=\"true\">",
\r
1001 "z": "59711e8e.29744",
\r
1009 "id": "f57884fd.e852f",
\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": "59711e8e.29744",
\r
1020 "7f48300c.649cc8",
\r
1027 "id": "3af252ac.f5160e",
\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": "59711e8e.29744",
\r
1038 "fd4b75db.4422e8",
\r
1039 "650bdcdc.cfece4",
\r
1045 "id": "fd4b75db.4422e8",
\r
1046 "type": "success",
\r
1047 "name": "success",
\r
1048 "xml": "<outcome value='success'>\n",
\r
1051 "x": 4005.5001220703125,
\r
1053 "z": "59711e8e.29744",
\r
1061 "id": "650bdcdc.cfece4",
\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": "59711e8e.29744",
\r
1077 "id": "72662c6f.14033c",
\r
1080 "xml": "<outcome value='Other'>\n",
\r
1083 "x": 4002.5001220703125,
\r
1085 "z": "59711e8e.29744",
\r
1093 "id": "789ed2a8.499b74",
\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": "59711e8e.29744",
\r
1104 "id": "cb3c1121.cbe778",
\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": "59711e8e.29744",
\r
1115 "id": "b45c7d99.22c22",
\r
1118 "xml": "<block>\n",
\r
1119 "atomic": "false",
\r
1122 "x": 4149.8824462890625,
\r
1123 "y": 276.6556701660156,
\r
1124 "z": "59711e8e.29744",
\r
1127 "ba380e73.fe2bc8",
\r
1133 "id": "ba380e73.fe2bc8",
\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": "59711e8e.29744",
\r
1144 "id": "b3928b44.45b93",
\r
1147 "xml": "<break>\n",
\r
1151 "z": "59711e8e.29744",
\r
1155 "id": "b2e7a790.6b1818",
\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": "59711e8e.29744",
\r
1166 "id": "c25cb799.15c3f8",
\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": "59711e8e.29744",
\r
1177 "c37473f2.19f208",
\r
1178 "c644027c.70c3f8",
\r
1184 "id": "98fb79a9.84cdc8",
\r
1185 "type": "success",
\r
1186 "name": "success",
\r
1187 "xml": "<outcome value='success'>\n",
\r
1190 "x": 4002.5001220703125,
\r
1192 "z": "59711e8e.29744",
\r
1200 "id": "c644027c.70c3f8",
\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": "59711e8e.29744",
\r
1216 "id": "c37473f2.19f208",
\r
1219 "xml": "<outcome value='Other'>\n",
\r
1222 "x": 3999.5001220703125,
\r
1224 "z": "59711e8e.29744",
\r
1232 "id": "3c4a5895.c63a",
\r
1235 "xml": "<block>\n",
\r
1236 "atomic": "false",
\r
1239 "x": 4146.8824462890625,
\r
1240 "y": 879.6556701660156,
\r
1241 "z": "59711e8e.29744",
\r
1250 "id": "70fd1b7c.8d1aac",
\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": "59711e8e.29744",
\r
1261 "id": "cd3e066f.324aa",
\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": "59711e8e.29744",
\r
1272 "id": "a79b012a.c282e",
\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": "59711e8e.29744",
\r
1283 "id": "140c24f7.3b14f3",
\r
1286 "xml": "<break>\n",
\r
1290 "z": "59711e8e.29744",
\r
1294 "id": "d4658a57.f78ed8",
\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": "59711e8e.29744",
\r
1305 "id": "4b900139.065478",
\r
1306 "type": "outcome",
\r
1307 "name": "network-resource",
\r
1308 "xml": "<outcome value='network-resource'>\n",
\r
1313 "z": "59711e8e.29744",
\r
1321 "id": "c3283205.62573",
\r
1323 "name": "block : atomic",
\r
1324 "xml": "<block atomic=\"true\">",
\r
1329 "z": "59711e8e.29744",
\r
1333 "201af2cb.ff685e",
\r
1339 "id": "e3322f04.45bf9",
\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": "59711e8e.29744",
\r
1350 "id": "201af2cb.ff685e",
\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": "59711e8e.29744",
\r
1366 "id": "ba151945.9e348",
\r
1367 "type": "success",
\r
1368 "name": "success",
\r
1369 "xml": "<outcome value='success'>\n",
\r
1374 "z": "59711e8e.29744",
\r
1382 "id": "bf5ba977.146f8",
\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": "59711e8e.29744",
\r
1393 "id": "65a7e039.6dcda8",
\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": "59711e8e.29744",
\r
1409 "id": "ebc07ec5.500b48",
\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": "59711e8e.29744",
\r
1425 "id": "24c615e9.67af32",
\r
1428 "xml": "<break>\n",
\r
1432 "z": "59711e8e.29744",
\r
1436 "id": "469c63f2.54b414",
\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": "59711e8e.29744",
\r
1452 "id": "a4a499c0.e7f04",
\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": "59711e8e.29744",
\r
1468 "id": "a3e0896b.517c78",
\r
1471 "xml": "<break>\n",
\r
1475 "z": "59711e8e.29744",
\r
1479 "id": "6051cb19.bdbedc",
\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": "59711e8e.29744",
\r
1490 "474c52a4.93fc74",
\r
1496 "id": "2bdecc1b.43ff94",
\r
1497 "type": "failure",
\r
1498 "name": "success",
\r
1499 "xml": "<outcome value='success'>\n",
\r
1504 "z": "59711e8e.29744",
\r
1512 "id": "474c52a4.93fc74",
\r
1513 "type": "failure",
\r
1514 "name": "failure",
\r
1515 "xml": "<outcome value='failure'>\n",
\r
1520 "z": "59711e8e.29744",
\r
1528 "id": "21520c33.eb9b1c",
\r
1530 "name": "block : atomic",
\r
1531 "xml": "<block atomic=\"true\">",
\r
1536 "z": "59711e8e.29744",
\r
1544 "id": "47f81613.356b38",
\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": "59711e8e.29744",
\r
1555 "id": "ff0936f5.25fc9",
\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": "59711e8e.29744",
\r
1566 "id": "a035bf70.73a55",
\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": "59711e8e.29744",
\r
1577 "310e01dd.c1a27e",
\r
1583 "id": "976ae4f1.c35c1",
\r
1584 "type": "failure",
\r
1585 "name": "success",
\r
1586 "xml": "<outcome value='success'>\n",
\r
1591 "z": "59711e8e.29744",
\r
1599 "id": "310e01dd.c1a27e",
\r
1600 "type": "failure",
\r
1601 "name": "failure",
\r
1602 "xml": "<outcome value='failure'>\n",
\r
1607 "z": "59711e8e.29744",
\r
1615 "id": "20b670c9.8ae9c8",
\r
1617 "name": "block : atomic",
\r
1618 "xml": "<block atomic=\"true\">",
\r
1623 "z": "59711e8e.29744",
\r
1631 "id": "3c392a8.397b7d6",
\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": "59711e8e.29744",
\r
1642 "id": "75ef28c6.5e31a",
\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": "59711e8e.29744",
\r