3 "id": "55da1918.a645e",
\r
7 "x": 271.566650390625,
\r
8 "y": 122.56666564941406,
\r
9 "z": "a133aed2.437bc",
\r
17 "id": "1bc5ef1e.555379",
\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
25 "x": 418.566650390625,
\r
26 "y": 697.5666809082031,
\r
27 "z": "a133aed2.437bc",
\r
35 "id": "72a47d96.f0464c",
\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": 482.5667724609375,
\r
42 "y": 790.5666656494141,
\r
43 "z": "a133aed2.437bc",
\r
51 "id": "c7e5fdd1.51b5a",
\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": 528.5397186279297,
\r
58 "y": 309.56266593933105,
\r
59 "z": "a133aed2.437bc",
\r
68 "id": "d6e108d2.5fc108",
\r
71 "xml": "<outcome value='success'>\n",
\r
74 "x": 768.5398597717285,
\r
75 "y": 333.56263542175293,
\r
76 "z": "a133aed2.437bc",
\r
84 "id": "1749300b.377e9",
\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": 938.5397796630859,
\r
90 "y": 273.5627269744873,
\r
91 "z": "a133aed2.437bc",
\r
95 "id": "c846370c.449d6",
\r
98 "xml": "<outcome value='failure'>\n",
\r
101 "x": 767.5396461486816,
\r
102 "y": 282.562726020813,
\r
103 "z": "a133aed2.437bc",
\r
111 "id": "aabf6007.38015",
\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": 500.04351806640625,
\r
117 "y": 265.56666564941406,
\r
118 "z": "a133aed2.437bc",
\r
122 "id": "66a1cd55.f26304",
\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": 956.53955078125,
\r
129 "y": 758.8123931884766,
\r
130 "z": "a133aed2.437bc",
\r
138 "id": "b912adec.34afe",
\r
140 "name": "Loop through OTN links",
\r
143 "x": 1040.0398559570312,
\r
144 "y": 838.3127593994141,
\r
145 "z": "a133aed2.437bc",
\r
149 "id": "34bde7e7.01eac8",
\r
151 "name": "block : atomic",
\r
152 "xml": "<block atomic=\"true\">",
\r
155 "x": 1061.0667724609375,
\r
156 "y": 949.8531646728516,
\r
157 "z": "a133aed2.437bc",
\r
169 "id": "7334f4ec.cbdcec",
\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": 1307.5667724609375,
\r
175 "y": 842.8531646728516,
\r
176 "z": "a133aed2.437bc",
\r
180 "id": "33dac520.fd9612",
\r
183 "xml": "<block>\n",
\r
187 "x": 913.5669059753418,
\r
188 "y": 331.30812072753906,
\r
189 "z": "a133aed2.437bc",
\r
195 "id": "34c3e8c4.75c3c8",
\r
197 "name": "block : atomic",
\r
198 "xml": "<block atomic=\"true\">",
\r
201 "x": 723.5355339050293,
\r
202 "y": 717.3083028793335,
\r
203 "z": "a133aed2.437bc",
\r
214 "id": "4f42b7a6.ec3be8",
\r
217 "xml": "<break>\n",
\r
219 "x": 2475.0665283203125,
\r
220 "y": 1275.566665649414,
\r
221 "z": "a133aed2.437bc",
\r
225 "id": "f61d745e.897b28",
\r
227 "name": "block : atomic",
\r
228 "xml": "<block atomic=\"true\">",
\r
231 "x": 1274.0667724609375,
\r
232 "y": 1031.566665649414,
\r
233 "z": "a133aed2.437bc",
\r
242 "id": "d41411aa.2fbe08",
\r
245 "xml": "<outcome value='success'>\n",
\r
248 "x": 2799.5665283203125,
\r
249 "y": 766.5666656494141,
\r
250 "z": "a133aed2.437bc",
\r
258 "id": "ec1c7dff.7ed9c",
\r
259 "type": "not-found",
\r
260 "name": "not-found",
\r
261 "xml": "<outcome value='not-found'>\n",
\r
264 "x": 2832.566650390625,
\r
265 "y": 824.5666656494141,
\r
266 "z": "a133aed2.437bc",
\r
274 "id": "593d14b8.4d3af4",
\r
277 "xml": "<outcome value='Other'>\n",
\r
280 "x": 2835.566650390625,
\r
281 "y": 876.5666656494141,
\r
282 "z": "a133aed2.437bc",
\r
290 "id": "6a0b9275.25af84",
\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
295 "x": 3017.566650390625,
\r
296 "y": 828.5666656494141,
\r
297 "z": "a133aed2.437bc",
\r
301 "id": "7711b881.aaafb8",
\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
306 "x": 3005.566650390625,
\r
307 "y": 879.5666656494141,
\r
308 "z": "a133aed2.437bc",
\r
312 "id": "c385141d.3475d8",
\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": 4136.0665283203125,
\r
318 "y": 681.5666656494141,
\r
319 "z": "a133aed2.437bc",
\r
323 "id": "8b31beaa.98c0f8",
\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": 4144.0665283203125,
\r
330 "y": 733.5666656494141,
\r
331 "z": "a133aed2.437bc",
\r
339 "id": "d767d020.bad1e",
\r
342 "xml": "<outcome value='success'>\n",
\r
345 "x": 4350.5665283203125,
\r
346 "y": 711.5666656494141,
\r
347 "z": "a133aed2.437bc",
\r
355 "id": "a5ba7946.9385e8",
\r
357 "name": "tunnel-termination-point",
\r
358 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
361 "x": 3688.2349853515625,
\r
362 "y": 760.0481719970703,
\r
363 "z": "a133aed2.437bc",
\r
371 "id": "dd30a478.a8f71",
\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": 3150.9493408203125,
\r
378 "y": 762.2263946533203,
\r
379 "z": "a133aed2.437bc",
\r
387 "id": "d8739293.dd811",
\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": 3402.9493408203125,
\r
394 "y": 759.2263946533203,
\r
395 "z": "a133aed2.437bc",
\r
403 "id": "325b8414.0a0f7c",
\r
405 "name": "block : atomic",
\r
406 "xml": "<block atomic=\"true\">",
\r
409 "x": 3915.0665283203125,
\r
410 "y": 748.5666656494141,
\r
411 "z": "a133aed2.437bc",
\r
423 "id": "edcf8a17.3c1388",
\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
429 "x": 2556.066650390625,
\r
430 "y": 1171.566665649414,
\r
431 "z": "a133aed2.437bc",
\r
441 "id": "966cd988.263208",
\r
444 "xml": "<outcome value='success'>\n",
\r
447 "x": 2778.5665283203125,
\r
448 "y": 1313.566665649414,
\r
449 "z": "a133aed2.437bc",
\r
457 "id": "2f0ba896.1bff08",
\r
458 "type": "not-found",
\r
459 "name": "not-found",
\r
460 "xml": "<outcome value='not-found'>\n",
\r
463 "x": 2762.5665283203125,
\r
464 "y": 1364.566665649414,
\r
465 "z": "a133aed2.437bc",
\r
473 "id": "5512ef83.d0409",
\r
476 "xml": "<outcome value='Other'>\n",
\r
479 "x": 2765.5665283203125,
\r
480 "y": 1416.566665649414,
\r
481 "z": "a133aed2.437bc",
\r
489 "id": "f1dc200a.0079b8",
\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": 2935.5665283203125,
\r
495 "y": 1419.566665649414,
\r
496 "z": "a133aed2.437bc",
\r
500 "id": "dc2d6a40.545b28",
\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": 2947.5665283203125,
\r
506 "y": 1368.566665649414,
\r
507 "z": "a133aed2.437bc",
\r
511 "id": "eda7d352.9073e",
\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": 3134.9493408203125,
\r
518 "y": 1324.2263946533203,
\r
519 "z": "a133aed2.437bc",
\r
527 "id": "3127fdbc.48d8ba",
\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": 3377.9493408203125,
\r
534 "y": 1323.2263946533203,
\r
535 "z": "a133aed2.437bc",
\r
543 "id": "2bfd4c7b.7322cc",
\r
545 "name": "block : atomic",
\r
546 "xml": "<block atomic=\"true\">",
\r
549 "x": 5144.0665283203125,
\r
550 "y": 1124.566665649414,
\r
551 "z": "a133aed2.437bc",
\r
561 "id": "1629bb11.b51185",
\r
563 "name": "tunnel-termination-point",
\r
564 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
567 "x": 3634.2349853515625,
\r
568 "y": 1323.0481719970703,
\r
569 "z": "a133aed2.437bc",
\r
577 "id": "a4a4d9de.8b1e5",
\r
579 "name": "network-resource",
\r
580 "xml": "<outcome value='network-resource'>\n",
\r
583 "x": 4931.0665283203125,
\r
584 "y": 1123.566665649414,
\r
585 "z": "a133aed2.437bc",
\r
593 "id": "1697afc2.a7d658",
\r
595 "name": "block : atomic",
\r
596 "xml": "<block atomic=\"true\">",
\r
599 "x": 3934.0665283203125,
\r
600 "y": 1320.566665649414,
\r
601 "z": "a133aed2.437bc",
\r
613 "id": "64565dd0.7224d4",
\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": 4176.0665283203125,
\r
619 "y": 1274.566665649414,
\r
620 "z": "a133aed2.437bc",
\r
624 "id": "60e5c227.98dd4c",
\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": 4166.0665283203125,
\r
631 "y": 1325.566665649414,
\r
632 "z": "a133aed2.437bc",
\r
640 "id": "1423a8aa.1e5bbf",
\r
643 "xml": "<outcome value='success'>\n",
\r
646 "x": 4353.5665283203125,
\r
647 "y": 1323.566665649414,
\r
648 "z": "a133aed2.437bc",
\r
656 "id": "83a9dba4.165df8",
\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": 5414.0665283203125,
\r
662 "y": 1100.566665649414,
\r
663 "z": "a133aed2.437bc",
\r
667 "id": "213b5817.319d6",
\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": 5424.0665283203125,
\r
674 "y": 1146.566665649414,
\r
675 "z": "a133aed2.437bc",
\r
683 "id": "93d4670b.467a7",
\r
686 "xml": "<outcome value='success'>\n",
\r
689 "x": 5639.5665283203125,
\r
690 "y": 1137.566665649414,
\r
691 "z": "a133aed2.437bc",
\r
699 "id": "3c1a17a3.7c5698",
\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": 5894.0665283203125,
\r
705 "y": 1143.566665649414,
\r
706 "z": "a133aed2.437bc",
\r
710 "id": "1b874a77.cb23d6",
\r
713 "xml": "<block>\n",
\r
717 "x": 2933.5665283203125,
\r
718 "y": 762.5666656494141,
\r
719 "z": "a133aed2.437bc",
\r
727 "id": "d01135ac.6fb8",
\r
730 "xml": "<block>\n",
\r
734 "x": 2924.5665283203125,
\r
735 "y": 1304.566665649414,
\r
736 "z": "a133aed2.437bc",
\r
744 "id": "d5ff040e.d2f8b",
\r
746 "name": "block : atomic",
\r
747 "xml": "<block atomic=\"true\">",
\r
750 "x": 4525.5665283203125,
\r
751 "y": 707.5666656494141,
\r
752 "z": "a133aed2.437bc",
\r
760 "id": "fe536508.3d42a8",
\r
762 "name": "block : atomic",
\r
763 "xml": "<block atomic=\"true\">",
\r
766 "x": 4542.5665283203125,
\r
767 "y": 1312.566665649414,
\r
768 "z": "a133aed2.437bc",
\r
776 "id": "21981b27.dc0a0c",
\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
782 "x": 2602.066650390625,
\r
783 "y": 805.5666656494141,
\r
784 "z": "a133aed2.437bc",
\r
794 "id": "9cb3666f.fe6288",
\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": 4005.5665283203125,
\r
801 "y": 551.5666656494141,
\r
802 "z": "a133aed2.437bc",
\r
812 "id": "2d596f92.386da",
\r
815 "xml": "<outcome value='success'>\n",
\r
818 "x": 4201.066650390625,
\r
819 "y": 503.56666564941406,
\r
820 "z": "a133aed2.437bc",
\r
828 "id": "b8bb35c7.68022",
\r
829 "type": "not-found",
\r
830 "name": "not-found",
\r
831 "xml": "<outcome value='not-found'>\n",
\r
834 "x": 4193.066650390625,
\r
835 "y": 558.5666656494141,
\r
836 "z": "a133aed2.437bc",
\r
844 "id": "50dbd465.907d94",
\r
847 "xml": "<outcome value='Other'>\n",
\r
850 "x": 4198.066650390625,
\r
851 "y": 615.5666656494141,
\r
852 "z": "a133aed2.437bc",
\r
860 "id": "7c7e6039.479ca8",
\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
865 "x": 4350.066650390625,
\r
866 "y": 616.5666656494141,
\r
867 "z": "a133aed2.437bc",
\r
871 "id": "def9d226.6d2cf8",
\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
876 "x": 4361.066650390625,
\r
877 "y": 561.5666656494141,
\r
878 "z": "a133aed2.437bc",
\r
882 "id": "7b9cb223.733344",
\r
885 "xml": "<block>\n",
\r
889 "x": 4345.448974609375,
\r
890 "y": 501.2223358154297,
\r
891 "z": "a133aed2.437bc",
\r
900 "id": "726f1c43.81de24",
\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": 4570.5665283203125,
\r
906 "y": 456.56666564941406,
\r
907 "z": "a133aed2.437bc",
\r
911 "id": "cc03f562.203da8",
\r
914 "xml": "<break>\n",
\r
916 "x": 4092.5665283203125,
\r
917 "y": 798.5666656494141,
\r
918 "z": "a133aed2.437bc",
\r
922 "id": "7a85cdc9.21de74",
\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": 4786.5665283203125,
\r
928 "y": 704.5666656494141,
\r
929 "z": "a133aed2.437bc",
\r
933 "id": "1e08769.d5ce909",
\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": 4002.5665283203125,
\r
940 "y": 1154.566665649414,
\r
941 "z": "a133aed2.437bc",
\r
951 "id": "aa0e1591.186978",
\r
954 "xml": "<outcome value='success'>\n",
\r
957 "x": 4198.066650390625,
\r
958 "y": 1106.566665649414,
\r
959 "z": "a133aed2.437bc",
\r
967 "id": "7bc68f65.9bf008",
\r
968 "type": "not-found",
\r
969 "name": "not-found",
\r
970 "xml": "<outcome value='not-found'>\n",
\r
973 "x": 4190.066650390625,
\r
974 "y": 1161.566665649414,
\r
975 "z": "a133aed2.437bc",
\r
983 "id": "1a2b49d5.b5a17e",
\r
986 "xml": "<outcome value='Other'>\n",
\r
989 "x": 4195.066650390625,
\r
990 "y": 1218.566665649414,
\r
991 "z": "a133aed2.437bc",
\r
999 "id": "d1b079c.9297d08",
\r
1002 "xml": "<block>\n",
\r
1003 "atomic": "false",
\r
1006 "x": 4342.448974609375,
\r
1007 "y": 1104.2223358154297,
\r
1008 "z": "a133aed2.437bc",
\r
1011 "86d91eb8.1d4188",
\r
1017 "id": "2daddcb3.194964",
\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
1022 "x": 4358.066650390625,
\r
1023 "y": 1164.566665649414,
\r
1024 "z": "a133aed2.437bc",
\r
1028 "id": "ec80c220.eda94",
\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
1033 "x": 4347.066650390625,
\r
1034 "y": 1219.566665649414,
\r
1035 "z": "a133aed2.437bc",
\r
1039 "id": "86d91eb8.1d4188",
\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": 4551.5665283203125,
\r
1045 "y": 1071.566665649414,
\r
1046 "z": "a133aed2.437bc",
\r
1050 "id": "aa1de99e.ebfdb8",
\r
1053 "xml": "<break>\n",
\r
1055 "x": 4121.5665283203125,
\r
1056 "y": 1366.566665649414,
\r
1057 "z": "a133aed2.437bc",
\r
1061 "id": "7f789c56.73a404",
\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": 4775.5665283203125,
\r
1067 "y": 1311.566665649414,
\r
1068 "z": "a133aed2.437bc",
\r
1072 "id": "4af47e1.d24b48",
\r
1073 "type": "outcome",
\r
1074 "name": "network-resource",
\r
1075 "xml": "<outcome value='network-resource'>\n",
\r
1078 "x": 4927.5665283203125,
\r
1079 "y": 519.5666656494141,
\r
1080 "z": "a133aed2.437bc",
\r
1088 "id": "4f3cf505.2fca3c",
\r
1090 "name": "block : atomic",
\r
1091 "xml": "<block atomic=\"true\">",
\r
1094 "x": 5104.5665283203125,
\r
1095 "y": 511.56666564941406,
\r
1096 "z": "a133aed2.437bc",
\r
1099 "3a45344a.82c99c",
\r
1100 "6a555c5c.0d6d94",
\r
1106 "id": "3a45344a.82c99c",
\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": 5319.5665283203125,
\r
1112 "y": 492.56666564941406,
\r
1113 "z": "a133aed2.437bc",
\r
1117 "id": "6a555c5c.0d6d94",
\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": 5336.5665283203125,
\r
1124 "y": 556.5666656494141,
\r
1125 "z": "a133aed2.437bc",
\r
1133 "id": "12908a50.109196",
\r
1134 "type": "success",
\r
1135 "name": "success",
\r
1136 "xml": "<outcome value='success'>\n",
\r
1139 "x": 5560.0665283203125,
\r
1140 "y": 557.5666656494141,
\r
1141 "z": "a133aed2.437bc",
\r
1149 "id": "d7f6c969.bf14a8",
\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": 5824.5665283203125,
\r
1155 "y": 546.5666656494141,
\r
1156 "z": "a133aed2.437bc",
\r
1160 "id": "6baa44bf.896aa4",
\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": 4529.5665283203125,
\r
1167 "y": 515.5666656494141,
\r
1168 "z": "a133aed2.437bc",
\r
1176 "id": "c5bce932.312ae8",
\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": 4724.5665283203125,
\r
1183 "y": 515.5666656494141,
\r
1184 "z": "a133aed2.437bc",
\r
1192 "id": "bc9971ad.98e16",
\r
1195 "xml": "<break>\n",
\r
1197 "x": 5263.5665283203125,
\r
1198 "y": 609.5666656494141,
\r
1199 "z": "a133aed2.437bc",
\r
1203 "id": "ccc8b0e3.aa30a",
\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": 4530.5665283203125,
\r
1210 "y": 1122.566665649414,
\r
1211 "z": "a133aed2.437bc",
\r
1219 "id": "2505107d.3aa54",
\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": 4725.5665283203125,
\r
1226 "y": 1122.566665649414,
\r
1227 "z": "a133aed2.437bc",
\r
1235 "id": "eacf08ed.9b6908",
\r
1238 "xml": "<break>\n",
\r
1240 "x": 5349.5665283203125,
\r
1241 "y": 1202.566665649414,
\r
1242 "z": "a133aed2.437bc",
\r
1246 "id": "b538ddb.0ac7ba",
\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": 4033.5665283203125,
\r
1253 "y": 345.56666564941406,
\r
1254 "z": "a133aed2.437bc",
\r
1257 "e05ff3f0.c79818",
\r
1263 "id": "bfafe917.9e0828",
\r
1264 "type": "failure",
\r
1265 "name": "success",
\r
1266 "xml": "<outcome value='success'>\n",
\r
1269 "x": 4254.5665283203125,
\r
1270 "y": 313.56666564941406,
\r
1271 "z": "a133aed2.437bc",
\r
1279 "id": "e05ff3f0.c79818",
\r
1280 "type": "failure",
\r
1281 "name": "failure",
\r
1282 "xml": "<outcome value='failure'>\n",
\r
1285 "x": 4254.5665283203125,
\r
1286 "y": 360.56666564941406,
\r
1287 "z": "a133aed2.437bc",
\r
1295 "id": "984c7f99.dba1f8",
\r
1297 "name": "block : atomic",
\r
1298 "xml": "<block atomic=\"true\">",
\r
1301 "x": 4419.5665283203125,
\r
1302 "y": 310.56666564941406,
\r
1303 "z": "a133aed2.437bc",
\r
1311 "id": "1167b845.d3eb88",
\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": 4601.5665283203125,
\r
1317 "y": 314.56666564941406,
\r
1318 "z": "a133aed2.437bc",
\r
1322 "id": "ab85b68d.00fab8",
\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": 4421.5665283203125,
\r
1328 "y": 360.56666564941406,
\r
1329 "z": "a133aed2.437bc",
\r
1333 "id": "19848a3.1ad4df6",
\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": 4041.5665283203125,
\r
1340 "y": 969.5666656494141,
\r
1341 "z": "a133aed2.437bc",
\r
1350 "id": "f49b197.760f268",
\r
1351 "type": "failure",
\r
1352 "name": "success",
\r
1353 "xml": "<outcome value='success'>\n",
\r
1356 "x": 4262.5665283203125,
\r
1357 "y": 937.5666656494141,
\r
1358 "z": "a133aed2.437bc",
\r
1366 "id": "bcadf20f.09707",
\r
1367 "type": "failure",
\r
1368 "name": "failure",
\r
1369 "xml": "<outcome value='failure'>\n",
\r
1372 "x": 4262.5665283203125,
\r
1373 "y": 984.5666656494141,
\r
1374 "z": "a133aed2.437bc",
\r
1382 "id": "7a4a14cb.2c7cc4",
\r
1384 "name": "block : atomic",
\r
1385 "xml": "<block atomic=\"true\">",
\r
1388 "x": 4427.5665283203125,
\r
1389 "y": 934.5666656494141,
\r
1390 "z": "a133aed2.437bc",
\r
1398 "id": "c7ad40e1.18d2e8",
\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": 4623.5665283203125,
\r
1404 "y": 931.5666656494141,
\r
1405 "z": "a133aed2.437bc",
\r
1409 "id": "f8a2353e.30053",
\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": 4429.5665283203125,
\r
1415 "y": 984.5666656494141,
\r
1416 "z": "a133aed2.437bc",
\r
1420 "id": "a07b9575.5fb718",
\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
1425 "x": 1298.566650390625,
\r
1426 "y": 771.5666656494141,
\r
1427 "z": "a133aed2.437bc",
\r
1431 "id": "49f4a3da.f830dc",
\r
1432 "type": "comment",
\r
1433 "name": "Not useful anymore",
\r
1434 "info": "this domain-A.ltpId is not used anymore",
\r
1436 "x": 4644.5665283203125,
\r
1437 "y": 290.56666564941406,
\r
1438 "z": "a133aed2.437bc",
\r
1442 "id": "6c8ca0d9.ae8db8",
\r
1443 "type": "comment",
\r
1444 "name": "Not useful anymore",
\r
1445 "info": "this domain-B.ltpId is not used anymore",
\r
1447 "x": 4666.5665283203125,
\r
1448 "y": 903.5666656494141,
\r
1449 "z": "a133aed2.437bc",
\r
1453 "id": "10360917.9b8077",
\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
1458 "x": 939.566650390625,
\r
1459 "y": 699.5666656494141,
\r
1460 "z": "a133aed2.437bc",
\r
1464 "id": "197c2e5d.40b5c2",
\r
1465 "type": "comment",
\r
1466 "name": "May not be necessary",
\r
1469 "x": 950.566650390625,
\r
1470 "y": 652.5666656494141,
\r
1471 "z": "a133aed2.437bc",
\r
1475 "id": "9aea1ae3.78f458",
\r
1477 "name": "block : atomic",
\r
1478 "xml": "<block atomic='true'>",
\r
1482 "x": 930.566650390625,
\r
1483 "y": 449.56666564941406,
\r
1484 "z": "a133aed2.437bc",
\r
1488 "a7d23344.01d178",
\r
1490 "2d95a78.15b9dd8",
\r
1491 "fa4a5e3a.f8a4e8",
\r
1492 "1732667e.72f262",
\r
1496 "272b0d1.5ea4172",
\r
1498 "f2fd0ea2.f13608",
\r
1504 "id": "b34bb5ff.c918e",
\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
1510 "x": 1752.566650390625,
\r
1511 "y": 696.5666656494141,
\r
1512 "z": "a133aed2.437bc",
\r
1522 "id": "8d20e71f.73ff3",
\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
1528 "x": 1226.566650390625,
\r
1529 "y": 482.56666564941406,
\r
1530 "z": "a133aed2.437bc",
\r
1536 "id": "d8269b88.a628f",
\r
1539 "xml": "<outcome value='Other'>\n",
\r
1542 "x": 1997.566650390625,
\r
1543 "y": 728.5666656494141,
\r
1544 "z": "a133aed2.437bc",
\r
1550 "id": "bd71ad8b.09afd",
\r
1551 "type": "not-found",
\r
1552 "name": "not-found",
\r
1553 "xml": "<outcome value='not-found'>\n",
\r
1556 "x": 2004.566650390625,
\r
1557 "y": 770.5666656494141,
\r
1558 "z": "a133aed2.437bc",
\r
1564 "id": "ab86e983.081cb",
\r
1565 "type": "success",
\r
1566 "name": "success",
\r
1567 "xml": "<outcome value='success'>\n",
\r
1570 "x": 1999.566650390625,
\r
1571 "y": 691.5666656494141,
\r
1572 "z": "a133aed2.437bc",
\r
1578 "id": "a7d23344.01d178",
\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
1583 "x": 1147.566650390625,
\r
1584 "y": 354.56666564941406,
\r
1585 "z": "a133aed2.437bc",
\r
1589 "id": "bdabda22.abbcf",
\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
1594 "x": 1147.566650390625,
\r
1595 "y": 394.56666564941406,
\r
1596 "z": "a133aed2.437bc",
\r
1600 "id": "78ed6398.2c281c",
\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
1605 "x": 1280.566650390625,
\r
1606 "y": 902.5666656494141,
\r
1607 "z": "a133aed2.437bc",
\r
1611 "id": "a81521ff.85b448",
\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
1616 "x": 1281.566650390625,
\r
1617 "y": 952.5666656494141,
\r
1618 "z": "a133aed2.437bc",
\r
1622 "id": "2d95a78.15b9dd8",
\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
1628 "x": 1204.566650390625,
\r
1629 "y": 78.56666564941406,
\r
1630 "z": "a133aed2.437bc",
\r
1633 "85160fe1.7646a8",
\r
1640 "id": "5cf07174.f97d5",
\r
1643 "xml": "<outcome value='Other'>\n",
\r
1646 "x": 1437.566650390625,
\r
1647 "y": 102.56666564941406,
\r
1648 "z": "a133aed2.437bc",
\r
1654 "id": "95dd25f4.16dd98",
\r
1655 "type": "not-found",
\r
1656 "name": "not-found",
\r
1657 "xml": "<outcome value='not-found'>\n",
\r
1660 "x": 1451.566650390625,
\r
1661 "y": 142.56666564941406,
\r
1662 "z": "a133aed2.437bc",
\r
1668 "id": "85160fe1.7646a8",
\r
1669 "type": "success",
\r
1670 "name": "success",
\r
1671 "xml": "<outcome value='success'>\n",
\r
1674 "x": 1440.566650390625,
\r
1675 "y": 61.56666564941406,
\r
1676 "z": "a133aed2.437bc",
\r
1682 "id": "fa4a5e3a.f8a4e8",
\r
1684 "name": "for netwidx..allNetworksList_length",
\r
1685 "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
\r
1688 "x": 1196.566650390625,
\r
1689 "y": 124.56666564941406,
\r
1690 "z": "a133aed2.437bc",
\r
1698 "id": "a46c1b09.222d88",
\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
1704 "x": 1517.566650390625,
\r
1705 "y": 200.56666564941406,
\r
1706 "z": "a133aed2.437bc",
\r
1709 "d01d8d32.ec5d38",
\r
1715 "id": "d01d8d32.ec5d38",
\r
1716 "type": "outcomeTrue",
\r
1718 "xml": "<outcome value='true'>\n",
\r
1721 "x": 1741.566650390625,
\r
1722 "y": 262.56666564941406,
\r
1723 "z": "a133aed2.437bc",
\r
1731 "id": "87874c93.14d4c8",
\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
1737 "x": 1954.566650390625,
\r
1738 "y": 262.56666564941406,
\r
1739 "z": "a133aed2.437bc",
\r
1747 "id": "1f97427e.3bd1ce",
\r
1748 "type": "outcomeTrue",
\r
1750 "xml": "<outcome value='true'>\n",
\r
1753 "x": 2119.566650390625,
\r
1754 "y": 262.56666564941406,
\r
1755 "z": "a133aed2.437bc",
\r
1763 "id": "e1187fc2.b7873",
\r
1765 "name": "set otnTopoIdSrc",
\r
1766 "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
1768 "x": 2288.566650390625,
\r
1769 "y": 262.56666564941406,
\r
1770 "z": "a133aed2.437bc",
\r
1774 "id": "81f4ca42.44c8",
\r
1775 "type": "outcomeFalse",
\r
1777 "xml": "<outcome value='false'>\n",
\r
1780 "x": 1741.566650390625,
\r
1781 "y": 315.56666564941406,
\r
1782 "z": "a133aed2.437bc",
\r
1790 "id": "c4d51181.d481d",
\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
1796 "x": 1929.566650390625,
\r
1797 "y": 315.56666564941406,
\r
1798 "z": "a133aed2.437bc",
\r
1801 "1eb6a395.543214",
\r
1807 "id": "1eb6a395.543214",
\r
1808 "type": "outcomeTrue",
\r
1810 "xml": "<outcome value='true'>\n",
\r
1813 "x": 2119.566650390625,
\r
1814 "y": 315.56666564941406,
\r
1815 "z": "a133aed2.437bc",
\r
1823 "id": "131fed58.61933b",
\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
1829 "x": 2287.566650390625,
\r
1830 "y": 315.56666564941406,
\r
1831 "z": "a133aed2.437bc",
\r
1839 "id": "beb59651.122648",
\r
1840 "type": "outcomeTrue",
\r
1842 "xml": "<outcome value='true'>\n",
\r
1845 "x": 2443.566650390625,
\r
1846 "y": 315.56666564941406,
\r
1847 "z": "a133aed2.437bc",
\r
1855 "id": "fe5f3417.d45418",
\r
1857 "name": "set otnTopoIdDst",
\r
1858 "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
1860 "x": 3138.566650390625,
\r
1861 "y": 219.56666564941406,
\r
1862 "z": "a133aed2.437bc",
\r
1866 "id": "1732667e.72f262",
\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
1871 "x": 1141.566650390625,
\r
1872 "y": 295.56666564941406,
\r
1873 "z": "a133aed2.437bc",
\r
1877 "id": "2d0258cc.74942",
\r
1879 "name": "unset parameters",
\r
1880 "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
\r
1882 "x": 1150.566650390625,
\r
1883 "y": 177.56666564941406,
\r
1884 "z": "a133aed2.437bc",
\r
1888 "id": "52bfffd9.b2be3",
\r
1890 "name": "unset parameters",
\r
1891 "xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",
\r
1893 "x": 1148.566650390625,
\r
1894 "y": 219.56666564941406,
\r
1895 "z": "a133aed2.437bc",
\r
1899 "id": "9fbe4c7e.064f2",
\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
1905 "x": 1137.566650390625,
\r
1906 "y": 530.5666656494141,
\r
1907 "z": "a133aed2.437bc",
\r
1913 "id": "6130a3db.8f4a2c",
\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
1919 "x": 1159.566650390625,
\r
1920 "y": 603.5666656494141,
\r
1921 "z": "a133aed2.437bc",
\r
1927 "id": "272b0d1.5ea4172",
\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
1932 "x": 1133.566650390625,
\r
1933 "y": 566.5666656494141,
\r
1934 "z": "a133aed2.437bc",
\r
1938 "id": "aff2e998.39f418",
\r
1939 "type": "outcomeFalse",
\r
1941 "xml": "<outcome value='false'>\n",
\r
1944 "x": 2109.566650390625,
\r
1945 "y": 379.56666564941406,
\r
1946 "z": "a133aed2.437bc",
\r
1954 "id": "45368237.09cbd4",
\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
1960 "x": 2310.566650390625,
\r
1961 "y": 380.56666564941406,
\r
1962 "z": "a133aed2.437bc",
\r
1970 "id": "60978bb2.ce9a04",
\r
1971 "type": "outcomeTrue",
\r
1973 "xml": "<outcome value='true'>\n",
\r
1976 "x": 2520.566650390625,
\r
1977 "y": 380.56666564941406,
\r
1978 "z": "a133aed2.437bc",
\r
1986 "id": "2b3da5c.c5bcc5a",
\r
1988 "name": "set otnTopoIdDstBackup",
\r
1989 "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
1991 "x": 3228.566650390625,
\r
1992 "y": 470.5666961669922,
\r
1993 "z": "a133aed2.437bc",
\r
1997 "id": "c5b8562e.825c2",
\r
1999 "name": "unset parameters",
\r
2000 "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",
\r
2002 "x": 1146.566650390625,
\r
2003 "y": 257.56666564941406,
\r
2004 "z": "a133aed2.437bc",
\r
2008 "id": "f2fd0ea2.f13608",
\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
2013 "x": 1178.566650390625,
\r
2014 "y": 435.56666564941406,
\r
2015 "z": "a133aed2.437bc",
\r
2019 "id": "5207916.8d843f",
\r
2020 "type": "switchNode",
\r
2021 "name": "switch $hasSecondary",
\r
2022 "xml": "<switch test='`$hasSecondary`'>\n",
\r
2025 "x": 1182.566650390625,
\r
2026 "y": 682.5666656494141,
\r
2027 "z": "a133aed2.437bc",
\r
2036 "id": "9d24bff4.f7fc3",
\r
2037 "type": "outcomeTrue",
\r
2039 "xml": "<outcome value='true'>\n",
\r
2042 "x": 1373.566650390625,
\r
2043 "y": 686.5666656494141,
\r
2044 "z": "a133aed2.437bc",
\r
2052 "id": "c8813a5.7f98b48",
\r
2055 "xml": "<block>\n",
\r
2056 "atomic": "false",
\r
2059 "x": 1500.566650390625,
\r
2060 "y": 685.5666656494141,
\r
2061 "z": "a133aed2.437bc",
\r
2069 "id": "53b4e0bd.3986c8",
\r
2070 "type": "outcomeTrue",
\r
2072 "xml": "<outcome value='false'>\n",
\r
2075 "x": 1375.566650390625,
\r
2076 "y": 639.5666656494141,
\r
2077 "z": "a133aed2.437bc",
\r
2085 "id": "758c479c.bf4b8",
\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
2091 "x": 1749.566650390625,
\r
2092 "y": 569.5666656494141,
\r
2093 "z": "a133aed2.437bc",
\r
2096 "b6552b0f.7b51e8",
\r
2103 "id": "b6552b0f.7b51e8",
\r
2106 "xml": "<outcome value='Other'>\n",
\r
2109 "x": 1994.566650390625,
\r
2110 "y": 601.5666656494141,
\r
2111 "z": "a133aed2.437bc",
\r
2117 "id": "e27e8a21.4f0d3",
\r
2118 "type": "not-found",
\r
2119 "name": "not-found",
\r
2120 "xml": "<outcome value='not-found'>\n",
\r
2123 "x": 2001.566650390625,
\r
2124 "y": 643.5666656494141,
\r
2125 "z": "a133aed2.437bc",
\r
2131 "id": "b3bc4161.bbb128",
\r
2132 "type": "success",
\r
2133 "name": "success",
\r
2134 "xml": "<outcome value='success'>\n",
\r
2137 "x": 1996.566650390625,
\r
2138 "y": 564.5666656494141,
\r
2139 "z": "a133aed2.437bc",
\r
2145 "id": "c19998ca.837848",
\r
2147 "name": "for vidx..otn-oof.secondarySolutions_length[]",
\r
2148 "xml": "<for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >",
\r
2151 "x": 947.566650390625,
\r
2152 "y": 2100.566665649414,
\r
2153 "z": "a133aed2.437bc",
\r
2161 "id": "decd0bab.6330f",
\r
2163 "name": "block : atomic",
\r
2164 "xml": "<block atomic=\"true\">",
\r
2167 "x": 1052.0938720703125,
\r
2168 "y": 2291.607437133789,
\r
2169 "z": "a133aed2.437bc",
\r
2174 "64fb9896.7c1ac8",
\r
2175 "74b04e90.089e28",
\r
2181 "id": "81b9ae35.358fd",
\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": 1298.5938720703125,
\r
2187 "y": 2184.607437133789,
\r
2188 "z": "a133aed2.437bc",
\r
2192 "id": "d162f07e.eec04",
\r
2194 "name": "block : atomic",
\r
2195 "xml": "<block atomic=\"true\">",
\r
2198 "x": 1265.0938720703125,
\r
2199 "y": 2373.3209381103516,
\r
2200 "z": "a133aed2.437bc",
\r
2203 "9a15bd2c.c28818",
\r
2209 "id": "74f1c10d.f5627",
\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
2215 "y": 2113.3209381103516,
\r
2216 "z": "a133aed2.437bc",
\r
2220 "id": "64fb9896.7c1ac8",
\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
2226 "y": 2244.3209381103516,
\r
2227 "z": "a133aed2.437bc",
\r
2231 "id": "74b04e90.089e28",
\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
2237 "y": 2294.3209381103516,
\r
2238 "z": "a133aed2.437bc",
\r
2242 "id": "46c3f571.5e6ab4",
\r
2243 "type": "success",
\r
2244 "name": "success",
\r
2245 "xml": "<outcome value='success'>\n",
\r
2248 "x": 2790.5936279296875,
\r
2249 "y": 2108.3209381103516,
\r
2250 "z": "a133aed2.437bc",
\r
2258 "id": "1af50a9f.ba08f5",
\r
2259 "type": "not-found",
\r
2260 "name": "not-found",
\r
2261 "xml": "<outcome value='not-found'>\n",
\r
2265 "y": 2166.3209381103516,
\r
2266 "z": "a133aed2.437bc",
\r
2274 "id": "9ac3f118.22cc9",
\r
2277 "xml": "<outcome value='Other'>\n",
\r
2281 "y": 2218.3209381103516,
\r
2282 "z": "a133aed2.437bc",
\r
2290 "id": "eb6a21e7.d2544",
\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
2296 "y": 2170.3209381103516,
\r
2297 "z": "a133aed2.437bc",
\r
2301 "id": "5df935cf.d90ef4",
\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
2307 "y": 2221.3209381103516,
\r
2308 "z": "a133aed2.437bc",
\r
2312 "id": "76d93361.427b24",
\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": 3141.9764404296875,
\r
2319 "y": 2103.980667114258,
\r
2320 "z": "a133aed2.437bc",
\r
2328 "id": "3f5fbc68.02a224",
\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": 3393.9764404296875,
\r
2335 "y": 2100.980667114258,
\r
2336 "z": "a133aed2.437bc",
\r
2344 "id": "190fafd3.9d5618",
\r
2347 "xml": "<block>\n",
\r
2348 "atomic": "false",
\r
2351 "x": 2924.5936279296875,
\r
2352 "y": 2104.3209381103516,
\r
2353 "z": "a133aed2.437bc",
\r
2361 "id": "85fd58d.daa8628",
\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
2368 "y": 2147.3209381103516,
\r
2369 "z": "a133aed2.437bc",
\r
2372 "46c3f571.5e6ab4",
\r
2373 "1af50a9f.ba08f5",
\r
2379 "id": "17b12d07.01db03",
\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": 4127.0936279296875,
\r
2385 "y": 2023.3209381103516,
\r
2386 "z": "a133aed2.437bc",
\r
2390 "id": "56dc3866.a81c4",
\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": 4135.0936279296875,
\r
2397 "y": 2075.3209381103516,
\r
2398 "z": "a133aed2.437bc",
\r
2406 "id": "bd3f106f.63b0f8",
\r
2407 "type": "success",
\r
2408 "name": "success",
\r
2409 "xml": "<outcome value='success'>\n",
\r
2412 "x": 4341.5936279296875,
\r
2413 "y": 2053.3209381103516,
\r
2414 "z": "a133aed2.437bc",
\r
2422 "id": "ba2b4720.d65cf",
\r
2423 "type": "outcome",
\r
2424 "name": "tunnel-termination-point",
\r
2425 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2428 "x": 3679.2620849609375,
\r
2429 "y": 2101.802444458008,
\r
2430 "z": "a133aed2.437bc",
\r
2438 "id": "53671013.434608",
\r
2440 "name": "block : atomic",
\r
2441 "xml": "<block atomic=\"true\">",
\r
2444 "x": 3906.0936279296875,
\r
2445 "y": 2090.3209381103516,
\r
2446 "z": "a133aed2.437bc",
\r
2449 "17b12d07.01db03",
\r
2451 "c0980ef4.f86658",
\r
2452 "1febeafa.37d915",
\r
2458 "id": "e873d0c7.864da",
\r
2460 "name": "block : atomic",
\r
2461 "xml": "<block atomic=\"true\">",
\r
2464 "x": 4516.5936279296875,
\r
2465 "y": 2049.3209381103516,
\r
2466 "z": "a133aed2.437bc",
\r
2474 "id": "c0980ef4.f86658",
\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": 3996.5936279296875,
\r
2481 "y": 1893.3209381103516,
\r
2482 "z": "a133aed2.437bc",
\r
2492 "id": "fabc0bd7.062ae",
\r
2493 "type": "success",
\r
2494 "name": "success",
\r
2495 "xml": "<outcome value='success'>\n",
\r
2499 "y": 1845.3209381103516,
\r
2500 "z": "a133aed2.437bc",
\r
2508 "id": "cfe003ed.a587d",
\r
2509 "type": "not-found",
\r
2510 "name": "not-found",
\r
2511 "xml": "<outcome value='not-found'>\n",
\r
2515 "y": 1900.3209381103516,
\r
2516 "z": "a133aed2.437bc",
\r
2524 "id": "45d38fe1.3add68",
\r
2527 "xml": "<outcome value='Other'>\n",
\r
2531 "y": 1957.3209381103516,
\r
2532 "z": "a133aed2.437bc",
\r
2540 "id": "6ffbe3ea.ec634c",
\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
2546 "y": 1958.3209381103516,
\r
2547 "z": "a133aed2.437bc",
\r
2551 "id": "1b4dfe50.a881e2",
\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
2557 "y": 1903.3209381103516,
\r
2558 "z": "a133aed2.437bc",
\r
2562 "id": "c6a1c641.2a058",
\r
2565 "xml": "<block>\n",
\r
2566 "atomic": "false",
\r
2569 "x": 4336.47607421875,
\r
2570 "y": 1842.9766082763672,
\r
2571 "z": "a133aed2.437bc",
\r
2574 "59cb321.8a1954c",
\r
2580 "id": "59cb321.8a1954c",
\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": 4561.5936279296875,
\r
2586 "y": 1798.3209381103516,
\r
2587 "z": "a133aed2.437bc",
\r
2591 "id": "1febeafa.37d915",
\r
2594 "xml": "<break>\n",
\r
2596 "x": 4083.5936279296875,
\r
2597 "y": 2140.3209381103516,
\r
2598 "z": "a133aed2.437bc",
\r
2602 "id": "49c6e1ec.24535",
\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": 4520.5936279296875,
\r
2609 "y": 1857.3209381103516,
\r
2610 "z": "a133aed2.437bc",
\r
2618 "id": "ab68a575.dbe428",
\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": 4024.5936279296875,
\r
2625 "y": 1687.3209381103516,
\r
2626 "z": "a133aed2.437bc",
\r
2629 "f1409763.115658",
\r
2635 "id": "697906a6.2f581",
\r
2636 "type": "failure",
\r
2637 "name": "success",
\r
2638 "xml": "<outcome value='success'>\n",
\r
2641 "x": 4245.5936279296875,
\r
2642 "y": 1655.3209381103516,
\r
2643 "z": "a133aed2.437bc",
\r
2651 "id": "f1409763.115658",
\r
2652 "type": "failure",
\r
2653 "name": "failure",
\r
2654 "xml": "<outcome value='failure'>\n",
\r
2657 "x": 4245.5936279296875,
\r
2658 "y": 1702.3209381103516,
\r
2659 "z": "a133aed2.437bc",
\r
2667 "id": "54d6be87.274308",
\r
2669 "name": "block : atomic",
\r
2670 "xml": "<block atomic=\"true\">",
\r
2673 "x": 4410.5936279296875,
\r
2674 "y": 1652.3209381103516,
\r
2675 "z": "a133aed2.437bc",
\r
2683 "id": "f9eb1fe5.bf94b8",
\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": 4592.5936279296875,
\r
2689 "y": 1656.3209381103516,
\r
2690 "z": "a133aed2.437bc",
\r
2694 "id": "6390534f.61c684",
\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": 4412.5936279296875,
\r
2700 "y": 1702.3209381103516,
\r
2701 "z": "a133aed2.437bc",
\r
2705 "id": "78eb0221.5dfc84",
\r
2706 "type": "comment",
\r
2707 "name": "Not useful anymore",
\r
2708 "info": "this domain-A.ltpId is not used anymore",
\r
2710 "x": 4635.5936279296875,
\r
2711 "y": 1632.3209381103516,
\r
2712 "z": "a133aed2.437bc",
\r
2716 "id": "42a0b5ef.0a3e6c",
\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": 4777.5936279296875,
\r
2722 "y": 2046.3209381103516,
\r
2723 "z": "a133aed2.437bc",
\r
2727 "id": "ba5b9e92.be837",
\r
2728 "type": "outcome",
\r
2729 "name": "network-resource",
\r
2730 "xml": "<outcome value='network-resource'>\n",
\r
2733 "x": 4918.5936279296875,
\r
2734 "y": 1861.3209381103516,
\r
2735 "z": "a133aed2.437bc",
\r
2743 "id": "8d839c87.82ade8",
\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": 4715.5936279296875,
\r
2750 "y": 1857.3209381103516,
\r
2751 "z": "a133aed2.437bc",
\r
2759 "id": "897ba475.c5f53",
\r
2761 "name": "block : atomic",
\r
2762 "xml": "<block atomic=\"true\">",
\r
2765 "x": 5095.5936279296875,
\r
2766 "y": 1853.3209381103516,
\r
2767 "z": "a133aed2.437bc",
\r
2770 "bef188d5.c786d8",
\r
2771 "792f44ce.13c154",
\r
2777 "id": "bef188d5.c786d8",
\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": 5310.5936279296875,
\r
2783 "y": 1834.3209381103516,
\r
2784 "z": "a133aed2.437bc",
\r
2788 "id": "792f44ce.13c154",
\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": 5327.5936279296875,
\r
2795 "y": 1898.3209381103516,
\r
2796 "z": "a133aed2.437bc",
\r
2804 "id": "5b892dc0.3c8d04",
\r
2805 "type": "success",
\r
2806 "name": "success",
\r
2807 "xml": "<outcome value='success'>\n",
\r
2810 "x": 5551.0936279296875,
\r
2811 "y": 1899.3209381103516,
\r
2812 "z": "a133aed2.437bc",
\r
2820 "id": "ba2d6189.94da7",
\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": 5815.5936279296875,
\r
2826 "y": 1888.3209381103516,
\r
2827 "z": "a133aed2.437bc",
\r
2831 "id": "18753ca.06672c3",
\r
2834 "xml": "<break>\n",
\r
2836 "x": 5254.5936279296875,
\r
2837 "y": 1951.3209381103516,
\r
2838 "z": "a133aed2.437bc",
\r
2842 "id": "8130be42.c4b418",
\r
2845 "xml": "<break>\n",
\r
2847 "x": 2466.0936279296875,
\r
2848 "y": 2617.3209381103516,
\r
2849 "z": "a133aed2.437bc",
\r
2853 "id": "9a15bd2c.c28818",
\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
2860 "y": 2513.3209381103516,
\r
2861 "z": "a133aed2.437bc",
\r
2864 "bbfaea50.2f8978",
\r
2871 "id": "bbfaea50.2f8978",
\r
2872 "type": "success",
\r
2873 "name": "success",
\r
2874 "xml": "<outcome value='success'>\n",
\r
2877 "x": 2769.5936279296875,
\r
2878 "y": 2655.3209381103516,
\r
2879 "z": "a133aed2.437bc",
\r
2887 "id": "48b1011.95ef3",
\r
2888 "type": "not-found",
\r
2889 "name": "not-found",
\r
2890 "xml": "<outcome value='not-found'>\n",
\r
2893 "x": 2753.5936279296875,
\r
2894 "y": 2706.3209381103516,
\r
2895 "z": "a133aed2.437bc",
\r
2903 "id": "f850bc1.45f5a4",
\r
2906 "xml": "<outcome value='Other'>\n",
\r
2909 "x": 2756.5936279296875,
\r
2910 "y": 2758.3209381103516,
\r
2911 "z": "a133aed2.437bc",
\r
2919 "id": "e3e65a88.eeb708",
\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": 2926.5936279296875,
\r
2925 "y": 2761.3209381103516,
\r
2926 "z": "a133aed2.437bc",
\r
2930 "id": "31d51c19.564114",
\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": 2938.5936279296875,
\r
2936 "y": 2710.3209381103516,
\r
2937 "z": "a133aed2.437bc",
\r
2941 "id": "93be1dc8.40e81",
\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": 3125.9764404296875,
\r
2948 "y": 2665.980667114258,
\r
2949 "z": "a133aed2.437bc",
\r
2957 "id": "fdc63182.4572f",
\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": 3368.9764404296875,
\r
2964 "y": 2664.980667114258,
\r
2965 "z": "a133aed2.437bc",
\r
2973 "id": "8bd3d4c4.129cd",
\r
2976 "xml": "<block>\n",
\r
2977 "atomic": "false",
\r
2980 "x": 2915.5936279296875,
\r
2981 "y": 2646.3209381103516,
\r
2982 "z": "a133aed2.437bc",
\r
2990 "id": "d054e714.1f47",
\r
2991 "type": "outcome",
\r
2992 "name": "tunnel-termination-point",
\r
2993 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2996 "x": 3625.2620849609375,
\r
2997 "y": 2664.802444458008,
\r
2998 "z": "a133aed2.437bc",
\r
3006 "id": "64e60c2e.997314",
\r
3008 "name": "block : atomic",
\r
3009 "xml": "<block atomic=\"true\">",
\r
3012 "x": 3925.0936279296875,
\r
3013 "y": 2662.3209381103516,
\r
3014 "z": "a133aed2.437bc",
\r
3017 "1bae9a4e.9212ce",
\r
3018 "de2043de.3cb548",
\r
3020 "5ff21da9.833f84",
\r
3026 "id": "1bae9a4e.9212ce",
\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": 4167.0936279296875,
\r
3032 "y": 2616.3209381103516,
\r
3033 "z": "a133aed2.437bc",
\r
3037 "id": "de2043de.3cb548",
\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": 4157.0936279296875,
\r
3044 "y": 2667.3209381103516,
\r
3045 "z": "a133aed2.437bc",
\r
3053 "id": "5c3476dc.51e558",
\r
3054 "type": "success",
\r
3055 "name": "success",
\r
3056 "xml": "<outcome value='success'>\n",
\r
3059 "x": 4344.5936279296875,
\r
3060 "y": 2665.3209381103516,
\r
3061 "z": "a133aed2.437bc",
\r
3069 "id": "4eaafddf.a6a3f4",
\r
3071 "name": "block : atomic",
\r
3072 "xml": "<block atomic=\"true\">",
\r
3075 "x": 4533.5936279296875,
\r
3076 "y": 2654.3209381103516,
\r
3077 "z": "a133aed2.437bc",
\r
3085 "id": "5ff21da9.833f84",
\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": 3993.5936279296875,
\r
3092 "y": 2496.3209381103516,
\r
3093 "z": "a133aed2.437bc",
\r
3096 "89d8cb14.97ad38",
\r
3097 "b75d0391.114cc8",
\r
3103 "id": "e1054df9.4be03",
\r
3104 "type": "success",
\r
3105 "name": "success",
\r
3106 "xml": "<outcome value='success'>\n",
\r
3110 "y": 2448.3209381103516,
\r
3111 "z": "a133aed2.437bc",
\r
3119 "id": "b75d0391.114cc8",
\r
3120 "type": "not-found",
\r
3121 "name": "not-found",
\r
3122 "xml": "<outcome value='not-found'>\n",
\r
3126 "y": 2503.3209381103516,
\r
3127 "z": "a133aed2.437bc",
\r
3135 "id": "89d8cb14.97ad38",
\r
3138 "xml": "<outcome value='Other'>\n",
\r
3142 "y": 2560.3209381103516,
\r
3143 "z": "a133aed2.437bc",
\r
3151 "id": "1aa1ec12.0bb82c",
\r
3154 "xml": "<block>\n",
\r
3155 "atomic": "false",
\r
3158 "x": 4333.47607421875,
\r
3159 "y": 2445.976608276367,
\r
3160 "z": "a133aed2.437bc",
\r
3169 "id": "e4160067.4070c",
\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
3175 "y": 2506.3209381103516,
\r
3176 "z": "a133aed2.437bc",
\r
3180 "id": "f68c7777.771208",
\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
3186 "y": 2561.3209381103516,
\r
3187 "z": "a133aed2.437bc",
\r
3191 "id": "f0006d82.9607f",
\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": 4542.5936279296875,
\r
3197 "y": 2413.3209381103516,
\r
3198 "z": "a133aed2.437bc",
\r
3202 "id": "3a2030d6.3a864",
\r
3205 "xml": "<break>\n",
\r
3207 "x": 4112.5936279296875,
\r
3208 "y": 2708.3209381103516,
\r
3209 "z": "a133aed2.437bc",
\r
3213 "id": "e28e5fb.1f15da",
\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": 4521.5936279296875,
\r
3220 "y": 2464.3209381103516,
\r
3221 "z": "a133aed2.437bc",
\r
3229 "id": "8657cf90.772ff",
\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": 4032.5936279296875,
\r
3236 "y": 2311.3209381103516,
\r
3237 "z": "a133aed2.437bc",
\r
3240 "1edc2bcc.25093c",
\r
3246 "id": "7c75489d.8c3e48",
\r
3247 "type": "failure",
\r
3248 "name": "success",
\r
3249 "xml": "<outcome value='success'>\n",
\r
3252 "x": 4253.5936279296875,
\r
3253 "y": 2279.3209381103516,
\r
3254 "z": "a133aed2.437bc",
\r
3262 "id": "1edc2bcc.25093c",
\r
3263 "type": "failure",
\r
3264 "name": "failure",
\r
3265 "xml": "<outcome value='failure'>\n",
\r
3268 "x": 4253.5936279296875,
\r
3269 "y": 2326.3209381103516,
\r
3270 "z": "a133aed2.437bc",
\r
3278 "id": "1008d1fe.94472e",
\r
3280 "name": "block : atomic",
\r
3281 "xml": "<block atomic=\"true\">",
\r
3284 "x": 4418.5936279296875,
\r
3285 "y": 2276.3209381103516,
\r
3286 "z": "a133aed2.437bc",
\r
3294 "id": "e91b8d2.d0cd6f",
\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": 4614.5936279296875,
\r
3300 "y": 2273.3209381103516,
\r
3301 "z": "a133aed2.437bc",
\r
3305 "id": "409a6e6.a5b3f9",
\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": 4420.5936279296875,
\r
3311 "y": 2326.3209381103516,
\r
3312 "z": "a133aed2.437bc",
\r
3316 "id": "8a9fa566.6d58a8",
\r
3318 "name": "block : atomic",
\r
3319 "xml": "<block atomic=\"true\">",
\r
3322 "x": 5135.0936279296875,
\r
3323 "y": 2466.3209381103516,
\r
3324 "z": "a133aed2.437bc",
\r
3328 "7faa7643.b3f3a8",
\r
3334 "id": "19157173.11a35f",
\r
3335 "type": "outcome",
\r
3336 "name": "network-resource",
\r
3337 "xml": "<outcome value='network-resource'>\n",
\r
3340 "x": 4922.0936279296875,
\r
3341 "y": 2465.3209381103516,
\r
3342 "z": "a133aed2.437bc",
\r
3350 "id": "c29c48f8.7f86a8",
\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": 4766.5936279296875,
\r
3356 "y": 2653.3209381103516,
\r
3357 "z": "a133aed2.437bc",
\r
3361 "id": "6f7c8401.0c5c44",
\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": 4716.5936279296875,
\r
3368 "y": 2464.3209381103516,
\r
3369 "z": "a133aed2.437bc",
\r
3377 "id": "2f37cf12.b49ef8",
\r
3380 "xml": "<break>\n",
\r
3382 "x": 5340.5936279296875,
\r
3383 "y": 2544.3209381103516,
\r
3384 "z": "a133aed2.437bc",
\r
3388 "id": "be660170.47dfc",
\r
3389 "type": "comment",
\r
3390 "name": "Not useful anymore",
\r
3391 "info": "this domain-B.ltpId is not used anymore",
\r
3393 "x": 4657.5936279296875,
\r
3394 "y": 2245.3209381103516,
\r
3395 "z": "a133aed2.437bc",
\r
3399 "id": "7fa0b1d.d6b0bd",
\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": 5405.0936279296875,
\r
3405 "y": 2442.3209381103516,
\r
3406 "z": "a133aed2.437bc",
\r
3410 "id": "7faa7643.b3f3a8",
\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": 5415.0936279296875,
\r
3417 "y": 2488.3209381103516,
\r
3418 "z": "a133aed2.437bc",
\r
3426 "id": "e4da28c1.f29fa8",
\r
3427 "type": "success",
\r
3428 "name": "success",
\r
3429 "xml": "<outcome value='success'>\n",
\r
3432 "x": 5630.5936279296875,
\r
3433 "y": 2479.3209381103516,
\r
3434 "z": "a133aed2.437bc",
\r
3442 "id": "93b6182a.3d472",
\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": 5885.0936279296875,
\r
3448 "y": 2485.3209381103516,
\r
3449 "z": "a133aed2.437bc",
\r
3453 "id": "4ccd67a2.a775c8",
\r
3454 "type": "switchNode",
\r
3455 "name": "switch $hasSecondary",
\r
3456 "xml": "<switch test='`$hasSecondary`'>\n",
\r
3459 "x": 2791.7666015625,
\r
3460 "y": 303.6499938964844,
\r
3461 "z": "a133aed2.437bc",
\r
3470 "id": "aa20e714.81e31",
\r
3471 "type": "outcomeTrue",
\r
3473 "xml": "<outcome value='true'>\n",
\r
3476 "x": 2982.7666015625,
\r
3477 "y": 307.6499938964844,
\r
3478 "z": "a133aed2.437bc",
\r
3486 "id": "4f32b0ce.2765f8",
\r
3489 "xml": "<block>\n",
\r
3490 "atomic": "false",
\r
3493 "x": 3109.7666015625,
\r
3494 "y": 306.6499938964844,
\r
3495 "z": "a133aed2.437bc",
\r
3503 "id": "fabeb9f8.04ca88",
\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": 3332.64990234375,
\r
3510 "y": 301.53330993652344,
\r
3511 "z": "a133aed2.437bc",
\r
3514 "412e1237.d5a904",
\r
3520 "id": "412e1237.d5a904",
\r
3521 "type": "outcomeTrue",
\r
3523 "xml": "<outcome value='true'>\n",
\r
3526 "x": 3539.64990234375,
\r
3527 "y": 238.53330993652344,
\r
3528 "z": "a133aed2.437bc",
\r
3536 "id": "43345576.1d340c",
\r
3537 "type": "outcomeTrue",
\r
3539 "xml": "<outcome value='false'>\n",
\r
3542 "x": 3469.64990234375,
\r
3543 "y": 429.53334045410156,
\r
3544 "z": "a133aed2.437bc",
\r
3552 "id": "f849ec26.60ce68",
\r
3555 "xml": "<block>\n",
\r
3556 "atomic": "false",
\r
3559 "x": 3681.64990234375,
\r
3560 "y": 228.53330993652344,
\r
3561 "z": "a133aed2.437bc",
\r
3564 "7903a049.c8cd48",
\r
3570 "id": "2b8c6199.dff38e",
\r
3573 "xml": "<block>\n",
\r
3574 "atomic": "false",
\r
3577 "x": 3595.64990234375,
\r
3578 "y": 429.53334045410156,
\r
3579 "z": "a133aed2.437bc",
\r
3587 "id": "27e9a268.b581ce",
\r
3590 "xml": "<block>\n",
\r
3591 "atomic": "false",
\r
3594 "x": 2592.533447265625,
\r
3595 "y": 306.65000915527344,
\r
3596 "z": "a133aed2.437bc",
\r
3604 "id": "2de4f8e2.b5cb18",
\r
3605 "type": "outcomeTrue",
\r
3607 "xml": "<outcome value='false'>\n",
\r
3611 "y": 259.6499938964844,
\r
3612 "z": "a133aed2.437bc",
\r
3620 "id": "7903a049.c8cd48",
\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": 3840.2333984375,
\r
3626 "y": 207.64999389648438,
\r
3627 "z": "a133aed2.437bc",
\r
3631 "id": "db701786.21e23",
\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": 3862.2333984375,
\r
3637 "y": 255.64999389648438,
\r
3638 "z": "a133aed2.437bc",
\r
3642 "id": "66a832b6.6cd354",
\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": 3766.2333984375,
\r
3648 "y": 429.65000915527344,
\r
3649 "z": "a133aed2.437bc",
\r
3653 "id": "cc22664a.751d9",
\r
3656 "xml": "<block>\n",
\r
3657 "atomic": "false",
\r
3661 "y": 381.4499969482422,
\r
3662 "z": "a133aed2.437bc",
\r
3670 "id": "2f2b5b65.5b64dc",
\r
3671 "type": "switchNode",
\r
3672 "name": "switch $hasSecondary",
\r
3673 "xml": "<switch test='`$hasSecondary`'>\n",
\r
3676 "x": 2860.483154296875,
\r
3677 "y": 378.4499816894531,
\r
3678 "z": "a133aed2.437bc",
\r
3686 "id": "36697354.fca184",
\r
3687 "type": "outcomeTrue",
\r
3689 "xml": "<outcome value='true'>\n",
\r
3692 "x": 3051.483154296875,
\r
3693 "y": 382.4499816894531,
\r
3694 "z": "a133aed2.437bc",
\r
3702 "id": "5c3e361c.5c18a8",
\r
3705 "xml": "<block>\n",
\r
3706 "atomic": "false",
\r
3709 "x": 3178.483154296875,
\r
3710 "y": 381.4499816894531,
\r
3711 "z": "a133aed2.437bc",
\r
3717 "id": "b1b9b64d.59ccf8",
\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": 1522.13330078125,
\r
3724 "y": 1685.133316040039,
\r
3725 "z": "a133aed2.437bc",
\r
3728 "65a1fc27.84c2b4",
\r
3734 "id": "65a1fc27.84c2b4",
\r
3735 "type": "outcomeTrue",
\r
3737 "xml": "<outcome value='true'>\n",
\r
3740 "x": 1748.0333251953125,
\r
3741 "y": 1657.133316040039,
\r
3742 "z": "a133aed2.437bc",
\r
3750 "id": "d975b6ca.6d1d08",
\r
3751 "type": "outcomeFalse",
\r
3753 "xml": "<outcome value='false'>\n",
\r
3756 "x": 1746.0333251953125,
\r
3757 "y": 1707.133316040039,
\r
3758 "z": "a133aed2.437bc",
\r
3764 "id": "c43f0dda.93b268",
\r
3767 "xml": "<block>\n",
\r
3768 "atomic": "false",
\r
3771 "x": 1890.13330078125,
\r
3772 "y": 1657.133316040039,
\r
3773 "z": "a133aed2.437bc",
\r
3779 "id": "949527f9.d2ae5",
\r
3780 "type": "switchNode",
\r
3781 "name": "switch $hasSecondary",
\r
3782 "xml": "<switch test='`$hasSecondary`'>\n",
\r
3785 "x": 901.0333251953125,
\r
3786 "y": 1874.133316040039,
\r
3787 "z": "a133aed2.437bc",
\r
3795 "id": "c20cf138.dc1e5",
\r
3796 "type": "outcomeTrue",
\r
3798 "xml": "<outcome value='true'>\n",
\r
3801 "x": 1087.0333251953125,
\r
3802 "y": 1875.133316040039,
\r
3803 "z": "a133aed2.437bc",
\r
3811 "id": "2941d5fe.c9ad8a",
\r
3814 "xml": "<block>\n",
\r
3815 "atomic": "false",
\r
3818 "x": 1217.0333251953125,
\r
3819 "y": 1875.133316040039,
\r
3820 "z": "a133aed2.437bc",
\r