SDWAN flow based end-end test and issue fix
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-delete.json
index 72538cf..1077d8e 100644 (file)
@@ -1,37 +1,37 @@
 [
   {
-    "id": "7735fc30.841634",
+    "id": "a1df0c8c.e610f",
     "type": "switchNode",
     "name": "switch service-data.vnfs.vnf_length",
     "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 757.03125,
-    "y": 380.03125,
-    "z": "f20d2d3a.d3597",
+    "x": 652.5634536743164,
+    "y": 312.26116919517517,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "8fd37aa5.017ed8",
-        "9c974a8d.2ebbc8"
+        "a23f9932.76df28",
+        "eec5abe1.727dc8"
       ]
     ]
   },
   {
-    "id": "44891278.d01ccc",
+    "id": "dda3e77b.e1de28",
     "type": "dgstart",
     "name": "DGSTART",
     "outputs": 1,
-    "x": 218.9365463256836,
-    "y": 144.77007961273193,
-    "z": "f20d2d3a.d3597",
+    "x": 114.46875,
+    "y": 76.9999988079071,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "cf34b9f3.a217e8"
+        "b55d96f3.653dc8"
       ]
     ]
   },
   {
-    "id": "cf34b9f3.a217e8",
+    "id": "b55d96f3.653dc8",
     "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": 294.22225189208984,
-    "y": 185.0081911087036,
-    "z": "f20d2d3a.d3597",
+    "x": 189.75445556640625,
+    "y": 117.23811030387878,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "f275038d.034f"
+        "e0c2d3e0.8a2bb"
       ]
     ]
   },
   {
-    "id": "9fb20f9.a2934f",
+    "id": "8ad52b68.cd0138",
     "type": "comment",
     "name": "wan port-vnf-topology-operation-delete",
     "info": "",
     "comments": "",
-    "x": 668.2814636230469,
-    "y": 218.35647869110107,
-    "z": "f20d2d3a.d3597",
+    "x": 563.8136672973633,
+    "y": 150.58639788627625,
+    "z": "42785b1.0f2e6a4",
     "wires": []
   },
   {
-    "id": "47c2021d.e2c7fc",
+    "id": "c136d1d8.af3e6",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 295.60321044921875,
-    "y": 446.4367513656616,
-    "z": "f20d2d3a.d3597",
+    "x": 191.13541412353516,
+    "y": 378.6666705608368,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "e3e2bc88.e9b0d",
-        "6dbec876.fc0328",
-        "750850d5.2167c",
-        "3731bfbc.74cda",
-        "25ec4ecb.412e22",
-        "7735fc30.841634",
-        "e6700fc6.f20b6",
-        "6f81e67.c77e818",
-        "3b4d6073.21879"
+        "a72c9897.585208",
+        "d19a177f.7de988",
+        "30536e3.568f592",
+        "a1df0c8c.e610f",
+        "9db50f7b.a0897",
+        "4dffba9e.fd0434",
+        "28632f25.b7972",
+        "af6ad43e.5c24e8",
+        "743e7718.e7f968",
+        "4b8bdd76.d28184",
+        "cb6608fc.bd5f68"
       ]
     ]
   },
   {
-    "id": "8fd37aa5.017ed8",
+    "id": "a23f9932.76df28",
     "type": "other",
     "name": "outcome Null",
     "xml": "<outcome value=''>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1021.7535629272461,
-    "y": 362.5868721008301,
-    "z": "f20d2d3a.d3597",
+    "x": 917.2857666015625,
+    "y": 294.81679129600525,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "847c658a.4062c8"
+        "81cc943f.50f958"
       ]
     ]
   },
   {
-    "id": "847c658a.4062c8",
+    "id": "81cc943f.50f958",
     "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
     "comments": "",
-    "x": 1202.753433227539,
-    "y": 357.5867500305176,
-    "z": "f20d2d3a.d3597",
+    "x": 1098.2856369018555,
+    "y": 289.81666922569275,
+    "z": "42785b1.0f2e6a4",
     "wires": []
   },
   {
-    "id": "9c974a8d.2ebbc8",
+    "id": "eec5abe1.727dc8",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1007.2535629272461,
-    "y": 414.58683490753174,
-    "z": "f20d2d3a.d3597",
+    "x": 902.7857666015625,
+    "y": 346.8167541027069,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "a54560d4.0ba6d"
+        "679d4612.15d218"
       ]
     ]
   },
   {
-    "id": "a54560d4.0ba6d",
+    "id": "679d4612.15d218",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 1179.2532691955566,
-    "y": 414.5868330001831,
-    "z": "f20d2d3a.d3597",
+    "x": 1074.785472869873,
+    "y": 346.8167521953583,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "77ddf34.4623e0c",
-        "6b40a8cd.dcd938",
-        "7e832033.e29c9"
+        "862951df.5fe1d",
+        "dc6fa4c3.5ecea8"
       ]
     ]
   },
   {
-    "id": "6b40a8cd.dcd938",
+    "id": "dc6fa4c3.5ecea8",
     "type": "switchNode",
     "name": "switch tmp.vidx ",
     "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 1354.2534408569336,
-    "y": 433.58675479888916,
-    "z": "f20d2d3a.d3597",
+    "x": 1249.78564453125,
+    "y": 365.81667399406433,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "5d6c7481.ef0eac"
+        "1c173742.b90799"
       ]
     ]
   },
   {
-    "id": "25ec4ecb.412e22",
+    "id": "30536e3.568f592",
     "type": "switchNode",
     "name": "switch vnf-level-oper-status",
     "xml": "<switch test='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 727.4202499389648,
-    "y": 454.4757137298584,
-    "z": "f20d2d3a.d3597",
+    "x": 622.9524536132812,
+    "y": 386.70563292503357,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "6e834974.d9b6b8",
-        "8930f777.246948"
+        "ba7f62e0.c87a8",
+        "246d8ed1.13b9e2"
       ]
     ]
   },
   {
-    "id": "6e834974.d9b6b8",
+    "id": "ba7f62e0.c87a8",
     "type": "outcome",
     "name": "outcome PendingDelete",
     "xml": "<outcome value='PendingDelete'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1018.2535171508789,
-    "y": 458.58683681488037,
-    "z": "f20d2d3a.d3597",
+    "x": 913.7857208251953,
+    "y": 390.81675601005554,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "9d8ec192.cf786"
+        "7fe1211e.ac713"
       ]
     ]
   },
   {
-    "id": "8930f777.246948",
+    "id": "246d8ed1.13b9e2",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 964.2535781860352,
-    "y": 505.58684062957764,
-    "z": "f20d2d3a.d3597",
+    "x": 880.7858581542969,
+    "y": 442.8168087005615,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "8989bed6.5ee81"
+        "7d27948.1b45c6c"
       ]
     ]
   },
   {
-    "id": "8989bed6.5ee81",
+    "id": "7d27948.1b45c6c",
     "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=\"`'VNF is not in appropriate state for activate. Current state is ' + $service-data.vnfs.vnf[$tmp.nidx].vnf-data.vnf-level-oper-status.order-status`\" />",
     "comments": "",
-    "x": 1123.753345489502,
-    "y": 508.5868396759033,
-    "z": "f20d2d3a.d3597",
+    "x": 1040.2856254577637,
+    "y": 445.8168077468872,
+    "z": "42785b1.0f2e6a4",
     "wires": []
   },
   {
-    "id": "e6700fc6.f20b6",
+    "id": "9db50f7b.a0897",
     "type": "switchNode",
     "name": "switch vnf-id",
     "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\">\n",
     "comments": "",
     "outputs": 1,
-    "x": 693.2535667419434,
-    "y": 335.5868434906006,
-    "z": "f20d2d3a.d3597",
+    "x": 588.7857704162598,
+    "y": 267.81676268577576,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "73ae75a9.e85c8c"
+        "2d92055a.30ffda"
       ]
     ]
   },
   {
-    "id": "73ae75a9.e85c8c",
+    "id": "2d92055a.30ffda",
     "type": "outcome",
     "name": "NULL",
     "xml": "<outcome value=''>",
     "comments": "",
     "outputs": 1,
-    "x": 891.2536315917969,
-    "y": 325.5868558883667,
-    "z": "f20d2d3a.d3597",
+    "x": 786.7858352661133,
+    "y": 257.81677508354187,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "dd6eb157.d89e"
+        "889ae61d.096b48"
       ]
     ]
   },
   {
-    "id": "dd6eb157.d89e",
+    "id": "889ae61d.096b48",
     "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=\"vnf-request-input.vnf-input-parameters.name is a required input\" />\n",
     "comments": "",
-    "x": 1057.753517150879,
-    "y": 322.5868501663208,
-    "z": "f20d2d3a.d3597",
+    "x": 953.2857208251953,
+    "y": 254.81676936149597,
+    "z": "42785b1.0f2e6a4",
     "wires": []
   },
   {
-    "id": "77ddf34.4623e0c",
+    "id": "862951df.5fe1d",
     "type": "for",
     "name": "for vidx..service-data.vnfs.vnf[]",
     "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 1414.7534446716309,
-    "y": 369.5867509841919,
-    "z": "f20d2d3a.d3597",
+    "x": 1310.2856483459473,
+    "y": 301.81667017936707,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "cd627687.735828"
+        "91f5b0d9.94102"
       ]
     ]
   },
   {
-    "id": "cd627687.735828",
+    "id": "91f5b0d9.94102",
     "type": "switchNode",
     "name": "switch vnf-id found",
     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 1670.7534637451172,
-    "y": 369.5867509841919,
-    "z": "f20d2d3a.d3597",
+    "x": 1566.2856674194336,
+    "y": 301.81667017936707,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "4efba8ed.463c18"
+        "8dc7c708.bc5718"
       ]
     ]
   },
   {
-    "id": "4efba8ed.463c18",
+    "id": "8dc7c708.bc5718",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1847.253517150879,
-    "y": 372.5867509841919,
-    "z": "f20d2d3a.d3597",
+    "x": 1742.7857208251953,
+    "y": 304.81667017936707,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "ae933ccf.17812"
+        "2d4f17e9.19c368"
       ]
     ]
   },
   {
-    "id": "1bcea5bb.85368a",
+    "id": "dd40fac0.73a058",
     "type": "set",
     "name": "set tmp.vidx and ctx.vnf-data",
     "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].vnf-data.`' />\n",
     "comments": "",
-    "x": 2264.253730773926,
-    "y": 451.58680295944214,
-    "z": "f20d2d3a.d3597",
+    "x": 2159.785934448242,
+    "y": 383.8167221546173,
+    "z": "42785b1.0f2e6a4",
     "wires": []
   },
   {
-    "id": "3be2d098.9a5d7",
+    "id": "59a5fc66.f24204",
     "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
     "comments": "",
-    "x": 1659.7534561157227,
-    "y": 433.58675479888916,
-    "z": "f20d2d3a.d3597",
+    "x": 1555.285659790039,
+    "y": 365.81667399406433,
+    "z": "42785b1.0f2e6a4",
     "wires": []
   },
   {
-    "id": "5d6c7481.ef0eac",
+    "id": "1c173742.b90799",
     "type": "outcome",
     "name": "NULL",
     "xml": "<outcome value=''>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1522.2534561157227,
-    "y": 433.58675479888916,
-    "z": "f20d2d3a.d3597",
+    "x": 1417.785659790039,
+    "y": 365.81667399406433,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "3be2d098.9a5d7"
+        "59a5fc66.f24204"
       ]
     ]
   },
   {
-    "id": "750850d5.2167c",
+    "id": "a72c9897.585208",
     "type": "set",
     "name": "set vnfId and vnf-object-path",
     "xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='vnf-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vnf-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'` \" />",
     "comments": "",
-    "x": 705.2699813842773,
-    "y": 630.1034965515137,
-    "z": "f20d2d3a.d3597",
+    "x": 596.8022003173828,
+    "y": 689.3334522247314,
+    "z": "42785b1.0f2e6a4",
     "wires": []
   },
   {
-    "id": "3731bfbc.74cda",
+    "id": "d19a177f.7de988",
     "type": "returnSuccess",
     "name": "return success",
     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
     "comments": "",
-    "x": 654.3811416625977,
-    "y": 755.6589269638062,
-    "z": "f20d2d3a.d3597",
+    "x": 545.9133987426758,
+    "y": 808.8889608383179,
+    "z": "42785b1.0f2e6a4",
     "wires": []
   },
   {
-    "id": "e3e2bc88.e9b0d",
-    "type": "set",
-    "name": "set new vnf length",
-    "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value=\"`$service-data.vnfs.vnf_length - 1`\"/>\n\n\t\n",
-    "comments": "",
-    "x": 685.9025650024414,
-    "y": 527.5743541717529,
-    "z": "f20d2d3a.d3597",
-    "wires": []
-  },
-  {
-    "id": "6dbec876.fc0328",
-    "type": "set",
-    "name": "Remove vnf from ServiceData",
-    "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf[$tmp.vidx].\" value=\"\"/>\n\n",
-    "comments": "",
-    "x": 721.5267562866211,
-    "y": 571.5423212051392,
-    "z": "f20d2d3a.d3597",
-    "wires": []
-  },
-  {
-    "id": "9d8ec192.cf786",
+    "id": "7fe1211e.ac713",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 1215.5599174499512,
-    "y": 468.91199111938477,
-    "z": "f20d2d3a.d3597",
+    "x": 1111.0921211242676,
+    "y": 401.14191031455994,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       []
     ]
   },
   {
-    "id": "f275038d.034f",
+    "id": "e0c2d3e0.8a2bb",
     "type": "method",
     "name": "method sdwan-vnf-topology-operation-device-delete",
     "xml": "<method rpc='sdwan-vnf-topology-operation-device-delete' mode='sync'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 299.4677963256836,
-    "y": 301.03125,
-    "z": "f20d2d3a.d3597",
+    "x": 195,
+    "y": 233.26116919517517,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "47c2021d.e2c7fc"
+        "c136d1d8.af3e6"
       ]
     ]
   },
   {
-    "id": "6f81e67.c77e818",
+    "id": "4dffba9e.fd0434",
     "type": "execute",
     "name": "execute requiredParameters",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"vnf-topology-operation-input.vnf-information.vnf-id\" value=\"$vnf-topology-operation-input.vnf-information.vnf-id\"/>\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 750.7536239624023,
-    "y": 275.58684253692627,
-    "z": "f20d2d3a.d3597",
+    "x": 646.2858276367188,
+    "y": 207.81676173210144,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       []
     ]
   },
   {
-    "id": "9d539b15.274ee8",
+    "id": "7385dfef.35179",
     "type": "delete",
     "name": "delete wan port instance configuration in AAI",
     "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource='device' \n        key='device.id = $vnf-topology-operation-input.vnf-information.vnf-id'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1058.4678955078125,
-    "y": 693.0313606262207,
-    "z": "f20d2d3a.d3597",
+    "x": 1073.0003051757812,
+    "y": 744.261435508728,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       []
     ]
   },
   {
-    "id": "7e832033.e29c9",
-    "type": "record",
-    "name": "record",
-    "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"tmp.vidx1234555\"/>\n<parameter name=\"field3\" value='`$tmp.vidx`'/>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1403.4679336547852,
-    "y": 488.0312623977661,
-    "z": "f20d2d3a.d3597",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "baf87e05.49718",
+    "id": "3c959d82.f7e672",
     "type": "call",
     "name": "call sdwan-get-device-param",
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-device-param' mode='sync' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 2256.0313110351562,
-    "y": 396.0312566757202,
-    "z": "f20d2d3a.d3597",
+    "x": 2151.5635147094727,
+    "y": 328.2611758708954,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       []
     ]
   },
   {
-    "id": "657365d9.06388c",
+    "id": "5f3e6fd4.e37e8",
     "type": "set",
     "name": "set vnf-request-input.",
     "xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n",
     "comments": "",
-    "x": 2251.3908615112305,
-    "y": 333.5817861557007,
-    "z": "f20d2d3a.d3597",
+    "x": 2146.923065185547,
+    "y": 265.81170535087585,
+    "z": "42785b1.0f2e6a4",
     "wires": []
   },
   {
-    "id": "2c001ef8.5cd552",
+    "id": "94ec2391.e8ee4",
     "type": "set",
     "name": "set tmp.vidx and ctx.vnf-data",
     "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
     "comments": "",
-    "x": 2278.9445724487305,
-    "y": 286.92415046691895,
-    "z": "f20d2d3a.d3597",
+    "x": 2174.476776123047,
+    "y": 219.15406966209412,
+    "z": "42785b1.0f2e6a4",
     "wires": []
   },
   {
-    "id": "ae933ccf.17812",
+    "id": "2d4f17e9.19c368",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 2017.0311279296875,
-    "y": 374.03125,
-    "z": "f20d2d3a.d3597",
+    "x": 1912.563331604004,
+    "y": 306.26116919517517,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "1bcea5bb.85368a",
-        "baf87e05.49718",
-        "657365d9.06388c",
-        "2c001ef8.5cd552"
+        "dd40fac0.73a058",
+        "3c959d82.f7e672",
+        "5f3e6fd4.e37e8",
+        "94ec2391.e8ee4"
       ]
     ]
   },
   {
-    "id": "3b4d6073.21879",
+    "id": "28632f25.b7972",
     "type": "switchNode",
     "name": "switch prop.device.sdncCreate",
     "xml": "<switch test=\"`$prop.device.sdncCreate`\">\n",
     "comments": "",
     "outputs": 1,
-    "x": 649.0314254760742,
-    "y": 691.0313444137573,
-    "z": "f20d2d3a.d3597",
+    "x": 597.5636672973633,
+    "y": 752.2614345550537,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "749e7d0b.8542b4"
+        "d02123b.6bfe7e"
       ]
     ]
   },
   {
-    "id": "749e7d0b.8542b4",
+    "id": "d02123b.6bfe7e",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 803.0312919616699,
-    "y": 692.031268119812,
-    "z": "f20d2d3a.d3597",
+    "x": 804.5635223388672,
+    "y": 749.2612714767456,
+    "z": "42785b1.0f2e6a4",
+    "wires": [
+      [
+        "7385dfef.35179"
+      ]
+    ]
+  },
+  {
+    "id": "af6ad43e.5c24e8",
+    "type": "set",
+    "name": "set prop.vnfNewidx",
+    "xml": "<set>\n<parameter name='prop.vnfidxLen' value='`0`' />\n",
+    "comments": "",
+    "x": 589.0000381469727,
+    "y": 454.0000276565552,
+    "z": "42785b1.0f2e6a4",
+    "wires": []
+  },
+  {
+    "id": "743e7718.e7f968",
+    "type": "for",
+    "name": "for lidx..service-data.vnfs.vnf[]",
+    "xml": "<for index='lidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 615.9999580383301,
+    "y": 518.0000123977661,
+    "z": "42785b1.0f2e6a4",
+    "wires": [
+      [
+        "25a69c7c.cd2204"
+      ]
+    ]
+  },
+  {
+    "id": "25a69c7c.cd2204",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 859.9999389648438,
+    "y": 543.9999718666077,
+    "z": "42785b1.0f2e6a4",
     "wires": [
       [
-        "9d539b15.274ee8"
+        "2e7532f9.d7b9be"
       ]
     ]
+  },
+  {
+    "id": "2e7532f9.d7b9be",
+    "type": "switchNode",
+    "name": "switch vnf-id found",
+    "xml": "<switch test=\"`$service-data.vnfs.vnf[$lidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1051.999885559082,
+    "y": 553.0000162124634,
+    "z": "42785b1.0f2e6a4",
+    "wires": [
+      [
+        "fb34ff49.abebe"
+      ]
+    ]
+  },
+  {
+    "id": "4b8bdd76.d28184",
+    "type": "set",
+    "name": "set new vnf length",
+    "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value='`$prop.vnfidxLen`'/>\n\n\t\n",
+    "comments": "",
+    "x": 582.1013412475586,
+    "y": 568.8043041229248,
+    "z": "42785b1.0f2e6a4",
+    "wires": []
+  },
+  {
+    "id": "fb34ff49.abebe",
+    "type": "outcomeFalse",
+    "name": "false",
+    "xml": "<outcome value='false'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1237.999900817871,
+    "y": 536.9999027252197,
+    "z": "42785b1.0f2e6a4",
+    "wires": [
+      [
+        "aa789605.e97ae8"
+      ]
+    ]
+  },
+  {
+    "id": "aa789605.e97ae8",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 1388.9998245239258,
+    "y": 537.9999389648438,
+    "z": "42785b1.0f2e6a4",
+    "wires": [
+      [
+        "79843b9d.c445e4",
+        "fcd82b9e.5e0628"
+      ]
+    ]
+  },
+  {
+    "id": "79843b9d.c445e4",
+    "type": "set",
+    "name": "set  vnf data",
+    "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$prop.vnfidxLen].vnf-id' value='`$service-data.vnfs.vnf[$lidx].vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$prop.vnfidxLen].vnf-data.' value='`$service-data.vnfs.vnf[$lidx].vnf-data.`' />\n",
+    "comments": "",
+    "x": 1553.9999198913574,
+    "y": 513.0000944137573,
+    "z": "42785b1.0f2e6a4",
+    "wires": []
+  },
+  {
+    "id": "fcd82b9e.5e0628",
+    "type": "set",
+    "name": "set prop.vnfNewidx",
+    "xml": "<set>\n<parameter name='prop.vnfidxLen' value='`$prop.vnfidxLen + 1`' />\n",
+    "comments": "",
+    "x": 1575.9999198913574,
+    "y": 569.0000581741333,
+    "z": "42785b1.0f2e6a4",
+    "wires": []
+  },
+  {
+    "id": "cb6608fc.bd5f68",
+    "type": "set",
+    "name": "Remove vnf from ServiceData",
+    "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf[$prop.vnfidxLen].\" value=\"\"/>\n\n",
+    "comments": "",
+    "x": 621,
+    "y": 630,
+    "z": "42785b1.0f2e6a4",
+    "wires": []
   }
-]
\ No newline at end of file
+]