3 "id": "aa75113b.2c42b8",
\r
9 "z": "5b68e0d.bd97b2",
\r
17 "id": "ab15dc15.738968",
\r
18 "type": "service-logic",
\r
19 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
20 "module": "GENERIC-RESOURCE-API",
\r
21 "version": "${project.version}",
\r
23 "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
\r
26 "y": 404.00001525878906,
\r
27 "z": "5b68e0d.bd97b2",
\r
35 "id": "a46085e4.dea2f",
\r
37 "name": "sotn-get-otn-tunnel-path-from-oof",
\r
38 "xml": "<method rpc='sotn-get-otn-tunnel-path-from-oof' mode='sync'>\n",
\r
41 "x": 325.0001220703125,
\r
43 "z": "5b68e0d.bd97b2",
\r
51 "id": "f51f5245.de05e8",
\r
53 "name": "execute RestApiCallNode getPath from OOF",
\r
54 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
\r
57 "x": 807.9730834960938,
\r
58 "y": 155.99600219726562,
\r
59 "z": "5b68e0d.bd97b2",
\r
68 "id": "8059dde9.1ce2e",
\r
71 "xml": "<outcome value='success'>\n",
\r
74 "x": 1047.9732246398926,
\r
75 "y": 179.9959716796875,
\r
76 "z": "5b68e0d.bd97b2",
\r
84 "id": "6c823726.8cfc2",
\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": 1186.973258972168,
\r
90 "y": 128.99606323242188,
\r
91 "z": "5b68e0d.bd97b2",
\r
95 "id": "dd740bdc.617d78",
\r
98 "xml": "<outcome value='failure'>\n",
\r
101 "x": 1046.9730110168457,
\r
102 "y": 128.99606227874756,
\r
103 "z": "5b68e0d.bd97b2",
\r
111 "id": "1cad6ca3.0c0a23",
\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": 779.4768829345703,
\r
117 "y": 112.00000190734863,
\r
118 "z": "5b68e0d.bd97b2",
\r
122 "id": "500e653c.02a91c",
\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": 798.972900390625,
\r
129 "y": 465.2457275390625,
\r
130 "z": "5b68e0d.bd97b2",
\r
138 "id": "df52b38a.7717c",
\r
140 "name": "Loop through OTN links",
\r
143 "x": 882.4732055664062,
\r
145 "z": "5b68e0d.bd97b2",
\r
149 "id": "6dab679f.e9004",
\r
151 "name": "block : atomic",
\r
152 "xml": "<block atomic=\"true\">",
\r
155 "x": 903.5001220703125,
\r
156 "y": 656.2864990234375,
\r
157 "z": "5b68e0d.bd97b2",
\r
166 "id": "58b38e8f.68cb58",
\r
167 "type": "get-resource",
\r
168 "name": "get-resource cross-link",
\r
169 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"logical-link\" \n\t\tkey=\"logical-link.link-name = $otn-oof.link-name\"\n pfx='tmp.aai.cross-link' local-only='false' >\n\n <!--AND depth = '0'\"-->\n\n\n",
\r
172 "x": 1170.5001220703125,
\r
173 "y": 576.2864685058594,
\r
174 "z": "5b68e0d.bd97b2",
\r
184 "id": "bd646a50.9ca6d",
\r
187 "xml": "<outcome value='success'>\n",
\r
190 "x": 1362.0001220703125,
\r
191 "y": 521.2864685058594,
\r
192 "z": "5b68e0d.bd97b2",
\r
200 "id": "a7dfe4ca.7050a8",
\r
201 "type": "not-found",
\r
202 "name": "not-found",
\r
203 "xml": "<outcome value='not-found'>\n",
\r
206 "x": 1389.0001220703125,
\r
207 "y": 756.2864990234375,
\r
208 "z": "5b68e0d.bd97b2",
\r
216 "id": "147899e8.194c7e",
\r
219 "xml": "<outcome value='Other'>\n",
\r
222 "x": 1383.0001220703125,
\r
223 "y": 806.2864990234375,
\r
224 "z": "5b68e0d.bd97b2",
\r
232 "id": "6604b8e.b3db548",
\r
233 "type": "returnFailure",
\r
234 "name": "return failure",
\r
235 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
237 "x": 1550.0001220703125,
\r
238 "y": 745.2864990234375,
\r
239 "z": "5b68e0d.bd97b2",
\r
243 "id": "61e58c1.1c151f4",
\r
244 "type": "returnFailure",
\r
245 "name": "return failure",
\r
246 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
248 "x": 1548.0001220703125,
\r
249 "y": 801.2864990234375,
\r
250 "z": "5b68e0d.bd97b2",
\r
254 "id": "3a661a62.460126",
\r
256 "name": "set src-ltpId and dst-ltpId",
\r
257 "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[0].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[1].relationship-data[1].relationship-value`\" />\n\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[1].relationship-data[0].relationship-value`\" />\n\n\n",
\r
259 "x": 2362.5001220703125,
\r
260 "y": 440.2864685058594,
\r
261 "z": "5b68e0d.bd97b2",
\r
265 "id": "a01c1aa6.b32a",
\r
267 "name": "get cross-domain-link information",
\r
270 "x": 1171.5001220703125,
\r
271 "y": 537.2864685058594,
\r
272 "z": "5b68e0d.bd97b2",
\r
276 "id": "31a7d8e8.5f496",
\r
278 "name": "set otn-oof.link-name",
\r
279 "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />",
\r
281 "x": 1153.0001220703125,
\r
282 "y": 486.2864685058594,
\r
283 "z": "5b68e0d.bd97b2",
\r
287 "id": "35b68c0d.85ca94",
\r
290 "xml": "<block>\n",
\r
294 "x": 1193.0002708435059,
\r
295 "y": 177.74145698547363,
\r
296 "z": "5b68e0d.bd97b2",
\r
302 "id": "7d5a0cd3.c6dfbc",
\r
304 "name": "block : atomic",
\r
305 "xml": "<block atomic=\"true\">",
\r
308 "x": 565.9688835144043,
\r
309 "y": 423.74163722991943,
\r
310 "z": "5b68e0d.bd97b2",
\r
319 "id": "40299798.13bc",
\r
320 "type": "switchNode",
\r
321 "name": "test cross-domain-link",
\r
322 "xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",
\r
325 "x": 1677.5001220703125,
\r
327 "z": "5b68e0d.bd97b2",
\r
335 "id": "53a2c424.a12b74",
\r
337 "name": "outcome cross-domain",
\r
338 "xml": "<outcome value='cross-domain'>\n",
\r
341 "x": 1913.5001220703125,
\r
343 "z": "5b68e0d.bd97b2",
\r
351 "id": "dd179bba.27e578",
\r
354 "xml": "<break>\n",
\r
356 "x": 2198.5001220703125,
\r
358 "z": "5b68e0d.bd97b2",
\r
362 "id": "7c9bf405.132f7c",
\r
364 "name": "block : atomic",
\r
365 "xml": "<block atomic=\"true\">",
\r
368 "x": 2116.5001220703125,
\r
370 "z": "5b68e0d.bd97b2",
\r
381 "id": "b97c4b80.2182d",
\r
383 "name": "setup variables",
\r
386 "x": 2330.5001220703125,
\r
388 "z": "5b68e0d.bd97b2",
\r
392 "id": "a736e107.ab857",
\r
393 "type": "get-resource",
\r
394 "name": "get-resource src tp",
\r
395 "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
398 "x": 2359.5001220703125,
\r
400 "z": "5b68e0d.bd97b2",
\r
410 "id": "30082dde.5085da",
\r
413 "xml": "<outcome value='success'>\n",
\r
416 "x": 2593.0001220703125,
\r
418 "z": "5b68e0d.bd97b2",
\r
426 "id": "a603f43.0659d88",
\r
427 "type": "not-found",
\r
428 "name": "not-found",
\r
429 "xml": "<outcome value='not-found'>\n",
\r
432 "x": 2590.0001220703125,
\r
434 "z": "5b68e0d.bd97b2",
\r
442 "id": "ed057305.d13bc",
\r
445 "xml": "<outcome value='Other'>\n",
\r
448 "x": 2593.0001220703125,
\r
450 "z": "5b68e0d.bd97b2",
\r
458 "id": "8496f5b4.9321e8",
\r
459 "type": "returnFailure",
\r
460 "name": "return failure",
\r
461 "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
463 "x": 2775.0001220703125,
\r
465 "z": "5b68e0d.bd97b2",
\r
469 "id": "1dbdbb79.fd0ced",
\r
470 "type": "returnFailure",
\r
471 "name": "return failure",
\r
472 "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
474 "x": 2763.0001220703125,
\r
476 "z": "5b68e0d.bd97b2",
\r
480 "id": "94adb9b9.7a0948",
\r
482 "name": "set tmp.src-pnf-name",
\r
483 "xml": "<set>\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.src-tp.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
\r
487 "z": "5b68e0d.bd97b2",
\r
491 "id": "a5379b59.d56668",
\r
492 "type": "get-resource",
\r
493 "name": "get-resource src pnf",
\r
494 "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\n\n",
\r
499 "z": "5b68e0d.bd97b2",
\r
509 "id": "fc1e5cdb.f87da8",
\r
512 "xml": "<outcome value='success'>\n",
\r
515 "x": 3067.0001220703125,
\r
517 "z": "5b68e0d.bd97b2",
\r
525 "id": "c1dbffa0.3a6ef8",
\r
526 "type": "not-found",
\r
527 "name": "not-found",
\r
528 "xml": "<outcome value='not-found'>\n",
\r
531 "x": 3059.0001220703125,
\r
533 "z": "5b68e0d.bd97b2",
\r
541 "id": "e17cdd49.4fcf08",
\r
544 "xml": "<outcome value='Other'>\n",
\r
547 "x": 3064.0001220703125,
\r
549 "z": "5b68e0d.bd97b2",
\r
557 "id": "8f21b6ce.dd76a",
\r
558 "type": "returnFailure",
\r
559 "name": "return failure",
\r
560 "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
562 "x": 3227.0001220703125,
\r
564 "z": "5b68e0d.bd97b2",
\r
568 "id": "e804e037.dd4f",
\r
569 "type": "returnFailure",
\r
570 "name": "return failure",
\r
571 "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
573 "x": 3216.0001220703125,
\r
575 "z": "5b68e0d.bd97b2",
\r
579 "id": "e0784723.78ca28",
\r
581 "name": "set domain A node ttp-id",
\r
582 "xml": "<set>\n<parameter name='tmp.src-ttp-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
\r
584 "x": 4278.5001220703125,
\r
586 "z": "5b68e0d.bd97b2",
\r
590 "id": "1b6b3639.216dba",
\r
591 "type": "get-resource",
\r
592 "name": "get-resource src TTP",
\r
593 "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.src-ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",
\r
596 "x": 4267.5001220703125,
\r
598 "z": "5b68e0d.bd97b2",
\r
606 "id": "ac3848e1.acfdf8",
\r
609 "xml": "<outcome value='success'>\n",
\r
612 "x": 4459.0001220703125,
\r
614 "z": "5b68e0d.bd97b2",
\r
622 "id": "ebf0e7da.b09cb",
\r
624 "name": "set domain A node ttp-id",
\r
625 "xml": "<set>\n<parameter name='domain-A.ttp-id' value=\"`$tmp.aai.src-ttp.ttp-id`\" />\n",
\r
627 "x": 4671.5001220703125,
\r
629 "z": "5b68e0d.bd97b2",
\r
633 "id": "ae40696e.4ae89",
\r
635 "name": "block : atomic",
\r
636 "xml": "<block atomic=\"true\">",
\r
639 "x": 4063.5001220703125,
\r
641 "z": "5b68e0d.bd97b2",
\r
650 "id": "577de1c9.7d7528",
\r
652 "name": "tunnel-termination-point",
\r
653 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
656 "x": 3859.6685791015625,
\r
657 "y": 369.48150634765625,
\r
658 "z": "5b68e0d.bd97b2",
\r
666 "id": "3f827e10.2f07d2",
\r
668 "name": "for each relationship",
\r
669 "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",
\r
672 "x": 3426.3826904296875,
\r
673 "y": 442.65972900390625,
\r
674 "z": "5b68e0d.bd97b2",
\r
682 "id": "7df05538.ae1e24",
\r
683 "type": "switchNode",
\r
684 "name": "switch related-to",
\r
685 "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].related-to`'>\n",
\r
688 "x": 3652.3826904296875,
\r
689 "y": 442.65972900390625,
\r
690 "z": "5b68e0d.bd97b2",
\r
699 "id": "372db61f.e21a7a",
\r
702 "xml": "<block>\n",
\r
706 "x": 3211.3824462890625,
\r
707 "y": 442.6556701660156,
\r
708 "z": "5b68e0d.bd97b2",
\r
717 "id": "9cbdf6a0.b391f",
\r
719 "name": "set domain A node-id and tpn",
\r
720 "xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n",
\r
722 "x": 3470.5001220703125,
\r
724 "z": "5b68e0d.bd97b2",
\r
728 "id": "1569d56e.fb5f8b",
\r
730 "name": "network-resource",
\r
731 "xml": "<outcome value='network-resource'>\n",
\r
734 "x": 3850.5001220703125,
\r
736 "z": "5b68e0d.bd97b2",
\r
744 "id": "a860374.60c54c8",
\r
746 "name": "set domain A network-id",
\r
747 "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
\r
749 "x": 4298.5001220703125,
\r
751 "z": "5b68e0d.bd97b2",
\r
755 "id": "2ec73e0f.7a316a",
\r
757 "name": "block : atomic",
\r
758 "xml": "<block atomic=\"true\">",
\r
761 "x": 4061.5001220703125,
\r
763 "z": "5b68e0d.bd97b2",
\r
772 "id": "f3ee54c1.b5d84",
\r
773 "type": "get-resource",
\r
774 "name": "get-resource src network-resource",
\r
775 "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
778 "x": 4306.5001220703125,
\r
780 "z": "5b68e0d.bd97b2",
\r
788 "id": "9ea34049.8c12a8",
\r
791 "xml": "<outcome value='success'>\n",
\r
794 "x": 4539.0001220703125,
\r
796 "z": "5b68e0d.bd97b2",
\r
804 "id": "c512a46.74a5bd8",
\r
806 "name": "set domain A network-id, topo-id, client-id, etc",
\r
807 "xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n",
\r
809 "x": 4780.5001220703125,
\r
811 "z": "5b68e0d.bd97b2",
\r
815 "id": "51dd454b.e64094",
\r
816 "type": "get-resource",
\r
817 "name": "get-resource dst tp",
\r
818 "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.dst-tp' local-only='false' >\n \n <!--AND depth = '0'\"-->\n\n\n",
\r
821 "x": 2313.5001220703125,
\r
823 "z": "5b68e0d.bd97b2",
\r
833 "id": "a793d2c3.cd625",
\r
836 "xml": "<outcome value='success'>\n",
\r
839 "x": 2547.0001220703125,
\r
841 "z": "5b68e0d.bd97b2",
\r
849 "id": "8024d4d5.2b62d8",
\r
850 "type": "not-found",
\r
851 "name": "not-found",
\r
852 "xml": "<outcome value='not-found'>\n",
\r
855 "x": 2544.0001220703125,
\r
857 "z": "5b68e0d.bd97b2",
\r
865 "id": "765b5b90.f1ecd4",
\r
868 "xml": "<outcome value='Other'>\n",
\r
871 "x": 2547.0001220703125,
\r
873 "z": "5b68e0d.bd97b2",
\r
881 "id": "a08bb92f.3f7318",
\r
882 "type": "returnFailure",
\r
883 "name": "return failure",
\r
884 "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
886 "x": 2717.0001220703125,
\r
888 "z": "5b68e0d.bd97b2",
\r
892 "id": "612d2397.585244",
\r
893 "type": "returnFailure",
\r
894 "name": "return failure",
\r
895 "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
897 "x": 2729.0001220703125,
\r
899 "z": "5b68e0d.bd97b2",
\r
903 "id": "670f7157.4b83f",
\r
904 "type": "get-resource",
\r
905 "name": "get-resource dst pnf",
\r
906 "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
911 "z": "5b68e0d.bd97b2",
\r
921 "id": "fbc3aa3e.92a1d",
\r
923 "name": "set tmp.dst-pnf-name",
\r
924 "xml": "<set>\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
\r
928 "z": "5b68e0d.bd97b2",
\r
932 "id": "3f4df7a2.550db8",
\r
935 "xml": "<outcome value='Other'>\n",
\r
938 "x": 3018.0001220703125,
\r
940 "z": "5b68e0d.bd97b2",
\r
948 "id": "a22904b1.12c91",
\r
949 "type": "not-found",
\r
950 "name": "not-found",
\r
951 "xml": "<outcome value='not-found'>\n",
\r
954 "x": 3013.0001220703125,
\r
956 "z": "5b68e0d.bd97b2",
\r
964 "id": "3389e479.7caf4c",
\r
967 "xml": "<outcome value='success'>\n",
\r
970 "x": 3021.0001220703125,
\r
972 "z": "5b68e0d.bd97b2",
\r
980 "id": "a788922c.a2883",
\r
981 "type": "returnFailure",
\r
982 "name": "return failure",
\r
983 "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
985 "x": 3181.0001220703125,
\r
987 "z": "5b68e0d.bd97b2",
\r
991 "id": "a7bbc350.7f29",
\r
992 "type": "returnFailure",
\r
993 "name": "return failure",
\r
994 "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
996 "x": 3170.0001220703125,
\r
998 "z": "5b68e0d.bd97b2",
\r
1002 "id": "b1d95d9.2f8af2",
\r
1005 "xml": "<block>\n",
\r
1006 "atomic": "false",
\r
1009 "x": 3165.3824462890625,
\r
1010 "y": 808.6556701660156,
\r
1011 "z": "5b68e0d.bd97b2",
\r
1020 "id": "b971a7f5.c553f",
\r
1022 "name": "for each relationship",
\r
1023 "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",
\r
1026 "x": 3380.3826904296875,
\r
1027 "y": 808.6597290039062,
\r
1028 "z": "5b68e0d.bd97b2",
\r
1036 "id": "ba0c1a8c.88af28",
\r
1037 "type": "switchNode",
\r
1038 "name": "switch related-to",
\r
1039 "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$vidx].related-to`'>\n",
\r
1042 "x": 3606.3826904296875,
\r
1043 "y": 808.6597290039062,
\r
1044 "z": "5b68e0d.bd97b2",
\r
1053 "id": "861cb0b.d019fd",
\r
1055 "name": "set domain B node-id and tpn",
\r
1056 "xml": "<set>\n<parameter name='domain-B.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-B.tpn' value='1' />\n",
\r
1058 "x": 3424.5001220703125,
\r
1060 "z": "5b68e0d.bd97b2",
\r
1064 "id": "802f4f2.687563",
\r
1066 "name": "block : atomic",
\r
1067 "xml": "<block atomic=\"true\">",
\r
1070 "x": 4017.5001220703125,
\r
1072 "z": "5b68e0d.bd97b2",
\r
1075 "d4d32344.490fe8",
\r
1081 "id": "799147c0.a8a33",
\r
1082 "type": "outcome",
\r
1083 "name": "tunnel-termination-point",
\r
1084 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
1087 "x": 3813.6685791015625,
\r
1088 "y": 735.4815063476562,
\r
1089 "z": "5b68e0d.bd97b2",
\r
1097 "id": "f903181b.00f37",
\r
1098 "type": "outcome",
\r
1099 "name": "network-resource",
\r
1100 "xml": "<outcome value='network-resource'>\n",
\r
1103 "x": 3804.5001220703125,
\r
1105 "z": "5b68e0d.bd97b2",
\r
1113 "id": "9e4db8b6.012fb",
\r
1115 "name": "block : atomic",
\r
1116 "xml": "<block atomic=\"true\">",
\r
1119 "x": 4015.5001220703125,
\r
1121 "z": "5b68e0d.bd97b2",
\r
1130 "id": "99609484.86254",
\r
1132 "name": "set domain B node ttp-id",
\r
1133 "xml": "<set>\n<parameter name='tmp.dst-ttp-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
\r
1135 "x": 4232.5001220703125,
\r
1137 "z": "5b68e0d.bd97b2",
\r
1141 "id": "f094147a.c54bb8",
\r
1142 "type": "get-resource",
\r
1143 "name": "get-resource dst TTP",
\r
1144 "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.dst-ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",
\r
1147 "x": 4221.5001220703125,
\r
1149 "z": "5b68e0d.bd97b2",
\r
1157 "id": "96cf01de.ff5148",
\r
1158 "type": "success",
\r
1159 "name": "success",
\r
1160 "xml": "<outcome value='success'>\n",
\r
1163 "x": 4413.0001220703125,
\r
1165 "z": "5b68e0d.bd97b2",
\r
1173 "id": "5bd66639.66f16",
\r
1175 "name": "set domain B node ttp-id",
\r
1176 "xml": "<set>\n<parameter name='domain-B.ttp-id' value=\"`$tmp.aai.dst-ttp.ttp-id`\" />\n",
\r
1178 "x": 4625.5001220703125,
\r
1180 "z": "5b68e0d.bd97b2",
\r
1184 "id": "d4d32344.490fe8",
\r
1186 "name": "set domain B network-id",
\r
1187 "xml": "<set>\n<parameter name='tmp.domain-B.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
\r
1189 "x": 4252.5001220703125,
\r
1191 "z": "5b68e0d.bd97b2",
\r
1195 "id": "1ab02c14.0e8e64",
\r
1196 "type": "get-resource",
\r
1197 "name": "get-resource dst network-resource",
\r
1198 "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
1201 "x": 4260.5001220703125,
\r
1203 "z": "5b68e0d.bd97b2",
\r
1211 "id": "e204fe22.e747c8",
\r
1212 "type": "success",
\r
1213 "name": "success",
\r
1214 "xml": "<outcome value='success'>\n",
\r
1217 "x": 4493.0001220703125,
\r
1219 "z": "5b68e0d.bd97b2",
\r
1227 "id": "c2250516.6a88f",
\r
1229 "name": "set domain B network-id, topo-id, client-id, etc",
\r
1230 "xml": "<set>\n<parameter name='domain-B.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-B.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-B.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-B.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-B.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n",
\r
1232 "x": 4734.5001220703125,
\r
1234 "z": "5b68e0d.bd97b2",
\r
1238 "id": "b104de88.84b78",
\r
1241 "xml": "<block>\n",
\r
1242 "atomic": "false",
\r
1247 "z": "5b68e0d.bd97b2",
\r
1255 "id": "75eb9694.598e48",
\r
1258 "xml": "<block>\n",
\r
1259 "atomic": "false",
\r
1264 "z": "5b68e0d.bd97b2",
\r
1272 "id": "c0faec82.816fb8",
\r
1273 "type": "switchNode",
\r
1274 "name": "test $vidx",
\r
1275 "xml": "<switch test='`$vidx`'>\n",
\r
1280 "z": "5b68e0d.bd97b2",
\r
1283 "b7d58fe7.9f74b8",
\r
1289 "id": "b7d58fe7.9f74b8",
\r
1290 "type": "outcome",
\r
1291 "name": "outcome first",
\r
1292 "xml": "<outcome value='0'>\n",
\r
1297 "z": "5b68e0d.bd97b2",
\r
1305 "id": "dc6562ba.9ee77",
\r
1306 "type": "outcome",
\r
1307 "name": "outcome last",
\r
1308 "xml": "<outcome value='`$otn-oof.solutions_length - 1`'>\n",
\r
1313 "z": "5b68e0d.bd97b2",
\r
1321 "id": "197e1ba0.21ad04",
\r
1323 "name": "set oofsolutions-first info",
\r
1324 "xml": "<set>\n<parameter name='tmp.oofsolutions-first-src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.oofsolutions-first-src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[0].relationship-data[1].relationship-value`\" />\n\n\n\n",
\r
1328 "z": "5b68e0d.bd97b2",
\r
1332 "id": "1e901248.1aaca6",
\r
1334 "name": "set oofsolutions last info",
\r
1335 "xml": "<set>\n<parameter name='tmp.oofsolutions-last-dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[1].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.oofsolutions-last-dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[1].relationship-data[1].relationship-value`\" />\n",
\r
1339 "z": "5b68e0d.bd97b2",
\r
1343 "id": "7d949923.feaea8",
\r
1346 "xml": "<block>\n",
\r
1347 "atomic": "false",
\r
1352 "z": "5b68e0d.bd97b2",
\r