diff options
author | 2021-04-16 20:54:28 +0000 | |
---|---|---|
committer | 2021-04-16 20:57:23 +0000 | |
commit | 579cc72f0f59480b12d2867c44ad14893c5c5c68 (patch) | |
tree | 0c8cd5d22b8ee4d41f260ea74b5208b067947c11 /platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof.json | |
parent | 222373146abac13750ccfc7faf4159508467698d (diff) |
Bug fixing required for integration testing with PCE.
Issue-ID: SDNC-1525
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I10f44c73b8d664ab124eff12f20eb3cc33c68b77
Former-commit-id: 681381546eefa95e48370575d7572d1b901e22d2
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.json | 1783 |
1 files changed, 843 insertions, 940 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 6d4c48ff..6ccf7ae2 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": "fa52a170.206e7",
+ "id": "4bc4e8ab.1cf33",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 178,
- "y": 101,
- "z": "97fec48c.8eada",
+ "x": 93,
+ "y": 85,
+ "z": "6311a927.78727",
"wires": [
[
- "2c5db495.a5dd34"
+ "7e764ef5.0f0ce8"
]
]
},
{
- "id": "2c5db495.a5dd34",
+ "id": "7e764ef5.0f0ce8",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,2009 +22,1912 @@ "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": 303,
- "y": 427.00001525878906,
- "z": "97fec48c.8eada",
+ "x": 240,
+ "y": 660.0000152587891,
+ "z": "6311a927.78727",
"wires": [
[
- "4ae6db6f.435c7c"
+ "dba1761d.84c318"
]
]
},
{
- "id": "4ae6db6f.435c7c",
+ "id": "dba1761d.84c318",
"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": 367.0001220703125,
- "y": 520,
- "z": "97fec48c.8eada",
+ "x": 304.0001220703125,
+ "y": 753,
+ "z": "6311a927.78727",
"wires": [
[
- "6312c3c3.704cf4"
+ "45853653.2d7d8"
]
]
},
{
- "id": "6bdd3c50.e0d3d4",
+ "id": "29b9ed96.3b1cca",
"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": 879.9730682373047,
- "y": 71.99600028991699,
- "z": "97fec48c.8eada",
+ "x": 349.9730682373047,
+ "y": 271.996000289917,
+ "z": "6311a927.78727",
"wires": [
[
- "7939df96.b1122",
- "945597b.d7df068"
+ "5ed3456b.75dffc",
+ "d4b7459.be16038"
]
]
},
{
- "id": "7939df96.b1122",
+ "id": "5ed3456b.75dffc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1119.9732093811035,
- "y": 95.99596977233887,
- "z": "97fec48c.8eada",
+ "x": 589.9732093811035,
+ "y": 295.99596977233887,
+ "z": "6311a927.78727",
"wires": [
[
- "50ded459.a3ce3c"
+ "c8e36f8b.a2bbd8"
]
]
},
{
- "id": "b5aef0e7.4cc018",
+ "id": "e29f4917.f911e8",
"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": 1289.973129272461,
- "y": 35.99606132507324,
- "z": "97fec48c.8eada",
+ "x": 759.9731292724609,
+ "y": 235.99606132507324,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "945597b.d7df068",
+ "id": "d4b7459.be16038",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1118.9729957580566,
- "y": 44.996060371398926,
- "z": "97fec48c.8eada",
+ "x": 588.9729957580566,
+ "y": 244.99606037139893,
+ "z": "6311a927.78727",
"wires": [
[
- "b5aef0e7.4cc018"
+ "e29f4917.f911e8"
]
]
},
{
- "id": "e01d4a36.839a2",
+ "id": "a76b8924.9422c",
"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": 851.4768676757812,
- "y": 28,
- "z": "97fec48c.8eada",
+ "x": 321.47686767578125,
+ "y": 228,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "9cfd026a.5e4728",
+ "id": "485028.3d8fcfd8",
"type": "for",
"name": "for vidx..otn-oof.solutions_length[]",
"xml": "<for index='vidx' start='0' end='`$otn-oof.solutions_length`' >",
"comments": "",
"outputs": 1,
- "x": 840.972900390625,
- "y": 488.2457275390625,
- "z": "97fec48c.8eada",
+ "x": 777.972900390625,
+ "y": 721.2457275390625,
+ "z": "6311a927.78727",
"wires": [
[
- "8402c7cf.20d6c"
+ "b7d2be7c.5e3ac8"
]
]
},
{
- "id": "e807132a.83466",
+ "id": "c4646d25.9ab0f",
"type": "comment",
"name": "Loop through OTN links",
"info": "",
"comments": "",
- "x": 924.4732055664062,
- "y": 567.74609375,
- "z": "97fec48c.8eada",
+ "x": 861.4732055664062,
+ "y": 800.74609375,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "8402c7cf.20d6c",
+ "id": "b7d2be7c.5e3ac8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 945.5001220703125,
- "y": 679.2864990234375,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "5b85782.fa3db08",
- "2d5a2685.b40dfa",
- "20564e8a.e84492"
- ]
- ]
- },
- {
- "id": "5b85782.fa3db08",
- "type": "get-resource",
- "name": "get-resource cross-link",
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"logical-link\" \n\t\tkey=\"logical-link.link-name = $otn-oof.link-name\"\n pfx='tmp.aai.cross-link' local-only='false' >\n\n <!--AND depth = '0'\"-->\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1202.5001220703125,
- "y": 669.2864990234375,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "d48feed1.3a38",
- "5943270e.4826e8",
- "990db839.99a8f8"
- ]
- ]
- },
- {
- "id": "990db839.99a8f8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1404.0001220703125,
- "y": 544.2864685058594,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "a9f1b4b6.1c30e8"
- ]
- ]
- },
- {
- "id": "d48feed1.3a38",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1440.0001220703125,
- "y": 669.2864990234375,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "ac3b3843.658d4"
- ]
- ]
- },
- {
- "id": "5943270e.4826e8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1434.0001220703125,
- "y": 719.2864990234375,
- "z": "97fec48c.8eada",
+ "x": 882.5001220703125,
+ "y": 912.2864990234375,
+ "z": "6311a927.78727",
"wires": [
[
- "da410969.0b2cc"
+ "6750495a.41286",
+ "abe518b.cefde68",
+ "165db6ae.de2bb9",
+ "fda3acff.66dac8",
+ "188880e9.f084a7"
]
]
},
{
- "id": "ac3b3843.658d4",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
- "comments": "",
- "x": 1601.0001220703125,
- "y": 658.2864990234375,
- "z": "97fec48c.8eada",
- "wires": []
- },
- {
- "id": "da410969.0b2cc",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
- "comments": "",
- "x": 1599.0001220703125,
- "y": 714.2864990234375,
- "z": "97fec48c.8eada",
- "wires": []
- },
- {
- "id": "d48fe5f1.e695e8",
- "type": "comment",
- "name": "get cross-domain-link information",
- "info": "",
- "comments": "",
- "x": 1208.5001220703125,
- "y": 618.2864990234375,
- "z": "97fec48c.8eada",
- "wires": []
- },
- {
- "id": "2d5a2685.b40dfa",
+ "id": "6750495a.41286",
"type": "set",
"name": "set otn-oof.link-name and etc.",
- "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.solutions[$vidx].link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.solutions[$vidx].start_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.solutions[$vidx].end_node`' />",
+ "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": 1192.0001220703125,
- "y": 572.2864990234375,
- "z": "97fec48c.8eada",
+ "x": 1129.0001220703125,
+ "y": 805.2864990234375,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "50ded459.a3ce3c",
+ "id": "c8e36f8b.a2bbd8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1265.0002555847168,
- "y": 93.741455078125,
- "z": "97fec48c.8eada",
+ "x": 735.0002555847168,
+ "y": 293.741455078125,
+ "z": "6311a927.78727",
"wires": [
[]
]
},
{
- "id": "6312c3c3.704cf4",
+ "id": "45853653.2d7d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 607.9688835144043,
- "y": 446.74163722991943,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "9cfd026a.5e4728",
- "6bdd3c50.e0d3d4",
- "3d2e0b8f.457abc",
- "27ac90d.484a9f"
- ]
- ]
- },
- {
- "id": "2581c748.7cabd8",
- "type": "switchNode",
- "name": "test cross-domain-link role",
- "xml": "<switch test='`$tmp.aai.cross-link.link-role`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1719.5001220703125,
- "y": 544,
- "z": "97fec48c.8eada",
+ "x": 544.9688835144043,
+ "y": 679.7416372299194,
+ "z": "6311a927.78727",
"wires": [
[
- "22f3b1f4.9256fe"
+ "485028.3d8fcfd8",
+ "7882cf69.81bba",
+ "f346bebe.50149"
]
]
},
{
- "id": "22f3b1f4.9256fe",
- "type": "outcome",
- "name": "outcome cross-domain",
- "xml": "<outcome value='cross-domain'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1955.5001220703125,
- "y": 545,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "8b1c590c.dc55d"
- ]
- ]
- },
- {
- "id": "a2b70b63.3ba9c8",
+ "id": "9f64f3d6.06a948",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 2359.4998779296875,
- "y": 1005,
- "z": "97fec48c.8eada",
+ "x": 2296.4998779296875,
+ "y": 1238,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "8b1c590c.dc55d",
+ "id": "188880e9.f084a7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2158.5001220703125,
- "y": 546,
- "z": "97fec48c.8eada",
+ "x": 1095.5001220703125,
+ "y": 994,
+ "z": "6311a927.78727",
"wires": [
[
- "a2b70b63.3ba9c8",
- "4ab81af3.e377f4",
- "b2e8772a.8ac6e8",
- "a42edec8.e98fb"
+ "d9b8b0f0.11df08",
+ "16b2f778.e973e1"
]
]
},
{
- "id": "3bc9b9f2.81b29e",
+ "id": "6f8fa296.cf0b14",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2683.9998779296875,
- "y": 496,
- "z": "97fec48c.8eada",
+ "x": 2620.9998779296875,
+ "y": 729,
+ "z": "6311a927.78727",
"wires": [
[
- "5d4d6dbf.b923ac"
+ "53738595.29239c"
]
]
},
{
- "id": "37303a4c.954af6",
+ "id": "dfb73ef2.d6e5",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2717,
- "y": 554,
- "z": "97fec48c.8eada",
+ "x": 2654,
+ "y": 787,
+ "z": "6311a927.78727",
"wires": [
[
- "9e71e39b.7fa1"
+ "3b0779f0.32a56e"
]
]
},
{
- "id": "fd9ad854.5b33c8",
+ "id": "a2313ee1.1bd3f8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2720,
- "y": 606,
- "z": "97fec48c.8eada",
+ "x": 2657,
+ "y": 839,
+ "z": "6311a927.78727",
"wires": [
[
- "72bd806e.4e60a8"
+ "28c1fd94.c84d7a"
]
]
},
{
- "id": "9e71e39b.7fa1",
+ "id": "3b0779f0.32a56e",
"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": 2902,
- "y": 558,
- "z": "97fec48c.8eada",
+ "x": 2839,
+ "y": 791,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "72bd806e.4e60a8",
+ "id": "28c1fd94.c84d7a",
"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": 2890,
- "y": 609,
- "z": "97fec48c.8eada",
+ "x": 2827,
+ "y": 842,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "a1ab74dd.259888",
+ "id": "e56a35d6.459af8",
"type": "set",
"name": "set domain A node ttp-id",
- "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
+ "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": 4020.4998779296875,
- "y": 411,
- "z": "97fec48c.8eada",
+ "x": 3957.4998779296875,
+ "y": 644,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "78028b3.737cf74",
+ "id": "a811b593.25ff8",
"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": 4028.4998779296875,
- "y": 463,
- "z": "97fec48c.8eada",
+ "x": 3965.4998779296875,
+ "y": 696,
+ "z": "6311a927.78727",
"wires": [
[
- "f334aa73.fafd8"
+ "d6328bc3.e91228"
]
]
},
{
- "id": "f334aa73.fafd8",
+ "id": "d6328bc3.e91228",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4234.9998779296875,
- "y": 441,
- "z": "97fec48c.8eada",
+ "x": 4171.9998779296875,
+ "y": 674,
+ "z": "6311a927.78727",
"wires": [
[
- "198591da.45bba6"
+ "fcc7de43.1b588"
]
]
},
{
- "id": "c586fad5.100ad",
+ "id": "f5150efc.cab85",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 3572.6683349609375,
- "y": 489.48150634765625,
- "z": "97fec48c.8eada",
+ "x": 3509.6683349609375,
+ "y": 722.4815063476562,
+ "z": "6311a927.78727",
"wires": [
[
- "8d515769.aa6f4"
+ "912955c2.11e7a"
]
]
},
{
- "id": "18757b7c.bab055",
+ "id": "fd862c08.f8b4a",
"type": "for",
"name": "for each relationship",
- "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",
+ "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3035.3826904296875,
- "y": 491.65972900390625,
- "z": "97fec48c.8eada",
+ "x": 2972.3826904296875,
+ "y": 724.6597290039062,
+ "z": "6311a927.78727",
"wires": [
[
- "e5aaccbc.1746e"
+ "8c595bd0.378e98"
]
]
},
{
- "id": "e5aaccbc.1746e",
+ "id": "8c595bd0.378e98",
"type": "switchNode",
"name": "switch related-to",
- "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$vidx].related-to`'>\n",
+ "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3287.3826904296875,
- "y": 488.65972900390625,
- "z": "97fec48c.8eada",
+ "x": 3224.3826904296875,
+ "y": 721.6597290039062,
+ "z": "6311a927.78727",
"wires": [
[
- "c586fad5.100ad"
+ "f5150efc.cab85"
]
]
},
{
- "id": "8d515769.aa6f4",
+ "id": "912955c2.11e7a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3799.4998779296875,
- "y": 478,
- "z": "97fec48c.8eada",
+ "x": 3736.4998779296875,
+ "y": 711,
+ "z": "6311a927.78727",
"wires": [
[
- "a1ab74dd.259888",
- "78028b3.737cf74",
- "e29873e7.48a55",
- "60eed173.f1208",
- "c69a19d0.8fe6d"
+ "e56a35d6.459af8",
+ "a811b593.25ff8",
+ "2abf934.785ecec",
+ "bc51fa32.9144b",
+ "4ad035fb.c384cc"
]
]
},
{
- "id": "4ab81af3.e377f4",
+ "id": "d9b8b0f0.11df08",
"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": 2440.5,
- "y": 901,
- "z": "97fec48c.8eada",
+ "x": 2377.5,
+ "y": 1134,
+ "z": "6311a927.78727",
"wires": [
[
- "995af278.af1ac8",
- "c9dcb57d.818b28",
- "86496d30.4c8b08"
+ "2a761980.732196",
+ "d9fef4c9.0420c",
+ "6bc11e9d.31baa8"
]
]
},
{
- "id": "995af278.af1ac8",
+ "id": "2a761980.732196",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2662.9998779296875,
- "y": 1043,
- "z": "97fec48c.8eada",
+ "x": 2599.9998779296875,
+ "y": 1276,
+ "z": "6311a927.78727",
"wires": [
[
- "298c76a3.790b2a"
+ "6a724ed4.0c2ee"
]
]
},
{
- "id": "c9dcb57d.818b28",
+ "id": "d9fef4c9.0420c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2646.9998779296875,
- "y": 1094,
- "z": "97fec48c.8eada",
+ "x": 2583.9998779296875,
+ "y": 1327,
+ "z": "6311a927.78727",
"wires": [
[
- "e35f9b5f.fe69c8"
+ "5b682716.7565c"
]
]
},
{
- "id": "86496d30.4c8b08",
+ "id": "6bc11e9d.31baa8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2649.9998779296875,
- "y": 1146,
- "z": "97fec48c.8eada",
+ "x": 2586.9998779296875,
+ "y": 1379,
+ "z": "6311a927.78727",
"wires": [
[
- "fe485369.3b129"
+ "f53f8dec.b8eab8"
]
]
},
{
- "id": "fe485369.3b129",
+ "id": "f53f8dec.b8eab8",
"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": 2819.9998779296875,
- "y": 1149,
- "z": "97fec48c.8eada",
+ "x": 2756.9998779296875,
+ "y": 1382,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "e35f9b5f.fe69c8",
+ "id": "5b682716.7565c",
"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": 2831.9998779296875,
- "y": 1098,
- "z": "97fec48c.8eada",
+ "x": 2768.9998779296875,
+ "y": 1331,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "b29ef002.3d9bd8",
+ "id": "6b5c01f3.fe6da8",
"type": "for",
"name": "for each relationship",
- "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",
+ "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3019.3826904296875,
- "y": 1053.6597290039062,
- "z": "97fec48c.8eada",
+ "x": 2956.3826904296875,
+ "y": 1286.6597290039062,
+ "z": "6311a927.78727",
"wires": [
[
- "1420228.3521e5e"
+ "1a571bfc.aeed5c"
]
]
},
{
- "id": "1420228.3521e5e",
+ "id": "1a571bfc.aeed5c",
"type": "switchNode",
"name": "switch related-to",
- "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].related-to`'>\n",
+ "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3262.3826904296875,
- "y": 1052.6597290039062,
- "z": "97fec48c.8eada",
+ "x": 3199.3826904296875,
+ "y": 1285.6597290039062,
+ "z": "6311a927.78727",
"wires": [
[
- "5d8a1ce9.20e95c"
+ "90623cd4.fe0a58"
]
]
},
{
- "id": "50d5c6dd.fd8458",
+ "id": "aa0b1701.8dfea",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 5028.4998779296875,
- "y": 854,
- "z": "97fec48c.8eada",
+ "x": 4965.4998779296875,
+ "y": 1087,
+ "z": "6311a927.78727",
"wires": [
[
- "6e9eddf0.722754",
- "4df00122.6ae7d8",
- "5c18dd82.55be5c"
+ "550b57d7.8fa528",
+ "74f2c02.a79f64",
+ "f2bb305d.4422b8"
]
]
},
{
- "id": "5d8a1ce9.20e95c",
+ "id": "90623cd4.fe0a58",
"type": "outcome",
"name": "tunnel-termination-point",
"xml": "<outcome value='tunnel-termination-point'>\n",
"comments": "",
"outputs": 1,
- "x": 3518.6683349609375,
- "y": 1052.4815063476562,
- "z": "97fec48c.8eada",
+ "x": 3455.6683349609375,
+ "y": 1285.4815063476562,
+ "z": "6311a927.78727",
"wires": [
[
- "431b8e7f.397f08"
+ "2cff3582.3d605a"
]
]
},
{
- "id": "5d78c070.cc21d",
+ "id": "66c4a517.3f3fd4",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 4815.4998779296875,
- "y": 853,
- "z": "97fec48c.8eada",
+ "x": 4752.4998779296875,
+ "y": 1086,
+ "z": "6311a927.78727",
"wires": [
[
- "50d5c6dd.fd8458"
+ "aa0b1701.8dfea"
]
]
},
{
- "id": "431b8e7f.397f08",
+ "id": "2cff3582.3d605a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3818.4998779296875,
- "y": 1050,
- "z": "97fec48c.8eada",
+ "x": 3755.4998779296875,
+ "y": 1283,
+ "z": "6311a927.78727",
"wires": [
[
- "9fe095e8.34fca",
- "9f30760a.8f0188",
- "3e68bf5c.62e23",
- "16edc927.badbff",
- "c1a0d70e.9bb548"
+ "34a1c052.ba37a8",
+ "ce64c552.7245c",
+ "3a5f117c.72df06",
+ "668e003.0972e8",
+ "888129ab.9ea2a8"
]
]
},
{
- "id": "9fe095e8.34fca",
+ "id": "34a1c052.ba37a8",
"type": "set",
"name": "set domain B node ttp-id",
- "xml": "<set>\n<parameter name='tmp.domain-B.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />\n",
+ "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": 4060.4998779296875,
- "y": 1004,
- "z": "97fec48c.8eada",
+ "x": 3997.4998779296875,
+ "y": 1237,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "9f30760a.8f0188",
+ "id": "ce64c552.7245c",
"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": 4050.4998779296875,
- "y": 1055,
- "z": "97fec48c.8eada",
+ "x": 3987.4998779296875,
+ "y": 1288,
+ "z": "6311a927.78727",
"wires": [
[
- "f0dbdf9f.2f9a"
+ "c6558909.ba61"
]
]
},
{
- "id": "f0dbdf9f.2f9a",
+ "id": "c6558909.ba61",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4237.9998779296875,
- "y": 1053,
- "z": "97fec48c.8eada",
+ "x": 4174.9998779296875,
+ "y": 1286,
+ "z": "6311a927.78727",
"wires": [
[
- "aaf730ad.ded658"
+ "b166ec42.f7a328"
]
]
},
{
- "id": "6e9eddf0.722754",
+ "id": "550b57d7.8fa528",
"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": 5298.4998779296875,
- "y": 830,
- "z": "97fec48c.8eada",
+ "x": 5235.4998779296875,
+ "y": 1063,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "4df00122.6ae7d8",
+ "id": "74f2c02.a79f64",
"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": 5308.4998779296875,
- "y": 876,
- "z": "97fec48c.8eada",
+ "x": 5245.4998779296875,
+ "y": 1109,
+ "z": "6311a927.78727",
"wires": [
[
- "6bfb2c0.fcf9cd4"
+ "e85530cd.ad8bf8"
]
]
},
{
- "id": "6bfb2c0.fcf9cd4",
+ "id": "e85530cd.ad8bf8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5523.9998779296875,
- "y": 867,
- "z": "97fec48c.8eada",
+ "x": 5460.9998779296875,
+ "y": 1100,
+ "z": "6311a927.78727",
"wires": [
[
- "46a8e7db.6247c8"
+ "e3266a0a.5cb158"
]
]
},
{
- "id": "46a8e7db.6247c8",
+ "id": "e3266a0a.5cb158",
"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": 5778.4998779296875,
- "y": 873,
- "z": "97fec48c.8eada",
+ "x": 5715.4998779296875,
+ "y": 1106,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "5d4d6dbf.b923ac",
+ "id": "53738595.29239c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2817.9998779296875,
- "y": 492,
- "z": "97fec48c.8eada",
+ "x": 2754.9998779296875,
+ "y": 725,
+ "z": "6311a927.78727",
"wires": [
[
- "18757b7c.bab055"
+ "fd862c08.f8b4a"
]
]
},
{
- "id": "298c76a3.790b2a",
+ "id": "6a724ed4.0c2ee",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2808.9998779296875,
- "y": 1034,
- "z": "97fec48c.8eada",
+ "x": 2745.9998779296875,
+ "y": 1267,
+ "z": "6311a927.78727",
"wires": [
[
- "b29ef002.3d9bd8"
+ "6b5c01f3.fe6da8"
]
]
},
{
- "id": "a9f1b4b6.1c30e8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1538,
- "y": 546,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "2581c748.7cabd8"
- ]
- ]
- },
- {
- "id": "b2e8772a.8ac6e8",
- "type": "for",
- "name": "for each relationship",
- "xml": "<for index='lridx' start='0' end='`$tmp.aai.cross-link.relationship-list.relationship_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2392.9998779296875,
- "y": 313,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "3399a4f5.011714"
- ]
- ]
- },
- {
- "id": "3399a4f5.011714",
- "type": "switchNode",
- "name": "switch related-to",
- "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].related-to`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2591.9998779296875,
- "y": 310,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "d2b9c322.61b4e"
- ]
- ]
- },
- {
- "id": "d2b9c322.61b4e",
- "type": "outcome",
- "name": "p-interface",
- "xml": "<outcome value='p-interface'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2769.1173095703125,
- "y": 308.34027099609375,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "daf680e0.e985f"
- ]
- ]
- },
- {
- "id": "614113e.09a2a6c",
- "type": "set",
- "name": "set src-ltpId",
- "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n<!--<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-ltp-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />-->\n<!--<parameter name='`tmp.otninfo[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />-->\n\n<!--<parameter name='`tmp.otninfo_length`' value='`$vidx + 1`' />-->\n",
- "comments": "",
- "x": 3620.9998779296875,
- "y": 222,
- "z": "97fec48c.8eada",
- "wires": []
- },
- {
- "id": "daf680e0.e985f",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2908.9998779296875,
- "y": 293,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "56dc1543.ce88ec",
- "b07af7fc.6b63b8"
- ]
- ]
- },
- {
- "id": "198591da.45bba6",
+ "id": "fcc7de43.1b588",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4409.9998779296875,
- "y": 437,
- "z": "97fec48c.8eada",
+ "x": 4346.9998779296875,
+ "y": 670,
+ "z": "6311a927.78727",
"wires": [
[
- "c08fd8d6.2bd66"
+ "a813a414.4bba4"
]
]
},
{
- "id": "aaf730ad.ded658",
+ "id": "b166ec42.f7a328",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4426.9998779296875,
- "y": 1042,
- "z": "97fec48c.8eada",
+ "x": 4363.9998779296875,
+ "y": 1275,
+ "z": "6311a927.78727",
"wires": [
[
- "64775e7a.bf3908"
+ "6ce614ed.7484ac"
]
]
},
{
- "id": "a42edec8.e98fb",
+ "id": "16b2f778.e973e1",
"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": 2486.5,
- "y": 535,
- "z": "97fec48c.8eada",
+ "x": 2423.5,
+ "y": 768,
+ "z": "6311a927.78727",
"wires": [
[
- "3bc9b9f2.81b29e",
- "37303a4c.954af6",
- "fd9ad854.5b33c8"
+ "6f8fa296.cf0b14",
+ "dfb73ef2.d6e5",
+ "a2313ee1.1bd3f8"
]
]
},
{
- "id": "e29873e7.48a55",
+ "id": "2abf934.785ecec",
"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": 3889.9998779296875,
- "y": 281,
- "z": "97fec48c.8eada",
+ "x": 3826.9998779296875,
+ "y": 514,
+ "z": "6311a927.78727",
"wires": [
[
- "98eef2c3.4b1e6",
- "b3fdc3b3.daa6d",
- "bb3698f8.9dc54"
+ "2718cbe0.743744",
+ "c770af9d.e00ad8",
+ "4dc6603f.cfce08"
]
]
},
{
- "id": "98eef2c3.4b1e6",
+ "id": "2718cbe0.743744",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4085.5,
- "y": 233,
- "z": "97fec48c.8eada",
+ "x": 4022.5,
+ "y": 466,
+ "z": "6311a927.78727",
"wires": [
[
- "1e54913c.73cd4f"
+ "d9208e7d.606"
]
]
},
{
- "id": "b3fdc3b3.daa6d",
+ "id": "c770af9d.e00ad8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4077.5,
- "y": 288,
- "z": "97fec48c.8eada",
+ "x": 4014.5,
+ "y": 521,
+ "z": "6311a927.78727",
"wires": [
[
- "8746e11a.2a66c"
+ "6bb9b9b7.b2076"
]
]
},
{
- "id": "bb3698f8.9dc54",
+ "id": "4dc6603f.cfce08",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4082.5,
- "y": 345,
- "z": "97fec48c.8eada",
+ "x": 4019.5,
+ "y": 578,
+ "z": "6311a927.78727",
"wires": [
[
- "be336b5b.cedab8"
+ "59153395.1608bc"
]
]
},
{
- "id": "be336b5b.cedab8",
+ "id": "59153395.1608bc",
"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": 4234.5,
- "y": 346,
- "z": "97fec48c.8eada",
+ "x": 4171.5,
+ "y": 579,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "8746e11a.2a66c",
+ "id": "6bb9b9b7.b2076",
"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": 4245.5,
- "y": 291,
- "z": "97fec48c.8eada",
+ "x": 4182.5,
+ "y": 524,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "1e54913c.73cd4f",
+ "id": "d9208e7d.606",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4229.88232421875,
- "y": 230.65567016601562,
- "z": "97fec48c.8eada",
+ "x": 4166.88232421875,
+ "y": 463.6556701660156,
+ "z": "6311a927.78727",
"wires": [
[
- "e08a0980.5d50e",
- "8e112ac6.c7732"
+ "55254083.c38b58",
+ "8aa824b7.0c6278"
]
]
},
{
- "id": "e08a0980.5d50e",
+ "id": "55254083.c38b58",
"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": 4454.9998779296875,
- "y": 186,
- "z": "97fec48c.8eada",
+ "x": 4391.9998779296875,
+ "y": 419,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "60eed173.f1208",
+ "id": "bc51fa32.9144b",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 3976.9998779296875,
- "y": 528,
- "z": "97fec48c.8eada",
+ "x": 3913.9998779296875,
+ "y": 761,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "c08fd8d6.2bd66",
+ "id": "a813a414.4bba4",
"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": 4670.9998779296875,
- "y": 434,
- "z": "97fec48c.8eada",
+ "x": 4607.9998779296875,
+ "y": 667,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "16edc927.badbff",
+ "id": "668e003.0972e8",
"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": 3886.9998779296875,
- "y": 884,
- "z": "97fec48c.8eada",
+ "x": 3823.9998779296875,
+ "y": 1117,
+ "z": "6311a927.78727",
"wires": [
[
- "123bf516.85c49b",
- "6c28943b.60b994",
- "19639884.e536cf"
+ "ba64936b.6e28a",
+ "60671a93.606c04",
+ "68c36f77.2ea158"
]
]
},
{
- "id": "19639884.e536cf",
+ "id": "68c36f77.2ea158",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4082.5,
- "y": 836,
- "z": "97fec48c.8eada",
+ "x": 4019.5,
+ "y": 1069,
+ "z": "6311a927.78727",
"wires": [
[
- "c2d1aecb.85e098"
+ "90c8108b.3d46b8"
]
]
},
{
- "id": "6c28943b.60b994",
+ "id": "60671a93.606c04",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 4074.5,
- "y": 891,
- "z": "97fec48c.8eada",
+ "x": 4011.5,
+ "y": 1124,
+ "z": "6311a927.78727",
"wires": [
[
- "1ac89a13.d0df06"
+ "694c4d07.5571c4"
]
]
},
{
- "id": "123bf516.85c49b",
+ "id": "ba64936b.6e28a",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4079.5,
- "y": 948,
- "z": "97fec48c.8eada",
+ "x": 4016.5,
+ "y": 1181,
+ "z": "6311a927.78727",
"wires": [
[
- "b06bf8cb.62556"
+ "8a4ef9a5.3b77b8"
]
]
},
{
- "id": "c2d1aecb.85e098",
+ "id": "90c8108b.3d46b8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4226.88232421875,
- "y": 833.6556701660156,
- "z": "97fec48c.8eada",
+ "x": 4163.88232421875,
+ "y": 1066.6556701660156,
+ "z": "6311a927.78727",
"wires": [
[
- "a9a60061.b99928",
- "cfa839ce.804738"
+ "925c2765.45f7c",
+ "a7906754.f0e008"
]
]
},
{
- "id": "1ac89a13.d0df06",
+ "id": "694c4d07.5571c4",
"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": 4242.5,
- "y": 894,
- "z": "97fec48c.8eada",
+ "x": 4179.5,
+ "y": 1127,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "b06bf8cb.62556",
+ "id": "8a4ef9a5.3b77b8",
"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": 4231.5,
- "y": 949,
- "z": "97fec48c.8eada",
+ "x": 4168.5,
+ "y": 1182,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "a9a60061.b99928",
+ "id": "925c2765.45f7c",
"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": 4435.9998779296875,
- "y": 801,
- "z": "97fec48c.8eada",
+ "x": 4372.9998779296875,
+ "y": 1034,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "3e68bf5c.62e23",
+ "id": "3a5f117c.72df06",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 4005.9998779296875,
- "y": 1096,
- "z": "97fec48c.8eada",
+ "x": 3942.9998779296875,
+ "y": 1329,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "64775e7a.bf3908",
+ "id": "6ce614ed.7484ac",
"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": 4659.9998779296875,
- "y": 1041,
- "z": "97fec48c.8eada",
+ "x": 4596.9998779296875,
+ "y": 1274,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "8aefd07e.260d8",
+ "id": "73216d1e.d409d4",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 4811.9998779296875,
- "y": 249,
- "z": "97fec48c.8eada",
+ "x": 4748.9998779296875,
+ "y": 482,
+ "z": "6311a927.78727",
"wires": [
[
- "4f8861e6.824728"
+ "8e56eb89.dcf8d"
]
]
},
{
- "id": "4f8861e6.824728",
+ "id": "8e56eb89.dcf8d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4988.9998779296875,
- "y": 241,
- "z": "97fec48c.8eada",
+ "x": 4925.9998779296875,
+ "y": 474,
+ "z": "6311a927.78727",
"wires": [
[
- "8261f1c0.e8f31",
- "36d8211f.467a7e",
- "49234c70.a5c64c"
+ "8a97b17a.8e6468",
+ "4190236a.ccd374",
+ "2d2f03c2.a9effc"
]
]
},
{
- "id": "8261f1c0.e8f31",
+ "id": "8a97b17a.8e6468",
"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": 5203.9998779296875,
- "y": 222,
- "z": "97fec48c.8eada",
+ "x": 5140.9998779296875,
+ "y": 455,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "36d8211f.467a7e",
+ "id": "4190236a.ccd374",
"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": 5220.9998779296875,
- "y": 286,
- "z": "97fec48c.8eada",
+ "x": 5157.9998779296875,
+ "y": 519,
+ "z": "6311a927.78727",
"wires": [
[
- "92167a44.d7bee"
+ "84a43718.34957"
]
]
},
{
- "id": "92167a44.d7bee",
+ "id": "84a43718.34957",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5444.4998779296875,
- "y": 287,
- "z": "97fec48c.8eada",
+ "x": 5381.4998779296875,
+ "y": 520,
+ "z": "6311a927.78727",
"wires": [
[
- "eafcd68a.31cbf"
+ "95ce66c5.711c6"
]
]
},
{
- "id": "eafcd68a.31cbf",
+ "id": "95ce66c5.711c6",
"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": 5708.9998779296875,
- "y": 276,
- "z": "97fec48c.8eada",
+ "x": 5645.9998779296875,
+ "y": 509,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "8e112ac6.c7732",
+ "id": "8aa824b7.0c6278",
"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": 4413.9998779296875,
- "y": 245,
- "z": "97fec48c.8eada",
+ "x": 4350.9998779296875,
+ "y": 478,
+ "z": "6311a927.78727",
"wires": [
[
- "7a3db7fd.944d68"
+ "5a4b07ac.8d3028"
]
]
},
{
- "id": "7a3db7fd.944d68",
+ "id": "5a4b07ac.8d3028",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4608.9998779296875,
- "y": 245,
- "z": "97fec48c.8eada",
+ "x": 4545.9998779296875,
+ "y": 478,
+ "z": "6311a927.78727",
"wires": [
[
- "8aefd07e.260d8"
+ "73216d1e.d409d4"
]
]
},
{
- "id": "49234c70.a5c64c",
+ "id": "2d2f03c2.a9effc",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5147.9998779296875,
- "y": 339,
- "z": "97fec48c.8eada",
+ "x": 5084.9998779296875,
+ "y": 572,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "cfa839ce.804738",
+ "id": "a7906754.f0e008",
"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": 4414.9998779296875,
- "y": 852,
- "z": "97fec48c.8eada",
+ "x": 4351.9998779296875,
+ "y": 1085,
+ "z": "6311a927.78727",
"wires": [
[
- "4d05ba94.558ef4"
+ "6641c07e.096d18"
]
]
},
{
- "id": "4d05ba94.558ef4",
+ "id": "6641c07e.096d18",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 4609.9998779296875,
- "y": 852,
- "z": "97fec48c.8eada",
+ "x": 4546.9998779296875,
+ "y": 1085,
+ "z": "6311a927.78727",
"wires": [
[
- "5d78c070.cc21d"
+ "66c4a517.3f3fd4"
]
]
},
{
- "id": "5c18dd82.55be5c",
+ "id": "f2bb305d.4422b8",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 5233.9998779296875,
- "y": 932,
- "z": "97fec48c.8eada",
+ "x": 5170.9998779296875,
+ "y": 1165,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "c69a19d0.8fe6d",
+ "id": "4ad035fb.c384cc",
"type": "execute",
"name": "execute split tp-id to get pnf-name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",
+ "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": 3917.9998779296875,
- "y": 75,
- "z": "97fec48c.8eada",
+ "x": 3854.9998779296875,
+ "y": 308,
+ "z": "6311a927.78727",
"wires": [
[
- "4ca85973.1ae2a",
- "285acc14.d6b794"
+ "5bd2f425.157014",
+ "a6025f31.cc3d4"
]
]
},
{
- "id": "285acc14.d6b794",
+ "id": "a6025f31.cc3d4",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4138.9998779296875,
- "y": 43,
- "z": "97fec48c.8eada",
+ "x": 4075.9998779296875,
+ "y": 276,
+ "z": "6311a927.78727",
"wires": [
[
- "2fdf8051.c7f6a8"
+ "61178ee6.46287"
]
]
},
{
- "id": "4ca85973.1ae2a",
+ "id": "5bd2f425.157014",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4138.9998779296875,
- "y": 90,
- "z": "97fec48c.8eada",
+ "x": 4075.9998779296875,
+ "y": 323,
+ "z": "6311a927.78727",
"wires": [
[
- "be0791af.66d9e"
+ "3bd5270a.9b3388"
]
]
},
{
- "id": "2fdf8051.c7f6a8",
+ "id": "61178ee6.46287",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4303.9998779296875,
- "y": 40,
- "z": "97fec48c.8eada",
+ "x": 4240.9998779296875,
+ "y": 273,
+ "z": "6311a927.78727",
"wires": [
[
- "a66ce9ac.c44538"
+ "30bc001a.081c6"
]
]
},
{
- "id": "a66ce9ac.c44538",
+ "id": "30bc001a.081c6",
"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": 4485.9998779296875,
- "y": 44,
- "z": "97fec48c.8eada",
+ "x": 4422.9998779296875,
+ "y": 277,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "be0791af.66d9e",
+ "id": "3bd5270a.9b3388",
"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": 4305.9998779296875,
- "y": 90,
- "z": "97fec48c.8eada",
+ "x": 4242.9998779296875,
+ "y": 323,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "c1a0d70e.9bb548",
+ "id": "888129ab.9ea2a8",
"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": 3925.9998779296875,
- "y": 699,
- "z": "97fec48c.8eada",
+ "x": 3862.9998779296875,
+ "y": 932,
+ "z": "6311a927.78727",
"wires": [
[
- "50687959.886b6",
- "99d4fed5.f7a3f"
+ "f5b036b5.9d3fe",
+ "c8627fdc.4ca238"
]
]
},
{
- "id": "99d4fed5.f7a3f",
+ "id": "c8627fdc.4ca238",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4146.9998779296875,
- "y": 667,
- "z": "97fec48c.8eada",
+ "x": 4083.9998779296875,
+ "y": 900,
+ "z": "6311a927.78727",
"wires": [
[
- "9d94fa7.027cb88"
+ "5d59aabb.f55db4"
]
]
},
{
- "id": "50687959.886b6",
+ "id": "f5b036b5.9d3fe",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4146.9998779296875,
- "y": 714,
- "z": "97fec48c.8eada",
+ "x": 4083.9998779296875,
+ "y": 947,
+ "z": "6311a927.78727",
"wires": [
[
- "7a52ffa3.7e9d28"
+ "8fc5e8a.5216b18"
]
]
},
{
- "id": "9d94fa7.027cb88",
+ "id": "5d59aabb.f55db4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4311.9998779296875,
- "y": 664,
- "z": "97fec48c.8eada",
+ "x": 4248.9998779296875,
+ "y": 897,
+ "z": "6311a927.78727",
"wires": [
[
- "675b55d9.b9c0ec"
+ "c8487895.7a94"
]
]
},
{
- "id": "675b55d9.b9c0ec",
+ "id": "c8487895.7a94",
"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": 4507.9998779296875,
- "y": 661,
- "z": "97fec48c.8eada",
+ "x": 4444.9998779296875,
+ "y": 894,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "7a52ffa3.7e9d28",
+ "id": "8fc5e8a.5216b18",
"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": 4313.9998779296875,
- "y": 714,
- "z": "97fec48c.8eada",
+ "x": 4250.9998779296875,
+ "y": 947,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "20564e8a.e84492",
+ "id": "abe518b.cefde68",
"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='' />",
+ "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": 1183,
- "y": 501,
- "z": "97fec48c.8eada",
+ "x": 1120,
+ "y": 734,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "56dc1543.ce88ec",
- "type": "switchNode",
- "name": "switch value == start-node",
- "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.start-node`'>",
+ "id": "cf555e48.aeaaa8",
+ "type": "comment",
+ "name": "Not useful anymore",
+ "info": "this domain-A.ltpId is not used anymore",
"comments": "",
- "outputs": 1,
- "x": 3103.9998779296875,
- "y": 254,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "a156113e.6f73f"
- ]
- ]
+ "x": 4465.9998779296875,
+ "y": 253,
+ "z": "6311a927.78727",
+ "wires": []
},
{
- "id": "edb2a900.9a7b1",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 3433.9998779296875,
- "y": 238,
- "z": "97fec48c.8eada",
- "wires": [
- [
- "614113e.09a2a6c"
- ]
- ]
+ "id": "29edf5a1.e0b48a",
+ "type": "comment",
+ "name": "Not useful anymore",
+ "info": "this domain-B.ltpId is not used anymore",
+ "comments": "",
+ "x": 4487.9998779296875,
+ "y": 866,
+ "z": "6311a927.78727",
+ "wires": []
},
{
- "id": "bc992c4c.01fac8",
+ "id": "7882cf69.81bba",
"type": "set",
- "name": "set dst-ltpId",
- "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />\n\n<!--<parameter name='`tmp.otninfo[$vidx+1].srcPort.src-access-ltp-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[1].relationship-value`\" />-->\n<!--<parameter name='`tmp.otninfo[$vidx+1].srcPort.src-access-node-id`' value=\"`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value`\" />-->\n\n<!--<parameter name='`tmp.otninfo_length`' value='`$vidx + 2`' />-->\n\n",
+ "name": "unset parameters",
+ "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<!--<parameter name='`tmp.otninfo_length`' value='0' />-->",
"comments": "",
- "x": 3630.9998779296875,
- "y": 324,
- "z": "97fec48c.8eada",
+ "x": 761,
+ "y": 662,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "7a290eee.406588",
+ "id": "1e669820.d1af2",
+ "type": "comment",
+ "name": "May not be necessary",
+ "info": "",
+ "comments": "",
+ "x": 772,
+ "y": 615,
+ "z": "6311a927.78727",
+ "wires": []
+ },
+ {
+ "id": "f346bebe.50149",
"type": "block",
"name": "block : atomic",
- "xml": "<block atomic=\"true\">",
+ "xml": "<block atomic='true'>",
"atomic": "true",
+ "comments": "",
"outputs": 1,
- "x": 3451.9998779296875,
- "y": 336,
- "z": "97fec48c.8eada",
+ "x": 752,
+ "y": 412,
+ "z": "6311a927.78727",
"wires": [
[
- "bc992c4c.01fac8"
+ "bf6f0512.491f98",
+ "50fbaa58.2b30a4",
+ "9c16d091.cb39f8",
+ "67b4d462.48c1b4",
+ "47a588a1.c73f2",
+ "7663f303.03da94",
+ "9122c7e9.cadbc8",
+ "45b9551b.0a437c",
+ "3cc2e9be.dc0176",
+ "5092ace7.ae1144",
+ "652147e8.77864"
]
]
},
{
- "id": "a156113e.6f73f",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
+ "id": "bf6f0512.491f98",
+ "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",
"comments": "",
"outputs": 1,
- "x": 3291.9998779296875,
- "y": 241,
- "z": "97fec48c.8eada",
+ "x": 1026,
+ "y": 632,
+ "z": "6311a927.78727",
"wires": [
[
- "edb2a900.9a7b1"
+ "278e4eda.dd1afa",
+ "95a448d5.61bae",
+ "396c6fcc.348ef"
]
]
},
{
- "id": "b07af7fc.6b63b8",
- "type": "switchNode",
- "name": "switch value == end-node",
- "xml": "<switch test='`$tmp.aai.cross-link.relationship-list.relationship[$lridx].relationship-data[0].relationship-value == $otn-oof.end-node`'>",
+ "id": "50fbaa58.2b30a4",
+ "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",
"comments": "",
"outputs": 1,
- "x": 3101.9998779296875,
- "y": 318,
- "z": "97fec48c.8eada",
+ "x": 1003,
+ "y": 449,
+ "z": "6311a927.78727",
"wires": [
- [
- "adae2c31.77bd68"
- ]
+ []
]
},
{
- "id": "adae2c31.77bd68",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
+ "id": "278e4eda.dd1afa",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 3286.9998779296875,
- "y": 322,
- "z": "97fec48c.8eada",
+ "x": 1271,
+ "y": 664,
+ "z": "6311a927.78727",
"wires": [
- [
- "7a290eee.406588"
- ]
+ []
]
},
{
- "id": "fdcdd209.036438",
- "type": "comment",
- "name": "Not useful anymore",
- "info": "this domain-A.ltpId is not used anymore",
+ "id": "95a448d5.61bae",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
"comments": "",
- "x": 4528.9998779296875,
- "y": 20,
- "z": "97fec48c.8eada",
+ "outputs": 1,
+ "x": 1278,
+ "y": 706,
+ "z": "6311a927.78727",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "396c6fcc.348ef",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1273,
+ "y": 627,
+ "z": "6311a927.78727",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c16d091.cb39f8",
+ "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",
"wires": []
},
{
- "id": "335fd86d.6b1ff",
- "type": "comment",
- "name": "Not useful anymore",
- "info": "this domain-B.ltpId is not used anymore",
+ "id": "67b4d462.48c1b4",
+ "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": 4550.9998779296875,
- "y": 633,
- "z": "97fec48c.8eada",
+ "x": 971,
+ "y": 403,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "3d2e0b8f.457abc",
+ "id": "165db6ae.de2bb9",
"type": "set",
- "name": "unset parameters",
- "xml": "<set>\n<parameter name='`tmp.otninfo.`' value='' />\n<parameter name='`tmp.otninfo_length`' value='0' />",
+ "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": 824,
- "y": 429,
- "z": "97fec48c.8eada",
+ "x": 1102,
+ "y": 865,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "d9b3c779.af79",
- "type": "comment",
- "name": "May not be necessary",
- "info": "",
+ "id": "fda3acff.66dac8",
+ "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": 836,
- "y": 397,
- "z": "97fec48c.8eada",
+ "x": 1103,
+ "y": 915,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "27ac90d.484a9f",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "47a588a1.c73f2",
+ "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": 825,
- "y": 265,
- "z": "97fec48c.8eada",
+ "x": 1023,
+ "y": 102,
+ "z": "6311a927.78727",
"wires": [
[
- "b00cf456.1fcfd8",
- "22917417.40dffc",
- "9d01bdd0.0fc258"
+ "a6aa209b.6892d",
+ "487dbe5b.696ae8",
+ "81fa26f.09db858"
]
]
},
{
- "id": "b00cf456.1fcfd8",
- "type": "get-resource",
- "name": "get-resource pnfs-list",
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopo.pnfs\" >",
+ "id": "487dbe5b.696ae8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1072,
- "y": 218,
- "z": "97fec48c.8eada",
+ "x": 1256,
+ "y": 126,
+ "z": "6311a927.78727",
"wires": [
- [
- "e9ef8fc5.a18d1",
- "701f5a59.c009ac",
- "88137b8e.f20ce"
- ]
+ []
]
},
{
- "id": "22917417.40dffc",
- "type": "get-resource",
- "name": "get-resource logical-links",
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopo.logicalLinks\" >",
+ "id": "81fa26f.09db858",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1270,
+ "y": 166,
+ "z": "6311a927.78727",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a6aa209b.6892d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1082,
- "y": 275,
- "z": "97fec48c.8eada",
+ "x": 1259,
+ "y": 85,
+ "z": "6311a927.78727",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7663f303.03da94",
+ "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",
"wires": [
[
- "701f5a59.c009ac",
- "88137b8e.f20ce",
- "f79f6d93.33fad8"
+ "27c5b08b.38fb5"
]
]
},
{
- "id": "9d01bdd0.0fc258",
- "type": "execute",
- "name": "execute PCE in ccsdk/sli/core",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.slitopologyutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='`$ccsdkTopo.pnfs`'/>\n<parameter name=\"links-pfx\" value=\"`$ccsdkTopo.logicalLinks`\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"true\"/>\n<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.src.domainB.pnf-name`\"/>\n",
+ "id": "27c5b08b.38fb5",
+ "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": 1095,
- "y": 327,
- "z": "97fec48c.8eada",
+ "x": 1336,
+ "y": 224,
+ "z": "6311a927.78727",
"wires": [
[
- "d13c5cda.e31cf8",
- "75643e28.77914"
+ "22cbcd57.e91ce2",
+ "119bae13.8994fa"
]
]
},
{
- "id": "701f5a59.c009ac",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
+ "id": "22cbcd57.e91ce2",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1329,
- "y": 163,
- "z": "97fec48c.8eada",
+ "x": 1563,
+ "y": 225,
+ "z": "6311a927.78727",
"wires": [
[
- "2909bfef.cce208"
+ "1f8d2ed3.4f6c09"
]
]
},
{
- "id": "e9ef8fc5.a18d1",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "1f8d2ed3.4f6c09",
+ "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": 1337,
- "y": 240,
- "z": "97fec48c.8eada",
+ "x": 1776,
+ "y": 225,
+ "z": "6311a927.78727",
"wires": [
- []
+ [
+ "cfa8e423.6dd988"
+ ]
]
},
{
- "id": "2d0a238b.9b0514",
- "type": "record",
- "name": "record",
- "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=\"Pnfs retrieved!\"/>\n<parameter name=\"field2\" value=\"`$ccsdkTopo.pnfs.pnf_length`\"/>\n",
+ "id": "cfa8e423.6dd988",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1496,
- "y": 237,
- "z": "97fec48c.8eada",
+ "x": 1941,
+ "y": 225,
+ "z": "6311a927.78727",
"wires": [
- []
+ [
+ "3bd110a6.a8ba8"
+ ]
]
},
{
- "id": "2909bfef.cce208",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "id": "3bd110a6.a8ba8",
+ "type": "set",
+ "name": "set otnTopoIdSrc",
+ "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",
"comments": "",
- "x": 1515,
- "y": 163,
- "z": "97fec48c.8eada",
+ "x": 2110,
+ "y": 225,
+ "z": "6311a927.78727",
"wires": []
},
{
- "id": "88137b8e.f20ce",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
+ "id": "119bae13.8994fa",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1340,
- "y": 201,
- "z": "97fec48c.8eada",
+ "x": 1563,
+ "y": 278,
+ "z": "6311a927.78727",
"wires": [
[
- "5baa421f.eeaaec"
+ "4e665bce.dd8f3c"
]
]
},
{
- "id": "5baa421f.eeaaec",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "id": "4e665bce.dd8f3c",
+ "type": "switchNode",
+ "name": "switch provider-id domainB",
+ "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainB-pnfName[2]`'>\n",
"comments": "",
- "x": 1512,
- "y": 201,
- "z": "97fec48c.8eada",
- "wires": []
+ "outputs": 1,
+ "x": 1751,
+ "y": 278,
+ "z": "6311a927.78727",
+ "wires": [
+ [
+ "5471d1aa.c2b568"
+ ]
+ ]
},
{
- "id": "f79f6d93.33fad8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "5471d1aa.c2b568",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1341,
- "y": 275,
- "z": "97fec48c.8eada",
+ "x": 1941,
+ "y": 278,
+ "z": "6311a927.78727",
"wires": [
- []
+ [
+ "aa5bb707.4bb48"
+ ]
]
},
{
- "id": "8cc43261.20f998",
- "type": "record",
- "name": "record",
- "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=\"Logical-links retrieved!\"/>\n<parameter name=\"field2\" value=\"`$ccsdkTopo.logicalLinks.logical-link_length`\"/>\n",
+ "id": "aa5bb707.4bb48",
+ "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": 1502,
- "y": 275,
- "z": "97fec48c.8eada",
+ "x": 2109,
+ "y": 278,
+ "z": "6311a927.78727",
"wires": [
- []
+ [
+ "3a63aeee.a8bb3a"
+ ]
]
},
{
- "id": "d13c5cda.e31cf8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "3a63aeee.a8bb3a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1336,
- "y": 314,
- "z": "97fec48c.8eada",
+ "x": 2265,
+ "y": 278,
+ "z": "6311a927.78727",
"wires": [
- []
+ [
+ "1438c95.a2947b7"
+ ]
]
},
{
- "id": "75643e28.77914",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
+ "id": "1438c95.a2947b7",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "9122c7e9.cadbc8",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "45b9551b.0a437c",
+ "type": "set",
+ "name": "unset parameters",
+ "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",
+ "comments": "",
+ "x": 968,
+ "y": 219,
+ "z": "6311a927.78727",
+ "wires": []
+ },
+ {
+ "id": "3cc2e9be.dc0176",
+ "type": "set",
+ "name": "unset parameters",
+ "xml": "<set>\n<parameter name='tmp.pce-dst-node.' value='' />\n",
+ "comments": "",
+ "x": 966,
+ "y": 261,
+ "z": "6311a927.78727",
+ "wires": []
+ },
+ {
+ "id": "5092ace7.ae1144",
+ "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": 1328,
- "y": 361,
- "z": "97fec48c.8eada",
+ "x": 959,
+ "y": 493,
+ "z": "6311a927.78727",
"wires": [
[]
]
},
{
- "id": "117e8dda.79f3d2",
- "type": "record",
- "name": "record",
- "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",
+ "id": "ab172df4.a758b",
+ "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": 1503,
- "y": 320,
- "z": "97fec48c.8eada",
+ "x": 978,
+ "y": 575,
+ "z": "6311a927.78727",
"wires": [
[]
]
+ },
+ {
+ "id": "652147e8.77864",
+ "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`\" />",
+ "comments": "",
+ "x": 955,
+ "y": 529,
+ "z": "6311a927.78727",
+ "wires": []
}
]
\ No newline at end of file |