Fix SDNC parameters save in AAI failure
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json
index 3ce166e..cf08b57 100644 (file)
 [\r
     {\r
-        "id": "3ecdadeb.18aa62",\r
+        "id": "3563dba1.d09964",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 432.00389862060547,\r
-        "y": 378.9999885559082,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 431.0104064941406,\r
+        "y": 355.1628177165985,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "b1de8da9.db8a2",\r
-                "d704787.9944088",\r
-                "c4e200e6.2e02b",\r
-                "5f812e79.2be7e",\r
-                "2b234f37.76666",\r
-                "7dbca450.42794c",\r
-                "7e93696e.840218",\r
-                "676ec3b1.844d3c",\r
-                "e3e05047.2e5b8",\r
-                "91a71daa.ef5c2",\r
-                "b3c3b183.55c72",\r
-                "d01634bb.bb46b8",\r
-                "43cde2b5.87e1ac",\r
-                "c6fbc47.00d1938",\r
-                "98c6c3b2.42b6b"\r
+                "5ddfe38c.3aa86c",\r
+                "5a21a65a.69db48",\r
+                "cc416a47.18fef8",\r
+                "be6d233d.af70d",\r
+                "a80fd5f3.86e118",\r
+                "d2ca1c0d.40fdc",\r
+                "768823c2.5ac1cc",\r
+                "94ccf971.360848",\r
+                "4d1e575f.68db78",\r
+                "6992ab61.1740b4",\r
+                "494976dc.41e7f8",\r
+                "40bceee5.21d0e",\r
+                "c03fc9ca.e96578",\r
+                "742cd454.7acabc",\r
+                "e5ba2a4b.c03198"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b1de8da9.db8a2",\r
+        "id": "5ddfe38c.3aa86c",\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": 778.2540588378906,\r
-        "y": 361.66665744781494,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 777.2605667114258,\r
+        "y": 337.82948660850525,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "d245ffbf.59c6c"\r
+                "598a5263.1331ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d245ffbf.59c6c",\r
+        "id": "598a5263.1331ac",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 993.0324020385742,\r
-        "y": 359.22224140167236,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 992.0389099121094,\r
+        "y": 335.38507056236267,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "82c635c3.382618",\r
-                "bcda53d8.f6893"\r
+                "76ce96e5.bf7bc8",\r
+                "55b2b4f6.971cdc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "82c635c3.382618",\r
+        "id": "76ce96e5.bf7bc8",\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": 1189.2886047363281,\r
-        "y": 336.97037982940674,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1188.2951126098633,\r
+        "y": 313.13320899009705,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "bcda53d8.f6893",\r
+        "id": "55b2b4f6.971cdc",\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": 1158.7330322265625,\r
-        "y": 373.97049617767334,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1157.7395401000977,\r
+        "y": 350.13332533836365,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ac17a6a.af45258",\r
+        "id": "ba810934.3ff408",\r
         "type": "comment",\r
         "name": "Take the parameter names by removing prefix",\r
         "info": "",\r
         "comments": "",\r
-        "x": 816.2542610168457,\r
-        "y": 318.3333249092102,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 815.2607688903809,\r
+        "y": 294.4961540699005,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c4e200e6.2e02b",\r
+        "id": "cc416a47.18fef8",\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": 757.190673828125,\r
-        "y": 520.1629304885864,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 756.1971817016602,\r
+        "y": 496.32575964927673,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d704787.9944088",\r
+        "id": "5a21a65a.69db48",\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": 764.1902618408203,\r
-        "y": 415.1541962623596,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 763.1967697143555,\r
+        "y": 391.3170254230499,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7e93696e.840218",\r
+        "id": "768823c2.5ac1cc",\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<!--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",\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<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",\r
         "comments": "",\r
-        "x": 769.3570175170898,\r
-        "y": 628.3335423469543,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 768.363525390625,\r
+        "y": 604.4963715076447,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "676ec3b1.844d3c",\r
+        "id": "94ccf971.360848",\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 + $vf-module-topology-operation-input.vf-module-information.vf-module-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": 757.503942489624,\r
-        "y": 679.8373885154724,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 756.5104503631592,\r
+        "y": 656.0002176761627,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e3e05047.2e5b8",\r
+        "id": "4d1e575f.68db78",\r
         "type": "save",\r
         "name": "save sdwan lan-port-config resource in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='lan-port-config' \n      key='lan-port-config.lan-port-config-id = $prop.vf-id' >\n<parameter name=\"lan-port-config-id\" value=\"`$prop.vf-id`\" />\n<parameter name=\"device-id\" value='`$prop.lan.deviceName`' />\n<parameter name=\"port-switch\" value='`$prop.lan.portSwitch`' />\n<parameter name=\"port-type\" value='`$prop.lan.portType`' />\n<parameter name=\"port-number\" value='`$prop.lan.portnumber`' />\n<parameter name=\"ipv4-address\" value='`$prop.lan.ipAddress`' />\n<parameter name='vlan-tag' value='`$prop.lan.vlanId`' />\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.vf-id + '/vf-module-data/'` \" />\n",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='lan-port-config' \n      key='lan-port-config.lan-port-config-id = $prop.vf-id' >\n<parameter name=\"lan-port-config-id\" value=\"`$prop.vf-id`\" />\n<parameter name=\"device-id\" value='`$prop.lan.deviceName`' />\n<parameter name=\"port-switch\" value='`$prop.lan.portSwitch`' />\n<parameter name=\"port-type\" value='`$prop.lan.portType`' />\n<parameter name=\"port-number\" value='`$prop.lan.portnumber`' />\n<parameter name=\"ipv4-address\" value='`$prop.lan.ipAddress`' />\n<parameter name='vlan-tag' value='`$prop.lan.vlanId`' />\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": 812.5039215087891,\r
-        "y": 772.3373708724976,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 811.5104293823242,\r
+        "y": 748.5002000331879,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "91a71daa.ef5c2",\r
+        "id": "6992ab61.1740b4",\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=\"lan-port-config\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/lan-port-configs/lan-port-config/' + $prop.vf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"lan-port-config-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vf-id`\" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 772.5038375854492,\r
-        "y": 819.3373589515686,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 771.5103454589844,\r
+        "y": 795.5001881122589,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b3c3b183.55c72",\r
+        "id": "494976dc.41e7f8",\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": 723.2263832092285,\r
-        "y": 866.5112180709839,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 722.2328910827637,\r
+        "y": 842.6740472316742,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5f812e79.2be7e",\r
+        "id": "be6d233d.af70d",\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": 733.424467086792,\r
-        "y": 68.5038731098175,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 732.4309749603271,\r
+        "y": 44.66670227050781,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "ecb5481e.49db98"\r
+                "a4292aa6.75e0c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ecb5481e.49db98",\r
+        "id": "a4292aa6.75e0c8",\r
         "type": "other",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 920.0911464691162,\r
-        "y": 67.83717083930969,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 919.0976543426514,\r
+        "y": 44,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "5cc69be0.888194"\r
+                "f5b1afdf.f5a4e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5cc69be0.888194",\r
+        "id": "f5b1afdf.f5a4e",\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": 1101.7577724456787,\r
-        "y": 67.83717083930969,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1100.7642803192139,\r
+        "y": 44,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2b234f37.76666",\r
+        "id": "a80fd5f3.86e118",\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": 771.6744890213013,\r
-        "y": 245.50386714935303,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 770.6809968948364,\r
+        "y": 221.66669631004333,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "43b76269.61638c",\r
-                "80f9fdd1.5acfa"\r
+                "c9c58b29.2dfa58",\r
+                "8390bbc5.321ad8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "43b76269.61638c",\r
+        "id": "c9c58b29.2dfa58",\r
         "type": "other",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1002.6744995117188,\r
-        "y": 221.50386428833008,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1001.6810073852539,\r
+        "y": 197.66669344902039,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "30daa7e7.f7d908"\r
+                "dc09b12c.dd3fe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80f9fdd1.5acfa",\r
+        "id": "8390bbc5.321ad8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1002.6744995117188,\r
-        "y": 261.5038642883301,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1001.6810073852539,\r
+        "y": 237.66669344902039,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "15ffa14c.a3471f"\r
+                "3643e6d4.7f439a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "30daa7e7.f7d908",\r
+        "id": "dc09b12c.dd3fe",\r
         "type": "set",\r
         "name": "set vf-index",\r
         "xml": "<set>\n<parameter name='vf-index' value='0' />\n",\r
         "comments": "",\r
-        "x": 1145.1744995117188,\r
-        "y": 221.50386428833008,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1144.181007385254,\r
+        "y": 197.66669344902039,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "15ffa14c.a3471f",\r
+        "id": "3643e6d4.7f439a",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1147.0315437316895,\r
-        "y": 261.4403762817383,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1146.0380516052246,\r
+        "y": 237.6032054424286,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "81c65311.3e7fa",\r
-                "1c59d473.dd26bc"\r
+                "38575d2d.74e912",\r
+                "98424ce4.789a1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1c59d473.dd26bc",\r
+        "id": "98424ce4.789a1",\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": 1299.7300186157227,\r
-        "y": 231.05947497440502,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1298.7365264892578,\r
+        "y": 207.22230413509533,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "81c65311.3e7fa",\r
+        "id": "38575d2d.74e912",\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": 1356.1585235595703,\r
-        "y": 284.2816047668457,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1355.1650314331055,\r
+        "y": 260.444433927536,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "aaf0ab5e.460008"\r
+                "6f409c8c.594684"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "85ce8231.1cc8f",\r
+        "id": "12f39766.bab9b9",\r
         "type": "comment",\r
         "name": "make sure this network doesn't exist already",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1579.809253692627,\r
-        "y": 242.53566217422485,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1578.815761566162,\r
+        "y": 218.69849133491516,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "aaf0ab5e.460008",\r
+        "id": "6f409c8c.594684",\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": 1631.4442443847656,\r
-        "y": 283.8531074523926,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1630.4507522583008,\r
+        "y": 260.0159366130829,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "1a7eae6b.66a2b2"\r
+                "34043894.3a1738"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1a7eae6b.66a2b2",\r
+        "id": "34043894.3a1738",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1532.1744422912598,\r
-        "y": 342.4245386123657,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1531.180950164795,\r
+        "y": 318.58736777305603,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "40223de2.189ee4"\r
+                "e047ad76.2601d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "40223de2.189ee4",\r
+        "id": "e047ad76.2601d",\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": 1679.924545288086,\r
-        "y": 342.28173068119213,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1678.931053161621,\r
+        "y": 318.44455984188244,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7dbca450.42794c",\r
+        "id": "d2ca1c0d.40fdc",\r
         "type": "call",\r
         "name": "call sdwan-get-vf-module-lanport-param",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 803.0039367675781,\r
-        "y": 468.0000219345093,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 802.0104446411133,\r
+        "y": 444.1628510951996,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d01634bb.bb46b8",\r
+        "id": "40bceee5.21d0e",\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": 774.00390625,\r
-        "y": 722.00390625,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 773.0104141235352,\r
+        "y": 698.1667354106903,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "80c0749d.c5b758",\r
+        "id": "53017383.9c8f0c",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 101.00390625,\r
-        "y": 95.00390625,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 100.01041412353516,\r
+        "y": 71.16673541069031,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "1e8e9be2.f38a84"\r
+                "b88f4175.84605"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1e8e9be2.f38a84",\r
+        "id": "b88f4175.84605",\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": 215.50390434265137,\r
-        "y": 202.00389766693115,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 214.51041221618652,\r
+        "y": 178.16672682762146,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "441193b5.7a563c"\r
+                "9de4488f.4b0818"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "441193b5.7a563c",\r
+        "id": "9de4488f.4b0818",\r
         "type": "method",\r
         "name": "sdwan-vf-operation-lanport-create",\r
         "xml": "<method rpc='sdwan-vf-operation-lanport-create' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 214.50390434265137,\r
-        "y": 302.00389766693115,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 213.51041221618652,\r
+        "y": 278.16672682762146,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "3ecdadeb.18aa62"\r
+                "3563dba1.d09964"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "43cde2b5.87e1ac",\r
+        "id": "c03fc9ca.e96578",\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": 756.0039520263672,\r
-        "y": 576.5038995742798,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 755.0104598999023,\r
+        "y": 552.6667287349701,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c6fbc47.00d1938",\r
+        "id": "742cd454.7acabc",\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": 723.0038871765137,\r
-        "y": 123.00390815734863,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 722.0103950500488,\r
+        "y": 99.16673731803894,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "a2640a51.5d0d78"\r
+                "3ed11716.45d018"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a2640a51.5d0d78",\r
+        "id": "3ed11716.45d018",\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": 974.0039825439453,\r
-        "y": 118.67052865028381,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 973.0104904174805,\r
+        "y": 94.83335781097412,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "d22976f8.730608"\r
+                "6c9c624d.566c8c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d22976f8.730608",\r
+        "id": "6c9c624d.566c8c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1192.3372993469238,\r
-        "y": 120.6705105304718,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1191.343807220459,\r
+        "y": 96.83333969116211,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "92022bc5.0cdcc8"\r
+                "acf4ddfd.c60e5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "92022bc5.0cdcc8",\r
+        "id": "acf4ddfd.c60e5",\r
         "type": "set",\r
         "name": "set vnf-index",\r
         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
         "comments": "",\r
-        "x": 1345.6704711914062,\r
-        "y": 120.67053151130676,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1344.6769790649414,\r
+        "y": 96.83336067199707,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "98c6c3b2.42b6b",\r
+        "id": "e5ba2a4b.c03198",\r
         "type": "switchNode",\r
         "name": "switch vnf-index",\r
         "xml": "<switch test='`$vnf-index`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 737.00390625,\r
-        "y": 184.00390625,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 736.0104141235352,\r
+        "y": 160.1667354106903,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "681068c6.40fb78"\r
+                "5ddfe829.c49618"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "681068c6.40fb78",\r
+        "id": "5ddfe829.c49618",\r
         "type": "other",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 899.0039520263672,\r
-        "y": 183.00390529632568,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 898.0104598999023,\r
+        "y": 159.166734457016,\r
+        "z": "ad703000.c2e0d",\r
         "wires": [\r
             [\r
-                "f9b4e412.cab938"\r
+                "8cdafc69.f1e95"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f9b4e412.cab938",\r
+        "id": "8cdafc69.f1e95",\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": 1048.2540435791016,\r
-        "y": 180.78178310394287,\r
-        "z": "dfb806d8.8899e8",\r
+        "x": 1047.2605514526367,\r
+        "y": 156.94461226463318,\r
+        "z": "ad703000.c2e0d",\r
         "wires": []\r
     }\r
-]\r
-\r
+]
\ No newline at end of file