aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json1072
1 files changed, 536 insertions, 536 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
index 48817a42..95a84974 100644
--- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
+++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
@@ -1,20 +1,20 @@
[
{
- "id": "7a5b2247.76a96c",
+ "id": "85443592.af092",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 115,
- "y": 61,
- "z": "9b26c8a0.a64c1",
+ "x": 98,
+ "y": 38,
+ "z": "a9486230.abaca8",
"wires": [
[
- "8f393b9e.9e17b"
+ "852063b.0947b2"
]
]
},
{
- "id": "8f393b9e.9e17b",
+ "id": "852063b.0947b2",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,1567 +22,1567 @@
"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": 246.2856903076172,
- "y": 110.23810863494873,
- "z": "9b26c8a0.a64c1",
+ "x": 229.2856903076172,
+ "y": 87.23810863494873,
+ "z": "a9486230.abaca8",
"wires": [
[
- "eff67602.0d4e4"
+ "aeeba709.125ee8"
]
]
},
{
- "id": "eff67602.0d4e4",
+ "id": "aeeba709.125ee8",
"type": "method",
"name": "method sotn-vf-operation-uni-activate",
"xml": "<method rpc='sotn-vf-operation-uni-activate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 249.42861938476562,
- "y": 195.00003242492676,
- "z": "9b26c8a0.a64c1",
+ "x": 232.42861938476562,
+ "y": 172.00003242492676,
+ "z": "a9486230.abaca8",
"wires": [
[
- "c03d71cc.6719d8"
+ "607019e9.c9785"
]
]
},
{
- "id": "b1251334.94c658",
+ "id": "91f12862.db0db8",
"type": "switchNode",
"name": "switch vf-modules.vf-module_length",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 721.9959564208984,
- "y": 375.99998915195465,
- "z": "9b26c8a0.a64c1",
+ "x": 704.9959564208984,
+ "y": 352.99998915195465,
+ "z": "a9486230.abaca8",
"wires": [
[
- "2185890c.41cf5e",
- "7887ee8e.f7ad9",
- "bf0b3d3b.de1c1"
+ "583dc2c6.a1eadc",
+ "8575a683.b84fa",
+ "550ed40f.69db1c"
]
]
},
{
- "id": "c03d71cc.6719d8",
+ "id": "607019e9.c9785",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 340.6626205444336,
- "y": 480.66670763492584,
- "z": "9b26c8a0.a64c1",
+ "x": 323.6626205444336,
+ "y": 457.66670763492584,
+ "z": "a9486230.abaca8",
"wires": [
[
- "b1251334.94c658",
- "e40d5cd3.6df488",
- "77bef901.3c81f",
- "f1780b76.81d518",
- "5733466d.dcbb88",
- "6d51d616.88647",
- "aab160b4.f76088",
- "48dc3a93.b23a44"
+ "91f12862.db0db8",
+ "9d769fa.70def6",
+ "5f3f8849.95d748",
+ "e7066e5e.bd1598",
+ "d390a700.afff28",
+ "bbda4146.d9ba7",
+ "eb840621.54dba",
+ "90ab95eb.d707c"
]
]
},
{
- "id": "77bef901.3c81f",
+ "id": "5f3f8849.95d748",
"type": "for",
"name": "for each vnf",
"xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 687.0273170471191,
- "y": 246.269144654274,
- "z": "9b26c8a0.a64c1",
+ "x": 670.0273170471191,
+ "y": 223.269144654274,
+ "z": "a9486230.abaca8",
"wires": [
[
- "c9d21017.2aa0b8"
+ "89dba9bf.84a9b"
]
]
},
{
- "id": "e40d5cd3.6df488",
+ "id": "9d769fa.70def6",
"type": "switchNode",
"name": "switch vnf_length",
"xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 691.9959716796875,
- "y": 185.00001394748688,
- "z": "9b26c8a0.a64c1",
+ "x": 674.9959716796875,
+ "y": 162.00001394748688,
+ "z": "a9486230.abaca8",
"wires": [
[
- "eb024dbb.2172c"
+ "6defab1b.9f589c"
]
]
},
{
- "id": "eb024dbb.2172c",
+ "id": "6defab1b.9f589c",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 871.9959526062012,
- "y": 184.0000034570694,
- "z": "9b26c8a0.a64c1",
+ "x": 854.9959526062012,
+ "y": 161.0000034570694,
+ "z": "a9486230.abaca8",
"wires": [
[
- "9467f8cc.185d38"
+ "64e5f15f.80e5"
]
]
},
{
- "id": "9467f8cc.185d38",
+ "id": "64e5f15f.80e5",
"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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
"comments": "",
- "x": 1021.4246788024902,
- "y": 185.14292109012604,
- "z": "9b26c8a0.a64c1",
+ "x": 1004.4246788024902,
+ "y": 162.14292109012604,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "c9d21017.2aa0b8",
+ "id": "89dba9bf.84a9b",
"type": "switchNode",
"name": "switch this vnf-id == input vnf-id",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\"> \n",
"comments": "",
"outputs": 1,
- "x": 909.9959678649902,
- "y": 247.00000965595245,
- "z": "9b26c8a0.a64c1",
+ "x": 892.9959678649902,
+ "y": 224.00000965595245,
+ "z": "a9486230.abaca8",
"wires": [
[
- "5eb86cb5.aa0e34"
+ "927d25a0.9b192"
]
]
},
{
- "id": "5eb86cb5.aa0e34",
+ "id": "927d25a0.9b192",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1124.9959526062012,
- "y": 245.0000034570694,
- "z": "9b26c8a0.a64c1",
+ "x": 1107.9959526062012,
+ "y": 222.0000034570694,
+ "z": "a9486230.abaca8",
"wires": [
[
- "eb010427.42f398"
+ "cf847dc6.e7718"
]
]
},
{
- "id": "8fe487a9.faab98",
+ "id": "28206034.44efa",
"type": "set",
"name": "set vnf-index",
"xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
"comments": "",
- "x": 1465.9959716796875,
- "y": 213,
- "z": "9b26c8a0.a64c1",
+ "x": 1448.9959716796875,
+ "y": 190,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "7887ee8e.f7ad9",
+ "id": "8575a683.b84fa",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 981.9959716796875,
- "y": 400,
- "z": "9b26c8a0.a64c1",
+ "x": 964.9959716796875,
+ "y": 377,
+ "z": "a9486230.abaca8",
"wires": [
[
- "6182e795.96a958"
+ "119d4d0b.7a079b"
]
]
},
{
- "id": "2185890c.41cf5e",
+ "id": "583dc2c6.a1eadc",
"type": "outcome",
"name": "0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 978.9959716796875,
- "y": 328,
- "z": "9b26c8a0.a64c1",
+ "x": 961.9959716796875,
+ "y": 305,
+ "z": "a9486230.abaca8",
"wires": [
[
- "6182e795.96a958"
+ "119d4d0b.7a079b"
]
]
},
{
- "id": "6182e795.96a958",
+ "id": "119d4d0b.7a079b",
"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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
"comments": "",
- "x": 1150.9959716796875,
- "y": 362,
- "z": "9b26c8a0.a64c1",
+ "x": 1133.9959716796875,
+ "y": 339,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "bf0b3d3b.de1c1",
+ "id": "550ed40f.69db1c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 943.9959487915039,
- "y": 470.9999986886978,
- "z": "9b26c8a0.a64c1",
+ "x": 926.9959487915039,
+ "y": 447.9999986886978,
+ "z": "a9486230.abaca8",
"wires": [
[
- "f14d9e8b.d52ee8"
+ "7abd9cc7.4badf4"
]
]
},
{
- "id": "13dbecad.5f9583",
+ "id": "c7633f36.59d75",
"type": "set",
"name": "set vf-module_length",
"xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n",
"comments": "",
- "x": 1297.995964050293,
- "y": 469.0000126361847,
- "z": "9b26c8a0.a64c1",
+ "x": 1280.995964050293,
+ "y": 446.0000126361847,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "f14d9e8b.d52ee8",
+ "id": "7abd9cc7.4badf4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1104.995994567871,
- "y": 467.99999010562897,
- "z": "9b26c8a0.a64c1",
+ "x": 1087.995994567871,
+ "y": 444.99999010562897,
+ "z": "a9486230.abaca8",
"wires": [
[
- "13dbecad.5f9583",
- "76e7a061.215fe"
+ "c7633f36.59d75",
+ "ec6b544.1550628"
]
]
},
{
- "id": "76e7a061.215fe",
+ "id": "ec6b544.1550628",
"type": "for",
"name": "for each existing vf-index",
"xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1316.9959335327148,
- "y": 521.9999891519547,
- "z": "9b26c8a0.a64c1",
+ "x": 1299.9959335327148,
+ "y": 498.99998915195465,
+ "z": "a9486230.abaca8",
"wires": [
[
- "4d4229cc.870928"
+ "2f003dfc.c09752"
]
]
},
{
- "id": "4d4229cc.870928",
+ "id": "2f003dfc.c09752",
"type": "switchNode",
"name": "switch vf-module-id found",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",
"comments": "",
"outputs": 1,
- "x": 1559.995948791504,
- "y": 516.9999986886978,
- "z": "9b26c8a0.a64c1",
+ "x": 1542.995948791504,
+ "y": 493.9999986886978,
+ "z": "a9486230.abaca8",
"wires": [
[
- "235f500c.adb2d8"
+ "bc526c4d.7064b8"
]
]
},
{
- "id": "235f500c.adb2d8",
+ "id": "bc526c4d.7064b8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1757.9959774017334,
- "y": 504.00000536441803,
- "z": "9b26c8a0.a64c1",
+ "x": 1740.9959774017334,
+ "y": 481.00000536441803,
+ "z": "a9486230.abaca8",
"wires": [
[
- "b98c0673.7d62f8"
+ "8d2f78f6.19375"
]
]
},
{
- "id": "b98c0673.7d62f8",
+ "id": "8d2f78f6.19375",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1909.995948791504,
- "y": 505.9999986886978,
- "z": "9b26c8a0.a64c1",
+ "x": 1892.995948791504,
+ "y": 482.9999986886978,
+ "z": "a9486230.abaca8",
"wires": [
[
- "9c359698.db3d68",
- "1962516c.e21167"
+ "77a297db.c2104",
+ "6e412733.5c6ba"
]
]
},
{
- "id": "9c359698.db3d68",
+ "id": "77a297db.c2104",
"type": "set",
"name": "set tmp.vidx and ctx.vnf-data",
"xml": "<set>\n<parameter name='tmp.vidx' value='`$idx`' />\n<parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\n",
"comments": "",
- "x": 2137.996063232422,
- "y": 448.0000025033951,
- "z": "9b26c8a0.a64c1",
+ "x": 2120.996063232422,
+ "y": 425.0000025033951,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "1962516c.e21167",
+ "id": "6e412733.5c6ba",
"type": "set",
"name": "set vf-module-request-input.",
"xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",
"comments": "",
- "x": 2141.996063232422,
- "y": 502.0000025033951,
- "z": "9b26c8a0.a64c1",
+ "x": 2124.996063232422,
+ "y": 479.0000025033951,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "f1780b76.81d518",
+ "id": "e7066e5e.bd1598",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
"comments": "",
- "x": 615.9961547851562,
- "y": 1675.501220703125,
- "z": "9b26c8a0.a64c1",
+ "x": 598.9961547851562,
+ "y": 1652.501220703125,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "29a9aeb.30d1952",
+ "id": "8ad19510.26b14",
"type": "call",
"name": "call sotn-get-vf-module-uni-param",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2172.45108795166,
- "y": 553.0104948282242,
- "z": "9b26c8a0.a64c1",
+ "x": 2155.45108795166,
+ "y": 530.0104948282242,
+ "z": "a9486230.abaca8",
"wires": [
[]
]
},
{
- "id": "5733466d.dcbb88",
+ "id": "d390a700.afff28",
"type": "execute",
"name": "execute Properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 701.9959564208984,
- "y": 315.5039049386978,
- "z": "9b26c8a0.a64c1",
+ "x": 684.9959564208984,
+ "y": 292.5039049386978,
+ "z": "a9486230.abaca8",
"wires": [
[]
]
},
{
- "id": "eb010427.42f398",
+ "id": "cf847dc6.e7718",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1288,
- "y": 255,
- "z": "9b26c8a0.a64c1",
+ "x": 1271,
+ "y": 232,
+ "z": "a9486230.abaca8",
"wires": [
[
- "8fe487a9.faab98",
- "c2b0533e.d5b1d"
+ "28206034.44efa",
+ "7bec934c.afda74"
]
]
},
{
- "id": "c2b0533e.d5b1d",
+ "id": "7bec934c.afda74",
"type": "set",
"name": "set tmp.vnf-id",
"xml": "<set>\n<parameter name='tmp.vnf-id' value='`$vf-module-topology-operation-input.vnf-information.vnf-id`' />\n",
"comments": "",
- "x": 1473,
- "y": 270,
- "z": "9b26c8a0.a64c1",
+ "x": 1456,
+ "y": 247,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "48dc3a93.b23a44",
+ "id": "90ab95eb.d707c",
"type": "get-resource",
"name": "get-resource generic-vnf",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id\"\n pfx='tmp.aai.generic-vnf' local-only='false' >\n\n<!--AND depth = '0'\"-->\n\n",
"comments": "",
"outputs": 1,
- "x": 594,
- "y": 534,
- "z": "9b26c8a0.a64c1",
+ "x": 577,
+ "y": 511,
+ "z": "a9486230.abaca8",
"wires": [
[
- "28391a2c.3321fe"
+ "8ccaf711.31aa4"
]
]
},
{
- "id": "6a811cc0.b174ac",
+ "id": "8cabc424.4e22c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 824,
- "y": 582,
- "z": "9b26c8a0.a64c1",
+ "x": 807,
+ "y": 559,
+ "z": "a9486230.abaca8",
"wires": [
[
- "1afc6101.b3a3ff",
- "6ac23f85.2f3a38"
+ "5fc2da03.1d071c",
+ "3d46b86.8c742c8"
]
]
},
{
- "id": "6ac23f85.2f3a38",
+ "id": "3d46b86.8c742c8",
"type": "for",
"name": "for each relationship in gen-vnf",
"xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.aai.generic-vnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1036,
- "y": 585,
- "z": "9b26c8a0.a64c1",
+ "x": 1019,
+ "y": 562,
+ "z": "a9486230.abaca8",
"wires": [
[
- "5e0bc542.fea784"
+ "4909c045.b1da"
]
]
},
{
- "id": "5e0bc542.fea784",
+ "id": "4909c045.b1da",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.generic-vnf.relationship-list.relationship[$vidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 1262,
- "y": 589,
- "z": "9b26c8a0.a64c1",
+ "x": 1245,
+ "y": 566,
+ "z": "a9486230.abaca8",
"wires": [
[
- "ad3f5adb.0bf5b8"
+ "9b3ab29f.42cf08"
]
]
},
{
- "id": "ad3f5adb.0bf5b8",
+ "id": "9b3ab29f.42cf08",
"type": "outcome",
"name": "uni",
"xml": "<outcome value='uni'>\n",
"comments": "",
"outputs": 1,
- "x": 1451.285888671875,
- "y": 597.82177734375,
- "z": "9b26c8a0.a64c1",
+ "x": 1434.285888671875,
+ "y": 574.82177734375,
+ "z": "a9486230.abaca8",
"wires": [
[
- "4a0655ab.fa2fa4"
+ "65cb3fab.86e0b8"
]
]
},
{
- "id": "4a0655ab.fa2fa4",
+ "id": "65cb3fab.86e0b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1626.117431640625,
- "y": 600.3402709960938,
- "z": "9b26c8a0.a64c1",
+ "x": 1609.117431640625,
+ "y": 577.3402709960938,
+ "z": "a9486230.abaca8",
"wires": [
[
- "8a87ece8.73f728"
+ "7d0630b8.9b289"
]
]
},
{
- "id": "2cd069f4.1bd85e",
+ "id": "7a2b5a85.21693c",
"type": "set",
"name": "set tmp.unis.uni[].tpId",
"xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='tmp.tp-id' value=\"`$tmp.aai.uni.tp-id`\" />\n",
"comments": "",
- "x": 2557.117431640625,
- "y": 641.3402709960938,
- "z": "9b26c8a0.a64c1",
+ "x": 2540.117431640625,
+ "y": 618.3402709960938,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "1afc6101.b3a3ff",
+ "id": "5fc2da03.1d071c",
"type": "switchNode",
"name": "switch number of unis less than two",
"xml": "<switch test='`$tmp.unis.uni_length &lt; 2`' >\n",
"comments": "",
"outputs": 1,
- "x": 1011,
- "y": 749,
- "z": "9b26c8a0.a64c1",
+ "x": 994,
+ "y": 726,
+ "z": "a9486230.abaca8",
"wires": [
[
- "3398154f.dabcca"
+ "c70e962d.92df"
]
]
},
{
- "id": "f0dacaa2.3f6d9",
+ "id": "24e891c1.19b05e",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n\n",
"comments": "",
- "x": 1419,
- "y": 751,
- "z": "9b26c8a0.a64c1",
+ "x": 1402,
+ "y": 728,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "3398154f.dabcca",
+ "id": "c70e962d.92df",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1227,
- "y": 750,
- "z": "9b26c8a0.a64c1",
+ "x": 1210,
+ "y": 727,
+ "z": "a9486230.abaca8",
"wires": [
[
- "f0dacaa2.3f6d9"
+ "24e891c1.19b05e"
]
]
},
{
- "id": "e85654b4.901fd",
+ "id": "c25132f5.a97a9",
"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.uni.tp-id`'/>\n<parameter name=\"regex\" value=\"[^-]+$\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.uni.tp-id`'/>\n<parameter name=\"regex\" value=\"[^-]+$\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2596,
- "y": 716,
- "z": "9b26c8a0.a64c1",
+ "x": 2579,
+ "y": 693,
+ "z": "a9486230.abaca8",
"wires": [
[
- "fb92d303.a6d858",
- "3b07d667.72d91a"
+ "24c82b36.46c39c",
+ "630e66bd.e52df8"
]
]
},
{
- "id": "3b07d667.72d91a",
+ "id": "630e66bd.e52df8",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2819,
- "y": 671,
- "z": "9b26c8a0.a64c1",
+ "x": 2802,
+ "y": 648,
+ "z": "a9486230.abaca8",
"wires": [
[
- "9111f685.17b2e8"
+ "a1db8006.117e2"
]
]
},
{
- "id": "fb92d303.a6d858",
+ "id": "24c82b36.46c39c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2821,
- "y": 735,
- "z": "9b26c8a0.a64c1",
+ "x": 2804,
+ "y": 712,
+ "z": "a9486230.abaca8",
"wires": [
[
- "1432f6d2.d75751"
+ "1b614bdf.e6fde4"
]
]
},
{
- "id": "9111f685.17b2e8",
+ "id": "a1db8006.117e2",
"type": "set",
"name": "set ltpId",
"xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix[$param-prefix_length -1]`' />\n",
"comments": "",
- "x": 3041,
- "y": 673,
- "z": "9b26c8a0.a64c1",
+ "x": 3024,
+ "y": 650,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "1432f6d2.d75751",
+ "id": "1b614bdf.e6fde4",
"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": 2980,
- "y": 754,
- "z": "9b26c8a0.a64c1",
+ "x": 2963,
+ "y": 731,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "596112fe.dbc0a4",
+ "id": "6b1b7759.250c98",
"type": "get-resource",
"name": "get-resource pnf",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"'pnf.pnf-name = $tmp.unis.uni[$vidx].pnf-name'\n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\t\tresource=\"generic-vnf\" -->\n<!--\t\tkey=\"'generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' -->\n<!--\t\tAND depth = '0'\"-->\n<!-- pfx='tmp.aai.generic-vnf' local-only='false' >-->",
"comments": "",
"outputs": 1,
- "x": 2526,
- "y": 853,
- "z": "9b26c8a0.a64c1",
+ "x": 2509,
+ "y": 830,
+ "z": "a9486230.abaca8",
"wires": [
[
- "51c3744a.753414"
+ "55f3c1e5.5a0098"
]
]
},
{
- "id": "796d1bdc.d65e9c",
+ "id": "7ece5f8e.1b9b38",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2885.88232421875,
- "y": 861.6556396484375,
- "z": "9b26c8a0.a64c1",
+ "x": 2868.88232421875,
+ "y": 838.6556396484375,
+ "z": "a9486230.abaca8",
"wires": [
[
- "9e81136f.40f158",
- "3a607f75.56a9d"
+ "68f9febc.4723f8",
+ "8f8ea6dc.d16678"
]
]
},
{
- "id": "9e81136f.40f158",
+ "id": "68f9febc.4723f8",
"type": "set",
"name": "set node-id",
"xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].node-id`' value=\"`$tmp.aai.pnf.pnf-id`\" />\n",
"comments": "",
- "x": 3065,
- "y": 815,
- "z": "9b26c8a0.a64c1",
+ "x": 3048,
+ "y": 792,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "3a607f75.56a9d",
+ "id": "8f8ea6dc.d16678",
"type": "for",
"name": "for each relationship in pnf",
"xml": "<for silentFailure='true' index='ridx' start='0' end='`$tmp.aai.pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3077.882568359375,
- "y": 901.6597290039062,
- "z": "9b26c8a0.a64c1",
+ "x": 3060.882568359375,
+ "y": 878.6597290039062,
+ "z": "a9486230.abaca8",
"wires": [
[
- "709c4d83.a869b4"
+ "65ed7a4.b573f04"
]
]
},
{
- "id": "709c4d83.a869b4",
+ "id": "65ed7a4.b573f04",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 3303.882568359375,
- "y": 901.6597290039062,
- "z": "9b26c8a0.a64c1",
+ "x": 3286.882568359375,
+ "y": 878.6597290039062,
+ "z": "a9486230.abaca8",
"wires": [
[
- "8cbba6bb.ad862",
- "dd673476.c308f"
+ "974bc5e6.b4d62",
+ "e5a98e29.7e38d8"
]
]
},
{
- "id": "dd673476.c308f",
+ "id": "e5a98e29.7e38d8",
"type": "outcome",
"name": "network-resource",
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 3513,
- "y": 971,
- "z": "9b26c8a0.a64c1",
+ "x": 3496,
+ "y": 948,
+ "z": "a9486230.abaca8",
"wires": [
[
- "2c8cb3cb.28eeec"
+ "f9474736.835c28"
]
]
},
{
- "id": "2c8cb3cb.28eeec",
+ "id": "f9474736.835c28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3726,
- "y": 972,
- "z": "9b26c8a0.a64c1",
+ "x": 3709,
+ "y": 949,
+ "z": "a9486230.abaca8",
"wires": [
[
- "8af5221c.7c91b",
- "47206fa6.e312e"
+ "ec758b37.bd131",
+ "8dbd70c6.b809a8"
]
]
},
{
- "id": "8af5221c.7c91b",
+ "id": "ec758b37.bd131",
"type": "set",
"name": "set network-id",
"xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].network-id`' value=\"`$tmp.aai.pnf.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3961,
- "y": 902,
- "z": "9b26c8a0.a64c1",
+ "x": 3944,
+ "y": 879,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "47206fa6.e312e",
+ "id": "8dbd70c6.b809a8",
"type": "get-resource",
"name": "get-resource 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.unis.uni[$vidx].network-id'\n\t\tAND depth = '0'\"\n pfx='tmp.aai.network-resource' local-only='false' >\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3969,
- "y": 983,
- "z": "9b26c8a0.a64c1",
+ "x": 3952,
+ "y": 960,
+ "z": "a9486230.abaca8",
"wires": [
[
- "4ad04544.d0fad4"
+ "fcf952ac.a0e578"
]
]
},
{
- "id": "4ad04544.d0fad4",
+ "id": "fcf952ac.a0e578",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4201.5,
- "y": 979,
- "z": "9b26c8a0.a64c1",
+ "x": 4184.5,
+ "y": 956,
+ "z": "a9486230.abaca8",
"wires": [
[
- "d8cca786.0614f8"
+ "14d23388.330624"
]
]
},
{
- "id": "d8cca786.0614f8",
+ "id": "14d23388.330624",
"type": "set",
"name": "set network-id, topo-id, client-id, etc",
"xml": "<set>\n<parameter name=\"`$tmp.unis.uni[$vidx].network-id`\" value=\"`$tmp.aai.network-resource.network-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].provider-id`\" value=\"`$tmp.aai.network-resource.provider-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].client-id`\" value=\"`$tmp.aai.network-resource.client-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].te-topo-id`\" value=\"`$tmp.aai.network-resource.te-topo-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].network-type`\" value=\"`$tmp.aai.network-resource.network-type`\" />\n\n\n",
"comments": "",
- "x": 4470,
- "y": 978,
- "z": "9b26c8a0.a64c1",
+ "x": 4453,
+ "y": 955,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "aab160b4.f76088",
+ "id": "eb840621.54dba",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-get-otn-tunnel-path-from-oof",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-otn-tunnel-path-from-oof' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 800,
- "y": 896,
- "z": "9b26c8a0.a64c1",
+ "x": 783,
+ "y": 873,
+ "z": "a9486230.abaca8",
"wires": [
[]
]
},
{
- "id": "8cbba6bb.ad862",
+ "id": "974bc5e6.b4d62",
"type": "outcome",
"name": "thirdparty-controller",
"xml": "<outcome value='thirdparty-controller'>\n",
"comments": "",
"outputs": 1,
- "x": 3540,
- "y": 836,
- "z": "9b26c8a0.a64c1",
+ "x": 3523,
+ "y": 813,
+ "z": "a9486230.abaca8",
"wires": [
[
- "8b43ac76.263cd"
+ "7bf0b175.d7fd18"
]
]
},
{
- "id": "8b43ac76.263cd",
+ "id": "7bf0b175.d7fd18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3753,
- "y": 837,
- "z": "9b26c8a0.a64c1",
+ "x": 3736,
+ "y": 814,
+ "z": "a9486230.abaca8",
"wires": [
[
- "9b5d5673.27be38"
+ "f82d81f3.06226"
]
]
},
{
- "id": "9b5d5673.27be38",
+ "id": "f82d81f3.06226",
"type": "set",
"name": "set thirdparty-sdnc-id",
"xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].thirdparty-sdnc-id`' value=\"`$tmp.aai.pnf.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3980,
- "y": 836,
- "z": "9b26c8a0.a64c1",
+ "x": 3963,
+ "y": 813,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "4ddb604c.658b08",
+ "id": "cfcd9efa.e41c08",
"type": "comment",
"name": "when we reach here, we have 2 UNIs, so do ACTN operations",
"info": "",
"comments": "",
- "x": 813,
- "y": 842,
- "z": "9b26c8a0.a64c1",
+ "x": 796,
+ "y": 819,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "6d51d616.88647",
+ "id": "bbda4146.d9ba7",
"type": "for",
"name": "for vidx..unis.uni_length[]",
"xml": "<for index='vidx' start='0' end='`$tmp.unis.uni_length`' >",
"comments": "",
"outputs": 1,
- "x": 666,
- "y": 1088,
- "z": "9b26c8a0.a64c1",
+ "x": 649,
+ "y": 1065,
+ "z": "a9486230.abaca8",
"wires": [
[
- "8a72c5de.69f39"
+ "a0c1a02.ae339e"
]
]
},
{
- "id": "f7756434.d014e",
+ "id": "6deceac6.273a7c",
"type": "set",
"name": "set oof.vpn",
"xml": "<set>\n<parameter name='oof.vpn.' value='`$tmp.unis.uni[$vidx].`' />",
"comments": "",
- "x": 1096.0272216796875,
- "y": 946.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 1079.0272216796875,
+ "y": 923.040771484375,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "8e5c8d32.64abe8",
+ "id": "23c6bb2c.1ee91c",
"type": "set",
"name": "set controller data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\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",
"comments": "",
- "x": 1572.0272216796875,
- "y": 1140.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1555.0272216796875,
+ "y": 1117.0407409667969,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "58b223b2.226b5c",
+ "id": "15d08552.c95093",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1402.0272216796875,
- "y": 1140.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1385.0272216796875,
+ "y": 1117.0407409667969,
+ "z": "a9486230.abaca8",
"wires": [
[
- "8e5c8d32.64abe8"
+ "23c6bb2c.1ee91c"
]
]
},
{
- "id": "74cd1f0b.113038",
+ "id": "40600b2e.91061c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1406.0272216796875,
- "y": 1180.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1389.0272216796875,
+ "y": 1157.0407409667969,
+ "z": "a9486230.abaca8",
"wires": [
[
- "50f33a59.7393a4"
+ "2b53d3c0.494304"
]
]
},
{
- "id": "4f39f2a5.5bd5fc",
+ "id": "6d1532.96f61ad",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1398.0272216796875,
- "y": 1220.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1381.0272216796875,
+ "y": 1197.0407409667969,
+ "z": "a9486230.abaca8",
"wires": [
[
- "4b579e44.4ec6b"
+ "c51555c1.127b9"
]
]
},
{
- "id": "50f33a59.7393a4",
+ "id": "2b53d3c0.494304",
"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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1556.0272216796875,
- "y": 1180.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1539.0272216796875,
+ "y": 1157.0407409667969,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "4b579e44.4ec6b",
+ "id": "c51555c1.127b9",
"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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 1556.0272216796875,
- "y": 1220.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1539.0272216796875,
+ "y": 1197.0407409667969,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "66a971fa.46a568",
+ "id": "39a43e8c.12f28a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1402.0272216796875,
- "y": 1260.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1385.0272216796875,
+ "y": 1237.0407409667969,
+ "z": "a9486230.abaca8",
"wires": [
[
- "9aeb59cf.e4f488"
+ "9ffed135.085748"
]
]
},
{
- "id": "3bf26416.4deddc",
+ "id": "127cb0e0.f6337f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1398.0272216796875,
- "y": 1300.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1381.0272216796875,
+ "y": 1277.0407409667969,
+ "z": "a9486230.abaca8",
"wires": [
[
- "e227ce38.6755d"
+ "42670ca5.0d852c"
]
]
},
{
- "id": "e227ce38.6755d",
+ "id": "42670ca5.0d852c",
"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 get token rest api\" />\n",
"comments": "",
- "x": 1556.0272216796875,
- "y": 1300.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1539.0272216796875,
+ "y": 1277.0407409667969,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "9aeb59cf.e4f488",
+ "id": "9ffed135.085748",
"type": "set",
"name": "set token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
"comments": "",
- "x": 1552.5272216796875,
- "y": 1260.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1535.5272216796875,
+ "y": 1237.0407409667969,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "ac6d44a1.0c401",
+ "id": "ca782055.9e2288",
"type": "comment",
"name": "Get controller info and send request",
"info": "",
"comments": "",
- "x": 1164.0272216796875,
- "y": 1140.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1147.0272216796875,
+ "y": 1117.0407409667969,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "a9643f3f.4f04b",
+ "id": "7c55f05.ae92f9",
"type": "get-resource",
"name": "get-resource esr-thirdparty-sdnc",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1156.0272216796875,
- "y": 1180.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1139.0272216796875,
+ "y": 1157.0407409667969,
+ "z": "a9486230.abaca8",
"wires": [
[
- "58b223b2.226b5c",
- "74cd1f0b.113038",
- "4f39f2a5.5bd5fc"
+ "15d08552.c95093",
+ "40600b2e.91061c",
+ "6d1532.96f61ad"
]
]
},
{
- "id": "c6d53bc.53f5bc8",
+ "id": "132c8130.52018f",
"type": "execute",
"name": "execute RestApiCallNode Get token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\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\"/>",
"comments": "",
"outputs": 1,
- "x": 1168.5272216796875,
- "y": 1280.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 1151.5272216796875,
+ "y": 1257.0407409667969,
+ "z": "a9486230.abaca8",
"wires": [
[
- "66a971fa.46a568",
- "3bf26416.4deddc"
+ "39a43e8c.12f28a",
+ "127cb0e0.f6337f"
]
]
},
{
- "id": "787bd09.8ff59b",
+ "id": "8b8f431b.afab28",
"type": "comment",
"name": "call domain controller to create underlay OTN tunnel",
"info": "",
"comments": "",
- "x": 1217.5272216796875,
- "y": 1365.49560546875,
- "z": "9b26c8a0.a64c1",
+ "x": 1200.5272216796875,
+ "y": 1342.49560546875,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "ee991e0.ab6b36",
+ "id": "72587bb.46de384",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-create-otn-tunnel",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-create-otn-tunnel' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1237.5272216796875,
- "y": 1409.49560546875,
- "z": "9b26c8a0.a64c1",
+ "x": 1220.5272216796875,
+ "y": 1386.49560546875,
+ "z": "a9486230.abaca8",
"wires": [
[]
]
},
{
- "id": "8a72c5de.69f39",
+ "id": "a0c1a02.ae339e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 819.5272216796875,
- "y": 1420.0407409667969,
- "z": "9b26c8a0.a64c1",
+ "x": 802.5272216796875,
+ "y": 1397.0407409667969,
+ "z": "a9486230.abaca8",
"wires": [
[
- "124c6957.e07dc7",
- "f7756434.d014e",
- "a9643f3f.4f04b",
- "ae925256.a68df",
- "ee991e0.ab6b36",
- "3ce3b19a.7c10c6",
- "d661efba.3fa238",
- "c6d53bc.53f5bc8"
+ "4d995f3e.15c858",
+ "6deceac6.273a7c",
+ "7c55f05.ae92f9",
+ "db2b3730.902018",
+ "72587bb.46de384",
+ "ec5a35c9.5d1e88",
+ "3df609df.1fc0ce",
+ "132c8130.52018f"
]
]
},
{
- "id": "ab7e4ea9.e8e178",
+ "id": "5781fdd6.208f54",
"type": "comment",
"name": "Loop through UNIs and configure domain controllers",
"info": "",
"comments": "",
- "x": 754.5003662109375,
- "y": 1228.5003662109375,
- "z": "9b26c8a0.a64c1",
+ "x": 737.5003662109375,
+ "y": 1205.5003662109375,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "124c6957.e07dc7",
+ "id": "4d995f3e.15c858",
"type": "set",
"name": "set sotn_value",
"xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-type' value='ietf-eth-tran-types:mef-10-bwp' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-type' value='ietf-eth-tran-types:p2p-svc' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].admin-status' value='ietf-te-types:tunnel-state-up' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-port-id' value='0' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].service-classification-type' value='ietf-eth-tran-types:port-classification' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-port-id' value='1' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].service-classification-type' value='ietf-eth-tran-types:port-classification' />",
"comments": "",
- "x": 1083.52734375,
- "y": 1488.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 1066.52734375,
+ "y": 1465.040771484375,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "3ce3b19a.7c10c6",
+ "id": "ec5a35c9.5d1e88",
"type": "set",
"name": "set attachment_param",
"xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n\n",
"comments": "",
- "x": 1108.02734375,
- "y": 1528.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 1091.02734375,
+ "y": 1505.040771484375,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "d661efba.3fa238",
+ "id": "3df609df.1fc0ce",
"type": "switchNode",
"name": "switch prop.sdncRestApi.token_id",
"xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1143.52734375,
- "y": 1568.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 1126.52734375,
+ "y": 1545.040771484375,
+ "z": "a9486230.abaca8",
"wires": [
[
- "f63083b5.0624b",
- "fbf2273e.fbe678"
+ "a0bdd826.3f4cd8",
+ "6962c04c.c84c"
]
]
},
{
- "id": "678c3911.078e2",
+ "id": "f371d079.2c80a8",
"type": "execute",
"name": "execute RestApiCallNode Create ethernet Service with token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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": 1660.52734375,
- "y": 1588.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 1643.52734375,
+ "y": 1565.040771484375,
+ "z": "a9486230.abaca8",
"wires": [
[
- "72a042fd.6a9e5c",
- "4ae2509c.7d19b8"
+ "b25690a3.da1fe",
+ "44b94c62.5f6294"
]
]
},
{
- "id": "72a042fd.6a9e5c",
+ "id": "b25690a3.da1fe",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2004.02734375,
- "y": 1588.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 1987.02734375,
+ "y": 1565.040771484375,
+ "z": "a9486230.abaca8",
"wires": [
[
- "743fa383.cc94fc"
+ "acd4383.6d75ac8"
]
]
},
{
- "id": "743fa383.cc94fc",
+ "id": "acd4383.6d75ac8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2161.52734375,
- "y": 1588.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 2144.52734375,
+ "y": 1565.040771484375,
+ "z": "a9486230.abaca8",
"wires": [
[]
]
},
{
- "id": "7e01ab8f.069484",
+ "id": "acde530.390303",
"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 Create vpn rest api\" />\n",
"comments": "",
- "x": 2158.02734375,
- "y": 1548.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 2141.02734375,
+ "y": 1525.040771484375,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "4ae2509c.7d19b8",
+ "id": "44b94c62.5f6294",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2000.02734375,
- "y": 1548.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 1983.02734375,
+ "y": 1525.040771484375,
+ "z": "a9486230.abaca8",
"wires": [
[
- "7e01ab8f.069484"
+ "acde530.390303"
]
]
},
{
- "id": "f63083b5.0624b",
+ "id": "a0bdd826.3f4cd8",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1356.3711738586426,
- "y": 1548.162670135498,
- "z": "9b26c8a0.a64c1",
+ "x": 1339.3711738586426,
+ "y": 1525.162670135498,
+ "z": "a9486230.abaca8",
"wires": [
[
- "42cb8b06.e7daec"
+ "dd18b88a.c3942"
]
]
},
{
- "id": "fbf2273e.fbe678",
+ "id": "6962c04c.c84c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1360.02734375,
- "y": 1588.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 1343.02734375,
+ "y": 1565.040771484375,
+ "z": "a9486230.abaca8",
"wires": [
[
- "678c3911.078e2"
+ "f371d079.2c80a8"
]
]
},
{
- "id": "42cb8b06.e7daec",
+ "id": "dd18b88a.c3942",
"type": "execute",
"name": "execute RestApiCallNode Create ethernet Service without token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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\"/>",
"comments": "",
"outputs": 1,
- "x": 1670.52734375,
- "y": 1548.040771484375,
- "z": "9b26c8a0.a64c1",
+ "x": 1653.52734375,
+ "y": 1525.040771484375,
+ "z": "a9486230.abaca8",
"wires": [
[
- "4ae2509c.7d19b8",
- "72a042fd.6a9e5c"
+ "44b94c62.5f6294",
+ "b25690a3.da1fe"
]
]
},
{
- "id": "28391a2c.3321fe",
+ "id": "8ccaf711.31aa4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 725,
- "y": 663,
- "z": "9b26c8a0.a64c1",
+ "x": 708,
+ "y": 640,
+ "z": "a9486230.abaca8",
"wires": [
[
- "6a811cc0.b174ac"
+ "8cabc424.4e22c8"
]
]
},
{
- "id": "51c3744a.753414",
+ "id": "55f3c1e5.5a0098",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2709,
- "y": 860,
- "z": "9b26c8a0.a64c1",
+ "x": 2692,
+ "y": 837,
+ "z": "a9486230.abaca8",
"wires": [
[
- "796d1bdc.d65e9c"
+ "7ece5f8e.1b9b38"
]
]
},
{
- "id": "672fc75a.1e91b",
+ "id": "5ed4925c.49643c",
"type": "set",
"name": "set tmp.unis.uni[].tpId",
"xml": "<set>\n<parameter name='tmp.unis.uni[0].id' value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />\n<parameter name='tmp.unis.uni[0].tp-id' value=\"networkId-providerId-5555-clientId-6666-topologyId-11-nodeId-0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].access-provider-id' value=\"`$domain-A.provider-id`\" />\n<parameter name='tmp.unis.uni[0].access-client-id' value=\"`$domain-A.client-id`\" />\n<parameter name='tmp.unis.uni[0].access-topology-id' value=\"`$domain-A.topology-id`\" />\n<parameter name='tmp.unis.uni[0].access-node-id' value=\"0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].src-access-ltp-id' value=\"1234\" />\n<parameter name='tmp.unis.uni[0].dst-access-ltp-id' value=\"5678\" />\n<parameter name='tmp.unis.uni[0].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni[1].id' value=\"5642e9dd-496c-4ef6-be97-5caf4e9beec9\" />\n<parameter name='tmp.unis.uni[1].tp-id' value=\"networkId-domain2-providerId-5555-clientId-6666-topologyId-11-nodeId-0.191.0.4\" />\n<parameter name='tmp.unis.uni[1].access-provider-id' value=\"`$domain-B.provider-id`\" />\n<parameter name='tmp.unis.uni[1].access-client-id' value=\"`$domain-B.client-id`\" />\n<parameter name='tmp.unis.uni[1].access-topology-id' value=\"`$domain-B.topology-id`\" />\n<parameter name='tmp.unis.uni[1].access-node-id' value=\"0.190.0.3\" />\n<parameter name='tmp.unis.uni[1].src-access-ltp-id' value=\"9123\" />\n<parameter name='tmp.unis.uni[1].dst-access-ltp-id' value=\"4567\" />\n<parameter name='tmp.unis.uni[1].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni_length' value=\"2\" />\n\n",
"comments": "",
- "x": 655,
- "y": 1015,
- "z": "9b26c8a0.a64c1",
+ "x": 638,
+ "y": 992,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "ae925256.a68df",
+ "id": "db2b3730.902018",
"type": "get-resource",
"name": "get 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 = $oof.vpn.network-id\"\n pfx='tmp.aai.network-resource' local-only='false' >\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1128,
- "y": 1024,
- "z": "9b26c8a0.a64c1",
+ "x": 1111,
+ "y": 1001,
+ "z": "a9486230.abaca8",
"wires": [
[
- "23c084ce.22a7f4",
- "d2d56dd3.d8df6",
- "28e7be58.d60b6a"
+ "1a14b8d2.a8f357",
+ "f7a955ca.9be14",
+ "34e2d0ff.2b0ba8"
]
]
},
{
- "id": "23c084ce.22a7f4",
+ "id": "1a14b8d2.a8f357",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1323.5001220703125,
- "y": 981,
- "z": "9b26c8a0.a64c1",
+ "x": 1306.5001220703125,
+ "y": 958,
+ "z": "a9486230.abaca8",
"wires": [
[
- "16ae77fe.3db2f"
+ "10c48a33.860696"
]
]
},
{
- "id": "d2d56dd3.d8df6",
+ "id": "f7a955ca.9be14",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1315.5001220703125,
- "y": 1036,
- "z": "9b26c8a0.a64c1",
+ "x": 1298.5001220703125,
+ "y": 1013,
+ "z": "a9486230.abaca8",
"wires": [
[
- "8f6658aa.e556f8"
+ "7314720a.de097c"
]
]
},
{
- "id": "28e7be58.d60b6a",
+ "id": "34e2d0ff.2b0ba8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1320.5001220703125,
- "y": 1093,
- "z": "9b26c8a0.a64c1",
+ "x": 1303.5001220703125,
+ "y": 1070,
+ "z": "a9486230.abaca8",
"wires": [
[
- "5bc0d431.a1baf4"
+ "247bba75.1dbfee"
]
]
},
{
- "id": "5bc0d431.a1baf4",
+ "id": "247bba75.1dbfee",
"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": 1472.5001220703125,
- "y": 1094,
- "z": "9b26c8a0.a64c1",
+ "x": 1455.5001220703125,
+ "y": 1071,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "8f6658aa.e556f8",
+ "id": "7314720a.de097c",
"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": 1483.5001220703125,
- "y": 1039,
- "z": "9b26c8a0.a64c1",
+ "x": 1466.5001220703125,
+ "y": 1016,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "16ae77fe.3db2f",
+ "id": "10c48a33.860696",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1467.8824462890625,
- "y": 978.6556701660156,
- "z": "9b26c8a0.a64c1",
+ "x": 1450.8824462890625,
+ "y": 955.6556701660156,
+ "z": "a9486230.abaca8",
"wires": [
[
- "1facb6e4.b004d9"
+ "3803718b.d2dfd6"
]
]
},
{
- "id": "1facb6e4.b004d9",
+ "id": "3803718b.d2dfd6",
"type": "for",
"name": "for each relationship",
"xml": "<for index='ridx' start='0' end='`$tmp.aai.network-resource.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1682.8826904296875,
- "y": 978.6597290039062,
- "z": "9b26c8a0.a64c1",
+ "x": 1665.8826904296875,
+ "y": 955.6597290039062,
+ "z": "a9486230.abaca8",
"wires": [
[
- "a5fdb89.17d6dc8"
+ "7cf64c03.a76a4c"
]
]
},
{
- "id": "a5fdb89.17d6dc8",
+ "id": "7cf64c03.a76a4c",
"type": "switchNode",
"name": "switch related-to",
"xml": "<switch test='`$tmp.aai.network-resource.relationship-list.relationship[$ridx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 1908.8826904296875,
- "y": 978.6597290039062,
- "z": "9b26c8a0.a64c1",
+ "x": 1891.8826904296875,
+ "y": 955.6597290039062,
+ "z": "a9486230.abaca8",
"wires": [
[
- "d4a46397.2bb99"
+ "7cc2a602.3c71d"
]
]
},
{
- "id": "d4a46397.2bb99",
+ "id": "7cc2a602.3c71d",
"type": "outcome",
"name": "esr-thirdparty-sdnc",
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",
"comments": "",
"outputs": 1,
- "x": 2115.0001220703125,
- "y": 977,
- "z": "9b26c8a0.a64c1",
+ "x": 2098.0001220703125,
+ "y": 954,
+ "z": "a9486230.abaca8",
"wires": [
[
- "d4ec153c.0cdc78"
+ "f4284fa2.072448"
]
]
},
{
- "id": "d4ec153c.0cdc78",
+ "id": "f4284fa2.072448",
"type": "set",
"name": "set prop.sdncRestApi.thirdpartySdnc.id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value=\"`$tmp.aai.network-resource.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 2133,
- "y": 1056,
- "z": "9b26c8a0.a64c1",
+ "x": 2116,
+ "y": 1033,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "8a87ece8.73f728",
+ "id": "7d0630b8.9b289",
"type": "get-resource",
"name": "get-resource uni",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"uni\" \n\t\tkey=\"uni.id = $tmp.aai.generic-vnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value\"\n pfx='tmp.aai.uni' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
- "x": 1802,
- "y": 689,
- "z": "9b26c8a0.a64c1",
+ "x": 1785,
+ "y": 666,
+ "z": "a9486230.abaca8",
"wires": [
[
- "af655688.304b78"
+ "ad8ad07a.d8a1c8"
]
]
},
{
- "id": "af655688.304b78",
+ "id": "ad8ad07a.d8a1c8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1974,
- "y": 689,
- "z": "9b26c8a0.a64c1",
+ "x": 1957,
+ "y": 666,
+ "z": "a9486230.abaca8",
"wires": [
[
- "91d7b892.85ea"
+ "9b99c47a.3de3d"
]
]
},
{
- "id": "bc6860a4.74042",
+ "id": "8d4b6de9.39d208",
"type": "set",
"name": "set tmp.unis.uni[]",
"xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='`tmp.unis.uni[$vidx].`' value=\"`$tmp.aai.uni.`\" />\n",
"comments": "",
- "x": 2299,
- "y": 645,
- "z": "9b26c8a0.a64c1",
+ "x": 2282,
+ "y": 622,
+ "z": "a9486230.abaca8",
"wires": []
},
{
- "id": "91d7b892.85ea",
+ "id": "9b99c47a.3de3d",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2115,
- "y": 691,
- "z": "9b26c8a0.a64c1",
+ "x": 2098,
+ "y": 668,
+ "z": "a9486230.abaca8",
"wires": [
[
- "bc6860a4.74042",
- "e85654b4.901fd",
- "596112fe.dbc0a4"
+ "8d4b6de9.39d208",
+ "c25132f5.a97a9",
+ "6b1b7759.250c98"
]
]
}