[
{
- "id": "4e4a1db5.e19994",
+ "id": "ddf8122b.bf6e5",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 69,
- "y": 114.04766654968262,
- "z": "32fe6314.d27544",
+ "x": 87,
+ "y": 115.04766654968262,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b00c6ebc.9f6148"
+ "2fff1e3d.63ab82"
]
]
},
{
- "id": "b00c6ebc.9f6148",
+ "id": "2fff1e3d.63ab82",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
"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",
+ "x": 332.2857131958008,
+ "y": 114.28574562072754,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "44d4c8c4.c3b998"
+ "5d7ec735.0c4ba8"
]
]
},
{
- "id": "44d4c8c4.c3b998",
+ "id": "5d7ec735.0c4ba8",
"type": "method",
"name": "method validate-network-input-parameters",
"xml": "<method rpc='validate-network-input-parameters' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 271.91668701171875,
- "y": 188.30068397521973,
- "z": "32fe6314.d27544",
+ "x": 289.91668701171875,
+ "y": 189.30068397521973,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b1f5234e.374c1"
+ "c72cc377.3d6a98"
]
]
},
{
- "id": "b1f5234e.374c1",
+ "id": "c72cc377.3d6a98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 555.9166946411133,
- "y": 176.30070877075195,
- "z": "32fe6314.d27544",
+ "x": 573.9166946411133,
+ "y": 177.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "911dd6e7.3e5ce",
- "30f2c5d1.5e680a"
+ "846bb887.500c9",
+ "26516dd.068d212"
]
]
},
{
- "id": "911dd6e7.3e5ce",
+ "id": "846bb887.500c9",
"type": "switchNode",
"name": "switch svc-action",
"xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 836.9166946411133,
- "y": 171.3006944656372,
- "z": "32fe6314.d27544",
+ "x": 854.9166946411133,
+ "y": 172.3006944656372,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "84d48b8c.b6753"
+ "770a13b8.39f74c"
]
]
},
{
- "id": "84d48b8c.b6753",
+ "id": "770a13b8.39f74c",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1027.6309967041016,
- "y": 172.30069541931152,
- "z": "32fe6314.d27544",
+ "x": 1045.6309967041016,
+ "y": 173.30069541931152,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "7ddcb143.915a4"
+ "b2cafa38.2cf18"
]
]
},
{
- "id": "7ddcb143.915a4",
+ "id": "b2cafa38.2cf18",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"sdnc-request-header.svc-request-id is a required input\" />\n",
"comments": "",
- "x": 1202.0595474243164,
- "y": 171.300687789917,
- "z": "32fe6314.d27544",
+ "x": 1220.0595474243164,
+ "y": 172.300687789917,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "30f2c5d1.5e680a",
+ "id": "26516dd.068d212",
"type": "switchNode",
"name": "switch svc-action",
- "xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 137.91664123535156,
- "y": 447.30070877075195,
- "z": "32fe6314.d27544",
+ "x": 155.91664123535156,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "adae5694.342958",
- "500ad4c6.47f08c",
- "22013026.8cc88",
- "750fe4a3.ade904",
- "a9f01ff9.d40278"
+ "3553ffe6.e3983",
+ "9543c13f.54a338",
+ "67e65045.59b8a8",
+ "72ab0083.c0d808",
+ "1c3c77bb.a2bfc"
]
]
},
{
- "id": "adae5694.342958",
+ "id": "3553ffe6.e3983",
"type": "outcome",
"name": "create",
"xml": "<outcome value='create'>\n",
"comments": "",
"outputs": 1,
- "x": 339.4167251586914,
- "y": 447.30070877075195,
- "z": "32fe6314.d27544",
+ "x": 357.4167251586914,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "45ac8a67.1ab214"
+ "dfd730e2.3d41a"
]
]
},
{
- "id": "45ac8a67.1ab214",
+ "id": "dfd730e2.3d41a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 505.41673278808594,
- "y": 447.30070877075195,
- "z": "32fe6314.d27544",
+ "x": 523.4167327880859,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "97add15a.4cb3a8"
+ "b792e4c7.13b96"
]
]
},
{
- "id": "d1354c61.d70e7",
+ "id": "786f42e8.a3ebcc",
"type": "for",
"name": "for loop i - Network input parameters",
- "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-information.network-request-input.network-input-parameters.param_length`\">\n",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n",
"comments": "",
"outputs": 1,
- "x": 1704.630874633789,
- "y": 111.01497840881348,
- "z": "32fe6314.d27544",
+ "x": 1720.630859375,
+ "y": 109.01498413085938,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "f7be75b2.d145f8"
+ "39c05252.332006"
]
]
},
{
- "id": "560f8ff1.549fe8",
+ "id": "4662d843.0df85",
"type": "switchNode",
"name": "switch value",
"xml": "<switch test=\"`$tmp.value`\">\n",
"comments": "",
"outputs": 1,
- "x": 2558.2022247314453,
- "y": 365.01495361328125,
- "z": "32fe6314.d27544",
+ "x": 2576.2022247314453,
+ "y": 366.01495361328125,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "35d7055a.4a3242"
+ "632316ae.127dd"
]
]
},
{
- "id": "35d7055a.4a3242",
+ "id": "632316ae.127dd",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2775.2021980285645,
- "y": 364.01495933532715,
- "z": "32fe6314.d27544",
+ "x": 2793.2021980285645,
+ "y": 365.01495933532715,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "d860ff65.a2e1"
+ "3f61b79e.239a58"
]
]
},
{
- "id": "d860ff65.a2e1",
+ "id": "3f61b79e.239a58",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'network-request-input.network-input-parameters.param '+ $tmp.name +' is a required input'\" />\n",
+ "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",
+ "x": 2971.6309127807617,
+ "y": 366.01495933532715,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "500ad4c6.47f08c",
+ "id": "9543c13f.54a338",
"type": "outcome",
"name": "deactivate",
"xml": "<outcome value='deactivate'>\n",
"comments": "",
"outputs": 1,
- "x": 341.7142791748047,
- "y": 605.4762363433838,
- "z": "32fe6314.d27544",
+ "x": 359.7142791748047,
+ "y": 606.4762363433838,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "4bb419b5.b0e6e"
+ "ff7f1b4f.30d5a8"
]
]
},
{
- "id": "22013026.8cc88",
+ "id": "67e65045.59b8a8",
"type": "outcome",
"name": "delete",
"xml": "<outcome value='delete'>\n",
"comments": "",
"outputs": 1,
- "x": 345.42866134643555,
- "y": 932.1907939910889,
- "z": "32fe6314.d27544",
+ "x": 363.42866134643555,
+ "y": 777.1907939910889,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "4023bbbc.b8c3c4"
+ "c1e4044f.d7929"
]
]
},
{
- "id": "750fe4a3.ade904",
+ "id": "72ab0083.c0d808",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 343.1905403137207,
- "y": 886.619062423706,
- "z": "32fe6314.d27544",
+ "x": 363.1905517578125,
+ "y": 950.6190795898438,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "3dd4d642.9cafa2"
+ "f0129720.1ef558"
]
]
},
{
- "id": "3dd4d642.9cafa2",
+ "id": "f0129720.1ef558",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
"comments": "",
- "x": 496.7621154785156,
- "y": 889.2382063865662,
- "z": "32fe6314.d27544",
+ "x": 546.7620849609375,
+ "y": 951.2382202148438,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "f7be75b2.d145f8",
+ "id": "39c05252.332006",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1582.7142486572266,
- "y": 257.761926651001,
- "z": "32fe6314.d27544",
+ "x": 1600.7142486572266,
+ "y": 258.761926651001,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "26bdae61.564c5a",
- "395e8b66.7b0f1c",
- "84048547.624768"
+ "bd82571.4ad4228",
+ "ce182094.ef8a3",
+ "6a5abb1b.52e074"
]
]
},
{
- "id": "97add15a.4cb3a8",
+ "id": "b792e4c7.13b96",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 831.0000152587891,
- "y": 336.7143363952637,
- "z": "32fe6314.d27544",
+ "x": 849.0000152587891,
+ "y": 337.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "76502e63.ceb1a",
- "1255dbb4.75c26c"
+ "c5d42ffb.c9f0d8",
+ "69f739d0.28fca"
]
]
},
{
- "id": "76502e63.ceb1a",
+ "id": "c5d42ffb.c9f0d8",
"type": "other",
"name": "CreateNetworkInstance",
"xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1097.000015258789,
- "y": 295.7143363952637,
- "z": "32fe6314.d27544",
+ "x": 1115.000015258789,
+ "y": 296.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "afc2e177.f42c"
+ "2a69c84.9676bb8"
]
]
},
{
- "id": "1255dbb4.75c26c",
+ "id": "69f739d0.28fca",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1051.000015258789,
- "y": 345.7143363952637,
- "z": "32fe6314.d27544",
+ "x": 1069.000015258789,
+ "y": 346.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "dfb2157e.4f1ae"
+ "a4f6f6a1.e1ab58"
]
]
},
{
- "id": "dfb2157e.4f1ae",
+ "id": "a4f6f6a1.e1ab58",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=create\" />\n",
"comments": "",
- "x": 1220.000015258789,
- "y": 345.7143363952637,
- "z": "32fe6314.d27544",
+ "x": 1238.000015258789,
+ "y": 346.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "afc2e177.f42c",
+ "id": "2a69c84.9676bb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1322.000015258789,
- "y": 284.7143363952637,
- "z": "32fe6314.d27544",
+ "x": 1340.000015258789,
+ "y": 285.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "d1354c61.d70e7"
+ "786f42e8.a3ebcc"
]
]
},
{
- "id": "26bdae61.564c5a",
+ "id": "bd82571.4ad4228",
"type": "set",
"name": "clear tmp-data",
"xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
"comments": "",
- "x": 1774.7143096923828,
- "y": 212.00002479553223,
- "z": "32fe6314.d27544",
+ "x": 1792.7143096923828,
+ "y": 213.00002479553223,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "395e8b66.7b0f1c",
+ "id": "ce182094.ef8a3",
"type": "set",
"name": "set tmp-data",
- "xml": "<set>\n<parameter name='tmp.name' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].name'\"/>\n<parameter name='tmp.value' value=\"'$network-topology-operation-input.network-request-input.network-input-parameters.param[i].value'\"/>\n",
+ "xml": "<set>\n<parameter name='tmp.name' value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$i].name`\"/>\n<parameter name='tmp.value' value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$i].value`\"/>\n",
"comments": "",
- "x": 1763.7143096923828,
- "y": 302.0000247955322,
- "z": "32fe6314.d27544",
+ "x": 1781.7143096923828,
+ "y": 303.0000247955322,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "84048547.624768",
+ "id": "6a5abb1b.52e074",
"type": "switchNode",
"name": "switch name",
- "xml": "<switch test=\"'$tmp.name'\">\n",
+ "xml": "<switch test=\"`$tmp.name`\">\n",
"comments": "",
"outputs": 1,
- "x": 1742.7143096923828,
- "y": 396.0000247955322,
- "z": "32fe6314.d27544",
+ "x": 1760.7143096923828,
+ "y": 397.0000247955322,
+ "z": "8e4867bc.5edaa8",
"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"
+ "52effe4f.ac2ae8",
+ "869a7fd8.50b75",
+ "407c2eba.5d49f8",
+ "174077c9.6c10c8",
+ "4f610fc8.b35008",
+ "10ff2035.1d4618",
+ "4c528719.50cae",
+ "a67c5c2f.007308",
+ "8b639e89.f3549",
+ "d88cca1b.f3ea88",
+ "986570e4.376248",
+ "cd383e71.d36be8",
+ "a1ba7fd7.d88d3",
+ "a53ac3b.66852c",
+ "3d95e365.11bc6c",
+ "18048265.211a56",
+ "e570f120.c01b38"
]
]
},
{
- "id": "91870d3c.00766",
+ "id": "52effe4f.ac2ae8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2282.285598754883,
- "y": 899,
- "z": "32fe6314.d27544",
+ "x": 2300.285598754883,
+ "y": 900,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "49ed5fbd.14e1c8"
+ "540cec23.3e0ea4"
]
]
},
{
- "id": "49ed5fbd.14e1c8",
+ "id": "540cec23.3e0ea4",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'network-topology-operation-input.network-request-input.network-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n",
"comments": "",
- "x": 2457.285598754883,
- "y": 898,
- "z": "32fe6314.d27544",
+ "x": 2475.285598754883,
+ "y": 899,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "9673ceac.9d128",
+ "id": "869a7fd8.50b75",
"type": "other",
"name": "name",
"xml": "<outcome value='name'>",
"comments": "",
"outputs": 1,
- "x": 2259.285598754883,
- "y": 21,
- "z": "32fe6314.d27544",
+ "x": 2277.285598754883,
+ "y": 22,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "2fa6afd4.470c68",
+ "id": "407c2eba.5d49f8",
"type": "other",
"name": "service-type",
"xml": "<outcome value='service-type'>",
"comments": "",
"outputs": 1,
- "x": 2262.285598754883,
- "y": 88,
- "z": "32fe6314.d27544",
+ "x": 2280.285598754883,
+ "y": 89,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "3f6ebe83.24fb02",
+ "id": "4c528719.50cae",
"type": "other",
"name": "sna2_name",
"xml": "<outcome value='sna2_name'>",
"comments": "",
"outputs": 1,
- "x": 2266.285598754883,
- "y": 317,
- "z": "32fe6314.d27544",
+ "x": 2284.285598754883,
+ "y": 318,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "208a2db6.5cd29a",
+ "id": "174077c9.6c10c8",
"type": "other",
"name": "site1-name",
"xml": "<outcome value='site1-name'>",
"comments": "",
"outputs": 1,
- "x": 2263.285598754883,
- "y": 149,
- "z": "32fe6314.d27544",
+ "x": 2281.285598754883,
+ "y": 150,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "a6950835.4f1f88",
+ "id": "4f610fc8.b35008",
"type": "other",
"name": "site2-name",
"xml": "<outcome value='site2-name'>",
"comments": "",
"outputs": 1,
- "x": 2259.285598754883,
- "y": 206,
- "z": "32fe6314.d27544",
+ "x": 2277.285598754883,
+ "y": 207,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "f6a60960.64ec1",
+ "id": "10ff2035.1d4618",
"type": "other",
"name": "sna1_name",
"xml": "<outcome value='sna1_name'>",
"comments": "",
"outputs": 1,
- "x": 2262.285598754883,
- "y": 263,
- "z": "32fe6314.d27544",
+ "x": 2280.285598754883,
+ "y": 264,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "6691ccb6.43ba2c",
+ "id": "a67c5c2f.007308",
"type": "other",
"name": "pe1_id",
"xml": "<outcome value='pe1_id'>",
"comments": "",
"outputs": 1,
- "x": 2266.285598754883,
- "y": 368,
- "z": "32fe6314.d27544",
+ "x": 2284.285598754883,
+ "y": 369,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "3e734965.e53836",
+ "id": "8b639e89.f3549",
"type": "other",
"name": "pe2_id",
"xml": "<outcome value='pe2_id'>",
"comments": "",
"outputs": 1,
- "x": 2269.285598754883,
- "y": 416,
- "z": "32fe6314.d27544",
+ "x": 2287.285598754883,
+ "y": 417,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "7c1d0f2f.d390d8",
+ "id": "d88cca1b.f3ea88",
"type": "other",
"name": "ac1-id",
"xml": "<outcome value='ac1-id'>",
"comments": "",
"outputs": 1,
- "x": 2274.285598754883,
- "y": 465,
- "z": "32fe6314.d27544",
+ "x": 2292.285598754883,
+ "y": 466,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "90835e79.55fda",
+ "id": "986570e4.376248",
"type": "other",
"name": "ac2-id",
"xml": "<outcome value='ac2-id'>",
"comments": "",
"outputs": 1,
- "x": 2276.285598754883,
- "y": 520,
- "z": "32fe6314.d27544",
+ "x": 2294.285598754883,
+ "y": 521,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "98d98d4e.90457",
+ "id": "cd383e71.d36be8",
"type": "other",
"name": "ac1-ip",
"xml": "<outcome value='ac1-ip'>",
"comments": "",
"outputs": 1,
- "x": 2276.285598754883,
- "y": 572,
- "z": "32fe6314.d27544",
+ "x": 2294.285598754883,
+ "y": 573,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "c55ddc64.709ea",
+ "id": "a1ba7fd7.d88d3",
"type": "other",
"name": "ac2-ip",
"xml": "<outcome value='ac2-ip'>",
"comments": "",
"outputs": 1,
- "x": 2278.285598754883,
- "y": 633,
- "z": "32fe6314.d27544",
+ "x": 2296.285598754883,
+ "y": 634,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "d3d96688.947678",
+ "id": "a53ac3b.66852c",
"type": "other",
"name": "ac1_peer_ip",
"xml": "<outcome value='ac1_peer_ip'>",
"comments": "",
"outputs": 1,
- "x": 2280.285598754883,
- "y": 683,
- "z": "32fe6314.d27544",
+ "x": 2298.285598754883,
+ "y": 684,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "de824513.d08848",
+ "id": "3d95e365.11bc6c",
"type": "other",
"name": "ac2_peer_ip",
"xml": "<outcome value='ac2_peer_ip'>",
"comments": "",
"outputs": 1,
- "x": 2276.285598754883,
- "y": 731,
- "z": "32fe6314.d27544",
+ "x": 2294.285598754883,
+ "y": 732,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "bd1ecf5f.f7c2b",
+ "id": "18048265.211a56",
"type": "other",
"name": "ac1_svlan",
"xml": "<outcome value='ac1_svlan'>",
"comments": "",
"outputs": 1,
- "x": 2278.285598754883,
- "y": 784,
- "z": "32fe6314.d27544",
+ "x": 2296.285598754883,
+ "y": 785,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "499053bc.575afc",
+ "id": "e570f120.c01b38",
"type": "other",
"name": "ac2_svlan",
"xml": "<outcome value='ac2_svlan'>",
"comments": "",
"outputs": 1,
- "x": 2280.285598754883,
- "y": 845,
- "z": "32fe6314.d27544",
+ "x": 2298.285598754883,
+ "y": 846,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "560f8ff1.549fe8"
+ "4662d843.0df85"
]
]
},
{
- "id": "4023bbbc.b8c3c4",
+ "id": "c1e4044f.d7929",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 276.5714340209961,
- "y": 1013.8572435379028,
- "z": "32fe6314.d27544",
+ "x": 532.5714111328125,
+ "y": 775.8572387695312,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "97e7ce10.7c85b8",
- "9dc996b.23ff3e8"
+ "4d5581d7.e27f88"
]
]
},
{
- "id": "97e7ce10.7c85b8",
+ "id": "4f4bf5a8.a829ac",
"type": "other",
"name": "DeleteNetworkInstance",
"xml": "<outcome value='DeleteNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 292.2857246398926,
- "y": 1069.8572072982788,
- "z": "32fe6314.d27544",
+ "x": 965.2857055664062,
+ "y": 778.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "841c3464.e35208"
+ "562b1ef.a708d6"
]
]
},
{
- "id": "9dc996b.23ff3e8",
+ "id": "548cf43d.62af0c",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 246.28572463989258,
- "y": 1119.8572072982788,
- "z": "32fe6314.d27544",
+ "x": 1025.2857055664062,
+ "y": 908.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "6b8e362b.376518"
+ "5adf131e.a61cf4"
]
]
},
{
- "id": "6b8e362b.376518",
+ "id": "5adf131e.a61cf4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=delete\" />\n",
"comments": "",
- "x": 415.2857246398926,
- "y": 1119.8572072982788,
- "z": "32fe6314.d27544",
+ "x": 1212.2857055664062,
+ "y": 909.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "841c3464.e35208",
+ "id": "562b1ef.a708d6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 517.2857246398926,
- "y": 1058.8572072982788,
- "z": "32fe6314.d27544",
- "wires": [
- [
- "abf4d6e7.91759"
- ]
- ]
- },
- {
- "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": [
- [
- "4d50d8cc.46e0a"
- ]
- ]
- },
- {
- "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": [
- [
- "5c906df.eb09894"
- ]
- ]
- },
- {
- "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": [
- [
- "1e0b11b0.0c1596"
- ]
- ]
- },
- {
- "id": "1e0b11b0.0c1596",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 696.2857246398926,
- "y": 1290.8572072982788,
- "z": "32fe6314.d27544",
+ "x": 920.2857055664062,
+ "y": 978.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "6bd99898.8a25c8"
+ "253ad8eb.98869",
+ "aeedc57a.12dee8"
]
]
},
{
- "id": "6bd99898.8a25c8",
+ "id": "253ad8eb.98869",
"type": "switchNode",
- "name": "switch value",
- "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
+ "name": "switch network-id",
+ "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 860.2857246398926,
- "y": 1290.8572072982788,
- "z": "32fe6314.d27544",
+ "x": 1074.28564453125,
+ "y": 1078.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "2612c750.3f1de"
+ "34e7b676.a0927a"
]
]
},
{
- "id": "2612c750.3f1de",
+ "id": "34e7b676.a0927a",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 729.2857246398926,
- "y": 1414.8572072982788,
- "z": "32fe6314.d27544",
+ "x": 1258.28564453125,
+ "y": 1081.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "27237901.158d7e"
+ "8389ad47.02308"
]
]
},
{
- "id": "27237901.158d7e",
+ "id": "8389ad47.02308",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-request-input.network-input-parameters.name is a required input\" />\n",
"comments": "",
- "x": 907.7144393920898,
- "y": 1415.8572072982788,
- "z": "32fe6314.d27544",
+ "x": 1414.71435546875,
+ "y": 1080.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "a9f01ff9.d40278",
+ "id": "1c3c77bb.a2bfc",
"type": "outcome",
"name": "activate",
"xml": "<outcome value='activate'>\n",
"comments": "",
"outputs": 1,
- "x": 340.4285697937012,
- "y": 539.7619791030884,
- "z": "32fe6314.d27544",
+ "x": 358.4285697937012,
+ "y": 540.7619791030884,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "24b1be4.4b9cb42"
+ "3c6d4ec3.c79d7a"
]
]
},
{
- "id": "24b1be4.4b9cb42",
+ "id": "3c6d4ec3.c79d7a",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 523.2857360839844,
- "y": 536.9048290252686,
- "z": "32fe6314.d27544",
+ "x": 541.2857360839844,
+ "y": 537.9048290252686,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "534344f8.99bd8c",
- "3efa7868.7d6d6"
+ "bc964363.f267b",
+ "a1a12099.fb3058"
]
]
},
{
- "id": "534344f8.99bd8c",
+ "id": "bc964363.f267b",
"type": "other",
- "name": "ActivateNetworkInstance",
- "xml": "<outcome value='ActivateNetworkInstance'>",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 789.2857360839844,
- "y": 495.90482902526855,
- "z": "32fe6314.d27544",
+ "x": 807.2857360839844,
+ "y": 496.90482902526855,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "dbc11e26.b1b04"
+ "a3300122.bf0e6"
]
]
},
{
- "id": "3efa7868.7d6d6",
+ "id": "a1a12099.fb3058",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 743.2857360839844,
- "y": 545.9048290252686,
- "z": "32fe6314.d27544",
+ "x": 761.2857360839844,
+ "y": 546.9048290252686,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "7054bbc2.d71e3c"
+ "7572ee8e.b0b5b8"
]
]
},
{
- "id": "7054bbc2.d71e3c",
+ "id": "7572ee8e.b0b5b8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"request-information.request-action is required to be ActivateNetworkInstance for svc-action=activate\" />\n",
"comments": "",
- "x": 912.2857360839844,
- "y": 545.9048290252686,
- "z": "32fe6314.d27544",
+ "x": 930.2857360839844,
+ "y": 546.9048290252686,
+ "z": "8e4867bc.5edaa8",
"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": [
- [
- "bae11bcf.54b4c8"
- ]
- ]
- },
- {
- "id": "4bb419b5.b0e6e",
+ "id": "a3300122.bf0e6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 509,
- "y": 609.7620029449463,
- "z": "32fe6314.d27544",
+ "x": 1032.2857360839844,
+ "y": 485.90482902526855,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "15adf5d0.a38402",
- "a37cc3b4.9b7a68"
+ "7cd4d474.99df44"
]
]
},
{
- "id": "15adf5d0.a38402",
+ "id": "e4ddb749.a4dd58",
"type": "other",
- "name": "DeactivateNetworkInstance",
- "xml": "<outcome value='DeactivateNetworkInstance'>",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 606.1428909301758,
- "y": 687.1905641555786,
- "z": "32fe6314.d27544",
+ "x": 803.1429061889648,
+ "y": 608.1906299591064,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "a95baf99.9c4a6"
+ "393b880c.5a2ab8"
]
]
},
{
- "id": "a37cc3b4.9b7a68",
+ "id": "b415c4d7.ec51d8",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 560.1428909301758,
- "y": 737.1905641555786,
- "z": "32fe6314.d27544",
+ "x": 718.1428985595703,
+ "y": 677.190637588501,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "77245576.2c267c"
+ "b678cd71.9eea48"
]
]
},
{
- "id": "77245576.2c267c",
+ "id": "b678cd71.9eea48",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"request-information.request-action is required to be DeactivateNetworkInstance for svc-action=deactivate\" />\n",
"comments": "",
- "x": 729.1428909301758,
- "y": 737.1905641555786,
- "z": "32fe6314.d27544",
+ "x": 899.1429138183594,
+ "y": 678.190637588501,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "a95baf99.9c4a6",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
+ "id": "7cd4d474.99df44",
+ "type": "call",
+ "name": "call validate-overlay-network-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-overlay-network-input-parameters' mode='sync' >\n",
+ "comments": "",
"outputs": 1,
- "x": 831.1428909301758,
- "y": 676.1905641555786,
- "z": "32fe6314.d27544",
+ "x": 1340.1510696411133,
+ "y": 487.3333520889282,
+ "z": "8e4867bc.5edaa8",
"wires": [
- [
- "3994558.cdec22a"
- ]
+ []
]
},
{
- "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",
+ "id": "ff7f1b4f.30d5a8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 653.1428909301758,
- "y": 831.1905641555786,
- "z": "32fe6314.d27544",
+ "x": 539.9999618530273,
+ "y": 608.6664638519287,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "a7f759b2.2be768"
+ "e4ddb749.a4dd58",
+ "b415c4d7.ec51d8"
]
]
},
{
- "id": "a7f759b2.2be768",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "id": "4d5581d7.e27f88",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 934.7143325805664,
- "y": 804.7619962692261,
- "z": "32fe6314.d27544",
+ "x": 706,
+ "y": 867,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "c9fb60d0.70a518"
+ "4f4bf5a8.a829ac",
+ "548cf43d.62af0c"
]
]
},
{
- "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",
+ "id": "aeedc57a.12dee8",
+ "type": "execute",
+ "name": "execute requiredParameter",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"network-topology-operation-input.network-information.network-id\" value=\"$network-topology-operation-input.network-information.network-id\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 950.5715255737305,
- "y": 860.6191473007202,
- "z": "32fe6314.d27544",
+ "x": 1207,
+ "y": 975,
+ "z": "8e4867bc.5edaa8",
"wires": [
- [
- "56941bc3.f5be04"
- ]
+ []
]
},
{
- "id": "56941bc3.f5be04",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
+ "id": "393b880c.5a2ab8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
"outputs": 1,
- "x": 1131.5715255737305,
- "y": 859.6191473007202,
- "z": "32fe6314.d27544",
+ "x": 1091.9999618530273,
+ "y": 611,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "35a7f799.be48f"
+ "46bbeff4.c42c88",
+ "1fbe8bfb.465ce4"
]
]
},
{
- "id": "35a7f799.be48f",
+ "id": "46bbeff4.c42c88",
"type": "switchNode",
- "name": "switch value",
- "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`\">\n",
+ "name": "switch network-id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
"comments": "",
"outputs": 1,
- "x": 1208.4286346435547,
- "y": 938.1905860900879,
- "z": "32fe6314.d27544",
+ "x": 1245.999900817871,
+ "y": 711,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "ba107d78.943578"
+ "147516eb.099cf9"
]
]
},
{
- "id": "ba107d78.943578",
+ "id": "147516eb.099cf9",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1117.4285774230957,
- "y": 1022.1905422210693,
- "z": "32fe6314.d27544",
+ "x": 1429.999900817871,
+ "y": 714,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b43b580a.2bbc7"
+ "c957deec.097848"
]
]
},
{
- "id": "b43b580a.2bbc7",
+ "id": "c957deec.097848",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-request-input.network-input-parameters.name is a required input\" />\n",
"comments": "",
- "x": 1295.857292175293,
- "y": 1023.1905422210693,
- "z": "32fe6314.d27544",
+ "x": 1586.428611755371,
+ "y": 713,
+ "z": "8e4867bc.5edaa8",
"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",
+ "id": "1fbe8bfb.465ce4",
+ "type": "execute",
+ "name": "execute requiredParameters",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"network-topology-operation-input.network-information.network-id\" value=\"$network-topology-operation-input.network-information.network-id\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1322.1510696411133,
- "y": 486.3333520889282,
- "z": "32fe6314.d27544",
+ "x": 1378.714256286621,
+ "y": 607.142822265625,
+ "z": "8e4867bc.5edaa8",
"wires": [
[]
]