Merge "Add release notes for Dublin"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-vf-operation-device-create.json
index f258de4..413069e 100644 (file)
@@ -1,22 +1,22 @@
 [\r
     {\r
-        "id": "5c12f35e.e1cabc",\r
+        "id": "a55c86e0.b5aa88",\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": 887.3294982910156,\r
-        "y": 250.16278743743896,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 969.829511642456,\r
+        "y": 145.13152599334717,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "fc9a82de.84ce"\r
+                "89879683.435e28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b009e5d5.1d5ff8",\r
+        "id": "654795a8.0c14ac",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\r
         "comments": "",\r
         "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}'>",\r
         "outputs": 1,\r
-        "x": 177,\r
-        "y": 143.99999141693115,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 242.49999809265137,\r
+        "y": 172.96871852874756,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "9b496cef.08cf1"\r
+                "9d67b8bb.5c3018"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9b496cef.08cf1",\r
+        "id": "9d67b8bb.5c3018",\r
         "type": "method",\r
         "name": "sdwan-vf-operation-device-create",\r
         "xml": "<method rpc='sdwan-vf-operation-device-create' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 176,\r
-        "y": 243.99999141693115,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 241.49999809265137,\r
+        "y": 272.96871852874756,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "a4608885.5f82c8"\r
+                "b03e92e3.4a48b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7da866ae.544bb8",\r
+        "id": "5c240948.ac8cb8",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 98.50000381469727,\r
-        "y": 39,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 128,\r
+        "y": 65.9687271118164,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "b009e5d5.1d5ff8"\r
+                "654795a8.0c14ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a4608885.5f82c8",\r
+        "id": "b03e92e3.4a48b",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 334.99998474121094,\r
-        "y": 360,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 400.4999828338623,\r
+        "y": 388.9687271118164,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "4e77e130.304fb",\r
-                "802c77ca.22e778",\r
-                "9922275a.527928",\r
-                "e01d2f82.7429f",\r
-                "a8f9e83.8a6e918",\r
-                "c8a186f7.659098",\r
-                "b9b958fd.141f08",\r
-                "f27c9cac.ebc18",\r
-                "35a34bb1.948374",\r
-                "178a7bac.307b74",\r
-                "7fbeb541.aa905c",\r
-                "4845313f.7a00d",\r
-                "e8cf2ce.61834d",\r
-                "d9a88b51.5c3ff8"\r
+                "949786f1.863f68",\r
+                "ea17361a.fd7708",\r
+                "efdf1074.6df6a",\r
+                "398e0031.2e059",\r
+                "cb5e3f0e.d096d",\r
+                "759de3b6.0709dc",\r
+                "115eabc8.0c7c94",\r
+                "a28188f1.6060e8",\r
+                "97ec72bd.6232e",\r
+                "e24672d6.3f64f",\r
+                "56ec94bf.93da3c",\r
+                "9d805d88.8f8ee",\r
+                "64fa5b44.3987c4",\r
+                "8956e9de.67f788"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4e77e130.304fb",\r
+        "id": "949786f1.863f68",\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": 635.3294067382812,\r
-        "y": 251.49612426757812,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 717.8294200897217,\r
+        "y": 146.46486282348633,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "5c12f35e.e1cabc"\r
+                "a55c86e0.b5aa88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ddad9e6f.97581",\r
+        "id": "5c7606f2.618b18",\r
         "type": "set",\r
         "name": "set vnf-index",\r
         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
         "comments": "",\r
-        "x": 1258.9959869384766,\r
-        "y": 252.1627902984619,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1341.496000289917,\r
+        "y": 147.13152885437012,\r
+        "z": "13a3e634.05943a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fc9a82de.84ce",\r
+        "id": "89879683.435e28",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1105.6628150939941,\r
-        "y": 252.16276931762695,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1188.1628284454346,\r
+        "y": 147.13150787353516,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "ddad9e6f.97581"\r
+                "5c7606f2.618b18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e01d2f82.7429f",\r
+        "id": "efdf1074.6df6a",\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": 709.2501907348633,\r
-        "y": 473.66665744781494,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 798.7501583099365,\r
+        "y": 547.6354074478149,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "7ea0d8c4.d056e8"\r
+                "aa19f798.d86af8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ea0d8c4.d056e8",\r
+        "id": "aa19f798.d86af8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 924.0285339355469,\r
-        "y": 471.22224140167236,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1013.5285015106201,\r
+        "y": 545.1909914016724,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "c6b87ab0.44cce8",\r
-                "f6199a92.b6bb08"\r
+                "5ba25a3d.6d9bd4",\r
+                "bcc6d89b.3d5508"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c6b87ab0.44cce8",\r
+        "id": "5ba25a3d.6d9bd4",\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": 1120.2847366333008,\r
-        "y": 448.97037982940674,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1209.784704208374,\r
+        "y": 522.9391298294067,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f6199a92.b6bb08",\r
+        "id": "bcc6d89b.3d5508",\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": 1089.7291641235352,\r
-        "y": 485.97049617767334,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1179.2291316986084,\r
+        "y": 559.9392461776733,\r
+        "z": "13a3e634.05943a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "92e456fa.39e618",\r
-        "type": "comment",\r
-        "name": "Take the parameter names by removing prefix",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 1093.2503929138184,\r
-        "y": 408.3333258628845,\r
-        "z": "67d8f5f.109b30c",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "802c77ca.22e778",\r
+        "id": "ea17361a.fd7708",\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": 649.75,\r
-        "y": 206.99999332427979,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 732.2500133514404,\r
+        "y": 101.96873188018799,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "b9775757.c586e8"\r
+                "fb03dd5b.a92d3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b9775757.c586e8",\r
+        "id": "fb03dd5b.a92d3",\r
         "type": "other",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 836.4166793823242,\r
-        "y": 206.33329105377197,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 918.9166927337646,\r
+        "y": 101.30202960968018,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "8ca0a76c.6a9638"\r
+                "54203a8b.1592b4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8ca0a76c.6a9638",\r
+        "id": "54203a8b.1592b4",\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": 1018.0833053588867,\r
-        "y": 206.33329105377197,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1100.5833187103271,\r
+        "y": 101.30202960968018,\r
+        "z": "13a3e634.05943a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9922275a.527928",\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
+        "id": "759de3b6.0709dc",\r
+        "type": "set",\r
+        "name": "copy input data to service data",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.vf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vnf-information.' value='`$vf-module-topology-operation-input.vnf-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n\n\n",\r
+        "comments": "",\r
+        "x": 783.3531398773193,\r
+        "y": 714.4649891853333,\r
+        "z": "13a3e634.05943a",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "398e0031.2e059",\r
+        "type": "set",\r
+        "name": "set vf-module-request-input.",\r
+        "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n",\r
+        "comments": "",\r
+        "x": 789.6862964630127,\r
+        "y": 610.122971534729,\r
+        "z": "13a3e634.05943a",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cb5e3f0e.d096d",\r
+        "type": "call",\r
+        "name": "call sdwan-get-vf-module-device-param",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-device-param' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 815.686674118042,\r
+        "y": 666.1232051849365,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "115eabc8.0c7c94",\r
+        "type": "set",\r
+        "name": "set vf-module-object-path",\r
+        "xml": "<set>\n<parameter name='vf-module-id' value='`$prop.vf-id`'/>    \n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $prop.vf-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",\r
+        "comments": "",\r
+        "x": 778.5000324249268,\r
+        "y": 764.968834400177,\r
+        "z": "13a3e634.05943a",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a28188f1.6060e8",\r
+        "type": "set",\r
+        "name": "set vf-module-level-oper-status",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.order-status'  value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",\r
+        "comments": "",\r
+        "x": 786.0001354217529,\r
+        "y": 812.9687986373901,\r
+        "z": "13a3e634.05943a",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2bd76b30.e44c14",\r
+        "type": "save",\r
+        "name": "save sdwan vpn resource in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n      key='device.device-id = $prop.vf-id' >\n<parameter name='device-id' value='`$prop.vf-id`' />\n<parameter name='esn' value='`$prop.device.esn`' />\n<parameter name='device-name' value='`$prop.device.name`' />\n<parameter name='description' value='`$prop.device.description`' />\n<parameter name='vendor' value='`$prop.device.vendor`' />\n<parameter name='class' value='`$prop.device.class`' />\n<parameter name='type' value='`$prop.device.deviceModel`' />\n<parameter name='version' value='`$prop.device.version`' />\n<parameter name='system-ip' value='`$prop.device.systemIp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vf-module-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $service-data.vnfs.vnf[$vnf-index].vnf-id  + '/vnf-data/vf-modules/vf-module/' + $prop.vf-id + '/vf-module-data/'` \" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1220.500051498413,\r
+        "y": 838.4687461853027,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e24672d6.3f64f",\r
+        "type": "save",\r
+        "name": "save service relationship in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list' \n      key='generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"device\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/devices/device/' + $prop.vf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"device.device-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vf-id`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 789.4999294281006,\r
+        "y": 906.4687976837158,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "97ec72bd.6232e",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "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",\r
+        "comments": "",\r
+        "x": 738.2224597930908,\r
+        "y": 952.6426405906677,\r
+        "z": "13a3e634.05943a",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5aff085f.4f6678",\r
+        "type": "execute",\r
+        "name": "execute generate-vf-id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vf-id\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 690.9999895095825,\r
-        "y": 326.9999942779541,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1265.6667766571045,\r
+        "y": 226.3020715713501,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6d401f41.38c65",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1018.6663036346436,\r
+        "y": 240.9534740447998,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "c5166da1.64b87",\r
-                "f58b3753.891bc8"\r
+                "5aff085f.4f6678",\r
+                "5b632a30.5bb984",\r
+                "3542675.5ce1998"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c5166da1.64b87",\r
+        "id": "931487e.1357f78",\r
+        "type": "set",\r
+        "name": "set prop.vf-id",\r
+        "xml": "<set>\n<parameter name='prop.vf-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",\r
+        "comments": "",\r
+        "x": 1224.1981716156006,\r
+        "y": 443.98510932922363,\r
+        "z": "13a3e634.05943a",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4589ca44.abd4b4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1018.1977977752686,\r
+        "y": 396.9848413467407,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            [\r
+                "931487e.1357f78",\r
+                "5b632a30.5bb984",\r
+                "5d9e7b7e.ca4bf4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b632a30.5bb984",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1253.6978969573975,\r
+        "y": 320.98486518859863,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            [\r
+                "66c1c6a1.0380b8",\r
+                "7a26fc83.04adb4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4aab28a9.38e418",\r
         "type": "other",\r
-        "name": "Null",\r
+        "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 922,\r
-        "y": 302.99999141693115,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1715.4121894836426,\r
+        "y": 240.12759113311768,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "4d85b0fa.e45f4"\r
+                "6d61baf9.e5ff54"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f58b3753.891bc8",\r
+        "id": "6d61baf9.e5ff54",\r
+        "type": "set",\r
+        "name": "set vf-index=0",\r
+        "xml": "<set>\n<parameter name='vf-index' value='0' />\n",\r
+        "comments": "",\r
+        "x": 1863.6978378295898,\r
+        "y": 237.1276454925537,\r
+        "z": "13a3e634.05943a",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "31602a2e.23f6d6",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 922,\r
-        "y": 342.99999141693115,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1718.8406867980957,\r
+        "y": 285.4133825302124,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "3cc5230a.5b2c3c"\r
+                "794d6b8.233bf94"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4d85b0fa.e45f4",\r
+        "id": "794d6b8.233bf94",\r
         "type": "set",\r
-        "name": "set vf-index",\r
-        "xml": "<set>\n<parameter name='vf-index' value='0' />\n",\r
+        "name": "set vf-index = vf_length",\r
+        "xml": "<set>\n<parameter name='vf-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",\r
         "comments": "",\r
-        "x": 1064.5,\r
-        "y": 302.99999141693115,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1902.698429107666,\r
+        "y": 285.69915103912354,\r
+        "z": "13a3e634.05943a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3cc5230a.5b2c3c",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "id": "66c1c6a1.0380b8",\r
+        "type": "set",\r
+        "name": "set new vF_length",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />\n",\r
+        "comments": "",\r
+        "x": 1431.6979007720947,\r
+        "y": 349.9848289489746,\r
+        "z": "13a3e634.05943a",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4261b847.26d008",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1066.3570442199707,\r
-        "y": 342.93650341033936,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1668.269338607788,\r
+        "y": 380.12776374816895,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "1560cc74.e1f714",\r
-                "105e52c3.2d94dd"\r
+                "f7fccba6.c15138"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "105e52c3.2d94dd",\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
+        "id": "f7fccba6.c15138",\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 ' + $service-data.vnfs.vnf[$idx].vnf-id\n      + ' already exists, and has order status ' + $service-data.vnfs.vnf[$idx].vnf-data.vnf-level-oper-status.order-status`\" />\n",\r
         "comments": "",\r
-        "x": 1219.055519104004,\r
-        "y": 312.5556021030061,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1806.8406963348389,\r
+        "y": 380.127724647522,\r
+        "z": "13a3e634.05943a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1560cc74.e1f714",\r
-        "type": "for",\r
-        "name": "for each existing vf-index",\r
-        "xml": "<for index='idx' start='0' end='`$vf-index`' >\n",\r
+        "id": "5d0b6c.7fe7e494",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 867.1973781585693,\r
+        "y": 364.9847192764282,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            [\r
+                "4589ca44.abd4b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd8f5874.903778",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1275.4840240478516,\r
-        "y": 365.7777318954468,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 870.6662006378174,\r
+        "y": 304.95348167419434,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "e9396ecf.61386"\r
+                "6d401f41.38c65"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9bfcdd3d.e8854",\r
+        "id": "9419aeb4.031d3",\r
         "type": "comment",\r
-        "name": "make sure this network doesn't exist already",\r
+        "name": "if SO provide vf-id use that else create new",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1499.1347541809082,\r
-        "y": 324.0317893028259,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1568.1973934173584,\r
+        "y": 200.9847230911255,\r
+        "z": "13a3e634.05943a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e9396ecf.61386",\r
+        "id": "9d805d88.8f8ee",\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
+        "name": "switch vf-id",\r
+        "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1550.7697448730469,\r
-        "y": 365.34923458099365,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 729.6661968231201,\r
+        "y": 329.9534902572632,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "7c76b41d.ea06ac"\r
+                "cd8f5874.903778",\r
+                "5d0b6c.7fe7e494"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7c76b41d.ea06ac",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
+        "id": "56ec94bf.93da3c",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-index",\r
+        "xml": "<switch test='`$vnf-index`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1451.499942779541,\r
-        "y": 423.9206657409668,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 729.5312633514404,\r
+        "y": 194.99999713897705,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
             [\r
-                "91b09a0a.6c6428"\r
+                "8e07f88.10c5a08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "91b09a0a.6c6428",\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
+        "id": "8e07f88.10c5a08",\r
+        "type": "other",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
         "comments": "",\r
-        "x": 1599.2500457763672,\r
-        "y": 423.7778578097932,\r
-        "z": "67d8f5f.109b30c",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 891.5313091278076,\r
+        "y": 193.99999618530273,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            [\r
+                "33f9f4dc.b667cc"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "35a34bb1.948374",\r
-        "type": "set",\r
-        "name": "copy input data to service data",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.device-vf-index`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vnf-information.' value='`$vf-module-topology-operation-input.vnf-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n\n<!--parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-topology.' value='`$tmp.vf-module-topology.`' /-->\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index+1`' />\n\n",\r
+        "id": "33f9f4dc.b667cc",\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": 702.8531951904297,\r
-        "y": 753.496214389801,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1040.781400680542,\r
+        "y": 191.77787399291992,\r
+        "z": "13a3e634.05943a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f27c9cac.ebc18",\r
-        "type": "execute",\r
-        "name": "execute generate-vf-module-index",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.device-vf-index\"/>\n",\r
+        "id": "7a26fc83.04adb4",\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": 711.1866912841797,\r
-        "y": 700.162947177887,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1493.5312404632568,\r
+        "y": 266.0000123977661,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
-            []\r
+            [\r
+                "4aab28a9.38e418",\r
+                "31602a2e.23f6d6"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "b9b958fd.141f08",\r
-        "type": "set",\r
-        "name": "set new vf-module_length",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />",\r
-        "comments": "",\r
-        "x": 685.1866683959961,\r
-        "y": 646.1628408432007,\r
-        "z": "67d8f5f.109b30c",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a8f9e83.8a6e918",\r
-        "type": "set",\r
-        "name": "set vf-module-request-input.",\r
-        "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n",\r
+        "id": "98ab03a3.4fb31",\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
-        "x": 700.1863288879395,\r
-        "y": 536.154221534729,\r
-        "z": "67d8f5f.109b30c",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 1485.5312404632568,\r
+        "y": 388.49998664855957,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            [\r
+                "4261b847.26d008"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "c8a186f7.659098",\r
-        "type": "call",\r
-        "name": "call sdwan-get-vf-module-device-param",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-device-param' mode='sync' >\n",\r
+        "id": "5d9e7b7e.ca4bf4",\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": 726.1867065429688,\r
-        "y": 592.1544551849365,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1249.5312404632568,\r
+        "y": 392.49998664855957,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
-            []\r
+            [\r
+                "98ab03a3.4fb31"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "178a7bac.307b74",\r
+        "id": "64fa5b44.3987c4",\r
         "type": "set",\r
-        "name": "set vf-module-object-path",\r
-        "xml": "<set>\n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $prop.device-vf-index\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",\r
+        "name": "set prop.sdncCreate=false",\r
+        "xml": "<set>\n<parameter name='prop.sdncCreate' value='false' />\n",\r
         "comments": "",\r
-        "x": 698.0000877380371,\r
-        "y": 804.0000596046448,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 760.0312404632568,\r
+        "y": 58,\r
+        "z": "13a3e634.05943a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7fbeb541.aa905c",\r
+        "id": "3542675.5ce1998",\r
         "type": "set",\r
-        "name": "set vf-module-level-oper-status",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.order-status'  value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",\r
+        "name": "set prop.sdncCreate=true",\r
+        "xml": "<set>\n<parameter name='prop.sdncCreate' value='true' />\n",\r
         "comments": "",\r
-        "x": 705.5001907348633,\r
-        "y": 852.0000238418579,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 1279.0312480926514,\r
+        "y": 188.99999904632568,\r
+        "z": "13a3e634.05943a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e8cf2ce.61834d",\r
-        "type": "save",\r
-        "name": "save sdwan vpn resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n      key='device.device-id = $prop.device-vf-index' >\n<parameter name='device-id' value='`$prop.device-vf-index`' />\n<parameter name='esn' value='`$prop.device.esn`' />\n<parameter name='device-name' value='`$prop.device.name`' />\n<parameter name='description' value='`$prop.device.description`' />\n<parameter name='vendor' value='`$prop.device.vendor`' />\n<parameter name='class' value='`$prop.device.class`' />\n<parameter name='type' value='`$prop.device.deviceModel`' />\n<parameter name='version' value='`$prop.device.version`' />\n<parameter name='system-ip' value='`$prop.device.systemIp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vf-module-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $service-data.vnfs.vnf[$vnf-index].vnf-id  + '/vnf-data/vf-modules/vf-module/' + $prop.device-vf-index + '/vf-module-data/'` \" />\n",\r
+        "id": "8956e9de.67f788",\r
+        "type": "switchNode",\r
+        "name": "switch prop.sdncCreate",\r
+        "xml": "<switch test='`$prop.sdncCreate`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 713.0001373291016,\r
-        "y": 910.4999666213989,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 768.0313053131104,\r
+        "y": 862.0000276565552,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
-            []\r
+            [\r
+                "530d4a6f.95a5a4",\r
+                "ed2fc8ce.6d54b8"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "d9a88b51.5c3ff8",\r
-        "type": "save",\r
-        "name": "save service relationship in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list' \n      key='generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"device\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/devices/device/' + $prop.device-vf-index`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"device.device-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.device-vf-index`\" />\n\n",\r
+        "id": "ed2fc8ce.6d54b8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 708.9999847412109,\r
-        "y": 945.5000228881836,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 983.0313034057617,\r
+        "y": 873.0000276565552,\r
+        "z": "13a3e634.05943a",\r
         "wires": [\r
-            []\r
+            [\r
+                "f6984691.7e9e18"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "4845313f.7a00d",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "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",\r
+        "id": "530d4a6f.95a5a4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
-        "x": 657.7225151062012,\r
-        "y": 991.6738657951355,\r
-        "z": "67d8f5f.109b30c",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 986.0313034057617,\r
+        "y": 834.9999961853027,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            [\r
+                "2bd76b30.e44c14"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "b5bea2af.4d20d",\r
-        "type": "comment",\r
-        "name": "TODO: if SO passes vnf-id, need to update prop.sdncCreate as true",\r
-        "info": "if SO passes vnf-id, need to update prop.sdncCreate as true",\r
+        "id": "f6984691.7e9e18",\r
+        "type": "save",\r
+        "name": "update sdwan vpn resource in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n      key='device.device-id = $prop.vf-id' >\n<parameter name='device-id' value='`$prop.vf-id`' />\n<parameter name='esn' value='`$prop.device.esn`' />\n<parameter name='device-name' value='`$prop.device.name`' />\n<parameter name='description' value='`$prop.device.description`' />\n<parameter name='vendor' value='`$prop.device.vendor`' />\n<parameter name='class' value='`$prop.device.class`' />\n<parameter name='type' value='`$prop.device.deviceModel`' />\n<parameter name='version' value='`$prop.device.version`' />\n<parameter name='system-ip' value='`$prop.device.systemIp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vf-module-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $service-data.vnfs.vnf[$vnf-index].vnf-id  + '/vnf-data/vf-modules/vf-module/' + $prop.vf-id + '/vf-module-data/'` \" />\n",\r
         "comments": "",\r
-        "x": 806.6974792480469,\r
-        "y": 141.0160083770752,\r
-        "z": "67d8f5f.109b30c",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 1217.0312480926514,\r
+        "y": 878.9999990463257,\r
+        "z": "13a3e634.05943a",\r
+        "wires": [\r
+            []\r
+        ]\r
     }\r
 ]
\ No newline at end of file