aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
diff options
context:
space:
mode:
authorramu.n <ramu.n@huawei.com>2017-10-16 20:53:50 +0530
committerramu.n <ramu.n@huawei.com>2017-10-16 20:53:50 +0530
commit55df8be379e56ebf9a23f3406791386b3ff075ca (patch)
tree1abe810e6d69a1f0b9a37db6c42692cf7e3bab97 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
parentb9e83935cbb19d62730d855cf0e1efbff3ee664d (diff)
Fix underlay DG testing issues
*Use "network-topology-operation-input.sdnc-request-header.svc-action" instead of service-topology-operation-input.sdnc-request-header.svc-action *Fix indexing of network-topology-operation-input.network-request-input.network-input-parameters *Fix sdnc-request-header.svc-action switch case order Change-Id: Icc91131cfc6dca0baacd1df312bfff653c65cb11 Issue-Id: SDNC-131 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: e38045ecf304cb65f348c019ffc859c649e030e8
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json752
1 files changed, 376 insertions, 376 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
index ce0a2fa3..94ee31b3 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
@@ -1,1100 +1,1100 @@
[
{
- "id": "faa0ffba.e89d8",
+ "id": "ddf8122b.bf6e5",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 85,
- "y": 113.04766654968262,
- "z": "d98986ab.861428",
+ "x": 87,
+ "y": 115.04766654968262,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b95f4940.66cc78"
+ "2fff1e3d.63ab82"
]
]
},
{
- "id": "b95f4940.66cc78",
+ "id": "2fff1e3d.63ab82",
"type": "service-logic",
- "name": "GENERIC-RESOURCE-API ${project.version}",
+ "name": "GENERIC-RESOURCE-API 1.2.0-SNAPSHOT",
"module": "GENERIC-RESOURCE-API",
- "version": "${project.version}",
+ "version": "1.2.0-SNAPSHOT",
"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}'>",
+ "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='1.2.0-SNAPSHOT'>",
"outputs": 1,
- "x": 330.2857131958008,
- "y": 112.28574562072754,
- "z": "d98986ab.861428",
+ "x": 332.2857131958008,
+ "y": 114.28574562072754,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "db8880e7.399138"
+ "5d7ec735.0c4ba8"
]
]
},
{
- "id": "db8880e7.399138",
+ "id": "5d7ec735.0c4ba8",
"type": "method",
"name": "method validate-network-input-parameters",
"xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 287.91668701171875,
- "y": 187.30068397521973,
- "z": "d98986ab.861428",
+ "x": 289.91668701171875,
+ "y": 189.30068397521973,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "c2bcbabd.ce8158"
+ "c72cc377.3d6a98"
]
]
},
{
- "id": "c2bcbabd.ce8158",
+ "id": "c72cc377.3d6a98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 571.9166946411133,
- "y": 175.30070877075195,
- "z": "d98986ab.861428",
+ "x": 573.9166946411133,
+ "y": 177.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "7723f6f5.70d16",
- "23bb4d68.1d6aca"
+ "846bb887.500c9",
+ "26516dd.068d212"
]
]
},
{
- "id": "7723f6f5.70d16",
+ "id": "846bb887.500c9",
"type": "switchNode",
"name": "switch svc-action",
"xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 852.9166946411133,
- "y": 170.3006944656372,
- "z": "d98986ab.861428",
+ "x": 854.9166946411133,
+ "y": 172.3006944656372,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "847bfdf7.dfd188"
+ "770a13b8.39f74c"
]
]
},
{
- "id": "847bfdf7.dfd188",
+ "id": "770a13b8.39f74c",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1043.6309967041016,
- "y": 171.30069541931152,
- "z": "d98986ab.861428",
+ "x": 1045.6309967041016,
+ "y": 173.30069541931152,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "a76f46ec.4caa98"
+ "b2cafa38.2cf18"
]
]
},
{
- "id": "a76f46ec.4caa98",
+ "id": "b2cafa38.2cf18",
"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=\"sdnc-request-header.svc-request-id is a required input\" />\n",
"comments": "",
- "x": 1218.0595474243164,
- "y": 170.300687789917,
- "z": "d98986ab.861428",
+ "x": 1220.0595474243164,
+ "y": 172.300687789917,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "23bb4d68.1d6aca",
+ "id": "26516dd.068d212",
"type": "switchNode",
"name": "switch svc-action",
- "xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 153.91664123535156,
- "y": 446.30070877075195,
- "z": "d98986ab.861428",
+ "x": 155.91664123535156,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "2a23b50.62488cc",
- "ffd34193.404aa",
- "fc4b5571.bad3e",
- "3670d91f.b7e116",
- "823b7913.83e82"
+ "3553ffe6.e3983",
+ "9543c13f.54a338",
+ "67e65045.59b8a8",
+ "72ab0083.c0d808",
+ "1c3c77bb.a2bfc"
]
]
},
{
- "id": "2a23b50.62488cc",
+ "id": "3553ffe6.e3983",
"type": "outcome",
"name": "create",
"xml": "<outcome value='create'>\n",
"comments": "",
"outputs": 1,
- "x": 355.4167251586914,
- "y": 446.30070877075195,
- "z": "d98986ab.861428",
+ "x": 357.4167251586914,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "35a22a62.927db6"
+ "dfd730e2.3d41a"
]
]
},
{
- "id": "35a22a62.927db6",
+ "id": "dfd730e2.3d41a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 521.4167327880859,
- "y": 446.30070877075195,
- "z": "d98986ab.861428",
+ "x": 523.4167327880859,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "84b1bafe.d753c8"
+ "b792e4c7.13b96"
]
]
},
{
- "id": "c761568c.03f0a",
+ "id": "786f42e8.a3ebcc",
"type": "for",
"name": "for loop i - Network input parameters",
- "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n",
"comments": "",
"outputs": 1,
- "x": 1720.630874633789,
- "y": 110.01497840881348,
- "z": "d98986ab.861428",
+ "x": 1720.630859375,
+ "y": 109.01498413085938,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "6bbe7ccf.21c664"
+ "39c05252.332006"
]
]
},
{
- "id": "80903373.40bd",
+ "id": "4662d843.0df85",
"type": "switchNode",
"name": "switch value",
"xml": "<switch test=\"`$tmp.value`\">\n",
"comments": "",
"outputs": 1,
- "x": 2574.2022247314453,
- "y": 364.01495361328125,
- "z": "d98986ab.861428",
+ "x": 2576.2022247314453,
+ "y": 366.01495361328125,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "7dc03e79.e30648"
+ "632316ae.127dd"
]
]
},
{
- "id": "7dc03e79.e30648",
+ "id": "632316ae.127dd",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2791.2021980285645,
- "y": 363.01495933532715,
- "z": "d98986ab.861428",
+ "x": 2793.2021980285645,
+ "y": 365.01495933532715,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "4449f580.7eb1b4"
+ "3f61b79e.239a58"
]
]
},
{
- "id": "4449f580.7eb1b4",
+ "id": "3f61b79e.239a58",
"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=\"`'network-request-input.network-input-parameters.param '+ $tmp.name +' is a required input'`\" />\n",
"comments": "",
- "x": 2969.6309127807617,
- "y": 364.01495933532715,
- "z": "d98986ab.861428",
+ "x": 2971.6309127807617,
+ "y": 366.01495933532715,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "ffd34193.404aa",
+ "id": "9543c13f.54a338",
"type": "outcome",
"name": "deactivate",
"xml": "<outcome value='deactivate'>\n",
"comments": "",
"outputs": 1,
- "x": 357.7142791748047,
- "y": 604.4762363433838,
- "z": "d98986ab.861428",
+ "x": 359.7142791748047,
+ "y": 606.4762363433838,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "7ef0cfae.a9d9c"
+ "ff7f1b4f.30d5a8"
]
]
},
{
- "id": "fc4b5571.bad3e",
+ "id": "67e65045.59b8a8",
"type": "outcome",
"name": "delete",
"xml": "<outcome value='delete'>\n",
"comments": "",
"outputs": 1,
- "x": 361.42866134643555,
- "y": 775.1907939910889,
- "z": "d98986ab.861428",
+ "x": 363.42866134643555,
+ "y": 777.1907939910889,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "e0263cc1.d96968"
+ "c1e4044f.d7929"
]
]
},
{
- "id": "3670d91f.b7e116",
+ "id": "72ab0083.c0d808",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 359.1905403137207,
- "y": 729.619062423706,
- "z": "d98986ab.861428",
+ "x": 363.1905517578125,
+ "y": 950.6190795898438,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "1187da8e.1e68e5"
+ "f0129720.1ef558"
]
]
},
{
- "id": "1187da8e.1e68e5",
+ "id": "f0129720.1ef558",
"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=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
"comments": "",
- "x": 512.7621154785156,
- "y": 732.2382063865662,
- "z": "d98986ab.861428",
+ "x": 546.7620849609375,
+ "y": 951.2382202148438,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "6bbe7ccf.21c664",
+ "id": "39c05252.332006",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1598.7142486572266,
- "y": 256.761926651001,
- "z": "d98986ab.861428",
+ "x": 1600.7142486572266,
+ "y": 258.761926651001,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "9a78d49c.5c6c48",
- "4d7afbb9.93f474",
- "e49aca1a.0651b8"
+ "bd82571.4ad4228",
+ "ce182094.ef8a3",
+ "6a5abb1b.52e074"
]
]
},
{
- "id": "84b1bafe.d753c8",
+ "id": "b792e4c7.13b96",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 847.0000152587891,
- "y": 335.7143363952637,
- "z": "d98986ab.861428",
+ "x": 849.0000152587891,
+ "y": 337.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b2571e45.c855e8",
- "ac398ddc.f05998"
+ "c5d42ffb.c9f0d8",
+ "69f739d0.28fca"
]
]
},
{
- "id": "b2571e45.c855e8",
+ "id": "c5d42ffb.c9f0d8",
"type": "other",
"name": "CreateNetworkInstance",
"xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1113.000015258789,
- "y": 294.7143363952637,
- "z": "d98986ab.861428",
+ "x": 1115.000015258789,
+ "y": 296.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "8b60af63.0db818"
+ "2a69c84.9676bb8"
]
]
},
{
- "id": "ac398ddc.f05998",
+ "id": "69f739d0.28fca",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1067.000015258789,
- "y": 344.7143363952637,
- "z": "d98986ab.861428",
+ "x": 1069.000015258789,
+ "y": 346.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "e121de21.0ffe78"
+ "a4f6f6a1.e1ab58"
]
]
},
{
- "id": "e121de21.0ffe78",
+ "id": "a4f6f6a1.e1ab58",
"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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=create\" />\n",
"comments": "",
- "x": 1236.000015258789,
- "y": 344.7143363952637,
- "z": "d98986ab.861428",
+ "x": 1238.000015258789,
+ "y": 346.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "8b60af63.0db818",
+ "id": "2a69c84.9676bb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1338.000015258789,
- "y": 283.7143363952637,
- "z": "d98986ab.861428",
+ "x": 1340.000015258789,
+ "y": 285.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "c761568c.03f0a"
+ "786f42e8.a3ebcc"
]
]
},
{
- "id": "9a78d49c.5c6c48",
+ "id": "bd82571.4ad4228",
"type": "set",
"name": "clear tmp-data",
"xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
"comments": "",
- "x": 1790.7143096923828,
- "y": 211.00002479553223,
- "z": "d98986ab.861428",
+ "x": 1792.7143096923828,
+ "y": 213.00002479553223,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "4d7afbb9.93f474",
+ "id": "ce182094.ef8a3",
"type": "set",
"name": "set tmp-data",
- "xml": "<set>\n<parameter name='tmp.name' value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name`\"/>\n<parameter name='tmp.value' value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value`\"/>\n",
+ "xml": "<set>\n<parameter name='tmp.name' value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$i].name`\"/>\n<parameter name='tmp.value' value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$i].value`\"/>\n",
"comments": "",
- "x": 1779.7143096923828,
- "y": 301.0000247955322,
- "z": "d98986ab.861428",
+ "x": 1781.7143096923828,
+ "y": 303.0000247955322,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "e49aca1a.0651b8",
+ "id": "6a5abb1b.52e074",
"type": "switchNode",
"name": "switch name",
"xml": "<switch test=\"`$tmp.name`\">\n",
"comments": "",
"outputs": 1,
- "x": 1758.7143096923828,
- "y": 395.0000247955322,
- "z": "d98986ab.861428",
+ "x": 1760.7143096923828,
+ "y": 397.0000247955322,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "41e3528.04abc2c",
- "6ac01d8a.f6a7fc",
- "f26849c8.b296e",
- "bb7bcaf4.82d9e8",
- "27adc52c.8ee0d2",
- "ef56550b.fc6858",
- "c927ca6e.4041d8",
- "510578da.17aeb",
- "d6240771.8bfc8",
- "19bb94a8.8e46bb",
- "7cf56a59.b76d14",
- "164ce143.0020d7",
- "b5cb2d0b.15677",
- "211400b.5190a8",
- "ca0ced45.a76e28",
- "b3a58592.3d9868",
- "5f626258.048c44"
+ "52effe4f.ac2ae8",
+ "869a7fd8.50b75",
+ "407c2eba.5d49f8",
+ "174077c9.6c10c8",
+ "4f610fc8.b35008",
+ "10ff2035.1d4618",
+ "4c528719.50cae",
+ "a67c5c2f.007308",
+ "8b639e89.f3549",
+ "d88cca1b.f3ea88",
+ "986570e4.376248",
+ "cd383e71.d36be8",
+ "a1ba7fd7.d88d3",
+ "a53ac3b.66852c",
+ "3d95e365.11bc6c",
+ "18048265.211a56",
+ "e570f120.c01b38"
]
]
},
{
- "id": "41e3528.04abc2c",
+ "id": "52effe4f.ac2ae8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2298.285598754883,
- "y": 898,
- "z": "d98986ab.861428",
+ "x": 2300.285598754883,
+ "y": 900,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "1b8d374a.29cc89"
+ "540cec23.3e0ea4"
]
]
},
{
- "id": "1b8d374a.29cc89",
+ "id": "540cec23.3e0ea4",
"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=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
+ "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=\"`'network-topology-operation-input.network-request-input.network-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n",
"comments": "",
- "x": 2473.285598754883,
- "y": 897,
- "z": "d98986ab.861428",
+ "x": 2475.285598754883,
+ "y": 899,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "6ac01d8a.f6a7fc",
+ "id": "869a7fd8.50b75",
"type": "other",
"name": "name",
"xml": "<outcome value='name'>",
"comments": "",
"outputs": 1,
- "x": 2275.285598754883,
- "y": 20,
- "z": "d98986ab.861428",
+ "x": 2277.285598754883,
+ "y": 22,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "f26849c8.b296e",
+ "id": "407c2eba.5d49f8",
"type": "other",
"name": "service-type",
"xml": "<outcome value='service-type'>",
"comments": "",
"outputs": 1,
- "x": 2278.285598754883,
- "y": 87,
- "z": "d98986ab.861428",
+ "x": 2280.285598754883,
+ "y": 89,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "c927ca6e.4041d8",
+ "id": "4c528719.50cae",
"type": "other",
"name": "sna2_name",
"xml": "<outcome value='sna2_name'>",
"comments": "",
"outputs": 1,
- "x": 2282.285598754883,
- "y": 316,
- "z": "d98986ab.861428",
+ "x": 2284.285598754883,
+ "y": 318,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "bb7bcaf4.82d9e8",
+ "id": "174077c9.6c10c8",
"type": "other",
"name": "site1-name",
"xml": "<outcome value='site1-name'>",
"comments": "",
"outputs": 1,
- "x": 2279.285598754883,
- "y": 148,
- "z": "d98986ab.861428",
+ "x": 2281.285598754883,
+ "y": 150,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "27adc52c.8ee0d2",
+ "id": "4f610fc8.b35008",
"type": "other",
"name": "site2-name",
"xml": "<outcome value='site2-name'>",
"comments": "",
"outputs": 1,
- "x": 2275.285598754883,
- "y": 205,
- "z": "d98986ab.861428",
+ "x": 2277.285598754883,
+ "y": 207,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "ef56550b.fc6858",
+ "id": "10ff2035.1d4618",
"type": "other",
"name": "sna1_name",
"xml": "<outcome value='sna1_name'>",
"comments": "",
"outputs": 1,
- "x": 2278.285598754883,
- "y": 262,
- "z": "d98986ab.861428",
+ "x": 2280.285598754883,
+ "y": 264,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "510578da.17aeb",
+ "id": "a67c5c2f.007308",
"type": "other",
"name": "pe1_id",
"xml": "<outcome value='pe1_id'>",
"comments": "",
"outputs": 1,
- "x": 2282.285598754883,
- "y": 367,
- "z": "d98986ab.861428",
+ "x": 2284.285598754883,
+ "y": 369,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "d6240771.8bfc8",
+ "id": "8b639e89.f3549",
"type": "other",
"name": "pe2_id",
"xml": "<outcome value='pe2_id'>",
"comments": "",
"outputs": 1,
- "x": 2285.285598754883,
- "y": 415,
- "z": "d98986ab.861428",
+ "x": 2287.285598754883,
+ "y": 417,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "19bb94a8.8e46bb",
+ "id": "d88cca1b.f3ea88",
"type": "other",
"name": "ac1-id",
"xml": "<outcome value='ac1-id'>",
"comments": "",
"outputs": 1,
- "x": 2290.285598754883,
- "y": 464,
- "z": "d98986ab.861428",
+ "x": 2292.285598754883,
+ "y": 466,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "7cf56a59.b76d14",
+ "id": "986570e4.376248",
"type": "other",
"name": "ac2-id",
"xml": "<outcome value='ac2-id'>",
"comments": "",
"outputs": 1,
- "x": 2292.285598754883,
- "y": 519,
- "z": "d98986ab.861428",
+ "x": 2294.285598754883,
+ "y": 521,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "164ce143.0020d7",
+ "id": "cd383e71.d36be8",
"type": "other",
"name": "ac1-ip",
"xml": "<outcome value='ac1-ip'>",
"comments": "",
"outputs": 1,
- "x": 2292.285598754883,
- "y": 571,
- "z": "d98986ab.861428",
+ "x": 2294.285598754883,
+ "y": 573,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "b5cb2d0b.15677",
+ "id": "a1ba7fd7.d88d3",
"type": "other",
"name": "ac2-ip",
"xml": "<outcome value='ac2-ip'>",
"comments": "",
"outputs": 1,
- "x": 2294.285598754883,
- "y": 632,
- "z": "d98986ab.861428",
+ "x": 2296.285598754883,
+ "y": 634,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "211400b.5190a8",
+ "id": "a53ac3b.66852c",
"type": "other",
"name": "ac1_peer_ip",
"xml": "<outcome value='ac1_peer_ip'>",
"comments": "",
"outputs": 1,
- "x": 2296.285598754883,
- "y": 682,
- "z": "d98986ab.861428",
+ "x": 2298.285598754883,
+ "y": 684,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "ca0ced45.a76e28",
+ "id": "3d95e365.11bc6c",
"type": "other",
"name": "ac2_peer_ip",
"xml": "<outcome value='ac2_peer_ip'>",
"comments": "",
"outputs": 1,
- "x": 2292.285598754883,
- "y": 730,
- "z": "d98986ab.861428",
+ "x": 2294.285598754883,
+ "y": 732,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "b3a58592.3d9868",
+ "id": "18048265.211a56",
"type": "other",
"name": "ac1_svlan",
"xml": "<outcome value='ac1_svlan'>",
"comments": "",
"outputs": 1,
- "x": 2294.285598754883,
- "y": 783,
- "z": "d98986ab.861428",
+ "x": 2296.285598754883,
+ "y": 785,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "5f626258.048c44",
+ "id": "e570f120.c01b38",
"type": "other",
"name": "ac2_svlan",
"xml": "<outcome value='ac2_svlan'>",
"comments": "",
"outputs": 1,
- "x": 2296.285598754883,
- "y": 844,
- "z": "d98986ab.861428",
+ "x": 2298.285598754883,
+ "y": 846,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "80903373.40bd"
+ "4662d843.0df85"
]
]
},
{
- "id": "e0263cc1.d96968",
+ "id": "c1e4044f.d7929",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 292.5714340209961,
- "y": 856.8572435379028,
- "z": "d98986ab.861428",
+ "x": 532.5714111328125,
+ "y": 775.8572387695312,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "283fd358.50e254"
+ "4d5581d7.e27f88"
]
]
},
{
- "id": "145e812a.ac0acf",
+ "id": "4f4bf5a8.a829ac",
"type": "other",
"name": "DeleteNetworkInstance",
"xml": "<outcome value='DeleteNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 759.2857246398926,
- "y": 769.8572072982788,
- "z": "d98986ab.861428",
+ "x": 965.2857055664062,
+ "y": 778.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "a555e2be.b46fc"
+ "562b1ef.a708d6"
]
]
},
{
- "id": "92eeaa34.08fe58",
+ "id": "548cf43d.62af0c",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 819.2857246398926,
- "y": 899.8572072982788,
- "z": "d98986ab.861428",
+ "x": 1025.2857055664062,
+ "y": 908.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "1149d054.e0f5"
+ "5adf131e.a61cf4"
]
]
},
{
- "id": "1149d054.e0f5",
+ "id": "5adf131e.a61cf4",
"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=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=delete\" />\n",
"comments": "",
- "x": 1006.2857246398926,
- "y": 900.8572072982788,
- "z": "d98986ab.861428",
+ "x": 1212.2857055664062,
+ "y": 909.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "a555e2be.b46fc",
+ "id": "562b1ef.a708d6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 714.2857246398926,
- "y": 969.8572072982788,
- "z": "d98986ab.861428",
+ "x": 920.2857055664062,
+ "y": 978.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "99cbd7b1.dcbe1",
- "802c04a5.b5b44"
+ "253ad8eb.98869",
+ "aeedc57a.12dee8"
]
]
},
{
- "id": "99cbd7b1.dcbe1",
+ "id": "253ad8eb.98869",
"type": "switchNode",
"name": "switch network-id",
"xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 868.2856636047363,
- "y": 1069.8572072982788,
- "z": "d98986ab.861428",
+ "x": 1074.28564453125,
+ "y": 1078.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "5340ccc7.b7728c"
+ "34e7b676.a0927a"
]
]
},
{
- "id": "5340ccc7.b7728c",
+ "id": "34e7b676.a0927a",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1052.2856636047363,
- "y": 1072.8572072982788,
- "z": "d98986ab.861428",
+ "x": 1258.28564453125,
+ "y": 1081.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "937ab8ad.e150a8"
+ "8389ad47.02308"
]
]
},
{
- "id": "937ab8ad.e150a8",
+ "id": "8389ad47.02308",
"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=\"network-request-input.network-input-parameters.name is a required input\" />\n",
"comments": "",
- "x": 1208.7143745422363,
- "y": 1071.8572072982788,
- "z": "d98986ab.861428",
+ "x": 1414.71435546875,
+ "y": 1080.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "823b7913.83e82",
+ "id": "1c3c77bb.a2bfc",
"type": "outcome",
"name": "activate",
"xml": "<outcome value='activate'>\n",
"comments": "",
"outputs": 1,
- "x": 356.4285697937012,
- "y": 538.7619791030884,
- "z": "d98986ab.861428",
+ "x": 358.4285697937012,
+ "y": 540.7619791030884,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "413afb53.a7e9bc"
+ "3c6d4ec3.c79d7a"
]
]
},
{
- "id": "413afb53.a7e9bc",
+ "id": "3c6d4ec3.c79d7a",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 539.2857360839844,
- "y": 535.9048290252686,
- "z": "d98986ab.861428",
+ "x": 541.2857360839844,
+ "y": 537.9048290252686,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "c51c21dc.9f93c8",
- "aa444685.51676"
+ "bc964363.f267b",
+ "a1a12099.fb3058"
]
]
},
{
- "id": "c51c21dc.9f93c8",
+ "id": "bc964363.f267b",
"type": "other",
"name": "ActivateDCINetworkInstance",
"xml": "<outcome value='ActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 805.2857360839844,
- "y": 494.90482902526855,
- "z": "d98986ab.861428",
+ "x": 807.2857360839844,
+ "y": 496.90482902526855,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "5edae240.c29634"
+ "a3300122.bf0e6"
]
]
},
{
- "id": "aa444685.51676",
+ "id": "a1a12099.fb3058",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 759.2857360839844,
- "y": 544.9048290252686,
- "z": "d98986ab.861428",
+ "x": 761.2857360839844,
+ "y": 546.9048290252686,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "d0b092f4.14515"
+ "7572ee8e.b0b5b8"
]
]
},
{
- "id": "d0b092f4.14515",
+ "id": "7572ee8e.b0b5b8",
"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=\"request-information.request-action is required to be ActivateNetworkInstance for svc-action=activate\" />\n",
"comments": "",
- "x": 928.2857360839844,
- "y": 544.9048290252686,
- "z": "d98986ab.861428",
+ "x": 930.2857360839844,
+ "y": 546.9048290252686,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "5edae240.c29634",
+ "id": "a3300122.bf0e6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1030.2857360839844,
- "y": 483.90482902526855,
- "z": "d98986ab.861428",
+ "x": 1032.2857360839844,
+ "y": 485.90482902526855,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "3c91ea2c.5c300e"
+ "7cd4d474.99df44"
]
]
},
{
- "id": "12ffbf1d.3d33f1",
+ "id": "e4ddb749.a4dd58",
"type": "other",
"name": "DeActivateDCINetworkInstance",
"xml": "<outcome value='DeActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 801.1429061889648,
- "y": 606.1906299591064,
- "z": "d98986ab.861428",
+ "x": 803.1429061889648,
+ "y": 608.1906299591064,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "ac68aa10.9b9f5"
+ "393b880c.5a2ab8"
]
]
},
{
- "id": "95197a73.2ccf78",
+ "id": "b415c4d7.ec51d8",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 716.1428985595703,
- "y": 675.190637588501,
- "z": "d98986ab.861428",
+ "x": 718.1428985595703,
+ "y": 677.190637588501,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "e8dac5d.c9e4fb8"
+ "b678cd71.9eea48"
]
]
},
{
- "id": "e8dac5d.c9e4fb8",
+ "id": "b678cd71.9eea48",
"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=\"request-information.request-action is required to be DeactivateNetworkInstance for svc-action=deactivate\" />\n",
"comments": "",
- "x": 897.1429138183594,
- "y": 676.190637588501,
- "z": "d98986ab.861428",
+ "x": 899.1429138183594,
+ "y": 678.190637588501,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "3c91ea2c.5c300e",
+ "id": "7cd4d474.99df44",
"type": "call",
"name": "call validate-overlay-network-input-parameters",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1338.1510696411133,
- "y": 485.3333520889282,
- "z": "d98986ab.861428",
+ "x": 1340.1510696411133,
+ "y": 487.3333520889282,
+ "z": "8e4867bc.5edaa8",
"wires": [
[]
]
},
{
- "id": "7ef0cfae.a9d9c",
+ "id": "ff7f1b4f.30d5a8",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 537.9999618530273,
- "y": 606.6664638519287,
- "z": "d98986ab.861428",
+ "x": 539.9999618530273,
+ "y": 608.6664638519287,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "12ffbf1d.3d33f1",
- "95197a73.2ccf78"
+ "e4ddb749.a4dd58",
+ "b415c4d7.ec51d8"
]
]
},
{
- "id": "283fd358.50e254",
+ "id": "4d5581d7.e27f88",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 528.0000190734863,
- "y": 857.0000295639038,
- "z": "d98986ab.861428",
+ "x": 706,
+ "y": 867,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "145e812a.ac0acf",
- "92eeaa34.08fe58"
+ "4f4bf5a8.a829ac",
+ "548cf43d.62af0c"
]
]
},
{
- "id": "802c04a5.b5b44",
+ "id": "aeedc57a.12dee8",
"type": "execute",
"name": "execute requiredParameter",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"$network-topology-operation-input.network-information.network-id\" value=\"\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1001.0000190734863,
- "y": 966.0000295639038,
- "z": "d98986ab.861428",
+ "x": 1207,
+ "y": 975,
+ "z": "8e4867bc.5edaa8",
"wires": [
[]
]
},
{
- "id": "ac68aa10.9b9f5",
+ "id": "393b880c.5a2ab8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1089.9999618530273,
- "y": 609,
- "z": "d98986ab.861428",
+ "x": 1091.9999618530273,
+ "y": 611,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "7eb5d9ab.f2a3a8",
- "c8c856a4.b3312"
+ "46bbeff4.c42c88",
+ "1fbe8bfb.465ce4"
]
]
},
{
- "id": "7eb5d9ab.f2a3a8",
+ "id": "46bbeff4.c42c88",
"type": "switchNode",
"name": "switch network-id",
"xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
"comments": "",
"outputs": 1,
- "x": 1243.999900817871,
- "y": 709,
- "z": "d98986ab.861428",
+ "x": 1245.999900817871,
+ "y": 711,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "cc5bae19.b165f8"
+ "147516eb.099cf9"
]
]
},
{
- "id": "cc5bae19.b165f8",
+ "id": "147516eb.099cf9",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1427.999900817871,
- "y": 712,
- "z": "d98986ab.861428",
+ "x": 1429.999900817871,
+ "y": 714,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "a0a11a5f.fe6fb"
+ "c957deec.097848"
]
]
},
{
- "id": "a0a11a5f.fe6fb",
+ "id": "c957deec.097848",
"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=\"network-request-input.network-input-parameters.name is a required input\" />\n",
"comments": "",
- "x": 1584.428611755371,
- "y": 711,
- "z": "d98986ab.861428",
+ "x": 1586.428611755371,
+ "y": 713,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "c8c856a4.b3312",
+ "id": "1fbe8bfb.465ce4",
"type": "execute",
"name": "execute requiredParameters",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"$network-topology-operation-input.network-information.network-id\" value=\"\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1376.714256286621,
- "y": 605.142822265625,
- "z": "d98986ab.861428",
+ "x": 1378.714256286621,
+ "y": 607.142822265625,
+ "z": "8e4867bc.5edaa8",
"wires": [
[]
]