Merge "Dublin pnf DG bugfix"
authorDan Timoney <dtimoney@att.com>
Fri, 19 Apr 2019 00:29:11 +0000 (00:29 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 19 Apr 2019 00:29:11 +0000 (00:29 +0000)
Former-commit-id: d9246eaf20822e867adcad0fba2b28705f9eded8

12 files changed:
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vf-module-topology-operation.json
platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-device-create.json
platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.json
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml
platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation.xml
platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-device-create.xml
platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.xml
platform-logic/restapi-templates/pom.xml
platform-logic/restapi-templates/src/main/multipartfile/README.md [new file with mode: 0644]

index bfce76d..9f86a0e 100644 (file)
         "id": "b3fed148.ab4d6",
         "type": "execute",
         "name": "execute jsonStringToCtx",
-        "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-params.' + $tmp.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+        "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
         "comments": "",
         "outputs": 1,
         "x": 362.00001525878906,
index dcefe64..9711187 100644 (file)
         "id": "a269720d.c1b3c",
         "type": "execute",
         "name": "execute jsonStringToCtx",
-        "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-params.' + $tmp.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+        "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
         "comments": "",
         "outputs": 1,
         "x": 417.66664123535156,
index b1920a2..b8819dd 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "89e51e9a.af64e",\r
+        "id": "8a97ec5a.e8724",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 107.00390625,\r
-        "y": 88.41365686058998,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 147.01040649414062,\r
+        "y": 86.41365575790405,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "a0ef042f.2b7ad8"\r
+                "7092e500.65d96c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a0ef042f.2b7ad8",\r
+        "id": "7092e500.65d96c",\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": 220.28961181640625,\r
-        "y": 128.65176835656166,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 260.2961120605469,\r
+        "y": 126.65176725387573,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "a57a3919.3af3c8"\r
+                "975074db.12b248"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a57a3919.3af3c8",\r
+        "id": "975074db.12b248",\r
         "type": "method",\r
         "name": "method vf-module-topology-operation",\r
         "xml": "<method rpc='vf-module-topology-operation' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 194.43253326416016,\r
-        "y": 168.41365113854408,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 234.43903350830078,\r
+        "y": 166.41365003585815,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "8614ae38.109ab"\r
+                "6ba66072.d698d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "38a58e7b.28bdc2",\r
+        "id": "c5d72244.65ac2",\r
         "type": "comment",\r
         "name": "vf-module-topology-operation",\r
         "info": "",\r
         "comments": "",\r
-        "x": 501.34876251220703,\r
-        "y": 36.00000062584877,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 541.3552627563477,\r
+        "y": 33.99999952316284,\r
+        "z": "85ee3913.3987f8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8614ae38.109ab",\r
+        "id": "6ba66072.d698d",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 176.50394439697266,\r
-        "y": 407.7738291323185,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 216.51044464111328,\r
+        "y": 405.77382802963257,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "53a601da.db57d",\r
-                "f371244d.9451a8",\r
-                "c9966ea2.57b1d"\r
+                "bff84223.52b62",\r
+                "bb77dcde.97b13",\r
+                "71a0804b.8983d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "53a601da.db57d",\r
+        "id": "bff84223.52b62",\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": 462.0039367675781,\r
-        "y": 581.2712179720402,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 502.01043701171875,\r
+        "y": 579.2712168693542,\r
+        "z": "85ee3913.3987f8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f371244d.9451a8",\r
+        "id": "bb77dcde.97b13",\r
         "type": "switchNode",\r
         "name": "switch svc-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 472.9085464477539,\r
-        "y": 405.98505368828773,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 512.9150466918945,\r
+        "y": 403.9850525856018,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "dc31bef9.f164b",\r
-                "1b121869.8a1878",\r
-                "320a19eb.21afb6",\r
-                "db7b02d4.3e117",\r
-                "b369a934.e11c08",\r
-                "8734e4a2.e72ad8",\r
-                "bcf05aca.9cd8e8",\r
-                "c7064bfe.3bb108",\r
-                "5dfbbd6.4b80544"\r
+                "d56401a4.01d66",\r
+                "ad92b387.5520d",\r
+                "9ce981c8.a135f",\r
+                "aabf716e.1d0df",\r
+                "4bf064de.ff298c",\r
+                "a756f30b.6c1cb",\r
+                "201f4d37.e91032",\r
+                "2b26c4c1.602edc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dc31bef9.f164b",\r
+        "id": "d56401a4.01d66",\r
         "type": "outcome",\r
         "name": "assign",\r
         "xml": "<outcome value='assign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 682.3848266601562,\r
-        "y": 296.27089086174965,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 722.3913269042969,\r
+        "y": 294.2708897590637,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "d462656f.1ce878"\r
+                "481f6fe3.cdf5a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1b121869.8a1878",\r
+        "id": "ad92b387.5520d",\r
         "type": "outcome",\r
         "name": "unassign",\r
         "xml": "<outcome value='unassign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 690.765811920166,\r
-        "y": 442.46158280968666,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 730.7723121643066,\r
+        "y": 440.46158170700073,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "52d55f39.2254f"\r
+                "bb1cd6a8.6e06d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "320a19eb.21afb6",\r
+        "id": "9ce981c8.a135f",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 678.4806060791016,\r
-        "y": 1848.9855699539185,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 670.486686706543,\r
+        "y": 1670.985191822052,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "aa8c9f07.7e876"\r
+                "c834b9f2.d6f188"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aa8c9f07.7e876",\r
+        "id": "c834b9f2.d6f188",\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-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",\r
         "comments": "",\r
-        "x": 872.6710319519043,\r
-        "y": 1848.9856386184692,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 864.6771125793457,\r
+        "y": 1670.9852604866028,\r
+        "z": "85ee3913.3987f8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c9966ea2.57b1d",\r
+        "id": "71a0804b.8983d",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:validate-vf-module-input",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-vf-module-input' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 592.0871887207031,\r
-        "y": 245.79471364617348,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 632.0936889648438,\r
+        "y": 243.79471254348755,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d462656f.1ce878",\r
+        "id": "481f6fe3.cdf5a",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1054.527660369873,\r
-        "y": 295.84235540032387,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1094.5341606140137,\r
+        "y": 293.84235429763794,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1a8dc80f.d90c48",\r
+        "id": "a7175f3d.aa415",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1066.5276184082031,\r
-        "y": 392.50899854302406,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1106.5341186523438,\r
+        "y": 390.50899744033813,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "52d55f39.2254f",\r
+        "id": "bb1cd6a8.6e06d8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-unassign",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-unassign' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1060.8608894348145,\r
-        "y": 442.17571797966957,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1100.867389678955,\r
+        "y": 440.17571687698364,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e3a2c358.113df",\r
+        "id": "a7404f76.f0514",\r
         "type": "outcome",\r
         "name": "deactivate",\r
         "xml": "<outcome value='deactivate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 694.8609046936035,\r
-        "y": 393.1756722033024,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 734.8674049377441,\r
+        "y": 391.17567110061646,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "1a8dc80f.d90c48"\r
+                "a7175f3d.aa415"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "db7b02d4.3e117",\r
+        "id": "aabf716e.1d0df",\r
         "type": "outcome",\r
         "name": "changeassign",\r
         "xml": "<outcome value='changeassign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 705.3372268676758,\r
-        "y": 490.0803124010563,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 745.3437271118164,\r
+        "y": 488.08031129837036,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "f258fd95.0fe79"\r
+                "8e6a8b07.9cfd08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f258fd95.0fe79",\r
+        "id": "8e6a8b07.9cfd08",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-changeassign",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-changeassign' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1074.4322967529297,\r
-        "y": 489.7944485247135,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1114.4387969970703,\r
+        "y": 487.7944474220276,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b369a934.e11c08",\r
+        "id": "4bf064de.ff298c",\r
         "type": "outcome",\r
         "name": "create",\r
         "xml": "<outcome value='create'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 700.0041465759277,\r
-        "y": 691.4137353897095,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 731.0104064941406,\r
+        "y": 686.413655757904,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "ba7564f.359ed98"\r
+                "856b20f2.dd3e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2c4e26db.d2576a",\r
+        "id": "4a0f3f1f.e154f",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 940.3377494812012,\r
-        "y": 743.0000324249268,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 969.3440093994141,\r
+        "y": 694.0000189244747,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "3d832a02.563396",\r
-                "1104c91d.350e07",\r
-                "f844d17c.4dd8f",\r
-                "48cd140e.14f35c",\r
-                "b370d981.a636e8",\r
-                "6fc07521.c03a0c"\r
+                "61a8036d.49151c",\r
+                "9df20938.7cb218",\r
+                "e668ec20.ba224",\r
+                "e9946938.94da68",\r
+                "17aebe0e.08da62",\r
+                "6c28f181.61b7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1104c91d.350e07",\r
+        "id": "9df20938.7cb218",\r
         "type": "outcome",\r
         "name": "CreateSiteInstance",\r
         "xml": "<outcome value='CreateSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1198.8141288757324,\r
-        "y": 689.4793787002563,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1226.8203773498535,\r
+        "y": 603.4793815612793,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "20db622e.dd2f7e"\r
+                "c35bc84f.6dd758"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3d832a02.563396",\r
+        "id": "61a8036d.49151c",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1140.7185325622559,\r
-        "y": 826.8572956621647,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1169.7247924804688,\r
+        "y": 777.8572821617126,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "66bc9e9c.1ac1f"\r
+                "35631ae7.723fc6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ba7564f.359ed98",\r
+        "id": "856b20f2.dd3e",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 890.3373947143555,\r
-        "y": 688.0001001358032,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 917.3439254760742,\r
+        "y": 614.0000205039978,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "2c4e26db.d2576a"\r
+                "4a0f3f1f.e154f",\r
+                "e795cb52.6c6f98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "20db622e.dd2f7e",\r
+        "id": "c35bc84f.6dd758",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-site-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1655.3379516601562,\r
-        "y": 687.0001611709595,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1683.3442001342773,\r
+        "y": 601.0001640319824,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "66bc9e9c.1ac1f",\r
+        "id": "35631ae7.723fc6",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1294.0041847229004,\r
-        "y": 826.9136921465397,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1323.0104446411133,\r
+        "y": 777.9136786460876,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f844d17c.4dd8f",\r
+        "id": "e668ec20.ba224",\r
         "type": "outcome",\r
         "name": "CreateSDWANPortInstance",\r
         "xml": "<outcome value='CreateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1204.6709251403809,\r
-        "y": 785.247186332941,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1233.6771850585938,\r
+        "y": 736.247172832489,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "b6270252.07dee"\r
+                "93c38881.fc6c68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b6270252.07dee",\r
+        "id": "93c38881.fc6c68",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-wanport-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1677.194622039795,\r
-        "y": 784.767938286066,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1706.2008819580078,\r
+        "y": 735.767924785614,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "48cd140e.14f35c",\r
+        "id": "e9946938.94da68",\r
         "type": "outcome",\r
         "name": "CreateSDWANDeviceInstance",\r
         "xml": "<outcome value='CreateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1214.0352592468262,\r
-        "y": 742.4451303482056,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1242.0415077209473,\r
+        "y": 656.4451332092285,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "3b11278c.bb8c38"\r
+                "f8aa9b06.01e4b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3b11278c.bb8c38",\r
+        "id": "f8aa9b06.01e4b8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-device-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1669.5590476989746,\r
-        "y": 741.9659996032715,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1697.5652961730957,\r
+        "y": 655.9660024642944,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b370d981.a636e8",\r
+        "id": "17aebe0e.08da62",\r
         "type": "outcome",\r
         "name": "CreateSDWANVpnInstance",\r
         "xml": "<outcome value='CreateSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1233.0039367675781,\r
-        "y": 594.4136924743652,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1272.010425567627,\r
+        "y": 555.4137077331543,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "657379da.c01418"\r
+                "3571e5b5.b5fc8a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "657379da.c01418",\r
+        "id": "3571e5b5.b5fc8a",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-vpn-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1641.5277099609375,\r
-        "y": 591.9344596862793,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1680.5341987609863,\r
+        "y": 552.9344749450684,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8734e4a2.e72ad8",\r
+        "id": "a756f30b.6c1cb",\r
         "type": "outcome",\r
         "name": "activate",\r
         "xml": "<outcome value='activate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 691.0042190551758,\r
-        "y": 978.746994972229,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 721.0104064941406,\r
+        "y": 881.7469687461853,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "f1db3d76.89225"\r
+                "3edd603.8e265a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cdd2825f.5d09c",\r
+        "id": "a5f22e70.04f1a",\r
         "type": "outcome",\r
         "name": "ActivateSiteInstance",\r
         "xml": "<outcome value='ActivateSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1182.1472473144531,\r
-        "y": 978.6459150314331,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1212.153434753418,\r
+        "y": 881.6458888053894,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "2a41522d.67a51e"\r
+                "ce7332d1.0ac03"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f1db3d76.89225",\r
+        "id": "3edd603.8e265a",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 871.6709899902344,\r
-        "y": 974.1666717529297,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 901.6771774291992,\r
+        "y": 877.166645526886,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "7f5f8826.961548"\r
+                "91a235a8.4c9e08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2a41522d.67a51e",\r
+        "id": "ce7332d1.0ac03",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-site-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1555.6710510253906,\r
-        "y": 977.1666975021362,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1585.6772384643555,\r
+        "y": 880.1666712760925,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e3a84270.80d99",\r
+        "id": "f2fcfc7e.d1ffa",\r
         "type": "outcome",\r
         "name": "ActivateSDWANDeviceInstance",\r
         "xml": "<outcome value='ActivateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1210.3377075195312,\r
-        "y": 1027.6667370796204,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1240.343894958496,\r
+        "y": 930.6667108535767,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "5a26eb28.451874"\r
+                "c9db1dea.dfbf5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5a26eb28.451874",\r
+        "id": "c9db1dea.dfbf5",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-device-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1645.8614044189453,\r
-        "y": 1027.1875095367432,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1675.8675918579102,\r
+        "y": 930.1874833106995,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a4f9d63b.494d98",\r
+        "id": "f410619e.7b2af",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-wanport-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1650.3375396728516,\r
-        "y": 1072.6666593551636,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1674.3437194824219,\r
+        "y": 1015.6666650772095,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c8acd26d.1e739",\r
+        "id": "b65d5517.761218",\r
         "type": "outcome",\r
         "name": "ActivateSDWANPortInstance",\r
         "xml": "<outcome value='ActivateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1214.8138427734375,\r
-        "y": 1073.1458868980408,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1238.8200225830078,\r
+        "y": 1016.1458926200867,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "a4f9d63b.494d98"\r
+                "f410619e.7b2af"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7f5f8826.961548",\r
+        "id": "91a235a8.4c9e08",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 922.0042114257812,\r
-        "y": 1024.746958732605,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 978.0104064941406,\r
+        "y": 943.7469687461853,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "cdd2825f.5d09c",\r
-                "e3a84270.80d99",\r
-                "c8acd26d.1e739",\r
-                "58bf71df.40217",\r
-                "e2c3c98a.638358",\r
-                "7eb3a13c.fe01"\r
+                "a5f22e70.04f1a",\r
+                "f2fcfc7e.d1ffa",\r
+                "b65d5517.761218",\r
+                "631e788a.5ef948",\r
+                "b5cf8a8f.31ae38",\r
+                "25d6d260.b0230e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "58bf71df.40217",\r
+        "id": "631e788a.5ef948",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1146.5757064819336,\r
-        "y": 1121.958472251892,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1170.581886291504,\r
+        "y": 1064.958477973938,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "9491c86f.faa978"\r
+                "c987f934.5e8db8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e2c3c98a.638358",\r
+        "id": "b5cf8a8f.31ae38",\r
         "type": "outcome",\r
         "name": "ActivateSDWANVpnInstance",\r
         "xml": "<outcome value='ActivateSDWANVpnInstance'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1225.0041465759277,\r
-        "y": 888.7469822466373,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1254.0104064941406,\r
+        "y": 839.7469687461853,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "3b1f1b03.8cdd84"\r
+                "e540db1.fcd5d28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3b1f1b03.8cdd84",\r
+        "id": "e540db1.fcd5d28",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-vpn-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1640.5279502868652,\r
-        "y": 882.2677589952946,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1669.5342102050781,\r
+        "y": 833.2677454948425,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "bcf05aca.9cd8e8",\r
+        "id": "201f4d37.e91032",\r
         "type": "outcome",\r
         "name": "deactivate",\r
         "xml": "<outcome value='deactivate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 685.0042686462402,\r
-        "y": 1232.7470879554749,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 705.0103988647461,\r
+        "y": 1167.7470617294312,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "eace7410.b0c1f8"\r
+                "389867bf.2284f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5e7397b3.dab7a8",\r
+        "id": "c7aad7d3.fb5618",\r
         "type": "outcome",\r
         "name": "DeactivateSiteInstance",\r
         "xml": "<outcome value='DeactivateSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1178.1472778320312,\r
-        "y": 1281.646014213562,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1196.1534271240234,\r
+        "y": 1167.6459817886353,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "21bb9b2a.ea8a34"\r
+                "4675b373.48835c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eace7410.b0c1f8",\r
+        "id": "389867bf.2284f8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 857.6710453033447,\r
-        "y": 1233.1667957305908,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 885.6771697998047,\r
+        "y": 1163.1667385101318,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "c3ccf383.cfe88"\r
+                "80dc1053.718dc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21bb9b2a.ea8a34",\r
+        "id": "4675b373.48835c",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-site-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1551.6710815429688,\r
-        "y": 1280.1667966842651,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1569.677230834961,\r
+        "y": 1166.1667642593384,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5379b130.c4fdc",\r
+        "id": "f75c0513.6c8168",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANDeviceInstance",\r
         "xml": "<outcome value='DeactivateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1206.3377380371094,\r
-        "y": 1330.6668362617493,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1224.3438873291016,\r
+        "y": 1216.6668038368225,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "84ada7ed.5abb58"\r
+                "85958e69.f32bb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "84ada7ed.5abb58",\r
+        "id": "85958e69.f32bb",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-device-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1641.8614349365234,\r
-        "y": 1330.187608718872,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1659.8675842285156,\r
+        "y": 1216.1875762939453,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "45330326.89c95c",\r
+        "id": "73d40202.c78c6c",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-wanport-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1646.3375701904297,\r
-        "y": 1375.6667585372925,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1657.3437957763672,\r
+        "y": 1294.666778087616,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "47362b0e.0aa804",\r
+        "id": "da717258.8698a",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANPortInstance",\r
         "xml": "<outcome value='DeactivateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1210.8138732910156,\r
-        "y": 1376.1459860801697,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1221.8200988769531,\r
+        "y": 1295.1460056304932,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "45330326.89c95c"\r
+                "73d40202.c78c6c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c3ccf383.cfe88",\r
+        "id": "80dc1053.718dc",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 917.0043296813965,\r
-        "y": 1301.7472405433655,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 962.0103988647461,\r
+        "y": 1229.7470617294312,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "5e7397b3.dab7a8",\r
-                "5379b130.c4fdc",\r
-                "47362b0e.0aa804",\r
-                "63e6c1ce.d4cf5",\r
-                "4a02ebd5.071034",\r
-                "fb94038a.0100e"\r
+                "c7aad7d3.fb5618",\r
+                "f75c0513.6c8168",\r
+                "da717258.8698a",\r
+                "903da395.919c3",\r
+                "82d33324.e23e3",\r
+                "1b1f1da6.c2e872"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "63e6c1ce.d4cf5",\r
+        "id": "903da395.919c3",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1146.5756072998047,\r
-        "y": 1425.9585485458374,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1157.5818328857422,\r
+        "y": 1344.958568096161,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "58fb4bd3.507344"\r
+                "e8c4be82.d0b16"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4a02ebd5.071034",\r
+        "id": "82d33324.e23e3",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANVpnInstance",\r
         "xml": "<outcome value='DeactivateSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1214.0042190551758,\r
-        "y": 1182.7470560073853,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1238.010398864746,\r
+        "y": 1125.7470617294312,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "fbad4fa4.97356"\r
+                "2b4b6274.20abbe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fbad4fa4.97356",\r
+        "id": "2b4b6274.20abbe",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-vpn-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1629.5280227661133,\r
-        "y": 1176.2678327560425,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1653.5342025756836,\r
+        "y": 1119.2678384780884,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "58fb4bd3.507344",\r
+        "id": "e8c4be82.d0b16",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1485.0042877197266,\r
-        "y": 1426.4137592315674,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1496.010513305664,\r
+        "y": 1345.4137787818909,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9491c86f.faa978",\r
+        "id": "c987f934.5e8db8",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1477.0042190551758,\r
-        "y": 1119.4136819839478,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1501.010398864746,\r
+        "y": 1062.4136877059937,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "45dbdd14.1c9594",\r
+        "id": "9ee92290.b08c",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1059.00386428833,\r
-        "y": 343.41364446282387,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1099.0103645324707,\r
+        "y": 341.41364336013794,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7ddcd159.af7c5",\r
+        "id": "d58a6905.f3a7f8",\r
         "type": "outcome",\r
         "name": "activate",\r
         "xml": "<outcome value='activate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 687.003849029541,\r
-        "y": 344.08032193779945,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 727.0103492736816,\r
+        "y": 342.0803208351135,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "45dbdd14.1c9594"\r
+                "9ee92290.b08c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c7064bfe.3bb108",\r
+        "id": "2b26c4c1.602edc",\r
         "type": "outcome",\r
         "name": "delete",\r
         "xml": "<outcome value='delete'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 669.0042915344238,\r
-        "y": 1569.0804500579834,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 668.0104446411133,\r
+        "y": 1513.0803904533386,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "86fe3063.f5314"\r
+                "b6813743.434d08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8129346a.9a7028",\r
+        "id": "325c1f9a.af3de",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 900.3378295898438,\r
-        "y": 1599.666877746582,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 907.3439636230469,\r
+        "y": 1513.666757106781,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "abdb2c6d.26329",\r
-                "1c9b503f.e869e",\r
-                "ebc11a5b.92e8f8",\r
-                "ed7bc3fc.a812b",\r
-                "f8972855.1982c8",\r
-                "5677852c.5c596c"\r
+                "f978524b.49dc8",\r
+                "ee8589f0.103678",\r
+                "ef71212e.bc228",\r
+                "c42f06a0.286dc8",\r
+                "c4490e9c.34e51",\r
+                "747ce36c.3de7fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1c9b503f.e869e",\r
+        "id": "ee8589f0.103678",\r
         "type": "outcome",\r
         "name": "DeleteSiteInstance",\r
         "xml": "<outcome value='DeleteSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1149.8142318725586,\r
-        "y": 1589.1461973190308,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1176.820457458496,\r
+        "y": 1447.1461582183838,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "491e32c9.2d52ac"\r
+                "e685df53.12b53"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "abdb2c6d.26329",\r
+        "id": "f978524b.49dc8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1099.7186889648438,\r
-        "y": 1736.524130821228,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1106.7248306274414,\r
+        "y": 1604.5240168571472,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "8f601e81.71977"\r
+                "9ea10b9d.acf658"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "86fe3063.f5314",\r
+        "id": "b6813743.434d08",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 849.3378295898438,\r
-        "y": 1532.6668758392334,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 854.3439636230469,\r
+        "y": 1440.6667551994324,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "8129346a.9a7028"\r
+                "325c1f9a.af3de"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "491e32c9.2d52ac",\r
+        "id": "e685df53.12b53",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-site-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1603.338005065918,\r
-        "y": 1584.6669492721558,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1596.344123840332,\r
+        "y": 1442.6670017242432,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8f601e81.71977",\r
+        "id": "9ea10b9d.acf658",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1253.0043411254883,\r
-        "y": 1736.580527305603,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1260.010482788086,\r
+        "y": 1604.5804133415222,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ebc11a5b.92e8f8",\r
+        "id": "ef71212e.bc228",\r
         "type": "outcome",\r
         "name": "DeleteSDWANPortInstance",\r
         "xml": "<outcome value='DeleteSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1163.6710815429688,\r
-        "y": 1694.9140214920044,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1170.6772232055664,\r
+        "y": 1562.9139075279236,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "f8f01738.a952f8"\r
+                "64a82c2b.8bd464"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f8f01738.a952f8",\r
+        "id": "64a82c2b.8bd464",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-wanport-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1636.1947784423828,\r
-        "y": 1694.4347734451294,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1643.2009201049805,\r
+        "y": 1562.4346594810486,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ed7bc3fc.a812b",\r
+        "id": "c42f06a0.286dc8",\r
         "type": "outcome",\r
         "name": "DeleteSDWANDeviceInstance",\r
         "xml": "<outcome value='DeleteSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1173.0354232788086,\r
-        "y": 1641.1119375228882,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1195.041618347168,\r
+        "y": 1486.111795425415,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "3f658e56.9d3b42"\r
+                "4d9adbda.eda754"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3f658e56.9d3b42",\r
+        "id": "4d9adbda.eda754",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-device-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1637.5591888427734,\r
-        "y": 1640.63277053833,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1609.5654373168945,\r
+        "y": 1481.6326999664307,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f8972855.1982c8",\r
+        "id": "c4490e9c.34e51",\r
         "type": "outcome",\r
         "name": "DeleteSDWANVpnInstance",\r
         "xml": "<outcome value='DeleteSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1186.004264831543,\r
-        "y": 1487.0804476737976,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1199.0104751586914,\r
+        "y": 1406.0804076194763,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "19b04dbd.6b60a2"\r
+                "8af6e006.bfec5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "19b04dbd.6b60a2",\r
+        "id": "8af6e006.bfec5",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-vpn-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1595.5280227661133,\r
-        "y": 1488.6011400222778,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1592.534278869629,\r
+        "y": 1406.6011753082275,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6fc07521.c03a0c",\r
+        "id": "e795cb52.6c6f98",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"request-action\"/>\n<parameter name=\"field3\" value='`$vf-module-topology-operation-input.request-information.request-action`'/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1058.7604064941406,\r
+        "y": 563.0039051473141,\r
+        "z": "85ee3913.3987f8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c28f181.61b7c",\r
         "type": "outcome",\r
         "name": "CreateSDWANLanPortInstance",\r
         "xml": "<outcome value='CreateSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1241.0312728881836,\r
-        "y": 642.5312581062317,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1235.75390625,\r
+        "y": 697.25390625,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "8f4dfe29.61b9d"\r
+                "1169c073.b7816"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8f4dfe29.61b9d",\r
+        "id": "1169c073.b7816",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-lanport-create",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-create' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1651.5550537109375,\r
-        "y": 641.0520095825195,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1708.277603149414,\r
+        "y": 696.774658203125,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7eb3a13c.fe01",\r
+        "id": "25d6d260.b0230e",\r
         "type": "outcome",\r
         "name": "ActivateSDWANLanPortInstance",\r
         "xml": "<outcome value='ActivateSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1229.03125,\r
-        "y": 932.03125,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1247.75390625,\r
+        "y": 974.50390625,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "41d9f761.0dc728"\r
+                "ec26a8f0.36bb88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "41d9f761.0dc728",\r
+        "id": "ec26a8f0.36bb88",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-lanport-activate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-activate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1639.555030822754,\r
-        "y": 930.5520014762878,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1665.2775573730469,\r
+        "y": 974.0246677398682,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "fb94038a.0100e",\r
+        "id": "1b1f1da6.c2e872",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANLanPortInstance",\r
         "xml": "<outcome value='DeactivateSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1213.03125,\r
-        "y": 1236.53125,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1233.75390625,\r
+        "y": 1260.75390625,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "383a8f05.b6135"\r
+                "dabaac5b.2c0a7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "383a8f05.b6135",\r
+        "id": "dabaac5b.2c0a7",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-lanport-deactivate",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-deactivate' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1623.555030822754,\r
-        "y": 1235.0520014762878,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1651.2775573730469,\r
+        "y": 1260.2746677398682,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5677852c.5c596c",\r
+        "id": "747ce36c.3de7fc",\r
         "type": "outcome",\r
         "name": "DeleteSDWANLanPortInstance",\r
-        "xml": "<outcome value='DeleteSDWANLanPortInstance'>",\r
+        "xml": "<outcome value='DleteSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1201.03125,\r
-        "y": 1544.53125,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1197.75390625,\r
+        "y": 1523.75390625,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             [\r
-                "7c7dc424.e574ac"\r
+                "19220770.af1c39"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7c7dc424.e574ac",\r
+        "id": "19220770.af1c39",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:sdwan-vf-operation-lanport-delete",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-delete' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1607.5550842285156,\r
-        "y": 1546.0520501732826,\r
-        "z": "3e6c75a5.b69bda",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "5dfbbd6.4b80544",\r
-        "type": "outcome",\r
-        "name": "update",\r
-        "xml": "<outcome value='update'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 683.000057220459,\r
-        "y": 1791.333441734314,\r
-        "z": "3e6c75a5.b69bda",\r
-        "wires": [\r
-            [\r
-                "321a7638.3b493a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "321a7638.3b493a",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 857.3335571289062,\r
-        "y": 1790.9197030067444,\r
-        "z": "3e6c75a5.b69bda",\r
-        "wires": [\r
-            [\r
-                "31f55a0d.2f22a6"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "31f55a0d.2f22a6",\r
-        "type": "switchNode",\r
-        "name": "switch request-action",\r
-        "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1056.3335647583008,\r
-        "y": 1790.919867515564,\r
-        "z": "3e6c75a5.b69bda",\r
-        "wires": [\r
-            [\r
-                "b3fecb60.6fce78"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b3fecb60.6fce78",\r
-        "type": "outcome",\r
-        "name": "SdwanBandwidthChange",\r
-        "xml": "<outcome value='SdwanBandwidthChange'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1300.0000381469727,\r
-        "y": 1789.000054359436,\r
-        "z": "3e6c75a5.b69bda",\r
-        "wires": [\r
-            [\r
-                "ec71b2dd.08538"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ec71b2dd.08538",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:sdwan-bandwidth-policy-change",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-bandwidth-policy-change' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1673.5238418579102,\r
-        "y": 1789.520941734314,\r
-        "z": "3e6c75a5.b69bda",\r
+        "x": 1615.2775573730469,\r
+        "y": 1523.2746677398682,\r
+        "z": "85ee3913.3987f8",\r
         "wires": [\r
             []\r
         ]\r
index f258de4..4760d35 100644 (file)
@@ -1,22 +1,22 @@
 [\r
     {\r
-        "id": "5c12f35e.e1cabc",\r
+        "id": "ad9a9168.e57ff",\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": 956.03125,\r
+        "y": 159.13152408599854,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "fc9a82de.84ce"\r
+                "e7246404.3ab3d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b009e5d5.1d5ff8",\r
+        "id": "6ad25904.845b18",\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": 228.7017364501953,\r
+        "y": 186.96871662139893,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "9b496cef.08cf1"\r
+                "f16fce6c.5d5ba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9b496cef.08cf1",\r
+        "id": "f16fce6c.5d5ba",\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": 227.7017364501953,\r
+        "y": 286.9687166213989,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "a4608885.5f82c8"\r
+                "c112bcf.84b4e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7da866ae.544bb8",\r
+        "id": "1a36f303.fc1c1d",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 98.50000381469727,\r
-        "y": 39,\r
-        "z": "67d8f5f.109b30c",\r
+        "x": 114.20173835754395,\r
+        "y": 79.96872520446777,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "b009e5d5.1d5ff8"\r
+                "6ad25904.845b18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a4608885.5f82c8",\r
+        "id": "c112bcf.84b4e4",\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": 386.70172119140625,\r
+        "y": 402.9687252044678,\r
+        "z": "46bf2b6e.2c0e64",\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
+                "abed0b7b.e9c438",\r
+                "724392ca.bd7b5c",\r
+                "2b72757.931558a",\r
+                "a49a2243.bbcb2",\r
+                "c992605b.552a5",\r
+                "40876e67.4cc8d",\r
+                "86ee3fd8.45a8b",\r
+                "414cae1d.205f6",\r
+                "7ba39512.c516ac",\r
+                "3a2a0968.648d36",\r
+                "7024b9ac.3160d8",\r
+                "fdab20c0.e8295",\r
+                "d3c28e8a.2aecc",\r
+                "b7d7095a.45e048"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4e77e130.304fb",\r
+        "id": "abed0b7b.e9c438",\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": 704.0311584472656,\r
+        "y": 160.4648609161377,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "5c12f35e.e1cabc"\r
+                "ad9a9168.e57ff"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ddad9e6f.97581",\r
+        "id": "4ed9f1d2.fc2b7",\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": 1327.697738647461,\r
+        "y": 161.13152694702148,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fc9a82de.84ce",\r
+        "id": "e7246404.3ab3d8",\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": 1174.3645668029785,\r
+        "y": 161.13150596618652,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "ddad9e6f.97581"\r
+                "4ed9f1d2.fc2b7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e01d2f82.7429f",\r
+        "id": "2b72757.931558a",\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": 784.9518966674805,\r
+        "y": 561.6354055404663,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "7ea0d8c4.d056e8"\r
+                "1cf539f3.af1b96"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ea0d8c4.d056e8",\r
+        "id": "1cf539f3.af1b96",\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": 999.7302398681641,\r
+        "y": 559.1909894943237,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "c6b87ab0.44cce8",\r
-                "f6199a92.b6bb08"\r
+                "1a9f780a.a03398",\r
+                "dcb3e18.352e72"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c6b87ab0.44cce8",\r
+        "id": "1a9f780a.a03398",\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": 1195.986442565918,\r
+        "y": 536.9391279220581,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f6199a92.b6bb08",\r
+        "id": "dcb3e18.352e72",\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": 1165.4308700561523,\r
+        "y": 573.9392442703247,\r
+        "z": "46bf2b6e.2c0e64",\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": "724392ca.bd7b5c",\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": 718.4517517089844,\r
+        "y": 115.96872997283936,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "b9775757.c586e8"\r
+                "b66cc394.12346"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b9775757.c586e8",\r
+        "id": "b66cc394.12346",\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": 905.1184310913086,\r
+        "y": 115.30202770233154,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "8ca0a76c.6a9638"\r
+                "c5ad3c03.3e718"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8ca0a76c.6a9638",\r
+        "id": "c5ad3c03.3e718",\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": 1086.785057067871,\r
+        "y": 115.30202770233154,\r
+        "z": "46bf2b6e.2c0e64",\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": "40876e67.4cc8d",\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": 769.5548782348633,\r
+        "y": 728.4649872779846,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a49a2243.bbcb2",\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": 775.8880348205566,\r
+        "y": 624.1229696273804,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c992605b.552a5",\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": 801.8884124755859,\r
+        "y": 680.1232032775879,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "86ee3fd8.45a8b",\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": 764.7017707824707,\r
+        "y": 778.9688324928284,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "414cae1d.205f6",\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": 772.2018737792969,\r
+        "y": 826.9687967300415,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c8a9b81e.4dea68",\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-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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1206.701789855957,\r
+        "y": 852.4687442779541,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3a2a0968.648d36",\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": 775.7016677856445,\r
+        "y": 920.4687957763672,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ba39512.c516ac",\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": 724.4241981506348,\r
+        "y": 966.6426386833191,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "faa86376.49175",\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": 1251.8685150146484,\r
+        "y": 240.30206966400146,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "491e4f90.e2d44",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1004.8680419921875,\r
+        "y": 254.95347213745117,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "c5166da1.64b87",\r
-                "f58b3753.891bc8"\r
+                "faa86376.49175",\r
+                "1889b968.9cafa7",\r
+                "c8eb51dd.8bc9f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c5166da1.64b87",\r
+        "id": "74ee118f.3bdb3",\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": 1210.3999099731445,\r
+        "y": 457.985107421875,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dfbd61c4.ba851",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1004.3995361328125,\r
+        "y": 410.9848394393921,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            [\r
+                "74ee118f.3bdb3",\r
+                "1889b968.9cafa7",\r
+                "f58396e4.0282e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1889b968.9cafa7",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1239.8996353149414,\r
+        "y": 334.98486328125,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            [\r
+                "ecce0898.ef26d8",\r
+                "e6c1d3e3.fb47b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e28abe4b.99802",\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": 1701.6139278411865,\r
+        "y": 254.12758922576904,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "4d85b0fa.e45f4"\r
+                "4d6a716f.84ac8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f58b3753.891bc8",\r
+        "id": "4d6a716f.84ac8",\r
+        "type": "set",\r
+        "name": "set vf-index=0",\r
+        "xml": "<set>\n<parameter name='vf-index' value='0' />\n",\r
+        "comments": "",\r
+        "x": 1849.8995761871338,\r
+        "y": 251.12764358520508,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ad9a94b.6789668",\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": 1705.0424251556396,\r
+        "y": 299.41338062286377,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "3cc5230a.5b2c3c"\r
+                "aa7a0bdb.e96638"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4d85b0fa.e45f4",\r
+        "id": "aa7a0bdb.e96638",\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": 1888.90016746521,\r
+        "y": 299.6991491317749,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3cc5230a.5b2c3c",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "id": "ecce0898.ef26d8",\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": 1417.8996391296387,\r
+        "y": 363.984827041626,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b86e63fd.fc195",\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": 1654.471076965332,\r
+        "y": 394.1277618408203,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "1560cc74.e1f714",\r
-                "105e52c3.2d94dd"\r
+                "5a9cb21d.1f494c"\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": "5a9cb21d.1f494c",\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": 1793.0424346923828,\r
+        "y": 394.12772274017334,\r
+        "z": "46bf2b6e.2c0e64",\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": "2f10259c.95f9fa",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 853.3991165161133,\r
+        "y": 378.9847173690796,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            [\r
+                "dfbd61c4.ba851"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5868d60.4eb9c",\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": 856.8679389953613,\r
+        "y": 318.9534797668457,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "e9396ecf.61386"\r
+                "491e4f90.e2d44"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9bfcdd3d.e8854",\r
+        "id": "585f0966.3b4ab8",\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": 1554.3991317749023,\r
+        "y": 214.98472118377686,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e9396ecf.61386",\r
+        "id": "fdab20c0.e8295",\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": 715.8679351806641,\r
+        "y": 343.95348834991455,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "7c76b41d.ea06ac"\r
+                "c5868d60.4eb9c",\r
+                "2f10259c.95f9fa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7c76b41d.ea06ac",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
+        "id": "7024b9ac.3160d8",\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": 715.7330017089844,\r
+        "y": 208.99999523162842,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
             [\r
-                "91b09a0a.6c6428"\r
+                "a1384c59.cdef8"\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": "a1384c59.cdef8",\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": 877.7330474853516,\r
+        "y": 207.9999942779541,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            [\r
+                "b60890ce.7212a"\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": "b60890ce.7212a",\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": 1026.983139038086,\r
+        "y": 205.7778720855713,\r
+        "z": "46bf2b6e.2c0e64",\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": "e6c1d3e3.fb47b",\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": 1479.7329788208008,\r
+        "y": 280.0000104904175,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
-            []\r
+            [\r
+                "e28abe4b.99802",\r
+                "ad9a94b.6789668"\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": "62be0465.8c201c",\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": 1471.7329788208008,\r
+        "y": 402.49998474121094,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            [\r
+                "b86e63fd.fc195"\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": "f58396e4.0282e8",\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": 1235.7329788208008,\r
+        "y": 406.49998474121094,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
-            []\r
+            [\r
+                "62be0465.8c201c"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "178a7bac.307b74",\r
+        "id": "d3c28e8a.2aecc",\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": 746.2329788208008,\r
+        "y": 71.99999809265137,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7fbeb541.aa905c",\r
+        "id": "c8eb51dd.8bc9f",\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": 1265.2329864501953,\r
+        "y": 202.99999713897705,\r
+        "z": "46bf2b6e.2c0e64",\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": "b7d7095a.45e048",\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": 754.2330436706543,\r
+        "y": 876.0000257492065,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
-            []\r
+            [\r
+                "bb597028.866e9",\r
+                "18aecad0.0cad25"\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": "18aecad0.0cad25",\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": 969.2330417633057,\r
+        "y": 887.0000257492065,\r
+        "z": "46bf2b6e.2c0e64",\r
         "wires": [\r
-            []\r
+            [\r
+                "8ea3c05b.19b31"\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": "bb597028.866e9",\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": 972.2330417633057,\r
+        "y": 848.9999942779541,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            [\r
+                "c8a9b81e.4dea68"\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": "8ea3c05b.19b31",\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-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
         "comments": "",\r
-        "x": 806.6974792480469,\r
-        "y": 141.0160083770752,\r
-        "z": "67d8f5f.109b30c",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 1203.2329864501953,\r
+        "y": 892.999997138977,\r
+        "z": "46bf2b6e.2c0e64",\r
+        "wires": [\r
+            []\r
+        ]\r
     }\r
 ]
\ No newline at end of file
index dd6f321..475c093 100644 (file)
@@ -1,37 +1,37 @@
 [\r
     {\r
-        "id": "2de211e6.98e23e",\r
+        "id": "2464f2e7.0e2fce",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 468,\r
-        "y": 381.0000009536743,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 450.00390625,\r
+        "y": 347.0000014305115,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "6436367.bae22c8",\r
-                "1f79f37c.52109d",\r
-                "86c4e83c.6dd4c8",\r
-                "e7ab9a67.b605f8",\r
-                "1d935a3c.53bb66",\r
-                "9465c248.bcdbd",\r
-                "944e3f22.30053",\r
-                "240305a4.5a5a9a",\r
-                "5d2253aa.4bfbec",\r
-                "b6ddeb01.d7f708",\r
-                "83d0d62b.725028",\r
-                "8a6622c.9c3e9e",\r
-                "d3e9377a.b7b628",\r
-                "166cfcae.a53de3",\r
-                "4cde94b6.d8700c"\r
+                "32c4b65c.2d59aa",\r
+                "5509b148.13914",\r
+                "aad7e68e.3b6ca8",\r
+                "94574a55.b19c88",\r
+                "7de1d3e.65c652c",\r
+                "7b54ca79.4bc724",\r
+                "e23c49d7.715338",\r
+                "a50b2df2.ad39e",\r
+                "e9af352a.620918",\r
+                "bbeb53a3.c2576",\r
+                "37a48c20.31bdf4",\r
+                "c012bd48.a280b",\r
+                "3e34e572.c1fb4a",\r
+                "83fb72db.90602",\r
+                "370a2393.20ff3c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "489fcd29.cfaa34",\r
+        "id": "4af2ac42.490d34",\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": 310.00001525878906,\r
-        "y": 164.99999237060547,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 292.00392150878906,\r
+        "y": 130.99999284744263,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "105708eb.457607"\r
+                "5b6c766c.98d2a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "105708eb.457607",\r
+        "id": "5b6c766c.98d2a8",\r
         "type": "method",\r
         "name": "sdwan-vf-operation-vpn-create",\r
         "xml": "<method rpc='sdwan-vf-operation-vpn-create' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 309.00001525878906,\r
-        "y": 264.99999237060547,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 291.00392150878906,\r
+        "y": 230.99999284744263,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "2de211e6.98e23e"\r
+                "2464f2e7.0e2fce"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a574a3fb.d3201",\r
+        "id": "4418c0ab.c80bf",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 139.50001525878906,\r
-        "y": 76,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 121.50392150878906,\r
+        "y": 42.00000047683716,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "489fcd29.cfaa34"\r
+                "4af2ac42.490d34"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6436367.bae22c8",\r
+        "id": "32c4b65c.2d59aa",\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": 768.3294219970703,\r
-        "y": 272.49612522125244,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 750.3333282470703,\r
+        "y": 238.4961256980896,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "a118e404.bdd118"\r
+                "3161e290.49fc4e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a118e404.bdd118",\r
+        "id": "3161e290.49fc4e",\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": 1020.3295135498047,\r
-        "y": 271.1627883911133,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1002.3334197998047,\r
+        "y": 237.16278886795044,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "40e93eeb.bac38"\r
+                "5b45671f.cd82a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "948c1668.1af8e8",\r
+        "id": "e5b08bcc.460cf8",\r
         "type": "set",\r
         "name": "set vnf-index",\r
         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n\n",\r
         "comments": "",\r
-        "x": 1391.9960021972656,\r
-        "y": 273.16279125213623,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1373.9999084472656,\r
+        "y": 239.1627917289734,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "40e93eeb.bac38",\r
+        "id": "5b45671f.cd82a8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1238.6628303527832,\r
-        "y": 273.16277027130127,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1220.6667366027832,\r
+        "y": 239.16277074813843,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "948c1668.1af8e8"\r
+                "e5b08bcc.460cf8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e7ab9a67.b605f8",\r
+        "id": "94574a55.b19c88",\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": 842.2502059936523,\r
-        "y": 494.66665840148926,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 824.2541122436523,\r
+        "y": 460.6666588783264,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "62290f8b.75c82"\r
+                "213647dd.26e428"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "62290f8b.75c82",\r
+        "id": "213647dd.26e428",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1057.028549194336,\r
-        "y": 492.2222423553467,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1039.032455444336,\r
+        "y": 458.22224283218384,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "59b05bb9.0b68b4",\r
-                "72944c92.a776a4"\r
+                "501e761.bc5eb88",\r
+                "76a61aa5.aca9e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "59b05bb9.0b68b4",\r
+        "id": "501e761.bc5eb88",\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": 1253.2847518920898,\r
-        "y": 469.97038078308105,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1235.2886581420898,\r
+        "y": 435.9703812599182,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "72944c92.a776a4",\r
+        "id": "76a61aa5.aca9e4",\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": 1222.7291793823242,\r
-        "y": 506.97049713134766,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1204.7330856323242,\r
+        "y": 472.9704976081848,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d0552bf7.11fd78",\r
+        "id": "801b9de7.f8983",\r
         "type": "comment",\r
         "name": "Take the parameter names by removing prefix",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1226.2504081726074,\r
-        "y": 429.33332681655884,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1208.2543144226074,\r
+        "y": 395.333327293396,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1f79f37c.52109d",\r
+        "id": "5509b148.13914",\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": 782.7500152587891,\r
-        "y": 227.9999942779541,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 764.7539215087891,\r
+        "y": 193.99999475479126,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "f848aa6e.cfe238"\r
+                "1afa6ba0.b560d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f848aa6e.cfe238",\r
+        "id": "1afa6ba0.b560d4",\r
         "type": "other",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 969.4166946411133,\r
-        "y": 227.3332920074463,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 951.4206008911133,\r
+        "y": 193.33329248428345,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "63764309.2b5d2c"\r
+                "f6ded972.6369c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "63764309.2b5d2c",\r
+        "id": "f6ded972.6369c8",\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": 1151.0833206176758,\r
-        "y": 227.3332920074463,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1133.0872268676758,\r
+        "y": 193.33329248428345,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "86c4e83c.6dd4c8",\r
+        "id": "aad7e68e.3b6ca8",\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": 824.0000047683716,\r
-        "y": 347.9999952316284,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 806.0039110183716,\r
+        "y": 313.9999957084656,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "47ea1345.69aafc",\r
-                "1d47e1b9.b5ac9e"\r
+                "e139df7a.80637",\r
+                "caf10502.734168"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47ea1345.69aafc",\r
+        "id": "e139df7a.80637",\r
         "type": "other",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1055.000015258789,\r
-        "y": 323.99999237060547,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1037.003921508789,\r
+        "y": 289.9999928474426,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "4b7cf824.56d218"\r
+                "b4a2933f.20169"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1d47e1b9.b5ac9e",\r
+        "id": "caf10502.734168",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1055.000015258789,\r
-        "y": 363.99999237060547,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1037.003921508789,\r
+        "y": 329.9999928474426,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "ff6c5552.af6328"\r
+                "63770f1.c37c1f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4b7cf824.56d218",\r
+        "id": "b4a2933f.20169",\r
         "type": "set",\r
         "name": "set vf-index",\r
         "xml": "<set>\n<parameter name='vf-index' value='0' />\n",\r
         "comments": "",\r
-        "x": 1197.500015258789,\r
-        "y": 323.99999237060547,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1179.503921508789,\r
+        "y": 289.9999928474426,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ff6c5552.af6328",\r
+        "id": "63770f1.c37c1f",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1199.3570594787598,\r
-        "y": 363.9365043640137,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1181.3609657287598,\r
+        "y": 329.93650484085083,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "34f94cf0.e3aea4",\r
-                "b3996c0f.5f9d2"\r
+                "82e73ea.9f6d1c",\r
+                "facab090.c3497"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b3996c0f.5f9d2",\r
+        "id": "facab090.c3497",\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": 1352.055534362793,\r
-        "y": 333.5556030566804,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1334.059440612793,\r
+        "y": 299.55560353351757,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "34f94cf0.e3aea4",\r
+        "id": "82e73ea.9f6d1c",\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": 1408.4840393066406,\r
-        "y": 386.7777328491211,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1390.4879455566406,\r
+        "y": 352.77773332595825,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "441d1901.20ad48"\r
+                "df7833b0.b66c4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f0d652ef.7b8d",\r
+        "id": "f1cb1fc.e0fb2e",\r
         "type": "comment",\r
         "name": "make sure this network doesn't exist already",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1632.1347694396973,\r
-        "y": 345.03179025650024,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1614.1386756896973,\r
+        "y": 311.0317907333374,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "441d1901.20ad48",\r
+        "id": "df7833b0.b66c4",\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": 1683.769760131836,\r
-        "y": 386.34923553466797,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1665.773666381836,\r
+        "y": 352.3492360115051,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "d51340c3.db8f7"\r
+                "f0bc8641.c01b88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d51340c3.db8f7",\r
+        "id": "f0bc8641.c01b88",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1584.49995803833,\r
-        "y": 444.9206666946411,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1566.50386428833,\r
+        "y": 410.92066717147827,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "20af1164.21510e"\r
+                "ac9ea707.076ba8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "20af1164.21510e",\r
+        "id": "ac9ea707.076ba8",\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": 1732.2500610351562,\r
-        "y": 444.7778587634675,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1714.2539672851562,\r
+        "y": 410.7778592403047,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "240305a4.5a5a9a",\r
+        "id": "a50b2df2.ad39e",\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.vpn-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\n",\r
         "comments": "",\r
-        "x": 837.8531951904297,\r
-        "y": 797.4962463378906,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 819.8571014404297,\r
+        "y": 763.4962468147278,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "944e3f22.30053",\r
+        "id": "e23c49d7.715338",\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.vpn-vf-index\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 849.186767578125,\r
-        "y": 750.1629486083984,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 831.190673828125,\r
+        "y": 716.1629490852356,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9465c248.bcdbd",\r
+        "id": "7b54ca79.4bc724",\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": 821.1868286132812,\r
-        "y": 701.1629486083984,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 803.1907348632812,\r
+        "y": 667.1629490852356,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1d935a3c.53bb66",\r
+        "id": "7de1d3e.65c652c",\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": 821.1863555908203,\r
-        "y": 647.1542367935181,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 803.1902618408203,\r
+        "y": 613.1542372703552,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5d2253aa.4bfbec",\r
+        "id": "e9af352a.620918",\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`' />",\r
         "comments": "",\r
-        "x": 831.5001831054688,\r
-        "y": 895.0000674128532,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 813.5040893554688,\r
+        "y": 861.0000678896904,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "166cfcae.a53de3",\r
+        "id": "83fb72db.90602",\r
         "type": "save",\r
         "name": "save sdwan vpn resource in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='sdwan-vpn' \n      key='sdwan-vpn.sdwan-vpn-id = $prop.vpn-vf-index' >\n<parameter name='sdwan-vpn-id' value='`$prop.vpn-vf-index`' />\n<parameter name='sdwan-vpn-name' value='`$prop.name`' />\n<parameter name='topology' value='`$prop.topology`' />\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.vpn-vf-index + '/vf-module-data/'` \" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 838.0000438690186,\r
-        "y": 940.5000152587891,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 820.0039501190186,\r
+        "y": 906.5000157356262,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b6ddeb01.d7f708",\r
+        "id": "bbeb53a3.c2576",\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": 785.7225170135498,\r
-        "y": 1033.6739058494568,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 767.7264232635498,\r
+        "y": 999.673906326294,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "83d0d62b.725028",\r
+        "id": "37a48c20.31bdf4",\r
         "type": "for",\r
         "name": "for loop i - Network 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",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 849.2539215087891,\r
-        "y": 583.50390625,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 831.2578277587891,\r
+        "y": 549.5039067268372,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "4fef64f6.74978c"\r
+                "4c79fd81.204e24"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4fef64f6.74978c",\r
+        "id": "4c79fd81.204e24",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1136.4767990112305,\r
-        "y": 583.7262201309204,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1118.4807052612305,\r
+        "y": 549.7262206077576,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "70539f79.6843b",\r
-                "69460cae.8c8bb4"\r
+                "6ee57e2b.017f1",\r
+                "6d15949f.a4f72c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "70539f79.6843b",\r
+        "id": "6ee57e2b.017f1",\r
         "type": "switchNode",\r
         "name": "switch name",\r
         "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'name'`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1324.698642730713,\r
-        "y": 566.0595242977142,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1306.702548980713,\r
+        "y": 532.0595247745514,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "63c5ecf6.3d2174"\r
+                "3f65f879.eac058"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "69460cae.8c8bb4",\r
+        "id": "6d15949f.a4f72c",\r
         "type": "switchNode",\r
         "name": "switch topology",\r
         "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'topology'`\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1335.5383033752441,\r
-        "y": 606.0595223903656,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1317.5422096252441,\r
+        "y": 572.0595228672028,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "c6e54399.0667f"\r
+                "a2b79be1.ed04c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "63c5ecf6.3d2174",\r
+        "id": "3f65f879.eac058",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1511.698642730713,\r
-        "y": 562.0595242977142,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1493.702548980713,\r
+        "y": 528.0595247745514,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "7b7eb3bd.411e2c"\r
+                "2305c57e.8cca7a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c6e54399.0667f",\r
+        "id": "a2b79be1.ed04c8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1505.5383033752441,\r
-        "y": 602.0595223903656,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1487.5422096252441,\r
+        "y": 568.0595228672028,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             [\r
-                "660aadb7.bbfbd4"\r
+                "4726038d.e1157c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7b7eb3bd.411e2c",\r
+        "id": "2305c57e.8cca7a",\r
         "type": "set",\r
         "name": "set name",\r
         "xml": "<set>\n<parameter name='prop.name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n\n",\r
         "comments": "",\r
-        "x": 1661.69877243042,\r
-        "y": 560.659530878067,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1643.70267868042,\r
+        "y": 526.6595313549042,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "660aadb7.bbfbd4",\r
+        "id": "4726038d.e1157c",\r
         "type": "set",\r
         "name": "set topology",\r
         "xml": "<set>\n<parameter name='prop.topology' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",\r
         "comments": "",\r
-        "x": 1692.8717441558838,\r
-        "y": 600.5206792354584,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 1674.8756504058838,\r
+        "y": 566.5206797122955,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8a6622c.9c3e9e",\r
+        "id": "c012bd48.a280b",\r
         "type": "call",\r
         "name": "call GENERIC-RESOURCE-API:validate-sdwan-vf-vpn-input-parameters",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sdwan-vf-vpn-input-parameters' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 950.5039215087891,\r
-        "y": 173.00390625,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 932.5078277587891,\r
+        "y": 139.00390672683716,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d3e9377a.b7b628",\r
+        "id": "3e34e572.c1fb4a",\r
         "type": "set",\r
         "name": "set vf-module-object-path",\r
-        "xml": "<set>\n<parameter name='vf-module-id' value='`$prop.site-vf-index`' />\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.vpn-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
+        "xml": "<set>\n<parameter name='vf-module-id' value='`$prop.vpn-vf-index`' />\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.vpn-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
         "comments": "",\r
-        "x": 823.5000610351562,\r
-        "y": 846.0312868952751,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 805.5039672851562,\r
+        "y": 812.0312873721123,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4cde94b6.d8700c",\r
+        "id": "370a2393.20ff3c",\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=\"sdwan-vpn\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/sdwan-vpns/sdwan-vpn/' + $prop.vpn-vf-index`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"sdwan-vpn.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vpn-vf-index`\" />\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 838.0001220703125,\r
-        "y": 988.0001564025879,\r
-        "z": "f1f197ca.402af8",\r
+        "x": 820.0040283203125,\r
+        "y": 954.000156879425,\r
+        "z": "4e5f9446.b42e3c",\r
         "wires": [\r
             []\r
         ]\r
     }\r
-]\r
+]
\ No newline at end of file
index f9e12e4..1553f97 100644 (file)
                 <parameter name="field1" value="AFTER BlueprintProcessingClient"/>\r
             </record>\r
             <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">\r
-                <parameter name="source" value="`'raAssign.payload.resource-assignment-params.' + $tmp.vf-module-label`" />\r
+                <parameter name="source" value="`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.vf-module-label`" />\r
                 <parameter name="outputPath" value="jsonContextPrefix" />\r
                 <parameter name="isEscaped" value="false" />\r
             </execute>\r
index cee988d..2834e11 100644 (file)
                 <parameter name="field1" value="AFTER BlueprintProcessingClient"/>\r
             </record>\r
             <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">\r
-                <parameter name="source" value="`'raAssign.payload.resource-assignment-params.' + $tmp.sdnc-artifact-name`" />\r
+                <parameter name="source" value="`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.sdnc-artifact-name`" />\r
                 <parameter name="outputPath" value="jsonContextPrefix" />\r
                 <parameter name="isEscaped" value="false" />\r
             </execute>\r
index eab88b4..fb12ca3 100644 (file)
                 </outcome>\r
                 <outcome value='create'>\r
                     <block atomic="true">\r
+                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
+                            <parameter name="file" value="/opt/opendaylight/current/data/log/svclogic.log"/>\r
+                            <parameter name="field1" value="__TIMESTAMP__"/>\r
+                            <parameter name="field2" value="request-action"/>\r
+                            <parameter name="field3" value='`$vf-module-topology-operation-input.request-information.request-action`'/>\r
+                        </record>\r
                         <switch test='`$vf-module-topology-operation-input.request-information.request-action`'>\r
                             <outcome value='CreateSDWANVpnInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-create' mode='sync' ></call>\r
                             </outcome>\r
-                            <outcome value='CreateSDWANLanPortInstance'>\r
-                                <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-create' mode='sync' ></call>\r
-                            </outcome>\r
                             <outcome value='CreateSiteInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-create' mode='sync' ></call>\r
                             </outcome>\r
                             <outcome value='CreateSDWANDeviceInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-create' mode='sync' ></call>\r
                             </outcome>\r
+                            <outcome value='CreateSDWANLanPortInstance'>\r
+                                <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-create' mode='sync' ></call>\r
+                            </outcome>\r
                             <outcome value='CreateSDWANPortInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-create' mode='sync' ></call>\r
                             </outcome>\r
                             <outcome value='ActivateSDWANVpnInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-activate' mode='sync' ></call>\r
                             </outcome>\r
-                            <outcome value='ActivateSDWANLanPortInstance'>\r
-                                <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-activate' mode='sync' ></call>\r
-                            </outcome>\r
                             <outcome value='ActivateSiteInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-activate' mode='sync' ></call>\r
                             </outcome>\r
                             <outcome value='ActivateSDWANDeviceInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-activate' mode='sync' ></call>\r
                             </outcome>\r
+                            <outcome value='ActivateSDWANLanPortInstance'>\r
+                                <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-activate' mode='sync' ></call>\r
+                            </outcome>\r
                             <outcome value='ActivateSDWANPortInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-activate' mode='sync' ></call>\r
                             </outcome>\r
                             <outcome value='DeactivateSDWANVpnInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-deactivate' mode='sync' ></call>\r
                             </outcome>\r
-                            <outcome value='DeactivateSDWANLanPortInstance'>\r
-                                <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-deactivate' mode='sync' ></call>\r
-                            </outcome>\r
                             <outcome value='DeactivateSiteInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-deactivate' mode='sync' ></call>\r
                             </outcome>\r
                             <outcome value='DeactivateSDWANDeviceInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-deactivate' mode='sync' ></call>\r
                             </outcome>\r
+                            <outcome value='DeactivateSDWANLanPortInstance'>\r
+                                <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-deactivate' mode='sync' ></call>\r
+                            </outcome>\r
                             <outcome value='DeactivateSDWANPortInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-deactivate' mode='sync' ></call>\r
                             </outcome>\r
                             <outcome value='DeleteSDWANVpnInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-vpn-delete' mode='sync' ></call>\r
                             </outcome>\r
-                            <outcome value='DeleteSDWANLanPortInstance'>\r
-                                <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-delete' mode='sync' ></call>\r
-                            </outcome>\r
                             <outcome value='DeleteSiteInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-site-delete' mode='sync' ></call>\r
                             </outcome>\r
                             <outcome value='DeleteSDWANDeviceInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-device-delete' mode='sync' ></call>\r
                             </outcome>\r
+                            <outcome value='DleteSDWANLanPortInstance'>\r
+                                <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-lanport-delete' mode='sync' ></call>\r
+                            </outcome>\r
                             <outcome value='DeleteSDWANPortInstance'>\r
                                 <call module='GENERIC-RESOURCE-API' rpc='sdwan-vf-operation-wanport-delete' mode='sync' ></call>\r
                             </outcome>\r
                         </switch>\r
                     </block>\r
                 </outcome>\r
-                <outcome value='update'>\r
-                    <block atomic="true">\r
-                        <switch test='`$vf-module-topology-operation-input.request-information.request-action`'>\r
-                            <outcome value='SdwanBandwidthChange'>\r
-                                <call module='GENERIC-RESOURCE-API' rpc='sdwan-bandwidth-policy-change' mode='sync' ></call>\r
-                            </outcome>\r
-                        </switch>\r
-                    </block>\r
-                </outcome>\r
                 <outcome value='Other'>\r
                     <return status='failure'>\r
                         <parameter name='ack-final' value='Y'/>\r
index 9b3109d..80df2aa 100644 (file)
@@ -3,6 +3,9 @@
     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
     <method rpc='sdwan-vf-operation-device-create' mode='sync'>\r
         <block atomic="true">\r
+            <set>\r
+                <parameter name='prop.sdncCreate' value='false' />\r
+            </set>\r
             <switch test='`$service-data.vnfs.vnf_length`'>\r
                 <outcome value=''>\r
                     <return status='failure'>\r
                     </outcome>\r
                 </switch>\r
             </for>\r
-            <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\r
+            <switch test='`$vnf-index`'>\r
                 <outcome value=''>\r
-                    <set>\r
-                        <parameter name='vf-index' value='0' />\r
-                    </set>\r
+                    <return status='failure'>\r
+                        <parameter name='ack-final' value='Y'/>\r
+                        <parameter name="error-code" value="500" />\r
+                        <parameter name="error-message" value="vnf id not found in service-data" />\r
+                    </return>\r
                 </outcome>\r
-                <outcome value='Other'>\r
-                    <block>\r
+            </switch>\r
+            <switch test="`$vf-module-topology-operation-input.vf-module-information.vf-module-id`">\r
+                <outcome value=''>\r
+                    <block atomic="true">\r
                         <set>\r
-                            <parameter name='vf-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\r
+                            <parameter name='prop.sdncCreate' value='true' />\r
                         </set>\r
+                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
+                            <parameter name="ctx-destination" value="prop.vf-id"/>\r
+                        </execute>\r
+                        <block atomic="true">\r
+                            <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\r
+                                <outcome value=''>\r
+                                    <set>\r
+                                        <parameter name='vf-index' value='0' />\r
+                                    </set>\r
+                                </outcome>\r
+                                <outcome value='Other'>\r
+                                    <set>\r
+                                        <parameter name='vf-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\r
+                                    </set>\r
+                                </outcome>\r
+                            </switch>\r
+                            <set>\r
+                                <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />\r
+                            </set>\r
+                        </block>\r
+                    </block>\r
+                </outcome>\r
+                <outcome value='Other'>\r
+                    <block atomic="true">\r
+                        <block atomic="true">\r
+                            <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\r
+                                <outcome value=''>\r
+                                    <set>\r
+                                        <parameter name='vf-index' value='0' />\r
+                                    </set>\r
+                                </outcome>\r
+                                <outcome value='Other'>\r
+                                    <set>\r
+                                        <parameter name='vf-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\r
+                                    </set>\r
+                                </outcome>\r
+                            </switch>\r
+                            <set>\r
+                                <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />\r
+                            </set>\r
+                        </block>\r
                         <for index='idx' start='0' end='`$vf-index`' >\r
                             <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`">\r
                                 <outcome value='true'>\r
                                     <return status='failure'>\r
                                         <parameter name='ack-final' value='Y'/>\r
                                         <parameter name="error-code" value="500" />\r
-                                        <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" />\r
+                                        <parameter name="error-message" value="`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\r
+      + ' already exists, and has order status ' + $service-data.vnfs.vnf[$idx].vnf-data.vnf-level-oper-status.order-status`" />\r
                                     </return>\r
                                 </outcome>\r
                             </switch>\r
                         </for>\r
+                        <set>\r
+                            <parameter name='prop.vf-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\r
+                        </set>\r
                     </block>\r
                 </outcome>\r
             </switch>\r
             </set>\r
             <call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-device-param' mode='sync' ></call>\r
             <set>\r
-                <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />\r
-            </set>\r
-            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
-                <parameter name="ctx-destination" value="prop.device-vf-index"/>\r
-            </execute>\r
-            <set>\r
-                <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.device-vf-index`' />\r
+                <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.vf-id`' />\r
                 <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.`' />\r
                 <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.`' />\r
                 <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.`' />\r
                 <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.`' />\r
                 <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.`' />\r
                 <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.`' />\r
-                <!--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.`' /-->\r
-                <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index+1`' />\r
             </set>\r
             <set>\r
+                <parameter name='vf-module-id' value='`$prop.vf-id`'/>\r
                 <parameter name='vf-module-object-path' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/'\r
  + $vf-module-topology-operation-input.service-information.service-instance-id\r
  + '/service-data/vnfs/vnf/'\r
  + $service-data.vnfs.vnf[$vnf-index].vnf-id\r
  + '/vnf-data/vf-modules/vf-module/'\r
- + $prop.device-vf-index\r
+ + $prop.vf-id\r
  + '/vf-module-data/vf-module-topology/'`"/>\r
                 <parameter name='vnf-object-path'\r
  value="`'restconf/config/GENERIC-RESOURCE-API:services/service/'\r
                 <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`' />\r
                 <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`' />\r
             </set>\r
-            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \r
-      key='device.device-id = $prop.device-vf-index' >\r
-                <parameter name='device-id' value='`$prop.device-vf-index`' />\r
-                <parameter name='esn' value='`$prop.device.esn`' />\r
-                <parameter name='device-name' value='`$prop.device.name`' />\r
-                <parameter name='description' value='`$prop.device.description`' />\r
-                <parameter name='vendor' value='`$prop.device.vendor`' />\r
-                <parameter name='class' value='`$prop.device.class`' />\r
-                <parameter name='type' value='`$prop.device.deviceModel`' />\r
-                <parameter name='version' value='`$prop.device.version`' />\r
-                <parameter name='system-ip' value='`$prop.device.systemIp`' />\r
-                <parameter name='operational-status' value='Created' />\r
-                <parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\r
-                <parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\r
-                <parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\r
-                <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/'` " />\r
-            </save>\r
+            <switch test='`$prop.sdncCreate`'>\r
+                <outcome value='true'>\r
+                    <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \r
+      key='device.device-id = $prop.vf-id' >\r
+                        <parameter name='device-id' value='`$prop.vf-id`' />\r
+                        <parameter name='esn' value='`$prop.device.esn`' />\r
+                        <parameter name='device-name' value='`$prop.device.name`' />\r
+                        <parameter name='description' value='`$prop.device.description`' />\r
+                        <parameter name='vendor' value='`$prop.device.vendor`' />\r
+                        <parameter name='class' value='`$prop.device.class`' />\r
+                        <parameter name='type' value='`$prop.device.deviceModel`' />\r
+                        <parameter name='version' value='`$prop.device.version`' />\r
+                        <parameter name='system-ip' value='`$prop.device.systemIp`' />\r
+                        <parameter name='operational-status' value='Created' />\r
+                        <!--parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' /><parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' /><parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' /-->\r
+                        <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/'` " />\r
+                    </save>\r
+                </outcome>\r
+                <outcome value='false'>\r
+                    <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \r
+      key='device.device-id = $prop.vf-id' >\r
+                        <parameter name='device-id' value='`$prop.vf-id`' />\r
+                        <parameter name='esn' value='`$prop.device.esn`' />\r
+                        <parameter name='device-name' value='`$prop.device.name`' />\r
+                        <parameter name='description' value='`$prop.device.description`' />\r
+                        <parameter name='vendor' value='`$prop.device.vendor`' />\r
+                        <parameter name='class' value='`$prop.device.class`' />\r
+                        <parameter name='type' value='`$prop.device.deviceModel`' />\r
+                        <parameter name='version' value='`$prop.device.version`' />\r
+                        <parameter name='system-ip' value='`$prop.device.systemIp`' />\r
+                        <parameter name='operational-status' value='Created' />\r
+                        <parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\r
+                        <parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\r
+                        <parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\r
+                        <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/'` " />\r
+                    </update>\r
+                </outcome>\r
+            </switch>\r
             <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list' \r
       key='generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \r
       force="true" pfx="tmp.AnAI-data">\r
                 <parameter name="relationship-list.relationship[0].related-to" value="device" />\r
-                <parameter name="relationship-list.relationship[0].related-link" value="`'/network/devices/device/' + $prop.device-vf-index`" />\r
+                <parameter name="relationship-list.relationship[0].related-link" value="`'/network/devices/device/' + $prop.vf-id`" />\r
                 <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="device.device-id" />\r
-                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.device-vf-index`" />\r
+                <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.vf-id`" />\r
             </save>\r
             <return status='success'>\r
                 <parameter name="ack-final-indicator" value="Y" />\r
index 3e5e8d9..02a816b 100644 (file)
@@ -98,7 +98,7 @@
                 <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index+1`' />\r
             </set>\r
             <set>\r
-                <parameter name='vf-module-id' value='`$prop.site-vf-index`' />\r
+                <parameter name='vf-module-id' value='`$prop.vpn-vf-index`' />\r
                 <parameter name='vf-module-object-path' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/'\r
  + $vf-module-topology-operation-input.service-information.service-instance-id\r
  + '/service-data/vnfs/vnf/'\r
                 <parameter name='sdwan-vpn-name' value='`$prop.name`' />\r
                 <parameter name='topology' value='`$prop.topology`' />\r
                 <parameter name='operational-status' value='Created' />\r
-                <parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' /><parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' /><parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' >\r
+                <parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\r
+                <parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\r
+                <parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\r
                 <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.vpn-vf-index + '/vf-module-data/'` " />\r
             </save>\r
             <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list' \r
             </return>\r
         </block>\r
     </method>\r
-</service-logic>\r
+</service-logic>
\ No newline at end of file
index aeb7b29..47efea1 100644 (file)
                                     </includes>
                                     <filtering>true</filtering>
                                 </resource>
+                                <resource>
+                                    <directory>src/main/multipartfile</directory>
+                                    <includes>
+                                        <include>**/*.*</include>
+                                    </includes>
+                                    <filtering>true</filtering>
+                                </resource>
                             </resources>
                         </configuration>
                     </execution>
diff --git a/platform-logic/restapi-templates/src/main/multipartfile/README.md b/platform-logic/restapi-templates/src/main/multipartfile/README.md
new file mode 100644 (file)
index 0000000..454d373
--- /dev/null
@@ -0,0 +1,3 @@
+This source folder contains multi part form data files used as part of RestApiCallNode plugin usage by DGs.
+
+