3 "id": "58e34c1c.fa2ef4",
\r
9 "z": "740154b1.db9c44",
\r
17 "id": "7debdd32.eca72c",
\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": 662.0000152587891,
\r
27 "z": "740154b1.db9c44",
\r
35 "id": "17937dc9.2355da",
\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": 380.0001220703125,
\r
43 "z": "740154b1.db9c44",
\r
51 "id": "d05eda9f.63c82",
\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": 425.9730682373047,
\r
58 "y": 273.996000289917,
\r
59 "z": "740154b1.db9c44",
\r
68 "id": "d4681312.af0c78",
\r
71 "xml": "<outcome value='success'>\n",
\r
74 "x": 665.9732093811035,
\r
75 "y": 297.99596977233887,
\r
76 "z": "740154b1.db9c44",
\r
84 "id": "54760f3b.4160e8",
\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": 835.9731292724609,
\r
90 "y": 237.99606132507324,
\r
91 "z": "740154b1.db9c44",
\r
95 "id": "83728f7.d5447f",
\r
98 "xml": "<outcome value='failure'>\n",
\r
101 "x": 664.9729957580566,
\r
102 "y": 246.99606037139893,
\r
103 "z": "740154b1.db9c44",
\r
111 "id": "2a1c3926.ccf68e",
\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": 397.47686767578125,
\r
118 "z": "740154b1.db9c44",
\r
122 "id": "b642d1e9.ee8bf8",
\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": 853.972900390625,
\r
129 "y": 723.2457275390625,
\r
130 "z": "740154b1.db9c44",
\r
138 "id": "1e8a6121.3ebf8f",
\r
140 "name": "Loop through OTN links",
\r
143 "x": 937.4732055664062,
\r
145 "z": "740154b1.db9c44",
\r
149 "id": "782120ce.0449f",
\r
151 "name": "block : atomic",
\r
152 "xml": "<block atomic=\"true\">",
\r
155 "x": 958.5001220703125,
\r
156 "y": 914.2864990234375,
\r
157 "z": "740154b1.db9c44",
\r
169 "id": "c89cb66b.dc0d2",
\r
171 "name": "set otn-oof.link-name and etc.",
\r
172 "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].dst_node`' />",
\r
174 "x": 1205.0001220703125,
\r
175 "y": 807.2864990234375,
\r
176 "z": "740154b1.db9c44",
\r
180 "id": "b7d4d2f2.ad66",
\r
183 "xml": "<block>\n",
\r
187 "x": 811.0002555847168,
\r
188 "y": 295.741455078125,
\r
189 "z": "740154b1.db9c44",
\r
195 "id": "3e6ce739.eeb648",
\r
197 "name": "block : atomic",
\r
198 "xml": "<block atomic=\"true\">",
\r
201 "x": 620.9688835144043,
\r
202 "y": 681.7416372299194,
\r
203 "z": "740154b1.db9c44",
\r
214 "id": "b9e5ba4.2ed1f48",
\r
217 "xml": "<break>\n",
\r
219 "x": 2372.4998779296875,
\r
221 "z": "740154b1.db9c44",
\r
225 "id": "287cbb25.9abd94",
\r
227 "name": "block : atomic",
\r
228 "xml": "<block atomic=\"true\">",
\r
231 "x": 1171.5001220703125,
\r
233 "z": "740154b1.db9c44",
\r
242 "id": "ed734d7c.04c2f8",
\r
245 "xml": "<outcome value='success'>\n",
\r
248 "x": 2696.9998779296875,
\r
250 "z": "740154b1.db9c44",
\r
258 "id": "551be9a2.28b98",
\r
259 "type": "not-found",
\r
260 "name": "not-found",
\r
261 "xml": "<outcome value='not-found'>\n",
\r
266 "z": "740154b1.db9c44",
\r
274 "id": "22092f51.833d9",
\r
277 "xml": "<outcome value='Other'>\n",
\r
282 "z": "740154b1.db9c44",
\r
290 "id": "bc9d63b9.95524",
\r
291 "type": "returnFailure",
\r
292 "name": "return failure",
\r
293 "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
297 "z": "740154b1.db9c44",
\r
301 "id": "757b2f22.e7f98",
\r
302 "type": "returnFailure",
\r
303 "name": "return failure",
\r
304 "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
308 "z": "740154b1.db9c44",
\r
312 "id": "1391535e.6e46bd",
\r
314 "name": "set domain A node ttp-id",
\r
315 "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",
\r
317 "x": 4033.4998779296875,
\r
319 "z": "740154b1.db9c44",
\r
323 "id": "2d1abf42.aacfc8",
\r
324 "type": "get-resource",
\r
325 "name": "get-resource src TTP",
\r
326 "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
329 "x": 4041.4998779296875,
\r
331 "z": "740154b1.db9c44",
\r
339 "id": "492ab725.abc14",
\r
342 "xml": "<outcome value='success'>\n",
\r
345 "x": 4247.9998779296875,
\r
347 "z": "740154b1.db9c44",
\r
355 "id": "fe7961d1.c0f4e",
\r
357 "name": "tunnel-termination-point",
\r
358 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
361 "x": 3585.6683349609375,
\r
362 "y": 724.4815063476562,
\r
363 "z": "740154b1.db9c44",
\r
371 "id": "20453efe.bca822",
\r
373 "name": "for each relationship",
\r
374 "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",
\r
377 "x": 3048.3826904296875,
\r
378 "y": 726.6597290039062,
\r
379 "z": "740154b1.db9c44",
\r
387 "id": "f844ac94.89e1e",
\r
388 "type": "switchNode",
\r
389 "name": "switch related-to",
\r
390 "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",
\r
393 "x": 3300.3826904296875,
\r
394 "y": 723.6597290039062,
\r
395 "z": "740154b1.db9c44",
\r
403 "id": "59e37319.f4bec4",
\r
405 "name": "block : atomic",
\r
406 "xml": "<block atomic=\"true\">",
\r
409 "x": 3812.4998779296875,
\r
411 "z": "740154b1.db9c44",
\r
423 "id": "55e25897.4f1fe8",
\r
424 "type": "get-resource",
\r
425 "name": "get-resource dst tp",
\r
426 "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
431 "z": "740154b1.db9c44",
\r
441 "id": "49c1a7b6.6f99c",
\r
444 "xml": "<outcome value='success'>\n",
\r
447 "x": 2675.9998779296875,
\r
449 "z": "740154b1.db9c44",
\r
457 "id": "2b24743b.25895c",
\r
458 "type": "not-found",
\r
459 "name": "not-found",
\r
460 "xml": "<outcome value='not-found'>\n",
\r
463 "x": 2659.9998779296875,
\r
465 "z": "740154b1.db9c44",
\r
473 "id": "c683e8fa.16a0b",
\r
476 "xml": "<outcome value='Other'>\n",
\r
479 "x": 2662.9998779296875,
\r
481 "z": "740154b1.db9c44",
\r
489 "id": "78affe58.b6f08",
\r
490 "type": "returnFailure",
\r
491 "name": "return failure",
\r
492 "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
494 "x": 2832.9998779296875,
\r
496 "z": "740154b1.db9c44",
\r
500 "id": "37c7eeb2.67c862",
\r
501 "type": "returnFailure",
\r
502 "name": "return failure",
\r
503 "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
505 "x": 2844.9998779296875,
\r
507 "z": "740154b1.db9c44",
\r
511 "id": "141988e8.b25ef7",
\r
513 "name": "for each relationship",
\r
514 "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",
\r
517 "x": 3032.3826904296875,
\r
518 "y": 1288.6597290039062,
\r
519 "z": "740154b1.db9c44",
\r
527 "id": "a370922d.726108",
\r
528 "type": "switchNode",
\r
529 "name": "switch related-to",
\r
530 "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",
\r
533 "x": 3275.3826904296875,
\r
534 "y": 1287.6597290039062,
\r
535 "z": "740154b1.db9c44",
\r
543 "id": "61d27ccc.5b8de4",
\r
545 "name": "block : atomic",
\r
546 "xml": "<block atomic=\"true\">",
\r
549 "x": 5041.4998779296875,
\r
551 "z": "740154b1.db9c44",
\r
561 "id": "e6beb03b.67e37",
\r
563 "name": "tunnel-termination-point",
\r
564 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
567 "x": 3531.6683349609375,
\r
568 "y": 1287.4815063476562,
\r
569 "z": "740154b1.db9c44",
\r
577 "id": "df39947.2e32868",
\r
579 "name": "network-resource",
\r
580 "xml": "<outcome value='network-resource'>\n",
\r
583 "x": 4828.4998779296875,
\r
585 "z": "740154b1.db9c44",
\r
593 "id": "412a94c.16241ec",
\r
595 "name": "block : atomic",
\r
596 "xml": "<block atomic=\"true\">",
\r
599 "x": 3831.4998779296875,
\r
601 "z": "740154b1.db9c44",
\r
613 "id": "58c1eb2d.4365dc",
\r
615 "name": "set domain B node ttp-id",
\r
616 "xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",
\r
618 "x": 4073.4998779296875,
\r
620 "z": "740154b1.db9c44",
\r
624 "id": "eafee68f.21777",
\r
625 "type": "get-resource",
\r
626 "name": "get-resource dst TTP",
\r
627 "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
630 "x": 4063.4998779296875,
\r
632 "z": "740154b1.db9c44",
\r
640 "id": "135e1de8.ac41a2",
\r
643 "xml": "<outcome value='success'>\n",
\r
646 "x": 4250.9998779296875,
\r
648 "z": "740154b1.db9c44",
\r
656 "id": "6cde7588.a972a4",
\r
658 "name": "set domain B network-id",
\r
659 "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
661 "x": 5311.4998779296875,
\r
663 "z": "740154b1.db9c44",
\r
667 "id": "46f2ef05.7f74e8",
\r
668 "type": "get-resource",
\r
669 "name": "get-resource dst network-resource",
\r
670 "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
673 "x": 5321.4998779296875,
\r
675 "z": "740154b1.db9c44",
\r
683 "id": "95269d9e.8f1978",
\r
686 "xml": "<outcome value='success'>\n",
\r
689 "x": 5536.9998779296875,
\r
691 "z": "740154b1.db9c44",
\r
699 "id": "d0d56062.e96878",
\r
701 "name": "set domain B network-id, topo-id, client-id, etc",
\r
702 "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<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",
\r
704 "x": 5791.4998779296875,
\r
706 "z": "740154b1.db9c44",
\r
710 "id": "d4861d1.90a2f6",
\r
713 "xml": "<block>\n",
\r
717 "x": 2830.9998779296875,
\r
719 "z": "740154b1.db9c44",
\r
727 "id": "ed45880a.b1c94",
\r
730 "xml": "<block>\n",
\r
734 "x": 2821.9998779296875,
\r
736 "z": "740154b1.db9c44",
\r
744 "id": "ca00a5f6.d5b71",
\r
746 "name": "block : atomic",
\r
747 "xml": "<block atomic=\"true\">",
\r
750 "x": 4422.9998779296875,
\r
752 "z": "740154b1.db9c44",
\r
760 "id": "e5e86a3d.a35168",
\r
762 "name": "block : atomic",
\r
763 "xml": "<block atomic=\"true\">",
\r
766 "x": 4439.9998779296875,
\r
768 "z": "740154b1.db9c44",
\r
776 "id": "1809a4d6.ba2673",
\r
777 "type": "get-resource",
\r
778 "name": "get-resource src tp",
\r
779 "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
784 "z": "740154b1.db9c44",
\r
794 "id": "d4f97b75.15b158",
\r
795 "type": "get-resource",
\r
796 "name": "get-resource src pnf",
\r
797 "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
800 "x": 3902.9998779296875,
\r
802 "z": "740154b1.db9c44",
\r
812 "id": "27b2efea.3f735",
\r
815 "xml": "<outcome value='success'>\n",
\r
820 "z": "740154b1.db9c44",
\r
828 "id": "abdc030.e780f",
\r
829 "type": "not-found",
\r
830 "name": "not-found",
\r
831 "xml": "<outcome value='not-found'>\n",
\r
836 "z": "740154b1.db9c44",
\r
844 "id": "d67670c0.149af8",
\r
847 "xml": "<outcome value='Other'>\n",
\r
852 "z": "740154b1.db9c44",
\r
860 "id": "c3d2abbd.c8f708",
\r
861 "type": "returnFailure",
\r
862 "name": "return failure",
\r
863 "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
867 "z": "740154b1.db9c44",
\r
871 "id": "f2e24f2.12fadb",
\r
872 "type": "returnFailure",
\r
873 "name": "return failure",
\r
874 "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
878 "z": "740154b1.db9c44",
\r
882 "id": "67bcf691.cce0a8",
\r
885 "xml": "<block>\n",
\r
889 "x": 4242.88232421875,
\r
890 "y": 465.6556701660156,
\r
891 "z": "740154b1.db9c44",
\r
900 "id": "304592d5.537a8e",
\r
902 "name": "set domain A node-id and tpn",
\r
903 "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\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />",
\r
905 "x": 4467.9998779296875,
\r
907 "z": "740154b1.db9c44",
\r
911 "id": "12165a81.403f85",
\r
914 "xml": "<break>\n",
\r
916 "x": 3989.9998779296875,
\r
918 "z": "740154b1.db9c44",
\r
922 "id": "4c98d169.bddc",
\r
924 "name": "set domain A tunnel tp ip",
\r
925 "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\n",
\r
927 "x": 4683.9998779296875,
\r
929 "z": "740154b1.db9c44",
\r
933 "id": "7894f836.65f328",
\r
934 "type": "get-resource",
\r
935 "name": "get-resource dst pnf",
\r
936 "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
939 "x": 3899.9998779296875,
\r
941 "z": "740154b1.db9c44",
\r
951 "id": "75ff3dee.3bf8bc",
\r
954 "xml": "<outcome value='success'>\n",
\r
959 "z": "740154b1.db9c44",
\r
967 "id": "d1cd027c.1f10b8",
\r
968 "type": "not-found",
\r
969 "name": "not-found",
\r
970 "xml": "<outcome value='not-found'>\n",
\r
975 "z": "740154b1.db9c44",
\r
983 "id": "54998b27.2003cc",
\r
986 "xml": "<outcome value='Other'>\n",
\r
991 "z": "740154b1.db9c44",
\r
999 "id": "c056b35b.56583",
\r
1002 "xml": "<block>\n",
\r
1003 "atomic": "false",
\r
1006 "x": 4239.88232421875,
\r
1007 "y": 1068.6556701660156,
\r
1008 "z": "740154b1.db9c44",
\r
1017 "id": "560adcd5.77c02c",
\r
1018 "type": "returnFailure",
\r
1019 "name": "return failure",
\r
1020 "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
1024 "z": "740154b1.db9c44",
\r
1028 "id": "3b1e11f8.04c5b6",
\r
1029 "type": "returnFailure",
\r
1030 "name": "return failure",
\r
1031 "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
1035 "z": "740154b1.db9c44",
\r
1039 "id": "7ca2f810.f9ca5",
\r
1041 "name": "set domain B node-id and tpn",
\r
1042 "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\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",
\r
1044 "x": 4448.9998779296875,
\r
1046 "z": "740154b1.db9c44",
\r
1050 "id": "3baf326d.94389e",
\r
1053 "xml": "<break>\n",
\r
1055 "x": 4018.9998779296875,
\r
1057 "z": "740154b1.db9c44",
\r
1061 "id": "b92cc089.036dc8",
\r
1063 "name": "set domain B tunnel tp id",
\r
1064 "xml": "<set>\n<parameter name='domain-B.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",
\r
1066 "x": 4672.9998779296875,
\r
1068 "z": "740154b1.db9c44",
\r
1072 "id": "c8548322.1dce7",
\r
1073 "type": "outcome",
\r
1074 "name": "network-resource",
\r
1075 "xml": "<outcome value='network-resource'>\n",
\r
1078 "x": 4824.9998779296875,
\r
1080 "z": "740154b1.db9c44",
\r
1088 "id": "49aa1e98.21619",
\r
1090 "name": "block : atomic",
\r
1091 "xml": "<block atomic=\"true\">",
\r
1094 "x": 5001.9998779296875,
\r
1096 "z": "740154b1.db9c44",
\r
1099 "13542cdd.43dda3",
\r
1100 "909a99fa.787ae8",
\r
1106 "id": "13542cdd.43dda3",
\r
1108 "name": "set domain A network-id",
\r
1109 "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
1111 "x": 5216.9998779296875,
\r
1113 "z": "740154b1.db9c44",
\r
1117 "id": "909a99fa.787ae8",
\r
1118 "type": "get-resource",
\r
1119 "name": "get-resource src network-resource",
\r
1120 "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
1123 "x": 5233.9998779296875,
\r
1125 "z": "740154b1.db9c44",
\r
1133 "id": "30bbae6f.18af4a",
\r
1134 "type": "success",
\r
1135 "name": "success",
\r
1136 "xml": "<outcome value='success'>\n",
\r
1139 "x": 5457.4998779296875,
\r
1141 "z": "740154b1.db9c44",
\r
1149 "id": "a367788a.bb68e",
\r
1151 "name": "set domain A network-id, topo-id, client-id, etc",
\r
1152 "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<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />\n\n\n",
\r
1154 "x": 5721.9998779296875,
\r
1156 "z": "740154b1.db9c44",
\r
1160 "id": "2af9eb5e.d3c17c",
\r
1162 "name": "for each relationship",
\r
1163 "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",
\r
1166 "x": 4426.9998779296875,
\r
1168 "z": "740154b1.db9c44",
\r
1176 "id": "df80ec0f.2a1388",
\r
1177 "type": "switchNode",
\r
1178 "name": "switch related-to",
\r
1179 "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
\r
1182 "x": 4621.9998779296875,
\r
1184 "z": "740154b1.db9c44",
\r
1192 "id": "44fc9502.8d863c",
\r
1195 "xml": "<break>\n",
\r
1197 "x": 5160.9998779296875,
\r
1199 "z": "740154b1.db9c44",
\r
1203 "id": "5d0e55ed.7c2c54",
\r
1205 "name": "for each relationship",
\r
1206 "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",
\r
1209 "x": 4427.9998779296875,
\r
1211 "z": "740154b1.db9c44",
\r
1219 "id": "97742823.a37f08",
\r
1220 "type": "switchNode",
\r
1221 "name": "switch related-to",
\r
1222 "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
\r
1225 "x": 4622.9998779296875,
\r
1227 "z": "740154b1.db9c44",
\r
1235 "id": "36e1e931.d36586",
\r
1238 "xml": "<break>\n",
\r
1240 "x": 5246.9998779296875,
\r
1242 "z": "740154b1.db9c44",
\r
1246 "id": "103b5c34.d77a7c",
\r
1247 "type": "execute",
\r
1248 "name": "execute split tp-id to get pnf-name",
\r
1249 "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=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\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
1252 "x": 3930.9998779296875,
\r
1254 "z": "740154b1.db9c44",
\r
1263 "id": "21c8620c.a1786e",
\r
1264 "type": "failure",
\r
1265 "name": "success",
\r
1266 "xml": "<outcome value='success'>\n",
\r
1269 "x": 4151.9998779296875,
\r
1271 "z": "740154b1.db9c44",
\r
1279 "id": "b3bf59d4.5b493",
\r
1280 "type": "failure",
\r
1281 "name": "failure",
\r
1282 "xml": "<outcome value='failure'>\n",
\r
1285 "x": 4151.9998779296875,
\r
1287 "z": "740154b1.db9c44",
\r
1295 "id": "ac6a8696.ec08c8",
\r
1297 "name": "block : atomic",
\r
1298 "xml": "<block atomic=\"true\">",
\r
1301 "x": 4316.9998779296875,
\r
1303 "z": "740154b1.db9c44",
\r
1311 "id": "c3a92ffe.308538",
\r
1313 "name": "set domain-A.ltpId",
\r
1314 "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfo[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />",
\r
1316 "x": 4498.9998779296875,
\r
1318 "z": "740154b1.db9c44",
\r
1322 "id": "53c1b9f8.feb02",
\r
1323 "type": "returnFailure",
\r
1324 "name": "return failure",
\r
1325 "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
1327 "x": 4318.9998779296875,
\r
1329 "z": "740154b1.db9c44",
\r
1333 "id": "9b949993.6af3e",
\r
1334 "type": "execute",
\r
1335 "name": "execute split tp-id to get pnf-name",
\r
1336 "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
1339 "x": 3938.9998779296875,
\r
1341 "z": "740154b1.db9c44",
\r
1344 "63b15b9d.d0246c",
\r
1350 "id": "438781d9.fa013",
\r
1351 "type": "failure",
\r
1352 "name": "success",
\r
1353 "xml": "<outcome value='success'>\n",
\r
1356 "x": 4159.9998779296875,
\r
1358 "z": "740154b1.db9c44",
\r
1366 "id": "63b15b9d.d0246c",
\r
1367 "type": "failure",
\r
1368 "name": "failure",
\r
1369 "xml": "<outcome value='failure'>\n",
\r
1372 "x": 4159.9998779296875,
\r
1374 "z": "740154b1.db9c44",
\r
1382 "id": "7c480aff.2bda14",
\r
1384 "name": "block : atomic",
\r
1385 "xml": "<block atomic=\"true\">",
\r
1388 "x": 4324.9998779296875,
\r
1390 "z": "740154b1.db9c44",
\r
1398 "id": "6535be11.5e3bd",
\r
1400 "name": "set domain-B.ltpId",
\r
1401 "xml": "<set>\n<parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfo[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />",
\r
1403 "x": 4520.9998779296875,
\r
1405 "z": "740154b1.db9c44",
\r
1409 "id": "6669851b.858ebc",
\r
1410 "type": "returnFailure",
\r
1411 "name": "return failure",
\r
1412 "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
1414 "x": 4326.9998779296875,
\r
1416 "z": "740154b1.db9c44",
\r
1420 "id": "154e7688.b29339",
\r
1422 "name": "unset parameters",
\r
1423 "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
1427 "z": "740154b1.db9c44",
\r
1431 "id": "5f2860ab.d20368",
\r
1432 "type": "comment",
\r
1433 "name": "Not useful anymore",
\r
1434 "info": "this domain-A.ltpId is not used anymore",
\r
1436 "x": 4541.9998779296875,
\r
1438 "z": "740154b1.db9c44",
\r
1442 "id": "839b6b92.78af58",
\r
1443 "type": "comment",
\r
1444 "name": "Not useful anymore",
\r
1445 "info": "this domain-B.ltpId is not used anymore",
\r
1447 "x": 4563.9998779296875,
\r
1449 "z": "740154b1.db9c44",
\r
1453 "id": "d800f8fa.097b28",
\r
1455 "name": "unset parameters",
\r
1456 "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->\n<parameter name='`tmp.otninfoProtect.`' value='' />",
\r
1460 "z": "740154b1.db9c44",
\r
1464 "id": "9d59de38.f2a96",
\r
1465 "type": "comment",
\r
1466 "name": "May not be necessary",
\r
1471 "z": "740154b1.db9c44",
\r
1475 "id": "3eb232d2.31d3ce",
\r
1477 "name": "block : atomic",
\r
1478 "xml": "<block atomic='true'>",
\r
1484 "z": "740154b1.db9c44",
\r
1487 "ef757a3b.136af8",
\r
1488 "170891d6.65d54e",
\r
1489 "69ba386e.9da968",
\r
1490 "2e082ac1.a1ccfe",
\r
1492 "4af9732c.943804",
\r
1493 "45b96535.5a3dac",
\r
1494 "1033844e.1fe0b4",
\r
1495 "644a4209.4c190c",
\r
1496 "752e7b91.ad42a4",
\r
1497 "7d6aaca7.ab1b4c",
\r
1504 "id": "874f6992.1d0f",
\r
1505 "type": "execute",
\r
1506 "name": "execute PCE in ccsdk/sli/core",
\r
1507 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePaths' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"dst-node-backup\" value=\"`$tmp.pce-dst-node-backup`\"/>\n<parameter name=\"require-backuppath\" value=\"`$hasSecondary`\"/>",
\r
1512 "z": "740154b1.db9c44",
\r
1522 "id": "ef757a3b.136af8",
\r
1524 "name": "record tmp.pce-src and dst node and backup",
\r
1525 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<!--<parameter name=\"field1\" value=\"Path computation succeed!\"/>-->\n<!--<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>-->\n\n<!--<parameter name=\"field1\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"field2\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"field1\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"field3\" value=\"`$tmp.pce-dst-node-backup`\"/>\n",
\r
1530 "z": "740154b1.db9c44",
\r
1536 "id": "9cd26432.6ca2e",
\r
1539 "xml": "<outcome value='Other'>\n",
\r
1544 "z": "740154b1.db9c44",
\r
1550 "id": "d020471b.87351",
\r
1551 "type": "not-found",
\r
1552 "name": "not-found",
\r
1553 "xml": "<outcome value='not-found'>\n",
\r
1558 "z": "740154b1.db9c44",
\r
1564 "id": "d9ad3259.cc415",
\r
1565 "type": "success",
\r
1566 "name": "success",
\r
1567 "xml": "<outcome value='success'>\n",
\r
1572 "z": "740154b1.db9c44",
\r
1578 "id": "170891d6.65d54e",
\r
1580 "name": "set tmp.pce-src-node",
\r
1581 "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainA-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $otnTopoIdSrc + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />",
\r
1585 "z": "740154b1.db9c44",
\r
1589 "id": "69ba386e.9da968",
\r
1591 "name": "set tmp.pce-dst-node",
\r
1592 "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainB-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $otnTopoIdDst + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />",
\r
1596 "z": "740154b1.db9c44",
\r
1600 "id": "4f1a8be1.b37344",
\r
1602 "name": "set src-ltpId",
\r
1603 "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.solutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.solutions[$vidx].src_node`\" />\n",
\r
1607 "z": "740154b1.db9c44",
\r
1611 "id": "2cdce288.c30c46",
\r
1613 "name": "set dst-ltpId",
\r
1614 "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.solutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.solutions[$vidx].dst_node`\" />\n\n\n",
\r
1618 "z": "740154b1.db9c44",
\r
1622 "id": "2e082ac1.a1ccfe",
\r
1623 "type": "get-resource",
\r
1624 "name": "get-resource network-resources-list",
\r
1625 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",
\r
1630 "z": "740154b1.db9c44",
\r
1640 "id": "c705fa11.095f6",
\r
1643 "xml": "<outcome value='Other'>\n",
\r
1648 "z": "740154b1.db9c44",
\r
1654 "id": "3e5ba73a.cfbd2",
\r
1655 "type": "not-found",
\r
1656 "name": "not-found",
\r
1657 "xml": "<outcome value='not-found'>\n",
\r
1662 "z": "740154b1.db9c44",
\r
1668 "id": "8367b97c.7cba2",
\r
1669 "type": "success",
\r
1670 "name": "success",
\r
1671 "xml": "<outcome value='success'>\n",
\r
1676 "z": "740154b1.db9c44",
\r
1682 "id": "a74fb526.bc5db",
\r
1684 "name": "for netwidx..allNetworksList_length",
\r
1685 "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
\r
1690 "z": "740154b1.db9c44",
\r
1698 "id": "e64f1c2c.75e2a8",
\r
1699 "type": "switchNode",
\r
1700 "name": "switch provider-id domainA",
\r
1701 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",
\r
1706 "z": "740154b1.db9c44",
\r
1709 "6f7c355b.5a1c94",
\r
1715 "id": "6f7c355b.5a1c94",
\r
1716 "type": "outcomeTrue",
\r
1718 "xml": "<outcome value='true'>\n",
\r
1723 "z": "740154b1.db9c44",
\r
1731 "id": "14708434.e61bac",
\r
1732 "type": "switchNode",
\r
1733 "name": "switch te-topo-id",
\r
1734 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",
\r
1739 "z": "740154b1.db9c44",
\r
1747 "id": "4944f354.0e26f4",
\r
1748 "type": "outcomeTrue",
\r
1750 "xml": "<outcome value='true'>\n",
\r
1755 "z": "740154b1.db9c44",
\r
1763 "id": "3ffd16fe.ae9d82",
\r
1765 "name": "set otnTopoIdSrc",
\r
1766 "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
1770 "z": "740154b1.db9c44",
\r
1774 "id": "49d801ae.f158f",
\r
1775 "type": "outcomeFalse",
\r
1777 "xml": "<outcome value='false'>\n",
\r
1782 "z": "740154b1.db9c44",
\r
1790 "id": "88e310ce.d70d1",
\r
1791 "type": "switchNode",
\r
1792 "name": "switch provider-id domainB",
\r
1793 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\n",
\r
1798 "z": "740154b1.db9c44",
\r
1801 "58122a1d.8684e4",
\r
1807 "id": "58122a1d.8684e4",
\r
1808 "type": "outcomeTrue",
\r
1810 "xml": "<outcome value='true'>\n",
\r
1815 "z": "740154b1.db9c44",
\r
1823 "id": "5772e567.b80a34",
\r
1824 "type": "switchNode",
\r
1825 "name": "switch te-topo-id",
\r
1826 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\n",
\r
1831 "z": "740154b1.db9c44",
\r
1839 "id": "2fb8eaf6.956b36",
\r
1840 "type": "outcomeTrue",
\r
1842 "xml": "<outcome value='true'>\n",
\r
1847 "z": "740154b1.db9c44",
\r
1855 "id": "3d7e803.580f08",
\r
1857 "name": "set otnTopoIdDst",
\r
1858 "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
1862 "z": "740154b1.db9c44",
\r
1866 "id": "4af9732c.943804",
\r
1868 "name": "unset parameters",
\r
1869 "xml": "<set>\n<!--<parameter name='`otn-oof`' value='' />-->\n<parameter name='otn-oof.' value='' />\n<!--<parameter name='`otn-oof.solutions`' value='' />-->\n<!--<parameter name='`otn-oof.solutions.`' value='' />-->\n<!--<parameter name='`otn-oof.solutions_length`' value='0' />-->",
\r
1873 "z": "740154b1.db9c44",
\r
1877 "id": "45b96535.5a3dac",
\r
1879 "name": "unset parameters",
\r
1880 "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
\r
1884 "z": "740154b1.db9c44",
\r
1888 "id": "1033844e.1fe0b4",
\r
1890 "name": "unset parameters",
\r
1891 "xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",
\r
1895 "z": "740154b1.db9c44",
\r
1899 "id": "644a4209.4c190c",
\r
1901 "name": "record otn-oof.",
\r
1902 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$otn-oof.`\"/>\n",
\r
1907 "z": "740154b1.db9c44",
\r
1913 "id": "d9004337.b1e7",
\r
1914 "type": "execute",
\r
1915 "name": "execute printContext",
\r
1916 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",
\r
1921 "z": "740154b1.db9c44",
\r
1927 "id": "752e7b91.ad42a4",
\r
1929 "name": "set filename",
\r
1930 "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainA-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='filenamemm' value=\"`$tmp.pce-src-node + $tmp.pce-dst-node + $tmp.pce-dst-node-backup`\" />",
\r
1934 "z": "740154b1.db9c44",
\r
1938 "id": "3cb3eb19.e7f8b4",
\r
1939 "type": "outcomeFalse",
\r
1941 "xml": "<outcome value='false'>\n",
\r
1946 "z": "740154b1.db9c44",
\r
1954 "id": "b16334e2.e8d148",
\r
1955 "type": "switchNode",
\r
1956 "name": "switch provider-id domainC",
\r
1957 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainC-pnfName[2]`'>\n",
\r
1962 "z": "740154b1.db9c44",
\r
1970 "id": "7d3fd43.e41d5ac",
\r
1971 "type": "outcomeTrue",
\r
1973 "xml": "<outcome value='true'>\n",
\r
1978 "z": "740154b1.db9c44",
\r
1986 "id": "e56fd0ad.9e01a8",
\r
1988 "name": "set otnTopoIdDstBackup",
\r
1989 "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
1992 "y": 435.0000305175781,
\r
1993 "z": "740154b1.db9c44",
\r
1997 "id": "7d6aaca7.ab1b4c",
\r
1999 "name": "unset parameters",
\r
2000 "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",
\r
2004 "z": "740154b1.db9c44",
\r
2008 "id": "441d97dd.ea8d",
\r
2010 "name": "set tmp.pce-dst-node-backup",
\r
2011 "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainB-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node-backup' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n $param-prefix-domainC-pnfName[1] + '-' +\n $param-prefix-domainC-pnfName[2] + '-' +\n $param-prefix-domainC-pnfName[3] + '-' +\n $param-prefix-domainC-pnfName[4] + '-' +\n $param-prefix-domainC-pnfName[5] + '-' +\n $otnTopoIdDstBackup + '-' +\n $param-prefix-domainC-pnfName[7] + '-' +\n $param-prefix-domainC-pnfName[8]`\" />",
\r
2015 "z": "740154b1.db9c44",
\r
2019 "id": "75c12230.00ef3c",
\r
2020 "type": "switchNode",
\r
2021 "name": "switch $hasSecondary",
\r
2022 "xml": "<switch test='`$hasSecondary`'>\n",
\r
2027 "z": "740154b1.db9c44",
\r
2036 "id": "bdfc5f0.5322ba",
\r
2037 "type": "outcomeTrue",
\r
2039 "xml": "<outcome value='true'>\n",
\r
2044 "z": "740154b1.db9c44",
\r
2052 "id": "ae417966.2eaf28",
\r
2055 "xml": "<block>\n",
\r
2056 "atomic": "false",
\r
2061 "z": "740154b1.db9c44",
\r
2069 "id": "89aa82c1.c2aec8",
\r
2070 "type": "outcomeTrue",
\r
2072 "xml": "<outcome value='false'>\n",
\r
2077 "z": "740154b1.db9c44",
\r
2085 "id": "50eccb47.89161c",
\r
2086 "type": "execute",
\r
2087 "name": "execute PCE in ccsdk/sli/core",
\r
2088 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n\n",
\r
2093 "z": "740154b1.db9c44",
\r
2097 "2d6f2f7c.332048",
\r
2103 "id": "e3a2c563.0a869",
\r
2106 "xml": "<outcome value='Other'>\n",
\r
2111 "z": "740154b1.db9c44",
\r
2117 "id": "2d6f2f7c.332048",
\r
2118 "type": "not-found",
\r
2119 "name": "not-found",
\r
2120 "xml": "<outcome value='not-found'>\n",
\r
2125 "z": "740154b1.db9c44",
\r
2131 "id": "b9b4d723.6c8fd",
\r
2132 "type": "success",
\r
2133 "name": "success",
\r
2134 "xml": "<outcome value='success'>\n",
\r
2139 "z": "740154b1.db9c44",
\r
2145 "id": "e1473f30.10032",
\r
2147 "name": "for vidx..otn-oof.secondarySolutions_length[]",
\r
2148 "xml": "<for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >",
\r
2153 "z": "740154b1.db9c44",
\r
2161 "id": "c89ad3b7.0e216",
\r
2163 "name": "block : atomic",
\r
2164 "xml": "<block atomic=\"true\">",
\r
2167 "x": 949.5272216796875,
\r
2168 "y": 2256.040771484375,
\r
2169 "z": "740154b1.db9c44",
\r
2173 "9a5ac465.6157d8",
\r
2181 "id": "80fa0c9d.1054f",
\r
2183 "name": "set otn-oof.link-name and etc.",
\r
2184 "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.secondarySolutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.secondarySolutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.secondarySolutions[$vidx].dst_node`' />",
\r
2186 "x": 1196.0272216796875,
\r
2187 "y": 2149.040771484375,
\r
2188 "z": "740154b1.db9c44",
\r
2192 "id": "deccca97.268a9",
\r
2194 "name": "block : atomic",
\r
2195 "xml": "<block atomic=\"true\">",
\r
2198 "x": 1162.5272216796875,
\r
2199 "y": 2337.7542724609375,
\r
2200 "z": "740154b1.db9c44",
\r
2203 "e3c2dcef.aae8f8",
\r
2209 "id": "9a5ac465.6157d8",
\r
2211 "name": "unset parameters",
\r
2212 "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='' />-->\n\n<parameter name='tmp.src-pnf-name' value='' />\n<parameter name='tmp.cross-link.' value='' />\n<parameter name='tmp.dst-pnf-name' value='' />\n<parameter name='tmp.aai.src-tp.' value='' />\n<parameter name='param-prefix-src-tp.' value='' />\n<parameter name='tmp.aai.src-pnf.' value='' />\n<parameter name='tmp.domain-A.network-id' value='' />\n<parameter name='tmp.aai.src-network-resource.' value='' />\n<parameter name='tmp.domain-A.ttp-id' value='' />\n<parameter name='tmp.aai.src-ttp.' value='' />\n\n<parameter name='tmp.aai.dst-tp.' value='' />\n<parameter name='param-prefix-dst-tp.' value='' />\n<parameter name='tmp.aai.dst-pnf.' value='' />\n<parameter name='tmp.domain-C.network-id' value='' />\n<parameter name='tmp.aai.dst-network-resource.' value='' />\n<parameter name='tmp.domain-C.ttp-id' value='' />\n<parameter name='tmp.aai.dst-ttp.' value='' />\n\n",
\r
2214 "x": 1187.027099609375,
\r
2215 "y": 2077.7542724609375,
\r
2216 "z": "740154b1.db9c44",
\r
2220 "id": "8065227b.cd4a2",
\r
2222 "name": "set src-ltpId",
\r
2223 "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].src_node`\" />\n",
\r
2225 "x": 1169.027099609375,
\r
2226 "y": 2208.7542724609375,
\r
2227 "z": "740154b1.db9c44",
\r
2231 "id": "b1aba60b.7f9e6",
\r
2233 "name": "set dst-ltpId",
\r
2234 "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].dst_node`\" />\n\n\n",
\r
2236 "x": 1170.027099609375,
\r
2237 "y": 2258.7542724609375,
\r
2238 "z": "740154b1.db9c44",
\r
2242 "id": "6e12f41a.3aad64",
\r
2243 "type": "success",
\r
2244 "name": "success",
\r
2245 "xml": "<outcome value='success'>\n",
\r
2248 "x": 2688.0269775390625,
\r
2249 "y": 2072.7542724609375,
\r
2250 "z": "740154b1.db9c44",
\r
2258 "id": "b5b16aa9.5e894",
\r
2259 "type": "not-found",
\r
2260 "name": "not-found",
\r
2261 "xml": "<outcome value='not-found'>\n",
\r
2264 "x": 2721.027099609375,
\r
2265 "y": 2130.7542724609375,
\r
2266 "z": "740154b1.db9c44",
\r
2274 "id": "4a01d696.8c8118",
\r
2277 "xml": "<outcome value='Other'>\n",
\r
2280 "x": 2724.027099609375,
\r
2281 "y": 2182.7542724609375,
\r
2282 "z": "740154b1.db9c44",
\r
2290 "id": "a9d16a27.d5676",
\r
2291 "type": "returnFailure",
\r
2292 "name": "return failure",
\r
2293 "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
2295 "x": 2906.027099609375,
\r
2296 "y": 2134.7542724609375,
\r
2297 "z": "740154b1.db9c44",
\r
2301 "id": "c1a7727e.a603d8",
\r
2302 "type": "returnFailure",
\r
2303 "name": "return failure",
\r
2304 "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
2306 "x": 2894.027099609375,
\r
2307 "y": 2185.7542724609375,
\r
2308 "z": "740154b1.db9c44",
\r
2312 "id": "40a1b2c.bbb3c4c",
\r
2314 "name": "for each relationship",
\r
2315 "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",
\r
2318 "x": 3039.4097900390625,
\r
2319 "y": 2068.4140014648438,
\r
2320 "z": "740154b1.db9c44",
\r
2328 "id": "64ce1fe.fe36ee",
\r
2329 "type": "switchNode",
\r
2330 "name": "switch related-to",
\r
2331 "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",
\r
2334 "x": 3291.4097900390625,
\r
2335 "y": 2065.4140014648438,
\r
2336 "z": "740154b1.db9c44",
\r
2344 "id": "5b6bf151.2d756",
\r
2347 "xml": "<block>\n",
\r
2348 "atomic": "false",
\r
2351 "x": 2822.0269775390625,
\r
2352 "y": 2068.7542724609375,
\r
2353 "z": "740154b1.db9c44",
\r
2361 "id": "55fb0c7e.571584",
\r
2362 "type": "get-resource",
\r
2363 "name": "get-resource src tp",
\r
2364 "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
2367 "x": 2490.527099609375,
\r
2368 "y": 2111.7542724609375,
\r
2369 "z": "740154b1.db9c44",
\r
2372 "6e12f41a.3aad64",
\r
2379 "id": "961bb541.fa238",
\r
2381 "name": "set domain A node ttp-id",
\r
2382 "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",
\r
2384 "x": 4024.5269775390625,
\r
2385 "y": 1987.7542724609375,
\r
2386 "z": "740154b1.db9c44",
\r
2390 "id": "1c9ed8f.1f298a7",
\r
2391 "type": "get-resource",
\r
2392 "name": "get-resource src TTP",
\r
2393 "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
2396 "x": 4032.5269775390625,
\r
2397 "y": 2039.7542724609375,
\r
2398 "z": "740154b1.db9c44",
\r
2406 "id": "c8884a5e.cff248",
\r
2407 "type": "success",
\r
2408 "name": "success",
\r
2409 "xml": "<outcome value='success'>\n",
\r
2412 "x": 4239.0269775390625,
\r
2413 "y": 2017.7542724609375,
\r
2414 "z": "740154b1.db9c44",
\r
2422 "id": "7222973f.63de28",
\r
2423 "type": "outcome",
\r
2424 "name": "tunnel-termination-point",
\r
2425 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2428 "x": 3576.6954345703125,
\r
2429 "y": 2066.2357788085938,
\r
2430 "z": "740154b1.db9c44",
\r
2438 "id": "9a193d4a.e0dcc8",
\r
2440 "name": "block : atomic",
\r
2441 "xml": "<block atomic=\"true\">",
\r
2444 "x": 3803.5269775390625,
\r
2445 "y": 2054.7542724609375,
\r
2446 "z": "740154b1.db9c44",
\r
2450 "1c9ed8f.1f298a7",
\r
2452 "63176143.c85c48",
\r
2458 "id": "ca161250.2600b",
\r
2460 "name": "block : atomic",
\r
2461 "xml": "<block atomic=\"true\">",
\r
2464 "x": 4414.0269775390625,
\r
2465 "y": 2013.7542724609375,
\r
2466 "z": "740154b1.db9c44",
\r
2474 "id": "8d06a9c9.1b85a",
\r
2475 "type": "get-resource",
\r
2476 "name": "get-resource src pnf",
\r
2477 "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
2480 "x": 3894.0269775390625,
\r
2481 "y": 1857.7542724609375,
\r
2482 "z": "740154b1.db9c44",
\r
2486 "e3871f94.a28688",
\r
2492 "id": "9a5fd1c3.7d763",
\r
2493 "type": "success",
\r
2494 "name": "success",
\r
2495 "xml": "<outcome value='success'>\n",
\r
2498 "x": 4089.527099609375,
\r
2499 "y": 1809.7542724609375,
\r
2500 "z": "740154b1.db9c44",
\r
2508 "id": "e3871f94.a28688",
\r
2509 "type": "not-found",
\r
2510 "name": "not-found",
\r
2511 "xml": "<outcome value='not-found'>\n",
\r
2514 "x": 4081.527099609375,
\r
2515 "y": 1864.7542724609375,
\r
2516 "z": "740154b1.db9c44",
\r
2524 "id": "67939630.c5f78",
\r
2527 "xml": "<outcome value='Other'>\n",
\r
2530 "x": 4086.527099609375,
\r
2531 "y": 1921.7542724609375,
\r
2532 "z": "740154b1.db9c44",
\r
2540 "id": "8ad73c5e.3d1f",
\r
2541 "type": "returnFailure",
\r
2542 "name": "return failure",
\r
2543 "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
2545 "x": 4238.527099609375,
\r
2546 "y": 1922.7542724609375,
\r
2547 "z": "740154b1.db9c44",
\r
2551 "id": "3c75373d.b0767",
\r
2552 "type": "returnFailure",
\r
2553 "name": "return failure",
\r
2554 "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
2556 "x": 4249.527099609375,
\r
2557 "y": 1867.7542724609375,
\r
2558 "z": "740154b1.db9c44",
\r
2562 "id": "7fb21e6a.21f63",
\r
2565 "xml": "<block>\n",
\r
2566 "atomic": "false",
\r
2569 "x": 4233.909423828125,
\r
2570 "y": 1807.4099426269531,
\r
2571 "z": "740154b1.db9c44",
\r
2574 "a55467d3.0aaea8",
\r
2580 "id": "a55467d3.0aaea8",
\r
2582 "name": "set domain A node-id and tpn",
\r
2583 "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\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",
\r
2585 "x": 4459.0269775390625,
\r
2586 "y": 1762.7542724609375,
\r
2587 "z": "740154b1.db9c44",
\r
2591 "id": "63176143.c85c48",
\r
2594 "xml": "<break>\n",
\r
2596 "x": 3981.0269775390625,
\r
2597 "y": 2104.7542724609375,
\r
2598 "z": "740154b1.db9c44",
\r
2602 "id": "87797c29.69366",
\r
2604 "name": "for each relationship",
\r
2605 "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",
\r
2608 "x": 4418.0269775390625,
\r
2609 "y": 1821.7542724609375,
\r
2610 "z": "740154b1.db9c44",
\r
2618 "id": "cef3ca9d.2c104",
\r
2619 "type": "execute",
\r
2620 "name": "execute split tp-id to get pnf-name",
\r
2621 "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=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\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
2624 "x": 3922.0269775390625,
\r
2625 "y": 1651.7542724609375,
\r
2626 "z": "740154b1.db9c44",
\r
2629 "51326991.7f2898",
\r
2635 "id": "d61d1517.27825",
\r
2636 "type": "failure",
\r
2637 "name": "success",
\r
2638 "xml": "<outcome value='success'>\n",
\r
2641 "x": 4143.0269775390625,
\r
2642 "y": 1619.7542724609375,
\r
2643 "z": "740154b1.db9c44",
\r
2651 "id": "51326991.7f2898",
\r
2652 "type": "failure",
\r
2653 "name": "failure",
\r
2654 "xml": "<outcome value='failure'>\n",
\r
2657 "x": 4143.0269775390625,
\r
2658 "y": 1666.7542724609375,
\r
2659 "z": "740154b1.db9c44",
\r
2667 "id": "8ed0c03d.565928",
\r
2669 "name": "block : atomic",
\r
2670 "xml": "<block atomic=\"true\">",
\r
2673 "x": 4308.0269775390625,
\r
2674 "y": 1616.7542724609375,
\r
2675 "z": "740154b1.db9c44",
\r
2683 "id": "14cffe9c.903701",
\r
2685 "name": "set domain-A.ltpId",
\r
2686 "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",
\r
2688 "x": 4490.0269775390625,
\r
2689 "y": 1620.7542724609375,
\r
2690 "z": "740154b1.db9c44",
\r
2694 "id": "a6e04e00.ffd96",
\r
2695 "type": "returnFailure",
\r
2696 "name": "return failure",
\r
2697 "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
2699 "x": 4310.0269775390625,
\r
2700 "y": 1666.7542724609375,
\r
2701 "z": "740154b1.db9c44",
\r
2705 "id": "cc685b27.bd32f",
\r
2706 "type": "comment",
\r
2707 "name": "Not useful anymore",
\r
2708 "info": "this domain-A.ltpId is not used anymore",
\r
2710 "x": 4533.0269775390625,
\r
2711 "y": 1596.7542724609375,
\r
2712 "z": "740154b1.db9c44",
\r
2716 "id": "258887d0.26df98",
\r
2718 "name": "set domain A tunnel tp ip",
\r
2719 "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />\n",
\r
2721 "x": 4675.0269775390625,
\r
2722 "y": 2010.7542724609375,
\r
2723 "z": "740154b1.db9c44",
\r
2727 "id": "7878d7b8.ad7df",
\r
2728 "type": "outcome",
\r
2729 "name": "network-resource",
\r
2730 "xml": "<outcome value='network-resource'>\n",
\r
2733 "x": 4816.0269775390625,
\r
2734 "y": 1825.7542724609375,
\r
2735 "z": "740154b1.db9c44",
\r
2743 "id": "58b11002.4131b",
\r
2744 "type": "switchNode",
\r
2745 "name": "switch related-to",
\r
2746 "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
\r
2749 "x": 4613.0269775390625,
\r
2750 "y": 1821.7542724609375,
\r
2751 "z": "740154b1.db9c44",
\r
2759 "id": "346dd4d8.896974",
\r
2761 "name": "block : atomic",
\r
2762 "xml": "<block atomic=\"true\">",
\r
2765 "x": 4993.0269775390625,
\r
2766 "y": 1817.7542724609375,
\r
2767 "z": "740154b1.db9c44",
\r
2771 "34802cc8.f036dc",
\r
2777 "id": "dd0e1ad2.389f1",
\r
2779 "name": "set domain A network-id",
\r
2780 "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
2782 "x": 5208.0269775390625,
\r
2783 "y": 1798.7542724609375,
\r
2784 "z": "740154b1.db9c44",
\r
2788 "id": "34802cc8.f036dc",
\r
2789 "type": "get-resource",
\r
2790 "name": "get-resource src network-resource",
\r
2791 "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
2794 "x": 5225.0269775390625,
\r
2795 "y": 1862.7542724609375,
\r
2796 "z": "740154b1.db9c44",
\r
2804 "id": "c18da62b.d46198",
\r
2805 "type": "success",
\r
2806 "name": "success",
\r
2807 "xml": "<outcome value='success'>\n",
\r
2810 "x": 5448.5269775390625,
\r
2811 "y": 1863.7542724609375,
\r
2812 "z": "740154b1.db9c44",
\r
2820 "id": "2a6e1402.9f26d4",
\r
2822 "name": "set domain A network-id, topo-id, client-id, etc",
\r
2823 "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<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 1`' />\n\n\n",
\r
2825 "x": 5713.0269775390625,
\r
2826 "y": 1852.7542724609375,
\r
2827 "z": "740154b1.db9c44",
\r
2831 "id": "83c1d591.e453a",
\r
2834 "xml": "<break>\n",
\r
2836 "x": 5152.0269775390625,
\r
2837 "y": 1915.7542724609375,
\r
2838 "z": "740154b1.db9c44",
\r
2842 "id": "57f7d786.5549e8",
\r
2845 "xml": "<break>\n",
\r
2847 "x": 2363.5269775390625,
\r
2848 "y": 2581.7542724609375,
\r
2849 "z": "740154b1.db9c44",
\r
2853 "id": "e3c2dcef.aae8f8",
\r
2854 "type": "get-resource",
\r
2855 "name": "get-resource dst tp",
\r
2856 "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
2859 "x": 2444.527099609375,
\r
2860 "y": 2477.7542724609375,
\r
2861 "z": "740154b1.db9c44",
\r
2865 "205abd09.598d9a",
\r
2871 "id": "8b9fb321.70992",
\r
2872 "type": "success",
\r
2873 "name": "success",
\r
2874 "xml": "<outcome value='success'>\n",
\r
2877 "x": 2667.0269775390625,
\r
2878 "y": 2619.7542724609375,
\r
2879 "z": "740154b1.db9c44",
\r
2887 "id": "205abd09.598d9a",
\r
2888 "type": "not-found",
\r
2889 "name": "not-found",
\r
2890 "xml": "<outcome value='not-found'>\n",
\r
2893 "x": 2651.0269775390625,
\r
2894 "y": 2670.7542724609375,
\r
2895 "z": "740154b1.db9c44",
\r
2903 "id": "79e9c51.a089fbc",
\r
2906 "xml": "<outcome value='Other'>\n",
\r
2909 "x": 2654.0269775390625,
\r
2910 "y": 2722.7542724609375,
\r
2911 "z": "740154b1.db9c44",
\r
2919 "id": "76686faa.840d7",
\r
2920 "type": "returnFailure",
\r
2921 "name": "return failure",
\r
2922 "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
2924 "x": 2824.0269775390625,
\r
2925 "y": 2725.7542724609375,
\r
2926 "z": "740154b1.db9c44",
\r
2930 "id": "46e04c65.2008ac",
\r
2931 "type": "returnFailure",
\r
2932 "name": "return failure",
\r
2933 "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
2935 "x": 2836.0269775390625,
\r
2936 "y": 2674.7542724609375,
\r
2937 "z": "740154b1.db9c44",
\r
2941 "id": "8589fea6.82485",
\r
2943 "name": "for each relationship",
\r
2944 "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",
\r
2947 "x": 3023.4097900390625,
\r
2948 "y": 2630.4140014648438,
\r
2949 "z": "740154b1.db9c44",
\r
2957 "id": "12c89e29.9e0a4a",
\r
2958 "type": "switchNode",
\r
2959 "name": "switch related-to",
\r
2960 "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",
\r
2963 "x": 3266.4097900390625,
\r
2964 "y": 2629.4140014648438,
\r
2965 "z": "740154b1.db9c44",
\r
2973 "id": "6279b5de.cc4ff4",
\r
2976 "xml": "<block>\n",
\r
2977 "atomic": "false",
\r
2980 "x": 2813.0269775390625,
\r
2981 "y": 2610.7542724609375,
\r
2982 "z": "740154b1.db9c44",
\r
2990 "id": "441cee99.bfaf",
\r
2991 "type": "outcome",
\r
2992 "name": "tunnel-termination-point",
\r
2993 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2996 "x": 3522.6954345703125,
\r
2997 "y": 2629.2357788085938,
\r
2998 "z": "740154b1.db9c44",
\r
3006 "id": "ee93bb7d.d7a6",
\r
3008 "name": "block : atomic",
\r
3009 "xml": "<block atomic=\"true\">",
\r
3012 "x": 3822.5269775390625,
\r
3013 "y": 2626.7542724609375,
\r
3014 "z": "740154b1.db9c44",
\r
3019 "a9d72cbf.011738",
\r
3020 "aba88a5.2928878",
\r
3026 "id": "7f181100.6e913",
\r
3028 "name": "set domain C node ttp-id",
\r
3029 "xml": "<set>\n<parameter name='tmp.domain-C.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",
\r
3031 "x": 4064.5269775390625,
\r
3032 "y": 2580.7542724609375,
\r
3033 "z": "740154b1.db9c44",
\r
3037 "id": "d5405c3b.2180e",
\r
3038 "type": "get-resource",
\r
3039 "name": "get-resource dst TTP",
\r
3040 "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-C.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",
\r
3043 "x": 4054.5269775390625,
\r
3044 "y": 2631.7542724609375,
\r
3045 "z": "740154b1.db9c44",
\r
3053 "id": "d43d5001.cef3c8",
\r
3054 "type": "success",
\r
3055 "name": "success",
\r
3056 "xml": "<outcome value='success'>\n",
\r
3059 "x": 4242.0269775390625,
\r
3060 "y": 2629.7542724609375,
\r
3061 "z": "740154b1.db9c44",
\r
3069 "id": "e0b1256e.3d7278",
\r
3071 "name": "block : atomic",
\r
3072 "xml": "<block atomic=\"true\">",
\r
3075 "x": 4431.0269775390625,
\r
3076 "y": 2618.7542724609375,
\r
3077 "z": "740154b1.db9c44",
\r
3085 "id": "aba88a5.2928878",
\r
3086 "type": "get-resource",
\r
3087 "name": "get-resource dst pnf",
\r
3088 "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
3091 "x": 3891.0269775390625,
\r
3092 "y": 2460.7542724609375,
\r
3093 "z": "740154b1.db9c44",
\r
3103 "id": "df513d92.eaab28",
\r
3104 "type": "success",
\r
3105 "name": "success",
\r
3106 "xml": "<outcome value='success'>\n",
\r
3109 "x": 4086.527099609375,
\r
3110 "y": 2412.7542724609375,
\r
3111 "z": "740154b1.db9c44",
\r
3119 "id": "84f6f122.84593",
\r
3120 "type": "not-found",
\r
3121 "name": "not-found",
\r
3122 "xml": "<outcome value='not-found'>\n",
\r
3125 "x": 4078.527099609375,
\r
3126 "y": 2467.7542724609375,
\r
3127 "z": "740154b1.db9c44",
\r
3135 "id": "dc3d15fa.81276",
\r
3138 "xml": "<outcome value='Other'>\n",
\r
3141 "x": 4083.527099609375,
\r
3142 "y": 2524.7542724609375,
\r
3143 "z": "740154b1.db9c44",
\r
3151 "id": "992d2ff.35fffd",
\r
3154 "xml": "<block>\n",
\r
3155 "atomic": "false",
\r
3158 "x": 4230.909423828125,
\r
3159 "y": 2410.409942626953,
\r
3160 "z": "740154b1.db9c44",
\r
3163 "faa22dd5.212148",
\r
3169 "id": "326a3ad9.081e7e",
\r
3170 "type": "returnFailure",
\r
3171 "name": "return failure",
\r
3172 "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
3174 "x": 4246.527099609375,
\r
3175 "y": 2470.7542724609375,
\r
3176 "z": "740154b1.db9c44",
\r
3180 "id": "a9233954.28abb8",
\r
3181 "type": "returnFailure",
\r
3182 "name": "return failure",
\r
3183 "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
3185 "x": 4235.527099609375,
\r
3186 "y": 2525.7542724609375,
\r
3187 "z": "740154b1.db9c44",
\r
3191 "id": "faa22dd5.212148",
\r
3193 "name": "set domain C node-id and tpn",
\r
3194 "xml": "<set>\n<parameter name='domain-C.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-C.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",
\r
3196 "x": 4440.0269775390625,
\r
3197 "y": 2377.7542724609375,
\r
3198 "z": "740154b1.db9c44",
\r
3202 "id": "a9d72cbf.011738",
\r
3205 "xml": "<break>\n",
\r
3207 "x": 4010.0269775390625,
\r
3208 "y": 2672.7542724609375,
\r
3209 "z": "740154b1.db9c44",
\r
3213 "id": "9949d4ef.001688",
\r
3215 "name": "for each relationship",
\r
3216 "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",
\r
3219 "x": 4419.0269775390625,
\r
3220 "y": 2428.7542724609375,
\r
3221 "z": "740154b1.db9c44",
\r
3229 "id": "ce4f5014.a0532",
\r
3230 "type": "execute",
\r
3231 "name": "execute split tp-id to get pnf-name",
\r
3232 "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
3235 "x": 3930.0269775390625,
\r
3236 "y": 2275.7542724609375,
\r
3237 "z": "740154b1.db9c44",
\r
3240 "3a973be3.1f749c",
\r
3246 "id": "bccf88ee.38b55",
\r
3247 "type": "failure",
\r
3248 "name": "success",
\r
3249 "xml": "<outcome value='success'>\n",
\r
3252 "x": 4151.0269775390625,
\r
3253 "y": 2243.7542724609375,
\r
3254 "z": "740154b1.db9c44",
\r
3262 "id": "3a973be3.1f749c",
\r
3263 "type": "failure",
\r
3264 "name": "failure",
\r
3265 "xml": "<outcome value='failure'>\n",
\r
3268 "x": 4151.0269775390625,
\r
3269 "y": 2290.7542724609375,
\r
3270 "z": "740154b1.db9c44",
\r
3278 "id": "f5e2899d.2e99e8",
\r
3280 "name": "block : atomic",
\r
3281 "xml": "<block atomic=\"true\">",
\r
3284 "x": 4316.0269775390625,
\r
3285 "y": 2240.7542724609375,
\r
3286 "z": "740154b1.db9c44",
\r
3294 "id": "aecbcfe0.6e5048",
\r
3296 "name": "set domain-C.ltpId",
\r
3297 "xml": "<set>\n<parameter name='domain-C.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",
\r
3299 "x": 4512.0269775390625,
\r
3300 "y": 2237.7542724609375,
\r
3301 "z": "740154b1.db9c44",
\r
3305 "id": "c9477994.8451e8",
\r
3306 "type": "returnFailure",
\r
3307 "name": "return failure",
\r
3308 "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
3310 "x": 4318.0269775390625,
\r
3311 "y": 2290.7542724609375,
\r
3312 "z": "740154b1.db9c44",
\r
3316 "id": "abda304.2cd6cd",
\r
3318 "name": "block : atomic",
\r
3319 "xml": "<block atomic=\"true\">",
\r
3322 "x": 5032.5269775390625,
\r
3323 "y": 2430.7542724609375,
\r
3324 "z": "740154b1.db9c44",
\r
3327 "5c6e614a.9cad28",
\r
3328 "37c15682.dfe52a",
\r
3334 "id": "8a710596.36ea6",
\r
3335 "type": "outcome",
\r
3336 "name": "network-resource",
\r
3337 "xml": "<outcome value='network-resource'>\n",
\r
3340 "x": 4819.5269775390625,
\r
3341 "y": 2429.7542724609375,
\r
3342 "z": "740154b1.db9c44",
\r
3350 "id": "2dbd68c.e7c9e98",
\r
3352 "name": "set domain C tunnel tp id",
\r
3353 "xml": "<set>\n<parameter name='domain-C.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",
\r
3355 "x": 4664.0269775390625,
\r
3356 "y": 2617.7542724609375,
\r
3357 "z": "740154b1.db9c44",
\r
3361 "id": "b61d11ba.55b168",
\r
3362 "type": "switchNode",
\r
3363 "name": "switch related-to",
\r
3364 "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
\r
3367 "x": 4614.0269775390625,
\r
3368 "y": 2428.7542724609375,
\r
3369 "z": "740154b1.db9c44",
\r
3377 "id": "ea1db027.01377",
\r
3380 "xml": "<break>\n",
\r
3382 "x": 5238.0269775390625,
\r
3383 "y": 2508.7542724609375,
\r
3384 "z": "740154b1.db9c44",
\r
3388 "id": "12cd95a6.c3a7d2",
\r
3389 "type": "comment",
\r
3390 "name": "Not useful anymore",
\r
3391 "info": "this domain-B.ltpId is not used anymore",
\r
3393 "x": 4555.0269775390625,
\r
3394 "y": 2209.7542724609375,
\r
3395 "z": "740154b1.db9c44",
\r
3399 "id": "5c6e614a.9cad28",
\r
3401 "name": "set domain C network-id",
\r
3402 "xml": "<set>\n<parameter name='tmp.domain-C.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",
\r
3404 "x": 5302.5269775390625,
\r
3405 "y": 2406.7542724609375,
\r
3406 "z": "740154b1.db9c44",
\r
3410 "id": "37c15682.dfe52a",
\r
3411 "type": "get-resource",
\r
3412 "name": "get-resource dst network-resource",
\r
3413 "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-C.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",
\r
3416 "x": 5312.5269775390625,
\r
3417 "y": 2452.7542724609375,
\r
3418 "z": "740154b1.db9c44",
\r
3426 "id": "826de71a.33a62",
\r
3427 "type": "success",
\r
3428 "name": "success",
\r
3429 "xml": "<outcome value='success'>\n",
\r
3432 "x": 5528.0269775390625,
\r
3433 "y": 2443.7542724609375,
\r
3434 "z": "740154b1.db9c44",
\r
3442 "id": "2f251a3.863a066",
\r
3444 "name": "set domain B network-id, topo-id, client-id, etc",
\r
3445 "xml": "<set>\n<parameter name='domain-C.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-C.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-C.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-C.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-C.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 2`' />",
\r
3447 "x": 5782.5269775390625,
\r
3448 "y": 2449.7542724609375,
\r
3449 "z": "740154b1.db9c44",
\r
3453 "id": "825fbafd.18c12",
\r
3454 "type": "switchNode",
\r
3455 "name": "switch $hasSecondary",
\r
3456 "xml": "<switch test='`$hasSecondary`'>\n",
\r
3459 "x": 2689.199951171875,
\r
3460 "y": 268.0833282470703,
\r
3461 "z": "740154b1.db9c44",
\r
3470 "id": "88dc17ca.c3603",
\r
3471 "type": "outcomeTrue",
\r
3473 "xml": "<outcome value='true'>\n",
\r
3476 "x": 2880.199951171875,
\r
3477 "y": 272.0833282470703,
\r
3478 "z": "740154b1.db9c44",
\r
3486 "id": "85988dae.be2118",
\r
3489 "xml": "<block>\n",
\r
3490 "atomic": "false",
\r
3493 "x": 3007.199951171875,
\r
3494 "y": 271.0833282470703,
\r
3495 "z": "740154b1.db9c44",
\r
3503 "id": "1486884a.a84de",
\r
3504 "type": "switchNode",
\r
3505 "name": "switch 2-ROOTS in same domain?",
\r
3506 "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",
\r
3509 "x": 3230.083251953125,
\r
3510 "y": 265.9666442871094,
\r
3511 "z": "740154b1.db9c44",
\r
3520 "id": "baa46e2a.1397b",
\r
3521 "type": "outcomeTrue",
\r
3523 "xml": "<outcome value='true'>\n",
\r
3526 "x": 3437.083251953125,
\r
3527 "y": 202.96664428710938,
\r
3528 "z": "740154b1.db9c44",
\r
3536 "id": "5009aa1a.49b42c",
\r
3537 "type": "outcomeTrue",
\r
3539 "xml": "<outcome value='false'>\n",
\r
3542 "x": 3367.083251953125,
\r
3543 "y": 393.9666748046875,
\r
3544 "z": "740154b1.db9c44",
\r
3552 "id": "9723b3.a56f645",
\r
3555 "xml": "<block>\n",
\r
3556 "atomic": "false",
\r
3559 "x": 3579.083251953125,
\r
3560 "y": 192.96664428710938,
\r
3561 "z": "740154b1.db9c44",
\r
3564 "74ae9ae0.0891cc",
\r
3570 "id": "9e442fe7.197ca8",
\r
3573 "xml": "<block>\n",
\r
3574 "atomic": "false",
\r
3577 "x": 3493.083251953125,
\r
3578 "y": 393.9666748046875,
\r
3579 "z": "740154b1.db9c44",
\r
3587 "id": "821af63c.9d499",
\r
3590 "xml": "<block>\n",
\r
3591 "atomic": "false",
\r
3594 "x": 2489.966796875,
\r
3595 "y": 271.0833435058594,
\r
3596 "z": "740154b1.db9c44",
\r
3604 "id": "d63ef024.cfef08",
\r
3605 "type": "outcomeTrue",
\r
3607 "xml": "<outcome value='false'>\n",
\r
3610 "x": 2884.933349609375,
\r
3611 "y": 224.0833282470703,
\r
3612 "z": "740154b1.db9c44",
\r
3620 "id": "74ae9ae0.0891cc",
\r
3622 "name": "set otnTopoIdDst",
\r
3623 "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
3625 "x": 3737.666748046875,
\r
3626 "y": 172.0833282470703,
\r
3627 "z": "740154b1.db9c44",
\r
3631 "id": "a08d8202.0e48d8",
\r
3633 "name": "set otnTopoIdDstBackup",
\r
3634 "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
3636 "x": 3759.666748046875,
\r
3637 "y": 220.0833282470703,
\r
3638 "z": "740154b1.db9c44",
\r
3642 "id": "7af5d9ce.fbbb7",
\r
3644 "name": "set otnTopoIdDst",
\r
3645 "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
3647 "x": 3663.666748046875,
\r
3648 "y": 394.0833435058594,
\r
3649 "z": "740154b1.db9c44",
\r
3653 "id": "dccf569f.2f16c",
\r
3656 "xml": "<block>\n",
\r
3657 "atomic": "false",
\r
3660 "x": 2558.683349609375,
\r
3661 "y": 345.8833312988281,
\r
3662 "z": "740154b1.db9c44",
\r
3670 "id": "bb64af5d.7bf708",
\r
3671 "type": "switchNode",
\r
3672 "name": "switch $hasSecondary",
\r
3673 "xml": "<switch test='`$hasSecondary`'>\n",
\r
3676 "x": 2757.91650390625,
\r
3677 "y": 342.88331604003906,
\r
3678 "z": "740154b1.db9c44",
\r
3686 "id": "c6cf934.ca6387",
\r
3687 "type": "outcomeTrue",
\r
3689 "xml": "<outcome value='true'>\n",
\r
3692 "x": 2948.91650390625,
\r
3693 "y": 346.88331604003906,
\r
3694 "z": "740154b1.db9c44",
\r
3702 "id": "84398364.2e39d",
\r
3705 "xml": "<block>\n",
\r
3706 "atomic": "false",
\r
3709 "x": 3075.91650390625,
\r
3710 "y": 345.88331604003906,
\r
3711 "z": "740154b1.db9c44",
\r
3717 "id": "cdc2b636.8886c8",
\r
3718 "type": "switchNode",
\r
3719 "name": "switch secondarySolutions empty?",
\r
3720 "xml": "<switch test='`length($otn-oof.secondarySolutions) == 0`'>\n\n",
\r
3723 "x": 1419.566650390625,
\r
3724 "y": 1649.566650390625,
\r
3725 "z": "740154b1.db9c44",
\r
3734 "id": "930ebbc8.d33d1",
\r
3735 "type": "outcomeTrue",
\r
3737 "xml": "<outcome value='true'>\n",
\r
3740 "x": 1645.4666748046875,
\r
3741 "y": 1621.566650390625,
\r
3742 "z": "740154b1.db9c44",
\r
3750 "id": "e9824426.b9b25",
\r
3751 "type": "outcomeFalse",
\r
3753 "xml": "<outcome value='false'>\n",
\r
3756 "x": 1643.4666748046875,
\r
3757 "y": 1671.566650390625,
\r
3758 "z": "740154b1.db9c44",
\r
3764 "id": "82cb40cb.6ece7",
\r
3767 "xml": "<block>\n",
\r
3768 "atomic": "false",
\r
3771 "x": 1787.566650390625,
\r
3772 "y": 1621.566650390625,
\r
3773 "z": "740154b1.db9c44",
\r
3779 "id": "7d4b4351.930cbc",
\r
3780 "type": "switchNode",
\r
3781 "name": "switch $hasSecondary",
\r
3782 "xml": "<switch test='`$hasSecondary`'>\n",
\r
3785 "x": 798.4666748046875,
\r
3786 "y": 1838.566650390625,
\r
3787 "z": "740154b1.db9c44",
\r
3795 "id": "9310b044.9b3228",
\r
3796 "type": "outcomeTrue",
\r
3798 "xml": "<outcome value='true'>\n",
\r
3801 "x": 984.4666748046875,
\r
3802 "y": 1839.566650390625,
\r
3803 "z": "740154b1.db9c44",
\r
3811 "id": "40a7bba6.ae5b54",
\r
3814 "xml": "<block>\n",
\r
3815 "atomic": "false",
\r
3818 "x": 1114.4666748046875,
\r
3819 "y": 1839.566650390625,
\r
3820 "z": "740154b1.db9c44",
\r