+ "x": 217.9012794494629,\r
+ "y": 160.00003242492676,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "d23ea373.2facb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "129ae0d2.67909f",\r
+ "type": "switchNode",\r
+ "name": "switch vnf_length",\r
+ "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 592,\r
+ "y": 45,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "4518c55e.2af6cc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4518c55e.2af6cc",\r
+ "type": "other",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 778.6666793823242,\r
+ "y": 44.33329772949219,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "49f6673c.896c38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "49f6673c.896c38",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"There are no VNFs in MD-SAL\" />\n",\r
+ "comments": "",\r
+ "x": 960.3333053588867,\r
+ "y": 44.33329772949219,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "344a6d66.006ae2",\r
+ "type": "for",\r
+ "name": "for each vnf",\r
+ "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 581.5794200897217,\r
+ "y": 99.50003504753113,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "b740b835.934dd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b740b835.934dd8",\r
+ "type": "switchNode",\r
+ "name": "switch this vnf-id == input vnf-id",\r
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\"> \n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 832.5795154571533,\r
+ "y": 95.16665554046631,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "7d8c54e9.05fcdc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7d8c54e9.05fcdc",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1050.9128322601318,\r
+ "y": 97.1666374206543,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "4090d448.987d9c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4090d448.987d9c",\r
+ "type": "set",\r
+ "name": "set vnf-index",\r
+ "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
+ "comments": "",\r
+ "x": 1204.2460041046143,\r
+ "y": 97.16665840148926,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d6f734d6.542738",\r
+ "type": "switchNode",\r
+ "name": "switch vnf-index",\r
+ "xml": "<switch test='`$vnf-index`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 595.579439163208,\r
+ "y": 160.5000331401825,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "cc5e7b73.313338"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cc5e7b73.313338",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 757.5794849395752,\r
+ "y": 159.50003218650818,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "d5e799c5.aa66e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d5e799c5.aa66e8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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=\"vnf id not found in service-data\" />\n",\r
+ "comments": "",\r
+ "x": 906.8295764923096,\r
+ "y": 157.27790999412537,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2e3b155c.1acdba",\r
+ "type": "switchNode",\r
+ "name": "switch vf-modules.vf-module_length",\r
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 630.2500219345093,\r
+ "y": 221.99999403953552,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "d6b8c302.00cb5",\r
+ "74fd2b9a.39bbc4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d6b8c302.00cb5",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 861.2500324249268,\r
+ "y": 197.99999117851257,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "b130c62a.6d5b28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "74fd2b9a.39bbc4",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 861.2500324249268,\r
+ "y": 237.99999117851257,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "aa20e5dd.34f068"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b130c62a.6d5b28",\r
+ "type": "set",\r
+ "name": "set vf-index",\r
+ "xml": "<set>\n<parameter name='vf-index' value='0' />\n",\r
+ "comments": "",\r
+ "x": 1003.7500324249268,\r
+ "y": 197.99999117851257,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "aa20e5dd.34f068",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1005.6070766448975,\r
+ "y": 237.93650317192078,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "290ec3b5.b78dec",\r
+ "ba0b306b.1384c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ba0b306b.1384c",\r
+ "type": "set",\r
+ "name": "set vf-index",\r
+ "xml": "<set>\n<parameter name='vf-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",\r
+ "comments": "",\r
+ "x": 1158.3055515289307,\r
+ "y": 207.55560186458752,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "290ec3b5.b78dec",\r
+ "type": "for",\r
+ "name": "for each existing vf-index",\r
+ "xml": "<for index='idx' start='0' end='`$vf-index`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1214.7340564727783,\r
+ "y": 260.7777316570282,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "f5468be4.2d7768"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "55b24f6b.1c68",\r
+ "type": "comment",\r
+ "name": "make sure this network doesn't exist already",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1438.384786605835,\r
+ "y": 219.03178906440735,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f5468be4.2d7768",\r
+ "type": "switchNode",\r
+ "name": "switch vf-module-id found",\r
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1490.0197772979736,\r
+ "y": 260.3492343425751,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "416b188c.9635e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "416b188c.9635e8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1390.7499752044678,\r
+ "y": 318.9206655025482,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "5ff9d421.bc0c2c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5ff9d421.bc0c2c",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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=\"service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id already found in service-data\" />\n",\r
+ "comments": "",\r
+ "x": 1538.500078201294,\r
+ "y": 318.7778575713746,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a3005c7c.22f1c",\r
+ "type": "comment",\r
+ "name": "Take the parameter names by removing prefix",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 674.8297939300537,\r
+ "y": 294.8294517993927,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c2f9b109.0e45",\r
+ "type": "for",\r
+ "name": "for loop idx - VF input parameters",\r
+ "xml": "<for index=\"idx\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 636.8295917510986,\r
+ "y": 338.16278433799744,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "c2930fc2.e5909"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c2930fc2.e5909",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 851.6079349517822,\r
+ "y": 335.71836829185486,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ [\r
+ "d1ed645d.aa3a78",\r
+ "6dcf8b92.c77424"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d1ed645d.aa3a78",\r
+ "type": "execute",\r
+ "name": "execute split parameterName",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1047.8641376495361,\r
+ "y": 313.46650671958923,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "6dcf8b92.c77424",\r
+ "type": "set",\r
+ "name": "set parameterName",\r
+ "xml": "<set>\n<parameter name=\"`vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",\r
+ "comments": "",\r
+ "x": 1017.3085651397705,\r
+ "y": 350.46662306785583,\r
+ "z": "8abb02c9.ea909",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d23ea373.2facb",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 290.5794315338135,\r
+ "y": 355.4961154460907,\r
+ "z": "8abb02c9.ea909",\r