3 "id": "6c2aabab.e93664",
\r
7 "x": 175.56666564941406,
\r
9 "z": "4e0409b8.f91f",
\r
17 "id": "591c3fc8.9e7608",
\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": 322.56666564941406,
\r
26 "y": 752.0000152587891,
\r
27 "z": "4e0409b8.f91f",
\r
35 "id": "44270cff.075ffc",
\r
37 "name": "p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof",
\r
38 "xml": "<method rpc='p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof' mode='sync'>\n",
\r
41 "x": 386.56678771972656,
\r
43 "z": "4e0409b8.f91f",
\r
51 "id": "8f693cfb.d505d",
\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": 432.53973388671875,
\r
58 "y": 363.996000289917,
\r
59 "z": "4e0409b8.f91f",
\r
68 "id": "cb486fd5.830b",
\r
71 "xml": "<outcome value='success'>\n",
\r
74 "x": 672.5398750305176,
\r
75 "y": 387.99596977233887,
\r
76 "z": "4e0409b8.f91f",
\r
84 "id": "c1ee6ad8.83ca08",
\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": 842.539794921875,
\r
90 "y": 327.99606132507324,
\r
91 "z": "4e0409b8.f91f",
\r
95 "id": "906dd9e3.75cef",
\r
98 "xml": "<outcome value='failure'>\n",
\r
101 "x": 671.5396614074707,
\r
102 "y": 336.9960603713989,
\r
103 "z": "4e0409b8.f91f",
\r
111 "id": "25cab887.227a6",
\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": 404.0435333251953,
\r
118 "z": "4e0409b8.f91f",
\r
122 "id": "882d42af.d08248",
\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": 860.5395660400391,
\r
129 "y": 813.2457275390625,
\r
130 "z": "4e0409b8.f91f",
\r
138 "id": "1db851ea.af50ee",
\r
140 "name": "Loop through OTN links",
\r
143 "x": 944.0398712158203,
\r
145 "z": "4e0409b8.f91f",
\r
149 "id": "40e93722.e40d08",
\r
151 "name": "block : atomic",
\r
152 "xml": "<block atomic=\"true\">",
\r
155 "x": 965.0667877197266,
\r
156 "y": 1004.2864990234375,
\r
157 "z": "4e0409b8.f91f",
\r
170 "id": "2c0f74ca.54d50c",
\r
172 "name": "set otn-oof.link-name and etc.",
\r
173 "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
175 "x": 1211.5667877197266,
\r
176 "y": 897.2864990234375,
\r
177 "z": "4e0409b8.f91f",
\r
181 "id": "797aa06c.00938",
\r
184 "xml": "<block>\n",
\r
188 "x": 817.5669212341309,
\r
189 "y": 385.741455078125,
\r
190 "z": "4e0409b8.f91f",
\r
196 "id": "f251f976.64ff3",
\r
198 "name": "block : atomic",
\r
199 "xml": "<block atomic=\"true\">",
\r
202 "x": 627.5355491638184,
\r
203 "y": 771.7416372299194,
\r
204 "z": "4e0409b8.f91f",
\r
215 "id": "2980fcb1.5caccc",
\r
218 "xml": "<break>\n",
\r
220 "x": 2379.0665435791016,
\r
222 "z": "4e0409b8.f91f",
\r
226 "id": "f4071c85.a9878",
\r
228 "name": "block : atomic",
\r
229 "xml": "<block atomic=\"true\">",
\r
232 "x": 1175.0667724609375,
\r
233 "y": 1145.999984741211,
\r
234 "z": "4e0409b8.f91f",
\r
243 "id": "7513b61f.c8bc28",
\r
246 "xml": "<outcome value='success'>\n",
\r
249 "x": 2703.5665435791016,
\r
251 "z": "4e0409b8.f91f",
\r
259 "id": "42e994b9.4c76c4",
\r
260 "type": "not-found",
\r
261 "name": "not-found",
\r
262 "xml": "<outcome value='not-found'>\n",
\r
265 "x": 2736.566665649414,
\r
267 "z": "4e0409b8.f91f",
\r
275 "id": "bf4c0e40.d53578",
\r
278 "xml": "<outcome value='Other'>\n",
\r
281 "x": 2739.566665649414,
\r
283 "z": "4e0409b8.f91f",
\r
291 "id": "9fbe687d.f821e",
\r
292 "type": "returnFailure",
\r
293 "name": "return failure",
\r
294 "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
296 "x": 2921.566665649414,
\r
298 "z": "4e0409b8.f91f",
\r
302 "id": "ff1d0e5e.8b2818",
\r
303 "type": "returnFailure",
\r
304 "name": "return failure",
\r
305 "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
307 "x": 2909.566665649414,
\r
309 "z": "4e0409b8.f91f",
\r
313 "id": "1fb76b15.27110d",
\r
315 "name": "set domain A node ttp-id",
\r
316 "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
318 "x": 4040.0665435791016,
\r
320 "z": "4e0409b8.f91f",
\r
324 "id": "f2aacb85.c592b8",
\r
325 "type": "get-resource",
\r
326 "name": "get-resource src TTP",
\r
327 "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
330 "x": 4048.0665435791016,
\r
332 "z": "4e0409b8.f91f",
\r
340 "id": "6548f220.2e2714",
\r
343 "xml": "<outcome value='success'>\n",
\r
346 "x": 4254.566543579102,
\r
348 "z": "4e0409b8.f91f",
\r
356 "id": "356d916a.866316",
\r
358 "name": "block : atomic",
\r
359 "xml": "<block atomic=\"true\">",
\r
362 "x": 3670.066650390625,
\r
363 "y": 800.9999847412109,
\r
364 "z": "4e0409b8.f91f",
\r
373 "id": "e16e4301.473108",
\r
374 "type": "get-resource",
\r
375 "name": "get-resource dst tp",
\r
376 "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
379 "x": 2460.066665649414,
\r
381 "z": "4e0409b8.f91f",
\r
391 "id": "ed8f0b24.2715b8",
\r
394 "xml": "<outcome value='success'>\n",
\r
397 "x": 2682.5665435791016,
\r
399 "z": "4e0409b8.f91f",
\r
407 "id": "88ace869.b9ed8",
\r
408 "type": "not-found",
\r
409 "name": "not-found",
\r
410 "xml": "<outcome value='not-found'>\n",
\r
413 "x": 2666.5665435791016,
\r
415 "z": "4e0409b8.f91f",
\r
423 "id": "2de04b36.3c829c",
\r
426 "xml": "<outcome value='Other'>\n",
\r
429 "x": 2669.5665435791016,
\r
431 "z": "4e0409b8.f91f",
\r
439 "id": "4f45c45b.037e24",
\r
440 "type": "returnFailure",
\r
441 "name": "return failure",
\r
442 "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
444 "x": 2839.5665435791016,
\r
446 "z": "4e0409b8.f91f",
\r
450 "id": "a934ded3.a1905",
\r
451 "type": "returnFailure",
\r
452 "name": "return failure",
\r
453 "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
455 "x": 2851.5665435791016,
\r
457 "z": "4e0409b8.f91f",
\r
461 "id": "8f268c3f.a32388",
\r
463 "name": "block : atomic",
\r
464 "xml": "<block atomic=\"true\">",
\r
467 "x": 5048.066543579102,
\r
469 "z": "4e0409b8.f91f",
\r
479 "id": "8d1d7a12.af2fb",
\r
481 "name": "network-resource",
\r
482 "xml": "<outcome value='network-resource'>\n",
\r
485 "x": 4835.066543579102,
\r
487 "z": "4e0409b8.f91f",
\r
495 "id": "e0836e7b.28886",
\r
497 "name": "block : atomic",
\r
498 "xml": "<block atomic=\"true\">",
\r
501 "x": 3838.0665435791016,
\r
503 "z": "4e0409b8.f91f",
\r
512 "id": "8aedfe5b.118e88",
\r
514 "name": "set domain B node ttp-id",
\r
515 "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
517 "x": 4080.0665435791016,
\r
519 "z": "4e0409b8.f91f",
\r
523 "id": "67f189a9.7533f",
\r
524 "type": "get-resource",
\r
525 "name": "get-resource dst TTP",
\r
526 "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
529 "x": 4070.0665435791016,
\r
531 "z": "4e0409b8.f91f",
\r
539 "id": "ed9511b0.3861b",
\r
542 "xml": "<outcome value='success'>\n",
\r
545 "x": 4257.566543579102,
\r
547 "z": "4e0409b8.f91f",
\r
555 "id": "b41bc1fd.7d3fe8",
\r
557 "name": "set domain B network-id",
\r
558 "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
560 "x": 5318.066543579102,
\r
562 "z": "4e0409b8.f91f",
\r
566 "id": "eb5ec4f3.1b9e58",
\r
567 "type": "get-resource",
\r
568 "name": "get-resource dst network-resource",
\r
569 "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
572 "x": 5328.066543579102,
\r
574 "z": "4e0409b8.f91f",
\r
582 "id": "36929426.507164",
\r
585 "xml": "<outcome value='success'>\n",
\r
588 "x": 5543.566543579102,
\r
590 "z": "4e0409b8.f91f",
\r
598 "id": "c48d5abb.c3e938",
\r
600 "name": "set domain B network-id, topo-id, client-id, etc",
\r
601 "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
603 "x": 5798.066543579102,
\r
605 "z": "4e0409b8.f91f",
\r
609 "id": "fd3a1da9.a1e0c8",
\r
611 "name": "block : atomic",
\r
612 "xml": "<block atomic=\"true\">",
\r
615 "x": 4429.566543579102,
\r
617 "z": "4e0409b8.f91f",
\r
625 "id": "d3635511.caa0e8",
\r
627 "name": "block : atomic",
\r
628 "xml": "<block atomic=\"true\">",
\r
631 "x": 4446.566543579102,
\r
633 "z": "4e0409b8.f91f",
\r
641 "id": "89d8c6ec.f54d3",
\r
642 "type": "get-resource",
\r
643 "name": "get-resource src tp",
\r
644 "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
647 "x": 2506.066665649414,
\r
649 "z": "4e0409b8.f91f",
\r
659 "id": "30dabaf0.4be9d6",
\r
660 "type": "get-resource",
\r
661 "name": "get-resource src pnf",
\r
662 "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
665 "x": 3909.5665435791016,
\r
667 "z": "4e0409b8.f91f",
\r
677 "id": "e4a733f.4bc16d",
\r
680 "xml": "<outcome value='success'>\n",
\r
683 "x": 4105.066665649414,
\r
685 "z": "4e0409b8.f91f",
\r
693 "id": "532ed172.f842b8",
\r
694 "type": "not-found",
\r
695 "name": "not-found",
\r
696 "xml": "<outcome value='not-found'>\n",
\r
699 "x": 4097.066665649414,
\r
701 "z": "4e0409b8.f91f",
\r
709 "id": "525afcbb.b25284",
\r
712 "xml": "<outcome value='Other'>\n",
\r
715 "x": 4102.066665649414,
\r
717 "z": "4e0409b8.f91f",
\r
725 "id": "2783b89d.d20958",
\r
726 "type": "returnFailure",
\r
727 "name": "return failure",
\r
728 "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
730 "x": 4254.066665649414,
\r
732 "z": "4e0409b8.f91f",
\r
736 "id": "f8caa53b.d2789",
\r
737 "type": "returnFailure",
\r
738 "name": "return failure",
\r
739 "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
741 "x": 4265.066665649414,
\r
743 "z": "4e0409b8.f91f",
\r
747 "id": "86620d3e.1a119",
\r
750 "xml": "<block>\n",
\r
754 "x": 4249.448989868164,
\r
755 "y": 555.6556701660156,
\r
756 "z": "4e0409b8.f91f",
\r
765 "id": "e93e8b81.9ca2f",
\r
767 "name": "set domain A node-id and tpn",
\r
768 "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
770 "x": 4474.566543579102,
\r
772 "z": "4e0409b8.f91f",
\r
776 "id": "838b8fb.d2dddf",
\r
779 "xml": "<break>\n",
\r
781 "x": 3996.5665435791016,
\r
783 "z": "4e0409b8.f91f",
\r
787 "id": "5f6936aa.a972",
\r
789 "name": "set domain A tunnel tp ip",
\r
790 "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
792 "x": 4690.566543579102,
\r
794 "z": "4e0409b8.f91f",
\r
798 "id": "d619c7c5.f21df",
\r
799 "type": "get-resource",
\r
800 "name": "get-resource dst pnf",
\r
801 "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
804 "x": 3906.5665435791016,
\r
806 "z": "4e0409b8.f91f",
\r
816 "id": "30542edc.d15092",
\r
819 "xml": "<outcome value='success'>\n",
\r
822 "x": 4102.066665649414,
\r
824 "z": "4e0409b8.f91f",
\r
832 "id": "f355875f.873ba8",
\r
833 "type": "not-found",
\r
834 "name": "not-found",
\r
835 "xml": "<outcome value='not-found'>\n",
\r
838 "x": 4094.066665649414,
\r
840 "z": "4e0409b8.f91f",
\r
848 "id": "33ea4656.cee232",
\r
851 "xml": "<outcome value='Other'>\n",
\r
854 "x": 4099.066665649414,
\r
856 "z": "4e0409b8.f91f",
\r
864 "id": "f2ee29cc.e27708",
\r
867 "xml": "<block>\n",
\r
871 "x": 4246.448989868164,
\r
872 "y": 1158.6556701660156,
\r
873 "z": "4e0409b8.f91f",
\r
882 "id": "75aed15c.2299b8",
\r
883 "type": "returnFailure",
\r
884 "name": "return failure",
\r
885 "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
887 "x": 4262.066665649414,
\r
889 "z": "4e0409b8.f91f",
\r
893 "id": "7a3461ec.969fb",
\r
894 "type": "returnFailure",
\r
895 "name": "return failure",
\r
896 "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
898 "x": 4251.066665649414,
\r
900 "z": "4e0409b8.f91f",
\r
904 "id": "3864d34f.e845ac",
\r
906 "name": "set domain B node-id and tpn",
\r
907 "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
909 "x": 4455.566543579102,
\r
911 "z": "4e0409b8.f91f",
\r
915 "id": "bb4d74f7.f1ae1",
\r
918 "xml": "<break>\n",
\r
920 "x": 4025.5665435791016,
\r
922 "z": "4e0409b8.f91f",
\r
926 "id": "eda918a0.8449d8",
\r
928 "name": "set domain B tunnel tp id",
\r
929 "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
931 "x": 4679.566543579102,
\r
933 "z": "4e0409b8.f91f",
\r
937 "id": "dd289b7.b4700e8",
\r
939 "name": "network-resource",
\r
940 "xml": "<outcome value='network-resource'>\n",
\r
943 "x": 4831.566543579102,
\r
945 "z": "4e0409b8.f91f",
\r
953 "id": "cf9ce500.f50458",
\r
955 "name": "block : atomic",
\r
956 "xml": "<block atomic=\"true\">",
\r
959 "x": 5008.566543579102,
\r
961 "z": "4e0409b8.f91f",
\r
971 "id": "a88075c1.8c729",
\r
973 "name": "set domain A network-id",
\r
974 "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
976 "x": 5223.566543579102,
\r
978 "z": "4e0409b8.f91f",
\r
982 "id": "581a1998.3ec1d",
\r
983 "type": "get-resource",
\r
984 "name": "get-resource src network-resource",
\r
985 "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
988 "x": 5240.566543579102,
\r
990 "z": "4e0409b8.f91f",
\r
998 "id": "f64c3af.f06e3c8",
\r
1000 "name": "success",
\r
1001 "xml": "<outcome value='success'>\n",
\r
1004 "x": 5464.066543579102,
\r
1006 "z": "4e0409b8.f91f",
\r
1014 "id": "cb2bd0a2.0f0d1",
\r
1016 "name": "set domain A network-id, topo-id, client-id, etc",
\r
1017 "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
1019 "x": 5728.566543579102,
\r
1021 "z": "4e0409b8.f91f",
\r
1025 "id": "51152d30.8b729c",
\r
1027 "name": "for each relationship",
\r
1028 "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",
\r
1031 "x": 4433.566543579102,
\r
1033 "z": "4e0409b8.f91f",
\r
1041 "id": "57449123.f2a71",
\r
1042 "type": "switchNode",
\r
1043 "name": "switch related-to",
\r
1044 "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
\r
1047 "x": 4628.566543579102,
\r
1049 "z": "4e0409b8.f91f",
\r
1057 "id": "7ccf368b.de5b58",
\r
1060 "xml": "<break>\n",
\r
1062 "x": 5167.566543579102,
\r
1064 "z": "4e0409b8.f91f",
\r
1068 "id": "932626a4.31e948",
\r
1070 "name": "for each relationship",
\r
1071 "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",
\r
1074 "x": 4434.566543579102,
\r
1076 "z": "4e0409b8.f91f",
\r
1084 "id": "d9ee893b.7d30f8",
\r
1085 "type": "switchNode",
\r
1086 "name": "switch related-to",
\r
1087 "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
\r
1090 "x": 4629.566543579102,
\r
1092 "z": "4e0409b8.f91f",
\r
1100 "id": "ac0a66fa.f1ae18",
\r
1103 "xml": "<break>\n",
\r
1105 "x": 5253.566543579102,
\r
1107 "z": "4e0409b8.f91f",
\r
1111 "id": "6fa7548f.d740bc",
\r
1112 "type": "execute",
\r
1113 "name": "execute split tp-id to get pnf-name",
\r
1114 "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
1117 "x": 3937.5665435791016,
\r
1119 "z": "4e0409b8.f91f",
\r
1128 "id": "27b4b2a9.b21e2e",
\r
1129 "type": "failure",
\r
1130 "name": "success",
\r
1131 "xml": "<outcome value='success'>\n",
\r
1134 "x": 4158.566543579102,
\r
1136 "z": "4e0409b8.f91f",
\r
1144 "id": "74f4b0f6.47056",
\r
1145 "type": "failure",
\r
1146 "name": "failure",
\r
1147 "xml": "<outcome value='failure'>\n",
\r
1150 "x": 4158.566543579102,
\r
1152 "z": "4e0409b8.f91f",
\r
1160 "id": "e49dd.c9c7fe23",
\r
1162 "name": "block : atomic",
\r
1163 "xml": "<block atomic=\"true\">",
\r
1166 "x": 4323.566543579102,
\r
1168 "z": "4e0409b8.f91f",
\r
1176 "id": "10ef5ee6.6f4e21",
\r
1178 "name": "set domain-A.ltpId",
\r
1179 "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
1181 "x": 4505.566543579102,
\r
1183 "z": "4e0409b8.f91f",
\r
1187 "id": "1f79b.4a313865b",
\r
1188 "type": "returnFailure",
\r
1189 "name": "return failure",
\r
1190 "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
1192 "x": 4325.566543579102,
\r
1194 "z": "4e0409b8.f91f",
\r
1198 "id": "792e65b5.101e74",
\r
1199 "type": "execute",
\r
1200 "name": "execute split tp-id to get pnf-name",
\r
1201 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n\n\n",
\r
1204 "x": 3945.5665435791016,
\r
1206 "z": "4e0409b8.f91f",
\r
1209 "4265b65.dccf548",
\r
1215 "id": "c497a629.64a3f",
\r
1216 "type": "failure",
\r
1217 "name": "success",
\r
1218 "xml": "<outcome value='success'>\n",
\r
1221 "x": 4166.566543579102,
\r
1223 "z": "4e0409b8.f91f",
\r
1231 "id": "4265b65.dccf548",
\r
1232 "type": "failure",
\r
1233 "name": "failure",
\r
1234 "xml": "<outcome value='failure'>\n",
\r
1237 "x": 4166.566543579102,
\r
1239 "z": "4e0409b8.f91f",
\r
1247 "id": "30cfd60a.db8e02",
\r
1249 "name": "block : atomic",
\r
1250 "xml": "<block atomic=\"true\">",
\r
1253 "x": 4331.566543579102,
\r
1255 "z": "4e0409b8.f91f",
\r
1263 "id": "155f39c7.d2eb06",
\r
1265 "name": "set domain-B.ltpId",
\r
1266 "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
1268 "x": 4527.566543579102,
\r
1270 "z": "4e0409b8.f91f",
\r
1274 "id": "e09c0587.7b6dd8",
\r
1275 "type": "returnFailure",
\r
1276 "name": "return failure",
\r
1277 "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
1279 "x": 4333.566543579102,
\r
1281 "z": "4e0409b8.f91f",
\r
1285 "id": "af5275b3.dbb6f8",
\r
1287 "name": "unset parameters",
\r
1288 "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
1290 "x": 1202.566665649414,
\r
1292 "z": "4e0409b8.f91f",
\r
1296 "id": "a45815b.d857f68",
\r
1297 "type": "comment",
\r
1298 "name": "Not useful anymore",
\r
1299 "info": "this domain-A.ltpId is not used anymore",
\r
1301 "x": 4548.566543579102,
\r
1303 "z": "4e0409b8.f91f",
\r
1307 "id": "6fa83178.5fd4d",
\r
1308 "type": "comment",
\r
1309 "name": "Not useful anymore",
\r
1310 "info": "this domain-B.ltpId is not used anymore",
\r
1312 "x": 4570.566543579102,
\r
1314 "z": "4e0409b8.f91f",
\r
1318 "id": "dbf43529.a6b38",
\r
1320 "name": "unset parameters",
\r
1321 "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->\n<parameter name='`tmp.otninfoProtect.`' value='' />",
\r
1323 "x": 843.5666656494141,
\r
1325 "z": "4e0409b8.f91f",
\r
1329 "id": "2a69c653.73aafa",
\r
1330 "type": "comment",
\r
1331 "name": "May not be necessary",
\r
1334 "x": 854.5666656494141,
\r
1336 "z": "4e0409b8.f91f",
\r
1340 "id": "e683f633.c5efe8",
\r
1342 "name": "block : atomic",
\r
1343 "xml": "<block atomic='true'>",
\r
1347 "x": 834.5666656494141,
\r
1349 "z": "4e0409b8.f91f",
\r
1352 "193d39a9.b3e826",
\r
1353 "f78dfd48.3a3768",
\r
1354 "24ab8c42.ef544c",
\r
1355 "790240fb.3634a8",
\r
1359 "cc2f02e3.4faf38",
\r
1361 "22c2c20a.05cf8e",
\r
1363 "e68ab165.5e6938",
\r
1369 "id": "e9fd00e5.f905a",
\r
1370 "type": "execute",
\r
1371 "name": "execute PCE in ccsdk/sli/core",
\r
1372 "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
1375 "x": 1708.566665649414,
\r
1376 "y": 643.9999847412109,
\r
1377 "z": "4e0409b8.f91f",
\r
1381 "d77e65bd.2b2398",
\r
1387 "id": "193d39a9.b3e826",
\r
1389 "name": "record tmp.pce-src and dst node and backup",
\r
1390 "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
1393 "x": 1130.566665649414,
\r
1395 "z": "4e0409b8.f91f",
\r
1401 "id": "bb6df733.3f44d",
\r
1404 "xml": "<outcome value='Other'>\n",
\r
1407 "x": 1953.566665649414,
\r
1408 "y": 675.9999847412109,
\r
1409 "z": "4e0409b8.f91f",
\r
1415 "id": "d77e65bd.2b2398",
\r
1416 "type": "not-found",
\r
1417 "name": "not-found",
\r
1418 "xml": "<outcome value='not-found'>\n",
\r
1421 "x": 1960.566665649414,
\r
1422 "y": 717.9999847412109,
\r
1423 "z": "4e0409b8.f91f",
\r
1429 "id": "f53ab3c0.9af598",
\r
1430 "type": "success",
\r
1431 "name": "success",
\r
1432 "xml": "<outcome value='success'>\n",
\r
1435 "x": 1955.566665649414,
\r
1436 "y": 638.9999847412109,
\r
1437 "z": "4e0409b8.f91f",
\r
1443 "id": "f78dfd48.3a3768",
\r
1445 "name": "set tmp.pce-src-node",
\r
1446 "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
1448 "x": 1051.566665649414,
\r
1450 "z": "4e0409b8.f91f",
\r
1454 "id": "24ab8c42.ef544c",
\r
1456 "name": "set tmp.pce-dst-node",
\r
1457 "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
1459 "x": 1051.566665649414,
\r
1461 "z": "4e0409b8.f91f",
\r
1465 "id": "1130b3f7.365ee4",
\r
1467 "name": "set src-ltpId",
\r
1468 "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
1470 "x": 1184.566665649414,
\r
1472 "z": "4e0409b8.f91f",
\r
1476 "id": "8c1b9eaf.ad5cc8",
\r
1478 "name": "set dst-ltpId",
\r
1479 "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
1481 "x": 1185.566665649414,
\r
1483 "z": "4e0409b8.f91f",
\r
1487 "id": "790240fb.3634a8",
\r
1488 "type": "get-resource",
\r
1489 "name": "get-resource network-resources-list",
\r
1490 "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
1493 "x": 1108.566665649414,
\r
1495 "z": "4e0409b8.f91f",
\r
1498 "321f874b.15ea38",
\r
1499 "c35ee9e4.47e1e8",
\r
1505 "id": "c35ee9e4.47e1e8",
\r
1508 "xml": "<outcome value='Other'>\n",
\r
1511 "x": 1341.566665649414,
\r
1513 "z": "4e0409b8.f91f",
\r
1519 "id": "e499a9a9.0e01",
\r
1520 "type": "not-found",
\r
1521 "name": "not-found",
\r
1522 "xml": "<outcome value='not-found'>\n",
\r
1525 "x": 1355.566665649414,
\r
1527 "z": "4e0409b8.f91f",
\r
1533 "id": "321f874b.15ea38",
\r
1534 "type": "success",
\r
1535 "name": "success",
\r
1536 "xml": "<outcome value='success'>\n",
\r
1539 "x": 1344.566665649414,
\r
1541 "z": "4e0409b8.f91f",
\r
1547 "id": "b11fbbc8.b831",
\r
1549 "name": "for netwidx..allNetworksList_length",
\r
1550 "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
\r
1553 "x": 1100.566665649414,
\r
1555 "z": "4e0409b8.f91f",
\r
1563 "id": "37e56864.c384a8",
\r
1564 "type": "switchNode",
\r
1565 "name": "switch provider-id domainA",
\r
1566 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",
\r
1569 "x": 1421.566665649414,
\r
1571 "z": "4e0409b8.f91f",
\r
1574 "f31c0e54.58cfb8",
\r
1580 "id": "f31c0e54.58cfb8",
\r
1581 "type": "outcomeTrue",
\r
1583 "xml": "<outcome value='true'>\n",
\r
1586 "x": 1645.566665649414,
\r
1588 "z": "4e0409b8.f91f",
\r
1596 "id": "ed4148.5a48a6b8",
\r
1597 "type": "switchNode",
\r
1598 "name": "switch te-topo-id",
\r
1599 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",
\r
1602 "x": 1858.566665649414,
\r
1604 "z": "4e0409b8.f91f",
\r
1612 "id": "ded6fc8b.e35ca",
\r
1613 "type": "outcomeTrue",
\r
1615 "xml": "<outcome value='true'>\n",
\r
1618 "x": 2023.566665649414,
\r
1620 "z": "4e0409b8.f91f",
\r
1628 "id": "78504a68.544f74",
\r
1630 "name": "set otnTopoIdSrc",
\r
1631 "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
1633 "x": 2192.566665649414,
\r
1635 "z": "4e0409b8.f91f",
\r
1639 "id": "5dd15fcb.a313c8",
\r
1640 "type": "outcomeFalse",
\r
1642 "xml": "<outcome value='false'>\n",
\r
1645 "x": 1645.566665649414,
\r
1647 "z": "4e0409b8.f91f",
\r
1655 "id": "2f4e5806.bb24d8",
\r
1656 "type": "switchNode",
\r
1657 "name": "switch provider-id domainB",
\r
1658 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\n",
\r
1661 "x": 1833.566665649414,
\r
1663 "z": "4e0409b8.f91f",
\r
1666 "27eb21a8.ffa636",
\r
1672 "id": "27eb21a8.ffa636",
\r
1673 "type": "outcomeTrue",
\r
1675 "xml": "<outcome value='true'>\n",
\r
1678 "x": 2023.566665649414,
\r
1680 "z": "4e0409b8.f91f",
\r
1688 "id": "f3653aa0.5d2ad",
\r
1689 "type": "switchNode",
\r
1690 "name": "switch te-topo-id",
\r
1691 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\n",
\r
1694 "x": 2191.566665649414,
\r
1696 "z": "4e0409b8.f91f",
\r
1704 "id": "fd147531.b78cd8",
\r
1705 "type": "outcomeTrue",
\r
1707 "xml": "<outcome value='true'>\n",
\r
1710 "x": 2347.566665649414,
\r
1712 "z": "4e0409b8.f91f",
\r
1720 "id": "bb09be53.6788e",
\r
1722 "name": "set otnTopoIdDst",
\r
1723 "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
1725 "x": 3081.566665649414,
\r
1726 "y": 353.99998474121094,
\r
1727 "z": "4e0409b8.f91f",
\r
1731 "id": "d4108c1f.7fe08",
\r
1733 "name": "unset parameters",
\r
1734 "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
1736 "x": 1045.566665649414,
\r
1738 "z": "4e0409b8.f91f",
\r
1742 "id": "8e33755a.1ba57",
\r
1744 "name": "unset parameters",
\r
1745 "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
\r
1747 "x": 1054.566665649414,
\r
1749 "z": "4e0409b8.f91f",
\r
1753 "id": "cc2f02e3.4faf38",
\r
1755 "name": "unset parameters",
\r
1756 "xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",
\r
1758 "x": 1052.566665649414,
\r
1760 "z": "4e0409b8.f91f",
\r
1764 "id": "ad3a0e96.973f7",
\r
1766 "name": "record otn-oof.",
\r
1767 "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
1770 "x": 1041.566665649414,
\r
1772 "z": "4e0409b8.f91f",
\r
1778 "id": "64986c6c.bc6cbc",
\r
1779 "type": "execute",
\r
1780 "name": "execute printContext",
\r
1781 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",
\r
1784 "x": 1063.566665649414,
\r
1786 "z": "4e0409b8.f91f",
\r
1792 "id": "22c2c20a.05cf8e",
\r
1794 "name": "set filename",
\r
1795 "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
1797 "x": 1037.566665649414,
\r
1799 "z": "4e0409b8.f91f",
\r
1803 "id": "122e2aea.eb72ed",
\r
1804 "type": "outcomeFalse",
\r
1806 "xml": "<outcome value='false'>\n",
\r
1809 "x": 2013.566665649414,
\r
1811 "z": "4e0409b8.f91f",
\r
1819 "id": "f2ff8fde.f8f5",
\r
1820 "type": "switchNode",
\r
1821 "name": "switch provider-id domainC",
\r
1822 "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainC-pnfName[2]`'>\n",
\r
1825 "x": 2214.566665649414,
\r
1827 "z": "4e0409b8.f91f",
\r
1835 "id": "5914550b.42ac7c",
\r
1836 "type": "outcomeTrue",
\r
1838 "xml": "<outcome value='true'>\n",
\r
1841 "x": 2424.566665649414,
\r
1843 "z": "4e0409b8.f91f",
\r
1851 "id": "951109a8.a2d568",
\r
1853 "name": "set otnTopoIdDstBackup",
\r
1854 "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
1856 "x": 3197.566665649414,
\r
1857 "y": 525.0000457763672,
\r
1858 "z": "4e0409b8.f91f",
\r
1862 "id": "cf17500b.fb131",
\r
1864 "name": "unset parameters",
\r
1865 "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",
\r
1867 "x": 1050.566665649414,
\r
1869 "z": "4e0409b8.f91f",
\r
1873 "id": "e68ab165.5e6938",
\r
1875 "name": "set tmp.pce-dst-node-backup",
\r
1876 "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
1878 "x": 1082.566665649414,
\r
1880 "z": "4e0409b8.f91f",
\r
1884 "id": "428ceff6.b61fb8",
\r
1885 "type": "switchNode",
\r
1886 "name": "switch $hasSecondary",
\r
1887 "xml": "<switch test='`$hasSecondary`'>\n",
\r
1890 "x": 1086.566665649414,
\r
1892 "z": "4e0409b8.f91f",
\r
1895 "2dd23358.7a4f8c",
\r
1901 "id": "2dd23358.7a4f8c",
\r
1902 "type": "outcomeTrue",
\r
1904 "xml": "<outcome value='true'>\n",
\r
1907 "x": 1329.566665649414,
\r
1908 "y": 633.9999847412109,
\r
1909 "z": "4e0409b8.f91f",
\r
1917 "id": "e501702c.102908",
\r
1920 "xml": "<block>\n",
\r
1921 "atomic": "false",
\r
1924 "x": 1456.566665649414,
\r
1925 "y": 632.9999847412109,
\r
1926 "z": "4e0409b8.f91f",
\r
1934 "id": "51c8728f.9b3dc4",
\r
1935 "type": "execute",
\r
1936 "name": "execute PCE in ccsdk/sli/core",
\r
1937 "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
1940 "x": 1708.566665649414,
\r
1941 "y": 785.9999847412109,
\r
1942 "z": "4e0409b8.f91f",
\r
1945 "840d6ce4.86fa98",
\r
1952 "id": "840d6ce4.86fa98",
\r
1955 "xml": "<outcome value='Other'>\n",
\r
1958 "x": 1953.566665649414,
\r
1959 "y": 817.9999847412109,
\r
1960 "z": "4e0409b8.f91f",
\r
1966 "id": "e998e819.af2e6",
\r
1967 "type": "not-found",
\r
1968 "name": "not-found",
\r
1969 "xml": "<outcome value='not-found'>\n",
\r
1972 "x": 1960.566665649414,
\r
1973 "y": 859.9999847412109,
\r
1974 "z": "4e0409b8.f91f",
\r
1980 "id": "e1b72b55.dd4808",
\r
1981 "type": "success",
\r
1982 "name": "success",
\r
1983 "xml": "<outcome value='success'>\n",
\r
1986 "x": 1955.566665649414,
\r
1987 "y": 780.9999847412109,
\r
1988 "z": "4e0409b8.f91f",
\r
1994 "id": "ad3f16cb.c3aec",
\r
1996 "name": "for vidx..otn-oof.secondarySolutions_length[]",
\r
1997 "xml": "<for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >",
\r
2000 "x": 851.5666656494141,
\r
2002 "z": "4e0409b8.f91f",
\r
2010 "id": "72549b66.8616bc",
\r
2012 "name": "block : atomic",
\r
2013 "xml": "<block atomic=\"true\">",
\r
2016 "x": 956.0938873291016,
\r
2017 "y": 2346.040771484375,
\r
2018 "z": "4e0409b8.f91f",
\r
2021 "2c2c9198.c50c3e",
\r
2023 "d84b858c.9ebcd8",
\r
2030 "id": "2c2c9198.c50c3e",
\r
2032 "name": "set otn-oof.link-name and etc.",
\r
2033 "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
2035 "x": 1202.5938873291016,
\r
2036 "y": 2239.040771484375,
\r
2037 "z": "4e0409b8.f91f",
\r
2041 "id": "8d10bcb0.3c6cd",
\r
2043 "name": "block : atomic",
\r
2044 "xml": "<block atomic=\"true\">",
\r
2047 "x": 1169.0938873291016,
\r
2048 "y": 2427.7542724609375,
\r
2049 "z": "4e0409b8.f91f",
\r
2058 "id": "ac7c42a0.7e38d",
\r
2060 "name": "unset parameters",
\r
2061 "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
2063 "x": 1193.593765258789,
\r
2064 "y": 2167.7542724609375,
\r
2065 "z": "4e0409b8.f91f",
\r
2069 "id": "d84b858c.9ebcd8",
\r
2071 "name": "set src-ltpId",
\r
2072 "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
2074 "x": 1175.593765258789,
\r
2075 "y": 2298.7542724609375,
\r
2076 "z": "4e0409b8.f91f",
\r
2080 "id": "7b4c76e2.5f3b3",
\r
2082 "name": "set dst-ltpId",
\r
2083 "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
2085 "x": 1176.593765258789,
\r
2086 "y": 2348.7542724609375,
\r
2087 "z": "4e0409b8.f91f",
\r
2091 "id": "e9bb736e.56fa8",
\r
2092 "type": "success",
\r
2093 "name": "success",
\r
2094 "xml": "<outcome value='success'>\n",
\r
2097 "x": 2694.5936431884766,
\r
2098 "y": 2162.7542724609375,
\r
2099 "z": "4e0409b8.f91f",
\r
2107 "id": "dcb58752.9af25",
\r
2108 "type": "not-found",
\r
2109 "name": "not-found",
\r
2110 "xml": "<outcome value='not-found'>\n",
\r
2113 "x": 2727.593765258789,
\r
2114 "y": 2220.7542724609375,
\r
2115 "z": "4e0409b8.f91f",
\r
2123 "id": "292261ad.c3ebbe",
\r
2126 "xml": "<outcome value='Other'>\n",
\r
2129 "x": 2730.593765258789,
\r
2130 "y": 2272.7542724609375,
\r
2131 "z": "4e0409b8.f91f",
\r
2139 "id": "b9704f1a.b2d23",
\r
2140 "type": "returnFailure",
\r
2141 "name": "return failure",
\r
2142 "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
2144 "x": 2912.593765258789,
\r
2145 "y": 2224.7542724609375,
\r
2146 "z": "4e0409b8.f91f",
\r
2150 "id": "25bfbaf5.9753ce",
\r
2151 "type": "returnFailure",
\r
2152 "name": "return failure",
\r
2153 "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
2155 "x": 2900.593765258789,
\r
2156 "y": 2275.7542724609375,
\r
2157 "z": "4e0409b8.f91f",
\r
2161 "id": "fca0adae.ec58d",
\r
2162 "type": "get-resource",
\r
2163 "name": "get-resource src tp",
\r
2164 "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
2167 "x": 2497.093765258789,
\r
2168 "y": 2201.7542724609375,
\r
2169 "z": "4e0409b8.f91f",
\r
2179 "id": "601e2b2c.1242bc",
\r
2181 "name": "set domain A node ttp-id",
\r
2182 "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
2184 "x": 4031.0936431884766,
\r
2185 "y": 2077.7542724609375,
\r
2186 "z": "4e0409b8.f91f",
\r
2190 "id": "4bb17f13.2cb71",
\r
2191 "type": "get-resource",
\r
2192 "name": "get-resource src TTP",
\r
2193 "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
2196 "x": 4039.0936431884766,
\r
2197 "y": 2129.7542724609375,
\r
2198 "z": "4e0409b8.f91f",
\r
2206 "id": "c2621b79.2537a8",
\r
2207 "type": "success",
\r
2208 "name": "success",
\r
2209 "xml": "<outcome value='success'>\n",
\r
2212 "x": 4245.593643188477,
\r
2213 "y": 2107.7542724609375,
\r
2214 "z": "4e0409b8.f91f",
\r
2222 "id": "ec0798cb.1533d",
\r
2224 "name": "block : atomic",
\r
2225 "xml": "<block atomic=\"true\">",
\r
2228 "x": 3810.0936431884766,
\r
2229 "y": 2144.7542724609375,
\r
2230 "z": "4e0409b8.f91f",
\r
2239 "id": "6ccb8a24.97b474",
\r
2241 "name": "block : atomic",
\r
2242 "xml": "<block atomic=\"true\">",
\r
2245 "x": 4420.593643188477,
\r
2246 "y": 2103.7542724609375,
\r
2247 "z": "4e0409b8.f91f",
\r
2255 "id": "f9a3f20b.186cc",
\r
2256 "type": "get-resource",
\r
2257 "name": "get-resource src pnf",
\r
2258 "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
2261 "x": 3900.5936431884766,
\r
2262 "y": 1947.7542724609375,
\r
2263 "z": "4e0409b8.f91f",
\r
2266 "57016828.7a9698",
\r
2267 "65b4f33e.0e081c",
\r
2273 "id": "57016828.7a9698",
\r
2274 "type": "success",
\r
2275 "name": "success",
\r
2276 "xml": "<outcome value='success'>\n",
\r
2279 "x": 4096.093765258789,
\r
2280 "y": 1899.7542724609375,
\r
2281 "z": "4e0409b8.f91f",
\r
2289 "id": "65b4f33e.0e081c",
\r
2290 "type": "not-found",
\r
2291 "name": "not-found",
\r
2292 "xml": "<outcome value='not-found'>\n",
\r
2295 "x": 4088.093765258789,
\r
2296 "y": 1954.7542724609375,
\r
2297 "z": "4e0409b8.f91f",
\r
2305 "id": "be25b5b.9a149c8",
\r
2308 "xml": "<outcome value='Other'>\n",
\r
2311 "x": 4093.093765258789,
\r
2312 "y": 2011.7542724609375,
\r
2313 "z": "4e0409b8.f91f",
\r
2321 "id": "25f8b7d.3afb4c8",
\r
2322 "type": "returnFailure",
\r
2323 "name": "return failure",
\r
2324 "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
2326 "x": 4245.093765258789,
\r
2327 "y": 2012.7542724609375,
\r
2328 "z": "4e0409b8.f91f",
\r
2332 "id": "4b002c39.a49434",
\r
2333 "type": "returnFailure",
\r
2334 "name": "return failure",
\r
2335 "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
2337 "x": 4256.093765258789,
\r
2338 "y": 1957.7542724609375,
\r
2339 "z": "4e0409b8.f91f",
\r
2343 "id": "9fdba29.534c3e",
\r
2346 "xml": "<block>\n",
\r
2347 "atomic": "false",
\r
2350 "x": 4240.476089477539,
\r
2351 "y": 1897.4099426269531,
\r
2352 "z": "4e0409b8.f91f",
\r
2355 "a19b2d56.1ea388",
\r
2361 "id": "a19b2d56.1ea388",
\r
2363 "name": "set domain A node-id and tpn",
\r
2364 "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
2366 "x": 4465.593643188477,
\r
2367 "y": 1852.7542724609375,
\r
2368 "z": "4e0409b8.f91f",
\r
2372 "id": "c3f67f95.429dc8",
\r
2375 "xml": "<break>\n",
\r
2377 "x": 3987.5936431884766,
\r
2378 "y": 2194.7542724609375,
\r
2379 "z": "4e0409b8.f91f",
\r
2383 "id": "797cc960.582008",
\r
2385 "name": "for each relationship",
\r
2386 "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",
\r
2389 "x": 4424.593643188477,
\r
2390 "y": 1911.7542724609375,
\r
2391 "z": "4e0409b8.f91f",
\r
2399 "id": "ff2ca881.6e80f",
\r
2400 "type": "execute",
\r
2401 "name": "execute split tp-id to get pnf-name",
\r
2402 "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
2405 "x": 3928.5936431884766,
\r
2406 "y": 1741.7542724609375,
\r
2407 "z": "4e0409b8.f91f",
\r
2410 "17b2ffb3.2d4f28",
\r
2416 "id": "d4ff8e2b.b4c1a",
\r
2417 "type": "failure",
\r
2418 "name": "success",
\r
2419 "xml": "<outcome value='success'>\n",
\r
2422 "x": 4149.593643188477,
\r
2423 "y": 1709.7542724609375,
\r
2424 "z": "4e0409b8.f91f",
\r
2432 "id": "17b2ffb3.2d4f28",
\r
2433 "type": "failure",
\r
2434 "name": "failure",
\r
2435 "xml": "<outcome value='failure'>\n",
\r
2438 "x": 4149.593643188477,
\r
2439 "y": 1756.7542724609375,
\r
2440 "z": "4e0409b8.f91f",
\r
2448 "id": "59d0ac44.c2fd5c",
\r
2450 "name": "block : atomic",
\r
2451 "xml": "<block atomic=\"true\">",
\r
2454 "x": 4314.593643188477,
\r
2455 "y": 1706.7542724609375,
\r
2456 "z": "4e0409b8.f91f",
\r
2464 "id": "1a379e27.92df22",
\r
2466 "name": "set domain-A.ltpId",
\r
2467 "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
2469 "x": 4496.593643188477,
\r
2470 "y": 1710.7542724609375,
\r
2471 "z": "4e0409b8.f91f",
\r
2475 "id": "9ebc4b55.62965",
\r
2476 "type": "returnFailure",
\r
2477 "name": "return failure",
\r
2478 "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
2480 "x": 4316.593643188477,
\r
2481 "y": 1756.7542724609375,
\r
2482 "z": "4e0409b8.f91f",
\r
2486 "id": "2ed9f2e5.dc7796",
\r
2487 "type": "comment",
\r
2488 "name": "Not useful anymore",
\r
2489 "info": "this domain-A.ltpId is not used anymore",
\r
2491 "x": 4539.593643188477,
\r
2492 "y": 1686.7542724609375,
\r
2493 "z": "4e0409b8.f91f",
\r
2497 "id": "82ff29ba.0fae6",
\r
2499 "name": "set domain A tunnel tp ip",
\r
2500 "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
2502 "x": 4681.593643188477,
\r
2503 "y": 2100.7542724609375,
\r
2504 "z": "4e0409b8.f91f",
\r
2508 "id": "d5728c31.d60e58",
\r
2509 "type": "outcome",
\r
2510 "name": "network-resource",
\r
2511 "xml": "<outcome value='network-resource'>\n",
\r
2514 "x": 4822.593643188477,
\r
2515 "y": 1915.7542724609375,
\r
2516 "z": "4e0409b8.f91f",
\r
2524 "id": "344ff0b9.5a6638",
\r
2525 "type": "switchNode",
\r
2526 "name": "switch related-to",
\r
2527 "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
\r
2530 "x": 4619.593643188477,
\r
2531 "y": 1911.7542724609375,
\r
2532 "z": "4e0409b8.f91f",
\r
2540 "id": "b69c1030.9f819",
\r
2542 "name": "block : atomic",
\r
2543 "xml": "<block atomic=\"true\">",
\r
2546 "x": 4999.593643188477,
\r
2547 "y": 1907.7542724609375,
\r
2548 "z": "4e0409b8.f91f",
\r
2551 "166dece1.2a1d83",
\r
2552 "f5802fed.00b688",
\r
2558 "id": "166dece1.2a1d83",
\r
2560 "name": "set domain A network-id",
\r
2561 "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
2563 "x": 5214.593643188477,
\r
2564 "y": 1888.7542724609375,
\r
2565 "z": "4e0409b8.f91f",
\r
2569 "id": "f5802fed.00b688",
\r
2570 "type": "get-resource",
\r
2571 "name": "get-resource src network-resource",
\r
2572 "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
2575 "x": 5231.593643188477,
\r
2576 "y": 1952.7542724609375,
\r
2577 "z": "4e0409b8.f91f",
\r
2585 "id": "70174310.ef21fc",
\r
2586 "type": "success",
\r
2587 "name": "success",
\r
2588 "xml": "<outcome value='success'>\n",
\r
2591 "x": 5455.093643188477,
\r
2592 "y": 1953.7542724609375,
\r
2593 "z": "4e0409b8.f91f",
\r
2601 "id": "a7e50d88.6d2e68",
\r
2603 "name": "set domain A network-id, topo-id, client-id, etc",
\r
2604 "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
2606 "x": 5719.593643188477,
\r
2607 "y": 1942.7542724609375,
\r
2608 "z": "4e0409b8.f91f",
\r
2612 "id": "9da4f014.ed916",
\r
2615 "xml": "<break>\n",
\r
2617 "x": 5158.593643188477,
\r
2618 "y": 2005.7542724609375,
\r
2619 "z": "4e0409b8.f91f",
\r
2623 "id": "32a11f41.1ed8d",
\r
2626 "xml": "<break>\n",
\r
2628 "x": 2370.0936431884766,
\r
2629 "y": 2671.7542724609375,
\r
2630 "z": "4e0409b8.f91f",
\r
2634 "id": "aa69eaa5.3a021",
\r
2635 "type": "get-resource",
\r
2636 "name": "get-resource dst tp",
\r
2637 "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
2640 "x": 2451.093765258789,
\r
2641 "y": 2567.7542724609375,
\r
2642 "z": "4e0409b8.f91f",
\r
2645 "152c1e2a.f51b3a",
\r
2646 "7865573.9e8f528",
\r
2652 "id": "152c1e2a.f51b3a",
\r
2653 "type": "success",
\r
2654 "name": "success",
\r
2655 "xml": "<outcome value='success'>\n",
\r
2658 "x": 2673.5936431884766,
\r
2659 "y": 2709.7542724609375,
\r
2660 "z": "4e0409b8.f91f",
\r
2668 "id": "7865573.9e8f528",
\r
2669 "type": "not-found",
\r
2670 "name": "not-found",
\r
2671 "xml": "<outcome value='not-found'>\n",
\r
2674 "x": 2657.5936431884766,
\r
2675 "y": 2760.7542724609375,
\r
2676 "z": "4e0409b8.f91f",
\r
2684 "id": "eadd04f2.0d2bb",
\r
2687 "xml": "<outcome value='Other'>\n",
\r
2690 "x": 2660.5936431884766,
\r
2691 "y": 2812.7542724609375,
\r
2692 "z": "4e0409b8.f91f",
\r
2700 "id": "38ceedcf.b5335a",
\r
2701 "type": "returnFailure",
\r
2702 "name": "return failure",
\r
2703 "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
2705 "x": 2830.5936431884766,
\r
2706 "y": 2815.7542724609375,
\r
2707 "z": "4e0409b8.f91f",
\r
2711 "id": "c6fabcec.420a88",
\r
2712 "type": "returnFailure",
\r
2713 "name": "return failure",
\r
2714 "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
2716 "x": 2842.5936431884766,
\r
2717 "y": 2764.7542724609375,
\r
2718 "z": "4e0409b8.f91f",
\r
2722 "id": "356cecf3.c4ea5c",
\r
2724 "name": "block : atomic",
\r
2725 "xml": "<block atomic=\"true\">",
\r
2728 "x": 3829.0936431884766,
\r
2729 "y": 2716.7542724609375,
\r
2730 "z": "4e0409b8.f91f",
\r
2733 "4fed46ef.674408",
\r
2739 "id": "a44d6b1a.d3f79",
\r
2741 "name": "set domain C node ttp-id",
\r
2742 "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
2744 "x": 4071.0936431884766,
\r
2745 "y": 2670.7542724609375,
\r
2746 "z": "4e0409b8.f91f",
\r
2750 "id": "c5d0aabe.bbcdd",
\r
2751 "type": "get-resource",
\r
2752 "name": "get-resource dst TTP",
\r
2753 "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
2756 "x": 4061.0936431884766,
\r
2757 "y": 2721.7542724609375,
\r
2758 "z": "4e0409b8.f91f",
\r
2766 "id": "a5108f92.47e008",
\r
2767 "type": "success",
\r
2768 "name": "success",
\r
2769 "xml": "<outcome value='success'>\n",
\r
2772 "x": 4248.593643188477,
\r
2773 "y": 2719.7542724609375,
\r
2774 "z": "4e0409b8.f91f",
\r
2782 "id": "3f6a4418.f345e4",
\r
2784 "name": "block : atomic",
\r
2785 "xml": "<block atomic=\"true\">",
\r
2788 "x": 4437.593643188477,
\r
2789 "y": 2708.7542724609375,
\r
2790 "z": "4e0409b8.f91f",
\r
2798 "id": "4fed46ef.674408",
\r
2799 "type": "get-resource",
\r
2800 "name": "get-resource dst pnf",
\r
2801 "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
2804 "x": 3897.5936431884766,
\r
2805 "y": 2550.7542724609375,
\r
2806 "z": "4e0409b8.f91f",
\r
2810 "4c983cea.380204",
\r
2816 "id": "22ff4b86.f0d134",
\r
2817 "type": "success",
\r
2818 "name": "success",
\r
2819 "xml": "<outcome value='success'>\n",
\r
2822 "x": 4093.093765258789,
\r
2823 "y": 2502.7542724609375,
\r
2824 "z": "4e0409b8.f91f",
\r
2832 "id": "4c983cea.380204",
\r
2833 "type": "not-found",
\r
2834 "name": "not-found",
\r
2835 "xml": "<outcome value='not-found'>\n",
\r
2838 "x": 4085.093765258789,
\r
2839 "y": 2557.7542724609375,
\r
2840 "z": "4e0409b8.f91f",
\r
2848 "id": "bd5f8459.3729e",
\r
2851 "xml": "<outcome value='Other'>\n",
\r
2854 "x": 4090.093765258789,
\r
2855 "y": 2614.7542724609375,
\r
2856 "z": "4e0409b8.f91f",
\r
2864 "id": "f7516a99.fda6b8",
\r
2867 "xml": "<block>\n",
\r
2868 "atomic": "false",
\r
2871 "x": 4237.476089477539,
\r
2872 "y": 2500.409942626953,
\r
2873 "z": "4e0409b8.f91f",
\r
2882 "id": "295923ec.beece4",
\r
2883 "type": "returnFailure",
\r
2884 "name": "return failure",
\r
2885 "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
2887 "x": 4253.093765258789,
\r
2888 "y": 2560.7542724609375,
\r
2889 "z": "4e0409b8.f91f",
\r
2893 "id": "e1270f4a.ad2a4",
\r
2894 "type": "returnFailure",
\r
2895 "name": "return failure",
\r
2896 "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
2898 "x": 4242.093765258789,
\r
2899 "y": 2615.7542724609375,
\r
2900 "z": "4e0409b8.f91f",
\r
2904 "id": "bed1ec55.99743",
\r
2906 "name": "set domain C node-id and tpn",
\r
2907 "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
2909 "x": 4446.593643188477,
\r
2910 "y": 2467.7542724609375,
\r
2911 "z": "4e0409b8.f91f",
\r
2915 "id": "b4276d76.e5bd28",
\r
2918 "xml": "<break>\n",
\r
2920 "x": 4016.5936431884766,
\r
2921 "y": 2762.7542724609375,
\r
2922 "z": "4e0409b8.f91f",
\r
2926 "id": "1fe2d8e1.fee497",
\r
2928 "name": "for each relationship",
\r
2929 "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",
\r
2932 "x": 4425.593643188477,
\r
2933 "y": 2518.7542724609375,
\r
2934 "z": "4e0409b8.f91f",
\r
2942 "id": "3084850b.df6bda",
\r
2943 "type": "execute",
\r
2944 "name": "execute split tp-id to get pnf-name",
\r
2945 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp.interface-name`'/>\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
2948 "x": 3936.5936431884766,
\r
2949 "y": 2365.7542724609375,
\r
2950 "z": "4e0409b8.f91f",
\r
2953 "8b1f9e78.fc6b08",
\r
2959 "id": "3fee13c1.19280c",
\r
2960 "type": "failure",
\r
2961 "name": "success",
\r
2962 "xml": "<outcome value='success'>\n",
\r
2965 "x": 4157.593643188477,
\r
2966 "y": 2333.7542724609375,
\r
2967 "z": "4e0409b8.f91f",
\r
2975 "id": "8b1f9e78.fc6b08",
\r
2976 "type": "failure",
\r
2977 "name": "failure",
\r
2978 "xml": "<outcome value='failure'>\n",
\r
2981 "x": 4157.593643188477,
\r
2982 "y": 2380.7542724609375,
\r
2983 "z": "4e0409b8.f91f",
\r
2991 "id": "6b3391c6.a98da8",
\r
2993 "name": "block : atomic",
\r
2994 "xml": "<block atomic=\"true\">",
\r
2997 "x": 4322.593643188477,
\r
2998 "y": 2330.7542724609375,
\r
2999 "z": "4e0409b8.f91f",
\r
3007 "id": "1cd577a8.988b1",
\r
3009 "name": "set domain-C.ltpId",
\r
3010 "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
3012 "x": 4518.593643188477,
\r
3013 "y": 2327.7542724609375,
\r
3014 "z": "4e0409b8.f91f",
\r
3018 "id": "14daeb1e.72349d",
\r
3019 "type": "returnFailure",
\r
3020 "name": "return failure",
\r
3021 "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
3023 "x": 4324.593643188477,
\r
3024 "y": 2380.7542724609375,
\r
3025 "z": "4e0409b8.f91f",
\r
3029 "id": "4bc21155.9e35b8",
\r
3031 "name": "block : atomic",
\r
3032 "xml": "<block atomic=\"true\">",
\r
3035 "x": 5039.093643188477,
\r
3036 "y": 2520.7542724609375,
\r
3037 "z": "4e0409b8.f91f",
\r
3041 "d5d38231.3c54c8",
\r
3047 "id": "a98c3e69.f90ce",
\r
3048 "type": "outcome",
\r
3049 "name": "network-resource",
\r
3050 "xml": "<outcome value='network-resource'>\n",
\r
3053 "x": 4826.093643188477,
\r
3054 "y": 2519.7542724609375,
\r
3055 "z": "4e0409b8.f91f",
\r
3063 "id": "f349b322.df08",
\r
3065 "name": "set domain C tunnel tp id",
\r
3066 "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
3068 "x": 4670.593643188477,
\r
3069 "y": 2707.7542724609375,
\r
3070 "z": "4e0409b8.f91f",
\r
3074 "id": "160d6eb7.8ffc29",
\r
3075 "type": "switchNode",
\r
3076 "name": "switch related-to",
\r
3077 "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
\r
3080 "x": 4620.593643188477,
\r
3081 "y": 2518.7542724609375,
\r
3082 "z": "4e0409b8.f91f",
\r
3090 "id": "34664c18.fc324c",
\r
3093 "xml": "<break>\n",
\r
3095 "x": 5244.593643188477,
\r
3096 "y": 2598.7542724609375,
\r
3097 "z": "4e0409b8.f91f",
\r
3101 "id": "ae34b806.fa03b",
\r
3102 "type": "comment",
\r
3103 "name": "Not useful anymore",
\r
3104 "info": "this domain-B.ltpId is not used anymore",
\r
3106 "x": 4561.593643188477,
\r
3107 "y": 2299.7542724609375,
\r
3108 "z": "4e0409b8.f91f",
\r
3112 "id": "847f7adf.63e62",
\r
3114 "name": "set domain C network-id",
\r
3115 "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
3117 "x": 5309.093643188477,
\r
3118 "y": 2496.7542724609375,
\r
3119 "z": "4e0409b8.f91f",
\r
3123 "id": "d5d38231.3c54c8",
\r
3124 "type": "get-resource",
\r
3125 "name": "get-resource dst network-resource",
\r
3126 "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
3129 "x": 5319.093643188477,
\r
3130 "y": 2542.7542724609375,
\r
3131 "z": "4e0409b8.f91f",
\r
3139 "id": "c8249671.c35c4",
\r
3140 "type": "success",
\r
3141 "name": "success",
\r
3142 "xml": "<outcome value='success'>\n",
\r
3145 "x": 5534.593643188477,
\r
3146 "y": 2533.7542724609375,
\r
3147 "z": "4e0409b8.f91f",
\r
3155 "id": "e7dfb060.d731a",
\r
3157 "name": "set domain B network-id, topo-id, client-id, etc",
\r
3158 "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
3160 "x": 5789.093643188477,
\r
3161 "y": 2539.7542724609375,
\r
3162 "z": "4e0409b8.f91f",
\r
3166 "id": "f489a007.b1fc48",
\r
3167 "type": "switchNode",
\r
3168 "name": "switch $hasSecondary",
\r
3169 "xml": "<switch test='`$hasSecondary`'>\n",
\r
3172 "x": 2695.766616821289,
\r
3173 "y": 358.0833282470703,
\r
3174 "z": "4e0409b8.f91f",
\r
3177 "c262fde8.437148",
\r
3183 "id": "c262fde8.437148",
\r
3184 "type": "outcomeTrue",
\r
3186 "xml": "<outcome value='true'>\n",
\r
3189 "x": 2844.766616821289,
\r
3190 "y": 255.08331298828125,
\r
3191 "z": "4e0409b8.f91f",
\r
3199 "id": "c793aa2a.5c74e",
\r
3202 "xml": "<block>\n",
\r
3203 "atomic": "false",
\r
3206 "x": 2977.766616821289,
\r
3207 "y": 257.08331298828125,
\r
3208 "z": "4e0409b8.f91f",
\r
3216 "id": "f2810acd.c58fe8",
\r
3217 "type": "switchNode",
\r
3218 "name": "switch 2-ROOTS in same domain?",
\r
3219 "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
3222 "x": 3212.649917602539,
\r
3223 "y": 266.9666748046875,
\r
3224 "z": "4e0409b8.f91f",
\r
3227 "1e64454.01debbb",
\r
3233 "id": "1e64454.01debbb",
\r
3234 "type": "outcomeTrue",
\r
3236 "xml": "<outcome value='true'>\n",
\r
3239 "x": 3443.649917602539,
\r
3240 "y": 292.9666442871094,
\r
3241 "z": "4e0409b8.f91f",
\r
3249 "id": "769cd65e.c95b38",
\r
3250 "type": "outcomeTrue",
\r
3252 "xml": "<outcome value='false'>\n",
\r
3255 "x": 3373.649917602539,
\r
3256 "y": 483.9666748046875,
\r
3257 "z": "4e0409b8.f91f",
\r
3265 "id": "3dcfd2e9.8e3c46",
\r
3268 "xml": "<block>\n",
\r
3269 "atomic": "false",
\r
3272 "x": 3585.649917602539,
\r
3273 "y": 282.9666442871094,
\r
3274 "z": "4e0409b8.f91f",
\r
3283 "id": "10e6181e.3d4e78",
\r
3286 "xml": "<block>\n",
\r
3287 "atomic": "false",
\r
3290 "x": 3499.649917602539,
\r
3291 "y": 483.9666748046875,
\r
3292 "z": "4e0409b8.f91f",
\r
3300 "id": "3d9b6343.bf83b4",
\r
3303 "xml": "<block>\n",
\r
3304 "atomic": "false",
\r
3307 "x": 2496.533462524414,
\r
3308 "y": 361.0833435058594,
\r
3309 "z": "4e0409b8.f91f",
\r
3317 "id": "9ff11e86.dc4bb",
\r
3319 "name": "set otnTopoIdDst",
\r
3320 "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
3322 "x": 3744.233413696289,
\r
3323 "y": 262.0833282470703,
\r
3324 "z": "4e0409b8.f91f",
\r
3328 "id": "8227d2b1.488338",
\r
3330 "name": "set otnTopoIdDstBackup",
\r
3331 "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
3333 "x": 3766.233413696289,
\r
3334 "y": 310.0833282470703,
\r
3335 "z": "4e0409b8.f91f",
\r
3339 "id": "a1c4eb1b.b4754",
\r
3341 "name": "set otnTopoIdDst",
\r
3342 "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
\r
3344 "x": 3670.233413696289,
\r
3345 "y": 484.0833435058594,
\r
3346 "z": "4e0409b8.f91f",
\r
3350 "id": "8ad70e62.96436",
\r
3353 "xml": "<block>\n",
\r
3354 "atomic": "false",
\r
3357 "x": 2565.250015258789,
\r
3358 "y": 435.8833312988281,
\r
3359 "z": "4e0409b8.f91f",
\r
3367 "id": "5780b97a.59b558",
\r
3368 "type": "switchNode",
\r
3369 "name": "switch $hasSecondary",
\r
3370 "xml": "<switch test='`$hasSecondary`'>\n",
\r
3373 "x": 2764.483169555664,
\r
3374 "y": 432.88331604003906,
\r
3375 "z": "4e0409b8.f91f",
\r
3383 "id": "fef9cbe1.25a228",
\r
3384 "type": "outcomeTrue",
\r
3386 "xml": "<outcome value='true'>\n",
\r
3389 "x": 2955.483169555664,
\r
3390 "y": 436.88331604003906,
\r
3391 "z": "4e0409b8.f91f",
\r
3399 "id": "ec1ef68a.ed26c8",
\r
3402 "xml": "<block>\n",
\r
3403 "atomic": "false",
\r
3406 "x": 3082.483169555664,
\r
3407 "y": 435.88331604003906,
\r
3408 "z": "4e0409b8.f91f",
\r
3416 "id": "dcb40ac9.18c4f",
\r
3417 "type": "switchNode",
\r
3418 "name": "switch secondarySolutions empty?",
\r
3419 "xml": "<switch test='`length($otn-oof.secondarySolutions) == 0`'>\n\n",
\r
3422 "x": 1426.133316040039,
\r
3423 "y": 1739.566650390625,
\r
3424 "z": "4e0409b8.f91f",
\r
3433 "id": "b4326611.a83f7",
\r
3434 "type": "outcomeTrue",
\r
3436 "xml": "<outcome value='true'>\n",
\r
3439 "x": 1652.0333404541016,
\r
3440 "y": 1711.566650390625,
\r
3441 "z": "4e0409b8.f91f",
\r
3449 "id": "fc540bcd.ddd198",
\r
3450 "type": "outcomeFalse",
\r
3452 "xml": "<outcome value='false'>\n",
\r
3455 "x": 1650.0333404541016,
\r
3456 "y": 1761.566650390625,
\r
3457 "z": "4e0409b8.f91f",
\r
3463 "id": "11284bee.dffd4c",
\r
3466 "xml": "<block>\n",
\r
3467 "atomic": "false",
\r
3470 "x": 1794.133316040039,
\r
3471 "y": 1711.566650390625,
\r
3472 "z": "4e0409b8.f91f",
\r
3478 "id": "b39a241.90443d8",
\r
3479 "type": "switchNode",
\r
3480 "name": "switch $hasSecondary",
\r
3481 "xml": "<switch test='`$hasSecondary`'>\n",
\r
3484 "x": 805.0333404541016,
\r
3485 "y": 1928.566650390625,
\r
3486 "z": "4e0409b8.f91f",
\r
3494 "id": "549781c.cb0618",
\r
3495 "type": "outcomeTrue",
\r
3497 "xml": "<outcome value='true'>\n",
\r
3500 "x": 991.0333404541016,
\r
3501 "y": 1929.566650390625,
\r
3502 "z": "4e0409b8.f91f",
\r
3510 "id": "d885ede8.5b658",
\r
3513 "xml": "<block>\n",
\r
3514 "atomic": "false",
\r
3517 "x": 1121.0333404541016,
\r
3518 "y": 1929.566650390625,
\r
3519 "z": "4e0409b8.f91f",
\r
3527 "id": "d85ed40b.18e0d8",
\r
3530 "xml": "<outcome value='Other'>\n",
\r
3533 "x": 1327.566665649414,
\r
3534 "y": 739.9999847412109,
\r
3535 "z": "4e0409b8.f91f",
\r
3543 "id": "2d158257.c6b36e",
\r
3546 "xml": "<block>\n",
\r
3547 "atomic": "false",
\r
3550 "x": 1467.566665649414,
\r
3551 "y": 739.9999847412109,
\r
3552 "z": "4e0409b8.f91f",
\r
3560 "id": "6b716591.83bdfc",
\r
3563 "xml": "<outcome value='Other'>\n",
\r
3566 "x": 2890.566665649414,
\r
3567 "y": 358.99998474121094,
\r
3568 "z": "4e0409b8.f91f",
\r
3576 "id": "6ced391e.ea212",
\r
3578 "name": "record cross-link",
\r
3579 "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.cross-link.src-ltpId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.src-pnf-name`\"/>\n<parameter name=\"field3\" value=\"`$tmp.cross-link.dst-ltpId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.dst-pnf-name`\"/>\n",
\r
3582 "x": 1200.566650390625,
\r
3583 "y": 1068.999984741211,
\r
3584 "z": "4e0409b8.f91f",
\r