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...
diff options
context:
space:
mode:
authorHesam Rahimi <hesam.rahimi@huawei.com>2021-02-22 15:30:38 +0000
committerHesam Rahimi <hesam.rahimi@huawei.com>2021-02-22 15:35:10 +0000
commit13267a899ccd06491f79f653caf1483957563149 (patch)
treeca409a2773ea43550af6e5601715e5e73a62f533 /platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json
parent1e1fc55411b7569aae9f550046ca14e5db03d5cb (diff)
Supporting 3 or more network domains for Transport Slicing use case.
Issue-ID: SDNC-1487 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: Ia497741d70eff0f5fba12ad487f0f240709b5cb5 Former-commit-id: c2ff57f8ac2f830bb4709a29dca9644dd8d4c82d
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.json1371
1 files changed, 754 insertions, 617 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 5256b6c7..4fe850a3 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": "abafb433.2b07c",
+ "id": "fa52a170.206e7",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 149,
- "y": 95,
- "z": "f861838.07df98",
+ "x": 178,
+ "y": 101,
+ "z": "97fec48c.8eada",
"wires": [
[
- "8a2adf01.004b9"
+ "2c5db495.a5dd34"
]
]
},
{
- "id": "8a2adf01.004b9",
+ "id": "2c5db495.a5dd34",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,1789 +22,1926 @@
"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": 274,
- "y": 421.00001525878906,
- "z": "f861838.07df98",
+ "x": 303,
+ "y": 427.00001525878906,
+ "z": "97fec48c.8eada",
"wires": [
[
- "870eb920.3a709"
+ "4ae6db6f.435c7c"
]
]
},
{
- "id": "870eb920.3a709",
+ "id": "4ae6db6f.435c7c",
"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": 338.0001220703125,
- "y": 514,
- "z": "f861838.07df98",
+ "x": 367.0001220703125,
+ "y": 520,
+ "z": "97fec48c.8eada",
"wires": [
[
- "12c71cb4.bbd213"
+ "6312c3c3.704cf4"
]
]
},
{
- "id": "7b12bbea.4b296c",
+ "id": "6bdd3c50.e0d3d4",
"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 + '?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": 820.9730834960938,
- "y": 172.99600219726562,
- "z": "f861838.07df98",
+ "x": 849.9730834960938,
+ "y": 178.99600219726562,
+ "z": "97fec48c.8eada",
"wires": [
[
- "838f6988.2e418",
- "daadcad7.8d5718"
+ "7939df96.b1122",
+ "945597b.d7df068"
]
]
},
{
- "id": "838f6988.2e418",
+ "id": "7939df96.b1122",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1060.9732246398926,
- "y": 196.9959716796875,
- "z": "f861838.07df98",
+ "x": 1089.9732246398926,
+ "y": 202.9959716796875,
+ "z": "97fec48c.8eada",
"wires": [
[
- "e2aa0c83.94cd5"
+ "50ded459.a3ce3c"
]
]
},
{
- "id": "1cd84c7f.13b994",
+ "id": "b5aef0e7.4cc018",
"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": 1199.973258972168,
- "y": 145.99606323242188,
- "z": "f861838.07df98",
+ "x": 1259.97314453125,
+ "y": 142.99606323242188,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "daadcad7.8d5718",
+ "id": "945597b.d7df068",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1059.9730110168457,
- "y": 145.99606227874756,
- "z": "f861838.07df98",
+ "x": 1088.9730110168457,
+ "y": 151.99606227874756,
+ "z": "97fec48c.8eada",
"wires": [
[
- "1cd84c7f.13b994"
+ "b5aef0e7.4cc018"
]
]
},
{
- "id": "fe1658e6.6b98a8",
+ "id": "e01d4a36.839a2",
"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": 792.4768829345703,
- "y": 129.00000190734863,
- "z": "f861838.07df98",
+ "x": 821.4768829345703,
+ "y": 135.00000190734863,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "b6d123ad.aaa61",
+ "id": "9cfd026a.5e4728",
"type": "for",
"name": "for vidx..otn-oof.solutions_length[]",
"xml": "<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >",
"comments": "",
"outputs": 1,
- "x": 811.972900390625,
- "y": 482.2457275390625,
- "z": "f861838.07df98",
+ "x": 840.972900390625,
+ "y": 488.2457275390625,
+ "z": "97fec48c.8eada",
"wires": [
[
- "64a6a0a3.de9e88"
+ "8402c7cf.20d6c"
]
]
},
{
- "id": "32873616.6130da",
+ "id": "e807132a.83466",
"type": "comment",
"name": "Loop through OTN links",
"info": "",
"comments": "",
- "x": 895.4732055664062,
- "y": 561.74609375,
- "z": "f861838.07df98",
+ "x": 924.4732055664062,
+ "y": 567.74609375,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "64a6a0a3.de9e88",
+ "id": "8402c7cf.20d6c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 916.5001220703125,
- "y": 673.2864990234375,
- "z": "f861838.07df98",
+ "x": 945.5001220703125,
+ "y": 679.2864990234375,
+ "z": "97fec48c.8eada",
"wires": [
[
- "ebe50f50.427a98",
- "c378542a.988188",
- "b9a4e12.dabba2"
+ "5b85782.fa3db08",
+ "2d5a2685.b40dfa",
+ "20564e8a.e84492"
]
]
},
{
- "id": "ebe50f50.427a98",
+ "id": "5b85782.fa3db08",
"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": 1173.5001220703125,
- "y": 663.2864990234375,
- "z": "f861838.07df98",
+ "x": 1202.5001220703125,
+ "y": 669.2864990234375,
+ "z": "97fec48c.8eada",
"wires": [
[
- "383ad684.d27f02",
- "92e0b7cd.135e8",
- "fc9654b0.26f8f8"
+ "d48feed1.3a38",
+ "5943270e.4826e8",
+ "990db839.99a8f8"
]
]
},
{
- "id": "fc9654b0.26f8f8",
+ "id": "990db839.99a8f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1375.0001220703125,
- "y": 538.2864685058594,
- "z": "f861838.07df98",
+ "x": 1404.0001220703125,
+ "y": 544.2864685058594,
+ "z": "97fec48c.8eada",
"wires": [
[
- "a60f2416.5968c8"
+ "a9f1b4b6.1c30e8"
]
]
},
{
- "id": "383ad684.d27f02",
+ "id": "d48feed1.3a38",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1411.0001220703125,
- "y": 663.2864990234375,
- "z": "f861838.07df98",
+ "x": 1440.0001220703125,
+ "y": 669.2864990234375,
+ "z": "97fec48c.8eada",
"wires": [
[
- "1ff2406e.1859a"
+ "ac3b3843.658d4"
]
]
},
{
- "id": "92e0b7cd.135e8",
+ "id": "5943270e.4826e8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1405.0001220703125,
- "y": 713.2864990234375,
- "z": "f861838.07df98",
+ "x": 1434.0001220703125,
+ "y": 719.2864990234375,
+ "z": "97fec48c.8eada",
"wires": [
[
- "a40efbb6.9e2848"
+ "da410969.0b2cc"
]
]
},
{
- "id": "1ff2406e.1859a",
+ "id": "ac3b3843.658d4",
"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": 1572.0001220703125,
- "y": 652.2864990234375,
- "z": "f861838.07df98",
+ "x": 1601.0001220703125,
+ "y": 658.2864990234375,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "a40efbb6.9e2848",
+ "id": "da410969.0b2cc",
"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": 1570.0001220703125,
- "y": 708.2864990234375,
- "z": "f861838.07df98",
+ "x": 1599.0001220703125,
+ "y": 714.2864990234375,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "4cfcfa39.a67414",
+ "id": "d48fe5f1.e695e8",
"type": "comment",
"name": "get cross-domain-link information",
"info": "",
"comments": "",
- "x": 1179.5001220703125,
- "y": 612.2864990234375,
- "z": "f861838.07df98",
+ "x": 1208.5001220703125,
+ "y": 618.2864990234375,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "c378542a.988188",
+ "id": "2d5a2685.b40dfa",
"type": "set",
"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": 1163.0001220703125,
- "y": 566.2864990234375,
- "z": "f861838.07df98",
+ "x": 1192.0001220703125,
+ "y": 572.2864990234375,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "e2aa0c83.94cd5",
+ "id": "50ded459.a3ce3c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1206.0002708435059,
- "y": 194.74145698547363,
- "z": "f861838.07df98",
+ "x": 1235.0002708435059,
+ "y": 200.74145698547363,
+ "z": "97fec48c.8eada",
"wires": [
[]
]
},
{
- "id": "12c71cb4.bbd213",
+ "id": "6312c3c3.704cf4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 578.9688835144043,
- "y": 440.74163722991943,
- "z": "f861838.07df98",
+ "x": 607.9688835144043,
+ "y": 446.74163722991943,
+ "z": "97fec48c.8eada",
"wires": [
[
- "b6d123ad.aaa61",
- "7b12bbea.4b296c"
+ "9cfd026a.5e4728",
+ "6bdd3c50.e0d3d4",
+ "3d2e0b8f.457abc"
]
]
},
{
- "id": "eed9f90d.625c7",
+ "id": "2581c748.7cabd8",
"type": "switchNode",
"name": "test cross-domain-link role",
"xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",
"comments": "",
"outputs": 1,
- "x": 1690.5001220703125,
- "y": 538,
- "z": "f861838.07df98",
+ "x": 1719.5001220703125,
+ "y": 544,
+ "z": "97fec48c.8eada",
"wires": [
[
- "84eec670.e2767"
+ "22f3b1f4.9256fe"
]
]
},
{
- "id": "84eec670.e2767",
+ "id": "22f3b1f4.9256fe",
"type": "outcome",
"name": "outcome cross-domain",
"xml": "<outcome value='cross-domain'>\n",
"comments": "",
"outputs": 1,
- "x": 1926.5001220703125,
- "y": 539,
- "z": "f861838.07df98",
+ "x": 1955.5001220703125,
+ "y": 545,
+ "z": "97fec48c.8eada",
"wires": [
[
- "4da26d84.4c4d14"
+ "8b1c590c.dc55d"
]
]
},
{
- "id": "1a6d08c1.f63207",
+ "id": "a2b70b63.3ba9c8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2245.5,
- "y": 1016,
- "z": "f861838.07df98",
+ "x": 2359.4998779296875,
+ "y": 1005,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "4da26d84.4c4d14",
+ "id": "8b1c590c.dc55d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2129.5001220703125,
- "y": 540,
- "z": "f861838.07df98",
+ "x": 2158.5001220703125,
+ "y": 546,
+ "z": "97fec48c.8eada",
"wires": [
[
- "1a6d08c1.f63207",
- "1f33bea3.a37e41",
- "a53fb0ab.3215e8",
- "1a72a670.f5c5ba"
+ "a2b70b63.3ba9c8",
+ "4ab81af3.e377f4",
+ "b2e8772a.8ac6e8",
+ "a42edec8.e98fb"
]
]
},
{
- "id": "d525a55b.c81c5",
+ "id": "3bc9b9f2.81b29e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2570,
- "y": 507,
- "z": "f861838.07df98",
+ "x": 2683.9998779296875,
+ "y": 496,
+ "z": "97fec48c.8eada",
"wires": [
[
- "424e6de2.ee50a4"
+ "5d4d6dbf.b923ac"
]
]
},
{
- "id": "48c96b61.49802c",
+ "id": "37303a4c.954af6",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2603.0001220703125,
- "y": 565,
- "z": "f861838.07df98",
+ "x": 2717,
+ "y": 554,
+ "z": "97fec48c.8eada",
"wires": [
[
- "90a49841.e9abd"
+ "9e71e39b.7fa1"
]
]
},
{
- "id": "27012bae.421594",
+ "id": "fd9ad854.5b33c8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2606.0001220703125,
- "y": 617,
- "z": "f861838.07df98",
+ "x": 2720,
+ "y": 606,
+ "z": "97fec48c.8eada",
"wires": [
[
- "3218b6b1.58d4da"
+ "72bd806e.4e60a8"
]
]
},
{
- "id": "90a49841.e9abd",
+ "id": "9e71e39b.7fa1",
"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": 2788.0001220703125,
- "y": 569,
- "z": "f861838.07df98",
+ "x": 2902,
+ "y": 558,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "3218b6b1.58d4da",
+ "id": "72bd806e.4e60a8",
"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": 2776.0001220703125,
- "y": 620,
- "z": "f861838.07df98",
+ "x": 2890,
+ "y": 609,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "818ff562.39e0e",
+ "id": "a1ab74dd.259888",
"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": 3906.5,
- "y": 422,
- "z": "f861838.07df98",
+ "x": 4020.4998779296875,
+ "y": 411,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "f9b5c841.bb08a",
+ "id": "78028b3.737cf74",
"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": 3914.5,
- "y": 474,
- "z": "f861838.07df98",
+ "x": 4028.4998779296875,
+ "y": 463,
+ "z": "97fec48c.8eada",
"wires": [
[
- "a8ab9ca9.5f37d"
+ "f334aa73.fafd8"
]
]
},
{
- "id": "a8ab9ca9.5f37d",
+ "id": "f334aa73.fafd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4121,
- "y": 452,
- "z": "f861838.07df98",
+ "x": 4234.9998779296875,
+ "y": 441,
+ "z": "97fec48c.8eada",
"wires": [
[
- "f4704103.56f298"
+ "198591da.45bba6"
]
]
},
{
- "id": "d07aee9c.38cf",
+ "id": "c586fad5.100ad",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 3458.66845703125,
- "y": 500.48150634765625,
- "z": "f861838.07df98",
+ "x": 3572.6683349609375,
+ "y": 489.48150634765625,
+ "z": "97fec48c.8eada",
"wires": [
[
- "f5a5a2ae.b150d8"
+ "8d515769.aa6f4"
]
]
},
{
- "id": "94ee2310.15a178",
+ "id": "18757b7c.bab055",
"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": 2921.3828125,
- "y": 502.65972900390625,
- "z": "f861838.07df98",
+ "x": 3035.3826904296875,
+ "y": 491.65972900390625,
+ "z": "97fec48c.8eada",
"wires": [
[
- "116f7db2.ea55a2"
+ "e5aaccbc.1746e"
]
]
},
{
- "id": "116f7db2.ea55a2",
+ "id": "e5aaccbc.1746e",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$vidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3173.3828125,
- "y": 499.65972900390625,
- "z": "f861838.07df98",
+ "x": 3287.3826904296875,
+ "y": 488.65972900390625,
+ "z": "97fec48c.8eada",
"wires": [
[
- "d07aee9c.38cf"
+ "c586fad5.100ad"
]
]
},
{
- "id": "f5a5a2ae.b150d8",
+ "id": "8d515769.aa6f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3685.5,
- "y": 489,
- "z": "f861838.07df98",
+ "x": 3799.4998779296875,
+ "y": 478,
+ "z": "97fec48c.8eada",
"wires": [
[
- "818ff562.39e0e",
- "f9b5c841.bb08a",
- "fa235f06.dbc5c8",
- "825f6c70.9f6d6",
- "6fa2423a.fd13dc"
+ "a1ab74dd.259888",
+ "78028b3.737cf74",
+ "e29873e7.48a55",
+ "60eed173.f1208",
+ "c69a19d0.8fe6d"
]
]
},
{
- "id": "1f33bea3.a37e41",
+ "id": "4ab81af3.e377f4",
"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": 2326.5001220703125,
- "y": 912,
- "z": "f861838.07df98",
+ "x": 2440.5,
+ "y": 901,
+ "z": "97fec48c.8eada",
"wires": [
[
- "d37211e1.0a8088",
- "51af98c.c752568",
- "3fe7a459.6ee934"
+ "995af278.af1ac8",
+ "c9dcb57d.818b28",
+ "86496d30.4c8b08"
]
]
},
{
- "id": "d37211e1.0a8088",
+ "id": "995af278.af1ac8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2549,
- "y": 1054,
- "z": "f861838.07df98",
+ "x": 2662.9998779296875,
+ "y": 1043,
+ "z": "97fec48c.8eada",
"wires": [
[
- "f87a46b2.f2f308"
+ "298c76a3.790b2a"
]
]
},
{
- "id": "51af98c.c752568",
+ "id": "c9dcb57d.818b28",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2533,
- "y": 1105,
- "z": "f861838.07df98",
+ "x": 2646.9998779296875,
+ "y": 1094,
+ "z": "97fec48c.8eada",
"wires": [
[
- "87af46d4.1052d"
+ "e35f9b5f.fe69c8"
]
]
},
{
- "id": "3fe7a459.6ee934",
+ "id": "86496d30.4c8b08",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2536,
- "y": 1157,
- "z": "f861838.07df98",
+ "x": 2649.9998779296875,
+ "y": 1146,
+ "z": "97fec48c.8eada",
"wires": [
[
- "f5945933.94bc1"
+ "fe485369.3b129"
]
]
},
{
- "id": "f5945933.94bc1",
+ "id": "fe485369.3b129",
"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": 2706,
- "y": 1160,
- "z": "f861838.07df98",
+ "x": 2819.9998779296875,
+ "y": 1149,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "87af46d4.1052d",
+ "id": "e35f9b5f.fe69c8",
"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": 2718,
- "y": 1109,
- "z": "f861838.07df98",
+ "x": 2831.9998779296875,
+ "y": 1098,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "ee005d71.029a7",
+ "id": "b29ef002.3d9bd8",
"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": 2905.3828125,
- "y": 1064.6597290039062,
- "z": "f861838.07df98",
+ "x": 3019.3826904296875,
+ "y": 1053.6597290039062,
+ "z": "97fec48c.8eada",
"wires": [
[
- "d2d24abe.aac6a"
+ "1420228.3521e5e"
]
]
},
{
- "id": "d2d24abe.aac6a",
+ "id": "1420228.3521e5e",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3148.3828125,
- "y": 1063.6597290039062,
- "z": "f861838.07df98",
+ "x": 3262.3826904296875,
+ "y": 1052.6597290039062,
+ "z": "97fec48c.8eada",
"wires": [
[
- "328b374b.e6dea8"
+ "5d8a1ce9.20e95c"
]
]
},
{
- "id": "a3d738bb.01d098",
+ "id": "50d5c6dd.fd8458",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4914.5,
- "y": 865,
- "z": "f861838.07df98",
+ "x": 5028.4998779296875,
+ "y": 854,
+ "z": "97fec48c.8eada",
"wires": [
[
- "d76ed9f4.607e58",
- "4049d8d0.576ec8",
- "6d1ae1e8.8376b8"
+ "6e9eddf0.722754",
+ "4df00122.6ae7d8",
+ "5c18dd82.55be5c"
]
]
},
{
- "id": "328b374b.e6dea8",
+ "id": "5d8a1ce9.20e95c",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 3404.66845703125,
- "y": 1063.4815063476562,
- "z": "f861838.07df98",
+ "x": 3518.6683349609375,
+ "y": 1052.4815063476562,
+ "z": "97fec48c.8eada",
"wires": [
[
- "daeaf8a3.f790f8"
+ "431b8e7f.397f08"
]
]
},
{
- "id": "b11078d7.b3b858",
+ "id": "5d78c070.cc21d",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 4701.5,
- "y": 864,
- "z": "f861838.07df98",
+ "x": 4815.4998779296875,
+ "y": 853,
+ "z": "97fec48c.8eada",
"wires": [
[
- "a3d738bb.01d098"
+ "50d5c6dd.fd8458"
]
]
},
{
- "id": "daeaf8a3.f790f8",
+ "id": "431b8e7f.397f08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3704.5,
- "y": 1061,
- "z": "f861838.07df98",
+ "x": 3818.4998779296875,
+ "y": 1050,
+ "z": "97fec48c.8eada",
"wires": [
[
- "590b13b.935b9ec",
- "b7482d1e.97b0b8",
- "4d91a36f.ea12e4",
- "32404ee3.71aeda",
- "88a4d7d3.2c52b"
+ "9fe095e8.34fca",
+ "9f30760a.8f0188",
+ "3e68bf5c.62e23",
+ "16edc927.badbff",
+ "c1a0d70e.9bb548"
]
]
},
{
- "id": "590b13b.935b9ec",
+ "id": "9fe095e8.34fca",
"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": 3946.5,
- "y": 1015,
- "z": "f861838.07df98",
+ "x": 4060.4998779296875,
+ "y": 1004,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "b7482d1e.97b0b8",
+ "id": "9f30760a.8f0188",
"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": 3936.5,
- "y": 1066,
- "z": "f861838.07df98",
+ "x": 4050.4998779296875,
+ "y": 1055,
+ "z": "97fec48c.8eada",
"wires": [
[
- "3475127.fd4c36e"
+ "f0dbdf9f.2f9a"
]
]
},
{
- "id": "3475127.fd4c36e",
+ "id": "f0dbdf9f.2f9a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4124,
- "y": 1064,
- "z": "f861838.07df98",
+ "x": 4237.9998779296875,
+ "y": 1053,
+ "z": "97fec48c.8eada",
"wires": [
[
- "8e8366a6.32694"
+ "aaf730ad.ded658"
]
]
},
{
- "id": "d76ed9f4.607e58",
+ "id": "6e9eddf0.722754",
"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": 5184.5,
- "y": 841,
- "z": "f861838.07df98",
+ "x": 5298.4998779296875,
+ "y": 830,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "4049d8d0.576ec8",
+ "id": "4df00122.6ae7d8",
"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": 5194.5,
- "y": 887,
- "z": "f861838.07df98",
+ "x": 5308.4998779296875,
+ "y": 876,
+ "z": "97fec48c.8eada",
"wires": [
[
- "e9f242cc.c24dd8"
+ "6bfb2c0.fcf9cd4"
]
]
},
{
- "id": "e9f242cc.c24dd8",
+ "id": "6bfb2c0.fcf9cd4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5410,
- "y": 878,
- "z": "f861838.07df98",
+ "x": 5523.9998779296875,
+ "y": 867,
+ "z": "97fec48c.8eada",
"wires": [
[
- "43e26006.8bc19"
+ "46a8e7db.6247c8"
]
]
},
{
- "id": "43e26006.8bc19",
+ "id": "46a8e7db.6247c8",
"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",
+ "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`' />",
"comments": "",
- "x": 5664.5,
- "y": 884,
- "z": "f861838.07df98",
+ "x": 5778.4998779296875,
+ "y": 873,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "424e6de2.ee50a4",
+ "id": "5d4d6dbf.b923ac",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2704,
- "y": 503,
- "z": "f861838.07df98",
+ "x": 2817.9998779296875,
+ "y": 492,
+ "z": "97fec48c.8eada",
"wires": [
[
- "94ee2310.15a178"
+ "18757b7c.bab055"
]
]
},
{
- "id": "f87a46b2.f2f308",
+ "id": "298c76a3.790b2a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2695,
- "y": 1045,
- "z": "f861838.07df98",
+ "x": 2808.9998779296875,
+ "y": 1034,
+ "z": "97fec48c.8eada",
"wires": [
[
- "ee005d71.029a7"
+ "b29ef002.3d9bd8"
]
]
},
{
- "id": "a60f2416.5968c8",
+ "id": "a9f1b4b6.1c30e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1509,
- "y": 540,
- "z": "f861838.07df98",
+ "x": 1538,
+ "y": 546,
+ "z": "97fec48c.8eada",
"wires": [
[
- "eed9f90d.625c7"
+ "2581c748.7cabd8"
]
]
},
{
- "id": "a53fb0ab.3215e8",
+ "id": "b2e8772a.8ac6e8",
"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": 2279,
- "y": 324,
- "z": "f861838.07df98",
+ "x": 2392.9998779296875,
+ "y": 313,
+ "z": "97fec48c.8eada",
"wires": [
[
- "128e534.d6bf2ad"
+ "3399a4f5.011714"
]
]
},
{
- "id": "128e534.d6bf2ad",
+ "id": "3399a4f5.011714",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2478,
- "y": 321,
- "z": "f861838.07df98",
+ "x": 2591.9998779296875,
+ "y": 310,
+ "z": "97fec48c.8eada",
"wires": [
[
- "11b1dca5.336a6b"
+ "d2b9c322.61b4e"
]
]
},
{
- "id": "11b1dca5.336a6b",
+ "id": "d2b9c322.61b4e",
"type": "outcome",
"name": "p-interface",
"xml": "<outcome value='p-interface'>\n",
"comments": "",
"outputs": 1,
- "x": 2655.117431640625,
- "y": 319.34027099609375,
- "z": "f861838.07df98",
+ "x": 2769.1173095703125,
+ "y": 308.34027099609375,
+ "z": "97fec48c.8eada",
"wires": [
[
- "16999964.0052a7"
+ "daf680e0.e985f"
]
]
},
{
- "id": "a9fc0be8.cb4e7",
+ "id": "614113e.09a2a6c",
"type": "set",
"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",
+ "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<!--<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-ltp-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />-->\n<!--<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />-->\n\n<!--<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />-->\n",
"comments": "",
- "x": 3507,
- "y": 233,
- "z": "f861838.07df98",
+ "x": 3620.9998779296875,
+ "y": 222,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "bbad66bd.203d28",
+ "id": "c1945a01.da39d8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3492,
- "y": 281,
- "z": "f861838.07df98",
+ "x": 3605.9998779296875,
+ "y": 270,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "16999964.0052a7",
+ "id": "daf680e0.e985f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2795,
- "y": 304,
- "z": "f861838.07df98",
+ "x": 2908.9998779296875,
+ "y": 293,
+ "z": "97fec48c.8eada",
"wires": [
[
- "c4129dee.e1028",
- "4b41d356.da9dfc"
+ "56dc1543.ce88ec",
+ "b07af7fc.6b63b8"
]
]
},
{
- "id": "f4704103.56f298",
+ "id": "198591da.45bba6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4296,
- "y": 448,
- "z": "f861838.07df98",
+ "x": 4409.9998779296875,
+ "y": 437,
+ "z": "97fec48c.8eada",
"wires": [
[
- "9beffd2c.502c6"
+ "c08fd8d6.2bd66"
]
]
},
{
- "id": "8e8366a6.32694",
+ "id": "aaf730ad.ded658",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4313,
- "y": 1053,
- "z": "f861838.07df98",
+ "x": 4426.9998779296875,
+ "y": 1042,
+ "z": "97fec48c.8eada",
"wires": [
[
- "2782166b.894a72"
+ "64775e7a.bf3908"
]
]
},
{
- "id": "1a72a670.f5c5ba",
+ "id": "a42edec8.e98fb",
"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": 2372.5001220703125,
- "y": 546,
- "z": "f861838.07df98",
+ "x": 2486.5,
+ "y": 535,
+ "z": "97fec48c.8eada",
"wires": [
[
- "d525a55b.c81c5",
- "48c96b61.49802c",
- "27012bae.421594"
+ "3bc9b9f2.81b29e",
+ "37303a4c.954af6",
+ "fd9ad854.5b33c8"
]
]
},
{
- "id": "fa235f06.dbc5c8",
+ "id": "e29873e7.48a55",
"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": 3776,
- "y": 292,
- "z": "f861838.07df98",
+ "x": 3889.9998779296875,
+ "y": 281,
+ "z": "97fec48c.8eada",
"wires": [
[
- "97e1c7ea.89c31",
- "a32ada2.7e46ba8",
- "6c014e40.0055a8"
+ "98eef2c3.4b1e6",
+ "b3fdc3b3.daa6d",
+ "bb3698f8.9dc54"
]
]
},
{
- "id": "97e1c7ea.89c31",
+ "id": "98eef2c3.4b1e6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3971.5001220703125,
- "y": 244,
- "z": "f861838.07df98",
+ "x": 4085.5,
+ "y": 233,
+ "z": "97fec48c.8eada",
"wires": [
[
- "76aa8066.8a0a68"
+ "1e54913c.73cd4f"
]
]
},
{
- "id": "a32ada2.7e46ba8",
+ "id": "b3fdc3b3.daa6d",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3963.5001220703125,
- "y": 299,
- "z": "f861838.07df98",
+ "x": 4077.5,
+ "y": 288,
+ "z": "97fec48c.8eada",
"wires": [
[
- "e78aff2c.f74de8"
+ "8746e11a.2a66c"
]
]
},
{
- "id": "6c014e40.0055a8",
+ "id": "bb3698f8.9dc54",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3968.5001220703125,
- "y": 356,
- "z": "f861838.07df98",
+ "x": 4082.5,
+ "y": 345,
+ "z": "97fec48c.8eada",
"wires": [
[
- "72ca8bf8.aa197c"
+ "be336b5b.cedab8"
]
]
},
{
- "id": "72ca8bf8.aa197c",
+ "id": "be336b5b.cedab8",
"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": 4120.5001220703125,
- "y": 357,
- "z": "f861838.07df98",
+ "x": 4234.5,
+ "y": 346,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "e78aff2c.f74de8",
+ "id": "8746e11a.2a66c",
"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": 4131.5001220703125,
- "y": 302,
- "z": "f861838.07df98",
+ "x": 4245.5,
+ "y": 291,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "76aa8066.8a0a68",
+ "id": "1e54913c.73cd4f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4115.8824462890625,
- "y": 241.65567016601562,
- "z": "f861838.07df98",
+ "x": 4229.88232421875,
+ "y": 230.65567016601562,
+ "z": "97fec48c.8eada",
"wires": [
[
- "2bdb018d.2fcdb6",
- "d5b2333f.df7ba8"
+ "e08a0980.5d50e",
+ "8e112ac6.c7732"
]
]
},
{
- "id": "2bdb018d.2fcdb6",
+ "id": "e08a0980.5d50e",
"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",
+ "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`' />",
"comments": "",
- "x": 4341,
- "y": 197,
- "z": "f861838.07df98",
+ "x": 4454.9998779296875,
+ "y": 186,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "825f6c70.9f6d6",
+ "id": "60eed173.f1208",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3863,
- "y": 539,
- "z": "f861838.07df98",
+ "x": 3976.9998779296875,
+ "y": 528,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "9beffd2c.502c6",
+ "id": "c08fd8d6.2bd66",
"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",
+ "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",
"comments": "",
- "x": 4557,
- "y": 445,
- "z": "f861838.07df98",
+ "x": 4670.9998779296875,
+ "y": 434,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "32404ee3.71aeda",
+ "id": "16edc927.badbff",
"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": 3773,
- "y": 895,
- "z": "f861838.07df98",
+ "x": 3886.9998779296875,
+ "y": 884,
+ "z": "97fec48c.8eada",
"wires": [
[
- "38443514.32f97a",
- "3f48494d.b1e386",
- "1d72a1d4.29172e"
+ "123bf516.85c49b",
+ "6c28943b.60b994",
+ "19639884.e536cf"
]
]
},
{
- "id": "1d72a1d4.29172e",
+ "id": "19639884.e536cf",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3968.5001220703125,
- "y": 847,
- "z": "f861838.07df98",
+ "x": 4082.5,
+ "y": 836,
+ "z": "97fec48c.8eada",
"wires": [
[
- "e3710364.81565"
+ "c2d1aecb.85e098"
]
]
},
{
- "id": "3f48494d.b1e386",
+ "id": "6c28943b.60b994",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 3960.5001220703125,
- "y": 902,
- "z": "f861838.07df98",
+ "x": 4074.5,
+ "y": 891,
+ "z": "97fec48c.8eada",
"wires": [
[
- "1d46287c.a3abe"
+ "1ac89a13.d0df06"
]
]
},
{
- "id": "38443514.32f97a",
+ "id": "123bf516.85c49b",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3965.5001220703125,
- "y": 959,
- "z": "f861838.07df98",
+ "x": 4079.5,
+ "y": 948,
+ "z": "97fec48c.8eada",
"wires": [
[
- "cdfeb34e.901888"
+ "b06bf8cb.62556"
]
]
},
{
- "id": "e3710364.81565",
+ "id": "c2d1aecb.85e098",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4112.8824462890625,
- "y": 844.6556701660156,
- "z": "f861838.07df98",
+ "x": 4226.88232421875,
+ "y": 833.6556701660156,
+ "z": "97fec48c.8eada",
"wires": [
[
- "f36692a0.716e88",
- "2c5d340f.626864"
+ "a9a60061.b99928",
+ "cfa839ce.804738"
]
]
},
{
- "id": "1d46287c.a3abe",
+ "id": "1ac89a13.d0df06",
"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": 4128.5001220703125,
- "y": 905,
- "z": "f861838.07df98",
+ "x": 4242.5,
+ "y": 894,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "cdfeb34e.901888",
+ "id": "b06bf8cb.62556",
"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": 4117.5001220703125,
- "y": 960,
- "z": "f861838.07df98",
+ "x": 4231.5,
+ "y": 949,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "f36692a0.716e88",
+ "id": "a9a60061.b99928",
"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",
+ "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`' />",
"comments": "",
- "x": 4322,
- "y": 812,
- "z": "f861838.07df98",
+ "x": 4435.9998779296875,
+ "y": 801,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "4d91a36f.ea12e4",
+ "id": "3e68bf5c.62e23",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3892,
- "y": 1107,
- "z": "f861838.07df98",
+ "x": 4005.9998779296875,
+ "y": 1096,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "2782166b.894a72",
+ "id": "64775e7a.bf3908",
"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",
+ "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`' />",
"comments": "",
- "x": 4546,
- "y": 1052,
- "z": "f861838.07df98",
+ "x": 4659.9998779296875,
+ "y": 1041,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "93bc95bd.015218",
+ "id": "8aefd07e.260d8",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 4698,
- "y": 260,
- "z": "f861838.07df98",
+ "x": 4811.9998779296875,
+ "y": 249,
+ "z": "97fec48c.8eada",
"wires": [
[
- "12aa4902.54d527"
+ "4f8861e6.824728"
]
]
},
{
- "id": "12aa4902.54d527",
+ "id": "4f8861e6.824728",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4875,
- "y": 252,
- "z": "f861838.07df98",
+ "x": 4988.9998779296875,
+ "y": 241,
+ "z": "97fec48c.8eada",
"wires": [
[
- "e133ac15.1cfeb8",
- "50016229.5d7aa4",
- "9731bbf6.0aee28"
+ "8261f1c0.e8f31",
+ "36d8211f.467a7e",
+ "49234c70.a5c64c"
]
]
},
{
- "id": "e133ac15.1cfeb8",
+ "id": "8261f1c0.e8f31",
"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": 5090,
- "y": 233,
- "z": "f861838.07df98",
+ "x": 5203.9998779296875,
+ "y": 222,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "50016229.5d7aa4",
+ "id": "36d8211f.467a7e",
"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": 5107,
- "y": 297,
- "z": "f861838.07df98",
+ "x": 5220.9998779296875,
+ "y": 286,
+ "z": "97fec48c.8eada",
"wires": [
[
- "64fc1e3d.6c54a8"
+ "92167a44.d7bee"
]
]
},
{
- "id": "64fc1e3d.6c54a8",
+ "id": "92167a44.d7bee",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5330.5,
- "y": 298,
- "z": "f861838.07df98",
+ "x": 5444.4998779296875,
+ "y": 287,
+ "z": "97fec48c.8eada",
"wires": [
[
- "269c6440.2d1124"
+ "eafcd68a.31cbf"
]
]
},
{
- "id": "269c6440.2d1124",
+ "id": "eafcd68a.31cbf",
"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",
+ "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",
"comments": "",
- "x": 5595,
- "y": 287,
- "z": "f861838.07df98",
+ "x": 5708.9998779296875,
+ "y": 276,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "d5b2333f.df7ba8",
+ "id": "8e112ac6.c7732",
"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": 4300,
- "y": 256,
- "z": "f861838.07df98",
+ "x": 4413.9998779296875,
+ "y": 245,
+ "z": "97fec48c.8eada",
"wires": [
[
- "4f6b55da.d022d4"
+ "7a3db7fd.944d68"
]
]
},
{
- "id": "4f6b55da.d022d4",
+ "id": "7a3db7fd.944d68",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4495,
- "y": 256,
- "z": "f861838.07df98",
+ "x": 4608.9998779296875,
+ "y": 245,
+ "z": "97fec48c.8eada",
"wires": [
[
- "93bc95bd.015218"
+ "8aefd07e.260d8"
]
]
},
{
- "id": "9731bbf6.0aee28",
+ "id": "49234c70.a5c64c",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5034,
- "y": 350,
- "z": "f861838.07df98",
+ "x": 5147.9998779296875,
+ "y": 339,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "2c5d340f.626864",
+ "id": "cfa839ce.804738",
"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": 4301,
- "y": 863,
- "z": "f861838.07df98",
+ "x": 4414.9998779296875,
+ "y": 852,
+ "z": "97fec48c.8eada",
"wires": [
[
- "a0eb4786.ca84c8"
+ "4d05ba94.558ef4"
]
]
},
{
- "id": "a0eb4786.ca84c8",
+ "id": "4d05ba94.558ef4",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4496,
- "y": 863,
- "z": "f861838.07df98",
+ "x": 4609.9998779296875,
+ "y": 852,
+ "z": "97fec48c.8eada",
"wires": [
[
- "b11078d7.b3b858"
+ "5d78c070.cc21d"
]
]
},
{
- "id": "6d1ae1e8.8376b8",
+ "id": "5c18dd82.55be5c",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5120,
- "y": 943,
- "z": "f861838.07df98",
+ "x": 5233.9998779296875,
+ "y": 932,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "6fa2423a.fd13dc",
+ "id": "c69a19d0.8fe6d",
"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": 3804,
- "y": 86,
- "z": "f861838.07df98",
+ "x": 3917.9998779296875,
+ "y": 75,
+ "z": "97fec48c.8eada",
"wires": [
[
- "c37dc1f9.38a388",
- "f701d80.fcde128"
+ "4ca85973.1ae2a",
+ "285acc14.d6b794"
]
]
},
{
- "id": "f701d80.fcde128",
+ "id": "285acc14.d6b794",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4025,
- "y": 54,
- "z": "f861838.07df98",
+ "x": 4138.9998779296875,
+ "y": 43,
+ "z": "97fec48c.8eada",
"wires": [
[
- "72fa8a9d.201954"
+ "2fdf8051.c7f6a8"
]
]
},
{
- "id": "c37dc1f9.38a388",
+ "id": "4ca85973.1ae2a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4025,
- "y": 101,
- "z": "f861838.07df98",
+ "x": 4138.9998779296875,
+ "y": 90,
+ "z": "97fec48c.8eada",
"wires": [
[
- "11d67749.03e0d9"
+ "be0791af.66d9e"
]
]
},
{
- "id": "72fa8a9d.201954",
+ "id": "2fdf8051.c7f6a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4190,
- "y": 51,
- "z": "f861838.07df98",
+ "x": 4303.9998779296875,
+ "y": 40,
+ "z": "97fec48c.8eada",
"wires": [
[
- "bbea1bea.ff9688"
+ "a66ce9ac.c44538"
]
]
},
{
- "id": "bbea1bea.ff9688",
+ "id": "a66ce9ac.c44538",
"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",
+ "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`' />",
"comments": "",
- "x": 4372,
- "y": 55,
- "z": "f861838.07df98",
+ "x": 4485.9998779296875,
+ "y": 44,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "11d67749.03e0d9",
+ "id": "be0791af.66d9e",
"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": 4192,
- "y": 101,
- "z": "f861838.07df98",
+ "x": 4305.9998779296875,
+ "y": 90,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "88a4d7d3.2c52b",
+ "id": "c1a0d70e.9bb548",
"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": 3812,
- "y": 710,
- "z": "f861838.07df98",
+ "x": 3925.9998779296875,
+ "y": 699,
+ "z": "97fec48c.8eada",
"wires": [
[
- "584895a0.b3ab74",
- "d8e0f12d.021a28"
+ "50687959.886b6",
+ "99d4fed5.f7a3f"
]
]
},
{
- "id": "d8e0f12d.021a28",
+ "id": "99d4fed5.f7a3f",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4033,
- "y": 678,
- "z": "f861838.07df98",
+ "x": 4146.9998779296875,
+ "y": 667,
+ "z": "97fec48c.8eada",
"wires": [
[
- "18ffb32b.dc39ad"
+ "9d94fa7.027cb88"
]
]
},
{
- "id": "584895a0.b3ab74",
+ "id": "50687959.886b6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4033,
- "y": 725,
- "z": "f861838.07df98",
+ "x": 4146.9998779296875,
+ "y": 714,
+ "z": "97fec48c.8eada",
"wires": [
[
- "5fcd9d7d.d620cc"
+ "7a52ffa3.7e9d28"
]
]
},
{
- "id": "18ffb32b.dc39ad",
+ "id": "9d94fa7.027cb88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4198,
- "y": 675,
- "z": "f861838.07df98",
+ "x": 4311.9998779296875,
+ "y": 664,
+ "z": "97fec48c.8eada",
"wires": [
[
- "ef90ab42.074438"
+ "675b55d9.b9c0ec"
]
]
},
{
- "id": "ef90ab42.074438",
+ "id": "675b55d9.b9c0ec",
"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",
+ "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`' />",
"comments": "",
- "x": 4394,
- "y": 672,
- "z": "f861838.07df98",
+ "x": 4507.9998779296875,
+ "y": 661,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "5fcd9d7d.d620cc",
+ "id": "7a52ffa3.7e9d28",
"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": 4200,
- "y": 725,
- "z": "f861838.07df98",
+ "x": 4313.9998779296875,
+ "y": 714,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "b9a4e12.dabba2",
+ "id": "20564e8a.e84492",
"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",
+ "x": 1183,
+ "y": 501,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "c4129dee.e1028",
+ "id": "56dc1543.ce88ec",
"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",
+ "x": 3103.9998779296875,
+ "y": 254,
+ "z": "97fec48c.8eada",
"wires": [
[
- "c507ecc7.0f698"
+ "a156113e.6f73f"
]
]
},
{
- "id": "55770297.b0eaec",
+ "id": "f7b52e29.d7e28",
"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",
+ "x": 3255.9998779296875,
+ "y": 169,
+ "z": "97fec48c.8eada",
"wires": [
[]
]
},
{
- "id": "e83d3f89.4fb8f",
+ "id": "fcffac67.9ba8e",
"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",
+ "x": 3258.9998779296875,
+ "y": 388,
+ "z": "97fec48c.8eada",
"wires": [
[]
]
},
{
- "id": "e09f6c32.6da1e8",
+ "id": "edb2a900.9a7b1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3320,
- "y": 249,
- "z": "f861838.07df98",
+ "x": 3433.9998779296875,
+ "y": 238,
+ "z": "97fec48c.8eada",
"wires": [
[
- "a9fc0be8.cb4e7"
+ "614113e.09a2a6c"
]
]
},
{
- "id": "3bd5ba40.547cce",
+ "id": "bc992c4c.01fac8",
"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",
+ "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<!--<parameter name='`tmp.otninfo[$vidx+1].srcPort.src-access-ltp-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />-->\n<!--<parameter name='`tmp.otninfo[$vidx+1].srcPort.src-access-node-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />-->\n\n<!--<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />-->\n\n",
"comments": "",
- "x": 3517,
- "y": 335,
- "z": "f861838.07df98",
+ "x": 3630.9998779296875,
+ "y": 324,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "bf0c687c.786c3",
+ "id": "4fb57d55.78b35c",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3500,
- "y": 375,
- "z": "f861838.07df98",
+ "x": 3613.9998779296875,
+ "y": 364,
+ "z": "97fec48c.8eada",
"wires": []
},
{
- "id": "e18153ce.f19278",
+ "id": "7a290eee.406588",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3338,
- "y": 347,
- "z": "f861838.07df98",
+ "x": 3451.9998779296875,
+ "y": 336,
+ "z": "97fec48c.8eada",
"wires": [
[
- "3bd5ba40.547cce"
+ "bc992c4c.01fac8"
]
]
},
{
- "id": "c507ecc7.0f698",
+ "id": "a156113e.6f73f",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3178,
- "y": 252,
- "z": "f861838.07df98",
+ "x": 3291.9998779296875,
+ "y": 241,
+ "z": "97fec48c.8eada",
"wires": [
[
- "e09f6c32.6da1e8"
+ "edb2a900.9a7b1"
]
]
},
{
- "id": "4b41d356.da9dfc",
+ "id": "b07af7fc.6b63b8",
"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",
+ "x": 3101.9998779296875,
+ "y": 318,
+ "z": "97fec48c.8eada",
+ "wires": [
+ [
+ "adae2c31.77bd68"
+ ]
+ ]
+ },
+ {
+ "id": "adae2c31.77bd68",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3286.9998779296875,
+ "y": 322,
+ "z": "97fec48c.8eada",
+ "wires": [
+ [
+ "7a290eee.406588"
+ ]
+ ]
+ },
+ {
+ "id": "fdcdd209.036438",
+ "type": "comment",
+ "name": "Not useful anymore",
+ "info": "this domain-A.ltpId is not used anymore",
+ "comments": "",
+ "x": 4528.9998779296875,
+ "y": 20,
+ "z": "97fec48c.8eada",
+ "wires": []
+ },
+ {
+ "id": "335fd86d.6b1ff",
+ "type": "comment",
+ "name": "Not useful anymore",
+ "info": "this domain-B.ltpId is not used anymore",
+ "comments": "",
+ "x": 4550.9998779296875,
+ "y": 633,
+ "z": "97fec48c.8eada",
+ "wires": []
+ },
+ {
+ "id": "b9740a82.273f8",
+ "type": "switchNode",
+ "name": "test $vidx == first",
+ "xml": "<switch test='`$vidx == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2366,
+ "y": 100,
+ "z": "97fec48c.8eada",
"wires": [
[
- "2bcfa57c.bd2fea"
+ "fac1138.38454f",
+ "4fd6928.61fb8ec"
]
]
},
{
- "id": "2bcfa57c.bd2fea",
+ "id": "fac1138.38454f",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3173,
- "y": 333,
- "z": "f861838.07df98",
+ "x": 2550,
+ "y": 62,
+ "z": "97fec48c.8eada",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4fd6928.61fb8ec",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2548,
+ "y": 131,
+ "z": "97fec48c.8eada",
+ "wires": [
+ [
+ "49bef92e.99a498"
+ ]
+ ]
+ },
+ {
+ "id": "49bef92e.99a498",
+ "type": "switchNode",
+ "name": "test $vidx == last",
+ "xml": "<switch test='`$vidx == $otn-oof.solutions_length - 1`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2729,
+ "y": 128,
+ "z": "97fec48c.8eada",
"wires": [
[
- "e18153ce.f19278"
+ "4a491f2.2eab56",
+ "98392658.063f78"
]
]
+ },
+ {
+ "id": "98392658.063f78",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2895,
+ "y": 167,
+ "z": "97fec48c.8eada",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a491f2.2eab56",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2897,
+ "y": 93,
+ "z": "97fec48c.8eada",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3d2e0b8f.457abc",
+ "type": "set",
+ "name": "unset parameters",
+ "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<parameter name='`tmp.otninfo_length`' value='0' />",
+ "comments": "",
+ "x": 829,
+ "y": 402,
+ "z": "97fec48c.8eada",
+ "wires": []
+ },
+ {
+ "id": "d9b3c779.af79",
+ "type": "comment",
+ "name": "May not be necessary",
+ "info": "",
+ "comments": "",
+ "x": 841,
+ "y": 370,
+ "z": "97fec48c.8eada",
+ "wires": []
}
] \ No newline at end of file