Fix SDWAN peer wise integration testing issues
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-create.json
index 7e74909..3414cb9 100644 (file)
@@ -1,36 +1,36 @@
 [\r
     {\r
-        "id": "ba2f1a27.8f7c88",\r
+        "id": "aeae6125.a8d28",\r
         "type": "method",\r
         "name": "method vnf-topology-operation-vpn-site-resource-create",\r
         "xml": "<method rpc='vnf-topology-operation-vpn-site-resource-create' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 233,\r
-        "y": 190.9999925820157,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 265,\r
+        "y": 223.9999925820157,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "887ebd07.82fca"\r
+                "10f15a6d.ba1d76"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "99a008b4.eb0bc8",\r
+        "id": "3eb5635c.ae734c",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 109.57138061523438,\r
-        "y": 43,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 141.57138061523438,\r
+        "y": 76,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "9964126a.58753"\r
+                "1821ad11.5dad23"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9964126a.58753",\r
+        "id": "1821ad11.5dad23",\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": 211.85708618164062,\r
-        "y": 101.23810407798737,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 243.85708618164062,\r
+        "y": 134.23810407798737,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "ba2f1a27.8f7c88"\r
+                "aeae6125.a8d28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "887ebd07.82fca",\r
+        "id": "10f15a6d.ba1d76",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 213.23804473876953,\r
-        "y": 362.6666643349454,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 245.23804473876953,\r
+        "y": 395.6666643349454,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "e036c242.ea2d7",\r
-                "8ac28eea.03b2e",\r
-                "bee946ca.5b9488",\r
-                "fa22ed9a.8f597",\r
-                "259c9f6d.05187",\r
-                "1c3377d1.23ec68",\r
-                "33f4194.b4adce6",\r
-                "cd58d769.440f18",\r
-                "50ac8040.e368f",\r
-                "82bd0bd5.564548"\r
+                "175dc57.fde8c3b",\r
+                "3afb3c65.1ca3a4",\r
+                "fadde341.82f5a",\r
+                "9885c8cf.ded0d8",\r
+                "a5e91b3d.29e478",\r
+                "6e79157a.cf280c",\r
+                "fff46357.6f3ad",\r
+                "5da9f931.70bc48",\r
+                "df8e278a.898b28",\r
+                "3a3acb9a.529fc4",\r
+                "ff8a3cb6.2dc93",\r
+                "1bd26429.61c74c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8ac28eea.03b2e",\r
+        "id": "3afb3c65.1ca3a4",\r
         "type": "set",\r
         "name": "set vnf-level-oper-status to Created",\r
         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",\r
         "comments": "",\r
-        "x": 647.3847961425781,\r
-        "y": 616.6705932617188,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 667.3848571777344,\r
+        "y": 759.670597076416,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e036c242.ea2d7",\r
+        "id": "175dc57.fde8c3b",\r
         "type": "set",\r
         "name": "copy input data to service data",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id' value='`$prop.vnf-index`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' value='$vnf-topology-operation-input.vnf-request-input.' />\n\n",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id' value='`$prop.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' value='$vnf-topology-operation-input.vnf-request-input.' />\n\n",\r
         "comments": "",\r
-        "x": 639.2379837036133,\r
-        "y": 511.6668453216553,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 659.2380447387695,\r
+        "y": 654.6668491363525,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "259c9f6d.05187",\r
+        "id": "a5e91b3d.29e478",\r
         "type": "execute",\r
         "name": "execute generate-vnf-index",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vnf-index\"/>\n",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vnf-id\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 627.5714874267578,\r
-        "y": 461.33342933654785,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 647.5715484619141,\r
+        "y": 604.3334331512451,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4832dc07.c382d4",\r
+        "id": "ff8a3cb6.2dc93",\r
         "type": "set",\r
         "name": "set vnf-index to service data",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id' value='`$prop.vnf-index`' />\n",\r
+        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id' value='`$prop.vnf-id`' />\n",\r
         "comments": "",\r
-        "x": 638.5715637207031,\r
-        "y": 568.3334331512451,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 658.5716247558594,\r
+        "y": 711.3334369659424,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bee946ca.5b9488",\r
+        "id": "fadde341.82f5a",\r
         "type": "switchNode",\r
         "name": "switch service-data.vnfs.vnf_length",\r
         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 642.5713653564453,\r
-        "y": 241.3333559036255,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 674.5713653564453,\r
+        "y": 274.3333559036255,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "b7b01487.9885f8",\r
-                "aecaf676.67f6b8"\r
+                "fe0779f6.a341a8",\r
+                "9f0ded05.d925c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b7b01487.9885f8",\r
+        "id": "fe0779f6.a341a8",\r
         "type": "other",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 877.2857513427734,\r
-        "y": 236.47617626190186,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 909.2857513427734,\r
+        "y": 269.47617626190186,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "1f5394d7.70124b"\r
+                "e3b683ce.f47fd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1f5394d7.70124b",\r
+        "id": "e3b683ce.f47fd",\r
         "type": "set",\r
         "name": "set vnf-index=0",\r
         "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",\r
         "comments": "",\r
-        "x": 1037.5714569091797,\r
-        "y": 236.47626781463623,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 1069.5714569091797,\r
+        "y": 269.47626781463623,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "aecaf676.67f6b8",\r
+        "id": "9f0ded05.d925c",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 873.7142906188965,\r
-        "y": 269.76200771331787,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 905.7142906188965,\r
+        "y": 302.76200771331787,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "6e2b33e1.03a57c"\r
+                "411ddf99.4fbb3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bd7ad864.5375c8",\r
+        "id": "b6024395.bc24",\r
         "type": "set",\r
         "name": "set vnf-index = vnf_length",\r
         "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",\r
         "comments": "",\r
-        "x": 1266.571533203125,\r
-        "y": 248.04773330688477,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 1298.571533203125,\r
+        "y": 281.04773330688477,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d9951812.e7fdb8",\r
+        "id": "3b57b625.74c07a",\r
         "type": "for",\r
         "name": "for each existing VNF",\r
         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1255.0001525878906,\r
-        "y": 283.04770517349243,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 1287.0001525878906,\r
+        "y": 316.04770517349243,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "febea1ac.bb0d8"\r
+                "a7076dba.f36af"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6e2b33e1.03a57c",\r
+        "id": "411ddf99.4fbb3",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1008.4285736083984,\r
-        "y": 271.76197719573975,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 1040.4285736083984,\r
+        "y": 304.76197719573975,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "bd7ad864.5375c8",\r
-                "d9951812.e7fdb8"\r
+                "b6024395.bc24",\r
+                "3b57b625.74c07a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "febea1ac.bb0d8",\r
+        "id": "a7076dba.f36af",\r
         "type": "switchNode",\r
         "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",\r
         "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1648.285888671875,\r
-        "y": 283.61918926239014,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 1680.285888671875,\r
+        "y": 316.61918926239014,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "359b5cad.1078a4"\r
+                "b4dc78a5.d896c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "359b5cad.1078a4",\r
+        "id": "b4dc78a5.d896c8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1929.571590423584,\r
-        "y": 282.19059467315674,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 1961.571590423584,\r
+        "y": 315.19059467315674,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             [\r
-                "e5d5a5d7.361b48"\r
+                "51ac74f.88fd58c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fe823586.a40dc8",\r
+        "id": "4be264b1.270e6c",\r
         "type": "comment",\r
         "name": "make sure this vnf-id doesn't exist already",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1617.4285049438477,\r
-        "y": 247.1905813217163,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 1649.4285049438477,\r
+        "y": 280.1905813217163,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fa22ed9a.8f597",\r
+        "id": "9885c8cf.ded0d8",\r
         "type": "set",\r
         "name": "set new vnf_length",\r
         "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",\r
         "comments": "",\r
-        "x": 599.5714874267578,\r
-        "y": 409.33342599868774,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 619.5715484619141,\r
+        "y": 552.333429813385,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1c3377d1.23ec68",\r
+        "id": "6e79157a.cf280c",\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": 586.5714492797852,\r
-        "y": 879.59694480896,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 606.5715103149414,\r
+        "y": 1022.5969486236572,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "82bd0bd5.564548",\r
+        "id": "3a3acb9a.529fc4",\r
         "type": "save",\r
         "name": "save service relationship in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $prop.vnf-index`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-index`\" />\n\n\n<!--save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vpn-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/vpn-resources/vpn-resource/' + $prop.vnf-index`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vpn-resource.vpn-resource-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-index`\" /-->",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $prop.vnf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-id`\" />\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 649.2382202148438,\r
-        "y": 826.5968379974365,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 669.23828125,\r
+        "y": 969.5968418121338,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "33f4194.b4adce6",\r
+        "id": "fff46357.6f3ad",\r
         "type": "set",\r
         "name": "set vnf-index and vnf-object-path",\r
-        "xml": "<set>\n<parameter name='vnfId' value='`$prop.vnf-index`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $prop.vnf-index  + '/vnf-data/'` \" />",\r
+        "xml": "<set>\n<parameter name='vnfId' value='`$prop.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $prop.vnf-id  + '/vnf-data/'` \" />",\r
         "comments": "",\r
-        "x": 640.5714797973633,\r
-        "y": 657.5968637466431,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 660.5715408325195,\r
+        "y": 800.5968675613403,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cd58d769.440f18",\r
+        "id": "5da9f931.70bc48",\r
         "type": "set",\r
         "name": "set vnf-request-input.",\r
         "xml": "<set>\n<parameter name='vnf-request-input.' value='`$vnf-topology-operation-input.vnf-request-input.`' />\n",\r
         "comments": "",\r
-        "x": 605.5711212158203,\r
-        "y": 360.3247985839844,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 625.5711822509766,\r
+        "y": 503.32480239868164,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e5d5a5d7.361b48",\r
+        "id": "51ac74f.88fd58c",\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": 2058.1429595947266,\r
-        "y": 333.1906089782715,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 2090.1429595947266,\r
+        "y": 366.1906089782715,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b6f6713f.1cb83",\r
-        "type": "comment",\r
-        "name": "Take the parameter names by removing prefix",\r
-        "info": "",\r
+        "id": "df8e278a.898b28",\r
+        "type": "save",\r
+        "name": "save AnAI - vnf-instance.orchestration-status",\r
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\"   \n\t\tkey=\"generic-vnf.vnf-id = $prop.vnf-id\" >\n<parameter name=\"orchestration-status\" value=\"create\" />\n<parameter name=\"vnf-type\" value=\"some vnf-type\" />",\r
         "comments": "",\r
-        "x": 1351.5715713500977,\r
-        "y": 336.66667556762695,\r
-        "z": "bc55b65a.bac808",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 715.5458450317383,\r
+        "y": 910.2470846176147,\r
+        "z": "3deddfaf.57c2f",\r
+        "wires": [\r
+            []\r
+        ]\r
     },\r
     {\r
-        "id": "a6480f2e.967df",\r
+        "id": "6f579a3f.d15af4",\r
         "type": "comment",\r
         "name": "TODO: change AAI models",\r
         "info": "",\r
         "comments": "",\r
-        "x": 629.1820449829102,\r
-        "y": 726.9742965698242,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 649.1821060180664,\r
+        "y": 869.9743003845215,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": []\r
     },\r
     {\r
-        "id": "50ac8040.e368f",\r
-        "type": "save",\r
-        "name": "save AnAI - vnf-instance.orchestration-status",\r
-        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\"   \n\t\tkey=\"generic-vnf.vnf-id = $prop.vnf-index\" >\n<parameter name=\"orchestration-status\" value=\"create\" />\n<parameter name=\"vnf-type\" value=\"some vnf-type\" />",\r
+        "id": "1bd26429.61c74c",\r
+        "type": "switchNode",\r
+        "name": "switch service-data.vnf-request-input.vnf-name",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 693.0000152587891,\r
+        "y": 393.0000114440918,\r
+        "z": "3deddfaf.57c2f",\r
+        "wires": [\r
+            [\r
+                "33ff6eed.504462",\r
+                "e2af6995.223f28",\r
+                "cc14ee3a.bceeb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "33ff6eed.504462",\r
+        "type": "outcomeTrue",\r
+        "name": "SDWAN-vpn",\r
+        "xml": "<outcome value='SDWAN-vpn'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 990.6667137145996,\r
+        "y": 378.0000114440918,\r
+        "z": "3deddfaf.57c2f",\r
+        "wires": [\r
+            [\r
+                "55868aa1.2254e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e2af6995.223f28",\r
+        "type": "outcomeTrue",\r
+        "name": "SDWAN-site",\r
+        "xml": "<outcome value='SDWAN-site'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 983.6666870117188,\r
+        "y": 428,\r
+        "z": "3deddfaf.57c2f",\r
+        "wires": [\r
+            [\r
+                "496e33ab.398b4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc14ee3a.bceeb",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 966.6666870117188,\r
+        "y": 478,\r
+        "z": "3deddfaf.57c2f",\r
+        "wires": [\r
+            [\r
+                "c9a98bce.5a8c88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9a98bce.5a8c88",\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=\"Error: vnf-name should be either SDWAN-vpn or SDWAN-site.\" />\n",\r
         "comments": "",\r
+        "x": 1137.333366394043,\r
+        "y": 476.00001335144043,\r
+        "z": "3deddfaf.57c2f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "55868aa1.2254e4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1172,\r
+        "y": 379,\r
+        "z": "3deddfaf.57c2f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "496e33ab.398b4c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
         "outputs": 1,\r
-        "x": 695.545783996582,\r
-        "y": 767.2470808029175,\r
-        "z": "bc55b65a.bac808",\r
+        "x": 1163,\r
+        "y": 427,\r
+        "z": "3deddfaf.57c2f",\r
         "wires": [\r
             []\r
         ]\r