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.json888
1 files changed, 444 insertions, 444 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 edc6aadf..5f057be1 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": "ffc612a5.7b0918",
+ "id": "785080f2.6936b8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
"x": 183,
- "y": 130,
- "z": "59711e8e.29744",
+ "y": 123,
+ "z": "f861838.07df98",
"wires": [
[
- "6dda290e.27dad8"
+ "4da9bc1a.de21c4"
]
]
},
{
- "id": "6dda290e.27dad8",
+ "id": "4da9bc1a.de21c4",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -23,257 +23,257 @@
"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": 456.00001525878906,
- "z": "59711e8e.29744",
+ "y": 449.00001525878906,
+ "z": "f861838.07df98",
"wires": [
[
- "3ffa7f3f.e7e27"
+ "4d41d418.8146fc"
]
]
},
{
- "id": "3ffa7f3f.e7e27",
+ "id": "4d41d418.8146fc",
"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": 549,
- "z": "59711e8e.29744",
+ "y": 542,
+ "z": "f861838.07df98",
"wires": [
[
- "9aa7ba3c.52a7f"
+ "e5176e39.ab5f58"
]
]
},
{
- "id": "4ab3abe1.e87adc",
+ "id": "8caf5150.39185",
"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`\" />",
"comments": "",
"outputs": 1,
"x": 854.9730834960938,
- "y": 207.99600219726562,
- "z": "59711e8e.29744",
+ "y": 200.99600219726562,
+ "z": "f861838.07df98",
"wires": [
[
- "6b5ff944.5bf648",
- "850f0c15.20d28"
+ "4d2dbd72.56d1c4",
+ "d1c68f83.41e85"
]
]
},
{
- "id": "6b5ff944.5bf648",
+ "id": "4d2dbd72.56d1c4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 1094.9732246398926,
- "y": 231.9959716796875,
- "z": "59711e8e.29744",
+ "y": 224.9959716796875,
+ "z": "f861838.07df98",
"wires": [
[
- "cd276ba.d3fc218"
+ "f83b56b9.c9b638"
]
]
},
{
- "id": "905d3517.25cab8",
+ "id": "e8159436.f6c238",
"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": 180.99606323242188,
- "z": "59711e8e.29744",
+ "y": 173.99606323242188,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "850f0c15.20d28",
+ "id": "d1c68f83.41e85",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 1093.9730110168457,
- "y": 180.99606227874756,
- "z": "59711e8e.29744",
+ "y": 173.99606227874756,
+ "z": "f861838.07df98",
"wires": [
[
- "905d3517.25cab8"
+ "e8159436.f6c238"
]
]
},
{
- "id": "6a5159e4.7418a",
+ "id": "820d1c3.af11fe",
"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": 164.00000190734863,
- "z": "59711e8e.29744",
+ "y": 157.00000190734863,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "eda4482b.a18e38",
+ "id": "74bde20c.a7fc74",
"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": 517.2457275390625,
- "z": "59711e8e.29744",
+ "y": 510.2457275390625,
+ "z": "f861838.07df98",
"wires": [
[
- "576c4b0b.248fb4"
+ "4106c3e4.394aa4"
]
]
},
{
- "id": "735419f0.115878",
+ "id": "cd87cc44.8c15b8",
"type": "comment",
"name": "Loop through OTN links",
"info": "",
"comments": "",
"x": 929.4732055664062,
- "y": 596.74609375,
- "z": "59711e8e.29744",
+ "y": 589.74609375,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "576c4b0b.248fb4",
+ "id": "4106c3e4.394aa4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 950.5001220703125,
- "y": 708.2864990234375,
- "z": "59711e8e.29744",
+ "y": 701.2864990234375,
+ "z": "f861838.07df98",
"wires": [
[
- "da160010.38d94",
- "5b4dabd5.4d7054"
+ "ce760c47.cc25c",
+ "881e4d7c.ab39a8"
]
]
},
{
- "id": "da160010.38d94",
+ "id": "ce760c47.cc25c",
"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": 628.2864685058594,
- "z": "59711e8e.29744",
+ "y": 621.2864685058594,
+ "z": "f861838.07df98",
"wires": [
[
- "38a6a5c5.3878b2",
- "7911950a.d4f9bc",
- "c37b490.2ec29b8"
+ "ad346b3e.ce4fa8",
+ "fc5baf89.e9e038",
+ "996489b0.d36438"
]
]
},
{
- "id": "c37b490.2ec29b8",
+ "id": "996489b0.d36438",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 1409.0001220703125,
- "y": 573.2864685058594,
- "z": "59711e8e.29744",
+ "y": 566.2864685058594,
+ "z": "f861838.07df98",
"wires": [
[
- "203a4a36.513986"
+ "3ceef7ce.6836e"
]
]
},
{
- "id": "38a6a5c5.3878b2",
+ "id": "ad346b3e.ce4fa8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
"x": 1445.0001220703125,
- "y": 698.2864990234375,
- "z": "59711e8e.29744",
+ "y": 691.2864990234375,
+ "z": "f861838.07df98",
"wires": [
[
- "21535143.0a939e"
+ "ac6169c7.f0845"
]
]
},
{
- "id": "7911950a.d4f9bc",
+ "id": "fc5baf89.e9e038",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
"x": 1439.0001220703125,
- "y": 748.2864990234375,
- "z": "59711e8e.29744",
+ "y": 741.2864990234375,
+ "z": "f861838.07df98",
"wires": [
[
- "21f78d15.02bd0a"
+ "63822e63.363e4"
]
]
},
{
- "id": "21535143.0a939e",
+ "id": "ac6169c7.f0845",
"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": 687.2864990234375,
- "z": "59711e8e.29744",
+ "y": 680.2864990234375,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "21f78d15.02bd0a",
+ "id": "63822e63.363e4",
"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": 743.2864990234375,
- "z": "59711e8e.29744",
+ "y": 736.2864990234375,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "875b8573.2757",
+ "id": "dd34e96e.f687",
"type": "comment",
"name": "get cross-domain-link information",
"info": "",
"comments": "",
"x": 1218.5001220703125,
- "y": 589.2864685058594,
- "z": "59711e8e.29744",
+ "y": 582.2864685058594,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "5b4dabd5.4d7054",
+ "id": "881e4d7c.ab39a8",
"type": "set",
"name": "set otn-oof.link-name",
"xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />",
"comments": "",
"x": 1200.0001220703125,
- "y": 538.2864685058594,
- "z": "59711e8e.29744",
+ "y": 531.2864685058594,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "cd276ba.d3fc218",
+ "id": "f83b56b9.c9b638",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -281,561 +281,561 @@
"comments": "",
"outputs": 1,
"x": 1240.0002708435059,
- "y": 229.74145698547363,
- "z": "59711e8e.29744",
+ "y": 222.74145698547363,
+ "z": "f861838.07df98",
"wires": [
[]
]
},
{
- "id": "9aa7ba3c.52a7f",
+ "id": "e5176e39.ab5f58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 612.9688835144043,
- "y": 475.74163722991943,
- "z": "59711e8e.29744",
+ "y": 468.74163722991943,
+ "z": "f861838.07df98",
"wires": [
[
- "eda4482b.a18e38",
- "4ab3abe1.e87adc"
+ "74bde20c.a7fc74",
+ "8caf5150.39185"
]
]
},
{
- "id": "edd38a6c.67c6b8",
+ "id": "26918861.79c318",
"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": 573,
- "z": "59711e8e.29744",
+ "y": 566,
+ "z": "f861838.07df98",
"wires": [
[
- "344b3505.db598a"
+ "3531deb1.d8e4aa"
]
]
},
{
- "id": "344b3505.db598a",
+ "id": "3531deb1.d8e4aa",
"type": "outcome",
"name": "outcome cross-domain",
"xml": "<outcome value='cross-domain'>\n",
"comments": "",
"outputs": 1,
"x": 1960.5001220703125,
- "y": 574,
- "z": "59711e8e.29744",
+ "y": 567,
+ "z": "f861838.07df98",
"wires": [
[
- "bdc2d141.60e88"
+ "eebcac2b.5130c8"
]
]
},
{
- "id": "7c9a4f45.2dfb5",
+ "id": "7e986d4a.8efc2c",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
"x": 2279.5,
- "y": 1051,
- "z": "59711e8e.29744",
+ "y": 1044,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "bdc2d141.60e88",
+ "id": "eebcac2b.5130c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 2163.5001220703125,
- "y": 575,
- "z": "59711e8e.29744",
+ "y": 568,
+ "z": "f861838.07df98",
"wires": [
[
- "7c9a4f45.2dfb5",
- "54d54d35.c8ade4",
- "965a7aea.98984",
- "f57884fd.e852f"
+ "7e986d4a.8efc2c",
+ "ea827dd1.08ec5",
+ "baf2958a.4c4df8",
+ "fb366a0b.531b8"
]
]
},
{
- "id": "7f48300c.649cc8",
+ "id": "a6afce7.6f2473",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 2604,
- "y": 542,
- "z": "59711e8e.29744",
+ "y": 535,
+ "z": "f861838.07df98",
"wires": [
[
- "2a6040f8.29261"
+ "f8be66de.741848"
]
]
},
{
- "id": "9cd22818.9c99c",
+ "id": "2f1a9902.061d36",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
"x": 2637.0001220703125,
- "y": 600,
- "z": "59711e8e.29744",
+ "y": 593,
+ "z": "f861838.07df98",
"wires": [
[
- "8222994e.269fa"
+ "dbfe4fc5.e26958"
]
]
},
{
- "id": "11e5f855.56b93",
+ "id": "9127ce8b.3def68",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
"x": 2640.0001220703125,
- "y": 652,
- "z": "59711e8e.29744",
+ "y": 645,
+ "z": "f861838.07df98",
"wires": [
[
- "39b267f5.2906b8"
+ "c41edc57.5a3f3"
]
]
},
{
- "id": "8222994e.269fa",
+ "id": "dbfe4fc5.e26958",
"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": 604,
- "z": "59711e8e.29744",
+ "y": 597,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "39b267f5.2906b8",
+ "id": "c41edc57.5a3f3",
"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": 655,
- "z": "59711e8e.29744",
+ "y": 648,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "6235283.bbe1f58",
+ "id": "ecb2deab.b51cf",
"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": 457,
- "z": "59711e8e.29744",
+ "y": 450,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "4dcc3c3f.b0f8dc",
+ "id": "d1cdcf8f.8a3938",
"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": 509,
- "z": "59711e8e.29744",
+ "y": 502,
+ "z": "f861838.07df98",
"wires": [
[
- "83dfda72.1dad78"
+ "5ec14125.845248"
]
]
},
{
- "id": "83dfda72.1dad78",
+ "id": "5ec14125.845248",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 4155,
- "y": 487,
- "z": "59711e8e.29744",
+ "y": 480,
+ "z": "f861838.07df98",
"wires": [
[
- "bd70272d.20274"
+ "ca7d08dc.2600e"
]
]
},
{
- "id": "49b3daba.22ab04",
+ "id": "c49d7c6a.28c258",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
"x": 3492.66845703125,
- "y": 535.4815063476562,
- "z": "59711e8e.29744",
+ "y": 528.4815063476562,
+ "z": "f861838.07df98",
"wires": [
[
- "2abdfdd6.de70da"
+ "dd92713b.0e1d48"
]
]
},
{
- "id": "db5fdeca.64d9c8",
+ "id": "d42ddf1f.aa33b8",
"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": 537.6597290039062,
- "z": "59711e8e.29744",
+ "y": 530.6597290039062,
+ "z": "f861838.07df98",
"wires": [
[
- "7fedd7f6.218328"
+ "422b69de.73fa7"
]
]
},
{
- "id": "7fedd7f6.218328",
+ "id": "422b69de.73fa7",
"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": 534.6597290039062,
- "z": "59711e8e.29744",
+ "y": 527.6597290039062,
+ "z": "f861838.07df98",
"wires": [
[
- "49b3daba.22ab04"
+ "c49d7c6a.28c258"
]
]
},
{
- "id": "2abdfdd6.de70da",
+ "id": "dd92713b.0e1d48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 3719.5,
- "y": 524,
- "z": "59711e8e.29744",
+ "y": 517,
+ "z": "f861838.07df98",
"wires": [
[
- "6235283.bbe1f58",
- "4dcc3c3f.b0f8dc",
- "3af252ac.f5160e",
- "b3928b44.45b93",
- "6051cb19.bdbedc"
+ "ecb2deab.b51cf",
+ "d1cdcf8f.8a3938",
+ "971f1502.6917e",
+ "c7ca7420.72c18",
+ "8d70c942.44a4b"
]
]
},
{
- "id": "54d54d35.c8ade4",
+ "id": "ea827dd1.08ec5",
"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": 947,
- "z": "59711e8e.29744",
+ "y": 940,
+ "z": "f861838.07df98",
"wires": [
[
- "caa1180f.475d",
- "4f60ddcb.06c464",
- "99e66acf.ef78a8"
+ "6be782aa.b86974",
+ "6d662459.228964",
+ "898db702.b7dc98"
]
]
},
{
- "id": "caa1180f.475d",
+ "id": "6be782aa.b86974",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 2583,
- "y": 1089,
- "z": "59711e8e.29744",
+ "y": 1082,
+ "z": "f861838.07df98",
"wires": [
[
- "99dd61a2.0612b8"
+ "65a0fa24.29df6c"
]
]
},
{
- "id": "4f60ddcb.06c464",
+ "id": "6d662459.228964",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
"x": 2567,
- "y": 1140,
- "z": "59711e8e.29744",
+ "y": 1133,
+ "z": "f861838.07df98",
"wires": [
[
- "ecf71935.9fff1"
+ "b65b40fe.974c6"
]
]
},
{
- "id": "99e66acf.ef78a8",
+ "id": "898db702.b7dc98",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
"x": 2570,
- "y": 1192,
- "z": "59711e8e.29744",
+ "y": 1185,
+ "z": "f861838.07df98",
"wires": [
[
- "b029d176.ebc328"
+ "bfee6332.37f66"
]
]
},
{
- "id": "b029d176.ebc328",
+ "id": "bfee6332.37f66",
"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": 1195,
- "z": "59711e8e.29744",
+ "y": 1188,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "ecf71935.9fff1",
+ "id": "b65b40fe.974c6",
"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": 1144,
- "z": "59711e8e.29744",
+ "y": 1137,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "446999ee.737b88",
+ "id": "8d7d4d68.6b1788",
"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": 1099.6597290039062,
- "z": "59711e8e.29744",
+ "y": 1092.6597290039062,
+ "z": "f861838.07df98",
"wires": [
[
- "733247bb.4951e8"
+ "575ceb9c.cab194"
]
]
},
{
- "id": "733247bb.4951e8",
+ "id": "575ceb9c.cab194",
"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": 1098.6597290039062,
- "z": "59711e8e.29744",
+ "y": 1091.6597290039062,
+ "z": "f861838.07df98",
"wires": [
[
- "551892cc.c334d4"
+ "b72d167f.fee4e"
]
]
},
{
- "id": "d1ae1073.116fc8",
+ "id": "a539cf03.6d6808",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 4948.5,
- "y": 900,
- "z": "59711e8e.29744",
+ "y": 893,
+ "z": "f861838.07df98",
"wires": [
[
- "e4453cc8.2d68",
- "a58a5fab.4b9628",
- "a3e0896b.517c78"
+ "d5068892.e23ae8",
+ "81d0dbc4.fd6ab8",
+ "7f9bc054.18256"
]
]
},
{
- "id": "551892cc.c334d4",
+ "id": "b72d167f.fee4e",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
"x": 3438.66845703125,
- "y": 1098.4815063476562,
- "z": "59711e8e.29744",
+ "y": 1091.4815063476562,
+ "z": "f861838.07df98",
"wires": [
[
- "167858f1.4d47ff"
+ "9c7f096e.2675b8"
]
]
},
{
- "id": "c5e10d55.b93e8",
+ "id": "9378bfdf.c4bd08",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
"x": 4735.5,
- "y": 899,
- "z": "59711e8e.29744",
+ "y": 892,
+ "z": "f861838.07df98",
"wires": [
[
- "d1ae1073.116fc8"
+ "a539cf03.6d6808"
]
]
},
{
- "id": "167858f1.4d47ff",
+ "id": "9c7f096e.2675b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 3738.5,
- "y": 1096,
- "z": "59711e8e.29744",
+ "y": 1089,
+ "z": "f861838.07df98",
"wires": [
[
- "b3d72c6d.8cf07",
- "1624e4ba.2068eb",
- "140c24f7.3b14f3",
- "c25cb799.15c3f8",
- "a035bf70.73a55"
+ "176fbec8.809f09",
+ "4808dba3.0d097c",
+ "a9a61e4c.61cea8",
+ "967b7a6e.29dcc",
+ "eb2816b.38b8868"
]
]
},
{
- "id": "b3d72c6d.8cf07",
+ "id": "176fbec8.809f09",
"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": 1050,
- "z": "59711e8e.29744",
+ "y": 1043,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "1624e4ba.2068eb",
+ "id": "4808dba3.0d097c",
"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": 1101,
- "z": "59711e8e.29744",
+ "y": 1094,
+ "z": "f861838.07df98",
"wires": [
[
- "58cdb5cc.380cfc"
+ "4a5731eb.8e0df8"
]
]
},
{
- "id": "58cdb5cc.380cfc",
+ "id": "4a5731eb.8e0df8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 4158,
- "y": 1099,
- "z": "59711e8e.29744",
+ "y": 1092,
+ "z": "f861838.07df98",
"wires": [
[
- "355115bb.2168d2"
+ "53c0541b.770fcc"
]
]
},
{
- "id": "e4453cc8.2d68",
+ "id": "d5068892.e23ae8",
"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": 876,
- "z": "59711e8e.29744",
+ "y": 869,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "a58a5fab.4b9628",
+ "id": "81d0dbc4.fd6ab8",
"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": 922,
- "z": "59711e8e.29744",
+ "y": 915,
+ "z": "f861838.07df98",
"wires": [
[
- "a2d84f11.e4cb88"
+ "584862de.86be1c"
]
]
},
{
- "id": "a2d84f11.e4cb88",
+ "id": "584862de.86be1c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 5444,
- "y": 913,
- "z": "59711e8e.29744",
+ "y": 906,
+ "z": "f861838.07df98",
"wires": [
[
- "33f08d3a.c124c2"
+ "419ec6e9.6efd2"
]
]
},
{
- "id": "33f08d3a.c124c2",
+ "id": "419ec6e9.6efd2",
"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": 919,
- "z": "59711e8e.29744",
+ "y": 912,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "2a6040f8.29261",
+ "id": "f8be66de.741848",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -843,16 +843,16 @@
"comments": "",
"outputs": 1,
"x": 2738,
- "y": 538,
- "z": "59711e8e.29744",
+ "y": 531,
+ "z": "f861838.07df98",
"wires": [
[
- "db5fdeca.64d9c8"
+ "d42ddf1f.aa33b8"
]
]
},
{
- "id": "99dd61a2.0612b8",
+ "id": "65a0fa24.29df6c",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -860,16 +860,16 @@
"comments": "",
"outputs": 1,
"x": 2729,
- "y": 1080,
- "z": "59711e8e.29744",
+ "y": 1073,
+ "z": "f861838.07df98",
"wires": [
[
- "446999ee.737b88"
+ "8d7d4d68.6b1788"
]
]
},
{
- "id": "203a4a36.513986",
+ "id": "3ceef7ce.6836e",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -877,86 +877,86 @@
"comments": "",
"outputs": 1,
"x": 1543,
- "y": 575,
- "z": "59711e8e.29744",
+ "y": 568,
+ "z": "f861838.07df98",
"wires": [
[
- "edd38a6c.67c6b8"
+ "26918861.79c318"
]
]
},
{
- "id": "965a7aea.98984",
+ "id": "baf2958a.4c4df8",
"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": 359,
- "z": "59711e8e.29744",
+ "y": 352,
+ "z": "f861838.07df98",
"wires": [
[
- "3bc95abb.a9239e"
+ "98d39228.4f43c"
]
]
},
{
- "id": "3bc95abb.a9239e",
+ "id": "98d39228.4f43c",
"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": 356,
- "z": "59711e8e.29744",
+ "y": 349,
+ "z": "f861838.07df98",
"wires": [
[
- "3cce24fd.740654"
+ "1abf5c4f.924da4"
]
]
},
{
- "id": "3cce24fd.740654",
+ "id": "1abf5c4f.924da4",
"type": "outcome",
"name": "p-interface",
"xml": "<outcome value='p-interface'>\n",
"comments": "",
"outputs": 1,
"x": 2689.117431640625,
- "y": 354.34027099609375,
- "z": "59711e8e.29744",
+ "y": 347.34027099609375,
+ "z": "f861838.07df98",
"wires": [
[
- "6ac060c8.1a11e8"
+ "d47f9442.a83a08"
]
]
},
{
- "id": "9ef5481b.bf4b48",
+ "id": "8b0d1bcd.9b2bf8",
"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",
"comments": "",
"x": 3003,
- "y": 298,
- "z": "59711e8e.29744",
+ "y": 291,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "ddeb58ef.e40c3",
+ "id": "69b5dc47.c8bab4",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
"x": 2964,
- "y": 361,
- "z": "59711e8e.29744",
+ "y": 354,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "6ac060c8.1a11e8",
+ "id": "d47f9442.a83a08",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -964,155 +964,155 @@
"comments": "",
"outputs": 1,
"x": 2829,
- "y": 339,
- "z": "59711e8e.29744",
+ "y": 332,
+ "z": "f861838.07df98",
"wires": [
[
- "9ef5481b.bf4b48",
- "ddeb58ef.e40c3"
+ "8b0d1bcd.9b2bf8",
+ "69b5dc47.c8bab4"
]
]
},
{
- "id": "bd70272d.20274",
+ "id": "ca7d08dc.2600e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 4330,
- "y": 483,
- "z": "59711e8e.29744",
+ "y": 476,
+ "z": "f861838.07df98",
"wires": [
[
- "b2e7a790.6b1818"
+ "4e511808.615928"
]
]
},
{
- "id": "355115bb.2168d2",
+ "id": "53c0541b.770fcc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 4347,
- "y": 1088,
- "z": "59711e8e.29744",
+ "y": 1081,
+ "z": "f861838.07df98",
"wires": [
[
- "d4658a57.f78ed8"
+ "1d3fc9e2.e7e6d6"
]
]
},
{
- "id": "f57884fd.e852f",
+ "id": "fb366a0b.531b8",
"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": 581,
- "z": "59711e8e.29744",
+ "y": 574,
+ "z": "f861838.07df98",
"wires": [
[
- "7f48300c.649cc8",
- "9cd22818.9c99c",
- "11e5f855.56b93"
+ "a6afce7.6f2473",
+ "2f1a9902.061d36",
+ "9127ce8b.3def68"
]
]
},
{
- "id": "3af252ac.f5160e",
+ "id": "971f1502.6917e",
"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": 327,
- "z": "59711e8e.29744",
+ "y": 320,
+ "z": "f861838.07df98",
"wires": [
[
- "fd4b75db.4422e8",
- "650bdcdc.cfece4",
- "72662c6f.14033c"
+ "806ba724.7c9cb",
+ "6ff47511.68ce04",
+ "3a2344e6.758334"
]
]
},
{
- "id": "fd4b75db.4422e8",
+ "id": "806ba724.7c9cb",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 4005.5001220703125,
- "y": 279,
- "z": "59711e8e.29744",
+ "y": 272,
+ "z": "f861838.07df98",
"wires": [
[
- "b45c7d99.22c22"
+ "198edc3a.f7e7a4"
]
]
},
{
- "id": "650bdcdc.cfece4",
+ "id": "6ff47511.68ce04",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
"x": 3997.5001220703125,
- "y": 334,
- "z": "59711e8e.29744",
+ "y": 327,
+ "z": "f861838.07df98",
"wires": [
[
- "cb3c1121.cbe778"
+ "658b18f7.6c229"
]
]
},
{
- "id": "72662c6f.14033c",
+ "id": "3a2344e6.758334",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
"x": 4002.5001220703125,
- "y": 391,
- "z": "59711e8e.29744",
+ "y": 384,
+ "z": "f861838.07df98",
"wires": [
[
- "789ed2a8.499b74"
+ "10fe2a63.edb7de"
]
]
},
{
- "id": "789ed2a8.499b74",
+ "id": "10fe2a63.edb7de",
"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": 392,
- "z": "59711e8e.29744",
+ "y": 385,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "cb3c1121.cbe778",
+ "id": "658b18f7.6c229",
"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": 337,
- "z": "59711e8e.29744",
+ "y": 330,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "b45c7d99.22c22",
+ "id": "198edc3a.f7e7a4",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -1120,116 +1120,116 @@
"comments": "",
"outputs": 1,
"x": 4149.8824462890625,
- "y": 276.6556701660156,
- "z": "59711e8e.29744",
+ "y": 269.6556701660156,
+ "z": "f861838.07df98",
"wires": [
[
- "ba380e73.fe2bc8",
- "65a7e039.6dcda8"
+ "3a3ab784.901e48",
+ "a97b2a05.9f73a"
]
]
},
{
- "id": "ba380e73.fe2bc8",
+ "id": "3a3ab784.901e48",
"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": 232,
- "z": "59711e8e.29744",
+ "y": 225,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "b3928b44.45b93",
+ "id": "c7ca7420.72c18",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
"x": 3897,
- "y": 574,
- "z": "59711e8e.29744",
+ "y": 567,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "b2e7a790.6b1818",
+ "id": "4e511808.615928",
"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": 480,
- "z": "59711e8e.29744",
+ "y": 473,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "c25cb799.15c3f8",
+ "id": "967b7a6e.29dcc",
"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": 930,
- "z": "59711e8e.29744",
+ "y": 923,
+ "z": "f861838.07df98",
"wires": [
[
- "c37473f2.19f208",
- "c644027c.70c3f8",
- "98fb79a9.84cdc8"
+ "e327bfa4.a9a3a8",
+ "d6f6e8cf.638658",
+ "370c2654.35ab6a"
]
]
},
{
- "id": "98fb79a9.84cdc8",
+ "id": "370c2654.35ab6a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 4002.5001220703125,
- "y": 882,
- "z": "59711e8e.29744",
+ "y": 875,
+ "z": "f861838.07df98",
"wires": [
[
- "3c4a5895.c63a"
+ "750d9871.e65c38"
]
]
},
{
- "id": "c644027c.70c3f8",
+ "id": "d6f6e8cf.638658",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
"x": 3994.5001220703125,
- "y": 937,
- "z": "59711e8e.29744",
+ "y": 930,
+ "z": "f861838.07df98",
"wires": [
[
- "70fd1b7c.8d1aac"
+ "a22c9c14.dad95"
]
]
},
{
- "id": "c37473f2.19f208",
+ "id": "e327bfa4.a9a3a8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
"x": 3999.5001220703125,
- "y": 994,
- "z": "59711e8e.29744",
+ "y": 987,
+ "z": "f861838.07df98",
"wires": [
[
- "cd3e066f.324aa"
+ "68964b02.e7fefc"
]
]
},
{
- "id": "3c4a5895.c63a",
+ "id": "750d9871.e65c38",
"type": "block",
"name": "block",
"xml": "<block>\n",
@@ -1237,416 +1237,416 @@
"comments": "",
"outputs": 1,
"x": 4146.8824462890625,
- "y": 879.6556701660156,
- "z": "59711e8e.29744",
+ "y": 872.6556701660156,
+ "z": "f861838.07df98",
"wires": [
[
- "a79b012a.c282e",
- "469c63f2.54b414"
+ "93208213.553588",
+ "71258e68.5cbd58"
]
]
},
{
- "id": "70fd1b7c.8d1aac",
+ "id": "a22c9c14.dad95",
"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": 940,
- "z": "59711e8e.29744",
+ "y": 933,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "cd3e066f.324aa",
+ "id": "68964b02.e7fefc",
"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": 995,
- "z": "59711e8e.29744",
+ "y": 988,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "a79b012a.c282e",
+ "id": "93208213.553588",
"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": 847,
- "z": "59711e8e.29744",
+ "y": 840,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "140c24f7.3b14f3",
+ "id": "a9a61e4c.61cea8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
"x": 3926,
- "y": 1142,
- "z": "59711e8e.29744",
+ "y": 1135,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "d4658a57.f78ed8",
+ "id": "1d3fc9e2.e7e6d6",
"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": 1087,
- "z": "59711e8e.29744",
+ "y": 1080,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "4b900139.065478",
+ "id": "57d0de73.a03a68",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
"x": 4732,
- "y": 295,
- "z": "59711e8e.29744",
+ "y": 288,
+ "z": "f861838.07df98",
"wires": [
[
- "c3283205.62573"
+ "ed098b6a.2cacf8"
]
]
},
{
- "id": "c3283205.62573",
+ "id": "ed098b6a.2cacf8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 4909,
- "y": 287,
- "z": "59711e8e.29744",
+ "y": 280,
+ "z": "f861838.07df98",
"wires": [
[
- "e3322f04.45bf9",
- "201af2cb.ff685e",
- "24c615e9.67af32"
+ "61d12009.69ae18",
+ "bb57da49.8f1178",
+ "85c9485f.31b9d8"
]
]
},
{
- "id": "e3322f04.45bf9",
+ "id": "61d12009.69ae18",
"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": 268,
- "z": "59711e8e.29744",
+ "y": 261,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "201af2cb.ff685e",
+ "id": "bb57da49.8f1178",
"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": 332,
- "z": "59711e8e.29744",
+ "y": 325,
+ "z": "f861838.07df98",
"wires": [
[
- "ba151945.9e348"
+ "603dc665.e100a"
]
]
},
{
- "id": "ba151945.9e348",
+ "id": "603dc665.e100a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 5364.5,
- "y": 333,
- "z": "59711e8e.29744",
+ "y": 326,
+ "z": "f861838.07df98",
"wires": [
[
- "bf5ba977.146f8"
+ "bfe1407d.be933"
]
]
},
{
- "id": "bf5ba977.146f8",
+ "id": "bfe1407d.be933",
"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": 322,
- "z": "59711e8e.29744",
+ "y": 315,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "65a7e039.6dcda8",
+ "id": "a97b2a05.9f73a",
"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": 291,
- "z": "59711e8e.29744",
+ "y": 284,
+ "z": "f861838.07df98",
"wires": [
[
- "ebc07ec5.500b48"
+ "2c83d3d0.5ba494"
]
]
},
{
- "id": "ebc07ec5.500b48",
+ "id": "2c83d3d0.5ba494",
"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": 291,
- "z": "59711e8e.29744",
+ "y": 284,
+ "z": "f861838.07df98",
"wires": [
[
- "4b900139.065478"
+ "57d0de73.a03a68"
]
]
},
{
- "id": "24c615e9.67af32",
+ "id": "85c9485f.31b9d8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
"x": 5068,
- "y": 385,
- "z": "59711e8e.29744",
+ "y": 378,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "469c63f2.54b414",
+ "id": "71258e68.5cbd58",
"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": 898,
- "z": "59711e8e.29744",
+ "y": 891,
+ "z": "f861838.07df98",
"wires": [
[
- "a4a499c0.e7f04"
+ "1cdec3b0.3edecc"
]
]
},
{
- "id": "a4a499c0.e7f04",
+ "id": "1cdec3b0.3edecc",
"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": 898,
- "z": "59711e8e.29744",
+ "y": 891,
+ "z": "f861838.07df98",
"wires": [
[
- "c5e10d55.b93e8"
+ "9378bfdf.c4bd08"
]
]
},
{
- "id": "a3e0896b.517c78",
+ "id": "7f9bc054.18256",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
"x": 5154,
- "y": 978,
- "z": "59711e8e.29744",
+ "y": 971,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "6051cb19.bdbedc",
+ "id": "8d70c942.44a4b",
"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": 121,
- "z": "59711e8e.29744",
+ "y": 114,
+ "z": "f861838.07df98",
"wires": [
[
- "474c52a4.93fc74",
- "2bdecc1b.43ff94"
+ "f6a321aa.4933d",
+ "d873be99.cdd6b8"
]
]
},
{
- "id": "2bdecc1b.43ff94",
+ "id": "d873be99.cdd6b8",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 4059,
- "y": 89,
- "z": "59711e8e.29744",
+ "y": 82,
+ "z": "f861838.07df98",
"wires": [
[
- "21520c33.eb9b1c"
+ "aee73e2c.22e008"
]
]
},
{
- "id": "474c52a4.93fc74",
+ "id": "f6a321aa.4933d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 4059,
- "y": 136,
- "z": "59711e8e.29744",
+ "y": 129,
+ "z": "f861838.07df98",
"wires": [
[
- "ff0936f5.25fc9"
+ "58dfd18f.2c2408"
]
]
},
{
- "id": "21520c33.eb9b1c",
+ "id": "aee73e2c.22e008",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 4224,
- "y": 86,
- "z": "59711e8e.29744",
+ "y": 79,
+ "z": "f861838.07df98",
"wires": [
[
- "47f81613.356b38"
+ "e00cc6b0.3f2b6"
]
]
},
{
- "id": "47f81613.356b38",
+ "id": "e00cc6b0.3f2b6",
"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": 90,
- "z": "59711e8e.29744",
+ "y": 83,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "ff0936f5.25fc9",
+ "id": "58dfd18f.2c2408",
"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": 136,
- "z": "59711e8e.29744",
+ "y": 129,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "a035bf70.73a55",
+ "id": "eb2816b.38b8868",
"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": 745,
- "z": "59711e8e.29744",
+ "y": 738,
+ "z": "f861838.07df98",
"wires": [
[
- "310e01dd.c1a27e",
- "976ae4f1.c35c1"
+ "4540307f.4c5428",
+ "da15be4.fdd654"
]
]
},
{
- "id": "976ae4f1.c35c1",
+ "id": "da15be4.fdd654",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"x": 4067,
- "y": 713,
- "z": "59711e8e.29744",
+ "y": 706,
+ "z": "f861838.07df98",
"wires": [
[
- "20b670c9.8ae9c8"
+ "344ce354.79f65c"
]
]
},
{
- "id": "310e01dd.c1a27e",
+ "id": "4540307f.4c5428",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"x": 4067,
- "y": 760,
- "z": "59711e8e.29744",
+ "y": 753,
+ "z": "f861838.07df98",
"wires": [
[
- "75ef28c6.5e31a"
+ "e36b8ad2.500998"
]
]
},
{
- "id": "20b670c9.8ae9c8",
+ "id": "344ce354.79f65c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
"x": 4232,
- "y": 710,
- "z": "59711e8e.29744",
+ "y": 703,
+ "z": "f861838.07df98",
"wires": [
[
- "3c392a8.397b7d6"
+ "2f5cfc52.4cced4"
]
]
},
{
- "id": "3c392a8.397b7d6",
+ "id": "2f5cfc52.4cced4",
"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": 707,
- "z": "59711e8e.29744",
+ "y": 700,
+ "z": "f861838.07df98",
"wires": []
},
{
- "id": "75ef28c6.5e31a",
+ "id": "e36b8ad2.500998",
"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": 760,
- "z": "59711e8e.29744",
+ "y": 753,
+ "z": "f861838.07df98",
"wires": []
}
] \ No newline at end of file