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-09-29 11:06:42 +0530
committerramu.n <ramu.n@huawei.com>2017-09-29 11:12:59 +0530
commit7857803caf2b274c5e1ee817e1c2032908cd57f5 (patch)
treea57987e97776df33744eb810f7b217a1473fae9d /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
parent5ba894fb3888bc9a0a9d25e85232b2674815ec51 (diff)
Update underlay DG for VoLTE use case
*Replace openecomp schema with onap *fix plugin references *fix svc-action type issue *Add rest call for site & vrf configuration *Get ip-prfix & next-hop from route string Change-Id: I697fb76ab42a7fcb304df19733ac50eef7953f4f Issue-Id: SDNC-105 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 3948576d2ce46e492cfead3efd0aa883c280bd30
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.json1735
1 files changed, 848 insertions, 887 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 85dad279..c55aa515 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,1225 +1,1186 @@
[
{
- "id":"da317618.54edf8",
- "type":"dgstart",
- "name":"DGSTART",
- "outputs":1,
- "x":102.515625,
- "y":113.04766654968262,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "4e4a1db5.e19994",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 69,
+ "y": 114.04766654968262,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "20ee17f7.cfbc68"
+ "b00c6ebc.9f6148"
]
]
},
{
- "id":"20ee17f7.cfbc68",
- "type":"service-logic",
- "name":"GENERIC-RESOURCE-API ${project.version}",
- "module":"GENERIC-RESOURCE-API",
- "version":"${project.version}",
- "comments":"",
- "xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
- "outputs":1,
- "x":347.8013381958008,
- "y":112.28574562072754,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "b00c6ebc.9f6148",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "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": 314.2857131958008,
+ "y": 113.28574562072754,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "5a68f7e0.593d38"
+ "44d4c8c4.c3b998"
]
]
},
{
- "id":"5a68f7e0.593d38",
- "type":"method",
- "name":"method validate-network-input-parameters",
- "xml":"<method rpc='validate-network-input-parameters' mode='sync'>\n",
- "comments":"",
- "outputs":1,
- "x":305.43231201171875,
- "y":187.30068397521973,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "44d4c8c4.c3b998",
+ "type": "method",
+ "name": "method validate-network-input-parameters",
+ "xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 271.91668701171875,
+ "y": 188.30068397521973,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "df4d604e.2ca72"
+ "b1f5234e.374c1"
]
]
},
{
- "id":"df4d604e.2ca72",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":589.4323196411133,
- "y":175.30070877075195,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "b1f5234e.374c1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 555.9166946411133,
+ "y": 176.30070877075195,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "638c95bd.8f466c",
- "420ecc0a.f3f174"
+ "911dd6e7.3e5ce",
+ "30f2c5d1.5e680a"
]
]
},
{
- "id":"638c95bd.8f466c",
- "type":"switchNode",
- "name":"switch svc-action",
- "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":870.4323196411133,
- "y":170.3006944656372,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "911dd6e7.3e5ce",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 836.9166946411133,
+ "y": 171.3006944656372,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "66d387c4.23de98"
+ "84d48b8c.b6753"
]
]
},
{
- "id":"66d387c4.23de98",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":1061.1466217041016,
- "y":171.30069541931152,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "84d48b8c.b6753",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1027.6309967041016,
+ "y": 172.30069541931152,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "a7efa050.0eb13"
+ "7ddcb143.915a4"
]
]
},
{
- "id":"a7efa050.0eb13",
- "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":1235.5751724243164,
- "y":170.300687789917,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "7ddcb143.915a4",
+ "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": 1202.0595474243164,
+ "y": 171.300687789917,
+ "z": "32fe6314.d27544",
+ "wires": []
},
{
- "id":"420ecc0a.f3f174",
- "type":"switchNode",
- "name":"switch svc-action",
- "xml":"<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":171.43226623535156,
- "y":446.30070877075195,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "30f2c5d1.5e680a",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 137.91664123535156,
+ "y": 447.30070877075195,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "a1c81a08.4a4658",
- "35262124.49e2ee",
- "8db39207.9cf42",
- "ac1f4d45.6379a",
- "50f9a48d.e072dc"
+ "adae5694.342958",
+ "500ad4c6.47f08c",
+ "22013026.8cc88",
+ "750fe4a3.ade904",
+ "a9f01ff9.d40278"
]
]
},
{
- "id":"a1c81a08.4a4658",
- "type":"outcome",
- "name":"assign",
- "xml":"<outcome value='assign'>\n",
- "comments":"",
- "outputs":1,
- "x":372.9323501586914,
- "y":446.30070877075195,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "adae5694.342958",
+ "type": "outcome",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 339.4167251586914,
+ "y": 447.30070877075195,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "7802f1ec.ca7d8"
+ "45ac8a67.1ab214"
]
]
},
{
- "id":"7802f1ec.ca7d8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":538.9323577880859,
- "y":446.30070877075195,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "45ac8a67.1ab214",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 505.41673278808594,
+ "y": 447.30070877075195,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "ea0957a5.857bf8"
+ "97add15a.4cb3a8"
]
]
},
{
- "id":"ef18ce39.3e51e",
- "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",
- "comments":"",
- "outputs":1,
- "x":1738.146499633789,
- "y":110.01497840881348,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "d1354c61.d70e7",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1704.630874633789,
+ "y": 111.01497840881348,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "80257d50.3b4d4"
+ "f7be75b2.d145f8"
]
]
},
{
- "id":"4a695b88.fdc594",
- "type":"switchNode",
- "name":"switch value",
- "xml":"<switch test=\"`$tmp.value`\">\n",
- "comments":"",
- "outputs":1,
- "x":2591.7178497314453,
- "y":364.01495361328125,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "560f8ff1.549fe8",
+ "type": "switchNode",
+ "name": "switch value",
+ "xml": "<switch test=\"`$tmp.value`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2558.2022247314453,
+ "y": 365.01495361328125,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "9ba44b0.d83ecb8"
+ "35d7055a.4a3242"
]
]
},
{
- "id":"9ba44b0.d83ecb8",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2808.7178230285645,
- "y":363.01495933532715,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "35d7055a.4a3242",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2775.2021980285645,
+ "y": 364.01495933532715,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "b0753bf8.b88448"
+ "d860ff65.a2e1"
]
]
},
{
- "id":"b0753bf8.b88448",
- "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":2987.1465377807617,
- "y":364.01495933532715,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "d860ff65.a2e1",
+ "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": 2953.6309127807617,
+ "y": 365.01495933532715,
+ "z": "32fe6314.d27544",
+ "wires": []
},
{
- "id":"35262124.49e2ee",
- "type":"outcome",
- "name":"deactivate",
- "xml":"<outcome value='deactivate'>\n",
- "comments":"",
- "outputs":1,
- "x":375.2299041748047,
- "y":604.4762363433838,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "500ad4c6.47f08c",
+ "type": "outcome",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 341.7142791748047,
+ "y": 605.4762363433838,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "e5333ad2.88c6a8"
+ "4bb419b5.b0e6e"
]
]
},
{
- "id":"8db39207.9cf42",
- "type":"outcome",
- "name":"delete",
- "xml":"<outcome value='delete'>\n",
- "comments":"",
- "outputs":1,
- "x":378.94428634643555,
- "y":931.1907939910889,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "22013026.8cc88",
+ "type": "outcome",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 345.42866134643555,
+ "y": 932.1907939910889,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "69b449f8.e0c4f8"
+ "4023bbbc.b8c3c4"
]
]
},
{
- "id":"ac1f4d45.6379a",
- "type":"other",
- "name":"other",
- "xml":"<outcome value='Other'>\n",
- "comments":"",
- "outputs":1,
- "x":376.7061653137207,
- "y":885.619062423706,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "750fe4a3.ade904",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 343.1905403137207,
+ "y": 886.619062423706,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "c57b3d6b.428a1"
+ "3dd4d642.9cafa2"
]
]
},
{
- "id":"c57b3d6b.428a1",
- "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":530.2777404785156,
- "y":888.2382063865662,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "3dd4d642.9cafa2",
+ "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": 496.7621154785156,
+ "y": 889.2382063865662,
+ "z": "32fe6314.d27544",
+ "wires": []
},
{
- "id":"80257d50.3b4d4",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1616.2298736572266,
- "y":256.761926651001,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "f7be75b2.d145f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1582.7142486572266,
+ "y": 257.761926651001,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "50315017.56b56",
- "1ffb5b62.b458c5",
- "846be723.9405f8"
+ "26bdae61.564c5a",
+ "395e8b66.7b0f1c",
+ "84048547.624768"
]
]
},
{
- "id":"ea0957a5.857bf8",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":864.5156402587891,
- "y":335.7143363952637,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "97add15a.4cb3a8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 831.0000152587891,
+ "y": 336.7143363952637,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "6458f4b.5fda60c",
- "7c5ea13d.5b8e"
+ "76502e63.ceb1a",
+ "1255dbb4.75c26c"
]
]
},
{
- "id":"6458f4b.5fda60c",
- "type":"other",
- "name":"CreateNetworkInstance",
- "xml":"<outcome value='CreateNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":1130.515640258789,
- "y":294.7143363952637,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "76502e63.ceb1a",
+ "type": "other",
+ "name": "CreateNetworkInstance",
+ "xml": "<outcome value='CreateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1097.000015258789,
+ "y": 295.7143363952637,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "84eb81e3.dcb2d"
+ "afc2e177.f42c"
]
]
},
{
- "id":"7c5ea13d.5b8e",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":1084.515640258789,
- "y":344.7143363952637,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "1255dbb4.75c26c",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1051.000015258789,
+ "y": 345.7143363952637,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "f6d144fc.f801f8"
+ "dfb2157e.4f1ae"
]
]
},
{
- "id":"f6d144fc.f801f8",
- "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=assign\" />\n",
- "comments":"",
- "x":1253.515640258789,
- "y":344.7143363952637,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "dfb2157e.4f1ae",
+ "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": 1220.000015258789,
+ "y": 345.7143363952637,
+ "z": "32fe6314.d27544",
+ "wires": []
},
{
- "id":"84eb81e3.dcb2d",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":1355.515640258789,
- "y":283.7143363952637,
- "z":"bc976c53.f1a79",
- "wires":[
- [
- "ef18ce39.3e51e"
+ "id": "afc2e177.f42c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1322.000015258789,
+ "y": 284.7143363952637,
+ "z": "32fe6314.d27544",
+ "wires": [
+ [
+ "d1354c61.d70e7"
]
]
},
{
- "id":"e0b5f19f.d9b45",
- "type":"comment",
- "name":"TODO: need to identify underlay or overlay",
- "info":"",
- "comments":"",
- "x":1100.087142944336,
- "y":243.42859649658203,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
- },
- {
- "id":"50315017.56b56",
- "type":"set",
- "name":"clear tmp-data",
- "xml":"<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
- "comments":"",
- "x":1808.2299346923828,
- "y":211.00002479553223,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
- },
- {
- "id":"1ffb5b62.b458c5",
- "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",
- "comments":"",
- "x":1797.2299346923828,
- "y":301.0000247955322,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
- },
- {
- "id":"846be723.9405f8",
- "type":"switchNode",
- "name":"switch name",
- "xml":"<switch test=\"'$tmp.name'\">\n",
- "comments":"",
- "outputs":1,
- "x":1776.2299346923828,
- "y":395.0000247955322,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "26bdae61.564c5a",
+ "type": "set",
+ "name": "clear tmp-data",
+ "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
+ "comments": "",
+ "x": 1774.7143096923828,
+ "y": 212.00002479553223,
+ "z": "32fe6314.d27544",
+ "wires": []
+ },
+ {
+ "id": "395e8b66.7b0f1c",
+ "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",
+ "comments": "",
+ "x": 1763.7143096923828,
+ "y": 302.0000247955322,
+ "z": "32fe6314.d27544",
+ "wires": []
+ },
+ {
+ "id": "84048547.624768",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"'$tmp.name'\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1742.7143096923828,
+ "y": 396.0000247955322,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "45932bf.e6c01d4",
- "39a76082.5cc54",
- "6eae96bd.b54598",
- "fa0caaec.e45618",
- "ca5c1826.4817d8",
- "7792e369.1908ac",
- "13678c40.7cc714",
- "a2732629.f76cc8",
- "f2c5c3f2.76097",
- "54ca3e0b.56d18",
- "681149f1.d61ef8",
- "4bc98b71.a2aa84",
- "aff0f172.9ddbc",
- "d8ad234.fa86ce",
- "705971b7.939b3",
- "c8386139.7bc31",
- "382fe5b2.be669a"
+ "91870d3c.00766",
+ "9673ceac.9d128",
+ "2fa6afd4.470c68",
+ "208a2db6.5cd29a",
+ "a6950835.4f1f88",
+ "f6a60960.64ec1",
+ "3f6ebe83.24fb02",
+ "6691ccb6.43ba2c",
+ "3e734965.e53836",
+ "7c1d0f2f.d390d8",
+ "90835e79.55fda",
+ "98d98d4e.90457",
+ "c55ddc64.709ea",
+ "d3d96688.947678",
+ "de824513.d08848",
+ "bd1ecf5f.f7c2b",
+ "499053bc.575afc"
]
]
},
{
- "id":"45932bf.e6c01d4",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":2315.801223754883,
- "y":898,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "91870d3c.00766",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2282.285598754883,
+ "y": 899,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "6a1da75c.dff4f8"
+ "49ed5fbd.14e1c8"
]
]
},
{
- "id":"6a1da75c.dff4f8",
- "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":2490.801223754883,
- "y":897,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "49ed5fbd.14e1c8",
+ "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": 2457.285598754883,
+ "y": 898,
+ "z": "32fe6314.d27544",
+ "wires": []
},
{
- "id":"39a76082.5cc54",
- "type":"other",
- "name":"name",
- "xml":"<outcome value='name'>",
- "comments":"",
- "outputs":1,
- "x":2292.801223754883,
- "y":20,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "9673ceac.9d128",
+ "type": "other",
+ "name": "name",
+ "xml": "<outcome value='name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2259.285598754883,
+ "y": 21,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"6eae96bd.b54598",
- "type":"other",
- "name":"service-type",
- "xml":"<outcome value='service-type'>",
- "comments":"",
- "outputs":1,
- "x":2295.801223754883,
- "y":87,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "2fa6afd4.470c68",
+ "type": "other",
+ "name": "service-type",
+ "xml": "<outcome value='service-type'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2262.285598754883,
+ "y": 88,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"13678c40.7cc714",
- "type":"other",
- "name":"sna2_name",
- "xml":"<outcome value='sna2_name'>",
- "comments":"",
- "outputs":1,
- "x":2299.801223754883,
- "y":316,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "3f6ebe83.24fb02",
+ "type": "other",
+ "name": "sna2_name",
+ "xml": "<outcome value='sna2_name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2266.285598754883,
+ "y": 317,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"fa0caaec.e45618",
- "type":"other",
- "name":"site1-name",
- "xml":"<outcome value='site1-name'>",
- "comments":"",
- "outputs":1,
- "x":2296.801223754883,
- "y":148,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "208a2db6.5cd29a",
+ "type": "other",
+ "name": "site1-name",
+ "xml": "<outcome value='site1-name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2263.285598754883,
+ "y": 149,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"ca5c1826.4817d8",
- "type":"other",
- "name":"site2-name",
- "xml":"<outcome value='site2-name'>",
- "comments":"",
- "outputs":1,
- "x":2292.801223754883,
- "y":205,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "a6950835.4f1f88",
+ "type": "other",
+ "name": "site2-name",
+ "xml": "<outcome value='site2-name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2259.285598754883,
+ "y": 206,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"7792e369.1908ac",
- "type":"other",
- "name":"sna1_name",
- "xml":"<outcome value='sna1_name'>",
- "comments":"",
- "outputs":1,
- "x":2295.801223754883,
- "y":262,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "f6a60960.64ec1",
+ "type": "other",
+ "name": "sna1_name",
+ "xml": "<outcome value='sna1_name'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2262.285598754883,
+ "y": 263,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"a2732629.f76cc8",
- "type":"other",
- "name":"pe1_id",
- "xml":"<outcome value='pe1_id'>",
- "comments":"",
- "outputs":1,
- "x":2299.801223754883,
- "y":367,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "6691ccb6.43ba2c",
+ "type": "other",
+ "name": "pe1_id",
+ "xml": "<outcome value='pe1_id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2266.285598754883,
+ "y": 368,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"f2c5c3f2.76097",
- "type":"other",
- "name":"pe2_id",
- "xml":"<outcome value='pe2_id'>",
- "comments":"",
- "outputs":1,
- "x":2302.801223754883,
- "y":415,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "3e734965.e53836",
+ "type": "other",
+ "name": "pe2_id",
+ "xml": "<outcome value='pe2_id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2269.285598754883,
+ "y": 416,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"54ca3e0b.56d18",
- "type":"other",
- "name":"ac1-id",
- "xml":"<outcome value='ac1-id'>",
- "comments":"",
- "outputs":1,
- "x":2307.801223754883,
- "y":464,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "7c1d0f2f.d390d8",
+ "type": "other",
+ "name": "ac1-id",
+ "xml": "<outcome value='ac1-id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2274.285598754883,
+ "y": 465,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"681149f1.d61ef8",
- "type":"other",
- "name":"ac2-id",
- "xml":"<outcome value='ac2-id'>",
- "comments":"",
- "outputs":1,
- "x":2309.801223754883,
- "y":519,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "90835e79.55fda",
+ "type": "other",
+ "name": "ac2-id",
+ "xml": "<outcome value='ac2-id'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2276.285598754883,
+ "y": 520,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"4bc98b71.a2aa84",
- "type":"other",
- "name":"ac1-ip",
- "xml":"<outcome value='ac1-ip'>",
- "comments":"",
- "outputs":1,
- "x":2309.801223754883,
- "y":571,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "98d98d4e.90457",
+ "type": "other",
+ "name": "ac1-ip",
+ "xml": "<outcome value='ac1-ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2276.285598754883,
+ "y": 572,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"aff0f172.9ddbc",
- "type":"other",
- "name":"ac2-ip",
- "xml":"<outcome value='ac2-ip'>",
- "comments":"",
- "outputs":1,
- "x":2311.801223754883,
- "y":632,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "c55ddc64.709ea",
+ "type": "other",
+ "name": "ac2-ip",
+ "xml": "<outcome value='ac2-ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2278.285598754883,
+ "y": 633,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"d8ad234.fa86ce",
- "type":"other",
- "name":"ac1_peer_ip",
- "xml":"<outcome value='ac1_peer_ip'>",
- "comments":"",
- "outputs":1,
- "x":2313.801223754883,
- "y":682,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "d3d96688.947678",
+ "type": "other",
+ "name": "ac1_peer_ip",
+ "xml": "<outcome value='ac1_peer_ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.285598754883,
+ "y": 683,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"705971b7.939b3",
- "type":"other",
- "name":"ac2_peer_ip",
- "xml":"<outcome value='ac2_peer_ip'>",
- "comments":"",
- "outputs":1,
- "x":2309.801223754883,
- "y":730,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "de824513.d08848",
+ "type": "other",
+ "name": "ac2_peer_ip",
+ "xml": "<outcome value='ac2_peer_ip'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2276.285598754883,
+ "y": 731,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"c8386139.7bc31",
- "type":"other",
- "name":"ac1_svlan",
- "xml":"<outcome value='ac1_svlan'>",
- "comments":"",
- "outputs":1,
- "x":2311.801223754883,
- "y":783,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "bd1ecf5f.f7c2b",
+ "type": "other",
+ "name": "ac1_svlan",
+ "xml": "<outcome value='ac1_svlan'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2278.285598754883,
+ "y": 784,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"382fe5b2.be669a",
- "type":"other",
- "name":"ac2_svlan",
- "xml":"<outcome value='ac2_svlan'>",
- "comments":"",
- "outputs":1,
- "x":2313.801223754883,
- "y":844,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "499053bc.575afc",
+ "type": "other",
+ "name": "ac2_svlan",
+ "xml": "<outcome value='ac2_svlan'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.285598754883,
+ "y": 845,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "4a695b88.fdc594"
+ "560f8ff1.549fe8"
]
]
},
{
- "id":"69b449f8.e0c4f8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":310.0870590209961,
- "y":1012.8572435379028,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "4023bbbc.b8c3c4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 276.5714340209961,
+ "y": 1013.8572435379028,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "d5f90944.52fe68",
- "f019a10f.84bba"
+ "97e7ce10.7c85b8",
+ "9dc996b.23ff3e8"
]
]
},
{
- "id":"d5f90944.52fe68",
- "type":"other",
- "name":"DeleteNetworkInstance",
- "xml":"<outcome value='DeleteNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":325.8013496398926,
- "y":1068.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "97e7ce10.7c85b8",
+ "type": "other",
+ "name": "DeleteNetworkInstance",
+ "xml": "<outcome value='DeleteNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 292.2857246398926,
+ "y": 1069.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "1ad15265.c666ae"
+ "841c3464.e35208"
]
]
},
{
- "id":"f019a10f.84bba",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":279.8013496398926,
- "y":1118.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "9dc996b.23ff3e8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 246.28572463989258,
+ "y": 1119.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "b5aedf37.5b6ec"
+ "6b8e362b.376518"
]
]
},
{
- "id":"b5aedf37.5b6ec",
- "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=assign\" />\n",
- "comments":"",
- "x":448.8013496398926,
- "y":1118.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "6b8e362b.376518",
+ "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": 415.2857246398926,
+ "y": 1119.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": []
},
{
- "id":"1ad15265.c666ae",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":550.8013496398926,
- "y":1057.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "841c3464.e35208",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 517.2857246398926,
+ "y": 1058.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "916b52b.b2dacb"
+ "abf4d6e7.91759"
]
]
},
{
- "id":"916b52b.b2dacb",
- "type":"for",
- "name":"for each network-input-parameters",
- "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
- "comments":"",
- "outputs":1,
- "x":372.8013496398926,
- "y":1212.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "abf4d6e7.91759",
+ "type": "for",
+ "name": "for each network-input-parameters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 339.2857246398926,
+ "y": 1213.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "48a15b4b.da9c94"
+ "4d50d8cc.46e0a"
]
]
},
{
- "id":"48a15b4b.da9c94",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":365.8013496398926,
- "y":1297.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "4d50d8cc.46e0a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 332.2857246398926,
+ "y": 1298.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "c6022f0d.42d06"
+ "5c906df.eb09894"
]
]
},
{
- "id":"c6022f0d.42d06",
- "type":"switchNode",
- "name":"switch name",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
- "comments":"",
- "outputs":1,
- "x":548.8013496398926,
- "y":1290.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "5c906df.eb09894",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 515.2857246398926,
+ "y": 1291.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "235fbeb1.629a02"
+ "1e0b11b0.0c1596"
]
]
},
{
- "id":"235fbeb1.629a02",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":729.8013496398926,
- "y":1289.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "1e0b11b0.0c1596",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 696.2857246398926,
+ "y": 1290.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "9c3a3b86.66d288"
+ "6bd99898.8a25c8"
]
]
},
{
- "id":"9c3a3b86.66d288",
- "type":"switchNode",
- "name":"switch value",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
- "comments":"",
- "outputs":1,
- "x":893.8013496398926,
- "y":1289.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "6bd99898.8a25c8",
+ "type": "switchNode",
+ "name": "switch value",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 860.2857246398926,
+ "y": 1290.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "7bc8b1f4.9d2b8"
+ "2612c750.3f1de"
]
]
},
{
- "id":"7bc8b1f4.9d2b8",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":762.8013496398926,
- "y":1413.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "2612c750.3f1de",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 729.2857246398926,
+ "y": 1414.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "457d6f04.16b53"
+ "27237901.158d7e"
]
]
},
{
- "id":"457d6f04.16b53",
- "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":941.2300643920898,
- "y":1414.8572072982788,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "27237901.158d7e",
+ "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": 907.7144393920898,
+ "y": 1415.8572072982788,
+ "z": "32fe6314.d27544",
+ "wires": []
},
{
- "id":"50f9a48d.e072dc",
- "type":"outcome",
- "name":"activate",
- "xml":"<outcome value='activate'>\n",
- "comments":"",
- "outputs":1,
- "x":373.9441947937012,
- "y":538.7619791030884,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "a9f01ff9.d40278",
+ "type": "outcome",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 340.4285697937012,
+ "y": 539.7619791030884,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "90da72db.f3e38"
+ "24b1be4.4b9cb42"
]
]
},
{
- "id":"90da72db.f3e38",
- "type":"switchNode",
- "name":"switch request-action",
- "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments":"",
- "outputs":1,
- "x":556.8013610839844,
- "y":535.9048290252686,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "24b1be4.4b9cb42",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 523.2857360839844,
+ "y": 536.9048290252686,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "e1518316.05556",
- "e5ae8d2b.cedcd"
+ "534344f8.99bd8c",
+ "3efa7868.7d6d6"
]
]
},
{
- "id":"e1518316.05556",
- "type":"other",
- "name":"ActivateNetworkInstance",
- "xml":"<outcome value='ActivateNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":822.8013610839844,
- "y":494.90482902526855,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "534344f8.99bd8c",
+ "type": "other",
+ "name": "ActivateNetworkInstance",
+ "xml": "<outcome value='ActivateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 789.2857360839844,
+ "y": 495.90482902526855,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "d9a3c7f4.4c0498"
+ "dbc11e26.b1b04"
]
]
},
{
- "id":"e5ae8d2b.cedcd",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":776.8013610839844,
- "y":544.9048290252686,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "3efa7868.7d6d6",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 743.2857360839844,
+ "y": 545.9048290252686,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "ca95078e.01fd58"
+ "7054bbc2.d71e3c"
]
]
},
{
- "id":"ca95078e.01fd58",
- "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":945.8013610839844,
- "y":544.9048290252686,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "7054bbc2.d71e3c",
+ "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": 912.2857360839844,
+ "y": 545.9048290252686,
+ "z": "32fe6314.d27544",
+ "wires": []
},
{
- "id":"d9a3c7f4.4c0498",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":1047.8013610839844,
- "y":483.90482902526855,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "dbc11e26.b1b04",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1014.2857360839844,
+ "y": 484.90482902526855,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "de9d0bad.f413c8"
+ "bae11bcf.54b4c8"
]
]
},
{
- "id":"e5333ad2.88c6a8",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":542.515625,
- "y":608.7620029449463,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "4bb419b5.b0e6e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 509,
+ "y": 609.7620029449463,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "22ce90c5.e5b49",
- "52bb2fe2.e66a7"
+ "15adf5d0.a38402",
+ "a37cc3b4.9b7a68"
]
]
},
{
- "id":"22ce90c5.e5b49",
- "type":"other",
- "name":"DeactivateNetworkInstance",
- "xml":"<outcome value='DeactivateNetworkInstance'>",
- "comments":"",
- "outputs":1,
- "x":639.6585159301758,
- "y":686.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "15adf5d0.a38402",
+ "type": "other",
+ "name": "DeactivateNetworkInstance",
+ "xml": "<outcome value='DeactivateNetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 606.1428909301758,
+ "y": 687.1905641555786,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "53c38c61.a27c24"
+ "a95baf99.9c4a6"
]
]
},
{
- "id":"52bb2fe2.e66a7",
- "type":"other",
- "name":"Other",
- "xml":"<outcome value='Other'>",
- "comments":"",
- "outputs":1,
- "x":593.6585159301758,
- "y":736.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "a37cc3b4.9b7a68",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 560.1428909301758,
+ "y": 737.1905641555786,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "d9cf8575.0f9368"
+ "77245576.2c267c"
]
]
},
{
- "id":"d9cf8575.0f9368",
- "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=assign\" />\n",
- "comments":"",
- "x":762.6585159301758,
- "y":736.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "77245576.2c267c",
+ "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": 729.1428909301758,
+ "y": 737.1905641555786,
+ "z": "32fe6314.d27544",
+ "wires": []
},
{
- "id":"53c38c61.a27c24",
- "type":"block",
- "name":"block : atomic",
- "xml":"<block atomic=\"true\">",
- "atomic":"true",
- "outputs":1,
- "x":864.6585159301758,
- "y":675.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "a95baf99.9c4a6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 831.1428909301758,
+ "y": 676.1905641555786,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "a4cdd306.8c69b"
+ "3994558.cdec22a"
]
]
},
{
- "id":"a4cdd306.8c69b",
- "type":"for",
- "name":"for each network-input-parameters",
- "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
- "comments":"",
- "outputs":1,
- "x":686.6585159301758,
- "y":830.1905641555786,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "3994558.cdec22a",
+ "type": "for",
+ "name": "for each network-input-parameters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 653.1428909301758,
+ "y": 831.1905641555786,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "864af6c.1a7ea08"
+ "a7f759b2.2be768"
]
]
},
{
- "id":"864af6c.1a7ea08",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":968.2299575805664,
- "y":803.7619962692261,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "a7f759b2.2be768",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 934.7143325805664,
+ "y": 804.7619962692261,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "d3a2495e.6d4c48"
+ "c9fb60d0.70a518"
]
]
},
{
- "id":"d3a2495e.6d4c48",
- "type":"switchNode",
- "name":"switch id",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].id == 'id'`\">\n",
- "comments":"",
- "outputs":1,
- "x":984.0871505737305,
- "y":859.6191473007202,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "c9fb60d0.70a518",
+ "type": "switchNode",
+ "name": "switch id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].id == 'id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 950.5715255737305,
+ "y": 860.6191473007202,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "bb342c57.b05fa"
+ "56941bc3.f5be04"
]
]
},
{
- "id":"bb342c57.b05fa",
- "type":"outcomeTrue",
- "name":"true",
- "xml":"<outcome value='true'>\n",
- "comments":"",
- "outputs":1,
- "x":1165.0871505737305,
- "y":858.6191473007202,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "56941bc3.f5be04",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1131.5715255737305,
+ "y": 859.6191473007202,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "552390de.1e8c"
+ "35a7f799.be48f"
]
]
},
{
- "id":"552390de.1e8c",
- "type":"switchNode",
- "name":"switch value",
- "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
- "comments":"",
- "outputs":1,
- "x":1241.9442596435547,
- "y":937.1905860900879,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "35a7f799.be48f",
+ "type": "switchNode",
+ "name": "switch value",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.4286346435547,
+ "y": 938.1905860900879,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "6d879fa9.4e09f"
+ "ba107d78.943578"
]
]
},
{
- "id":"6d879fa9.4e09f",
- "type":"outcome",
- "name":"NULL",
- "xml":"<outcome value=''>",
- "comments":"",
- "outputs":1,
- "x":1150.9442024230957,
- "y":1021.1905422210693,
- "z":"bc976c53.f1a79",
- "wires":[
+ "id": "ba107d78.943578",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1117.4285774230957,
+ "y": 1022.1905422210693,
+ "z": "32fe6314.d27544",
+ "wires": [
[
- "70a14092.36e2f"
+ "b43b580a.2bbc7"
]
]
},
{
- "id":"70a14092.36e2f",
- "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":1329.372917175293,
- "y":1022.1905422210693,
- "z":"bc976c53.f1a79",
- "wires":[
-
- ]
+ "id": "b43b580a.2bbc7",
+ "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": 1295.857292175293,
+ "y": 1023.1905422210693,
+ "z": "32fe6314.d27544",
+ "wires": []
},
{
- "id":"de9d0bad.f413c8",
- "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":1355.6666946411133,
- "y":485.3333520889282,
- "z":"bc976c53.f1a79",
- "wires":[
- [
-
- ]
+ "id": "bae11bcf.54b4c8",
+ "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": 1322.1510696411133,
+ "y": 486.3333520889282,
+ "z": "32fe6314.d27544",
+ "wires": [
+ []
]
}
-] \ No newline at end of file
+]