aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json1056
1 files changed, 607 insertions, 449 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
index 5f057be1..5256b6c7 100644
--- a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
+++ b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
@@ -1,20 +1,20 @@
[
{
- "id": "785080f2.6936b8",
+ "id": "abafb433.2b07c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 183,
- "y": 123,
+ "x": 149,
+ "y": 95,
"z": "f861838.07df98",
"wires": [
[
- "4da9bc1a.de21c4"
+ "8a2adf01.004b9"
]
]
},
{
- "id": "4da9bc1a.de21c4",
+ "id": "8a2adf01.004b9",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,1631 +22,1789 @@
"comments": "",
"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}'>",
"outputs": 1,
- "x": 308,
- "y": 449.00001525878906,
+ "x": 274,
+ "y": 421.00001525878906,
"z": "f861838.07df98",
"wires": [
[
- "4d41d418.8146fc"
+ "870eb920.3a709"
]
]
},
{
- "id": "4d41d418.8146fc",
+ "id": "870eb920.3a709",
"type": "method",
"name": "tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
"xml": "<method rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 372.0001220703125,
- "y": 542,
+ "x": 338.0001220703125,
+ "y": 514,
"z": "f861838.07df98",
"wires": [
[
- "e5176e39.ab5f58"
+ "12c71cb4.bbd213"
]
]
},
{
- "id": "8caf5150.39185",
+ "id": "7b12bbea.4b296c",
"type": "execute",
"name": "execute RestApiCallNode getPath from OOF",
- "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`\" />",
+ "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`\" />",
"comments": "",
"outputs": 1,
- "x": 854.9730834960938,
- "y": 200.99600219726562,
+ "x": 820.9730834960938,
+ "y": 172.99600219726562,
"z": "f861838.07df98",
"wires": [
[
- "4d2dbd72.56d1c4",
- "d1c68f83.41e85"
+ "838f6988.2e418",
+ "daadcad7.8d5718"
]
]
},
{
- "id": "4d2dbd72.56d1c4",
+ "id": "838f6988.2e418",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1094.9732246398926,
- "y": 224.9959716796875,
+ "x": 1060.9732246398926,
+ "y": 196.9959716796875,
"z": "f861838.07df98",
"wires": [
[
- "f83b56b9.c9b638"
+ "e2aa0c83.94cd5"
]
]
},
{
- "id": "e8159436.f6c238",
+ "id": "1cd84c7f.13b994",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 1233.973258972168,
- "y": 173.99606323242188,
+ "x": 1199.973258972168,
+ "y": 145.99606323242188,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "d1c68f83.41e85",
+ "id": "daadcad7.8d5718",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1093.9730110168457,
- "y": 173.99606227874756,
+ "x": 1059.9730110168457,
+ "y": 145.99606227874756,
"z": "f861838.07df98",
"wires": [
[
- "e8159436.f6c238"
+ "1cd84c7f.13b994"
]
]
},
{
- "id": "820d1c3.af11fe",
+ "id": "fe1658e6.6b98a8",
"type": "comment",
"name": "OTN tunnel path computation",
"info": "TODO: check input parameters -- they should be\nthe source and destination of ETH node+tp.",
"comments": "",
- "x": 826.4768829345703,
- "y": 157.00000190734863,
+ "x": 792.4768829345703,
+ "y": 129.00000190734863,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "74bde20c.a7fc74",
+ "id": "b6d123ad.aaa61",
"type": "for",
"name": "for vidx..otn-oof.solutions_length[]",
"xml": "<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >",
"comments": "",
"outputs": 1,
- "x": 845.972900390625,
- "y": 510.2457275390625,
+ "x": 811.972900390625,
+ "y": 482.2457275390625,
"z": "f861838.07df98",
"wires": [
[
- "4106c3e4.394aa4"
+ "64a6a0a3.de9e88"
]
]
},
{
- "id": "cd87cc44.8c15b8",
+ "id": "32873616.6130da",
"type": "comment",
"name": "Loop through OTN links",
"info": "",
"comments": "",
- "x": 929.4732055664062,
- "y": 589.74609375,
+ "x": 895.4732055664062,
+ "y": 561.74609375,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "4106c3e4.394aa4",
+ "id": "64a6a0a3.de9e88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 950.5001220703125,
- "y": 701.2864990234375,
+ "x": 916.5001220703125,
+ "y": 673.2864990234375,
"z": "f861838.07df98",
"wires": [
[
- "ce760c47.cc25c",
- "881e4d7c.ab39a8"
+ "ebe50f50.427a98",
+ "c378542a.988188",
+ "b9a4e12.dabba2"
]
]
},
{
- "id": "ce760c47.cc25c",
+ "id": "ebe50f50.427a98",
"type": "get-resource",
"name": "get-resource cross-link",
"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",
"comments": "",
"outputs": 1,
- "x": 1217.5001220703125,
- "y": 621.2864685058594,
+ "x": 1173.5001220703125,
+ "y": 663.2864990234375,
"z": "f861838.07df98",
"wires": [
[
- "ad346b3e.ce4fa8",
- "fc5baf89.e9e038",
- "996489b0.d36438"
+ "383ad684.d27f02",
+ "92e0b7cd.135e8",
+ "fc9654b0.26f8f8"
]
]
},
{
- "id": "996489b0.d36438",
+ "id": "fc9654b0.26f8f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1409.0001220703125,
- "y": 566.2864685058594,
+ "x": 1375.0001220703125,
+ "y": 538.2864685058594,
"z": "f861838.07df98",
"wires": [
[
- "3ceef7ce.6836e"
+ "a60f2416.5968c8"
]
]
},
{
- "id": "ad346b3e.ce4fa8",
+ "id": "383ad684.d27f02",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1445.0001220703125,
- "y": 691.2864990234375,
+ "x": 1411.0001220703125,
+ "y": 663.2864990234375,
"z": "f861838.07df98",
"wires": [
[
- "ac6169c7.f0845"
+ "1ff2406e.1859a"
]
]
},
{
- "id": "fc5baf89.e9e038",
+ "id": "92e0b7cd.135e8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1439.0001220703125,
- "y": 741.2864990234375,
+ "x": 1405.0001220703125,
+ "y": 713.2864990234375,
"z": "f861838.07df98",
"wires": [
[
- "63822e63.363e4"
+ "a40efbb6.9e2848"
]
]
},
{
- "id": "ac6169c7.f0845",
+ "id": "1ff2406e.1859a",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 1606.0001220703125,
- "y": 680.2864990234375,
+ "x": 1572.0001220703125,
+ "y": 652.2864990234375,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "63822e63.363e4",
+ "id": "a40efbb6.9e2848",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 1604.0001220703125,
- "y": 736.2864990234375,
+ "x": 1570.0001220703125,
+ "y": 708.2864990234375,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "dd34e96e.f687",
+ "id": "4cfcfa39.a67414",
"type": "comment",
"name": "get cross-domain-link information",
"info": "",
"comments": "",
- "x": 1218.5001220703125,
- "y": 582.2864685058594,
+ "x": 1179.5001220703125,
+ "y": 612.2864990234375,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "881e4d7c.ab39a8",
+ "id": "c378542a.988188",
"type": "set",
- "name": "set otn-oof.link-name",
- "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />",
+ "name": "set otn-oof.link-name and etc.",
+ "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].start_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].end_node`' />",
"comments": "",
- "x": 1200.0001220703125,
- "y": 531.2864685058594,
+ "x": 1163.0001220703125,
+ "y": 566.2864990234375,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "f83b56b9.c9b638",
+ "id": "e2aa0c83.94cd5",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1240.0002708435059,
- "y": 222.74145698547363,
+ "x": 1206.0002708435059,
+ "y": 194.74145698547363,
"z": "f861838.07df98",
"wires": [
[]
]
},
{
- "id": "e5176e39.ab5f58",
+ "id": "12c71cb4.bbd213",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 612.9688835144043,
- "y": 468.74163722991943,
+ "x": 578.9688835144043,
+ "y": 440.74163722991943,
"z": "f861838.07df98",
"wires": [
[
- "74bde20c.a7fc74",
- "8caf5150.39185"
+ "b6d123ad.aaa61",
+ "7b12bbea.4b296c"
]
]
},
{
- "id": "26918861.79c318",
+ "id": "eed9f90d.625c7",
"type": "switchNode",
"name": "test cross-domain-link role",
"xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",
"comments": "",
"outputs": 1,
- "x": 1724.5001220703125,
- "y": 566,
+ "x": 1690.5001220703125,
+ "y": 538,
"z": "f861838.07df98",
"wires": [
[
- "3531deb1.d8e4aa"
+ "84eec670.e2767"
]
]
},
{
- "id": "3531deb1.d8e4aa",
+ "id": "84eec670.e2767",
"type": "outcome",
"name": "outcome cross-domain",
"xml": "<outcome value='cross-domain'>\n",
"comments": "",
"outputs": 1,
- "x": 1960.5001220703125,
- "y": 567,
+ "x": 1926.5001220703125,
+ "y": 539,
"z": "f861838.07df98",
"wires": [
[
- "eebcac2b.5130c8"
+ "4da26d84.4c4d14"
]
]
},
{
- "id": "7e986d4a.8efc2c",
+ "id": "1a6d08c1.f63207",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2279.5,
- "y": 1044,
+ "x": 2245.5,
+ "y": 1016,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "eebcac2b.5130c8",
+ "id": "4da26d84.4c4d14",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2163.5001220703125,
- "y": 568,
+ "x": 2129.5001220703125,
+ "y": 540,
"z": "f861838.07df98",
"wires": [
[
- "7e986d4a.8efc2c",
- "ea827dd1.08ec5",
- "baf2958a.4c4df8",
- "fb366a0b.531b8"
+ "1a6d08c1.f63207",
+ "1f33bea3.a37e41",
+ "a53fb0ab.3215e8",
+ "1a72a670.f5c5ba"
]
]
},
{
- "id": "a6afce7.6f2473",
+ "id": "d525a55b.c81c5",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2604,
- "y": 535,
+ "x": 2570,
+ "y": 507,
"z": "f861838.07df98",
"wires": [
[
- "f8be66de.741848"
+ "424e6de2.ee50a4"
]
]
},
{
- "id": "2f1a9902.061d36",
+ "id": "48c96b61.49802c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2637.0001220703125,
- "y": 593,
+ "x": 2603.0001220703125,
+ "y": 565,
"z": "f861838.07df98",
"wires": [
[
- "dbfe4fc5.e26958"
+ "90a49841.e9abd"
]
]
},
{
- "id": "9127ce8b.3def68",
+ "id": "27012bae.421594",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2640.0001220703125,
- "y": 645,
+ "x": 2606.0001220703125,
+ "y": 617,
"z": "f861838.07df98",
"wires": [
[
- "c41edc57.5a3f3"
+ "3218b6b1.58d4da"
]
]
},
{
- "id": "dbfe4fc5.e26958",
+ "id": "90a49841.e9abd",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 2822.0001220703125,
- "y": 597,
+ "x": 2788.0001220703125,
+ "y": 569,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "c41edc57.5a3f3",
+ "id": "3218b6b1.58d4da",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 2810.0001220703125,
- "y": 648,
+ "x": 2776.0001220703125,
+ "y": 620,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "ecb2deab.b51cf",
+ "id": "818ff562.39e0e",
"type": "set",
"name": "set domain A node ttp-id",
"xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3940.5,
- "y": 450,
+ "x": 3906.5,
+ "y": 422,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "d1cdcf8f.8a3938",
+ "id": "f9b5c841.bb08a",
"type": "get-resource",
"name": "get-resource src TTP",
"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",
"comments": "",
"outputs": 1,
- "x": 3948.5,
- "y": 502,
+ "x": 3914.5,
+ "y": 474,
"z": "f861838.07df98",
"wires": [
[
- "5ec14125.845248"
+ "a8ab9ca9.5f37d"
]
]
},
{
- "id": "5ec14125.845248",
+ "id": "a8ab9ca9.5f37d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4155,
- "y": 480,
+ "x": 4121,
+ "y": 452,
"z": "f861838.07df98",
"wires": [
[
- "ca7d08dc.2600e"
+ "f4704103.56f298"
]
]
},
{
- "id": "c49d7c6a.28c258",
+ "id": "d07aee9c.38cf",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 3492.66845703125,
- "y": 528.4815063476562,
+ "x": 3458.66845703125,
+ "y": 500.48150634765625,
"z": "f861838.07df98",
"wires": [
[
- "dd92713b.0e1d48"
+ "f5a5a2ae.b150d8"
]
]
},
{
- "id": "d42ddf1f.aa33b8",
+ "id": "94ee2310.15a178",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2955.3828125,
- "y": 530.6597290039062,
+ "x": 2921.3828125,
+ "y": 502.65972900390625,
"z": "f861838.07df98",
"wires": [
[
- "422b69de.73fa7"
+ "116f7db2.ea55a2"
]
]
},
{
- "id": "422b69de.73fa7",
+ "id": "116f7db2.ea55a2",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$vidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3207.3828125,
- "y": 527.6597290039062,
+ "x": 3173.3828125,
+ "y": 499.65972900390625,
"z": "f861838.07df98",
"wires": [
[
- "c49d7c6a.28c258"
+ "d07aee9c.38cf"
]
]
},
{
- "id": "dd92713b.0e1d48",
+ "id": "f5a5a2ae.b150d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3719.5,
- "y": 517,
+ "x": 3685.5,
+ "y": 489,
"z": "f861838.07df98",
"wires": [
[
- "ecb2deab.b51cf",
- "d1cdcf8f.8a3938",
- "971f1502.6917e",
- "c7ca7420.72c18",
- "8d70c942.44a4b"
+ "818ff562.39e0e",
+ "f9b5c841.bb08a",
+ "fa235f06.dbc5c8",
+ "825f6c70.9f6d6",
+ "6fa2423a.fd13dc"
]
]
},
{
- "id": "ea827dd1.08ec5",
+ "id": "1f33bea3.a37e41",
"type": "get-resource",
"name": "get-resource dst tp",
"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",
"comments": "",
"outputs": 1,
- "x": 2360.5001220703125,
- "y": 940,
+ "x": 2326.5001220703125,
+ "y": 912,
"z": "f861838.07df98",
"wires": [
[
- "6be782aa.b86974",
- "6d662459.228964",
- "898db702.b7dc98"
+ "d37211e1.0a8088",
+ "51af98c.c752568",
+ "3fe7a459.6ee934"
]
]
},
{
- "id": "6be782aa.b86974",
+ "id": "d37211e1.0a8088",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2583,
- "y": 1082,
+ "x": 2549,
+ "y": 1054,
"z": "f861838.07df98",
"wires": [
[
- "65a0fa24.29df6c"
+ "f87a46b2.f2f308"
]
]
},
{
- "id": "6d662459.228964",
+ "id": "51af98c.c752568",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2567,
- "y": 1133,
+ "x": 2533,
+ "y": 1105,
"z": "f861838.07df98",
"wires": [
[
- "b65b40fe.974c6"
+ "87af46d4.1052d"
]
]
},
{
- "id": "898db702.b7dc98",
+ "id": "3fe7a459.6ee934",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2570,
- "y": 1185,
+ "x": 2536,
+ "y": 1157,
"z": "f861838.07df98",
"wires": [
[
- "bfee6332.37f66"
+ "f5945933.94bc1"
]
]
},
{
- "id": "bfee6332.37f66",
+ "id": "f5945933.94bc1",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 2740,
- "y": 1188,
+ "x": 2706,
+ "y": 1160,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "b65b40fe.974c6",
+ "id": "87af46d4.1052d",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 2752,
- "y": 1137,
+ "x": 2718,
+ "y": 1109,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "8d7d4d68.6b1788",
+ "id": "ee005d71.029a7",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2939.3828125,
- "y": 1092.6597290039062,
+ "x": 2905.3828125,
+ "y": 1064.6597290039062,
"z": "f861838.07df98",
"wires": [
[
- "575ceb9c.cab194"
+ "d2d24abe.aac6a"
]
]
},
{
- "id": "575ceb9c.cab194",
+ "id": "d2d24abe.aac6a",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3182.3828125,
- "y": 1091.6597290039062,
+ "x": 3148.3828125,
+ "y": 1063.6597290039062,
"z": "f861838.07df98",
"wires": [
[
- "b72d167f.fee4e"
+ "328b374b.e6dea8"
]
]
},
{
- "id": "a539cf03.6d6808",
+ "id": "a3d738bb.01d098",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4948.5,
- "y": 893,
+ "x": 4914.5,
+ "y": 865,
"z": "f861838.07df98",
"wires": [
[
- "d5068892.e23ae8",
- "81d0dbc4.fd6ab8",
- "7f9bc054.18256"
+ "d76ed9f4.607e58",
+ "4049d8d0.576ec8",
+ "6d1ae1e8.8376b8"
]
]
},
{
- "id": "b72d167f.fee4e",
+ "id": "328b374b.e6dea8",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 3438.66845703125,
- "y": 1091.4815063476562,
+ "x": 3404.66845703125,
+ "y": 1063.4815063476562,
"z": "f861838.07df98",
"wires": [
[
- "9c7f096e.2675b8"
+ "daeaf8a3.f790f8"
]
]
},
{
- "id": "9378bfdf.c4bd08",
+ "id": "b11078d7.b3b858",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 4735.5,
- "y": 892,
+ "x": 4701.5,
+ "y": 864,
"z": "f861838.07df98",
"wires": [
[
- "a539cf03.6d6808"
+ "a3d738bb.01d098"
]
]
},
{
- "id": "9c7f096e.2675b8",
+ "id": "daeaf8a3.f790f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3738.5,
- "y": 1089,
+ "x": 3704.5,
+ "y": 1061,
"z": "f861838.07df98",
"wires": [
[
- "176fbec8.809f09",
- "4808dba3.0d097c",
- "a9a61e4c.61cea8",
- "967b7a6e.29dcc",
- "eb2816b.38b8868"
+ "590b13b.935b9ec",
+ "b7482d1e.97b0b8",
+ "4d91a36f.ea12e4",
+ "32404ee3.71aeda",
+ "88a4d7d3.2c52b"
]
]
},
{
- "id": "176fbec8.809f09",
+ "id": "590b13b.935b9ec",
"type": "set",
"name": "set domain B node ttp-id",
"xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3980.5,
- "y": 1043,
+ "x": 3946.5,
+ "y": 1015,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "4808dba3.0d097c",
+ "id": "b7482d1e.97b0b8",
"type": "get-resource",
"name": "get-resource dst TTP",
"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",
"comments": "",
"outputs": 1,
- "x": 3970.5,
- "y": 1094,
+ "x": 3936.5,
+ "y": 1066,
"z": "f861838.07df98",
"wires": [
[
- "4a5731eb.8e0df8"
+ "3475127.fd4c36e"
]
]
},
{
- "id": "4a5731eb.8e0df8",
+ "id": "3475127.fd4c36e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4158,
- "y": 1092,
+ "x": 4124,
+ "y": 1064,
"z": "f861838.07df98",
"wires": [
[
- "53c0541b.770fcc"
+ "8e8366a6.32694"
]
]
},
{
- "id": "d5068892.e23ae8",
+ "id": "d76ed9f4.607e58",
"type": "set",
"name": "set domain B network-id",
"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",
"comments": "",
- "x": 5218.5,
- "y": 869,
+ "x": 5184.5,
+ "y": 841,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "81d0dbc4.fd6ab8",
+ "id": "4049d8d0.576ec8",
"type": "get-resource",
"name": "get-resource dst network-resource",
"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",
"comments": "",
"outputs": 1,
- "x": 5228.5,
- "y": 915,
+ "x": 5194.5,
+ "y": 887,
"z": "f861838.07df98",
"wires": [
[
- "584862de.86be1c"
+ "e9f242cc.c24dd8"
]
]
},
{
- "id": "584862de.86be1c",
+ "id": "e9f242cc.c24dd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5444,
- "y": 906,
+ "x": 5410,
+ "y": 878,
"z": "f861838.07df98",
"wires": [
[
- "419ec6e9.6efd2"
+ "43e26006.8bc19"
]
]
},
{
- "id": "419ec6e9.6efd2",
+ "id": "43e26006.8bc19",
"type": "set",
"name": "set domain B network-id, topo-id, client-id, etc",
"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",
"comments": "",
- "x": 5698.5,
- "y": 912,
+ "x": 5664.5,
+ "y": 884,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "f8be66de.741848",
+ "id": "424e6de2.ee50a4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2738,
- "y": 531,
+ "x": 2704,
+ "y": 503,
"z": "f861838.07df98",
"wires": [
[
- "d42ddf1f.aa33b8"
+ "94ee2310.15a178"
]
]
},
{
- "id": "65a0fa24.29df6c",
+ "id": "f87a46b2.f2f308",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2729,
- "y": 1073,
+ "x": 2695,
+ "y": 1045,
"z": "f861838.07df98",
"wires": [
[
- "8d7d4d68.6b1788"
+ "ee005d71.029a7"
]
]
},
{
- "id": "3ceef7ce.6836e",
+ "id": "a60f2416.5968c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1543,
- "y": 568,
+ "x": 1509,
+ "y": 540,
"z": "f861838.07df98",
"wires": [
[
- "26918861.79c318"
+ "eed9f90d.625c7"
]
]
},
{
- "id": "baf2958a.4c4df8",
+ "id": "a53fb0ab.3215e8",
"type": "for",
"name": "for each relationship",
"xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2313,
- "y": 352,
+ "x": 2279,
+ "y": 324,
"z": "f861838.07df98",
"wires": [
[
- "98d39228.4f43c"
+ "128e534.d6bf2ad"
]
]
},
{
- "id": "98d39228.4f43c",
+ "id": "128e534.d6bf2ad",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2512,
- "y": 349,
+ "x": 2478,
+ "y": 321,
"z": "f861838.07df98",
"wires": [
[
- "1abf5c4f.924da4"
+ "11b1dca5.336a6b"
]
]
},
{
- "id": "1abf5c4f.924da4",
+ "id": "11b1dca5.336a6b",
"type": "outcome",
"name": "p-interface",
"xml": "<outcome value='p-interface'>\n",
"comments": "",
"outputs": 1,
- "x": 2689.117431640625,
- "y": 347.34027099609375,
+ "x": 2655.117431640625,
+ "y": 319.34027099609375,
"z": "f861838.07df98",
"wires": [
[
- "d47f9442.a83a08"
+ "16999964.0052a7"
]
]
},
{
- "id": "8b0d1bcd.9b2bf8",
+ "id": "a9fc0be8.cb4e7",
"type": "set",
- "name": "set src-ltpId and dst-ltpId",
- "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[1].relationship-value`\" />\n\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx + 1].relationship-data[0].relationship-value`\" />\n\n\n",
+ "name": "set src-ltpId",
+ "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n\n\n\n",
"comments": "",
- "x": 3003,
- "y": 291,
+ "x": 3507,
+ "y": 233,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "69b5dc47.c8bab4",
+ "id": "bbad66bd.203d28",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2964,
- "y": 354,
+ "x": 3492,
+ "y": 281,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "d47f9442.a83a08",
+ "id": "16999964.0052a7",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2829,
- "y": 332,
+ "x": 2795,
+ "y": 304,
"z": "f861838.07df98",
"wires": [
[
- "8b0d1bcd.9b2bf8",
- "69b5dc47.c8bab4"
+ "c4129dee.e1028",
+ "4b41d356.da9dfc"
]
]
},
{
- "id": "ca7d08dc.2600e",
+ "id": "f4704103.56f298",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4330,
- "y": 476,
+ "x": 4296,
+ "y": 448,
"z": "f861838.07df98",
"wires": [
[
- "4e511808.615928"
+ "9beffd2c.502c6"
]
]
},
{
- "id": "53c0541b.770fcc",
+ "id": "8e8366a6.32694",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4347,
- "y": 1081,
+ "x": 4313,
+ "y": 1053,
"z": "f861838.07df98",
"wires": [
[
- "1d3fc9e2.e7e6d6"
+ "2782166b.894a72"
]
]
},
{
- "id": "fb366a0b.531b8",
+ "id": "1a72a670.f5c5ba",
"type": "get-resource",
"name": "get-resource src tp",
"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",
"comments": "",
"outputs": 1,
- "x": 2406.5001220703125,
- "y": 574,
+ "x": 2372.5001220703125,
+ "y": 546,
"z": "f861838.07df98",
"wires": [
[
- "a6afce7.6f2473",
- "2f1a9902.061d36",
- "9127ce8b.3def68"
+ "d525a55b.c81c5",
+ "48c96b61.49802c",
+ "27012bae.421594"
]
]
},
{
- "id": "971f1502.6917e",
+ "id": "fa235f06.dbc5c8",
"type": "get-resource",
"name": "get-resource src pnf",
"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",
"comments": "",
"outputs": 1,
- "x": 3810,
- "y": 320,
+ "x": 3776,
+ "y": 292,
"z": "f861838.07df98",
"wires": [
[
- "806ba724.7c9cb",
- "6ff47511.68ce04",
- "3a2344e6.758334"
+ "97e1c7ea.89c31",
+ "a32ada2.7e46ba8",
+ "6c014e40.0055a8"
]
]
},
{
- "id": "806ba724.7c9cb",
+ "id": "97e1c7ea.89c31",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4005.5001220703125,
- "y": 272,
+ "x": 3971.5001220703125,
+ "y": 244,
"z": "f861838.07df98",
"wires": [
[
- "198edc3a.f7e7a4"
+ "76aa8066.8a0a68"
]
]
},
{
- "id": "6ff47511.68ce04",
+ "id": "a32ada2.7e46ba8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3997.5001220703125,
- "y": 327,
+ "x": 3963.5001220703125,
+ "y": 299,
"z": "f861838.07df98",
"wires": [
[
- "658b18f7.6c229"
+ "e78aff2c.f74de8"
]
]
},
{
- "id": "3a2344e6.758334",
+ "id": "6c014e40.0055a8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4002.5001220703125,
- "y": 384,
+ "x": 3968.5001220703125,
+ "y": 356,
"z": "f861838.07df98",
"wires": [
[
- "10fe2a63.edb7de"
+ "72ca8bf8.aa197c"
]
]
},
{
- "id": "10fe2a63.edb7de",
+ "id": "72ca8bf8.aa197c",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 4154.5001220703125,
- "y": 385,
+ "x": 4120.5001220703125,
+ "y": 357,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "658b18f7.6c229",
+ "id": "e78aff2c.f74de8",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 4165.5001220703125,
- "y": 330,
+ "x": 4131.5001220703125,
+ "y": 302,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "198edc3a.f7e7a4",
+ "id": "76aa8066.8a0a68",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4149.8824462890625,
- "y": 269.6556701660156,
+ "x": 4115.8824462890625,
+ "y": 241.65567016601562,
"z": "f861838.07df98",
"wires": [
[
- "3a3ab784.901e48",
- "a97b2a05.9f73a"
+ "2bdb018d.2fcdb6",
+ "d5b2333f.df7ba8"
]
]
},
{
- "id": "3a3ab784.901e48",
+ "id": "2bdb018d.2fcdb6",
"type": "set",
"name": "set domain A node-id and tpn",
"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",
"comments": "",
- "x": 4375,
- "y": 225,
+ "x": 4341,
+ "y": 197,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "c7ca7420.72c18",
+ "id": "825f6c70.9f6d6",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3897,
- "y": 567,
+ "x": 3863,
+ "y": 539,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "4e511808.615928",
+ "id": "9beffd2c.502c6",
"type": "set",
"name": "set domain A tunnel tp ip",
"xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n",
"comments": "",
- "x": 4591,
- "y": 473,
+ "x": 4557,
+ "y": 445,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "967b7a6e.29dcc",
+ "id": "32404ee3.71aeda",
"type": "get-resource",
"name": "get-resource dst pnf",
"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",
"comments": "",
"outputs": 1,
- "x": 3807,
- "y": 923,
+ "x": 3773,
+ "y": 895,
"z": "f861838.07df98",
"wires": [
[
- "e327bfa4.a9a3a8",
- "d6f6e8cf.638658",
- "370c2654.35ab6a"
+ "38443514.32f97a",
+ "3f48494d.b1e386",
+ "1d72a1d4.29172e"
]
]
},
{
- "id": "370c2654.35ab6a",
+ "id": "1d72a1d4.29172e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4002.5001220703125,
- "y": 875,
+ "x": 3968.5001220703125,
+ "y": 847,
"z": "f861838.07df98",
"wires": [
[
- "750d9871.e65c38"
+ "e3710364.81565"
]
]
},
{
- "id": "d6f6e8cf.638658",
+ "id": "3f48494d.b1e386",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3994.5001220703125,
- "y": 930,
+ "x": 3960.5001220703125,
+ "y": 902,
"z": "f861838.07df98",
"wires": [
[
- "a22c9c14.dad95"
+ "1d46287c.a3abe"
]
]
},
{
- "id": "e327bfa4.a9a3a8",
+ "id": "38443514.32f97a",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3999.5001220703125,
- "y": 987,
+ "x": 3965.5001220703125,
+ "y": 959,
"z": "f861838.07df98",
"wires": [
[
- "68964b02.e7fefc"
+ "cdfeb34e.901888"
]
]
},
{
- "id": "750d9871.e65c38",
+ "id": "e3710364.81565",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4146.8824462890625,
- "y": 872.6556701660156,
+ "x": 4112.8824462890625,
+ "y": 844.6556701660156,
"z": "f861838.07df98",
"wires": [
[
- "93208213.553588",
- "71258e68.5cbd58"
+ "f36692a0.716e88",
+ "2c5d340f.626864"
]
]
},
{
- "id": "a22c9c14.dad95",
+ "id": "1d46287c.a3abe",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 4162.5001220703125,
- "y": 933,
+ "x": 4128.5001220703125,
+ "y": 905,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "68964b02.e7fefc",
+ "id": "cdfeb34e.901888",
"type": "returnFailure",
"name": "return failure",
"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",
"comments": "",
- "x": 4151.5001220703125,
- "y": 988,
+ "x": 4117.5001220703125,
+ "y": 960,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "93208213.553588",
+ "id": "f36692a0.716e88",
"type": "set",
"name": "set domain B node-id and tpn",
"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",
"comments": "",
- "x": 4356,
- "y": 840,
+ "x": 4322,
+ "y": 812,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "a9a61e4c.61cea8",
+ "id": "4d91a36f.ea12e4",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3926,
- "y": 1135,
+ "x": 3892,
+ "y": 1107,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "1d3fc9e2.e7e6d6",
+ "id": "2782166b.894a72",
"type": "set",
"name": "set domain B tunnel tp id",
"xml": "<set>\n<parameter name='domain-B.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n",
"comments": "",
- "x": 4580,
- "y": 1080,
+ "x": 4546,
+ "y": 1052,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "57d0de73.a03a68",
+ "id": "93bc95bd.015218",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 4732,
- "y": 288,
+ "x": 4698,
+ "y": 260,
"z": "f861838.07df98",
"wires": [
[
- "ed098b6a.2cacf8"
+ "12aa4902.54d527"
]
]
},
{
- "id": "ed098b6a.2cacf8",
+ "id": "12aa4902.54d527",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4909,
- "y": 280,
+ "x": 4875,
+ "y": 252,
"z": "f861838.07df98",
"wires": [
[
- "61d12009.69ae18",
- "bb57da49.8f1178",
- "85c9485f.31b9d8"
+ "e133ac15.1cfeb8",
+ "50016229.5d7aa4",
+ "9731bbf6.0aee28"
]
]
},
{
- "id": "61d12009.69ae18",
+ "id": "e133ac15.1cfeb8",
"type": "set",
"name": "set domain A network-id",
"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",
"comments": "",
- "x": 5124,
- "y": 261,
+ "x": 5090,
+ "y": 233,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "bb57da49.8f1178",
+ "id": "50016229.5d7aa4",
"type": "get-resource",
"name": "get-resource src network-resource",
"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",
"comments": "",
"outputs": 1,
- "x": 5141,
- "y": 325,
+ "x": 5107,
+ "y": 297,
"z": "f861838.07df98",
"wires": [
[
- "603dc665.e100a"
+ "64fc1e3d.6c54a8"
]
]
},
{
- "id": "603dc665.e100a",
+ "id": "64fc1e3d.6c54a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5364.5,
- "y": 326,
+ "x": 5330.5,
+ "y": 298,
"z": "f861838.07df98",
"wires": [
[
- "bfe1407d.be933"
+ "269c6440.2d1124"
]
]
},
{
- "id": "bfe1407d.be933",
+ "id": "269c6440.2d1124",
"type": "set",
"name": "set domain A network-id, topo-id, client-id, etc",
"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",
"comments": "",
- "x": 5629,
- "y": 315,
+ "x": 5595,
+ "y": 287,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "a97b2a05.9f73a",
+ "id": "d5b2333f.df7ba8",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 4334,
- "y": 284,
+ "x": 4300,
+ "y": 256,
"z": "f861838.07df98",
"wires": [
[
- "2c83d3d0.5ba494"
+ "4f6b55da.d022d4"
]
]
},
{
- "id": "2c83d3d0.5ba494",
+ "id": "4f6b55da.d022d4",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4529,
- "y": 284,
+ "x": 4495,
+ "y": 256,
"z": "f861838.07df98",
"wires": [
[
- "57d0de73.a03a68"
+ "93bc95bd.015218"
]
]
},
{
- "id": "85c9485f.31b9d8",
+ "id": "9731bbf6.0aee28",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5068,
- "y": 378,
+ "x": 5034,
+ "y": 350,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "71258e68.5cbd58",
+ "id": "2c5d340f.626864",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 4335,
- "y": 891,
+ "x": 4301,
+ "y": 863,
"z": "f861838.07df98",
"wires": [
[
- "1cdec3b0.3edecc"
+ "a0eb4786.ca84c8"
]
]
},
{
- "id": "1cdec3b0.3edecc",
+ "id": "a0eb4786.ca84c8",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4530,
- "y": 891,
+ "x": 4496,
+ "y": 863,
"z": "f861838.07df98",
"wires": [
[
- "9378bfdf.c4bd08"
+ "b11078d7.b3b858"
]
]
},
{
- "id": "7f9bc054.18256",
+ "id": "6d1ae1e8.8376b8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5154,
- "y": 971,
+ "x": 5120,
+ "y": 943,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "8d70c942.44a4b",
+ "id": "6fa2423a.fd13dc",
"type": "execute",
"name": "execute split tp-id to get pnf-name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3838,
- "y": 114,
+ "x": 3804,
+ "y": 86,
"z": "f861838.07df98",
"wires": [
[
- "f6a321aa.4933d",
- "d873be99.cdd6b8"
+ "c37dc1f9.38a388",
+ "f701d80.fcde128"
]
]
},
{
- "id": "d873be99.cdd6b8",
+ "id": "f701d80.fcde128",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4059,
- "y": 82,
+ "x": 4025,
+ "y": 54,
"z": "f861838.07df98",
"wires": [
[
- "aee73e2c.22e008"
+ "72fa8a9d.201954"
]
]
},
{
- "id": "f6a321aa.4933d",
+ "id": "c37dc1f9.38a388",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4059,
- "y": 129,
+ "x": 4025,
+ "y": 101,
"z": "f861838.07df98",
"wires": [
[
- "58dfd18f.2c2408"
+ "11d67749.03e0d9"
]
]
},
{
- "id": "aee73e2c.22e008",
+ "id": "72fa8a9d.201954",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4224,
- "y": 79,
+ "x": 4190,
+ "y": 51,
"z": "f861838.07df98",
"wires": [
[
- "e00cc6b0.3f2b6"
+ "bbea1bea.ff9688"
]
]
},
{
- "id": "e00cc6b0.3f2b6",
+ "id": "bbea1bea.ff9688",
"type": "set",
"name": "set domain-A.ltpId",
"xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n",
"comments": "",
- "x": 4406,
- "y": 83,
+ "x": 4372,
+ "y": 55,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "58dfd18f.2c2408",
+ "id": "11d67749.03e0d9",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
"comments": "",
- "x": 4226,
- "y": 129,
+ "x": 4192,
+ "y": 101,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "eb2816b.38b8868",
+ "id": "88a4d7d3.2c52b",
"type": "execute",
"name": "execute split tp-id to get pnf-name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3846,
- "y": 738,
+ "x": 3812,
+ "y": 710,
"z": "f861838.07df98",
"wires": [
[
- "4540307f.4c5428",
- "da15be4.fdd654"
+ "584895a0.b3ab74",
+ "d8e0f12d.021a28"
]
]
},
{
- "id": "da15be4.fdd654",
+ "id": "d8e0f12d.021a28",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4067,
- "y": 706,
+ "x": 4033,
+ "y": 678,
"z": "f861838.07df98",
"wires": [
[
- "344ce354.79f65c"
+ "18ffb32b.dc39ad"
]
]
},
{
- "id": "4540307f.4c5428",
+ "id": "584895a0.b3ab74",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4067,
- "y": 753,
+ "x": 4033,
+ "y": 725,
"z": "f861838.07df98",
"wires": [
[
- "e36b8ad2.500998"
+ "5fcd9d7d.d620cc"
]
]
},
{
- "id": "344ce354.79f65c",
+ "id": "18ffb32b.dc39ad",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4232,
- "y": 703,
+ "x": 4198,
+ "y": 675,
"z": "f861838.07df98",
"wires": [
[
- "2f5cfc52.4cced4"
+ "ef90ab42.074438"
]
]
},
{
- "id": "2f5cfc52.4cced4",
+ "id": "ef90ab42.074438",
"type": "set",
"name": "set domain-B.ltpId",
"xml": "<set>\n<parameter name='domain-B.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n",
"comments": "",
- "x": 4428,
- "y": 700,
+ "x": 4394,
+ "y": 672,
"z": "f861838.07df98",
"wires": []
},
{
- "id": "e36b8ad2.500998",
+ "id": "5fcd9d7d.d620cc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
"comments": "",
- "x": 4234,
- "y": 753,
+ "x": 4200,
+ "y": 725,
+ "z": "f861838.07df98",
+ "wires": []
+ },
+ {
+ "id": "b9a4e12.dabba2",
+ "type": "set",
+ "name": "unset parameters",
+ "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='' />",
+ "comments": "",
+ "x": 1154,
+ "y": 495,
+ "z": "f861838.07df98",
+ "wires": []
+ },
+ {
+ "id": "c4129dee.e1028",
+ "type": "switchNode",
+ "name": "switch value == start-node",
+ "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.start-node`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2990,
+ "y": 265,
+ "z": "f861838.07df98",
+ "wires": [
+ [
+ "c507ecc7.0f698"
+ ]
+ ]
+ },
+ {
+ "id": "55770297.b0eaec",
+ "type": "outcome",
+ "name": "otn-oof.start-node",
+ "xml": "<outcome value='`$otn-oof.start-node`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3142,
+ "y": 180,
+ "z": "f861838.07df98",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e83d3f89.4fb8f",
+ "type": "outcome",
+ "name": "otn-oof.end-node",
+ "xml": "<outcome value='`$otn-oof.end-node`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3145,
+ "y": 399,
+ "z": "f861838.07df98",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e09f6c32.6da1e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3320,
+ "y": 249,
+ "z": "f861838.07df98",
+ "wires": [
+ [
+ "a9fc0be8.cb4e7"
+ ]
+ ]
+ },
+ {
+ "id": "3bd5ba40.547cce",
+ "type": "set",
+ "name": "set dst-ltpId",
+ "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n\n\n",
+ "comments": "",
+ "x": 3517,
+ "y": 335,
"z": "f861838.07df98",
"wires": []
+ },
+ {
+ "id": "bf0c687c.786c3",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 3500,
+ "y": 375,
+ "z": "f861838.07df98",
+ "wires": []
+ },
+ {
+ "id": "e18153ce.f19278",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3338,
+ "y": 347,
+ "z": "f861838.07df98",
+ "wires": [
+ [
+ "3bd5ba40.547cce"
+ ]
+ ]
+ },
+ {
+ "id": "c507ecc7.0f698",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3178,
+ "y": 252,
+ "z": "f861838.07df98",
+ "wires": [
+ [
+ "e09f6c32.6da1e8"
+ ]
+ ]
+ },
+ {
+ "id": "4b41d356.da9dfc",
+ "type": "switchNode",
+ "name": "switch value == end-node",
+ "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.end-node`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2988,
+ "y": 329,
+ "z": "f861838.07df98",
+ "wires": [
+ [
+ "2bcfa57c.bd2fea"
+ ]
+ ]
+ },
+ {
+ "id": "2bcfa57c.bd2fea",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3173,
+ "y": 333,
+ "z": "f861838.07df98",
+ "wires": [
+ [
+ "e18153ce.f19278"
+ ]
+ ]
}
] \ No newline at end of file