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.json3214
1 files changed, 2554 insertions, 660 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 6ccf7ae2..efad7883 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": "4bc4e8ab.1cf33",
+ "id": "58e34c1c.fa2ef4",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 93,
- "y": 85,
- "z": "6311a927.78727",
+ "x": 169,
+ "y": 87,
+ "z": "740154b1.db9c44",
"wires": [
[
- "7e764ef5.0f0ce8"
+ "7debdd32.eca72c"
]
]
},
{
- "id": "7e764ef5.0f0ce8",
+ "id": "7debdd32.eca72c",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,1912 +22,3806 @@
"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": 240,
- "y": 660.0000152587891,
- "z": "6311a927.78727",
+ "x": 316,
+ "y": 662.0000152587891,
+ "z": "740154b1.db9c44",
"wires": [
[
- "dba1761d.84c318"
+ "17937dc9.2355da"
]
]
},
{
- "id": "dba1761d.84c318",
+ "id": "17937dc9.2355da",
"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": 304.0001220703125,
- "y": 753,
- "z": "6311a927.78727",
+ "x": 380.0001220703125,
+ "y": 755,
+ "z": "740154b1.db9c44",
"wires": [
[
- "45853653.2d7d8"
+ "3e6ce739.eeb648"
]
]
},
{
- "id": "29b9ed96.3b1cca",
+ "id": "d05eda9f.63c82",
"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": 349.9730682373047,
- "y": 271.996000289917,
- "z": "6311a927.78727",
+ "x": 425.9730682373047,
+ "y": 273.996000289917,
+ "z": "740154b1.db9c44",
"wires": [
[
- "5ed3456b.75dffc",
- "d4b7459.be16038"
+ "d4681312.af0c78",
+ "83728f7.d5447f"
]
]
},
{
- "id": "5ed3456b.75dffc",
+ "id": "d4681312.af0c78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 589.9732093811035,
- "y": 295.99596977233887,
- "z": "6311a927.78727",
+ "x": 665.9732093811035,
+ "y": 297.99596977233887,
+ "z": "740154b1.db9c44",
"wires": [
[
- "c8e36f8b.a2bbd8"
+ "b7d4d2f2.ad66"
]
]
},
{
- "id": "e29f4917.f911e8",
+ "id": "54760f3b.4160e8",
"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": 759.9731292724609,
- "y": 235.99606132507324,
- "z": "6311a927.78727",
+ "x": 835.9731292724609,
+ "y": 237.99606132507324,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "d4b7459.be16038",
+ "id": "83728f7.d5447f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 588.9729957580566,
- "y": 244.99606037139893,
- "z": "6311a927.78727",
+ "x": 664.9729957580566,
+ "y": 246.99606037139893,
+ "z": "740154b1.db9c44",
"wires": [
[
- "e29f4917.f911e8"
+ "54760f3b.4160e8"
]
]
},
{
- "id": "a76b8924.9422c",
+ "id": "2a1c3926.ccf68e",
"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": 321.47686767578125,
- "y": 228,
- "z": "6311a927.78727",
+ "x": 397.47686767578125,
+ "y": 230,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "485028.3d8fcfd8",
+ "id": "b642d1e9.ee8bf8",
"type": "for",
"name": "for vidx..otn-oof.solutions_length[]",
"xml": "<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >",
"comments": "",
"outputs": 1,
- "x": 777.972900390625,
- "y": 721.2457275390625,
- "z": "6311a927.78727",
+ "x": 853.972900390625,
+ "y": 723.2457275390625,
+ "z": "740154b1.db9c44",
"wires": [
[
- "b7d2be7c.5e3ac8"
+ "782120ce.0449f"
]
]
},
{
- "id": "c4646d25.9ab0f",
+ "id": "1e8a6121.3ebf8f",
"type": "comment",
"name": "Loop through OTN links",
"info": "",
"comments": "",
- "x": 861.4732055664062,
- "y": 800.74609375,
- "z": "6311a927.78727",
+ "x": 937.4732055664062,
+ "y": 802.74609375,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "b7d2be7c.5e3ac8",
+ "id": "782120ce.0449f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 882.5001220703125,
- "y": 912.2864990234375,
- "z": "6311a927.78727",
+ "x": 958.5001220703125,
+ "y": 914.2864990234375,
+ "z": "740154b1.db9c44",
"wires": [
[
- "6750495a.41286",
- "abe518b.cefde68",
- "165db6ae.de2bb9",
- "fda3acff.66dac8",
- "188880e9.f084a7"
+ "c89cb66b.dc0d2",
+ "154e7688.b29339",
+ "4f1a8be1.b37344",
+ "2cdce288.c30c46",
+ "287cbb25.9abd94"
]
]
},
{
- "id": "6750495a.41286",
+ "id": "c89cb66b.dc0d2",
"type": "set",
"name": "set otn-oof.link-name and etc.",
"xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].dst_node`' />",
"comments": "",
- "x": 1129.0001220703125,
- "y": 805.2864990234375,
- "z": "6311a927.78727",
+ "x": 1205.0001220703125,
+ "y": 807.2864990234375,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "c8e36f8b.a2bbd8",
+ "id": "b7d4d2f2.ad66",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 735.0002555847168,
- "y": 293.741455078125,
- "z": "6311a927.78727",
+ "x": 811.0002555847168,
+ "y": 295.741455078125,
+ "z": "740154b1.db9c44",
"wires": [
[]
]
},
{
- "id": "45853653.2d7d8",
+ "id": "3e6ce739.eeb648",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 544.9688835144043,
- "y": 679.7416372299194,
- "z": "6311a927.78727",
+ "x": 620.9688835144043,
+ "y": 681.7416372299194,
+ "z": "740154b1.db9c44",
"wires": [
[
- "485028.3d8fcfd8",
- "7882cf69.81bba",
- "f346bebe.50149"
+ "b642d1e9.ee8bf8",
+ "d800f8fa.097b28",
+ "3eb232d2.31d3ce",
+ "7d4b4351.930cbc"
]
]
},
{
- "id": "9f64f3d6.06a948",
+ "id": "b9e5ba4.2ed1f48",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2296.4998779296875,
- "y": 1238,
- "z": "6311a927.78727",
+ "x": 2372.4998779296875,
+ "y": 1240,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "188880e9.f084a7",
+ "id": "287cbb25.9abd94",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1095.5001220703125,
- "y": 994,
- "z": "6311a927.78727",
+ "x": 1171.5001220703125,
+ "y": 996,
+ "z": "740154b1.db9c44",
"wires": [
[
- "d9b8b0f0.11df08",
- "16b2f778.e973e1"
+ "55e25897.4f1fe8",
+ "1809a4d6.ba2673"
]
]
},
{
- "id": "6f8fa296.cf0b14",
+ "id": "ed734d7c.04c2f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2620.9998779296875,
- "y": 729,
- "z": "6311a927.78727",
+ "x": 2696.9998779296875,
+ "y": 731,
+ "z": "740154b1.db9c44",
"wires": [
[
- "53738595.29239c"
+ "d4861d1.90a2f6"
]
]
},
{
- "id": "dfb73ef2.d6e5",
+ "id": "551be9a2.28b98",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2654,
- "y": 787,
- "z": "6311a927.78727",
+ "x": 2730,
+ "y": 789,
+ "z": "740154b1.db9c44",
"wires": [
[
- "3b0779f0.32a56e"
+ "bc9d63b9.95524"
]
]
},
{
- "id": "a2313ee1.1bd3f8",
+ "id": "22092f51.833d9",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2657,
- "y": 839,
- "z": "6311a927.78727",
+ "x": 2733,
+ "y": 841,
+ "z": "740154b1.db9c44",
"wires": [
[
- "28c1fd94.c84d7a"
+ "757b2f22.e7f98"
]
]
},
{
- "id": "3b0779f0.32a56e",
+ "id": "bc9d63b9.95524",
"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": 2839,
- "y": 791,
- "z": "6311a927.78727",
+ "x": 2915,
+ "y": 793,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "28c1fd94.c84d7a",
+ "id": "757b2f22.e7f98",
"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": 2827,
- "y": 842,
- "z": "6311a927.78727",
+ "x": 2903,
+ "y": 844,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "e56a35d6.459af8",
+ "id": "1391535e.6e46bd",
"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[$pintsidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3957.4998779296875,
- "y": 644,
- "z": "6311a927.78727",
+ "x": 4033.4998779296875,
+ "y": 646,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "a811b593.25ff8",
+ "id": "2d1abf42.aacfc8",
"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": 3965.4998779296875,
- "y": 696,
- "z": "6311a927.78727",
+ "x": 4041.4998779296875,
+ "y": 698,
+ "z": "740154b1.db9c44",
"wires": [
[
- "d6328bc3.e91228"
+ "492ab725.abc14"
]
]
},
{
- "id": "d6328bc3.e91228",
+ "id": "492ab725.abc14",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4171.9998779296875,
- "y": 674,
- "z": "6311a927.78727",
+ "x": 4247.9998779296875,
+ "y": 676,
+ "z": "740154b1.db9c44",
"wires": [
[
- "fcc7de43.1b588"
+ "ca00a5f6.d5b71"
]
]
},
{
- "id": "f5150efc.cab85",
+ "id": "fe7961d1.c0f4e",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 3509.6683349609375,
- "y": 722.4815063476562,
- "z": "6311a927.78727",
+ "x": 3585.6683349609375,
+ "y": 724.4815063476562,
+ "z": "740154b1.db9c44",
"wires": [
[
- "912955c2.11e7a"
+ "59e37319.f4bec4"
]
]
},
{
- "id": "fd862c08.f8b4a",
+ "id": "20453efe.bca822",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2972.3826904296875,
- "y": 724.6597290039062,
- "z": "6311a927.78727",
+ "x": 3048.3826904296875,
+ "y": 726.6597290039062,
+ "z": "740154b1.db9c44",
"wires": [
[
- "8c595bd0.378e98"
+ "f844ac94.89e1e"
]
]
},
{
- "id": "8c595bd0.378e98",
+ "id": "f844ac94.89e1e",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3224.3826904296875,
- "y": 721.6597290039062,
- "z": "6311a927.78727",
+ "x": 3300.3826904296875,
+ "y": 723.6597290039062,
+ "z": "740154b1.db9c44",
"wires": [
[
- "f5150efc.cab85"
+ "fe7961d1.c0f4e"
]
]
},
{
- "id": "912955c2.11e7a",
+ "id": "59e37319.f4bec4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3736.4998779296875,
- "y": 711,
- "z": "6311a927.78727",
+ "x": 3812.4998779296875,
+ "y": 713,
+ "z": "740154b1.db9c44",
"wires": [
[
- "e56a35d6.459af8",
- "a811b593.25ff8",
- "2abf934.785ecec",
- "bc51fa32.9144b",
- "4ad035fb.c384cc"
+ "1391535e.6e46bd",
+ "2d1abf42.aacfc8",
+ "d4f97b75.15b158",
+ "12165a81.403f85",
+ "103b5c34.d77a7c"
]
]
},
{
- "id": "d9b8b0f0.11df08",
+ "id": "55e25897.4f1fe8",
"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": 2377.5,
- "y": 1134,
- "z": "6311a927.78727",
+ "x": 2453.5,
+ "y": 1136,
+ "z": "740154b1.db9c44",
"wires": [
[
- "2a761980.732196",
- "d9fef4c9.0420c",
- "6bc11e9d.31baa8"
+ "49c1a7b6.6f99c",
+ "2b24743b.25895c",
+ "c683e8fa.16a0b"
]
]
},
{
- "id": "2a761980.732196",
+ "id": "49c1a7b6.6f99c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2599.9998779296875,
- "y": 1276,
- "z": "6311a927.78727",
+ "x": 2675.9998779296875,
+ "y": 1278,
+ "z": "740154b1.db9c44",
"wires": [
[
- "6a724ed4.0c2ee"
+ "ed45880a.b1c94"
]
]
},
{
- "id": "d9fef4c9.0420c",
+ "id": "2b24743b.25895c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2583.9998779296875,
- "y": 1327,
- "z": "6311a927.78727",
+ "x": 2659.9998779296875,
+ "y": 1329,
+ "z": "740154b1.db9c44",
"wires": [
[
- "5b682716.7565c"
+ "37c7eeb2.67c862"
]
]
},
{
- "id": "6bc11e9d.31baa8",
+ "id": "c683e8fa.16a0b",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2586.9998779296875,
- "y": 1379,
- "z": "6311a927.78727",
+ "x": 2662.9998779296875,
+ "y": 1381,
+ "z": "740154b1.db9c44",
"wires": [
[
- "f53f8dec.b8eab8"
+ "78affe58.b6f08"
]
]
},
{
- "id": "f53f8dec.b8eab8",
+ "id": "78affe58.b6f08",
"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": 2756.9998779296875,
- "y": 1382,
- "z": "6311a927.78727",
+ "x": 2832.9998779296875,
+ "y": 1384,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "5b682716.7565c",
+ "id": "37c7eeb2.67c862",
"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": 2768.9998779296875,
- "y": 1331,
- "z": "6311a927.78727",
+ "x": 2844.9998779296875,
+ "y": 1333,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "6b5c01f3.fe6da8",
+ "id": "141988e8.b25ef7",
"type": "for",
"name": "for each relationship",
"xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2956.3826904296875,
- "y": 1286.6597290039062,
- "z": "6311a927.78727",
+ "x": 3032.3826904296875,
+ "y": 1288.6597290039062,
+ "z": "740154b1.db9c44",
"wires": [
[
- "1a571bfc.aeed5c"
+ "a370922d.726108"
]
]
},
{
- "id": "1a571bfc.aeed5c",
+ "id": "a370922d.726108",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3199.3826904296875,
- "y": 1285.6597290039062,
- "z": "6311a927.78727",
+ "x": 3275.3826904296875,
+ "y": 1287.6597290039062,
+ "z": "740154b1.db9c44",
"wires": [
[
- "90623cd4.fe0a58"
+ "e6beb03b.67e37"
]
]
},
{
- "id": "aa0b1701.8dfea",
+ "id": "61d27ccc.5b8de4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4965.4998779296875,
- "y": 1087,
- "z": "6311a927.78727",
+ "x": 5041.4998779296875,
+ "y": 1089,
+ "z": "740154b1.db9c44",
"wires": [
[
- "550b57d7.8fa528",
- "74f2c02.a79f64",
- "f2bb305d.4422b8"
+ "6cde7588.a972a4",
+ "46f2ef05.7f74e8",
+ "36e1e931.d36586"
]
]
},
{
- "id": "90623cd4.fe0a58",
+ "id": "e6beb03b.67e37",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 3455.6683349609375,
- "y": 1285.4815063476562,
- "z": "6311a927.78727",
+ "x": 3531.6683349609375,
+ "y": 1287.4815063476562,
+ "z": "740154b1.db9c44",
"wires": [
[
- "2cff3582.3d605a"
+ "412a94c.16241ec"
]
]
},
{
- "id": "66c4a517.3f3fd4",
+ "id": "df39947.2e32868",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 4752.4998779296875,
- "y": 1086,
- "z": "6311a927.78727",
+ "x": 4828.4998779296875,
+ "y": 1088,
+ "z": "740154b1.db9c44",
"wires": [
[
- "aa0b1701.8dfea"
+ "61d27ccc.5b8de4"
]
]
},
{
- "id": "2cff3582.3d605a",
+ "id": "412a94c.16241ec",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3755.4998779296875,
- "y": 1283,
- "z": "6311a927.78727",
+ "x": 3831.4998779296875,
+ "y": 1285,
+ "z": "740154b1.db9c44",
"wires": [
[
- "34a1c052.ba37a8",
- "ce64c552.7245c",
- "3a5f117c.72df06",
- "668e003.0972e8",
- "888129ab.9ea2a8"
+ "58c1eb2d.4365dc",
+ "eafee68f.21777",
+ "3baf326d.94389e",
+ "7894f836.65f328",
+ "9b949993.6af3e"
]
]
},
{
- "id": "34a1c052.ba37a8",
+ "id": "58c1eb2d.4365dc",
"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[$pintdidx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3997.4998779296875,
- "y": 1237,
- "z": "6311a927.78727",
+ "x": 4073.4998779296875,
+ "y": 1239,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "ce64c552.7245c",
+ "id": "eafee68f.21777",
"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": 3987.4998779296875,
- "y": 1288,
- "z": "6311a927.78727",
+ "x": 4063.4998779296875,
+ "y": 1290,
+ "z": "740154b1.db9c44",
"wires": [
[
- "c6558909.ba61"
+ "135e1de8.ac41a2"
]
]
},
{
- "id": "c6558909.ba61",
+ "id": "135e1de8.ac41a2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4174.9998779296875,
- "y": 1286,
- "z": "6311a927.78727",
+ "x": 4250.9998779296875,
+ "y": 1288,
+ "z": "740154b1.db9c44",
"wires": [
[
- "b166ec42.f7a328"
+ "e5e86a3d.a35168"
]
]
},
{
- "id": "550b57d7.8fa528",
+ "id": "6cde7588.a972a4",
"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": 5235.4998779296875,
- "y": 1063,
- "z": "6311a927.78727",
+ "x": 5311.4998779296875,
+ "y": 1065,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "74f2c02.a79f64",
+ "id": "46f2ef05.7f74e8",
"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": 5245.4998779296875,
- "y": 1109,
- "z": "6311a927.78727",
+ "x": 5321.4998779296875,
+ "y": 1111,
+ "z": "740154b1.db9c44",
"wires": [
[
- "e85530cd.ad8bf8"
+ "95269d9e.8f1978"
]
]
},
{
- "id": "e85530cd.ad8bf8",
+ "id": "95269d9e.8f1978",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5460.9998779296875,
- "y": 1100,
- "z": "6311a927.78727",
+ "x": 5536.9998779296875,
+ "y": 1102,
+ "z": "740154b1.db9c44",
"wires": [
[
- "e3266a0a.5cb158"
+ "d0d56062.e96878"
]
]
},
{
- "id": "e3266a0a.5cb158",
+ "id": "d0d56062.e96878",
"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<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": 5715.4998779296875,
- "y": 1106,
- "z": "6311a927.78727",
+ "x": 5791.4998779296875,
+ "y": 1108,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "53738595.29239c",
+ "id": "d4861d1.90a2f6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2754.9998779296875,
- "y": 725,
- "z": "6311a927.78727",
+ "x": 2830.9998779296875,
+ "y": 727,
+ "z": "740154b1.db9c44",
"wires": [
[
- "fd862c08.f8b4a"
+ "20453efe.bca822"
]
]
},
{
- "id": "6a724ed4.0c2ee",
+ "id": "ed45880a.b1c94",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2745.9998779296875,
- "y": 1267,
- "z": "6311a927.78727",
+ "x": 2821.9998779296875,
+ "y": 1269,
+ "z": "740154b1.db9c44",
"wires": [
[
- "6b5c01f3.fe6da8"
+ "141988e8.b25ef7"
]
]
},
{
- "id": "fcc7de43.1b588",
+ "id": "ca00a5f6.d5b71",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4346.9998779296875,
- "y": 670,
- "z": "6311a927.78727",
+ "x": 4422.9998779296875,
+ "y": 672,
+ "z": "740154b1.db9c44",
"wires": [
[
- "a813a414.4bba4"
+ "4c98d169.bddc"
]
]
},
{
- "id": "b166ec42.f7a328",
+ "id": "e5e86a3d.a35168",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4363.9998779296875,
- "y": 1275,
- "z": "6311a927.78727",
+ "x": 4439.9998779296875,
+ "y": 1277,
+ "z": "740154b1.db9c44",
"wires": [
[
- "6ce614ed.7484ac"
+ "b92cc089.036dc8"
]
]
},
{
- "id": "16b2f778.e973e1",
+ "id": "1809a4d6.ba2673",
"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": 2423.5,
- "y": 768,
- "z": "6311a927.78727",
+ "x": 2499.5,
+ "y": 770,
+ "z": "740154b1.db9c44",
"wires": [
[
- "6f8fa296.cf0b14",
- "dfb73ef2.d6e5",
- "a2313ee1.1bd3f8"
+ "ed734d7c.04c2f8",
+ "551be9a2.28b98",
+ "22092f51.833d9"
]
]
},
{
- "id": "2abf934.785ecec",
+ "id": "d4f97b75.15b158",
"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": 3826.9998779296875,
- "y": 514,
- "z": "6311a927.78727",
+ "x": 3902.9998779296875,
+ "y": 516,
+ "z": "740154b1.db9c44",
"wires": [
[
- "2718cbe0.743744",
- "c770af9d.e00ad8",
- "4dc6603f.cfce08"
+ "27b2efea.3f735",
+ "abdc030.e780f",
+ "d67670c0.149af8"
]
]
},
{
- "id": "2718cbe0.743744",
+ "id": "27b2efea.3f735",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4022.5,
- "y": 466,
- "z": "6311a927.78727",
+ "x": 4098.5,
+ "y": 468,
+ "z": "740154b1.db9c44",
"wires": [
[
- "d9208e7d.606"
+ "67bcf691.cce0a8"
]
]
},
{
- "id": "c770af9d.e00ad8",
+ "id": "abdc030.e780f",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4014.5,
- "y": 521,
- "z": "6311a927.78727",
+ "x": 4090.5,
+ "y": 523,
+ "z": "740154b1.db9c44",
"wires": [
[
- "6bb9b9b7.b2076"
+ "f2e24f2.12fadb"
]
]
},
{
- "id": "4dc6603f.cfce08",
+ "id": "d67670c0.149af8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4019.5,
- "y": 578,
- "z": "6311a927.78727",
+ "x": 4095.5,
+ "y": 580,
+ "z": "740154b1.db9c44",
"wires": [
[
- "59153395.1608bc"
+ "c3d2abbd.c8f708"
]
]
},
{
- "id": "59153395.1608bc",
+ "id": "c3d2abbd.c8f708",
"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": 4171.5,
- "y": 579,
- "z": "6311a927.78727",
+ "x": 4247.5,
+ "y": 581,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "6bb9b9b7.b2076",
+ "id": "f2e24f2.12fadb",
"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": 4182.5,
- "y": 524,
- "z": "6311a927.78727",
+ "x": 4258.5,
+ "y": 526,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "d9208e7d.606",
+ "id": "67bcf691.cce0a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4166.88232421875,
- "y": 463.6556701660156,
- "z": "6311a927.78727",
+ "x": 4242.88232421875,
+ "y": 465.6556701660156,
+ "z": "740154b1.db9c44",
"wires": [
[
- "55254083.c38b58",
- "8aa824b7.0c6278"
+ "304592d5.537a8e",
+ "2af9eb5e.d3c17c"
]
]
},
{
- "id": "55254083.c38b58",
+ "id": "304592d5.537a8e",
"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\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": 4391.9998779296875,
- "y": 419,
- "z": "6311a927.78727",
+ "x": 4467.9998779296875,
+ "y": 421,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "bc51fa32.9144b",
+ "id": "12165a81.403f85",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3913.9998779296875,
- "y": 761,
- "z": "6311a927.78727",
+ "x": 3989.9998779296875,
+ "y": 763,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "a813a414.4bba4",
+ "id": "4c98d169.bddc",
"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\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": 4607.9998779296875,
- "y": 667,
- "z": "6311a927.78727",
+ "x": 4683.9998779296875,
+ "y": 669,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "668e003.0972e8",
+ "id": "7894f836.65f328",
"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": 3823.9998779296875,
- "y": 1117,
- "z": "6311a927.78727",
+ "x": 3899.9998779296875,
+ "y": 1119,
+ "z": "740154b1.db9c44",
"wires": [
[
- "ba64936b.6e28a",
- "60671a93.606c04",
- "68c36f77.2ea158"
+ "54998b27.2003cc",
+ "d1cd027c.1f10b8",
+ "75ff3dee.3bf8bc"
]
]
},
{
- "id": "68c36f77.2ea158",
+ "id": "75ff3dee.3bf8bc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4019.5,
- "y": 1069,
- "z": "6311a927.78727",
+ "x": 4095.5,
+ "y": 1071,
+ "z": "740154b1.db9c44",
"wires": [
[
- "90c8108b.3d46b8"
+ "c056b35b.56583"
]
]
},
{
- "id": "60671a93.606c04",
+ "id": "d1cd027c.1f10b8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4011.5,
- "y": 1124,
- "z": "6311a927.78727",
+ "x": 4087.5,
+ "y": 1126,
+ "z": "740154b1.db9c44",
"wires": [
[
- "694c4d07.5571c4"
+ "560adcd5.77c02c"
]
]
},
{
- "id": "ba64936b.6e28a",
+ "id": "54998b27.2003cc",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4016.5,
- "y": 1181,
- "z": "6311a927.78727",
+ "x": 4092.5,
+ "y": 1183,
+ "z": "740154b1.db9c44",
"wires": [
[
- "8a4ef9a5.3b77b8"
+ "3b1e11f8.04c5b6"
]
]
},
{
- "id": "90c8108b.3d46b8",
+ "id": "c056b35b.56583",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4163.88232421875,
- "y": 1066.6556701660156,
- "z": "6311a927.78727",
+ "x": 4239.88232421875,
+ "y": 1068.6556701660156,
+ "z": "740154b1.db9c44",
"wires": [
[
- "925c2765.45f7c",
- "a7906754.f0e008"
+ "7ca2f810.f9ca5",
+ "5d0e55ed.7c2c54"
]
]
},
{
- "id": "694c4d07.5571c4",
+ "id": "560adcd5.77c02c",
"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": 4179.5,
- "y": 1127,
- "z": "6311a927.78727",
+ "x": 4255.5,
+ "y": 1129,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "8a4ef9a5.3b77b8",
+ "id": "3b1e11f8.04c5b6",
"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": 4168.5,
- "y": 1182,
- "z": "6311a927.78727",
+ "x": 4244.5,
+ "y": 1184,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "925c2765.45f7c",
+ "id": "7ca2f810.f9ca5",
"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\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": 4372.9998779296875,
- "y": 1034,
- "z": "6311a927.78727",
+ "x": 4448.9998779296875,
+ "y": 1036,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "3a5f117c.72df06",
+ "id": "3baf326d.94389e",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3942.9998779296875,
- "y": 1329,
- "z": "6311a927.78727",
+ "x": 4018.9998779296875,
+ "y": 1331,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "6ce614ed.7484ac",
+ "id": "b92cc089.036dc8",
"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\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": 4596.9998779296875,
- "y": 1274,
- "z": "6311a927.78727",
+ "x": 4672.9998779296875,
+ "y": 1276,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "73216d1e.d409d4",
+ "id": "c8548322.1dce7",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 4748.9998779296875,
- "y": 482,
- "z": "6311a927.78727",
+ "x": 4824.9998779296875,
+ "y": 484,
+ "z": "740154b1.db9c44",
"wires": [
[
- "8e56eb89.dcf8d"
+ "49aa1e98.21619"
]
]
},
{
- "id": "8e56eb89.dcf8d",
+ "id": "49aa1e98.21619",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4925.9998779296875,
- "y": 474,
- "z": "6311a927.78727",
+ "x": 5001.9998779296875,
+ "y": 476,
+ "z": "740154b1.db9c44",
"wires": [
[
- "8a97b17a.8e6468",
- "4190236a.ccd374",
- "2d2f03c2.a9effc"
+ "13542cdd.43dda3",
+ "909a99fa.787ae8",
+ "44fc9502.8d863c"
]
]
},
{
- "id": "8a97b17a.8e6468",
+ "id": "13542cdd.43dda3",
"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": 5140.9998779296875,
- "y": 455,
- "z": "6311a927.78727",
+ "x": 5216.9998779296875,
+ "y": 457,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "4190236a.ccd374",
+ "id": "909a99fa.787ae8",
"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": 5157.9998779296875,
- "y": 519,
- "z": "6311a927.78727",
+ "x": 5233.9998779296875,
+ "y": 521,
+ "z": "740154b1.db9c44",
"wires": [
[
- "84a43718.34957"
+ "30bbae6f.18af4a"
]
]
},
{
- "id": "84a43718.34957",
+ "id": "30bbae6f.18af4a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5381.4998779296875,
- "y": 520,
- "z": "6311a927.78727",
+ "x": 5457.4998779296875,
+ "y": 522,
+ "z": "740154b1.db9c44",
"wires": [
[
- "95ce66c5.711c6"
+ "a367788a.bb68e"
]
]
},
{
- "id": "95ce66c5.711c6",
+ "id": "a367788a.bb68e",
"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<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": 5645.9998779296875,
- "y": 509,
- "z": "6311a927.78727",
+ "x": 5721.9998779296875,
+ "y": 511,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "8aa824b7.0c6278",
+ "id": "2af9eb5e.d3c17c",
"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": 4350.9998779296875,
- "y": 478,
- "z": "6311a927.78727",
+ "x": 4426.9998779296875,
+ "y": 480,
+ "z": "740154b1.db9c44",
"wires": [
[
- "5a4b07ac.8d3028"
+ "df80ec0f.2a1388"
]
]
},
{
- "id": "5a4b07ac.8d3028",
+ "id": "df80ec0f.2a1388",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4545.9998779296875,
- "y": 478,
- "z": "6311a927.78727",
+ "x": 4621.9998779296875,
+ "y": 480,
+ "z": "740154b1.db9c44",
"wires": [
[
- "73216d1e.d409d4"
+ "c8548322.1dce7"
]
]
},
{
- "id": "2d2f03c2.a9effc",
+ "id": "44fc9502.8d863c",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5084.9998779296875,
- "y": 572,
- "z": "6311a927.78727",
+ "x": 5160.9998779296875,
+ "y": 574,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "a7906754.f0e008",
+ "id": "5d0e55ed.7c2c54",
"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": 4351.9998779296875,
- "y": 1085,
- "z": "6311a927.78727",
+ "x": 4427.9998779296875,
+ "y": 1087,
+ "z": "740154b1.db9c44",
"wires": [
[
- "6641c07e.096d18"
+ "97742823.a37f08"
]
]
},
{
- "id": "6641c07e.096d18",
+ "id": "97742823.a37f08",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4546.9998779296875,
- "y": 1085,
- "z": "6311a927.78727",
+ "x": 4622.9998779296875,
+ "y": 1087,
+ "z": "740154b1.db9c44",
"wires": [
[
- "66c4a517.3f3fd4"
+ "df39947.2e32868"
]
]
},
{
- "id": "f2bb305d.4422b8",
+ "id": "36e1e931.d36586",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5170.9998779296875,
- "y": 1165,
- "z": "6311a927.78727",
+ "x": 5246.9998779296875,
+ "y": 1167,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "4ad035fb.c384cc",
+ "id": "103b5c34.d77a7c",
"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=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3854.9998779296875,
- "y": 308,
- "z": "6311a927.78727",
+ "x": 3930.9998779296875,
+ "y": 310,
+ "z": "740154b1.db9c44",
"wires": [
[
- "5bd2f425.157014",
- "a6025f31.cc3d4"
+ "b3bf59d4.5b493",
+ "21c8620c.a1786e"
]
]
},
{
- "id": "a6025f31.cc3d4",
+ "id": "21c8620c.a1786e",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4075.9998779296875,
- "y": 276,
- "z": "6311a927.78727",
+ "x": 4151.9998779296875,
+ "y": 278,
+ "z": "740154b1.db9c44",
"wires": [
[
- "61178ee6.46287"
+ "ac6a8696.ec08c8"
]
]
},
{
- "id": "5bd2f425.157014",
+ "id": "b3bf59d4.5b493",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4075.9998779296875,
- "y": 323,
- "z": "6311a927.78727",
+ "x": 4151.9998779296875,
+ "y": 325,
+ "z": "740154b1.db9c44",
"wires": [
[
- "3bd5270a.9b3388"
+ "53c1b9f8.feb02"
]
]
},
{
- "id": "61178ee6.46287",
+ "id": "ac6a8696.ec08c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4240.9998779296875,
- "y": 273,
- "z": "6311a927.78727",
+ "x": 4316.9998779296875,
+ "y": 275,
+ "z": "740154b1.db9c44",
"wires": [
[
- "30bc001a.081c6"
+ "c3a92ffe.308538"
]
]
},
{
- "id": "30bc001a.081c6",
+ "id": "c3a92ffe.308538",
"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\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": 4422.9998779296875,
- "y": 277,
- "z": "6311a927.78727",
+ "x": 4498.9998779296875,
+ "y": 279,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "3bd5270a.9b3388",
+ "id": "53c1b9f8.feb02",
"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": 4242.9998779296875,
- "y": 323,
- "z": "6311a927.78727",
+ "x": 4318.9998779296875,
+ "y": 325,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "888129ab.9ea2a8",
+ "id": "9b949993.6af3e",
"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": 3862.9998779296875,
- "y": 932,
- "z": "6311a927.78727",
+ "x": 3938.9998779296875,
+ "y": 934,
+ "z": "740154b1.db9c44",
"wires": [
[
- "f5b036b5.9d3fe",
- "c8627fdc.4ca238"
+ "63b15b9d.d0246c",
+ "438781d9.fa013"
]
]
},
{
- "id": "c8627fdc.4ca238",
+ "id": "438781d9.fa013",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4083.9998779296875,
- "y": 900,
- "z": "6311a927.78727",
+ "x": 4159.9998779296875,
+ "y": 902,
+ "z": "740154b1.db9c44",
"wires": [
[
- "5d59aabb.f55db4"
+ "7c480aff.2bda14"
]
]
},
{
- "id": "f5b036b5.9d3fe",
+ "id": "63b15b9d.d0246c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4083.9998779296875,
- "y": 947,
- "z": "6311a927.78727",
+ "x": 4159.9998779296875,
+ "y": 949,
+ "z": "740154b1.db9c44",
"wires": [
[
- "8fc5e8a.5216b18"
+ "6669851b.858ebc"
]
]
},
{
- "id": "5d59aabb.f55db4",
+ "id": "7c480aff.2bda14",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4248.9998779296875,
- "y": 897,
- "z": "6311a927.78727",
+ "x": 4324.9998779296875,
+ "y": 899,
+ "z": "740154b1.db9c44",
"wires": [
[
- "c8487895.7a94"
+ "6535be11.5e3bd"
]
]
},
{
- "id": "c8487895.7a94",
+ "id": "6535be11.5e3bd",
"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\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": 4444.9998779296875,
- "y": 894,
- "z": "6311a927.78727",
+ "x": 4520.9998779296875,
+ "y": 896,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "8fc5e8a.5216b18",
+ "id": "6669851b.858ebc",
"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": 4250.9998779296875,
- "y": 947,
- "z": "6311a927.78727",
+ "x": 4326.9998779296875,
+ "y": 949,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "abe518b.cefde68",
+ "id": "154e7688.b29339",
"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": 1120,
- "y": 734,
- "z": "6311a927.78727",
+ "x": 1196,
+ "y": 736,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "cf555e48.aeaaa8",
+ "id": "5f2860ab.d20368",
"type": "comment",
"name": "Not useful anymore",
"info": "this domain-A.ltpId is not used anymore",
"comments": "",
- "x": 4465.9998779296875,
- "y": 253,
- "z": "6311a927.78727",
+ "x": 4541.9998779296875,
+ "y": 255,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "29edf5a1.e0b48a",
+ "id": "839b6b92.78af58",
"type": "comment",
"name": "Not useful anymore",
"info": "this domain-B.ltpId is not used anymore",
"comments": "",
- "x": 4487.9998779296875,
- "y": 866,
- "z": "6311a927.78727",
+ "x": 4563.9998779296875,
+ "y": 868,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "7882cf69.81bba",
+ "id": "d800f8fa.097b28",
"type": "set",
"name": "unset parameters",
- "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->",
+ "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->\n<parameter name='`tmp.otninfoProtect.`' value='' />",
"comments": "",
- "x": 761,
- "y": 662,
- "z": "6311a927.78727",
+ "x": 837,
+ "y": 664,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "1e669820.d1af2",
+ "id": "9d59de38.f2a96",
"type": "comment",
"name": "May not be necessary",
"info": "",
"comments": "",
- "x": 772,
- "y": 615,
- "z": "6311a927.78727",
+ "x": 848,
+ "y": 617,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "f346bebe.50149",
+ "id": "3eb232d2.31d3ce",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 752,
- "y": 412,
- "z": "6311a927.78727",
+ "x": 828,
+ "y": 414,
+ "z": "740154b1.db9c44",
"wires": [
[
- "bf6f0512.491f98",
- "50fbaa58.2b30a4",
- "9c16d091.cb39f8",
- "67b4d462.48c1b4",
- "47a588a1.c73f2",
- "7663f303.03da94",
- "9122c7e9.cadbc8",
- "45b9551b.0a437c",
- "3cc2e9be.dc0176",
- "5092ace7.ae1144",
- "652147e8.77864"
+ "ef757a3b.136af8",
+ "170891d6.65d54e",
+ "69ba386e.9da968",
+ "2e082ac1.a1ccfe",
+ "a74fb526.bc5db",
+ "4af9732c.943804",
+ "45b96535.5a3dac",
+ "1033844e.1fe0b4",
+ "644a4209.4c190c",
+ "752e7b91.ad42a4",
+ "7d6aaca7.ab1b4c",
+ "441d97dd.ea8d",
+ "75c12230.00ef3c"
]
]
},
{
- "id": "bf6f0512.491f98",
+ "id": "874f6992.1d0f",
"type": "execute",
"name": "execute PCE in ccsdk/sli/core",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePaths' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"dst-node-backup\" value=\"`$tmp.pce-dst-node-backup`\"/>\n<parameter name=\"require-backuppath\" value=\"`$hasSecondary`\"/>",
"comments": "",
"outputs": 1,
- "x": 1026,
- "y": 632,
- "z": "6311a927.78727",
+ "x": 1650,
+ "y": 661,
+ "z": "740154b1.db9c44",
"wires": [
[
- "278e4eda.dd1afa",
- "95a448d5.61bae",
- "396c6fcc.348ef"
+ "9cd26432.6ca2e",
+ "d020471b.87351",
+ "d9ad3259.cc415"
]
]
},
{
- "id": "50fbaa58.2b30a4",
+ "id": "ef757a3b.136af8",
"type": "record",
- "name": "record tmp.pce-src and dst node",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<!--<parameter name=\"field1\" value=\"Path computation succeed!\"/>-->\n<!--<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>-->\n\n<!--<parameter name=\"field1\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"field2\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"field1\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pce-dst-node`\"/>\n",
+ "name": "record tmp.pce-src and dst node and backup",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<!--<parameter name=\"field1\" value=\"Path computation succeed!\"/>-->\n<!--<parameter name=\"field2\" value=\"`$ccsdkTopo.resp.solutions_length`\"/>-->\n\n<!--<parameter name=\"field1\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"field2\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"field1\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pce-dst-node`\"/>\n<parameter name=\"field3\" value=\"`$tmp.pce-dst-node-backup`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1003,
- "y": 449,
- "z": "6311a927.78727",
+ "x": 1124,
+ "y": 447,
+ "z": "740154b1.db9c44",
"wires": [
[]
]
},
{
- "id": "278e4eda.dd1afa",
+ "id": "9cd26432.6ca2e",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1271,
- "y": 664,
- "z": "6311a927.78727",
+ "x": 1895,
+ "y": 693,
+ "z": "740154b1.db9c44",
"wires": [
[]
]
},
{
- "id": "95a448d5.61bae",
+ "id": "d020471b.87351",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1278,
- "y": 706,
- "z": "6311a927.78727",
+ "x": 1902,
+ "y": 735,
+ "z": "740154b1.db9c44",
"wires": [
[]
]
},
{
- "id": "396c6fcc.348ef",
+ "id": "d9ad3259.cc415",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1273,
- "y": 627,
- "z": "6311a927.78727",
+ "x": 1897,
+ "y": 656,
+ "z": "740154b1.db9c44",
"wires": [
[]
]
},
{
- "id": "9c16d091.cb39f8",
+ "id": "170891d6.65d54e",
"type": "set",
"name": "set tmp.pce-src-node",
"xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainA-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $otnTopoIdSrc + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />",
"comments": "",
- "x": 971,
- "y": 357,
- "z": "6311a927.78727",
+ "x": 1045,
+ "y": 319,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "67b4d462.48c1b4",
+ "id": "69ba386e.9da968",
"type": "set",
"name": "set tmp.pce-dst-node",
"xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainB-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $otnTopoIdDst + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />",
"comments": "",
- "x": 971,
- "y": 403,
- "z": "6311a927.78727",
+ "x": 1045,
+ "y": 359,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "165db6ae.de2bb9",
+ "id": "4f1a8be1.b37344",
"type": "set",
"name": "set src-ltpId",
"xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.solutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.solutions[$vidx].src_node`\" />\n",
"comments": "",
- "x": 1102,
- "y": 865,
- "z": "6311a927.78727",
+ "x": 1178,
+ "y": 867,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "fda3acff.66dac8",
+ "id": "2cdce288.c30c46",
"type": "set",
"name": "set dst-ltpId",
"xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.solutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.solutions[$vidx].dst_node`\" />\n\n\n",
"comments": "",
- "x": 1103,
- "y": 915,
- "z": "6311a927.78727",
+ "x": 1179,
+ "y": 917,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "47a588a1.c73f2",
+ "id": "2e082ac1.a1ccfe",
"type": "get-resource",
"name": "get-resource network-resources-list",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",
"comments": "",
"outputs": 1,
- "x": 1023,
- "y": 102,
- "z": "6311a927.78727",
+ "x": 1102,
+ "y": 43,
+ "z": "740154b1.db9c44",
"wires": [
[
- "a6aa209b.6892d",
- "487dbe5b.696ae8",
- "81fa26f.09db858"
+ "8367b97c.7cba2",
+ "c705fa11.095f6",
+ "3e5ba73a.cfbd2"
]
]
},
{
- "id": "487dbe5b.696ae8",
+ "id": "c705fa11.095f6",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1256,
- "y": 126,
- "z": "6311a927.78727",
+ "x": 1335,
+ "y": 67,
+ "z": "740154b1.db9c44",
"wires": [
[]
]
},
{
- "id": "81fa26f.09db858",
+ "id": "3e5ba73a.cfbd2",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1270,
- "y": 166,
- "z": "6311a927.78727",
+ "x": 1349,
+ "y": 107,
+ "z": "740154b1.db9c44",
"wires": [
[]
]
},
{
- "id": "a6aa209b.6892d",
+ "id": "8367b97c.7cba2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1259,
- "y": 85,
- "z": "6311a927.78727",
+ "x": 1338,
+ "y": 26,
+ "z": "740154b1.db9c44",
"wires": [
[]
]
},
{
- "id": "7663f303.03da94",
+ "id": "a74fb526.bc5db",
"type": "for",
"name": "for netwidx..allNetworksList_length",
"xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",
"comments": "",
"outputs": 1,
- "x": 1015,
- "y": 148,
- "z": "6311a927.78727",
+ "x": 1094,
+ "y": 89,
+ "z": "740154b1.db9c44",
"wires": [
[
- "27c5b08b.38fb5"
+ "e64f1c2c.75e2a8"
]
]
},
{
- "id": "27c5b08b.38fb5",
+ "id": "e64f1c2c.75e2a8",
"type": "switchNode",
"name": "switch provider-id domainA",
"xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",
"comments": "",
"outputs": 1,
- "x": 1336,
- "y": 224,
- "z": "6311a927.78727",
+ "x": 1415,
+ "y": 165,
+ "z": "740154b1.db9c44",
"wires": [
[
- "22cbcd57.e91ce2",
- "119bae13.8994fa"
+ "6f7c355b.5a1c94",
+ "49d801ae.f158f"
]
]
},
{
- "id": "22cbcd57.e91ce2",
+ "id": "6f7c355b.5a1c94",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1563,
- "y": 225,
- "z": "6311a927.78727",
+ "x": 1639,
+ "y": 227,
+ "z": "740154b1.db9c44",
"wires": [
[
- "1f8d2ed3.4f6c09"
+ "14708434.e61bac"
]
]
},
{
- "id": "1f8d2ed3.4f6c09",
+ "id": "14708434.e61bac",
"type": "switchNode",
"name": "switch te-topo-id",
"xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",
"comments": "",
"outputs": 1,
- "x": 1776,
- "y": 225,
- "z": "6311a927.78727",
+ "x": 1852,
+ "y": 227,
+ "z": "740154b1.db9c44",
"wires": [
[
- "cfa8e423.6dd988"
+ "4944f354.0e26f4"
]
]
},
{
- "id": "cfa8e423.6dd988",
+ "id": "4944f354.0e26f4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1941,
- "y": 225,
- "z": "6311a927.78727",
+ "x": 2017,
+ "y": 227,
+ "z": "740154b1.db9c44",
"wires": [
[
- "3bd110a6.a8ba8"
+ "3ffd16fe.ae9d82"
]
]
},
{
- "id": "3bd110a6.a8ba8",
+ "id": "3ffd16fe.ae9d82",
"type": "set",
"name": "set otnTopoIdSrc",
"xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
"comments": "",
- "x": 2110,
- "y": 225,
- "z": "6311a927.78727",
+ "x": 2186,
+ "y": 227,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "119bae13.8994fa",
+ "id": "49d801ae.f158f",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1563,
- "y": 278,
- "z": "6311a927.78727",
+ "x": 1639,
+ "y": 280,
+ "z": "740154b1.db9c44",
"wires": [
[
- "4e665bce.dd8f3c"
+ "88e310ce.d70d1"
]
]
},
{
- "id": "4e665bce.dd8f3c",
+ "id": "88e310ce.d70d1",
"type": "switchNode",
"name": "switch provider-id domainB",
"xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\n",
"comments": "",
"outputs": 1,
- "x": 1751,
- "y": 278,
- "z": "6311a927.78727",
+ "x": 1827,
+ "y": 280,
+ "z": "740154b1.db9c44",
"wires": [
[
- "5471d1aa.c2b568"
+ "58122a1d.8684e4",
+ "3cb3eb19.e7f8b4"
]
]
},
{
- "id": "5471d1aa.c2b568",
+ "id": "58122a1d.8684e4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1941,
- "y": 278,
- "z": "6311a927.78727",
+ "x": 2017,
+ "y": 280,
+ "z": "740154b1.db9c44",
"wires": [
[
- "aa5bb707.4bb48"
+ "5772e567.b80a34"
]
]
},
{
- "id": "aa5bb707.4bb48",
+ "id": "5772e567.b80a34",
"type": "switchNode",
"name": "switch te-topo-id",
"xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainB-pnfName[6]`'>\n",
"comments": "",
"outputs": 1,
- "x": 2109,
- "y": 278,
- "z": "6311a927.78727",
+ "x": 2185,
+ "y": 280,
+ "z": "740154b1.db9c44",
"wires": [
[
- "3a63aeee.a8bb3a"
+ "2fb8eaf6.956b36"
]
]
},
{
- "id": "3a63aeee.a8bb3a",
+ "id": "2fb8eaf6.956b36",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2265,
- "y": 278,
- "z": "6311a927.78727",
+ "x": 2341,
+ "y": 280,
+ "z": "740154b1.db9c44",
"wires": [
[
- "1438c95.a2947b7"
+ "821af63c.9d499"
]
]
},
{
- "id": "1438c95.a2947b7",
+ "id": "3d7e803.580f08",
"type": "set",
"name": "set otnTopoIdDst",
"xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
"comments": "",
- "x": 2424,
- "y": 278,
- "z": "6311a927.78727",
+ "x": 3036,
+ "y": 184,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "9122c7e9.cadbc8",
+ "id": "4af9732c.943804",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<!--<parameter name='`otn-oof`' value='' />-->\n<parameter name='otn-oof.' value='' />\n<!--<parameter name='`otn-oof.solutions`' value='' />-->\n<!--<parameter name='`otn-oof.solutions.`' value='' />-->\n<!--<parameter name='`otn-oof.solutions_length`' value='0' />-->",
"comments": "",
- "x": 964,
- "y": 304,
- "z": "6311a927.78727",
+ "x": 1039,
+ "y": 260,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "45b9551b.0a437c",
+ "id": "45b96535.5a3dac",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
"comments": "",
- "x": 968,
- "y": 219,
- "z": "6311a927.78727",
+ "x": 1048,
+ "y": 142,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "3cc2e9be.dc0176",
+ "id": "1033844e.1fe0b4",
"type": "set",
"name": "unset parameters",
"xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",
"comments": "",
- "x": 966,
- "y": 261,
- "z": "6311a927.78727",
+ "x": 1046,
+ "y": 184,
+ "z": "740154b1.db9c44",
"wires": []
},
{
- "id": "5092ace7.ae1144",
+ "id": "644a4209.4c190c",
"type": "record",
"name": "record otn-oof.",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$otn-oof.`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 959,
- "y": 493,
- "z": "6311a927.78727",
+ "x": 1035,
+ "y": 495,
+ "z": "740154b1.db9c44",
"wires": [
[]
]
},
{
- "id": "ab172df4.a758b",
+ "id": "d9004337.b1e7",
"type": "execute",
"name": "execute printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",
"comments": "",
"outputs": 1,
- "x": 978,
- "y": 575,
- "z": "6311a927.78727",
+ "x": 1057,
+ "y": 568,
+ "z": "740154b1.db9c44",
"wires": [
[]
]
},
{
- "id": "652147e8.77864",
+ "id": "752e7b91.ad42a4",
"type": "set",
"name": "set filename",
- "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainA-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='filenamemm' value=\"`$tmp.pce-src-node + $tmp.pce-dst-node`\" />",
+ "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainA-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='filenamemm' value=\"`$tmp.pce-src-node + $tmp.pce-dst-node + $tmp.pce-dst-node-backup`\" />",
+ "comments": "",
+ "x": 1031,
+ "y": 531,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "3cb3eb19.e7f8b4",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2007,
+ "y": 344,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "b16334e2.e8d148"
+ ]
+ ]
+ },
+ {
+ "id": "b16334e2.e8d148",
+ "type": "switchNode",
+ "name": "switch provider-id domainC",
+ "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainC-pnfName[2]`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2208,
+ "y": 345,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "7d3fd43.e41d5ac"
+ ]
+ ]
+ },
+ {
+ "id": "7d3fd43.e41d5ac",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2418,
+ "y": 345,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "dccf569f.2f16c"
+ ]
+ ]
+ },
+ {
+ "id": "e56fd0ad.9e01a8",
+ "type": "set",
+ "name": "set otnTopoIdDstBackup",
+ "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
+ "comments": "",
+ "x": 3126,
+ "y": 435.0000305175781,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "7d6aaca7.ab1b4c",
+ "type": "set",
+ "name": "unset parameters",
+ "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",
+ "comments": "",
+ "x": 1044,
+ "y": 222,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "441d97dd.ea8d",
+ "type": "set",
+ "name": "set tmp.pce-dst-node-backup",
+ "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainB-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node-backup' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n $param-prefix-domainC-pnfName[1] + '-' +\n $param-prefix-domainC-pnfName[2] + '-' +\n $param-prefix-domainC-pnfName[3] + '-' +\n $param-prefix-domainC-pnfName[4] + '-' +\n $param-prefix-domainC-pnfName[5] + '-' +\n $otnTopoIdDstBackup + '-' +\n $param-prefix-domainC-pnfName[7] + '-' +\n $param-prefix-domainC-pnfName[8]`\" />",
+ "comments": "",
+ "x": 1076,
+ "y": 400,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "75c12230.00ef3c",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1080,
+ "y": 647,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "bdfc5f0.5322ba",
+ "89aa82c1.c2aec8"
+ ]
+ ]
+ },
+ {
+ "id": "bdfc5f0.5322ba",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1271,
+ "y": 651,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "ae417966.2eaf28"
+ ]
+ ]
+ },
+ {
+ "id": "ae417966.2eaf28",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1398,
+ "y": 650,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "874f6992.1d0f"
+ ]
+ ]
+ },
+ {
+ "id": "89aa82c1.c2aec8",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1273,
+ "y": 604,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "50eccb47.89161c"
+ ]
+ ]
+ },
+ {
+ "id": "50eccb47.89161c",
+ "type": "execute",
+ "name": "execute PCE in ccsdk/sli/core",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1647,
+ "y": 534,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "e3a2c563.0a869",
+ "2d6f2f7c.332048",
+ "b9b4d723.6c8fd"
+ ]
+ ]
+ },
+ {
+ "id": "e3a2c563.0a869",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1892,
+ "y": 566,
+ "z": "740154b1.db9c44",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d6f2f7c.332048",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1899,
+ "y": 608,
+ "z": "740154b1.db9c44",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b9b4d723.6c8fd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
- "x": 955,
+ "outputs": 1,
+ "x": 1894,
"y": 529,
- "z": "6311a927.78727",
+ "z": "740154b1.db9c44",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e1473f30.10032",
+ "type": "for",
+ "name": "for vidx..otn-oof.secondarySolutions_length[]",
+ "xml": "<for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 845,
+ "y": 2065,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "c89ad3b7.0e216"
+ ]
+ ]
+ },
+ {
+ "id": "c89ad3b7.0e216",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 949.5272216796875,
+ "y": 2256.040771484375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "80fa0c9d.1054f",
+ "9a5ac465.6157d8",
+ "8065227b.cd4a2",
+ "b1aba60b.7f9e6",
+ "deccca97.268a9"
+ ]
+ ]
+ },
+ {
+ "id": "80fa0c9d.1054f",
+ "type": "set",
+ "name": "set otn-oof.link-name and etc.",
+ "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.secondarySolutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.secondarySolutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.secondarySolutions[$vidx].dst_node`' />",
+ "comments": "",
+ "x": 1196.0272216796875,
+ "y": 2149.040771484375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "deccca97.268a9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1162.5272216796875,
+ "y": 2337.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "e3c2dcef.aae8f8",
+ "55fb0c7e.571584"
+ ]
+ ]
+ },
+ {
+ "id": "9a5ac465.6157d8",
+ "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='' />-->\n\n<parameter name='tmp.src-pnf-name' value='' />\n<parameter name='tmp.cross-link.' value='' />\n<parameter name='tmp.dst-pnf-name' value='' />\n<parameter name='tmp.aai.src-tp.' value='' />\n<parameter name='param-prefix-src-tp.' value='' />\n<parameter name='tmp.aai.src-pnf.' value='' />\n<parameter name='tmp.domain-A.network-id' value='' />\n<parameter name='tmp.aai.src-network-resource.' value='' />\n<parameter name='tmp.domain-A.ttp-id' value='' />\n<parameter name='tmp.aai.src-ttp.' value='' />\n\n<parameter name='tmp.aai.dst-tp.' value='' />\n<parameter name='param-prefix-dst-tp.' value='' />\n<parameter name='tmp.aai.dst-pnf.' value='' />\n<parameter name='tmp.domain-C.network-id' value='' />\n<parameter name='tmp.aai.dst-network-resource.' value='' />\n<parameter name='tmp.domain-C.ttp-id' value='' />\n<parameter name='tmp.aai.dst-ttp.' value='' />\n\n",
+ "comments": "",
+ "x": 1187.027099609375,
+ "y": 2077.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "8065227b.cd4a2",
+ "type": "set",
+ "name": "set src-ltpId",
+ "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].src_node`\" />\n",
+ "comments": "",
+ "x": 1169.027099609375,
+ "y": 2208.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "b1aba60b.7f9e6",
+ "type": "set",
+ "name": "set dst-ltpId",
+ "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].dst_node`\" />\n\n\n",
+ "comments": "",
+ "x": 1170.027099609375,
+ "y": 2258.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "6e12f41a.3aad64",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2688.0269775390625,
+ "y": 2072.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "5b6bf151.2d756"
+ ]
+ ]
+ },
+ {
+ "id": "b5b16aa9.5e894",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2721.027099609375,
+ "y": 2130.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "a9d16a27.d5676"
+ ]
+ ]
+ },
+ {
+ "id": "4a01d696.8c8118",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2724.027099609375,
+ "y": 2182.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "c1a7727e.a603d8"
+ ]
+ ]
+ },
+ {
+ "id": "a9d16a27.d5676",
+ "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": 2906.027099609375,
+ "y": 2134.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "c1a7727e.a603d8",
+ "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": 2894.027099609375,
+ "y": 2185.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "40a1b2c.bbb3c4c",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3039.4097900390625,
+ "y": 2068.4140014648438,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "64ce1fe.fe36ee"
+ ]
+ ]
+ },
+ {
+ "id": "64ce1fe.fe36ee",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3291.4097900390625,
+ "y": 2065.4140014648438,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "7222973f.63de28"
+ ]
+ ]
+ },
+ {
+ "id": "5b6bf151.2d756",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2822.0269775390625,
+ "y": 2068.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "40a1b2c.bbb3c4c"
+ ]
+ ]
+ },
+ {
+ "id": "55fb0c7e.571584",
+ "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": 2490.527099609375,
+ "y": 2111.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "6e12f41a.3aad64",
+ "b5b16aa9.5e894",
+ "4a01d696.8c8118"
+ ]
+ ]
+ },
+ {
+ "id": "961bb541.fa238",
+ "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[$pintsidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 4024.5269775390625,
+ "y": 1987.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "1c9ed8f.1f298a7",
+ "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": 4032.5269775390625,
+ "y": 2039.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "c8884a5e.cff248"
+ ]
+ ]
+ },
+ {
+ "id": "c8884a5e.cff248",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4239.0269775390625,
+ "y": 2017.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "ca161250.2600b"
+ ]
+ ]
+ },
+ {
+ "id": "7222973f.63de28",
+ "type": "outcome",
+ "name": "tunnel-termination-point",
+ "xml": "<outcome value='tunnel-termination-point'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3576.6954345703125,
+ "y": 2066.2357788085938,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "9a193d4a.e0dcc8"
+ ]
+ ]
+ },
+ {
+ "id": "9a193d4a.e0dcc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3803.5269775390625,
+ "y": 2054.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "961bb541.fa238",
+ "1c9ed8f.1f298a7",
+ "8d06a9c9.1b85a",
+ "63176143.c85c48",
+ "cef3ca9d.2c104"
+ ]
+ ]
+ },
+ {
+ "id": "ca161250.2600b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4414.0269775390625,
+ "y": 2013.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "258887d0.26df98"
+ ]
+ ]
+ },
+ {
+ "id": "8d06a9c9.1b85a",
+ "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": 3894.0269775390625,
+ "y": 1857.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "9a5fd1c3.7d763",
+ "e3871f94.a28688",
+ "67939630.c5f78"
+ ]
+ ]
+ },
+ {
+ "id": "9a5fd1c3.7d763",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4089.527099609375,
+ "y": 1809.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "7fb21e6a.21f63"
+ ]
+ ]
+ },
+ {
+ "id": "e3871f94.a28688",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4081.527099609375,
+ "y": 1864.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "3c75373d.b0767"
+ ]
+ ]
+ },
+ {
+ "id": "67939630.c5f78",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4086.527099609375,
+ "y": 1921.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "8ad73c5e.3d1f"
+ ]
+ ]
+ },
+ {
+ "id": "8ad73c5e.3d1f",
+ "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": 4238.527099609375,
+ "y": 1922.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "3c75373d.b0767",
+ "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": 4249.527099609375,
+ "y": 1867.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "7fb21e6a.21f63",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4233.909423828125,
+ "y": 1807.4099426269531,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "a55467d3.0aaea8",
+ "87797c29.69366"
+ ]
+ ]
+ },
+ {
+ "id": "a55467d3.0aaea8",
+ "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\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",
+ "comments": "",
+ "x": 4459.0269775390625,
+ "y": 1762.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "63176143.c85c48",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 3981.0269775390625,
+ "y": 2104.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "87797c29.69366",
+ "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": 4418.0269775390625,
+ "y": 1821.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "58b11002.4131b"
+ ]
+ ]
+ },
+ {
+ "id": "cef3ca9d.2c104",
+ "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=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3922.0269775390625,
+ "y": 1651.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "51326991.7f2898",
+ "d61d1517.27825"
+ ]
+ ]
+ },
+ {
+ "id": "d61d1517.27825",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4143.0269775390625,
+ "y": 1619.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "8ed0c03d.565928"
+ ]
+ ]
+ },
+ {
+ "id": "51326991.7f2898",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4143.0269775390625,
+ "y": 1666.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "a6e04e00.ffd96"
+ ]
+ ]
+ },
+ {
+ "id": "8ed0c03d.565928",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4308.0269775390625,
+ "y": 1616.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "14cffe9c.903701"
+ ]
+ ]
+ },
+ {
+ "id": "14cffe9c.903701",
+ "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\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",
+ "comments": "",
+ "x": 4490.0269775390625,
+ "y": 1620.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "a6e04e00.ffd96",
+ "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": 4310.0269775390625,
+ "y": 1666.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "cc685b27.bd32f",
+ "type": "comment",
+ "name": "Not useful anymore",
+ "info": "this domain-A.ltpId is not used anymore",
+ "comments": "",
+ "x": 4533.0269775390625,
+ "y": 1596.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "258887d0.26df98",
+ "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\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />\n",
+ "comments": "",
+ "x": 4675.0269775390625,
+ "y": 2010.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "7878d7b8.ad7df",
+ "type": "outcome",
+ "name": "network-resource",
+ "xml": "<outcome value='network-resource'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4816.0269775390625,
+ "y": 1825.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "346dd4d8.896974"
+ ]
+ ]
+ },
+ {
+ "id": "58b11002.4131b",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4613.0269775390625,
+ "y": 1821.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "7878d7b8.ad7df"
+ ]
+ ]
+ },
+ {
+ "id": "346dd4d8.896974",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4993.0269775390625,
+ "y": 1817.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "dd0e1ad2.389f1",
+ "34802cc8.f036dc",
+ "83c1d591.e453a"
+ ]
+ ]
+ },
+ {
+ "id": "dd0e1ad2.389f1",
+ "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": 5208.0269775390625,
+ "y": 1798.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "34802cc8.f036dc",
+ "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": 5225.0269775390625,
+ "y": 1862.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "c18da62b.d46198"
+ ]
+ ]
+ },
+ {
+ "id": "c18da62b.d46198",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5448.5269775390625,
+ "y": 1863.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "2a6e1402.9f26d4"
+ ]
+ ]
+ },
+ {
+ "id": "2a6e1402.9f26d4",
+ "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<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 1`' />\n\n\n",
+ "comments": "",
+ "x": 5713.0269775390625,
+ "y": 1852.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "83c1d591.e453a",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 5152.0269775390625,
+ "y": 1915.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "57f7d786.5549e8",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 2363.5269775390625,
+ "y": 2581.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "e3c2dcef.aae8f8",
+ "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": 2444.527099609375,
+ "y": 2477.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "8b9fb321.70992",
+ "205abd09.598d9a",
+ "79e9c51.a089fbc"
+ ]
+ ]
+ },
+ {
+ "id": "8b9fb321.70992",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2667.0269775390625,
+ "y": 2619.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "6279b5de.cc4ff4"
+ ]
+ ]
+ },
+ {
+ "id": "205abd09.598d9a",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2651.0269775390625,
+ "y": 2670.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "46e04c65.2008ac"
+ ]
+ ]
+ },
+ {
+ "id": "79e9c51.a089fbc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2654.0269775390625,
+ "y": 2722.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "76686faa.840d7"
+ ]
+ ]
+ },
+ {
+ "id": "76686faa.840d7",
+ "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": 2824.0269775390625,
+ "y": 2725.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "46e04c65.2008ac",
+ "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": 2836.0269775390625,
+ "y": 2674.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "8589fea6.82485",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3023.4097900390625,
+ "y": 2630.4140014648438,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "12c89e29.9e0a4a"
+ ]
+ ]
+ },
+ {
+ "id": "12c89e29.9e0a4a",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3266.4097900390625,
+ "y": 2629.4140014648438,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "441cee99.bfaf"
+ ]
+ ]
+ },
+ {
+ "id": "6279b5de.cc4ff4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2813.0269775390625,
+ "y": 2610.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "8589fea6.82485"
+ ]
+ ]
+ },
+ {
+ "id": "441cee99.bfaf",
+ "type": "outcome",
+ "name": "tunnel-termination-point",
+ "xml": "<outcome value='tunnel-termination-point'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3522.6954345703125,
+ "y": 2629.2357788085938,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "ee93bb7d.d7a6"
+ ]
+ ]
+ },
+ {
+ "id": "ee93bb7d.d7a6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 3822.5269775390625,
+ "y": 2626.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "7f181100.6e913",
+ "d5405c3b.2180e",
+ "a9d72cbf.011738",
+ "aba88a5.2928878",
+ "ce4f5014.a0532"
+ ]
+ ]
+ },
+ {
+ "id": "7f181100.6e913",
+ "type": "set",
+ "name": "set domain C node ttp-id",
+ "xml": "<set>\n<parameter name='tmp.domain-C.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 4064.5269775390625,
+ "y": 2580.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "d5405c3b.2180e",
+ "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-C.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4054.5269775390625,
+ "y": 2631.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "d43d5001.cef3c8"
+ ]
+ ]
+ },
+ {
+ "id": "d43d5001.cef3c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4242.0269775390625,
+ "y": 2629.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "e0b1256e.3d7278"
+ ]
+ ]
+ },
+ {
+ "id": "e0b1256e.3d7278",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4431.0269775390625,
+ "y": 2618.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "2dbd68c.e7c9e98"
+ ]
+ ]
+ },
+ {
+ "id": "aba88a5.2928878",
+ "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": 3891.0269775390625,
+ "y": 2460.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "dc3d15fa.81276",
+ "84f6f122.84593",
+ "df513d92.eaab28"
+ ]
+ ]
+ },
+ {
+ "id": "df513d92.eaab28",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4086.527099609375,
+ "y": 2412.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "992d2ff.35fffd"
+ ]
+ ]
+ },
+ {
+ "id": "84f6f122.84593",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4078.527099609375,
+ "y": 2467.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "326a3ad9.081e7e"
+ ]
+ ]
+ },
+ {
+ "id": "dc3d15fa.81276",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4083.527099609375,
+ "y": 2524.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "a9233954.28abb8"
+ ]
+ ]
+ },
+ {
+ "id": "992d2ff.35fffd",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4230.909423828125,
+ "y": 2410.409942626953,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "faa22dd5.212148",
+ "9949d4ef.001688"
+ ]
+ ]
+ },
+ {
+ "id": "326a3ad9.081e7e",
+ "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": 4246.527099609375,
+ "y": 2470.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "a9233954.28abb8",
+ "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": 4235.527099609375,
+ "y": 2525.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "faa22dd5.212148",
+ "type": "set",
+ "name": "set domain C node-id and tpn",
+ "xml": "<set>\n<parameter name='domain-C.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-C.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",
+ "comments": "",
+ "x": 4440.0269775390625,
+ "y": 2377.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "a9d72cbf.011738",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 4010.0269775390625,
+ "y": 2672.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "9949d4ef.001688",
+ "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": 4419.0269775390625,
+ "y": 2428.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "b61d11ba.55b168"
+ ]
+ ]
+ },
+ {
+ "id": "ce4f5014.a0532",
+ "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": 3930.0269775390625,
+ "y": 2275.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "3a973be3.1f749c",
+ "bccf88ee.38b55"
+ ]
+ ]
+ },
+ {
+ "id": "bccf88ee.38b55",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4151.0269775390625,
+ "y": 2243.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "f5e2899d.2e99e8"
+ ]
+ ]
+ },
+ {
+ "id": "3a973be3.1f749c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4151.0269775390625,
+ "y": 2290.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "c9477994.8451e8"
+ ]
+ ]
+ },
+ {
+ "id": "f5e2899d.2e99e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4316.0269775390625,
+ "y": 2240.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "aecbcfe0.6e5048"
+ ]
+ ]
+ },
+ {
+ "id": "aecbcfe0.6e5048",
+ "type": "set",
+ "name": "set domain-C.ltpId",
+ "xml": "<set>\n<parameter name='domain-C.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",
+ "comments": "",
+ "x": 4512.0269775390625,
+ "y": 2237.7542724609375,
+ "z": "740154b1.db9c44",
"wires": []
+ },
+ {
+ "id": "c9477994.8451e8",
+ "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": 4318.0269775390625,
+ "y": 2290.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "abda304.2cd6cd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 5032.5269775390625,
+ "y": 2430.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "5c6e614a.9cad28",
+ "37c15682.dfe52a",
+ "ea1db027.01377"
+ ]
+ ]
+ },
+ {
+ "id": "8a710596.36ea6",
+ "type": "outcome",
+ "name": "network-resource",
+ "xml": "<outcome value='network-resource'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4819.5269775390625,
+ "y": 2429.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "abda304.2cd6cd"
+ ]
+ ]
+ },
+ {
+ "id": "2dbd68c.e7c9e98",
+ "type": "set",
+ "name": "set domain C tunnel tp id",
+ "xml": "<set>\n<parameter name='domain-C.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",
+ "comments": "",
+ "x": 4664.0269775390625,
+ "y": 2617.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "b61d11ba.55b168",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4614.0269775390625,
+ "y": 2428.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "8a710596.36ea6"
+ ]
+ ]
+ },
+ {
+ "id": "ea1db027.01377",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 5238.0269775390625,
+ "y": 2508.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "12cd95a6.c3a7d2",
+ "type": "comment",
+ "name": "Not useful anymore",
+ "info": "this domain-B.ltpId is not used anymore",
+ "comments": "",
+ "x": 4555.0269775390625,
+ "y": 2209.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "5c6e614a.9cad28",
+ "type": "set",
+ "name": "set domain C network-id",
+ "xml": "<set>\n<parameter name='tmp.domain-C.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 5302.5269775390625,
+ "y": 2406.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "37c15682.dfe52a",
+ "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-C.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5312.5269775390625,
+ "y": 2452.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "826de71a.33a62"
+ ]
+ ]
+ },
+ {
+ "id": "826de71a.33a62",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5528.0269775390625,
+ "y": 2443.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "2f251a3.863a066"
+ ]
+ ]
+ },
+ {
+ "id": "2f251a3.863a066",
+ "type": "set",
+ "name": "set domain B network-id, topo-id, client-id, etc",
+ "xml": "<set>\n<parameter name='domain-C.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-C.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-C.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-C.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-C.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 2`' />",
+ "comments": "",
+ "x": 5782.5269775390625,
+ "y": 2449.7542724609375,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "825fbafd.18c12",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2689.199951171875,
+ "y": 268.0833282470703,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "88dc17ca.c3603",
+ "d63ef024.cfef08"
+ ]
+ ]
+ },
+ {
+ "id": "88dc17ca.c3603",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2880.199951171875,
+ "y": 272.0833282470703,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "85988dae.be2118"
+ ]
+ ]
+ },
+ {
+ "id": "85988dae.be2118",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3007.199951171875,
+ "y": 271.0833282470703,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "1486884a.a84de"
+ ]
+ ]
+ },
+ {
+ "id": "1486884a.a84de",
+ "type": "switchNode",
+ "name": "switch 2-ROOTS in same domain?",
+ "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3230.083251953125,
+ "y": 265.9666442871094,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "baa46e2a.1397b",
+ "5009aa1a.49b42c"
+ ]
+ ]
+ },
+ {
+ "id": "baa46e2a.1397b",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3437.083251953125,
+ "y": 202.96664428710938,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "9723b3.a56f645"
+ ]
+ ]
+ },
+ {
+ "id": "5009aa1a.49b42c",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3367.083251953125,
+ "y": 393.9666748046875,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "9e442fe7.197ca8"
+ ]
+ ]
+ },
+ {
+ "id": "9723b3.a56f645",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3579.083251953125,
+ "y": 192.96664428710938,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "74ae9ae0.0891cc",
+ "a08d8202.0e48d8"
+ ]
+ ]
+ },
+ {
+ "id": "9e442fe7.197ca8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3493.083251953125,
+ "y": 393.9666748046875,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "7af5d9ce.fbbb7"
+ ]
+ ]
+ },
+ {
+ "id": "821af63c.9d499",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2489.966796875,
+ "y": 271.0833435058594,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "825fbafd.18c12"
+ ]
+ ]
+ },
+ {
+ "id": "d63ef024.cfef08",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2884.933349609375,
+ "y": 224.0833282470703,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "3d7e803.580f08"
+ ]
+ ]
+ },
+ {
+ "id": "74ae9ae0.0891cc",
+ "type": "set",
+ "name": "set otnTopoIdDst",
+ "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
+ "comments": "",
+ "x": 3737.666748046875,
+ "y": 172.0833282470703,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "a08d8202.0e48d8",
+ "type": "set",
+ "name": "set otnTopoIdDstBackup",
+ "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
+ "comments": "",
+ "x": 3759.666748046875,
+ "y": 220.0833282470703,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "7af5d9ce.fbbb7",
+ "type": "set",
+ "name": "set otnTopoIdDst",
+ "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
+ "comments": "",
+ "x": 3663.666748046875,
+ "y": 394.0833435058594,
+ "z": "740154b1.db9c44",
+ "wires": []
+ },
+ {
+ "id": "dccf569f.2f16c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2558.683349609375,
+ "y": 345.8833312988281,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "bb64af5d.7bf708"
+ ]
+ ]
+ },
+ {
+ "id": "bb64af5d.7bf708",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2757.91650390625,
+ "y": 342.88331604003906,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "c6cf934.ca6387"
+ ]
+ ]
+ },
+ {
+ "id": "c6cf934.ca6387",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2948.91650390625,
+ "y": 346.88331604003906,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "84398364.2e39d"
+ ]
+ ]
+ },
+ {
+ "id": "84398364.2e39d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3075.91650390625,
+ "y": 345.88331604003906,
+ "z": "740154b1.db9c44",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cdc2b636.8886c8",
+ "type": "switchNode",
+ "name": "switch secondarySolutions empty?",
+ "xml": "<switch test='`length($otn-oof.secondarySolutions) == 0`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1419.566650390625,
+ "y": 1649.566650390625,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "930ebbc8.d33d1",
+ "e9824426.b9b25"
+ ]
+ ]
+ },
+ {
+ "id": "930ebbc8.d33d1",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1645.4666748046875,
+ "y": 1621.566650390625,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "82cb40cb.6ece7"
+ ]
+ ]
+ },
+ {
+ "id": "e9824426.b9b25",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1643.4666748046875,
+ "y": 1671.566650390625,
+ "z": "740154b1.db9c44",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82cb40cb.6ece7",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1787.566650390625,
+ "y": 1621.566650390625,
+ "z": "740154b1.db9c44",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7d4b4351.930cbc",
+ "type": "switchNode",
+ "name": "switch $hasSecondary",
+ "xml": "<switch test='`$hasSecondary`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 798.4666748046875,
+ "y": 1838.566650390625,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "9310b044.9b3228"
+ ]
+ ]
+ },
+ {
+ "id": "9310b044.9b3228",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 984.4666748046875,
+ "y": 1839.566650390625,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "40a7bba6.ae5b54"
+ ]
+ ]
+ },
+ {
+ "id": "40a7bba6.ae5b54",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1114.4666748046875,
+ "y": 1839.566650390625,
+ "z": "740154b1.db9c44",
+ "wires": [
+ [
+ "e1473f30.10032"
+ ]
+ ]
}
] \ No newline at end of file