[
{
- "id": "fbeebb28.041148",
+ "id": "ddf8122b.bf6e5",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 132.85714721679688,
- "y": 178.57142639160156,
- "z": "41919c74.be6e64",
+ "x": 87,
+ "y": 115.04766654968262,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "664d9ba9.99b264"
+ "2fff1e3d.63ab82"
]
]
},
{
- "id": "664d9ba9.99b264",
+ "id": "2fff1e3d.63ab82",
"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}'>",
+ "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": 378.14286041259766,
- "y": 177.80950546264648,
- "z": "41919c74.be6e64",
+ "x": 332.2857131958008,
+ "y": 114.28574562072754,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "486551e4.b79ab"
+ "5d7ec735.0c4ba8"
]
]
},
{
- "id": "486551e4.b79ab",
+ "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": 335.7738342285156,
- "y": 252.82444381713867,
- "z": "41919c74.be6e64",
+ "x": 289.91668701171875,
+ "y": 189.30068397521973,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "d58b2e53.2a74d"
+ "c72cc377.3d6a98"
]
]
},
{
- "id": "d58b2e53.2a74d",
+ "id": "c72cc377.3d6a98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 619.7738418579102,
- "y": 240.8244686126709,
- "z": "41919c74.be6e64",
+ "x": 573.9166946411133,
+ "y": 177.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "d7a4de3d.285b2",
- "cec7d28c.31383"
+ "846bb887.500c9",
+ "26516dd.068d212"
]
]
},
{
- "id": "d7a4de3d.285b2",
+ "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": 900.7738418579102,
- "y": 235.82445430755615,
- "z": "41919c74.be6e64",
+ "x": 854.9166946411133,
+ "y": 172.3006944656372,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "bb379126.44c87"
+ "770a13b8.39f74c"
]
]
},
{
- "id": "bb379126.44c87",
+ "id": "770a13b8.39f74c",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1091.4881439208984,
- "y": 236.82445526123047,
- "z": "41919c74.be6e64",
+ "x": 1045.6309967041016,
+ "y": 173.30069541931152,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6f565f3.490a98"
+ "b2cafa38.2cf18"
]
]
},
{
- "id": "b6f565f3.490a98",
+ "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": 1265.9166946411133,
- "y": 235.82444763183594,
- "z": "41919c74.be6e64",
+ "x": 1220.0595474243164,
+ "y": 172.300687789917,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "cec7d28c.31383",
+ "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": 201.77378845214844,
- "y": 511.8244686126709,
- "z": "41919c74.be6e64",
+ "x": 155.91664123535156,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "75d754ee.8a28ac",
- "ad892566.5276d8",
- "481e2179.b7e1e",
- "60a2dfba.9f5d2",
- "655825a3.9aa7dc"
+ "3553ffe6.e3983",
+ "9543c13f.54a338",
+ "67e65045.59b8a8",
+ "72ab0083.c0d808",
+ "1c3c77bb.a2bfc"
]
]
},
{
- "id": "75d754ee.8a28ac",
+ "id": "3553ffe6.e3983",
"type": "outcome",
- "name": "assign",
- "xml": "<outcome value='assign'>\n",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
"comments": "",
"outputs": 1,
- "x": 403.2738723754883,
- "y": 511.8244686126709,
- "z": "41919c74.be6e64",
+ "x": 357.4167251586914,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "a5452c63.5abad"
+ "dfd730e2.3d41a"
]
]
},
{
- "id": "a5452c63.5abad",
+ "id": "dfd730e2.3d41a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 569.2738800048828,
- "y": 511.8244686126709,
- "z": "41919c74.be6e64",
+ "x": 523.4167327880859,
+ "y": 448.30070877075195,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "70b2b7d8.8f4d48"
+ "b792e4c7.13b96"
]
]
},
{
- "id": "2111484.fdeeeb8",
+ "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": 1768.488021850586,
- "y": 175.53873825073242,
- "z": "41919c74.be6e64",
+ "x": 1720.630859375,
+ "y": 109.01498413085938,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "23ff25d7.dc00da"
+ "39c05252.332006"
]
]
},
{
- "id": "b6c6c32e.49394",
+ "id": "4662d843.0df85",
"type": "switchNode",
"name": "switch value",
"xml": "<switch test=\"`$tmp.value`\">\n",
"comments": "",
"outputs": 1,
- "x": 2622.059371948242,
- "y": 429.5387134552002,
- "z": "41919c74.be6e64",
+ "x": 2576.2022247314453,
+ "y": 366.01495361328125,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "ada5f970.525a08"
+ "632316ae.127dd"
]
]
},
{
- "id": "ada5f970.525a08",
+ "id": "632316ae.127dd",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2839.0593452453613,
- "y": 428.5387191772461,
- "z": "41919c74.be6e64",
+ "x": 2793.2021980285645,
+ "y": 365.01495933532715,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "ed2ebd09.12d14"
+ "3f61b79e.239a58"
]
]
},
{
- "id": "ed2ebd09.12d14",
+ "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.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": 3017.4880599975586,
- "y": 429.5387191772461,
- "z": "41919c74.be6e64",
+ "x": 2971.6309127807617,
+ "y": 366.01495933532715,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "ad892566.5276d8",
+ "id": "9543c13f.54a338",
"type": "outcome",
"name": "deactivate",
"xml": "<outcome value='deactivate'>\n",
"comments": "",
"outputs": 1,
- "x": 405.57142639160156,
- "y": 669.9999961853027,
- "z": "41919c74.be6e64",
+ "x": 359.7142791748047,
+ "y": 606.4762363433838,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "cf8cfa72.307308"
+ "ff7f1b4f.30d5a8"
]
]
},
{
- "id": "481e2179.b7e1e",
+ "id": "67e65045.59b8a8",
"type": "outcome",
"name": "delete",
"xml": "<outcome value='delete'>\n",
"comments": "",
"outputs": 1,
- "x": 409.2858085632324,
- "y": 996.7145538330078,
- "z": "41919c74.be6e64",
+ "x": 363.42866134643555,
+ "y": 777.1907939910889,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "777dc005.88824"
+ "c1e4044f.d7929"
]
]
},
{
- "id": "60a2dfba.9f5d2",
+ "id": "72ab0083.c0d808",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 407.0476875305176,
- "y": 951.142822265625,
- "z": "41919c74.be6e64",
+ "x": 363.1905517578125,
+ "y": 950.6190795898438,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "e573762b.1a8c88"
+ "f0129720.1ef558"
]
]
},
{
- "id": "e573762b.1a8c88",
+ "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": 560.6192626953125,
- "y": 953.7619662284851,
- "z": "41919c74.be6e64",
+ "x": 546.7620849609375,
+ "y": 951.2382202148438,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "23ff25d7.dc00da",
+ "id": "39c05252.332006",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1646.5713958740234,
- "y": 322.2856864929199,
- "z": "41919c74.be6e64",
+ "x": 1600.7142486572266,
+ "y": 258.761926651001,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "4d67279e.b298d8",
- "88358308.77ca8",
- "1a1154a1.e5eeab"
+ "bd82571.4ad4228",
+ "ce182094.ef8a3",
+ "6a5abb1b.52e074"
]
]
},
{
- "id": "70b2b7d8.8f4d48",
+ "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": 894.8571624755859,
- "y": 401.2380962371826,
- "z": "41919c74.be6e64",
+ "x": 849.0000152587891,
+ "y": 337.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "2263fcf0.dd9c04",
- "f78b2624.0874d8"
+ "c5d42ffb.c9f0d8",
+ "69f739d0.28fca"
]
]
},
{
- "id": "2263fcf0.dd9c04",
+ "id": "c5d42ffb.c9f0d8",
"type": "other",
"name": "CreateNetworkInstance",
"xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1160.857162475586,
- "y": 360.2380962371826,
- "z": "41919c74.be6e64",
+ "x": 1115.000015258789,
+ "y": 296.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "504c1faf.afb3e"
+ "2a69c84.9676bb8"
]
]
},
{
- "id": "f78b2624.0874d8",
+ "id": "69f739d0.28fca",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1114.857162475586,
- "y": 410.2380962371826,
- "z": "41919c74.be6e64",
+ "x": 1069.000015258789,
+ "y": 346.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "692f7373.96d08c"
+ "a4f6f6a1.e1ab58"
]
]
},
{
- "id": "692f7373.96d08c",
+ "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=assign\" />\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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=create\" />\n",
"comments": "",
- "x": 1283.857162475586,
- "y": 410.2380962371826,
- "z": "41919c74.be6e64",
+ "x": 1238.000015258789,
+ "y": 346.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "504c1faf.afb3e",
+ "id": "2a69c84.9676bb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1385.857162475586,
- "y": 349.2380962371826,
- "z": "41919c74.be6e64",
+ "x": 1340.000015258789,
+ "y": 285.7143363952637,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "2111484.fdeeeb8"
+ "786f42e8.a3ebcc"
]
]
},
{
- "id": "6598afe7.9a675",
- "type": "comment",
- "name": "TODO: need to identify underlay or overlay",
- "info": "",
- "comments": "",
- "x": 1130.4286651611328,
- "y": 308.952356338501,
- "z": "41919c74.be6e64",
- "wires": []
- },
- {
- "id": "4d67279e.b298d8",
+ "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": 1838.5714569091797,
- "y": 276.5237846374512,
- "z": "41919c74.be6e64",
+ "x": 1792.7143096923828,
+ "y": 213.00002479553223,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "88358308.77ca8",
+ "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": 1827.5714569091797,
- "y": 366.5237846374512,
- "z": "41919c74.be6e64",
+ "x": 1781.7143096923828,
+ "y": 303.0000247955322,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "1a1154a1.e5eeab",
+ "id": "6a5abb1b.52e074",
"type": "switchNode",
"name": "switch name",
- "xml": "<switch test=\"'$tmp.name'\">\n",
+ "xml": "<switch test=\"`$tmp.name`\">\n",
"comments": "",
"outputs": 1,
- "x": 1806.5714569091797,
- "y": 460.5237846374512,
- "z": "41919c74.be6e64",
+ "x": 1760.7143096923828,
+ "y": 397.0000247955322,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "fec78ff3.01387",
- "6a6df5db.95920c",
- "c9668b0d.369978",
- "5f023b7d.a0fdc4",
- "85213655.7adec8",
- "54513a6c.abaec4",
- "8b1be305.74e42",
- "856ed4f2.7a9128",
- "80769836.7f8968",
- "9b694645.6496b8",
- "a075f82a.5f8a08",
- "1b0790dd.e4f86f",
- "b32746a2.4cd8b8",
- "ac316a2a.53ce98",
- "94575312.6ba8b",
- "b6c16e45.493e9",
- "75bd3929.8a42c8"
+ "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": "fec78ff3.01387",
+ "id": "52effe4f.ac2ae8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2346.1427459716797,
- "y": 963.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2300.285598754883,
+ "y": 900,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "eaadea68.155218"
+ "540cec23.3e0ea4"
]
]
},
{
- "id": "eaadea68.155218",
+ "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": 2521.1427459716797,
- "y": 962.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2475.285598754883,
+ "y": 899,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "6a6df5db.95920c",
+ "id": "869a7fd8.50b75",
"type": "other",
"name": "name",
"xml": "<outcome value='name'>",
"comments": "",
"outputs": 1,
- "x": 2323.1427459716797,
- "y": 85.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2277.285598754883,
+ "y": 22,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "c9668b0d.369978",
+ "id": "407c2eba.5d49f8",
"type": "other",
"name": "service-type",
"xml": "<outcome value='service-type'>",
"comments": "",
"outputs": 1,
- "x": 2326.1427459716797,
- "y": 152.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2280.285598754883,
+ "y": 89,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "8b1be305.74e42",
+ "id": "4c528719.50cae",
"type": "other",
"name": "sna2_name",
"xml": "<outcome value='sna2_name'>",
"comments": "",
"outputs": 1,
- "x": 2330.1427459716797,
- "y": 381.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2284.285598754883,
+ "y": 318,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "5f023b7d.a0fdc4",
+ "id": "174077c9.6c10c8",
"type": "other",
"name": "site1-name",
"xml": "<outcome value='site1-name'>",
"comments": "",
"outputs": 1,
- "x": 2327.1427459716797,
- "y": 213.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2281.285598754883,
+ "y": 150,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "85213655.7adec8",
+ "id": "4f610fc8.b35008",
"type": "other",
"name": "site2-name",
"xml": "<outcome value='site2-name'>",
"comments": "",
"outputs": 1,
- "x": 2323.1427459716797,
- "y": 270.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2277.285598754883,
+ "y": 207,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "54513a6c.abaec4",
+ "id": "10ff2035.1d4618",
"type": "other",
"name": "sna1_name",
"xml": "<outcome value='sna1_name'>",
"comments": "",
"outputs": 1,
- "x": 2326.1427459716797,
- "y": 327.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2280.285598754883,
+ "y": 264,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "856ed4f2.7a9128",
+ "id": "a67c5c2f.007308",
"type": "other",
"name": "pe1_id",
"xml": "<outcome value='pe1_id'>",
"comments": "",
"outputs": 1,
- "x": 2330.1427459716797,
- "y": 432.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2284.285598754883,
+ "y": 369,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "80769836.7f8968",
+ "id": "8b639e89.f3549",
"type": "other",
"name": "pe2_id",
"xml": "<outcome value='pe2_id'>",
"comments": "",
"outputs": 1,
- "x": 2333.1427459716797,
- "y": 480.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2287.285598754883,
+ "y": 417,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "9b694645.6496b8",
+ "id": "d88cca1b.f3ea88",
"type": "other",
"name": "ac1-id",
"xml": "<outcome value='ac1-id'>",
"comments": "",
"outputs": 1,
- "x": 2338.1427459716797,
- "y": 529.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2292.285598754883,
+ "y": 466,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "a075f82a.5f8a08",
+ "id": "986570e4.376248",
"type": "other",
"name": "ac2-id",
"xml": "<outcome value='ac2-id'>",
"comments": "",
"outputs": 1,
- "x": 2340.1427459716797,
- "y": 584.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2294.285598754883,
+ "y": 521,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "1b0790dd.e4f86f",
+ "id": "cd383e71.d36be8",
"type": "other",
"name": "ac1-ip",
"xml": "<outcome value='ac1-ip'>",
"comments": "",
"outputs": 1,
- "x": 2340.1427459716797,
- "y": 636.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2294.285598754883,
+ "y": 573,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "b32746a2.4cd8b8",
+ "id": "a1ba7fd7.d88d3",
"type": "other",
"name": "ac2-ip",
"xml": "<outcome value='ac2-ip'>",
"comments": "",
"outputs": 1,
- "x": 2342.1427459716797,
- "y": 697.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2296.285598754883,
+ "y": 634,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "ac316a2a.53ce98",
+ "id": "a53ac3b.66852c",
"type": "other",
"name": "ac1_peer_ip",
"xml": "<outcome value='ac1_peer_ip'>",
"comments": "",
"outputs": 1,
- "x": 2344.1427459716797,
- "y": 747.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2298.285598754883,
+ "y": 684,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "94575312.6ba8b",
+ "id": "3d95e365.11bc6c",
"type": "other",
"name": "ac2_peer_ip",
"xml": "<outcome value='ac2_peer_ip'>",
"comments": "",
"outputs": 1,
- "x": 2340.1427459716797,
- "y": 795.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2294.285598754883,
+ "y": 732,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "b6c16e45.493e9",
+ "id": "18048265.211a56",
"type": "other",
"name": "ac1_svlan",
"xml": "<outcome value='ac1_svlan'>",
"comments": "",
"outputs": 1,
- "x": 2342.1427459716797,
- "y": 848.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2296.285598754883,
+ "y": 785,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "75bd3929.8a42c8",
+ "id": "e570f120.c01b38",
"type": "other",
"name": "ac2_svlan",
"xml": "<outcome value='ac2_svlan'>",
"comments": "",
"outputs": 1,
- "x": 2344.1427459716797,
- "y": 909.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2298.285598754883,
+ "y": 846,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "b6c6c32e.49394"
+ "4662d843.0df85"
]
]
},
{
- "id": "777dc005.88824",
+ "id": "c1e4044f.d7929",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 340.42858123779297,
- "y": 1078.3810033798218,
- "z": "41919c74.be6e64",
+ "x": 532.5714111328125,
+ "y": 775.8572387695312,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "a61ab24b.59e55",
- "9c0bbd14.63f44"
+ "4d5581d7.e27f88"
]
]
},
{
- "id": "a61ab24b.59e55",
+ "id": "4f4bf5a8.a829ac",
"type": "other",
"name": "DeleteNetworkInstance",
"xml": "<outcome value='DeleteNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 356.14287185668945,
- "y": 1134.3809671401978,
- "z": "41919c74.be6e64",
+ "x": 965.2857055664062,
+ "y": 778.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "a956c548.56a938"
+ "562b1ef.a708d6"
]
]
},
{
- "id": "9c0bbd14.63f44",
+ "id": "548cf43d.62af0c",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 310.14287185668945,
- "y": 1184.3809671401978,
- "z": "41919c74.be6e64",
+ "x": 1025.2857055664062,
+ "y": 908.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "3c6c31c7.c393ce"
+ "5adf131e.a61cf4"
]
]
},
{
- "id": "3c6c31c7.c393ce",
+ "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 CreateNetworkInstance for svc-action=assign\" />\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=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=delete\" />\n",
"comments": "",
- "x": 479.14287185668945,
- "y": 1184.3809671401978,
- "z": "41919c74.be6e64",
+ "x": 1212.2857055664062,
+ "y": 909.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "a956c548.56a938",
+ "id": "562b1ef.a708d6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 581.1428718566895,
- "y": 1123.3809671401978,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "5793869c.a86c78"
- ]
- ]
- },
- {
- "id": "5793869c.a86c78",
- "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": 403.14287185668945,
- "y": 1278.3809671401978,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "1c06545.fe3f9ac"
- ]
- ]
- },
- {
- "id": "1c06545.fe3f9ac",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 396.14287185668945,
- "y": 1363.3809671401978,
- "z": "41919c74.be6e64",
+ "x": 920.2857055664062,
+ "y": 978.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "5898a53c.a7675c"
+ "253ad8eb.98869",
+ "aeedc57a.12dee8"
]
]
},
{
- "id": "5898a53c.a7675c",
+ "id": "253ad8eb.98869",
"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": 579.1428718566895,
- "y": 1356.3809671401978,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "a1cbbebc.5e344"
- ]
- ]
- },
- {
- "id": "a1cbbebc.5e344",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 760.1428718566895,
- "y": 1355.3809671401978,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "1f995851.e066a8"
- ]
- ]
- },
- {
- "id": "1f995851.e066a8",
- "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": 924.1428718566895,
- "y": 1355.3809671401978,
- "z": "41919c74.be6e64",
+ "x": 1074.28564453125,
+ "y": 1078.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "964134d1.69bec8"
+ "34e7b676.a0927a"
]
]
},
{
- "id": "964134d1.69bec8",
+ "id": "34e7b676.a0927a",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 793.1428718566895,
- "y": 1479.3809671401978,
- "z": "41919c74.be6e64",
+ "x": 1258.28564453125,
+ "y": 1081.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "5e9f6b8b.a16094"
+ "8389ad47.02308"
]
]
},
{
- "id": "5e9f6b8b.a16094",
+ "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": 971.5715866088867,
- "y": 1480.3809671401978,
- "z": "41919c74.be6e64",
+ "x": 1414.71435546875,
+ "y": 1080.857177734375,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "655825a3.9aa7dc",
+ "id": "1c3c77bb.a2bfc",
"type": "outcome",
"name": "activate",
"xml": "<outcome value='activate'>\n",
"comments": "",
"outputs": 1,
- "x": 404.28571701049805,
- "y": 604.2857389450073,
- "z": "41919c74.be6e64",
+ "x": 358.4285697937012,
+ "y": 540.7619791030884,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "dc7e5048.2381b"
+ "3c6d4ec3.c79d7a"
]
]
},
{
- "id": "dc7e5048.2381b",
+ "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": 587.1428833007812,
- "y": 601.4285888671875,
- "z": "41919c74.be6e64",
+ "x": 541.2857360839844,
+ "y": 537.9048290252686,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "4e0582c3.b1fa7c",
- "20cf7f44.df308"
+ "bc964363.f267b",
+ "a1a12099.fb3058"
]
]
},
{
- "id": "4e0582c3.b1fa7c",
+ "id": "bc964363.f267b",
"type": "other",
- "name": "ActivateNetworkInstance",
- "xml": "<outcome value='ActivateNetworkInstance'>",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 853.1428833007812,
- "y": 560.4285888671875,
- "z": "41919c74.be6e64",
+ "x": 807.2857360839844,
+ "y": 496.90482902526855,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "dc249849.23db68"
+ "a3300122.bf0e6"
]
]
},
{
- "id": "20cf7f44.df308",
+ "id": "a1a12099.fb3058",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 807.1428833007812,
- "y": 610.4285888671875,
- "z": "41919c74.be6e64",
+ "x": 761.2857360839844,
+ "y": 546.9048290252686,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "c869bca7.37964"
+ "7572ee8e.b0b5b8"
]
]
},
{
- "id": "c869bca7.37964",
+ "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": 976.1428833007812,
- "y": 610.4285888671875,
- "z": "41919c74.be6e64",
+ "x": 930.2857360839844,
+ "y": 546.9048290252686,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "dc249849.23db68",
+ "id": "a3300122.bf0e6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1078.1428833007812,
- "y": 549.4285888671875,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "a69af05c.59651"
- ]
- ]
- },
- {
- "id": "a69af05c.59651",
- "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": 1331.4285888671875,
- "y": 547.1428833007812,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "eebcaba3.114358"
- ]
- ]
- },
- {
- "id": "eebcaba3.114358",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1209.511962890625,
- "y": 693.8898315429688,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "2a9d9d71.d56262",
- "7f24842b.80db7c",
- "8531be73.7ace4"
- ]
- ]
- },
- {
- "id": "2a9d9d71.d56262",
- "type": "set",
- "name": "clear tmp-data",
- "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
- "comments": "",
- "x": 1401.5120239257812,
- "y": 648.1279296875,
- "z": "41919c74.be6e64",
- "wires": []
- },
- {
- "id": "7f24842b.80db7c",
- "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": 1390.5120239257812,
- "y": 738.1279296875,
- "z": "41919c74.be6e64",
- "wires": []
- },
- {
- "id": "8531be73.7ace4",
- "type": "switchNode",
- "name": "switch name",
- "xml": "<switch test=\"'$tmp.name'\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1369.5120239257812,
- "y": 832.1279296875,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "c40817b9.3bf7e8",
- "90143650.6febc8",
- "96865432.6979a8",
- "7937c725.86c838",
- "693ea026.96c16",
- "6ae3527c.951cac",
- "1c7eef33.e38111"
- ]
- ]
- },
- {
- "id": "c40817b9.3bf7e8",
- "type": "other",
- "name": "name",
- "xml": "<outcome value='name'>",
- "comments": "",
- "outputs": 1,
- "x": 1588.9405250549316,
- "y": 681.4136323928833,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "490badab.b6f454"
- ]
- ]
- },
- {
- "id": "90143650.6febc8",
- "type": "other",
- "name": "description",
- "xml": "<outcome value='description'>",
- "comments": "",
- "outputs": 1,
- "x": 1599.0833473205566,
- "y": 744.1279344558716,
- "z": "41919c74.be6e64",
+ "x": 1032.2857360839844,
+ "y": 485.90482902526855,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "490badab.b6f454"
+ "7cd4d474.99df44"
]
]
},
{
- "id": "96865432.6979a8",
+ "id": "e4ddb749.a4dd58",
"type": "other",
- "name": "router_id",
- "xml": "<outcome value='router_id'>",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1590.0833625793457,
- "y": 799.4136219024658,
- "z": "41919c74.be6e64",
+ "x": 803.1429061889648,
+ "y": 608.1906299591064,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "490badab.b6f454"
+ "393b880c.5a2ab8"
]
]
},
{
- "id": "7937c725.86c838",
+ "id": "b415c4d7.ec51d8",
"type": "other",
- "name": "local_networks",
- "xml": "<outcome value='local_networks'>",
- "comments": "",
- "outputs": 1,
- "x": 1608.9405403137207,
- "y": 857.8422183990479,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "490badab.b6f454"
- ]
- ]
- },
- {
- "id": "490badab.b6f454",
- "type": "switchNode",
- "name": "switch value",
- "xml": "<switch test=\"`$tmp.value`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1902.8571815490723,
- "y": 787.1428785324097,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "8613db79.79ec28"
- ]
- ]
- },
- {
- "id": "8613db79.79ec28",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1909.8572540283203,
- "y": 968.9999656677246,
- "z": "41919c74.be6e64",
+ "x": 718.1428985595703,
+ "y": 677.190637588501,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "e2427698.1dbd88"
+ "b678cd71.9eea48"
]
]
},
{
- "id": "e2427698.1dbd88",
+ "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=\"network-request-input.network-input-parameters.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=\"request-information.request-action is required to be DeactivateNetworkInstance for svc-action=deactivate\" />\n",
"comments": "",
- "x": 2088.2859687805176,
- "y": 969.9999656677246,
- "z": "41919c74.be6e64",
+ "x": 899.1429138183594,
+ "y": 678.190637588501,
+ "z": "8e4867bc.5edaa8",
"wires": []
},
{
- "id": "693ea026.96c16",
- "type": "other",
- "name": "evpn_irts",
- "xml": "<outcome value='evpn_irts'>",
- "comments": "",
- "outputs": 1,
- "x": 1591.428596496582,
- "y": 911.4285907745361,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "490badab.b6f454"
- ]
- ]
- },
- {
- "id": "6ae3527c.951cac",
- "type": "other",
- "name": "evpn_erts",
- "xml": "<outcome value='evpn_erts'>",
+ "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": 1595.7144165039062,
- "y": 964.2857065200806,
- "z": "41919c74.be6e64",
+ "x": 1340.1510696411133,
+ "y": 487.3333520889282,
+ "z": "8e4867bc.5edaa8",
"wires": [
- [
- "490badab.b6f454"
- ]
+ []
]
},
{
- "id": "1c7eef33.e38111",
- "type": "other",
- "name": "l3_vni",
- "xml": "<outcome value='l3_vni'>",
+ "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": 1585.7143440246582,
- "y": 1017.1428127288818,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "490badab.b6f454"
- ]
- ]
- },
- {
- "id": "cf8cfa72.307308",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 572.8571472167969,
- "y": 674.2857627868652,
- "z": "41919c74.be6e64",
+ "x": 539.9999618530273,
+ "y": 608.6664638519287,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "7dfe5fb0.8201a",
- "d03dcc77.2fc23"
+ "e4ddb749.a4dd58",
+ "b415c4d7.ec51d8"
]
]
},
{
- "id": "7dfe5fb0.8201a",
- "type": "other",
- "name": "DeactivateNetworkInstance",
- "xml": "<outcome value='DeactivateNetworkInstance'>",
+ "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": 670.0000381469727,
- "y": 751.7143239974976,
- "z": "41919c74.be6e64",
+ "x": 706,
+ "y": 867,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "5f1ca7c8.a0e358"
+ "4f4bf5a8.a829ac",
+ "548cf43d.62af0c"
]
]
},
{
- "id": "d03dcc77.2fc23",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
+ "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": 624.0000381469727,
- "y": 801.7143239974976,
- "z": "41919c74.be6e64",
+ "x": 1207,
+ "y": 975,
+ "z": "8e4867bc.5edaa8",
"wires": [
- [
- "4adf02c9.b520fc"
- ]
+ []
]
},
{
- "id": "4adf02c9.b520fc",
- "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": 793.0000381469727,
- "y": 801.7143239974976,
- "z": "41919c74.be6e64",
- "wires": []
- },
- {
- "id": "5f1ca7c8.a0e358",
+ "id": "393b880c.5a2ab8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 895.0000381469727,
- "y": 740.7143239974976,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "9aa1529a.655eb"
- ]
- ]
- },
- {
- "id": "9aa1529a.655eb",
- "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": 717.0000381469727,
- "y": 895.7143239974976,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "9158dfcf.6ea72"
- ]
- ]
- },
- {
- "id": "9158dfcf.6ea72",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 998.5714797973633,
- "y": 869.285756111145,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "ae5a6a7f.51a598"
- ]
- ]
- },
- {
- "id": "ae5a6a7f.51a598",
- "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": 1014.4286727905273,
- "y": 925.1429071426392,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "aea89c57.51576"
- ]
- ]
- },
- {
- "id": "aea89c57.51576",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1195.4286727905273,
- "y": 924.1429071426392,
- "z": "41919c74.be6e64",
+ "x": 1091.9999618530273,
+ "y": 611,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "2c274bc2.d3d8b4"
+ "46bbeff4.c42c88",
+ "1fbe8bfb.465ce4"
]
]
},
{
- "id": "2c274bc2.d3d8b4",
+ "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": 1272.2857818603516,
- "y": 1002.7143459320068,
- "z": "41919c74.be6e64",
+ "x": 1245.999900817871,
+ "y": 711,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "d2cf8ac3.2d3078"
+ "147516eb.099cf9"
]
]
},
{
- "id": "d2cf8ac3.2d3078",
+ "id": "147516eb.099cf9",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1181.2857246398926,
- "y": 1086.7143020629883,
- "z": "41919c74.be6e64",
+ "x": 1429.999900817871,
+ "y": 714,
+ "z": "8e4867bc.5edaa8",
"wires": [
[
- "3b17c4b7.c4e83c"
+ "c957deec.097848"
]
]
},
{
- "id": "3b17c4b7.c4e83c",
+ "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": 1359.7144393920898,
- "y": 1087.7143020629883,
- "z": "41919c74.be6e64",
+ "x": 1586.428611755371,
+ "y": 713,
+ "z": "8e4867bc.5edaa8",
"wires": []
+ },
+ {
+ "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": 1378.714256286621,
+ "y": 607.142822265625,
+ "z": "8e4867bc.5edaa8",
+ "wires": [
+ []
+ ]
}
-]
\ No newline at end of file
+]