[
{
- "id": "fbeebb28.041148",
+ "id": "faa0ffba.e89d8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 132.85714721679688,
- "y": 178.57142639160156,
- "z": "41919c74.be6e64",
+ "x": 85,
+ "y": 113.04766654968262,
+ "z": "d98986ab.861428",
"wires": [
[
- "664d9ba9.99b264"
+ "b95f4940.66cc78"
]
]
},
{
- "id": "664d9ba9.99b264",
+ "id": "b95f4940.66cc78",
"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": 330.2857131958008,
+ "y": 112.28574562072754,
+ "z": "d98986ab.861428",
"wires": [
[
- "486551e4.b79ab"
+ "db8880e7.399138"
]
]
},
{
- "id": "486551e4.b79ab",
+ "id": "db8880e7.399138",
"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": 287.91668701171875,
+ "y": 187.30068397521973,
+ "z": "d98986ab.861428",
"wires": [
[
- "d58b2e53.2a74d"
+ "c2bcbabd.ce8158"
]
]
},
{
- "id": "d58b2e53.2a74d",
+ "id": "c2bcbabd.ce8158",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 619.7738418579102,
- "y": 240.8244686126709,
- "z": "41919c74.be6e64",
+ "x": 571.9166946411133,
+ "y": 175.30070877075195,
+ "z": "d98986ab.861428",
"wires": [
[
- "d7a4de3d.285b2",
- "cec7d28c.31383"
+ "7723f6f5.70d16",
+ "23bb4d68.1d6aca"
]
]
},
{
- "id": "d7a4de3d.285b2",
+ "id": "7723f6f5.70d16",
"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": 852.9166946411133,
+ "y": 170.3006944656372,
+ "z": "d98986ab.861428",
"wires": [
[
- "bb379126.44c87"
+ "847bfdf7.dfd188"
]
]
},
{
- "id": "bb379126.44c87",
+ "id": "847bfdf7.dfd188",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1091.4881439208984,
- "y": 236.82445526123047,
- "z": "41919c74.be6e64",
+ "x": 1043.6309967041016,
+ "y": 171.30069541931152,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6f565f3.490a98"
+ "a76f46ec.4caa98"
]
]
},
{
- "id": "b6f565f3.490a98",
+ "id": "a76f46ec.4caa98",
"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": 1218.0595474243164,
+ "y": 170.300687789917,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "cec7d28c.31383",
+ "id": "23bb4d68.1d6aca",
"type": "switchNode",
"name": "switch svc-action",
"xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 201.77378845214844,
- "y": 511.8244686126709,
- "z": "41919c74.be6e64",
+ "x": 153.91664123535156,
+ "y": 446.30070877075195,
+ "z": "d98986ab.861428",
"wires": [
[
- "75d754ee.8a28ac",
- "ad892566.5276d8",
- "481e2179.b7e1e",
- "60a2dfba.9f5d2",
- "655825a3.9aa7dc"
+ "2a23b50.62488cc",
+ "ffd34193.404aa",
+ "fc4b5571.bad3e",
+ "3670d91f.b7e116",
+ "823b7913.83e82"
]
]
},
{
- "id": "75d754ee.8a28ac",
+ "id": "2a23b50.62488cc",
"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": 355.4167251586914,
+ "y": 446.30070877075195,
+ "z": "d98986ab.861428",
"wires": [
[
- "a5452c63.5abad"
+ "35a22a62.927db6"
]
]
},
{
- "id": "a5452c63.5abad",
+ "id": "35a22a62.927db6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 569.2738800048828,
- "y": 511.8244686126709,
- "z": "41919c74.be6e64",
+ "x": 521.4167327880859,
+ "y": 446.30070877075195,
+ "z": "d98986ab.861428",
"wires": [
[
- "70b2b7d8.8f4d48"
+ "84b1bafe.d753c8"
]
]
},
{
- "id": "2111484.fdeeeb8",
+ "id": "c761568c.03f0a",
"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": 1768.488021850586,
- "y": 175.53873825073242,
- "z": "41919c74.be6e64",
+ "x": 1720.630874633789,
+ "y": 110.01497840881348,
+ "z": "d98986ab.861428",
"wires": [
[
- "23ff25d7.dc00da"
+ "6bbe7ccf.21c664"
]
]
},
{
- "id": "b6c6c32e.49394",
+ "id": "80903373.40bd",
"type": "switchNode",
"name": "switch value",
"xml": "<switch test=\"`$tmp.value`\">\n",
"comments": "",
"outputs": 1,
- "x": 2622.059371948242,
- "y": 429.5387134552002,
- "z": "41919c74.be6e64",
+ "x": 2574.2022247314453,
+ "y": 364.01495361328125,
+ "z": "d98986ab.861428",
"wires": [
[
- "ada5f970.525a08"
+ "7dc03e79.e30648"
]
]
},
{
- "id": "ada5f970.525a08",
+ "id": "7dc03e79.e30648",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2839.0593452453613,
- "y": 428.5387191772461,
- "z": "41919c74.be6e64",
+ "x": 2791.2021980285645,
+ "y": 363.01495933532715,
+ "z": "d98986ab.861428",
"wires": [
[
- "ed2ebd09.12d14"
+ "4449f580.7eb1b4"
]
]
},
{
- "id": "ed2ebd09.12d14",
+ "id": "4449f580.7eb1b4",
"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": 2969.6309127807617,
+ "y": 364.01495933532715,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "ad892566.5276d8",
+ "id": "ffd34193.404aa",
"type": "outcome",
"name": "deactivate",
"xml": "<outcome value='deactivate'>\n",
"comments": "",
"outputs": 1,
- "x": 405.57142639160156,
- "y": 669.9999961853027,
- "z": "41919c74.be6e64",
+ "x": 357.7142791748047,
+ "y": 604.4762363433838,
+ "z": "d98986ab.861428",
"wires": [
[
- "cf8cfa72.307308"
+ "7ef0cfae.a9d9c"
]
]
},
{
- "id": "481e2179.b7e1e",
+ "id": "fc4b5571.bad3e",
"type": "outcome",
"name": "delete",
"xml": "<outcome value='delete'>\n",
"comments": "",
"outputs": 1,
- "x": 409.2858085632324,
- "y": 996.7145538330078,
- "z": "41919c74.be6e64",
+ "x": 361.42866134643555,
+ "y": 775.1907939910889,
+ "z": "d98986ab.861428",
"wires": [
[
- "777dc005.88824"
+ "e0263cc1.d96968"
]
]
},
{
- "id": "60a2dfba.9f5d2",
+ "id": "3670d91f.b7e116",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 407.0476875305176,
- "y": 951.142822265625,
- "z": "41919c74.be6e64",
+ "x": 359.1905403137207,
+ "y": 729.619062423706,
+ "z": "d98986ab.861428",
"wires": [
[
- "e573762b.1a8c88"
+ "1187da8e.1e68e5"
]
]
},
{
- "id": "e573762b.1a8c88",
+ "id": "1187da8e.1e68e5",
"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": 512.7621154785156,
+ "y": 732.2382063865662,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "23ff25d7.dc00da",
+ "id": "6bbe7ccf.21c664",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1646.5713958740234,
- "y": 322.2856864929199,
- "z": "41919c74.be6e64",
+ "x": 1598.7142486572266,
+ "y": 256.761926651001,
+ "z": "d98986ab.861428",
"wires": [
[
- "4d67279e.b298d8",
- "88358308.77ca8",
- "1a1154a1.e5eeab"
+ "9a78d49c.5c6c48",
+ "4d7afbb9.93f474",
+ "e49aca1a.0651b8"
]
]
},
{
- "id": "70b2b7d8.8f4d48",
+ "id": "84b1bafe.d753c8",
"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": 847.0000152587891,
+ "y": 335.7143363952637,
+ "z": "d98986ab.861428",
"wires": [
[
- "2263fcf0.dd9c04",
- "f78b2624.0874d8"
+ "b2571e45.c855e8",
+ "ac398ddc.f05998"
]
]
},
{
- "id": "2263fcf0.dd9c04",
+ "id": "b2571e45.c855e8",
"type": "other",
"name": "CreateNetworkInstance",
"xml": "<outcome value='CreateNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1160.857162475586,
- "y": 360.2380962371826,
- "z": "41919c74.be6e64",
+ "x": 1113.000015258789,
+ "y": 294.7143363952637,
+ "z": "d98986ab.861428",
"wires": [
[
- "504c1faf.afb3e"
+ "8b60af63.0db818"
]
]
},
{
- "id": "f78b2624.0874d8",
+ "id": "ac398ddc.f05998",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1114.857162475586,
- "y": 410.2380962371826,
- "z": "41919c74.be6e64",
+ "x": 1067.000015258789,
+ "y": 344.7143363952637,
+ "z": "d98986ab.861428",
"wires": [
[
- "692f7373.96d08c"
+ "e121de21.0ffe78"
]
]
},
{
- "id": "692f7373.96d08c",
+ "id": "e121de21.0ffe78",
"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": 1236.000015258789,
+ "y": 344.7143363952637,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "504c1faf.afb3e",
+ "id": "8b60af63.0db818",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1385.857162475586,
- "y": 349.2380962371826,
- "z": "41919c74.be6e64",
+ "x": 1338.000015258789,
+ "y": 283.7143363952637,
+ "z": "d98986ab.861428",
"wires": [
[
- "2111484.fdeeeb8"
+ "c761568c.03f0a"
]
]
},
{
- "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": "9a78d49c.5c6c48",
"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": 1790.7143096923828,
+ "y": 211.00002479553223,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "88358308.77ca8",
+ "id": "4d7afbb9.93f474",
"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": 1779.7143096923828,
+ "y": 301.0000247955322,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "1a1154a1.e5eeab",
+ "id": "e49aca1a.0651b8",
"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": 1758.7143096923828,
+ "y": 395.0000247955322,
+ "z": "d98986ab.861428",
"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"
+ "41e3528.04abc2c",
+ "6ac01d8a.f6a7fc",
+ "f26849c8.b296e",
+ "bb7bcaf4.82d9e8",
+ "27adc52c.8ee0d2",
+ "ef56550b.fc6858",
+ "c927ca6e.4041d8",
+ "510578da.17aeb",
+ "d6240771.8bfc8",
+ "19bb94a8.8e46bb",
+ "7cf56a59.b76d14",
+ "164ce143.0020d7",
+ "b5cb2d0b.15677",
+ "211400b.5190a8",
+ "ca0ced45.a76e28",
+ "b3a58592.3d9868",
+ "5f626258.048c44"
]
]
},
{
- "id": "fec78ff3.01387",
+ "id": "41e3528.04abc2c",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 2346.1427459716797,
- "y": 963.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2298.285598754883,
+ "y": 898,
+ "z": "d98986ab.861428",
"wires": [
[
- "eaadea68.155218"
+ "1b8d374a.29cc89"
]
]
},
{
- "id": "eaadea68.155218",
+ "id": "1b8d374a.29cc89",
"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": 2521.1427459716797,
- "y": 962.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2473.285598754883,
+ "y": 897,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "6a6df5db.95920c",
+ "id": "6ac01d8a.f6a7fc",
"type": "other",
"name": "name",
"xml": "<outcome value='name'>",
"comments": "",
"outputs": 1,
- "x": 2323.1427459716797,
- "y": 85.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2275.285598754883,
+ "y": 20,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "c9668b0d.369978",
+ "id": "f26849c8.b296e",
"type": "other",
"name": "service-type",
"xml": "<outcome value='service-type'>",
"comments": "",
"outputs": 1,
- "x": 2326.1427459716797,
- "y": 152.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2278.285598754883,
+ "y": 87,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "8b1be305.74e42",
+ "id": "c927ca6e.4041d8",
"type": "other",
"name": "sna2_name",
"xml": "<outcome value='sna2_name'>",
"comments": "",
"outputs": 1,
- "x": 2330.1427459716797,
- "y": 381.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2282.285598754883,
+ "y": 316,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "5f023b7d.a0fdc4",
+ "id": "bb7bcaf4.82d9e8",
"type": "other",
"name": "site1-name",
"xml": "<outcome value='site1-name'>",
"comments": "",
"outputs": 1,
- "x": 2327.1427459716797,
- "y": 213.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2279.285598754883,
+ "y": 148,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "85213655.7adec8",
+ "id": "27adc52c.8ee0d2",
"type": "other",
"name": "site2-name",
"xml": "<outcome value='site2-name'>",
"comments": "",
"outputs": 1,
- "x": 2323.1427459716797,
- "y": 270.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2275.285598754883,
+ "y": 205,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "54513a6c.abaec4",
+ "id": "ef56550b.fc6858",
"type": "other",
"name": "sna1_name",
"xml": "<outcome value='sna1_name'>",
"comments": "",
"outputs": 1,
- "x": 2326.1427459716797,
- "y": 327.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2278.285598754883,
+ "y": 262,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "856ed4f2.7a9128",
+ "id": "510578da.17aeb",
"type": "other",
"name": "pe1_id",
"xml": "<outcome value='pe1_id'>",
"comments": "",
"outputs": 1,
- "x": 2330.1427459716797,
- "y": 432.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2282.285598754883,
+ "y": 367,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "80769836.7f8968",
+ "id": "d6240771.8bfc8",
"type": "other",
"name": "pe2_id",
"xml": "<outcome value='pe2_id'>",
"comments": "",
"outputs": 1,
- "x": 2333.1427459716797,
- "y": 480.52375984191895,
- "z": "41919c74.be6e64",
+ "x": 2285.285598754883,
+ "y": 415,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "9b694645.6496b8",
+ "id": "19bb94a8.8e46bb",
"type": "other",
"name": "ac1-id",
"xml": "<outcome value='ac1-id'>",
"comments": "",
"outputs": 1,
- "x": 2338.1427459716797,
- "y": 529.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2290.285598754883,
+ "y": 464,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "a075f82a.5f8a08",
+ "id": "7cf56a59.b76d14",
"type": "other",
"name": "ac2-id",
"xml": "<outcome value='ac2-id'>",
"comments": "",
"outputs": 1,
- "x": 2340.1427459716797,
- "y": 584.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2292.285598754883,
+ "y": 519,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "1b0790dd.e4f86f",
+ "id": "164ce143.0020d7",
"type": "other",
"name": "ac1-ip",
"xml": "<outcome value='ac1-ip'>",
"comments": "",
"outputs": 1,
- "x": 2340.1427459716797,
- "y": 636.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2292.285598754883,
+ "y": 571,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "b32746a2.4cd8b8",
+ "id": "b5cb2d0b.15677",
"type": "other",
"name": "ac2-ip",
"xml": "<outcome value='ac2-ip'>",
"comments": "",
"outputs": 1,
- "x": 2342.1427459716797,
- "y": 697.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2294.285598754883,
+ "y": 632,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "ac316a2a.53ce98",
+ "id": "211400b.5190a8",
"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": 2296.285598754883,
+ "y": 682,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "94575312.6ba8b",
+ "id": "ca0ced45.a76e28",
"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": 2292.285598754883,
+ "y": 730,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "b6c16e45.493e9",
+ "id": "b3a58592.3d9868",
"type": "other",
"name": "ac1_svlan",
"xml": "<outcome value='ac1_svlan'>",
"comments": "",
"outputs": 1,
- "x": 2342.1427459716797,
- "y": 848.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2294.285598754883,
+ "y": 783,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "75bd3929.8a42c8",
+ "id": "5f626258.048c44",
"type": "other",
"name": "ac2_svlan",
"xml": "<outcome value='ac2_svlan'>",
"comments": "",
"outputs": 1,
- "x": 2344.1427459716797,
- "y": 909.523759841919,
- "z": "41919c74.be6e64",
+ "x": 2296.285598754883,
+ "y": 844,
+ "z": "d98986ab.861428",
"wires": [
[
- "b6c6c32e.49394"
+ "80903373.40bd"
]
]
},
{
- "id": "777dc005.88824",
+ "id": "e0263cc1.d96968",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 340.42858123779297,
- "y": 1078.3810033798218,
- "z": "41919c74.be6e64",
+ "x": 292.5714340209961,
+ "y": 856.8572435379028,
+ "z": "d98986ab.861428",
"wires": [
[
- "a61ab24b.59e55",
- "9c0bbd14.63f44"
+ "283fd358.50e254"
]
]
},
{
- "id": "a61ab24b.59e55",
+ "id": "145e812a.ac0acf",
"type": "other",
"name": "DeleteNetworkInstance",
"xml": "<outcome value='DeleteNetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 356.14287185668945,
- "y": 1134.3809671401978,
- "z": "41919c74.be6e64",
+ "x": 759.2857246398926,
+ "y": 769.8572072982788,
+ "z": "d98986ab.861428",
"wires": [
[
- "a956c548.56a938"
+ "a555e2be.b46fc"
]
]
},
{
- "id": "9c0bbd14.63f44",
+ "id": "92eeaa34.08fe58",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 310.14287185668945,
- "y": 1184.3809671401978,
- "z": "41919c74.be6e64",
+ "x": 819.2857246398926,
+ "y": 899.8572072982788,
+ "z": "d98986ab.861428",
"wires": [
[
- "3c6c31c7.c393ce"
+ "1149d054.e0f5"
]
]
},
{
- "id": "3c6c31c7.c393ce",
+ "id": "1149d054.e0f5",
"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": 1006.2857246398926,
+ "y": 900.8572072982788,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "a956c548.56a938",
+ "id": "a555e2be.b46fc",
"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",
- "wires": [
- [
- "5898a53c.a7675c"
- ]
- ]
- },
- {
- "id": "5898a53c.a7675c",
- "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",
+ "x": 714.2857246398926,
+ "y": 969.8572072982788,
+ "z": "d98986ab.861428",
"wires": [
[
- "1f995851.e066a8"
+ "99cbd7b1.dcbe1",
+ "802c04a5.b5b44"
]
]
},
{
- "id": "1f995851.e066a8",
+ "id": "99cbd7b1.dcbe1",
"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": 868.2856636047363,
+ "y": 1069.8572072982788,
+ "z": "d98986ab.861428",
"wires": [
[
- "964134d1.69bec8"
+ "5340ccc7.b7728c"
]
]
},
{
- "id": "964134d1.69bec8",
+ "id": "5340ccc7.b7728c",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 793.1428718566895,
- "y": 1479.3809671401978,
- "z": "41919c74.be6e64",
+ "x": 1052.2856636047363,
+ "y": 1072.8572072982788,
+ "z": "d98986ab.861428",
"wires": [
[
- "5e9f6b8b.a16094"
+ "937ab8ad.e150a8"
]
]
},
{
- "id": "5e9f6b8b.a16094",
+ "id": "937ab8ad.e150a8",
"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": 1208.7143745422363,
+ "y": 1071.8572072982788,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "655825a3.9aa7dc",
+ "id": "823b7913.83e82",
"type": "outcome",
"name": "activate",
"xml": "<outcome value='activate'>\n",
"comments": "",
"outputs": 1,
- "x": 404.28571701049805,
- "y": 604.2857389450073,
- "z": "41919c74.be6e64",
+ "x": 356.4285697937012,
+ "y": 538.7619791030884,
+ "z": "d98986ab.861428",
"wires": [
[
- "dc7e5048.2381b"
+ "413afb53.a7e9bc"
]
]
},
{
- "id": "dc7e5048.2381b",
+ "id": "413afb53.a7e9bc",
"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": 539.2857360839844,
+ "y": 535.9048290252686,
+ "z": "d98986ab.861428",
"wires": [
[
- "4e0582c3.b1fa7c",
- "20cf7f44.df308"
+ "c51c21dc.9f93c8",
+ "aa444685.51676"
]
]
},
{
- "id": "4e0582c3.b1fa7c",
+ "id": "c51c21dc.9f93c8",
"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": 805.2857360839844,
+ "y": 494.90482902526855,
+ "z": "d98986ab.861428",
"wires": [
[
- "dc249849.23db68"
+ "5edae240.c29634"
]
]
},
{
- "id": "20cf7f44.df308",
+ "id": "aa444685.51676",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 807.1428833007812,
- "y": 610.4285888671875,
- "z": "41919c74.be6e64",
+ "x": 759.2857360839844,
+ "y": 544.9048290252686,
+ "z": "d98986ab.861428",
"wires": [
[
- "c869bca7.37964"
+ "d0b092f4.14515"
]
]
},
{
- "id": "c869bca7.37964",
+ "id": "d0b092f4.14515",
"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": 928.2857360839844,
+ "y": 544.9048290252686,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "dc249849.23db68",
+ "id": "5edae240.c29634",
"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",
+ "x": 1030.2857360839844,
+ "y": 483.90482902526855,
+ "z": "d98986ab.861428",
"wires": [
[
- "eebcaba3.114358"
+ "3c91ea2c.5c300e"
]
]
},
{
- "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",
- "wires": [
- [
- "490badab.b6f454"
- ]
- ]
- },
- {
- "id": "96865432.6979a8",
+ "id": "12ffbf1d.3d33f1",
"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": 801.1429061889648,
+ "y": 606.1906299591064,
+ "z": "d98986ab.861428",
"wires": [
[
- "490badab.b6f454"
+ "ac68aa10.9b9f5"
]
]
},
{
- "id": "7937c725.86c838",
+ "id": "95197a73.2ccf78",
"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": 716.1428985595703,
+ "y": 675.190637588501,
+ "z": "d98986ab.861428",
"wires": [
[
- "e2427698.1dbd88"
+ "e8dac5d.c9e4fb8"
]
]
},
{
- "id": "e2427698.1dbd88",
+ "id": "e8dac5d.c9e4fb8",
"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": 897.1429138183594,
+ "y": 676.190637588501,
+ "z": "d98986ab.861428",
"wires": []
},
{
- "id": "693ea026.96c16",
- "type": "other",
- "name": "evpn_irts",
- "xml": "<outcome value='evpn_irts'>",
+ "id": "3c91ea2c.5c300e",
+ "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": 1591.428596496582,
- "y": 911.4285907745361,
- "z": "41919c74.be6e64",
+ "x": 1338.1510696411133,
+ "y": 485.3333520889282,
+ "z": "d98986ab.861428",
"wires": [
- [
- "490badab.b6f454"
- ]
+ []
]
},
{
- "id": "6ae3527c.951cac",
- "type": "other",
- "name": "evpn_erts",
- "xml": "<outcome value='evpn_erts'>",
+ "id": "7ef0cfae.a9d9c",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 1595.7144165039062,
- "y": 964.2857065200806,
- "z": "41919c74.be6e64",
+ "x": 537.9999618530273,
+ "y": 606.6664638519287,
+ "z": "d98986ab.861428",
"wires": [
[
- "490badab.b6f454"
+ "12ffbf1d.3d33f1",
+ "95197a73.2ccf78"
]
]
},
{
- "id": "1c7eef33.e38111",
- "type": "other",
- "name": "l3_vni",
- "xml": "<outcome value='l3_vni'>",
+ "id": "283fd358.50e254",
+ "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": 528.0000190734863,
+ "y": 857.0000295639038,
+ "z": "d98986ab.861428",
"wires": [
[
- "7dfe5fb0.8201a",
- "d03dcc77.2fc23"
+ "145e812a.ac0acf",
+ "92eeaa34.08fe58"
]
]
},
{
- "id": "7dfe5fb0.8201a",
- "type": "other",
- "name": "DeactivateNetworkInstance",
- "xml": "<outcome value='DeactivateNetworkInstance'>",
+ "id": "802c04a5.b5b44",
+ "type": "execute",
+ "name": "execute requiredParameter",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"$network-topology-operation-input.network-information.network-id\" value=\"\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 670.0000381469727,
- "y": 751.7143239974976,
- "z": "41919c74.be6e64",
+ "x": 1001.0000190734863,
+ "y": 966.0000295639038,
+ "z": "d98986ab.861428",
"wires": [
- [
- "5f1ca7c8.a0e358"
- ]
+ []
]
},
{
- "id": "d03dcc77.2fc23",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 624.0000381469727,
- "y": 801.7143239974976,
- "z": "41919c74.be6e64",
- "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": "ac68aa10.9b9f5",
"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",
+ "x": 1089.9999618530273,
+ "y": 609,
+ "z": "d98986ab.861428",
"wires": [
[
- "9158dfcf.6ea72"
+ "7eb5d9ab.f2a3a8",
+ "c8c856a4.b3312"
]
]
},
{
- "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",
+ "id": "7eb5d9ab.f2a3a8",
"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",
+ "name": "switch network-id",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
"comments": "",
"outputs": 1,
- "x": 1195.4286727905273,
- "y": 924.1429071426392,
- "z": "41919c74.be6e64",
+ "x": 1243.999900817871,
+ "y": 709,
+ "z": "d98986ab.861428",
"wires": [
[
- "2c274bc2.d3d8b4"
+ "cc5bae19.b165f8"
]
]
},
{
- "id": "2c274bc2.d3d8b4",
- "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": 1272.2857818603516,
- "y": 1002.7143459320068,
- "z": "41919c74.be6e64",
- "wires": [
- [
- "d2cf8ac3.2d3078"
- ]
- ]
- },
- {
- "id": "d2cf8ac3.2d3078",
+ "id": "cc5bae19.b165f8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1181.2857246398926,
- "y": 1086.7143020629883,
- "z": "41919c74.be6e64",
+ "x": 1427.999900817871,
+ "y": 712,
+ "z": "d98986ab.861428",
"wires": [
[
- "3b17c4b7.c4e83c"
+ "a0a11a5f.fe6fb"
]
]
},
{
- "id": "3b17c4b7.c4e83c",
+ "id": "a0a11a5f.fe6fb",
"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": 1584.428611755371,
+ "y": 711,
+ "z": "d98986ab.861428",
"wires": []
+ },
+ {
+ "id": "c8c856a4.b3312",
+ "type": "execute",
+ "name": "execute requiredParameters",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"$network-topology-operation-input.network-information.network-id\" value=\"\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1376.714256286621,
+ "y": 605.142822265625,
+ "z": "d98986ab.861428",
+ "wires": [
+ []
+ ]
}
-]
\ No newline at end of file
+]