aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
diff options
context:
space:
mode:
authorGaurav Agrawal <gaurav.agrawal@huawei.com>2017-10-05 19:55:42 +0530
committerGaurav Agrawal <gaurav.agrawal@huawei.com>2017-10-05 14:35:45 +0000
commita26adc924eba86198fbf91e0932023fb2f79bb0d (patch)
tree774a7d766b48e272d09c76ffca4e92fc6dc08a3c /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-network-input-parameters.json
parenta673f0efbde4ded7a48722aaa85b01775fb2dd95 (diff)
Deactivate flow modification for DCI
Changes includes: 1) Save network information SDNC's MD-SAL data store 2) Send network-id & network-object-path in network-topology-operation-output 3) Deactivation based on stored network-id Change-Id: I4498d33e9e7921e047bfe9dff8c9801153f5f5f4 Issue-Id: SDNC-113 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 4d38cecf0f03e1244ca0c605c5802632b36f3b82
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.json1662
1 files changed, 781 insertions, 881 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 c55aa515..f76a824a 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,1186 +1,1086 @@
[
{
- "id": "4e4a1db5.e19994",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 69,
- "y": 114.04766654968262,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"fa4ef6c1.4eb578",
+ "type":"dgstart",
+ "name":"DGSTART",
+ "outputs":1,
+ "x":79.66666412353516,
+ "y":118.0478286743164,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "b00c6ebc.9f6148"
+ "ca5f7f5c.05d2"
]
]
},
{
- "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": [
+ "id":"ca5f7f5c.05d2",
+ "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":324.95237731933594,
+ "y":117.28590774536133,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "44d4c8c4.c3b998"
+ "8645455c.b98c28"
]
]
},
{
- "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": [
+ "id":"8645455c.b98c28",
+ "type":"method",
+ "name":"method validate-network-input-parameters",
+ "xml":"<method rpc='validate-network-input-parameters' mode='sync'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":282.5833511352539,
+ "y":192.30084609985352,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "b1f5234e.374c1"
+ "9b7f7c48.ea161"
]
]
},
{
- "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": [
+ "id":"9b7f7c48.ea161",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":566.5833587646484,
+ "y":180.30087089538574,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "911dd6e7.3e5ce",
- "30f2c5d1.5e680a"
+ "e6ff88ab.904e18",
+ "ddfba2e8.a63b3"
]
]
},
{
- "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": [
+ "id":"e6ff88ab.904e18",
+ "type":"switchNode",
+ "name":"switch svc-action",
+ "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":847.5833587646484,
+ "y":175.300856590271,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "84d48b8c.b6753"
+ "4f39bff8.da67"
]
]
},
{
- "id": "84d48b8c.b6753",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1027.6309967041016,
- "y": 172.30069541931152,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"4f39bff8.da67",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":1038.2976608276367,
+ "y":176.3008575439453,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "7ddcb143.915a4"
+ "a348b04f.fc644"
]
]
},
{
- "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": "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": [
- [
- "adae5694.342958",
- "500ad4c6.47f08c",
- "22013026.8cc88",
- "750fe4a3.ade904",
- "a9f01ff9.d40278"
- ]
+ "id":"a348b04f.fc644",
+ "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":1212.7262115478516,
+ "y":175.30084991455078,
+ "z":"85858cc8.f3e21",
+ "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": [
+ "id":"ddfba2e8.a63b3",
+ "type":"switchNode",
+ "name":"switch svc-action",
+ "xml":"<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":148.58330535888672,
+ "y":451.30087089538574,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "45ac8a67.1ab214"
+ "6e77eb2e.738e04",
+ "e71878f5.f29958",
+ "9addc920.903ef8",
+ "428444e0.ca842c",
+ "55e08239.49f15c"
]
]
},
{
- "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": [
+ "id":"6e77eb2e.738e04",
+ "type":"outcome",
+ "name":"create",
+ "xml":"<outcome value='create'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":350.08338928222656,
+ "y":451.30087089538574,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "97add15a.4cb3a8"
+ "89568ddf.5b471"
]
]
},
{
- "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": [
+ "id":"89568ddf.5b471",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":516.0833969116211,
+ "y":451.30087089538574,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "f7be75b2.d145f8"
+ "f6c08df5.6fb1"
]
]
},
{
- "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": [
+ "id":"6c4b1b37.01f564",
+ "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":1715.2975387573242,
+ "y":115.01514053344727,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "35d7055a.4a3242"
+ "e6126a8f.3bd648"
]
]
},
{
- "id": "35d7055a.4a3242",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 2775.2021980285645,
- "y": 364.01495933532715,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"29338172.3d043e",
+ "type":"switchNode",
+ "name":"switch value",
+ "xml":"<switch test=\"`$tmp.value`\">\n",
+ "comments":"",
+ "outputs":1,
+ "x":2568.8688888549805,
+ "y":369.01511573791504,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "d860ff65.a2e1"
+ "612b673.300ba98"
]
]
},
{
- "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": "500ad4c6.47f08c",
- "type": "outcome",
- "name": "deactivate",
- "xml": "<outcome value='deactivate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 341.7142791748047,
- "y": 605.4762363433838,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"612b673.300ba98",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":2785.8688621520996,
+ "y":368.01512145996094,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "4bb419b5.b0e6e"
+ "7afa06c2.9e5448"
]
]
},
{
- "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": [
- [
- "4023bbbc.b8c3c4"
- ]
+ "id":"7afa06c2.9e5448",
+ "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":2964.297576904297,
+ "y":369.01512145996094,
+ "z":"85858cc8.f3e21",
+ "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": [
+ "id":"e71878f5.f29958",
+ "type":"outcome",
+ "name":"deactivate",
+ "xml":"<outcome value='deactivate'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":352.38094329833984,
+ "y":609.4763984680176,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "3dd4d642.9cafa2"
+ "239b0e93.1dcdc2"
]
]
},
{
- "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": "f7be75b2.d145f8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1582.7142486572266,
- "y": 257.761926651001,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"9addc920.903ef8",
+ "type":"outcome",
+ "name":"delete",
+ "xml":"<outcome value='delete'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":356.0953254699707,
+ "y":780.1909561157227,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "26bdae61.564c5a",
- "395e8b66.7b0f1c",
- "84048547.624768"
+ "f1a885d0.8cce28"
]
]
},
{
- "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": [
+ "id":"428444e0.ca842c",
+ "type":"other",
+ "name":"other",
+ "xml":"<outcome value='Other'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":353.85720443725586,
+ "y":734.6192245483398,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "76502e63.ceb1a",
- "1255dbb4.75c26c"
+ "e64ba27d.4c375"
]
]
},
{
- "id": "76502e63.ceb1a",
- "type": "other",
- "name": "CreateNetworkInstance",
- "xml": "<outcome value='CreateNetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1097.000015258789,
- "y": 295.7143363952637,
- "z": "32fe6314.d27544",
- "wires": [
- [
- "afc2e177.f42c"
- ]
+ "id":"e64ba27d.4c375",
+ "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":507.4287796020508,
+ "y":737.2383685112,
+ "z":"85858cc8.f3e21",
+ "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": [
+ "id":"e6126a8f.3bd648",
+ "type":"block",
+ "name":"block",
+ "xml":"<block>\n",
+ "atomic":"false",
+ "comments":"",
+ "outputs":1,
+ "x":1593.3809127807617,
+ "y":261.76208877563477,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "dfb2157e.4f1ae"
+ "ccd87bc0.9164f8",
+ "cb2894ec.bd74d8",
+ "6058dc0f.f41074"
]
]
},
{
- "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": "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": [
+ "id":"f6c08df5.6fb1",
+ "type":"switchNode",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":841.6666793823242,
+ "y":340.71449851989746,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "d1354c61.d70e7"
+ "a05b6ee5.e1145",
+ "5ba95b98.5de334"
]
]
},
{
- "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": [
+ "id":"a05b6ee5.e1145",
+ "type":"other",
+ "name":"CreateNetworkInstance",
+ "xml":"<outcome value='CreateNetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":1107.6666793823242,
+ "y":299.71449851989746,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "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"
+ "90527be5.0854c8"
]
]
},
{
- "id": "91870d3c.00766",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 2282.285598754883,
- "y": 899,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"5ba95b98.5de334",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":1061.6666793823242,
+ "y":349.71449851989746,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "49ed5fbd.14e1c8"
+ "df81cf43.83855"
]
]
},
{
- "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": "9673ceac.9d128",
- "type": "other",
- "name": "name",
- "xml": "<outcome value='name'>",
- "comments": "",
- "outputs": 1,
- "x": 2259.285598754883,
- "y": 21,
- "z": "32fe6314.d27544",
- "wires": [
- [
- "560f8ff1.549fe8"
- ]
+ "id":"df81cf43.83855",
+ "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":1230.6666793823242,
+ "y":349.71449851989746,
+ "z":"85858cc8.f3e21",
+ "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": [
+ "id":"90527be5.0854c8",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":1332.6666793823242,
+ "y":288.71449851989746,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "6c4b1b37.01f564"
]
]
},
{
- "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": [
- [
- "560f8ff1.549fe8"
- ]
+ "id":"ccd87bc0.9164f8",
+ "type":"set",
+ "name":"clear tmp-data",
+ "xml":"<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
+ "comments":"",
+ "x":1785.380973815918,
+ "y":216.00018692016602,
+ "z":"85858cc8.f3e21",
+ "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": [
- [
- "560f8ff1.549fe8"
- ]
+ "id":"cb2894ec.bd74d8",
+ "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":1774.380973815918,
+ "y":306.000186920166,
+ "z":"85858cc8.f3e21",
+ "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": [
+ "id":"6058dc0f.f41074",
+ "type":"switchNode",
+ "name":"switch name",
+ "xml":"<switch test=\"'$tmp.name'\">\n",
+ "comments":"",
+ "outputs":1,
+ "x":1753.380973815918,
+ "y":400.000186920166,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "225fa6e2.e42a6a",
+ "b1cea899.45bb78",
+ "b9c18c6.d77387",
+ "3d722919.f81306",
+ "7b7495f0.75885c",
+ "588a0bcd.6eb034",
+ "c510015f.64592",
+ "2187bd96.9aa5b2",
+ "10a4fa76.533046",
+ "f5abb1ff.c1ae",
+ "a7b43175.17a1e",
+ "7088b07a.e19a",
+ "6b511ebf.25f2b",
+ "77d1b8f5.2028a8",
+ "e96ec4f5.f46868",
+ "25d82e93.97f172",
+ "2c0ed5ac.b6f0aa"
]
]
},
{
- "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": [
+ "id":"225fa6e2.e42a6a",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":2292.952262878418,
+ "y":903.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "9eb7590.5f32fa8"
]
]
},
{
- "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": [
- [
- "560f8ff1.549fe8"
- ]
+ "id":"9eb7590.5f32fa8",
+ "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":2467.952262878418,
+ "y":902.0001621246338,
+ "z":"85858cc8.f3e21",
+ "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": [
+ "id":"b1cea899.45bb78",
+ "type":"other",
+ "name":"name",
+ "xml":"<outcome value='name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2269.952262878418,
+ "y":25.00016212463379,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"b9c18c6.d77387",
+ "type":"other",
+ "name":"service-type",
+ "xml":"<outcome value='service-type'>",
+ "comments":"",
+ "outputs":1,
+ "x":2272.952262878418,
+ "y":92.00016212463379,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"c510015f.64592",
+ "type":"other",
+ "name":"sna2_name",
+ "xml":"<outcome value='sna2_name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2276.952262878418,
+ "y":321.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"3d722919.f81306",
+ "type":"other",
+ "name":"site1-name",
+ "xml":"<outcome value='site1-name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2273.952262878418,
+ "y":153.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"7b7495f0.75885c",
+ "type":"other",
+ "name":"site2-name",
+ "xml":"<outcome value='site2-name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2269.952262878418,
+ "y":210.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"588a0bcd.6eb034",
+ "type":"other",
+ "name":"sna1_name",
+ "xml":"<outcome value='sna1_name'>",
+ "comments":"",
+ "outputs":1,
+ "x":2272.952262878418,
+ "y":267.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"2187bd96.9aa5b2",
+ "type":"other",
+ "name":"pe1_id",
+ "xml":"<outcome value='pe1_id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2276.952262878418,
+ "y":372.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"10a4fa76.533046",
+ "type":"other",
+ "name":"pe2_id",
+ "xml":"<outcome value='pe2_id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2279.952262878418,
+ "y":420.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"f5abb1ff.c1ae",
+ "type":"other",
+ "name":"ac1-id",
+ "xml":"<outcome value='ac1-id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2284.952262878418,
+ "y":469.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "560f8ff1.549fe8"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"a7b43175.17a1e",
+ "type":"other",
+ "name":"ac2-id",
+ "xml":"<outcome value='ac2-id'>",
+ "comments":"",
+ "outputs":1,
+ "x":2286.952262878418,
+ "y":524.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "97e7ce10.7c85b8",
- "9dc996b.23ff3e8"
+ "29338172.3d043e"
]
]
},
{
- "id": "97e7ce10.7c85b8",
- "type": "other",
- "name": "DeleteNetworkInstance",
- "xml": "<outcome value='DeleteNetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 292.2857246398926,
- "y": 1069.8572072982788,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"7088b07a.e19a",
+ "type":"other",
+ "name":"ac1-ip",
+ "xml":"<outcome value='ac1-ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2286.952262878418,
+ "y":576.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "841c3464.e35208"
+ "29338172.3d043e"
]
]
},
{
- "id": "9dc996b.23ff3e8",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 246.28572463989258,
- "y": 1119.8572072982788,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"6b511ebf.25f2b",
+ "type":"other",
+ "name":"ac2-ip",
+ "xml":"<outcome value='ac2-ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2288.952262878418,
+ "y":637.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "6b8e362b.376518"
+ "29338172.3d043e"
]
]
},
{
- "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": "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": [
+ "id":"77d1b8f5.2028a8",
+ "type":"other",
+ "name":"ac1_peer_ip",
+ "xml":"<outcome value='ac1_peer_ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2290.952262878418,
+ "y":687.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "abf4d6e7.91759"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"e96ec4f5.f46868",
+ "type":"other",
+ "name":"ac2_peer_ip",
+ "xml":"<outcome value='ac2_peer_ip'>",
+ "comments":"",
+ "outputs":1,
+ "x":2286.952262878418,
+ "y":735.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "4d50d8cc.46e0a"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"25d82e93.97f172",
+ "type":"other",
+ "name":"ac1_svlan",
+ "xml":"<outcome value='ac1_svlan'>",
+ "comments":"",
+ "outputs":1,
+ "x":2288.952262878418,
+ "y":788.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "5c906df.eb09894"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"2c0ed5ac.b6f0aa",
+ "type":"other",
+ "name":"ac2_svlan",
+ "xml":"<outcome value='ac2_svlan'>",
+ "comments":"",
+ "outputs":1,
+ "x":2290.952262878418,
+ "y":849.0001621246338,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "1e0b11b0.0c1596"
+ "29338172.3d043e"
]
]
},
{
- "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": [
+ "id":"f1a885d0.8cce28",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":287.23809814453125,
+ "y":861.8574056625366,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "6bd99898.8a25c8"
+ "53246327.3f169c",
+ "4ad8f670.2e7cb8"
]
]
},
{
- "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": [
+ "id":"53246327.3f169c",
+ "type":"other",
+ "name":"DeleteNetworkInstance",
+ "xml":"<outcome value='DeleteNetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":302.95238876342773,
+ "y":917.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "2612c750.3f1de"
+ "b6255d3e.ce53d"
]
]
},
{
- "id": "2612c750.3f1de",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 729.2857246398926,
- "y": 1414.8572072982788,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"4ad8f670.2e7cb8",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":256.95238876342773,
+ "y":967.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "27237901.158d7e"
+ "5f2c6750.3bbae8"
]
]
},
{
- "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": "a9f01ff9.d40278",
- "type": "outcome",
- "name": "activate",
- "xml": "<outcome value='activate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 340.4285697937012,
- "y": 539.7619791030884,
- "z": "32fe6314.d27544",
- "wires": [
- [
- "24b1be4.4b9cb42"
- ]
+ "id":"5f2c6750.3bbae8",
+ "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":425.95238876342773,
+ "y":967.8573694229126,
+ "z":"85858cc8.f3e21",
+ "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": [
+ "id":"b6255d3e.ce53d",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":527.9523887634277,
+ "y":906.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "534344f8.99bd8c",
- "3efa7868.7d6d6"
+ "6d8480b4.bbdb8"
]
]
},
{
- "id": "534344f8.99bd8c",
- "type": "other",
- "name": "ActivateNetworkInstance",
- "xml": "<outcome value='ActivateNetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 789.2857360839844,
- "y": 495.90482902526855,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"6d8480b4.bbdb8",
+ "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":349.95238876342773,
+ "y":1061.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "dbc11e26.b1b04"
+ "30a4ecd8.0d1034"
]
]
},
{
- "id": "3efa7868.7d6d6",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 743.2857360839844,
- "y": 545.9048290252686,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"30a4ecd8.0d1034",
+ "type":"block",
+ "name":"block",
+ "xml":"<block>\n",
+ "atomic":"false",
+ "comments":"",
+ "outputs":1,
+ "x":342.95238876342773,
+ "y":1146.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "7054bbc2.d71e3c"
+ "c6454200.70fda"
]
]
},
{
- "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": "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": [
+ "id":"c6454200.70fda",
+ "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":525.9523887634277,
+ "y":1139.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "bae11bcf.54b4c8"
+ "f7a7412d.0d646"
]
]
},
{
- "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": [
+ "id":"f7a7412d.0d646",
+ "type":"outcomeTrue",
+ "name":"true",
+ "xml":"<outcome value='true'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":706.9523887634277,
+ "y":1138.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "15adf5d0.a38402",
- "a37cc3b4.9b7a68"
+ "8bfc5d6c.baf0e"
]
]
},
{
- "id": "15adf5d0.a38402",
- "type": "other",
- "name": "DeactivateNetworkInstance",
- "xml": "<outcome value='DeactivateNetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 606.1428909301758,
- "y": 687.1905641555786,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"8bfc5d6c.baf0e",
+ "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":870.9523887634277,
+ "y":1138.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "a95baf99.9c4a6"
+ "6c6337cf.113798"
]
]
},
{
- "id": "a37cc3b4.9b7a68",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 560.1428909301758,
- "y": 737.1905641555786,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"6c6337cf.113798",
+ "type":"outcome",
+ "name":"NULL",
+ "xml":"<outcome value=''>",
+ "comments":"",
+ "outputs":1,
+ "x":739.9523887634277,
+ "y":1262.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "77245576.2c267c"
+ "e60613b0.6ba12"
]
]
},
{
- "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": "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": [
+ "id":"e60613b0.6ba12",
+ "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":918.381103515625,
+ "y":1263.8573694229126,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"55e08239.49f15c",
+ "type":"outcome",
+ "name":"activate",
+ "xml":"<outcome value='activate'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":351.0952339172363,
+ "y":543.7621412277222,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "3994558.cdec22a"
+ "b69a14cd.1d3d68"
]
]
},
{
- "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": [
+ "id":"b69a14cd.1d3d68",
+ "type":"switchNode",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":533.9524002075195,
+ "y":540.9049911499023,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "a7f759b2.2be768"
+ "d54c9f22.ae97d",
+ "b12bd94e.696e48"
]
]
},
{
- "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": [
+ "id":"d54c9f22.ae97d",
+ "type":"other",
+ "name":"ActivateDCINetworkInstance",
+ "xml":"<outcome value='ActivateDCINetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":799.9524002075195,
+ "y":499.90499114990234,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "c9fb60d0.70a518"
+ "cf772b80.a4cba8"
]
]
},
{
- "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": [
+ "id":"b12bd94e.696e48",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":753.9524002075195,
+ "y":549.9049911499023,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "56941bc3.f5be04"
+ "bef2ee40.874af"
]
]
},
{
- "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": [
+ "id":"bef2ee40.874af",
+ "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":922.9524002075195,
+ "y":549.9049911499023,
+ "z":"85858cc8.f3e21",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"cf772b80.a4cba8",
+ "type":"block",
+ "name":"block : atomic",
+ "xml":"<block atomic=\"true\">",
+ "atomic":"true",
+ "outputs":1,
+ "x":1024.9524002075195,
+ "y":488.90499114990234,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "35a7f799.be48f"
+ "36dbd61d.c5357a"
]
]
},
{
- "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": [
+ "id":"8b8b3296.f79f8",
+ "type":"other",
+ "name":"DeActivateDCINetworkInstance",
+ "xml":"<outcome value='DeActivateDCINetworkInstance'>",
+ "comments":"",
+ "outputs":1,
+ "x":795.8095703125,
+ "y":611.1907920837402,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "ba107d78.943578"
+
]
]
},
{
- "id": "ba107d78.943578",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1117.4285774230957,
- "y": 1022.1905422210693,
- "z": "32fe6314.d27544",
- "wires": [
+ "id":"c54688aa.82e958",
+ "type":"other",
+ "name":"Other",
+ "xml":"<outcome value='Other'>",
+ "comments":"",
+ "outputs":1,
+ "x":710.8095626831055,
+ "y":680.1907997131348,
+ "z":"85858cc8.f3e21",
+ "wires":[
[
- "b43b580a.2bbc7"
+ "d62ac2c7.17544"
]
]
},
{
- "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":"d62ac2c7.17544",
+ "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":891.8095779418945,
+ "y":681.1907997131348,
+ "z":"85858cc8.f3e21",
+ "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": [
- []
+ "id":"36dbd61d.c5357a",
+ "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":1332.8177337646484,
+ "y":490.333514213562,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"239b0e93.1dcdc2",
+ "type":"switchNode",
+ "name":"switch request-action",
+ "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":532.6666259765625,
+ "y":611.6666259765625,
+ "z":"85858cc8.f3e21",
+ "wires":[
+ [
+ "8b8b3296.f79f8",
+ "c54688aa.82e958"
+ ]
]
}
-]
+] \ No newline at end of file