diff options
author | Dan Timoney <dtimoney@att.com> | 2019-05-05 23:01:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-05 23:01:46 +0000 |
commit | 1b928100e82c9c6857aa217452cea333ea42b1f3 (patch) | |
tree | 40479caa727bcf036983a4b097834e6e36c31164 /platform-logic/generic-resource-api/src | |
parent | 0634f80b3ded144b031ef570434848e7414e12ad (diff) | |
parent | ea26bee89f93a47119a25a02d7dd2a87981d4267 (diff) |
Merge "Fix SDWAN lan-portId set in service-data"
Former-commit-id: 68885623b91e7e4745b53df2393c53b37b00c6bb
Diffstat (limited to 'platform-logic/generic-resource-api/src')
2 files changed, 821 insertions, 743 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.json index ca09d528..710748fc 100644 --- a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.json +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.json @@ -1,38 +1,38 @@ [
{
- "id": "62a2b375.b0142c",
+ "id": "8b02c414.0a0158",
"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": 631.00390625,
- "y": 358.9999910593033,
- "z": "54b5b8b7.025628",
+ "x": 645.00390625,
+ "y": 383.99998915195465,
+ "z": "8f678717.6ce918",
"wires": [
[
- "2ce296c7.89a92a",
- "286b40a1.270d8",
- "a5e09c26.33e85"
+ "68e694fb.03b05c",
+ "f7e70447.8db3e8",
+ "971f4ab1.d15838"
]
]
},
{
- "id": "274a6c23.93af74",
+ "id": "4d453692.f3a9c8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 185.00391006469727,
- "y": 38.00000190734863,
- "z": "54b5b8b7.025628",
+ "x": 199.00391006469727,
+ "y": 63,
+ "z": "8f678717.6ce918",
"wires": [
[
- "d19a3d29.13e6c"
+ "97a72ea4.29d6f"
]
]
},
{
- "id": "d19a3d29.13e6c",
+ "id": "97a72ea4.29d6f",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -40,2145 +40,2206 @@ "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": 237.28960418701172,
- "y": 113.2381101846695,
- "z": "54b5b8b7.025628",
+ "x": 251.28960418701172,
+ "y": 138.23810827732086,
+ "z": "8f678717.6ce918",
"wires": [
[
- "f2cc8408.469028"
+ "62c84170.f19fe"
]
]
},
{
- "id": "f2cc8408.469028",
+ "id": "62c84170.f19fe",
"type": "method",
"name": "method sdwan-vf-operation-lanport-activate",
"xml": "<method rpc='sdwan-vf-operation-lanport-activate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 249.00389862060547,
- "y": 207.5863424539566,
- "z": "54b5b8b7.025628",
+ "x": 263.00389862060547,
+ "y": 232.58634054660797,
+ "z": "8f678717.6ce918",
"wires": [
[
- "b1463b24.6fe0e8"
+ "4a4e497e.f869b8"
]
]
},
{
- "id": "b1463b24.6fe0e8",
+ "id": "4a4e497e.f869b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 249.67057037353516,
- "y": 463.6667095422745,
- "z": "54b5b8b7.025628",
- "wires": [
- [
- "303d2cf.b399dd4",
- "d51e952d.52f938",
- "62a2b375.b0142c",
- "c2a7f215.4af7c",
- "e1a9154.b1471e8",
- "67323544.ab409c",
- "b8bc82a8.8f71c",
- "af677f19.b868e",
- "5684b01b.2cc86",
- "3b06c257.27b87e",
- "f005bd73.83921",
- "e03228a1.7c0b08",
- "b83326ad.562c28",
- "d5b2bc3d.8d9a6",
- "292717fc.ce9118",
- "a812fb94.72ecd8",
- "b9762c75.21e69",
- "c04f18a6.eec778",
- "bb7f5a63.9f3828",
- "a98e7add.71df78",
- "955e1b88.3ac648",
- "f78f25c0.9e44a8",
- "e3c5f502.462e18",
- "2a5aae1a.c1b0a2",
- "b74ec81a.384238"
- ]
- ]
- },
- {
- "id": "d51e952d.52f938",
+ "x": 263.67057037353516,
+ "y": 488.66670763492584,
+ "z": "8f678717.6ce918",
+ "wires": [
+ [
+ "347fb228.e9842e",
+ "6a3eea86.07aec4",
+ "8b02c414.0a0158",
+ "137939e6.0ea6f6",
+ "1213b66e.6c069a",
+ "789e7d3a.85d8f4",
+ "ff74d1ed.accce",
+ "f32683d3.4b28a",
+ "3b4bc5c6.e4f6ca",
+ "a812e63e.3da708",
+ "ac4f31e9.8674f",
+ "1aaf5076.12a2d",
+ "6fe14a72.8a26c4",
+ "ff0e83f6.a79dc",
+ "ee8d2486.88ecd8",
+ "dee417c.1c53be8",
+ "2a8eeeae.a97fe2",
+ "19b08536.47a7ab",
+ "d176642b.9b7848",
+ "42792fe4.bec31",
+ "f49389c2.437958",
+ "d0669f94.595ad",
+ "e3da978e.7b4c98",
+ "c34ad6a3.8e84a8",
+ "2b29c48d.675bdc",
+ "e96cc964.57ebf8",
+ "4c96c619.458ff8",
+ "d5b15ee0.c0558",
+ "81047830.c65458"
+ ]
+ ]
+ },
+ {
+ "id": "6a3eea86.07aec4",
"type": "for",
"name": "for each vnf",
"xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 596.0352668762207,
- "y": 229.26914656162262,
- "z": "54b5b8b7.025628",
+ "x": 610.0352668762207,
+ "y": 254.269144654274,
+ "z": "8f678717.6ce918",
"wires": [
[
- "1705b3b3.be9e2c"
+ "5cc5500e.cb96a"
]
]
},
{
- "id": "303d2cf.b399dd4",
+ "id": "347fb228.e9842e",
"type": "switchNode",
"name": "switch vnf_length",
"xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 601.0039215087891,
- "y": 168.0000158548355,
- "z": "54b5b8b7.025628",
+ "x": 615.0039215087891,
+ "y": 193.00001394748688,
+ "z": "8f678717.6ce918",
"wires": [
[
- "ae5f28f0.d5a908"
+ "305dd6dd.08e4da"
]
]
},
{
- "id": "ae5f28f0.d5a908",
+ "id": "305dd6dd.08e4da",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 781.0039024353027,
- "y": 167.00000536441803,
- "z": "54b5b8b7.025628",
+ "x": 795.0039024353027,
+ "y": 192.0000034570694,
+ "z": "8f678717.6ce918",
"wires": [
[
- "60302d9b.78d214"
+ "6b8c86df.f233d8"
]
]
},
{
- "id": "60302d9b.78d214",
+ "id": "6b8c86df.f233d8",
"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": 930.4326286315918,
- "y": 168.14292299747467,
- "z": "54b5b8b7.025628",
+ "x": 944.4326286315918,
+ "y": 193.14292109012604,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "1705b3b3.be9e2c",
+ "id": "5cc5500e.cb96a",
"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": 819.0039176940918,
- "y": 230.0000115633011,
- "z": "54b5b8b7.025628",
+ "x": 833.0039176940918,
+ "y": 255.00000965595245,
+ "z": "8f678717.6ce918",
"wires": [
[
- "1f9e74ab.0ce8fb"
+ "36127203.816c4e"
]
]
},
{
- "id": "1f9e74ab.0ce8fb",
+ "id": "36127203.816c4e",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1034.0039024353027,
- "y": 228.00000536441803,
- "z": "54b5b8b7.025628",
+ "x": 1048.0039024353027,
+ "y": 253.0000034570694,
+ "z": "8f678717.6ce918",
"wires": [
[
- "67d2b453.3ade6c"
+ "e237d111.df552"
]
]
},
{
- "id": "67d2b453.3ade6c",
+ "id": "e237d111.df552",
"type": "set",
"name": "set vnf-index",
"xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
"comments": "",
- "x": 1198.0039024353027,
- "y": 223.00000536441803,
- "z": "54b5b8b7.025628",
+ "x": 1212.0039024353027,
+ "y": 248.0000034570694,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "286b40a1.270d8",
+ "id": "f7e70447.8db3e8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 853.0038986206055,
- "y": 393.00000059604645,
- "z": "54b5b8b7.025628",
+ "x": 867.0038986206055,
+ "y": 417.9999986886978,
+ "z": "8f678717.6ce918",
"wires": [
[
- "9beeb53f.32d368"
+ "a74d8270.f16d2"
]
]
},
{
- "id": "2ce296c7.89a92a",
+ "id": "68e694fb.03b05c",
"type": "outcome",
"name": "0",
"xml": "<outcome value='0'>\n",
"comments": "",
"outputs": 1,
- "x": 858.0038948059082,
- "y": 339.99999964237213,
- "z": "54b5b8b7.025628",
+ "x": 872.0038948059082,
+ "y": 364.9999977350235,
+ "z": "8f678717.6ce918",
"wires": [
[
- "9beeb53f.32d368"
+ "a74d8270.f16d2"
]
]
},
{
- "id": "9beeb53f.32d368",
+ "id": "a74d8270.f16d2",
"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": 1016.0038986206055,
- "y": 353.00000059604645,
- "z": "54b5b8b7.025628",
+ "x": 1030.0038986206055,
+ "y": 377.9999986886978,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "a5e09c26.33e85",
+ "id": "971f4ab1.d15838",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 853.0038986206055,
- "y": 454.00000059604645,
- "z": "54b5b8b7.025628",
+ "x": 867.0038986206055,
+ "y": 478.9999986886978,
+ "z": "8f678717.6ce918",
"wires": [
[
- "e1d84972.4ad0c8"
+ "a3e0e456.022b58"
]
]
},
{
- "id": "fd2ead86.4408b",
+ "id": "1e2cec5d.de4c34",
"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": 1207.0039138793945,
- "y": 452.0000145435333,
- "z": "54b5b8b7.025628",
+ "x": 1221.0039138793945,
+ "y": 477.0000126361847,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "e1d84972.4ad0c8",
+ "id": "a3e0e456.022b58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1014.0039443969727,
- "y": 450.9999920129776,
- "z": "54b5b8b7.025628",
+ "x": 1028.0039443969727,
+ "y": 475.99999010562897,
+ "z": "8f678717.6ce918",
"wires": [
[
- "fd2ead86.4408b",
- "a0db8178.b9fc1"
+ "1e2cec5d.de4c34",
+ "3182c119.6bacee"
]
]
},
{
- "id": "a0db8178.b9fc1",
+ "id": "3182c119.6bacee",
"type": "for",
"name": "for each existing vf-index",
"xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1226.0038833618164,
- "y": 504.9999910593033,
- "z": "54b5b8b7.025628",
+ "x": 1240.0038833618164,
+ "y": 529.9999891519547,
+ "z": "8f678717.6ce918",
"wires": [
[
- "d2a74f27.76a7b"
+ "4ac639b1.fde548"
]
]
},
{
- "id": "d2a74f27.76a7b",
+ "id": "4ac639b1.fde548",
"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": 1469.0038986206055,
- "y": 500.00000059604645,
- "z": "54b5b8b7.025628",
+ "x": 1483.0038986206055,
+ "y": 524.9999986886978,
+ "z": "8f678717.6ce918",
"wires": [
[
- "b730478a.e23168"
+ "431b4671.7beb88"
]
]
},
{
- "id": "b730478a.e23168",
+ "id": "431b4671.7beb88",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1667.003927230835,
- "y": 487.00000727176666,
- "z": "54b5b8b7.025628",
+ "x": 1681.003927230835,
+ "y": 512.000005364418,
+ "z": "8f678717.6ce918",
"wires": [
[
- "e50ff701.4c8a98"
+ "54c2caba.eaa034"
]
]
},
{
- "id": "e50ff701.4c8a98",
+ "id": "54c2caba.eaa034",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1819.0038986206055,
- "y": 489.00000059604645,
- "z": "54b5b8b7.025628",
+ "x": 1833.0038986206055,
+ "y": 513.9999986886978,
+ "z": "8f678717.6ce918",
"wires": [
[
- "9ab17191.831f",
- "5290285b.0a9238",
- "718a2bc4.09e914"
+ "3daf2055.af9fa",
+ "dc47796a.7906f8",
+ "deaa7223.49fff"
]
]
},
{
- "id": "9ab17191.831f",
+ "id": "3daf2055.af9fa",
"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": 2047.0040130615234,
- "y": 431.0000044107437,
- "z": "54b5b8b7.025628",
+ "x": 2061.0040130615234,
+ "y": 456.0000025033951,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "5290285b.0a9238",
+ "id": "dc47796a.7906f8",
"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": 2051.0040130615234,
- "y": 485.0000044107437,
- "z": "54b5b8b7.025628",
+ "x": 2065.0040130615234,
+ "y": 510.0000025033951,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "c2a7f215.4af7c",
+ "id": "137939e6.0ea6f6",
"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": 580.0040740966797,
- "y": 2308.5012640953064,
- "z": "54b5b8b7.025628",
+ "x": 617.0041007995605,
+ "y": 2475.5012583732605,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "718a2bc4.09e914",
+ "id": "deaa7223.49fff",
"type": "call",
"name": "call sdwan-get-vf-module-lanport-param",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2081.4590377807617,
- "y": 536.0104967355728,
- "z": "54b5b8b7.025628",
+ "x": 2095.4590377807617,
+ "y": 561.0104948282242,
+ "z": "8f678717.6ce918",
"wires": [
[]
]
},
{
- "id": "8567646d.1060f8",
+ "id": "f2af207f.056ba",
"type": "for",
"name": "for vf-modules.vf-module_length",
"xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1338.2580871582031,
- "y": 564.0040813684464,
- "z": "54b5b8b7.025628",
+ "x": 1352.2580871582031,
+ "y": 589.0040794610977,
+ "z": "8f678717.6ce918",
"wires": [
[
- "ac4f7552.ac0308"
+ "df0e1cc8.6175d"
]
]
},
{
- "id": "80043aea.5219e8",
+ "id": "498120cb.bf483",
"type": "switchNode",
"name": "switch this deviceName == vf-input",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == $prop.lan.deviceName`\">\n",
"comments": "",
"outputs": 1,
- "x": 1409.25830078125,
- "y": 637.0042110681534,
- "z": "54b5b8b7.025628",
+ "x": 1423.25830078125,
+ "y": 662.0042091608047,
+ "z": "8f678717.6ce918",
"wires": [
[
- "2efabc06.34d0a4"
+ "2d8a4d76.dce9b2"
]
]
},
{
- "id": "ac4f7552.ac0308",
+ "id": "df0e1cc8.6175d",
"type": "for",
"name": "for vf-module-input-param length",
"xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1624.2579345703125,
- "y": 566.0041652917862,
- "z": "54b5b8b7.025628",
+ "x": 1638.2579345703125,
+ "y": 591.0041633844376,
+ "z": "8f678717.6ce918",
"wires": [
[
- "fb5d6670.5ef758"
+ "88689a59.1525c8"
]
]
},
{
- "id": "2efabc06.34d0a4",
+ "id": "2d8a4d76.dce9b2",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1629.2580242156982,
- "y": 638.0042186975479,
- "z": "54b5b8b7.025628",
+ "x": 1643.2580242156982,
+ "y": 663.0042167901993,
+ "z": "8f678717.6ce918",
"wires": [
[
- "f29692e0.539f3"
+ "471b276b.f70408"
]
]
},
{
- "id": "f29692e0.539f3",
+ "id": "471b276b.f70408",
"type": "for",
"name": "for vf-modules.vf-module_length",
"xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1874.2581024169922,
- "y": 638.0041362047195,
- "z": "54b5b8b7.025628",
+ "x": 1888.2581024169922,
+ "y": 663.0041342973709,
+ "z": "8f678717.6ce918",
"wires": [
[
- "da95560e.179868"
+ "f9301f27.4950a"
]
]
},
{
- "id": "da95560e.179868",
+ "id": "f9301f27.4950a",
"type": "switchNode",
"name": "switch deviceId == input vf-id",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'deviceId'`\">\n \n\n\n",
"comments": "",
"outputs": 1,
- "x": 2182.2583770751953,
- "y": 621.00410425663,
- "z": "54b5b8b7.025628",
+ "x": 2196.2583770751953,
+ "y": 646.0041023492813,
+ "z": "8f678717.6ce918",
"wires": [
[
- "78aec0a1.e1723"
+ "f075729c.cbb68"
]
]
},
{
- "id": "78aec0a1.e1723",
+ "id": "f075729c.cbb68",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2391.258415222168,
- "y": 623.0040966272354,
- "z": "54b5b8b7.025628",
+ "x": 2405.258415222168,
+ "y": 648.0040947198868,
+ "z": "8f678717.6ce918",
"wires": [
[
- "df2e3f53.8ca7"
+ "707326cf.03f308"
]
]
},
{
- "id": "df6bb2fa.c17ef",
+ "id": "d4d9dbbb.648b58",
"type": "set",
"name": "set prop.lan.deviceId",
"xml": "<set>\n<parameter name='prop.lan.deviceId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",
"comments": "",
- "x": 2764.258441925049,
- "y": 559.0042743682861,
- "z": "54b5b8b7.025628",
+ "x": 2778.258441925049,
+ "y": 584.0042724609375,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "e1a9154.b1471e8",
+ "id": "1213b66e.6c069a",
"type": "for",
"name": "for service-data.vnfs.vnf_length",
"xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 592.2578125,
- "y": 431.0040432214737,
- "z": "54b5b8b7.025628",
+ "x": 606.2578125,
+ "y": 456.00404131412506,
+ "z": "8f678717.6ce918",
"wires": [
[
- "ae8078e2.85aab8"
+ "a1edaa1e.9827b8"
]
]
},
{
- "id": "cea7983f.defeb8",
+ "id": "d899ea3c.cf2f28",
"type": "switchNode",
"name": "switch ActivateSDWANSiteInstance",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1229.008186340332,
- "y": 748.0039888620377,
- "z": "54b5b8b7.025628",
+ "x": 1243.008186340332,
+ "y": 773.003986954689,
+ "z": "8f678717.6ce918",
"wires": [
[
- "aa05a333.09241"
+ "2030d34.407f32c"
]
]
},
{
- "id": "1a7b39b6.722626",
+ "id": "752f257f.d5098c",
"type": "for",
"name": "for vf-modules.vf-module_length",
"xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 875.0080261230469,
- "y": 715.004028916359,
- "z": "54b5b8b7.025628",
+ "x": 889.0080261230469,
+ "y": 740.0040270090103,
+ "z": "8f678717.6ce918",
"wires": [
[
- "6936e75f.9c21b8"
+ "adf19321.c13fa"
]
]
},
{
- "id": "292717fc.ce9118",
+ "id": "ee8d2486.88ecd8",
"type": "for",
"name": "for service-data.vnfs.vnf_length",
"xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 626.0078811645508,
- "y": 646.0039087533951,
- "z": "54b5b8b7.025628",
+ "x": 640.0078811645508,
+ "y": 671.0039068460464,
+ "z": "8f678717.6ce918",
"wires": [
[
- "1a7b39b6.722626"
+ "752f257f.d5098c"
]
]
},
{
- "id": "aa05a333.09241",
+ "id": "2030d34.407f32c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1451.0081024169922,
- "y": 748.0040704011917,
- "z": "54b5b8b7.025628",
+ "x": 1465.0081024169922,
+ "y": 773.0040684938431,
+ "z": "8f678717.6ce918",
"wires": [
[
- "45b20afa.d404e4"
+ "f69a83eb.44d4d"
]
]
},
{
- "id": "5020b41b.37af8c",
+ "id": "841cfed1.a1254",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3003.2584648132324,
- "y": 835.5040974617004,
- "z": "54b5b8b7.025628",
+ "x": 3017.2584648132324,
+ "y": 860.5040955543518,
+ "z": "8f678717.6ce918",
"wires": [
[
- "285e8b02.5f5364"
+ "e784ebf1.08c898"
]
]
},
{
- "id": "f8bdb397.3f361",
+ "id": "9be03c3c.6339a",
"type": "set",
"name": "set prop.attach.siteId",
"xml": "<set>\n<parameter name='prop.attach.siteId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$sidx].value`' />\n",
"comments": "",
- "x": 3394.259147644043,
- "y": 788.5041995048523,
- "z": "54b5b8b7.025628",
+ "x": 3408.259147644043,
+ "y": 813.5041975975037,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "285e8b02.5f5364",
+ "id": "e784ebf1.08c898",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3162.5086555480957,
- "y": 831.0041375160217,
- "z": "54b5b8b7.025628",
+ "x": 3176.5086555480957,
+ "y": 856.0041356086731,
+ "z": "8f678717.6ce918",
"wires": [
[
- "f8bdb397.3f361",
- "ca69f782.4f6db8",
- "91acccd4.f9b4d"
+ "9be03c3c.6339a",
+ "9e178a26.f11d98",
+ "464c0296.a1e48c"
]
]
},
{
- "id": "b9762c75.21e69",
+ "id": "2a8eeeae.a97fe2",
"type": "execute",
"name": "execute RestApiCallNode device port create",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-port.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/ports'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"portResp\"/>\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": 669.0351696014404,
- "y": 1681.0783828496933,
- "z": "54b5b8b7.025628",
+ "x": 683.0351696014404,
+ "y": 1706.0783809423447,
+ "z": "8f678717.6ce918",
"wires": [
[
- "2da7ca99.c33e76",
- "294e6b7c.164174"
+ "4fb32b06.22de74",
+ "2ccfd494.b7778c"
]
]
},
{
- "id": "2da7ca99.c33e76",
+ "id": "4fb32b06.22de74",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 915.035228729248,
- "y": 1695.0785164833069,
- "z": "54b5b8b7.025628",
+ "x": 929.035228729248,
+ "y": 1720.0785145759583,
+ "z": "8f678717.6ce918",
"wires": [
[
- "78f113d9.71ae5c"
+ "174c6392.45d36c"
]
]
},
{
- "id": "294e6b7c.164174",
+ "id": "2ccfd494.b7778c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 915.035228729248,
- "y": 1657.0783519744873,
- "z": "54b5b8b7.025628",
+ "x": 929.035228729248,
+ "y": 1682.0783500671387,
+ "z": "8f678717.6ce918",
"wires": [
[
- "bdca7d72.89f35"
+ "f32d5720.b004a8"
]
]
},
{
- "id": "bdca7d72.89f35",
+ "id": "f32d5720.b004a8",
"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 device port rest api\" />\n",
"comments": "",
- "x": 1059.0355625152588,
- "y": 1656.0783514976501,
- "z": "54b5b8b7.025628",
+ "x": 1073.0355625152588,
+ "y": 1681.0783495903015,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "78f113d9.71ae5c",
+ "id": "174c6392.45d36c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1062.0352401733398,
- "y": 1696.0783553123474,
- "z": "54b5b8b7.025628",
+ "x": 1076.0352401733398,
+ "y": 1721.0783534049988,
+ "z": "8f678717.6ce918",
"wires": [
[]
]
},
{
- "id": "67323544.ab409c",
+ "id": "789e7d3a.85d8f4",
"type": "set",
"name": "set prop.lan.devicePortId",
"xml": "<set>\n<parameter name='prop.lan.devicePortId' value='`$portResp.success[0].id`' />\n",
"comments": "",
- "x": 608.6924304962158,
- "y": 1734.179515361786,
- "z": "54b5b8b7.025628",
+ "x": 622.6924304962158,
+ "y": 1759.1795134544373,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "52d8036.d8251fc",
+ "id": "c8e5454e.a5f2d8",
"type": "comment",
"name": "Create port",
"info": "",
"comments": "",
- "x": 567.7011089324951,
- "y": 1647.522334575653,
- "z": "54b5b8b7.025628",
+ "x": 581.7011089324951,
+ "y": 1672.5223326683044,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "a812fb94.72ecd8",
+ "id": "dee417c.1c53be8",
"type": "call",
"name": "call sdwan-get-tenant-auth",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 606.7011108398438,
- "y": 1418.1887378692627,
- "z": "54b5b8b7.025628",
+ "x": 620.7011108398438,
+ "y": 1443.188735961914,
+ "z": "8f678717.6ce918",
"wires": [
[]
]
},
{
- "id": "49f7e1ca.47a1d",
+ "id": "73930f6d.bd40a",
"type": "execute",
"name": "execute RestApiCallNode bridge domain create",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-bridge-domain.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/bridge-domains'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"bridgeDomainResp\"/>\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": 1088.6854190826416,
- "y": 1776.188939332962,
- "z": "54b5b8b7.025628",
+ "x": 1102.6854190826416,
+ "y": 1801.1889374256134,
+ "z": "8f678717.6ce918",
"wires": [
[
- "90e9cae2.8856e8",
- "e415727a.32568"
+ "f4939515.e934a8",
+ "7fbfd7f1.fe5c88"
]
]
},
{
- "id": "90e9cae2.8856e8",
+ "id": "f4939515.e934a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1409.6854457855225,
- "y": 1793.1892597675323,
- "z": "54b5b8b7.025628",
+ "x": 1423.6854457855225,
+ "y": 1818.1892578601837,
+ "z": "8f678717.6ce918",
"wires": [
[
- "e9c18e15.5844e"
+ "b71c12a.f5b84f"
]
]
},
{
- "id": "e415727a.32568",
+ "id": "7fbfd7f1.fe5c88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1412.6854724884033,
- "y": 1758.189041376114,
- "z": "54b5b8b7.025628",
+ "x": 1426.6854724884033,
+ "y": 1783.1890394687653,
+ "z": "8f678717.6ce918",
"wires": [
[
- "7758ee8.0aa2e1"
+ "e1ceccd5.e3c8a"
]
]
},
{
- "id": "7758ee8.0aa2e1",
+ "id": "e1ceccd5.e3c8a",
"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 bridge domain rest api\" />\n",
"comments": "",
- "x": 1615.6858615875244,
- "y": 1754.1891486644745,
- "z": "54b5b8b7.025628",
+ "x": 1629.6858615875244,
+ "y": 1779.1891467571259,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "e9c18e15.5844e",
+ "id": "b71c12a.f5b84f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1616.6854267120361,
- "y": 1789.1890151500702,
- "z": "54b5b8b7.025628",
+ "x": 1630.6854267120361,
+ "y": 1814.1890132427216,
+ "z": "8f678717.6ce918",
"wires": [
- []
+ [
+ "a9b33c49.c3bcd"
+ ]
]
},
{
- "id": "5596dd8.d4db124",
+ "id": "a6aa3698.83f238",
"type": "comment",
"name": "Create bridge domain",
"info": "",
"comments": "",
- "x": 1032.351312637329,
- "y": 1742.6331651210785,
- "z": "54b5b8b7.025628",
+ "x": 1046.351312637329,
+ "y": 1767.6331632137299,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "b8bc82a8.8f71c",
+ "id": "ff74d1ed.accce",
"type": "switchNode",
"name": "switch portSwitch",
"xml": "<switch test=\"`$prop.lan.portSwitch == 'layer2-port'`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 588.4628849029541,
- "y": 1777.855571269989,
- "z": "54b5b8b7.025628",
+ "x": 602.4628849029541,
+ "y": 1802.8555693626404,
+ "z": "8f678717.6ce918",
"wires": [
[
- "9b68044d.8003c8"
+ "e5cd78cd.5d2488"
]
]
},
{
- "id": "9b68044d.8003c8",
+ "id": "e5cd78cd.5d2488",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 767.4629154205322,
- "y": 1777.9668936729431,
- "z": "54b5b8b7.025628",
+ "x": 781.4629154205322,
+ "y": 1802.9668917655945,
+ "z": "8f678717.6ce918",
"wires": [
[
- "49f7e1ca.47a1d"
+ "73930f6d.bd40a"
]
]
},
{
- "id": "af677f19.b868e",
+ "id": "f32683d3.4b28a",
"type": "execute",
"name": "execute split ip and mask",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.lan.ipAddress`'/>\n<parameter name=\"regex\" value=\"/\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"ipandMask\"/>\n",
"comments": "",
"outputs": 1,
- "x": 610.0079498291016,
- "y": 1125.75403881073,
- "z": "54b5b8b7.025628",
+ "x": 624.0079498291016,
+ "y": 1150.7540369033813,
+ "z": "8f678717.6ce918",
"wires": [
[
- "818ce376.62233",
- "94450d41.00936"
+ "c682732c.1b619",
+ "a0542b6d.df6248"
]
]
},
{
- "id": "94450d41.00936",
+ "id": "a0542b6d.df6248",
"type": "failure",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 811.0079689025879,
- "y": 1103.7540302276611,
- "z": "54b5b8b7.025628",
+ "x": 825.0079689025879,
+ "y": 1128.7540283203125,
+ "z": "8f678717.6ce918",
"wires": [
[
- "bdf6adef.1a65c"
+ "c4664b45.9bda68"
]
]
},
{
- "id": "818ce376.62233",
+ "id": "c682732c.1b619",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 811.0079727172852,
- "y": 1144.7540340423584,
- "z": "54b5b8b7.025628",
+ "x": 825.0079727172852,
+ "y": 1169.7540321350098,
+ "z": "8f678717.6ce918",
"wires": [
[
- "9306915f.667d1"
+ "be2b2979.dff578"
]
]
},
{
- "id": "bdf6adef.1a65c",
+ "id": "c4664b45.9bda68",
"type": "set",
"name": "set ipAddress prefixLength",
"xml": "<set>\n<parameter name='prop.lan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.lan.prefixLength' value='`$ipandMask[1]`' />",
"comments": "",
- "x": 1008.0079879760742,
- "y": 1101.7540302276611,
- "z": "54b5b8b7.025628",
+ "x": 1022.0079879760742,
+ "y": 1126.7540283203125,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "9306915f.667d1",
+ "id": "be2b2979.dff578",
"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": 966.0079803466797,
- "y": 1141.754033088684,
- "z": "54b5b8b7.025628",
+ "x": 980.0079803466797,
+ "y": 1166.7540311813354,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "a7eaad12.8d234",
+ "id": "cae7c761.8a48d8",
"type": "comment",
"name": "Create wan port",
"info": "",
"comments": "",
- "x": 586.0177555084229,
- "y": 1830.7641711235046,
- "z": "54b5b8b7.025628",
+ "x": 600.0177555084229,
+ "y": 1855.764169216156,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "1c53f052.63589",
+ "id": "a78777a6.efc058",
"type": "comment",
"name": "TODO: split ip/mask",
"info": "",
"comments": "",
- "x": 1010.0175495147705,
- "y": 1815.9343848228455,
- "z": "54b5b8b7.025628",
+ "x": 1024.0175495147705,
+ "y": 1840.9343829154968,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "b74ec81a.384238",
+ "id": "2b29c48d.675bdc",
"type": "execute",
"name": "execute RestApiCallNode IPSubnets create",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-ip-subnets.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/ip-subnets'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"lanPortResp\"/>\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": 676.7792358398438,
- "y": 1898.8749904632568,
- "z": "54b5b8b7.025628",
+ "x": 690.7792358398438,
+ "y": 1923.8749885559082,
+ "z": "8f678717.6ce918",
"wires": [
[
- "23e6b6aa.7344ca",
- "c063d0d7.3d16a"
+ "d75115d2.ddadb8",
+ "1522b134.0365cf"
]
]
},
{
- "id": "c063d0d7.3d16a",
+ "id": "1522b134.0365cf",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 945.7792663574219,
- "y": 1885.8749628067017,
- "z": "54b5b8b7.025628",
+ "x": 959.7792663574219,
+ "y": 1910.874960899353,
+ "z": "8f678717.6ce918",
"wires": [
[
- "8e16c4db.999008"
+ "4e7a2718.c54bb8"
]
]
},
{
- "id": "23e6b6aa.7344ca",
+ "id": "d75115d2.ddadb8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 942.779239654541,
- "y": 1920.8751811981201,
- "z": "54b5b8b7.025628",
+ "x": 956.779239654541,
+ "y": 1945.8751792907715,
+ "z": "8f678717.6ce918",
"wires": [
[
- "c72550d5.e3c3a"
+ "921eb416.d975f8"
]
]
},
{
- "id": "8e16c4db.999008",
+ "id": "4e7a2718.c54bb8",
"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 device port rest api\" />\n",
"comments": "",
- "x": 1098.7796478271484,
- "y": 1881.8751888275146,
- "z": "54b5b8b7.025628",
+ "x": 1112.7796478271484,
+ "y": 1906.875186920166,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "c72550d5.e3c3a",
+ "id": "921eb416.d975f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1089.7792205810547,
- "y": 1921.8749370574951,
- "z": "54b5b8b7.025628",
+ "x": 1103.7792205810547,
+ "y": 1946.8749351501465,
+ "z": "8f678717.6ce918",
"wires": [
[
- "4df7140a.3b523c"
+ "56dec516.1d914c"
]
]
},
{
- "id": "4df7140a.3b523c",
+ "id": "56dec516.1d914c",
"type": "set",
"name": "set prop.lan.lanPortId",
- "xml": "<set>\n<parameter name='prop.lan.lanPortId' value='`lanPortResp.success[0].id`' />\n",
+ "xml": "<set>\n<parameter name='prop.lan.lanPortId' value='`$lanPortResp.success[0].id`' />\n",
"comments": "",
- "x": 1296.6683235168457,
- "y": 1924.2084035873413,
- "z": "54b5b8b7.025628",
+ "x": 1310.6683235168457,
+ "y": 1949.2084016799927,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "bb7f5a63.9f3828",
+ "id": "d176642b.9b7848",
"type": "execute",
"name": "execute RestApiCallNode create vpn topology",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-topology.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpnId + '/topology'`\" />\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=\"put\"/>\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": 674.2896537780762,
- "y": 1587.5840225219727,
- "z": "54b5b8b7.025628",
+ "x": 688.2896537780762,
+ "y": 1612.584020614624,
+ "z": "8f678717.6ce918",
"wires": [
[
- "5f34ded5.63106",
- "676b6124.5f3ce"
+ "808ba7f7.1823b8",
+ "c4951686.b75398"
]
]
},
{
- "id": "676b6124.5f3ce",
+ "id": "c4951686.b75398",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 922.2895374298096,
- "y": 1613.5833998918533,
- "z": "54b5b8b7.025628",
+ "x": 936.2895374298096,
+ "y": 1638.5833979845047,
+ "z": "8f678717.6ce918",
"wires": [
[
- "f979e24a.e1f45"
+ "784c02db.e6a95c"
]
]
},
{
- "id": "f979e24a.e1f45",
+ "id": "784c02db.e6a95c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1092.2894763946533,
- "y": 1616.5833998918533,
- "z": "54b5b8b7.025628",
+ "x": 1106.2894763946533,
+ "y": 1641.5833979845047,
+ "z": "8f678717.6ce918",
"wires": [
[]
]
},
{
- "id": "cc2c04a4.b165e8",
+ "id": "38bcf7f.a17ed08",
"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 topology failed\" />\n",
"comments": "",
- "x": 1092.2895984649658,
- "y": 1572.5833998918533,
- "z": "54b5b8b7.025628",
+ "x": 1106.2895984649658,
+ "y": 1597.5833979845047,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "5f34ded5.63106",
+ "id": "808ba7f7.1823b8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 925.2894763946533,
- "y": 1572.5833998918533,
- "z": "54b5b8b7.025628",
+ "x": 939.2894763946533,
+ "y": 1597.5833979845047,
+ "z": "8f678717.6ce918",
"wires": [
[
- "cc2c04a4.b165e8"
+ "38bcf7f.a17ed08"
]
]
},
{
- "id": "c04f18a6.eec778",
+ "id": "19b08536.47a7ab",
"type": "execute",
"name": "execute RestApiCallNode create vpn ",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn'`\" />\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=\"put\"/>\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": 645.2879791259766,
- "y": 1498.0830821990967,
- "z": "54b5b8b7.025628",
+ "x": 659.2879791259766,
+ "y": 1523.083080291748,
+ "z": "8f678717.6ce918",
"wires": [
[
- "97764cff.1f5ea",
- "ea83fcec.06662"
+ "8d4926aa.0dedd8",
+ "34aad35b.eecf2c"
]
]
},
{
- "id": "ea83fcec.06662",
+ "id": "34aad35b.eecf2c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 866.2878818511963,
- "y": 1520.0830479860306,
- "z": "54b5b8b7.025628",
+ "x": 880.2878818511963,
+ "y": 1545.083046078682,
+ "z": "8f678717.6ce918",
"wires": [
[
- "70ae34b5.54dd0c"
+ "29a5b00a.563c1"
]
]
},
{
- "id": "70ae34b5.54dd0c",
+ "id": "29a5b00a.563c1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1036.28782081604,
- "y": 1523.0830479860306,
- "z": "54b5b8b7.025628",
+ "x": 1050.28782081604,
+ "y": 1548.083046078682,
+ "z": "8f678717.6ce918",
"wires": [
[]
]
},
{
- "id": "98836605.c54338",
+ "id": "f02161da.6bf6a",
"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 failed\" />\n",
"comments": "",
- "x": 1036.2879428863525,
- "y": 1479.0830479860306,
- "z": "54b5b8b7.025628",
+ "x": 1050.2879428863525,
+ "y": 1504.083046078682,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "97764cff.1f5ea",
+ "id": "8d4926aa.0dedd8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 869.28782081604,
- "y": 1479.0830479860306,
- "z": "54b5b8b7.025628",
+ "x": 883.28782081604,
+ "y": 1504.083046078682,
+ "z": "8f678717.6ce918",
"wires": [
[
- "98836605.c54338"
+ "f02161da.6bf6a"
]
]
},
{
- "id": "51c264bd.1cd0cc",
+ "id": "b00f339b.1e85c",
"type": "switchNode",
"name": "switch ActivateSDWANVpnInstance",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANVpnInstance'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1235.2898559570312,
- "y": 900.3332679271698,
- "z": "54b5b8b7.025628",
+ "x": 1249.2898559570312,
+ "y": 925.3332660198212,
+ "z": "8f678717.6ce918",
"wires": [
[
- "425067a.9f0ee98"
+ "98de150a.a898a8"
]
]
},
{
- "id": "6936e75f.9c21b8",
+ "id": "adf19321.c13fa",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 964.6229438781738,
- "y": 798.3333374261856,
- "z": "54b5b8b7.025628",
+ "x": 978.6229438781738,
+ "y": 823.333335518837,
+ "z": "8f678717.6ce918",
"wires": [
[
- "cea7983f.defeb8",
- "51c264bd.1cd0cc"
+ "d899ea3c.cf2f28",
+ "b00f339b.1e85c"
]
]
},
{
- "id": "425067a.9f0ee98",
+ "id": "98de150a.a898a8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1330.9563674926758,
- "y": 974.3333489894867,
- "z": "54b5b8b7.025628",
+ "x": 1344.9563674926758,
+ "y": 999.3333470821381,
+ "z": "8f678717.6ce918",
"wires": [
[
- "c1956959.4be878"
+ "8e6a1b76.fca5b8"
]
]
},
{
- "id": "c1956959.4be878",
+ "id": "8e6a1b76.fca5b8",
"type": "for",
"name": "for vf-modules.vf-module_length",
"xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1545.2062530517578,
- "y": 975.8333256244659,
- "z": "54b5b8b7.025628",
+ "x": 1559.2062530517578,
+ "y": 1000.8333237171173,
+ "z": "8f678717.6ce918",
"wires": [
[
- "d2a805b2.ac7b88"
+ "beead211.571e7"
]
]
},
{
- "id": "2b39b5dd.e8366a",
+ "id": "cdf1bbb6.bd8ba8",
"type": "switchNode",
"name": "switch vpn-id",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'vpn-id'`\">\n \n\n\n",
"comments": "",
"outputs": 1,
- "x": 1942.2064056396484,
- "y": 993.8333772420883,
- "z": "54b5b8b7.025628",
+ "x": 1957.2064361572266,
+ "y": 1015.8333911895752,
+ "z": "8f678717.6ce918",
"wires": [
[
- "3ae5efa1.57a7"
+ "1fffc0b9.a8833f"
]
]
},
{
- "id": "3ae5efa1.57a7",
+ "id": "1fffc0b9.a8833f",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2092.9563598632812,
- "y": 995.3332928419113,
- "z": "54b5b8b7.025628",
+ "x": 2106.9563598632812,
+ "y": 1020.3332909345627,
+ "z": "8f678717.6ce918",
"wires": [
[
- "3180f641.87c8ba"
+ "92af9681.b05978"
]
]
},
{
- "id": "3180f641.87c8ba",
+ "id": "92af9681.b05978",
"type": "set",
"name": "set prop.vpnId",
"xml": "<set>\n<parameter name='prop.vpnId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",
"comments": "",
- "x": 2266.9571075439453,
- "y": 995.3333512544632,
- "z": "54b5b8b7.025628",
+ "x": 2280.9571075439453,
+ "y": 1020.3333493471146,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "ca69f782.4f6db8",
+ "id": "9e178a26.f11d98",
"type": "set",
"name": "Add sites to list and update length",
"xml": "<set>\n<parameter name='prop.siteIds[$prop.siteIds_length]' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteIds_length' value='`$prop.siteIds_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 3430.290397644043,
- "y": 843.333466053009,
- "z": "54b5b8b7.025628",
+ "x": 3444.290397644043,
+ "y": 868.3334641456604,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "91acccd4.f9b4d",
+ "id": "464c0296.a1e48c",
"type": "set",
"name": "Add site attachement to list and update length",
"xml": "<set>\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].siteId' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles[0]' value='`$prop.role`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles_length' value='1' />\n<parameter name='prop.siteAttachements_length' value='`$prop.siteAttachements_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n",
"comments": "",
- "x": 3461.2902221679688,
- "y": 893.3334164619446,
- "z": "54b5b8b7.025628",
+ "x": 3475.2902221679688,
+ "y": 918.333414554596,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "5684b01b.2cc86",
+ "id": "3b4bc5c6.e4f6ca",
"type": "set",
"name": "set prop.siteAttachement_length=0",
"xml": "<set>\n<parameter name='prop.siteAttachements_length' value='0' />\n<parameter name='prop.siteIds_length' value='0' />\n\n\n\n",
"comments": "",
- "x": 636.2896194458008,
- "y": 595.3333307504654,
- "z": "54b5b8b7.025628",
+ "x": 650.2896194458008,
+ "y": 620.3333288431168,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "e157d21e.75dc",
+ "id": "929e0fdf.a14df",
"type": "switchNode",
"name": "switch role",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'role'`\">\n \n\n\n",
"comments": "",
"outputs": 1,
- "x": 2172.956443786621,
- "y": 731.3333559036255,
- "z": "54b5b8b7.025628",
+ "x": 2186.956443786621,
+ "y": 756.3333539962769,
+ "z": "8f678717.6ce918",
"wires": [
[
- "91af0190.6f383"
+ "748a3dbb.4abc94"
]
]
},
{
- "id": "91af0190.6f383",
+ "id": "748a3dbb.4abc94",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2336.9564476013184,
- "y": 731.3333559036255,
- "z": "54b5b8b7.025628",
+ "x": 2350.9564476013184,
+ "y": 756.3333539962769,
+ "z": "8f678717.6ce918",
"wires": [
[
- "71599403.d1a60c"
+ "63238f0b.0c796"
]
]
},
{
- "id": "71599403.d1a60c",
+ "id": "63238f0b.0c796",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2524.956615447998,
- "y": 716.3333549499512,
- "z": "54b5b8b7.025628",
+ "x": 2538.956615447998,
+ "y": 741.3333530426025,
+ "z": "8f678717.6ce918",
"wires": [
[
- "7213abe2.551d54",
- "f3a9e626.ca5db8",
- "a1885c07.3d09a"
+ "778462c0.19820c",
+ "4b6f7aba.421804",
+ "7959c34a.0b74cc"
]
]
},
{
- "id": "f3a9e626.ca5db8",
+ "id": "4b6f7aba.421804",
"type": "switchNode",
"name": "switch sd-wan-edge",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == 'sd-wan-edge'`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 2719.956745147705,
- "y": 677.3333463668823,
- "z": "54b5b8b7.025628",
+ "x": 2733.956745147705,
+ "y": 702.3333444595337,
+ "z": "8f678717.6ce918",
"wires": [
[
- "de11bb23.ad1648"
+ "d2392f6d.dd3f8"
]
]
},
{
- "id": "7213abe2.551d54",
+ "id": "778462c0.19820c",
"type": "switchNode",
"name": "switch dsvpn-hub",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == 'dsvpn-hub'`\">\n \n\n\n",
"comments": "",
"outputs": 1,
- "x": 2716.9568519592285,
- "y": 732.33336186409,
- "z": "54b5b8b7.025628",
+ "x": 2730.9568519592285,
+ "y": 757.3333599567413,
+ "z": "8f678717.6ce918",
"wires": [
[
- "19121485.c6be8b"
+ "6240c68b.ec5338"
]
]
},
{
- "id": "cab86296.3a26c",
+ "id": "9130115c.24fe5",
"type": "set",
"name": "set spoke role",
"xml": "<set>\n<parameter name='prop.role' value=\"spoke\" />\n",
"comments": "",
- "x": 3049.9568672180176,
- "y": 671.3333921432495,
- "z": "54b5b8b7.025628",
+ "x": 3063.9568672180176,
+ "y": 696.3333902359009,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "856c6a7c.0a9268",
+ "id": "f5deb026.df82c",
"type": "set",
"name": "set hub role",
"xml": "<set>\n<parameter name='prop.role' value=\"hub\" />\n",
"comments": "",
- "x": 3048.95662689209,
- "y": 726.3333759307861,
- "z": "54b5b8b7.025628",
+ "x": 3062.95662689209,
+ "y": 751.3333740234375,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "de11bb23.ad1648",
+ "id": "d2392f6d.dd3f8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2889.956714630127,
- "y": 673.000020980835,
- "z": "54b5b8b7.025628",
+ "x": 2903.956714630127,
+ "y": 698.0000190734863,
+ "z": "8f678717.6ce918",
"wires": [
[
- "cab86296.3a26c"
+ "9130115c.24fe5"
]
]
},
{
- "id": "19121485.c6be8b",
+ "id": "6240c68b.ec5338",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2893.956714630127,
- "y": 728.000020980835,
- "z": "54b5b8b7.025628",
+ "x": 2907.956714630127,
+ "y": 753.0000190734863,
+ "z": "8f678717.6ce918",
"wires": [
[
- "856c6a7c.0a9268"
+ "f5deb026.df82c"
]
]
},
{
- "id": "a98e7add.71df78",
+ "id": "42792fe4.bec31",
"type": "update",
"name": "update SDWAN VPN status to AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='lan-port-config' \n key='lan-port-config.lan-port-config-id = $vf-module-topology-operation-input.vf-module-information.vf-module-id' >\n<parameter name='lan-port-config-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='operational-status' value='Active' />\n<!--parameter name='lan-port-config-id' value='`$prop.lan-port-config-id`' /-->\n",
"comments": "",
"outputs": 1,
- "x": 635.3209457397461,
- "y": 2227.0313925743103,
- "z": "54b5b8b7.025628",
+ "x": 672.320972442627,
+ "y": 2394.0313868522644,
+ "z": "8f678717.6ce918",
"wires": [
[]
]
},
{
- "id": "e03228a1.7c0b08",
+ "id": "1aaf5076.12a2d",
"type": "set",
"name": "set vf-module-level-oper-status",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.order-status' value='Active' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-rpc-action' value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-action' value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />",
"comments": "",
- "x": 629.9559669494629,
- "y": 2172.1263179779053,
- "z": "54b5b8b7.025628",
+ "x": 666.9559936523438,
+ "y": 2339.1263122558594,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "f005bd73.83921",
+ "id": "ac4f31e9.8674f",
"type": "set",
"name": "set vf-module-id and vf-module-object-path",
"xml": "<set>\n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",
"comments": "",
- "x": 665.9559669494629,
- "y": 2125.626256942749,
- "z": "54b5b8b7.025628",
+ "x": 702.9559936523438,
+ "y": 2292.626251220703,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "3b06c257.27b87e",
+ "id": "a812e63e.3da708",
"type": "set",
"name": "copy input data in service-data",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n",
"comments": "",
- "x": 629.9559173583984,
- "y": 2073.8761768341064,
- "z": "54b5b8b7.025628",
+ "x": 667.9559326171875,
+ "y": 2237.876220703125,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "d5b2bc3d.8d9a6",
+ "id": "ff0e83f6.a79dc",
"type": "set",
"name": "set device PortId to service data",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='devicePortId' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.lan.devicePortId`' />\n",
"comments": "",
- "x": 636.3209838867188,
- "y": 1967.0315761566162,
- "z": "54b5b8b7.025628",
+ "x": 671.3209762573242,
+ "y": 1981.0317306518555,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "b83326ad.562c28",
+ "id": "6fe14a72.8a26c4",
"type": "set",
"name": "set lan PortId to service data",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='lanPortId' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.lan.lanPortId`' />\n",
"comments": "",
- "x": 622.3209075927734,
- "y": 2021.0313892364502,
- "z": "54b5b8b7.025628",
+ "x": 665.320915222168,
+ "y": 2066.031364440918,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "b435bcc5.258",
+ "id": "b8234051.e1603",
"type": "switchNode",
"name": "switch vf-modules.vf-module_length",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length >= '0'`\">\n\n<!--switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\"-->\n",
"comments": "",
"outputs": 1,
- "x": 851.5038909912109,
- "y": 518.2539068460464,
- "z": "54b5b8b7.025628",
+ "x": 865.5038909912109,
+ "y": 543.2539049386978,
+ "z": "8f678717.6ce918",
"wires": [
[
- "6bafbe6f.aa9fa"
+ "16d3b783.0cd918"
]
]
},
{
- "id": "6bafbe6f.aa9fa",
+ "id": "16d3b783.0cd918",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 957.50390625,
- "y": 569.2539068460464,
- "z": "54b5b8b7.025628",
+ "x": 971.50390625,
+ "y": 594.2539049386978,
+ "z": "8f678717.6ce918",
"wires": [
[
- "6df05552.51f26c"
+ "5cba566.e5faea8"
]
]
},
{
- "id": "ae8078e2.85aab8",
+ "id": "a1edaa1e.9827b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 651.7539138793945,
- "y": 479.003905415535,
- "z": "54b5b8b7.025628",
+ "x": 665.7539138793945,
+ "y": 504.00390350818634,
+ "z": "8f678717.6ce918",
"wires": [
[
- "b435bcc5.258"
+ "b8234051.e1603"
]
]
},
{
- "id": "6df05552.51f26c",
+ "id": "5cba566.e5faea8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1109.753890991211,
- "y": 566.0039287805557,
- "z": "54b5b8b7.025628",
+ "x": 1123.753890991211,
+ "y": 591.0039268732071,
+ "z": "8f678717.6ce918",
"wires": [
[
- "8567646d.1060f8"
+ "f2af207f.056ba"
]
]
},
{
- "id": "fb5d6670.5ef758",
+ "id": "88689a59.1525c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1853.5039710998535,
- "y": 564.0039125680923,
- "z": "54b5b8b7.025628",
+ "x": 1867.5039710998535,
+ "y": 589.0039106607437,
+ "z": "8f678717.6ce918",
"wires": [
[
- "80043aea.5219e8"
+ "498120cb.bf483"
]
]
},
{
- "id": "6484dde4.eec674",
+ "id": "2a8efd4f.307a02",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 889.2539329528809,
- "y": 1200.7540191113949,
- "z": "54b5b8b7.025628",
+ "x": 903.2539329528809,
+ "y": 1225.7540172040462,
+ "z": "8f678717.6ce918",
"wires": [
[
- "a1390712.a62bc8"
+ "c5e91ad3.94c708"
]
]
},
{
- "id": "ad9df864.da7a08",
+ "id": "76b0b1a9.365ed",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 892.7448997497559,
- "y": 1248.3280547559261,
- "z": "54b5b8b7.025628",
+ "x": 906.7448997497559,
+ "y": 1273.3280528485775,
+ "z": "8f678717.6ce918",
"wires": [
[
- "90fe71ad.3f6b8"
+ "ca44fd4d.9a232"
]
]
},
{
- "id": "eb0b9e44.3ab32",
+ "id": "1a464e8d.d61281",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 888.0779075622559,
- "y": 1289.6613677442074,
- "z": "54b5b8b7.025628",
+ "x": 902.0779075622559,
+ "y": 1314.6613658368587,
+ "z": "8f678717.6ce918",
"wires": [
[
- "71113a16.58bf04"
+ "8ed5a0be.2020f"
]
]
},
{
- "id": "90fe71ad.3f6b8",
+ "id": "ca44fd4d.9a232",
"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": 1069.3163108825684,
- "y": 1236.6137908399105,
- "z": "54b5b8b7.025628",
+ "x": 1083.3163108825684,
+ "y": 1261.6137889325619,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "71113a16.58bf04",
+ "id": "8ed5a0be.2020f",
"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": 1075.8504638671875,
- "y": 1285.100560516119,
- "z": "54b5b8b7.025628",
+ "x": 1089.8504638671875,
+ "y": 1310.1005586087704,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "dee3d47e.3afa78",
+ "id": "5729e228.1a118c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 891.2540054321289,
- "y": 1343.7540493011475,
- "z": "54b5b8b7.025628",
+ "x": 905.2540054321289,
+ "y": 1368.7540473937988,
+ "z": "8f678717.6ce918",
"wires": [
[
- "511dbf29.862b4"
+ "b11fa2f9.fb7d9"
]
]
},
{
- "id": "1b95ad69.b293e3",
+ "id": "9ae06886.9dad78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 883.5040054321289,
- "y": 1397.3969326019287,
- "z": "54b5b8b7.025628",
+ "x": 897.5040054321289,
+ "y": 1422.39693069458,
+ "z": "8f678717.6ce918",
"wires": [
[
- "b6fcc0f6.ed652"
+ "63364892.2ff828"
]
]
},
{
- "id": "511dbf29.862b4",
+ "id": "b11fa2f9.fb7d9",
"type": "set",
"name": "set token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
"comments": "",
- "x": 1041.2539329528809,
- "y": 1344.754017829895,
- "z": "54b5b8b7.025628",
+ "x": 1055.2539329528809,
+ "y": 1369.7540159225464,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "b6fcc0f6.ed652",
+ "id": "63364892.2ff828",
"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": 1036.254005432129,
- "y": 1397.146993637085,
- "z": "54b5b8b7.025628",
+ "x": 1050.254005432129,
+ "y": 1422.1469917297363,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "a1390712.a62bc8",
+ "id": "c5e91ad3.94c708",
"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",
"comments": "",
- "x": 1084.7540130615234,
- "y": 1195.754023551941,
- "z": "54b5b8b7.025628",
+ "x": 1098.7540130615234,
+ "y": 1220.7540216445923,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "f78f25c0.9e44a8",
+ "id": "d0669f94.595ad",
"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": 642.2539825439453,
- "y": 1366.754126548767,
- "z": "54b5b8b7.025628",
+ "x": 656.2539825439453,
+ "y": 1391.7541246414185,
+ "z": "8f678717.6ce918",
"wires": [
[
- "dee3d47e.3afa78",
- "1b95ad69.b293e3"
+ "5729e228.1a118c",
+ "9ae06886.9dad78"
]
]
},
{
- "id": "955e1b88.3ac648",
+ "id": "f49389c2.437958",
"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 = 'SDWANController' AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
- "x": 627.2540512084961,
- "y": 1247.75403881073,
- "z": "54b5b8b7.025628",
+ "x": 641.2540512084961,
+ "y": 1272.7540369033813,
+ "z": "8f678717.6ce918",
"wires": [
[
- "6484dde4.eec674",
- "ad9df864.da7a08",
- "eb0b9e44.3ab32"
+ "2a8efd4f.307a02",
+ "76b0b1a9.365ed",
+ "1a464e8d.d61281"
]
]
},
{
- "id": "e3c5f502.462e18",
+ "id": "e3da978e.7b4c98",
"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": 611.00390625,
- "y": 298.50390684604645,
- "z": "54b5b8b7.025628",
+ "x": 625.00390625,
+ "y": 323.5039049386978,
+ "z": "8f678717.6ce918",
"wires": [
[]
]
},
{
- "id": "df2e3f53.8ca7",
+ "id": "707326cf.03f308",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2552.5039863586426,
- "y": 587.7539157867432,
- "z": "54b5b8b7.025628",
+ "x": 2566.5039863586426,
+ "y": 612.7539138793945,
+ "z": "8f678717.6ce918",
"wires": [
[
- "df6bb2fa.c17ef",
- "f982878a.d924a8"
+ "d4d9dbbb.648b58",
+ "e2915ee2.8ebb7"
]
]
},
{
- "id": "f982878a.d924a8",
+ "id": "e2915ee2.8ebb7",
"type": "set",
"name": "set site-vnf-index",
"xml": "<set>\n<parameter name='site-vnf-index' value='`$vnfidx`' />\n",
"comments": "",
- "x": 2761.50390625,
- "y": 605.75390625,
- "z": "54b5b8b7.025628",
+ "x": 2775.50390625,
+ "y": 630.7539043426514,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "2a5aae1a.c1b0a2",
+ "id": "c34ad6a3.8e84a8",
"type": "for",
"name": "for vf-modules.vf-module_length",
"xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$site-vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 631.0000305175781,
- "y": 954.6667243242264,
- "z": "54b5b8b7.025628",
+ "x": 645.0000305175781,
+ "y": 979.6667224168777,
+ "z": "8f678717.6ce918",
"wires": [
[
- "a16d9ee5.ca4f8"
+ "5417e4ec.44e0fc"
]
]
},
{
- "id": "a16d9ee5.ca4f8",
+ "id": "5417e4ec.44e0fc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 732.614933013916,
- "y": 1050.9960061311722,
- "z": "54b5b8b7.025628",
+ "x": 746.614933013916,
+ "y": 1075.9960042238235,
+ "z": "8f678717.6ce918",
"wires": [
[
- "b25dce73.2318a"
+ "96fd6203.a93a8"
]
]
},
{
- "id": "b25dce73.2318a",
+ "id": "96fd6203.a93a8",
"type": "switchNode",
"name": "switch ActivateSDWANSiteInstance",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$site-vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`\">\n",
"comments": "",
"outputs": 1,
- "x": 997.0001754760742,
- "y": 1000.6666575670242,
- "z": "54b5b8b7.025628",
+ "x": 1011.0001754760742,
+ "y": 1025.6666556596756,
+ "z": "8f678717.6ce918",
"wires": [
[
- "d392cd81.71967"
+ "ff96c27a.f8b4c"
]
]
},
{
- "id": "d392cd81.71967",
+ "id": "ff96c27a.f8b4c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1219.0000915527344,
- "y": 1000.6667391061783,
- "z": "54b5b8b7.025628",
+ "x": 1233.0000915527344,
+ "y": 1025.6667371988297,
+ "z": "8f678717.6ce918",
"wires": [
[
- "fbfbcd34.6e005"
+ "5c974e6c.9d1de"
]
]
},
{
- "id": "fbfbcd34.6e005",
+ "id": "5c974e6c.9d1de",
"type": "for",
"name": "for vf-modules.vf-module_length",
"xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$site-vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1300.250099182129,
- "y": 1075.1667405366898,
- "z": "54b5b8b7.025628",
+ "x": 1314.250099182129,
+ "y": 1100.1667386293411,
+ "z": "8f678717.6ce918",
"wires": [
[
- "14eee879.fb0a98"
+ "f2c7eaa3.99a658"
]
]
},
{
- "id": "14eee879.fb0a98",
+ "id": "f2c7eaa3.99a658",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1517.6152648925781,
- "y": 1075.9960051774979,
- "z": "54b5b8b7.025628",
+ "x": 1531.6152648925781,
+ "y": 1100.9960032701492,
+ "z": "8f678717.6ce918",
"wires": [
[
- "3e0dbda2.f3d102"
+ "a31b541a.f43428"
]
]
},
{
- "id": "3e0dbda2.f3d102",
+ "id": "a31b541a.f43428",
"type": "switchNode",
"name": "switch siteId",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$site-vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'siteId'`\">\n \n\n\n",
"comments": "",
"outputs": 1,
- "x": 1683.2504577636719,
- "y": 1082.1668478250504,
- "z": "54b5b8b7.025628",
+ "x": 1697.2504577636719,
+ "y": 1107.1668459177017,
+ "z": "8f678717.6ce918",
"wires": [
[
- "d2a4cdf0.bc75d"
+ "acd1f3fa.6df91"
]
]
},
{
- "id": "d2a4cdf0.bc75d",
+ "id": "acd1f3fa.6df91",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1860.2504768371582,
- "y": 1085.1666880846024,
- "z": "54b5b8b7.025628",
+ "x": 1874.2504768371582,
+ "y": 1110.1666861772537,
+ "z": "8f678717.6ce918",
"wires": [
[
- "62ddf11d.87106"
+ "dbf157a8.9bfda8"
]
]
},
{
- "id": "62ddf11d.87106",
+ "id": "dbf157a8.9bfda8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2019.5006675720215,
- "y": 1080.6667281389236,
- "z": "54b5b8b7.025628",
+ "x": 2033.5006675720215,
+ "y": 1105.666726231575,
+ "z": "8f678717.6ce918",
"wires": [
[
- "f40c1288.f6e07"
+ "6d90da35.f2faa4"
]
]
},
{
- "id": "f40c1288.f6e07",
+ "id": "6d90da35.f2faa4",
"type": "set",
"name": "set prop.attach.siteId",
"xml": "<set>\n<parameter name='prop.siteId' value='`$service-data.vnfs.vnf[$site-vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",
"comments": "",
- "x": 2244.2509841918945,
- "y": 1059.1667395830154,
- "z": "54b5b8b7.025628",
+ "x": 2258.2509841918945,
+ "y": 1084.1667376756668,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "d2a805b2.ac7b88",
+ "id": "beead211.571e7",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1768.0000610351562,
- "y": 972.3333503007889,
- "z": "54b5b8b7.025628",
+ "x": 1782.0000610351562,
+ "y": 997.3333483934402,
+ "z": "8f678717.6ce918",
"wires": [
[
- "2b39b5dd.e8366a",
- "15adf9ee.e16a86",
- "2697c7b2.0ecdf8"
+ "cdf1bbb6.bd8ba8",
+ "4590d72e.8fdc58",
+ "c987788c.bf7828"
]
]
},
{
- "id": "15adf9ee.e16a86",
+ "id": "4590d72e.8fdc58",
"type": "switchNode",
"name": "switch name",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'name'`\">\n \n",
"comments": "",
"outputs": 1,
- "x": 1943.000015258789,
- "y": 942.333323597908,
- "z": "54b5b8b7.025628",
+ "x": 1957.000015258789,
+ "y": 967.3333216905594,
+ "z": "8f678717.6ce918",
"wires": [
[
- "76044b62.8da524"
+ "ccda746f.733f78"
]
]
},
{
- "id": "76044b62.8da524",
+ "id": "ccda746f.733f78",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2093.749969482422,
- "y": 943.833239197731,
- "z": "54b5b8b7.025628",
+ "x": 2107.749969482422,
+ "y": 968.8332372903824,
+ "z": "8f678717.6ce918",
"wires": [
[
- "dfeb8378.a414f"
+ "8dafe60a.3c53c8"
]
]
},
{
- "id": "dfeb8378.a414f",
+ "id": "8dafe60a.3c53c8",
"type": "set",
"name": "set prop.name",
"xml": "<set>\n<parameter name='prop.name' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",
"comments": "",
- "x": 2267.750717163086,
- "y": 943.8332976102829,
- "z": "54b5b8b7.025628",
+ "x": 2281.750717163086,
+ "y": 968.8332957029343,
+ "z": "8f678717.6ce918",
"wires": []
},
{
- "id": "3e65957b.505a7a",
+ "id": "28067cd3.bf95d4",
"type": "for",
"name": "for vf-modules.vf-module_length",
"xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1935.2583618164062,
- "y": 730.5041723251343,
- "z": "54b5b8b7.025628",
+ "x": 1949.2583618164062,
+ "y": 755.5041704177856,
+ "z": "8f678717.6ce918",
"wires": [
[
- "e157d21e.75dc"
+ "929e0fdf.a14df"
]
]
},
{
- "id": "6306e7ef.6a3048",
+ "id": "2b01491e.2600e6",
"type": "switchNode",
"name": "switch siteId",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$sidx].name == 'siteId'`\">\n \n\n\n",
"comments": "",
"outputs": 1,
- "x": 2826.258445739746,
- "y": 832.5042572021484,
- "z": "54b5b8b7.025628",
+ "x": 2840.258445739746,
+ "y": 857.5042552947998,
+ "z": "8f678717.6ce918",
"wires": [
[
- "5020b41b.37af8c"
+ "841cfed1.a1254"
]
]
},
{
- "id": "45b20afa.d404e4",
+ "id": "f69a83eb.44d4d",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1649.5312805175781,
- "y": 756.0312795639038,
- "z": "54b5b8b7.025628",
+ "x": 1663.5312805175781,
+ "y": 781.0312776565552,
+ "z": "8f678717.6ce918",
"wires": [
[
- "3e65957b.505a7a"
+ "28067cd3.bf95d4"
]
]
},
{
- "id": "a1885c07.3d09a",
+ "id": "7959c34a.0b74cc",
"type": "for",
"name": "for vf-modules.vf-module_length",
"xml": "<for index='sidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2579.5310440063477,
- "y": 826.0312752723694,
- "z": "54b5b8b7.025628",
+ "x": 2593.5310440063477,
+ "y": 851.0312733650208,
+ "z": "8f678717.6ce918",
"wires": [
[
- "6306e7ef.6a3048"
+ "2b01491e.2600e6"
]
]
},
{
- "id": "2697c7b2.0ecdf8",
+ "id": "c987788c.bf7828",
"type": "switchNode",
"name": "switch topology",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'topology'`\">\n \n",
"comments": "",
"outputs": 1,
- "x": 1941.50390625,
- "y": 882.75390625,
- "z": "54b5b8b7.025628",
+ "x": 1955.50390625,
+ "y": 907.7539043426514,
+ "z": "8f678717.6ce918",
"wires": [
[
- "55a98d99.b2ebc4"
+ "b8a07211.4482a"
]
]
},
{
- "id": "55a98d99.b2ebc4",
+ "id": "b8a07211.4482a",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2092.253860473633,
- "y": 884.253821849823,
- "z": "54b5b8b7.025628",
+ "x": 2106.253860473633,
+ "y": 909.2538199424744,
+ "z": "8f678717.6ce918",
"wires": [
[
- "115c12c5.b366ad"
+ "54d15a4c.97ff74"
]
]
},
{
- "id": "115c12c5.b366ad",
+ "id": "54d15a4c.97ff74",
"type": "set",
"name": "set prop.topology",
"xml": "<set>\n<parameter name='prop.topology' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",
"comments": "",
- "x": 2266.254608154297,
- "y": 884.2538802623749,
- "z": "54b5b8b7.025628",
+ "x": 2280.254608154297,
+ "y": 909.2538783550262,
+ "z": "8f678717.6ce918",
+ "wires": []
+ },
+ {
+ "id": "a9b33c49.c3bcd",
+ "type": "set",
+ "name": "set prop.lan.bridgeDomainId",
+ "xml": "<set>\n<parameter name='prop.lan.bridgeDomainId' value='`$bridgeDomainResp.success[0].id`' />\n",
+ "comments": "",
+ "x": 1861.254005432129,
+ "y": 1812.7539238929749,
+ "z": "8f678717.6ce918",
+ "wires": []
+ },
+ {
+ "id": "e96cc964.57ebf8",
+ "type": "set",
+ "name": "increment lan-port param length",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />\n",
+ "comments": "",
+ "x": 677.5039138793945,
+ "y": 2023.2538995742798,
+ "z": "8f678717.6ce918",
+ "wires": []
+ },
+ {
+ "id": "4c96c619.458ff8",
+ "type": "set",
+ "name": "increment lan-port param length",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />\n",
+ "comments": "",
+ "x": 677.50390625,
+ "y": 2110.25390625,
+ "z": "8f678717.6ce918",
+ "wires": []
+ },
+ {
+ "id": "d5b15ee0.c0558",
+ "type": "set",
+ "name": "set bridge-domainId to service data",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='bridgeDomainId' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.lan.bridgeDomainId`' />\n",
+ "comments": "",
+ "x": 690,
+ "y": 2154,
+ "z": "8f678717.6ce918",
+ "wires": []
+ },
+ {
+ "id": "81047830.c65458",
+ "type": "set",
+ "name": "increment lan-port param length",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />\n",
+ "comments": "",
+ "x": 671.1830062866211,
+ "y": 2197.2225341796875,
+ "z": "8f678717.6ce918",
"wires": []
}
-]
+]
\ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.xml index 45a9bce9..d13b5db5 100644 --- a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.xml +++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.xml @@ -374,7 +374,11 @@ </return>
</outcome>
<outcome value='success'>
- <block atomic="true"></block>
+ <block atomic="true">
+ <set>
+ <parameter name='prop.lan.bridgeDomainId' value='`$bridgeDomainResp.success[0].id`' />
+ </set>
+ </block>
</outcome>
</execute>
</outcome>
@@ -402,7 +406,7 @@ <outcome value='success'>
<block atomic="true">
<set>
- <parameter name='prop.lan.lanPortId' value='`lanPortResp.success[0].id`' />
+ <parameter name='prop.lan.lanPortId' value='`$lanPortResp.success[0].id`' />
</set>
</block>
</outcome>
@@ -412,10 +416,23 @@ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.lan.devicePortId`' />
</set>
<set>
+ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />
+ </set>
+ <set>
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='lanPortId' />
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.lan.lanPortId`' />
</set>
<set>
+ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />
+ </set>
+ <set>
+ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='bridgeDomainId' />
+ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.lan.bridgeDomainId`' />
+ </set>
+ <set>
+ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />
+ </set>
+ <set>
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />
<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />
@@ -458,4 +475,4 @@ </return>
</block>
</method>
-</service-logic>
+</service-logic>
\ No newline at end of file |