Fixed SDWAN bandwidth change issue 88/87988/1
authorshashikanth.vh <shashikanth.vh@huawei.com>
Fri, 17 May 2019 12:43:31 +0000 (12:43 +0000)
committershashikanth.vh <shashikanth.vh@huawei.com>
Fri, 17 May 2019 12:43:39 +0000 (12:43 +0000)
1. update svc-action not handle in vf-module-topology-operation DG
causing bandwidth change failure.
2.sdwan-bandwidth-policy-change node link to get ESR missing so could not get controller IP
3.Update code to send request based on IPMode

Change-Id: I837f98c9199ddb34644e8c5af1679598ac123fc4
Issue-ID: SDNC-767
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
Former-commit-id: e151fc707c1426e2c8563726a8b396de0e0b65c9

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-bandwidth-policy-change.json
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-bandwidth-policy-change.xml

index d13570c..f85ff1a 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "60f8bdf7.1ecdb4",\r
+        "id": "7f94573d.1aa9b8",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 153,\r
-        "y": 59.413658142089844,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 110,\r
+        "y": 57.413658142089844,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "443d0508.99432c"\r
+                "53bfc824.9a76c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "443d0508.99432c",\r
+        "id": "53bfc824.9a76c8",\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": 266.28570556640625,\r
-        "y": 99.65176963806152,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 223.28570556640625,\r
+        "y": 97.65176963806152,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "eb94899e.b6b1a8"\r
+                "73e2a9e7.337db8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eb94899e.b6b1a8",\r
+        "id": "73e2a9e7.337db8",\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": 240.42862701416016,\r
-        "y": 139.41365242004395,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 197.42862701416016,\r
+        "y": 137.41365242004395,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "d840e5a2.3f7788"\r
+                "71975c08.e015c4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e2dfb49b.0a0018",\r
+        "id": "f37eed7c.56eaf8",\r
         "type": "comment",\r
         "name": "vf-module-topology-operation",\r
         "info": "",\r
         "comments": "",\r
-        "x": 470.34483337402344,\r
-        "y": 42,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 427.34483337402344,\r
+        "y": 40,\r
+        "z": "493735c0.a952fc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d840e5a2.3f7788",\r
+        "id": "71975c08.e015c4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 222.50003814697266,\r
-        "y": 378.77383041381836,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 179.50003814697266,\r
+        "y": 376.77383041381836,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "82c3b371.373ab",\r
-                "45744240.a8fecc",\r
-                "af8762d1.2370a"\r
+                "c09887fc.d299f8",\r
+                "4926b9f5.ab5c7",\r
+                "f89252a4.af5fa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "82c3b371.373ab",\r
+        "id": "c09887fc.d299f8",\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": 508.0000305175781,\r
-        "y": 552.27121925354,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 465.0000305175781,\r
+        "y": 550.27121925354,\r
+        "z": "493735c0.a952fc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "45744240.a8fecc",\r
+        "id": "4926b9f5.ab5c7",\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": 518.9046401977539,\r
-        "y": 376.9850549697876,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 475.9046401977539,\r
+        "y": 374.9850549697876,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "400fbd10.304f54",\r
-                "b423bb62.fc6a38",\r
-                "d0eb7f3.388888",\r
-                "5337ec3d.0febd4",\r
-                "37531078.1941c",\r
-                "1af62602.8b12ba",\r
-                "dcf909ef.aba7f8",\r
-                "c5e2d1b7.6be4b"\r
+                "7d5db9d9.ad0e38",\r
+                "3bd4270d.a241e",\r
+                "c98ec688.2f486",\r
+                "1b25ba4e.75c82e",\r
+                "4d85225d.72c3cc",\r
+                "3ef68b65.7a1b4c",\r
+                "60b28642.cd3218",\r
+                "2e12e4fa.1580b4",\r
+                "b99c1f3f.e6afb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "400fbd10.304f54",\r
+        "id": "7d5db9d9.ad0e38",\r
         "type": "outcome",\r
         "name": "assign",\r
         "xml": "<outcome value='assign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 728.3809204101562,\r
-        "y": 267.2708921432495,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 685.3809204101562,\r
+        "y": 265.2708921432495,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "826f3bce.8ed388"\r
+                "965ae23f.9fa918"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b423bb62.fc6a38",\r
+        "id": "3bd4270d.a241e",\r
         "type": "outcome",\r
         "name": "unassign",\r
         "xml": "<outcome value='unassign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 736.761905670166,\r
-        "y": 413.4615840911865,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 693.761905670166,\r
+        "y": 411.4615840911865,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "671070dd.51814"\r
+                "5bd2b2dc.3bca44"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d0eb7f3.388888",\r
+        "id": "c98ec688.2f486",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 676.4762802124023,\r
-        "y": 1643.9851942062378,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 597.4762573242188,\r
+        "y": 1826.9852294921875,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "cae0cae7.d054f8"\r
+                "733f298.51afc58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cae0cae7.d054f8",\r
+        "id": "733f298.51afc58",\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": 870.6667060852051,\r
-        "y": 1643.9852628707886,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 791.6666831970215,\r
+        "y": 1826.9852981567383,\r
+        "z": "493735c0.a952fc",\r
         "wires": []\r
     },\r
     {\r
-        "id": "af8762d1.2370a",\r
+        "id": "f89252a4.af5fa",\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": 638.0832824707031,\r
-        "y": 216.79471492767334,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 595.0832824707031,\r
+        "y": 214.79471492767334,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "826f3bce.8ed388",\r
+        "id": "965ae23f.9fa918",\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": 1100.523754119873,\r
-        "y": 266.84235668182373,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1057.523754119873,\r
+        "y": 264.84235668182373,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8b23074e.0b6df8",\r
+        "id": "1324ee03.e7df4a",\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": 1112.5237121582031,\r
-        "y": 363.5089998245239,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1069.5237121582031,\r
+        "y": 361.5089998245239,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "671070dd.51814",\r
+        "id": "5bd2b2dc.3bca44",\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": 1106.8569831848145,\r
-        "y": 413.17571926116943,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1063.8569831848145,\r
+        "y": 411.17571926116943,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2a162b8d.203e04",\r
+        "id": "4a3a38c7.8c78b",\r
         "type": "outcome",\r
         "name": "deactivate",\r
         "xml": "<outcome value='deactivate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 740.8569984436035,\r
-        "y": 364.17567348480225,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 697.8569984436035,\r
+        "y": 362.17567348480225,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "8b23074e.0b6df8"\r
+                "1324ee03.e7df4a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5337ec3d.0febd4",\r
+        "id": "1b25ba4e.75c82e",\r
         "type": "outcome",\r
         "name": "changeassign",\r
         "xml": "<outcome value='changeassign'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 751.3333206176758,\r
-        "y": 461.08031368255615,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 708.3333206176758,\r
+        "y": 459.08031368255615,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "5fccb04e.7aca4"\r
+                "321153c2.713aac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5fccb04e.7aca4",\r
+        "id": "321153c2.713aac",\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": 1120.4283905029297,\r
-        "y": 460.7944498062134,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1077.4283905029297,\r
+        "y": 458.7944498062134,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "37531078.1941c",\r
+        "id": "4d85225d.72c3cc",\r
         "type": "outcome",\r
         "name": "create",\r
         "xml": "<outcome value='create'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 737,\r
-        "y": 659.4136581420898,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 694,\r
+        "y": 657.4136581420898,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "3ae69b6c.fc6664"\r
+                "a8c66c29.fddec8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cb85e946.697488",\r
+        "id": "fc31a6f4.807ee8",\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": 975.3336029052734,\r
-        "y": 667.0000213086605,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 932.3336029052734,\r
+        "y": 665.0000213086605,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "e1f46c8f.0f8ef",\r
-                "6d091724.521778",\r
-                "cd73a097.4d141",\r
-                "9c2f6ea9.9f71",\r
-                "32e42e81.923742",\r
-                "bb150aac.372ef8"\r
+                "354f981.3fa2f68",\r
+                "8a95b3a4.ddc598",\r
+                "4d9a6033.5edfa8",\r
+                "864be42d.6bad08",\r
+                "b387cf37.df8cc",\r
+                "e0078c0f.b00658"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6d091724.521778",\r
+        "id": "8a95b3a4.ddc598",\r
         "type": "outcome",\r
         "name": "CreateSDWANSiteInstance",\r
         "xml": "<outcome value='CreateSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1265.8099212646484,\r
-        "y": 575.4793901443481,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1222.8099212646484,\r
+        "y": 573.4793901443481,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "61f9f776.74e028"\r
+                "683f2801.170988"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e1f46c8f.0f8ef",\r
+        "id": "354f981.3fa2f68",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1175.7143859863281,\r
-        "y": 750.8572845458984,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1132.7143859863281,\r
+        "y": 748.8572845458984,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "e7075778.492688"\r
+                "b57a7e92.19b9a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3ae69b6c.fc6664",\r
+        "id": "a8c66c29.fddec8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 923.3335189819336,\r
-        "y": 587.0000228881836,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 880.3335189819336,\r
+        "y": 585.0000228881836,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "cb85e946.697488",\r
-                "56c1945d.3e8c8c"\r
+                "fc31a6f4.807ee8",\r
+                "47960a97.91ab8c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "61f9f776.74e028",\r
+        "id": "683f2801.170988",\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": 1689.3337936401367,\r
-        "y": 574.0001664161682,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1646.3337936401367,\r
+        "y": 572.0001664161682,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e7075778.492688",\r
+        "id": "b57a7e92.19b9a",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1329.0000381469727,\r
-        "y": 750.9136810302734,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1286.0000381469727,\r
+        "y": 748.9136810302734,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "cd73a097.4d141",\r
+        "id": "4d9a6033.5edfa8",\r
         "type": "outcome",\r
         "name": "CreateSDWANPortInstance",\r
         "xml": "<outcome value='CreateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1239.6667785644531,\r
-        "y": 709.2471752166748,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1196.6667785644531,\r
+        "y": 707.2471752166748,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "5c17a60.656ff5c"\r
+                "f12da86a.70ee18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5c17a60.656ff5c",\r
+        "id": "f12da86a.70ee18",\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": 1712.1904754638672,\r
-        "y": 708.7679271697998,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1669.1904754638672,\r
+        "y": 706.7679271697998,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9c2f6ea9.9f71",\r
+        "id": "864be42d.6bad08",\r
         "type": "outcome",\r
         "name": "CreateSDWANDeviceInstance",\r
         "xml": "<outcome value='CreateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1248.0311012268066,\r
-        "y": 629.4451355934143,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1205.0311012268066,\r
+        "y": 627.4451355934143,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "eea9f4ee.a0af98"\r
+                "50e37058.feb9b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eea9f4ee.a0af98",\r
+        "id": "50e37058.feb9b",\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": 1703.554889678955,\r
-        "y": 628.9660048484802,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1660.554889678955,\r
+        "y": 626.9660048484802,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "32e42e81.923742",\r
+        "id": "b387cf37.df8cc",\r
         "type": "outcome",\r
         "name": "CreateSDWANVpnInstance",\r
         "xml": "<outcome value='CreateSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1278.0000190734863,\r
-        "y": 528.4137101173401,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1235.0000190734863,\r
+        "y": 526.4137101173401,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "28c101e9.f0aa4e"\r
+                "965ad1aa.2d9608"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "28c101e9.f0aa4e",\r
+        "id": "965ad1aa.2d9608",\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": 1686.5237922668457,\r
-        "y": 525.9344773292542,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1643.5237922668457,\r
+        "y": 523.9344773292542,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1af62602.8b12ba",\r
+        "id": "3ef68b65.7a1b4c",\r
         "type": "outcome",\r
         "name": "activate",\r
         "xml": "<outcome value='activate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 727,\r
-        "y": 854.7469711303711,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 684,\r
+        "y": 852.7469711303711,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "c0bc6360.1bcc6"\r
+                "661b6cec.852cdc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "75a4368f.b06cb8",\r
+        "id": "544c0912.e1e7",\r
         "type": "outcome",\r
         "name": "ActivateSDWANSiteInstance",\r
         "xml": "<outcome value='ActivateSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1257.143051147461,\r
-        "y": 857.6459245681763,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1214.143051147461,\r
+        "y": 855.6459245681763,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "a304d42c.96b1a8"\r
+                "17e60c84.8e005b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c0bc6360.1bcc6",\r
+        "id": "661b6cec.852cdc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 907.6667709350586,\r
-        "y": 850.1666479110718,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 864.6667709350586,\r
+        "y": 848.1666479110718,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "37ab676.385ac98"\r
+                "d64d4fe2.5b9a28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a304d42c.96b1a8",\r
+        "id": "17e60c84.8e005b",\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": 1669.6669387817383,\r
-        "y": 851.1667070388794,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1626.6669387817383,\r
+        "y": 849.1667070388794,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "1cc762ff.e3018d",\r
+        "id": "3bf3bf04.d083f8",\r
         "type": "outcome",\r
         "name": "ActivateSDWANDeviceInstance",\r
         "xml": "<outcome value='ActivateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1246.3334884643555,\r
-        "y": 903.6667132377625,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1203.3334884643555,\r
+        "y": 901.6667132377625,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "16f3b753.49c909"\r
+                "6245ee1b.e1d3c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "16f3b753.49c909",\r
+        "id": "6245ee1b.e1d3c",\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": 1681.8571853637695,\r
-        "y": 903.1874856948853,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1638.8571853637695,\r
+        "y": 901.1874856948853,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4032b094.cc8d9",\r
+        "id": "a7ddf2b7.d5012",\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": 1680.3333129882812,\r
-        "y": 988.6666674613953,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1637.3333129882812,\r
+        "y": 986.6666674613953,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "fab9a958.f65228",\r
+        "id": "4afd22ac.e5ea1c",\r
         "type": "outcome",\r
         "name": "ActivateSDWANPortInstance",\r
         "xml": "<outcome value='ActivateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1244.8096160888672,\r
-        "y": 989.1458950042725,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1201.8096160888672,\r
+        "y": 987.1458950042725,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "4032b094.cc8d9"\r
+                "a7ddf2b7.d5012"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37ab676.385ac98",\r
+        "id": "d64d4fe2.5b9a28",\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": 984,\r
-        "y": 916.7469711303711,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 941,\r
+        "y": 914.7469711303711,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "75a4368f.b06cb8",\r
-                "1cc762ff.e3018d",\r
-                "fab9a958.f65228",\r
-                "a8fd2164.39975",\r
-                "5e8479ea.a8f1a8",\r
-                "38b66458.dc919c"\r
+                "544c0912.e1e7",\r
+                "3bf3bf04.d083f8",\r
+                "4afd22ac.e5ea1c",\r
+                "66a81340.923bf4",\r
+                "66dc453c.fc1e54",\r
+                "6317efef.fce608"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a8fd2164.39975",\r
+        "id": "66a81340.923bf4",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1176.5714797973633,\r
-        "y": 1037.9584803581238,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1133.5714797973633,\r
+        "y": 1035.9584803581238,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "596d0c66.ce00c4"\r
+                "598c0313.5471bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5e8479ea.a8f1a8",\r
+        "id": "66dc453c.fc1e54",\r
         "type": "outcome",\r
         "name": "ActivateSDWANVpnInstance",\r
         "xml": "<outcome value='ActivateSDWANVpnInstance'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1260,\r
-        "y": 812.7469711303711,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1217,\r
+        "y": 810.7469711303711,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "75b93508.0a740c"\r
+                "21aac5f2.3ee152"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "75b93508.0a740c",\r
+        "id": "21aac5f2.3ee152",\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": 1675.5238037109375,\r
-        "y": 806.2677478790283,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1632.5238037109375,\r
+        "y": 804.2677478790283,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "dcf909ef.aba7f8",\r
+        "id": "60b28642.cd3218",\r
         "type": "outcome",\r
         "name": "deactivate",\r
         "xml": "<outcome value='deactivate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 710.9999923706055,\r
-        "y": 1140.747064113617,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 667.9999923706055,\r
+        "y": 1138.747064113617,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "ddecd7f6.9ecef8"\r
+                "c83f7131.ad7d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fa2b90a6.ddc62",\r
+        "id": "494e3a53.b269cc",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANSiteInstance",\r
         "xml": "<outcome value='DeactivateSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1249.1431121826172,\r
-        "y": 1140.6460342407227,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1206.1431121826172,\r
+        "y": 1138.6460342407227,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "d468a55.f677158"\r
+                "6783e95d.0fc418"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ddecd7f6.9ecef8",\r
+        "id": "c83f7131.ad7d",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 891.6667633056641,\r
-        "y": 1136.1667408943176,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 848.6667633056641,\r
+        "y": 1134.1667408943176,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "e10a09ee.1e0d18"\r
+                "854cfeba.5c1998"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d468a55.f677158",\r
+        "id": "6783e95d.0fc418",\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": 1666.666877746582,\r
-        "y": 1142.1667709350586,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1623.666877746582,\r
+        "y": 1140.1667709350586,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b5211acb.613d58",\r
+        "id": "5a56c8ff.fdd22",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANDeviceInstance",\r
         "xml": "<outcome value='DeactivateSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1230.333480834961,\r
-        "y": 1189.6668062210083,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1187.333480834961,\r
+        "y": 1187.6668062210083,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "b45a3e18.c78af"\r
+                "5670491c.f974d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b45a3e18.c78af",\r
+        "id": "5670491c.f974d",\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": 1665.857177734375,\r
-        "y": 1189.187578678131,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1622.857177734375,\r
+        "y": 1187.187578678131,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6f5baedc.d1b98",\r
+        "id": "37d4bd75.8979ea",\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": 1663.3333892822266,\r
-        "y": 1267.6667804718018,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1620.3333892822266,\r
+        "y": 1265.6667804718018,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "78ae2747.e70608",\r
+        "id": "66db4ece.f7fd6",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANPortInstance",\r
         "xml": "<outcome value='DeactivateSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1227.8096923828125,\r
-        "y": 1268.146008014679,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1184.8096923828125,\r
+        "y": 1266.146008014679,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "6f5baedc.d1b98"\r
+                "37d4bd75.8979ea"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e10a09ee.1e0d18",\r
+        "id": "854cfeba.5c1998",\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": 967.9999923706055,\r
-        "y": 1202.747064113617,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 924.9999923706055,\r
+        "y": 1200.747064113617,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "fa2b90a6.ddc62",\r
-                "b5211acb.613d58",\r
-                "78ae2747.e70608",\r
-                "f85122c3.f22fe",\r
-                "d175e790.8c0a68",\r
-                "e6ce30bc.2212e"\r
+                "494e3a53.b269cc",\r
+                "5a56c8ff.fdd22",\r
+                "66db4ece.f7fd6",\r
+                "c3ff1e72.3d8938",\r
+                "5aa69599.5bf6d4",\r
+                "b2250aab.0c69d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f85122c3.f22fe",\r
+        "id": "c3ff1e72.3d8938",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1163.5714263916016,\r
-        "y": 1317.9585704803467,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1120.5714263916016,\r
+        "y": 1315.9585704803467,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "27b59f76.ee972"\r
+                "3b62d3d9.f8eab4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d175e790.8c0a68",\r
+        "id": "5aa69599.5bf6d4",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANVpnInstance",\r
         "xml": "<outcome value='DeactivateSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1243.9999923706055,\r
-        "y": 1098.747064113617,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1200.9999923706055,\r
+        "y": 1096.747064113617,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "4dcb10ca.91b76"\r
+                "6252df01.3597a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4dcb10ca.91b76",\r
+        "id": "6252df01.3597a",\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": 1659.523796081543,\r
-        "y": 1092.2678408622742,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1616.523796081543,\r
+        "y": 1090.2678408622742,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "27b59f76.ee972",\r
+        "id": "3b62d3d9.f8eab4",\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": 1502.0001068115234,\r
-        "y": 1318.4137811660767,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1459.0001068115234,\r
+        "y": 1316.4137811660767,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "596d0c66.ce00c4",\r
+        "id": "598c0313.5471bc",\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": 1506.9999923706055,\r
-        "y": 1035.4136900901794,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1463.9999923706055,\r
+        "y": 1033.4136900901794,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8c5c47e5.7d7ac8",\r
+        "id": "14afa7be.e27dc8",\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": 1104.99995803833,\r
-        "y": 314.41364574432373,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1061.99995803833,\r
+        "y": 312.41364574432373,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "92267a8e.9c90e8",\r
+        "id": "54e2eced.ad10ac",\r
         "type": "outcome",\r
         "name": "activate",\r
         "xml": "<outcome value='activate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 732.999942779541,\r
-        "y": 315.0803232192993,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 689.999942779541,\r
+        "y": 313.0803232192993,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "8c5c47e5.7d7ac8"\r
+                "14afa7be.e27dc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c5e2d1b7.6be4b",\r
+        "id": "2e12e4fa.1580b4",\r
         "type": "outcome",\r
         "name": "delete",\r
         "xml": "<outcome value='delete'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 674.0000381469727,\r
-        "y": 1486.0803928375244,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 631.0000381469727,\r
+        "y": 1484.0803928375244,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "efa2965.8f0dc68"\r
+                "33a7ef53.e934b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "44d29826.e75ef8",\r
+        "id": "ad2402bf.1c98f8",\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": 913.3335571289062,\r
-        "y": 1486.6667594909668,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 870.3335571289062,\r
+        "y": 1484.6667594909668,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "b28c13f1.1d076",\r
-                "e39671f.04a299",\r
-                "bff79d49.ee60c",\r
-                "2a96734d.12075c",\r
-                "c0a6c4b4.41fcd8",\r
-                "ca85561c.80bf88"\r
+                "faba584.b26f228",\r
+                "5b627b00.db32b4",\r
+                "5681133e.5cc914",\r
+                "218e055.5ef2a7a",\r
+                "63c6c514.9c1dbc",\r
+                "f4308b39.a2e5b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e39671f.04a299",\r
+        "id": "5b627b00.db32b4",\r
         "type": "outcome",\r
         "name": "DeleteSDWANSiteInstance",\r
         "xml": "<outcome value='DeleteSDWANSiteInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1198.8101043701172,\r
-        "y": 1420.146159172058,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1155.8101043701172,\r
+        "y": 1418.146159172058,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "c68b80f6.353d3"\r
+                "e5e26c94.b2c39"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b28c13f1.1d076",\r
+        "id": "faba584.b26f228",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1112.7144241333008,\r
-        "y": 1577.524019241333,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1069.7144241333008,\r
+        "y": 1575.524019241333,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "ddab3c2b.d8382"\r
+                "d9cc9704.5b361"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "efa2965.8f0dc68",\r
+        "id": "33a7ef53.e934b",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 860.3335571289062,\r
-        "y": 1413.6667575836182,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 817.3335571289062,\r
+        "y": 1411.6667575836182,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "44d29826.e75ef8"\r
+                "ad2402bf.1c98f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c68b80f6.353d3",\r
+        "id": "e5e26c94.b2c39",\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": 1602.3337173461914,\r
-        "y": 1415.667004108429,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1559.3337173461914,\r
+        "y": 1413.667004108429,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ddab3c2b.d8382",\r
+        "id": "d9cc9704.5b361",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1266.0000762939453,\r
-        "y": 1577.580415725708,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1223.0000762939453,\r
+        "y": 1575.580415725708,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "bff79d49.ee60c",\r
+        "id": "5681133e.5cc914",\r
         "type": "outcome",\r
         "name": "DeleteSDWANPortInstance",\r
         "xml": "<outcome value='DeleteSDWANPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1176.6668167114258,\r
-        "y": 1535.9139099121094,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1133.6668167114258,\r
+        "y": 1533.9139099121094,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "337fe6a3.136d9a"\r
+                "fa693b23.6d7988"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "337fe6a3.136d9a",\r
+        "id": "fa693b23.6d7988",\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": 1649.1905136108398,\r
-        "y": 1535.4346618652344,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1606.1905136108398,\r
+        "y": 1533.4346618652344,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2a96734d.12075c",\r
+        "id": "218e055.5ef2a7a",\r
         "type": "outcome",\r
         "name": "DeleteSDWANDeviceInstance",\r
         "xml": "<outcome value='DeleteSDWANDeviceInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1201.0312118530273,\r
-        "y": 1459.1117978096008,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1158.0312118530273,\r
+        "y": 1457.1117978096008,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "b031ab54.0032d8"\r
+                "5a1a4f39.b559a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b031ab54.0032d8",\r
+        "id": "5a1a4f39.b559a8",\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": 1615.555030822754,\r
-        "y": 1454.6327023506165,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1572.555030822754,\r
+        "y": 1452.6327023506165,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c0a6c4b4.41fcd8",\r
+        "id": "63c6c514.9c1dbc",\r
         "type": "outcome",\r
         "name": "DeleteSDWANVpnInstance",\r
         "xml": "<outcome value='DeleteSDWANVpnInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1205.0000686645508,\r
-        "y": 1379.080410003662,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1162.0000686645508,\r
+        "y": 1377.080410003662,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "b82dcb91.bd0a48"\r
+                "651c4a0c.4cbb5c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b82dcb91.bd0a48",\r
+        "id": "651c4a0c.4cbb5c",\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": 1598.5238723754883,\r
-        "y": 1379.6011776924133,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1555.5238723754883,\r
+        "y": 1377.6011776924133,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "56c1945d.3e8c8c",\r
+        "id": "47960a97.91ab8c",\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": 1064.75,\r
-        "y": 536.0039075314999,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1021.75,\r
+        "y": 534.0039075314999,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "bb150aac.372ef8",\r
+        "id": "e0078c0f.b00658",\r
         "type": "outcome",\r
         "name": "CreateSDWANLanPortInstance",\r
         "xml": "<outcome value='CreateSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1241.7434997558594,\r
-        "y": 670.2539086341858,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1198.7434997558594,\r
+        "y": 668.2539086341858,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "afa9c085.4aa7a"\r
+                "4cf5d326.e70d2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "afa9c085.4aa7a",\r
+        "id": "4cf5d326.e70d2c",\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": 1714.2671966552734,\r
-        "y": 669.7746605873108,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1671.2671966552734,\r
+        "y": 667.7746605873108,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "38b66458.dc919c",\r
+        "id": "6317efef.fce608",\r
         "type": "outcome",\r
         "name": "ActivateSDWANLanPortInstance",\r
         "xml": "<outcome value='ActivateSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1253.7434997558594,\r
-        "y": 947.5039086341858,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1210.7434997558594,\r
+        "y": 945.5039086341858,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "807c782f.46b268"\r
+                "ad2dda1f.42803"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "807c782f.46b268",\r
+        "id": "ad2dda1f.42803",\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": 1671.2671508789062,\r
-        "y": 947.024670124054,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1628.2671508789062,\r
+        "y": 945.024670124054,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e6ce30bc.2212e",\r
+        "id": "b2250aab.0c69d8",\r
         "type": "outcome",\r
         "name": "DeactivateSDWANLanPortInstance",\r
         "xml": "<outcome value='DeactivateSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1239.7434997558594,\r
-        "y": 1233.7539086341858,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1196.7434997558594,\r
+        "y": 1231.7539086341858,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "226ea68a.974c4a"\r
+                "f7cfaeb8.3fd438"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "226ea68a.974c4a",\r
+        "id": "f7cfaeb8.3fd438",\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": 1657.2671508789062,\r
-        "y": 1233.274670124054,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1614.2671508789062,\r
+        "y": 1231.274670124054,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ca85561c.80bf88",\r
+        "id": "f4308b39.a2e5b",\r
         "type": "outcome",\r
         "name": "DeleteSDWANLanPortInstance",\r
         "xml": "<outcome value='DeleteSDWANLanPortInstance'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1203.7434997558594,\r
-        "y": 1496.7539086341858,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1160.7434997558594,\r
+        "y": 1494.7539086341858,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             [\r
-                "372e65c0.54946a"\r
+                "98ff9895.6aef48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "372e65c0.54946a",\r
+        "id": "98ff9895.6aef48",\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": 1621.2671508789062,\r
-        "y": 1496.274670124054,\r
-        "z": "a72b1b1f.95ba58",\r
+        "x": 1578.2671508789062,\r
+        "y": 1494.274670124054,\r
+        "z": "493735c0.a952fc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b99c1f3f.e6afb",\r
+        "type": "outcome",\r
+        "name": "update",\r
+        "xml": "<outcome value='update'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 602,\r
+        "y": 1623,\r
+        "z": "493735c0.a952fc",\r
+        "wires": [\r
+            [\r
+                "c6d60a18.353d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6d60a18.353d58",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 776.33349609375,\r
+        "y": 1627.5864868164062,\r
+        "z": "493735c0.a952fc",\r
+        "wires": [\r
+            [\r
+                "ee329c14.143048"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee329c14.143048",\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": 932.33349609375,\r
+        "y": 1697.5864868164062,\r
+        "z": "493735c0.a952fc",\r
+        "wires": [\r
+            [\r
+                "342f4246.9d954e",\r
+                "8235fd9d.7ee738"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "342f4246.9d954e",\r
+        "type": "outcome",\r
+        "name": "SdwanBandwidthChange",\r
+        "xml": "<outcome value='SdwanBandwidthChange'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1170.9999771118164,\r
+        "y": 1653.0001201629639,\r
+        "z": "493735c0.a952fc",\r
+        "wires": [\r
+            [\r
+                "5223bfb2.d63e18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5223bfb2.d63e18",\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": 1564.523780822754,\r
+        "y": 1653.520887851715,\r
+        "z": "493735c0.a952fc",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8235fd9d.7ee738",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1096.7143325805664,\r
+        "y": 1726.4437236785889,\r
+        "z": "493735c0.a952fc",\r
+        "wires": [\r
+            [\r
+                "668547c7.be02a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "668547c7.be02a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1249.999984741211,\r
+        "y": 1726.5001201629639,\r
+        "z": "493735c0.a952fc",\r
         "wires": [\r
             []\r
         ]\r
index f9f7a42..df3c74f 100644 (file)
@@ -1,36 +1,36 @@
 [\r
     {\r
-        "id": "2f944e3f.133922",\r
+        "id": "9a049bb3.4cc658",\r
         "type": "method",\r
         "name": "method sdwan-bandwidth-policy-change",\r
         "xml": "<method rpc='sdwan-bandwidth-policy-change' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 228,\r
-        "y": 177.58634185791016,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 224.56666564941406,\r
+        "y": 188.98631858825684,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "ab448c0a.7a72d"\r
+                "68698faf.6a5e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c5904683.1a03e8",\r
+        "id": "a7d83b15.019fd8",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 117,\r
-        "y": 32.00000190734863,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 113.56666564941406,\r
+        "y": 43.39997863769531,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "6bc6460b.0fa818"\r
+                "643409a4.699f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6bc6460b.0fa818",\r
+        "id": "643409a4.699f8",\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": 216.28570556640625,\r
-        "y": 83.23810958862305,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 212.8523712158203,\r
+        "y": 94.63808631896973,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "2f944e3f.133922"\r
+                "9a049bb3.4cc658"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ab448c0a.7a72d",\r
+        "id": "68698faf.6a5e4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 176.6666717529297,\r
-        "y": 459.6667175292969,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 173.23333740234375,\r
+        "y": 471.06669425964355,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "12f15f6d.9827f1",\r
-                "fe00d9f.b56fd28",\r
-                "6684c99a.7427e8",\r
-                "2af6c94c.af19e6",\r
-                "e293366.5ca59c8",\r
-                "ed22f7f1.ec7288",\r
-                "1a81feba.045cb1",\r
-                "565469d0.7320a8",\r
-                "6d629a7b.45bc64",\r
-                "a9a5c4dd.f02338",\r
-                "b2fc342f.6c0b68",\r
-                "23f3a49a.a36dac",\r
-                "325ec5e8.8f682a",\r
-                "fb6cf9c5.202108",\r
-                "df7c0c81.e6dd8",\r
-                "95135039.a60aa",\r
-                "e76d9029.37f13",\r
-                "55e5acbf.fe5b24",\r
-                "bf167ea6.f9992",\r
-                "89ecf7ea.f65c78"\r
+                "5e98bf05.e67a08",\r
+                "dfba78b2.cf5278",\r
+                "647253ac.fc0934",\r
+                "87568bca.067338",\r
+                "5fd7672d.efd348",\r
+                "8f8f069f.d3b5f",\r
+                "45255c46.056ca4",\r
+                "aaf4a45e.8000f",\r
+                "5a004830.6f6608",\r
+                "34c4a2e.64014de",\r
+                "1e6767eb.165f58",\r
+                "4fea1987.fd6de8",\r
+                "9a1087dc.7cf728",\r
+                "ce9e8fbf.c64eb8",\r
+                "46021ece.1d213",\r
+                "c5a35f5.403d42",\r
+                "72a6e071.e177a8",\r
+                "3576832.1dfbb7c",\r
+                "ae8b2331.d9b508",\r
+                "83f66961.dd8d88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fe00d9f.b56fd28",\r
+        "id": "dfba78b2.cf5278",\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": 554.0313873291016,\r
-        "y": 257.26914978027344,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 550.5980529785156,\r
+        "y": 268.6691265106201,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "12817250.a42a3e"\r
+                "beb36a8c.fea37"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12f15f6d.9827f1",\r
+        "id": "5e98bf05.e67a08",\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": 565.0000190734863,\r
-        "y": 196.00001049041748,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 561.5666847229004,\r
+        "y": 207.39998722076416,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "b500c350.6e3d9"\r
+                "e784f8c3.fd2c88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b500c350.6e3d9",\r
+        "id": "e784f8c3.fd2c88",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 745,\r
-        "y": 195,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 741.5666656494141,\r
+        "y": 206.39997673034668,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "805afe4f.d6084"\r
+                "84d8c37.44581c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "805afe4f.d6084",\r
+        "id": "84d8c37.44581c",\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.vnf-request-input.vnf-id not found in service-data\" />\n",\r
         "comments": "",\r
-        "x": 894.4287261962891,\r
-        "y": 196.14291763305664,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 890.9953918457031,\r
+        "y": 207.54289436340332,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "12817250.a42a3e",\r
+        "id": "beb36a8c.fea37",\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": 783.0000152587891,\r
-        "y": 258.00000619888306,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 779.5666809082031,\r
+        "y": 269.39998292922974,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "b6a1534.58369b"\r
+                "19f2cbd5.f4d47c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b6a1534.58369b",\r
+        "id": "19f2cbd5.f4d47c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 998,\r
-        "y": 256,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 994.5666656494141,\r
+        "y": 267.3999767303467,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "3bca8e45.080102"\r
+                "242d7471.1e0fcc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3bca8e45.080102",\r
+        "id": "242d7471.1e0fcc",\r
         "type": "set",\r
         "name": "set vnf-index",\r
         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
         "comments": "",\r
-        "x": 1162,\r
-        "y": 251,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1158.566665649414,\r
+        "y": 262.3999767303467,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6684c99a.7427e8",\r
+        "id": "647253ac.fc0934",\r
         "type": "set",\r
         "name": "set prop.siteAttachement_length=0",\r
         "xml": "<set>\n<parameter name='prop.siteAttachements_length' value='0' />\n<parameter name='prop.siteIds_length' value='0' />\n\n\n\n",\r
         "comments": "",\r
-        "x": 586.2857360839844,\r
-        "y": 573.3333435058594,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 601.8524169921875,\r
+        "y": 498.7333679199219,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2af6c94c.af19e6",\r
+        "id": "87568bca.067338",\r
         "type": "for",\r
         "name": "for vf-modules.vf-module_length",\r
         "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 581.0312652587891,\r
-        "y": 725.531270980835,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 596.597900390625,\r
+        "y": 547.9312744140625,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "27cc261.a1c4eda"\r
+                "3ffd0e51.14068a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "27cc261.a1c4eda",\r
+        "id": "3ffd0e51.14068a",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 741.0312728881836,\r
-        "y": 802.5312714576721,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 806.5979614257812,\r
+        "y": 548.9312744140625,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "25c1741b.71156c",\r
-                "f476b4c1.90d488",\r
-                "38661728.f30148"\r
+                "d522cd79.ad3f4",\r
+                "2b00a206.372fbe",\r
+                "9f0c831.34326"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "25c1741b.71156c",\r
+        "id": "d522cd79.ad3f4",\r
         "type": "switchNode",\r
         "name": "switch ActivateSDWANDeviceInstance",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1036.0000305175781,\r
-        "y": 726.0000219345093,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1091.5667190551758,\r
+        "y": 550.4000248908997,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "d5c6abe5.2055e8"\r
+                "ad861bc9.52b23"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d5c6abe5.2055e8",\r
+        "id": "ad861bc9.52b23",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1257.999870300293,\r
-        "y": 725.000020980835,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1313.5665588378906,\r
+        "y": 549.4000239372253,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "2cf625ba.b60eba"\r
+                "92c05fd7.57e9c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2cf625ba.b60eba",\r
+        "id": "92c05fd7.57e9c8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1402.3333740234375,\r
-        "y": 724.0000219345093,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1457.9000625610352,\r
+        "y": 548.4000248908997,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "139b09d6.445b26"\r
+                "cb432e4a.4b0de8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "139b09d6.445b26",\r
+        "id": "cb432e4a.4b0de8",\r
         "type": "for",\r
         "name": "for loop didx - Get deviceId from servicedata",\r
         "xml": "<for index=\"didx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1665.3334197998047,\r
-        "y": 765.9999008178711,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1721.900146484375,\r
+        "y": 550.39990234375,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "21359c3d.902a24"\r
+                "c6c5951b.d1cc6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21359c3d.902a24",\r
+        "id": "c6c5951b.d1cc6",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1594.6663208007812,\r
-        "y": 849.6666679382324,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1651.2330474853516,\r
+        "y": 634.0666694641113,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "b1f8674.56f5f98"\r
+                "dd4c1251.6b9dc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b1f8674.56f5f98",\r
+        "id": "dd4c1251.6b9dc",\r
         "type": "switchNode",\r
         "name": "switch name (DeviceName)",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$didx].name == 'name'`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1799.3342399597168,\r
-        "y": 858.0001764297485,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1855.900966644287,\r
+        "y": 642.4001779556274,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "708fccb5.daf804"\r
+                "a54c7fdf.cf7748"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "708fccb5.daf804",\r
+        "id": "a54c7fdf.cf7748",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2022.3346977233887,\r
-        "y": 839.0002365112305,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2078.901424407959,\r
+        "y": 623.4002380371094,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "eb8a8320.4a5de"\r
+                "e01920aa.1d3f78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eb8a8320.4a5de",\r
+        "id": "e01920aa.1d3f78",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1760.6675491333008,\r
-        "y": 940.0002403259277,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1817.234275817871,\r
+        "y": 724.4002418518066,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "f39deed1.3e3c"\r
+                "491ad5e7.d88bf4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f39deed1.3e3c",\r
+        "id": "491ad5e7.d88bf4",\r
         "type": "switchNode",\r
         "name": "switch deviceName match",\r
         "xml": "<switch test=\"`$prop.wan.deviceName == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$didx].value`\">\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1966.3342742919922,\r
-        "y": 941.0003042221069,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2022.9010009765625,\r
+        "y": 725.4003057479858,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "bb4cb546.fc5c48"\r
+                "80098fd9.d10308"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bb4cb546.fc5c48",\r
+        "id": "80098fd9.d10308",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1735.668342590332,\r
-        "y": 1007.0003929138184,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1792.2350692749023,\r
+        "y": 791.4003944396973,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "f77de57f.61b768"\r
+                "408c0e84.0ebe98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f77de57f.61b768",\r
+        "id": "408c0e84.0ebe98",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1885.0003128051758,\r
-        "y": 1012.0001487731934,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1941.567039489746,\r
+        "y": 796.4001502990723,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "93f703bf.f8f44",\r
-                "a140338b.f48e2",\r
-                "a367096a.4c3508"\r
+                "cda76362.f26248",\r
+                "c8c067f4.7b7878",\r
+                "278adaa9.823dce"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "93f703bf.f8f44",\r
+        "id": "cda76362.f26248",\r
         "type": "for",\r
         "name": "for loop deviceidx - Get deviceId from servicedata",\r
         "xml": "<for index=\"deviceidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2156.197494506836,\r
-        "y": 983.0313453674316,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2212.7642211914062,\r
+        "y": 767.4313468933105,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "16b92c49.0550e4"\r
+                "ef90e6fe.b8472"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a140338b.f48e2",\r
+        "id": "c8c067f4.7b7878",\r
         "type": "set",\r
         "name": "set tmp.devicevidx",\r
         "xml": "<set>\n<parameter name='tmp.devicevidx' value='`$vfidx`' />\n\n",\r
         "comments": "",\r
-        "x": 2073.9994049072266,\r
-        "y": 1023.0001039505005,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2130.566131591797,\r
+        "y": 807.4001054763794,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "16b92c49.0550e4",\r
+        "id": "ef90e6fe.b8472",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2321.1983489990234,\r
-        "y": 1035.0314292907715,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2377.7650756835938,\r
+        "y": 819.4314308166504,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "2c030d38.c88f02",\r
-                "27a33e60.c61c12"\r
+                "290b2bde.04b43c",\r
+                "19aa1fcf.94cd28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2c030d38.c88f02",\r
+        "id": "290b2bde.04b43c",\r
         "type": "switchNode",\r
         "name": "switch deviceId",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2336.6680221557617,\r
-        "y": 1077.6669998168945,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2393.234748840332,\r
+        "y": 862.0670013427734,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "cfe51c42.c396a"\r
+                "c140599c.4a564"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c2afdbf0.691fd8",\r
+        "id": "b918da97.d41cb",\r
         "type": "comment",\r
         "name": "Get deviceId from device resource created for this service",\r
         "info": "",\r
         "comments": "",\r
-        "x": 2164.333366394043,\r
-        "y": 908.3332514762878,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2220.9000930786133,\r
+        "y": 692.7332530021667,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cfe51c42.c396a",\r
+        "id": "c140599c.4a564",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2489.6683921813965,\r
-        "y": 1078.6670770645142,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2546.235118865967,\r
+        "y": 863.0670785903931,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "c26a319e.7f774"\r
+                "3da2b7b6.0edbe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c26a319e.7f774",\r
+        "id": "3da2b7b6.0edbe",\r
         "type": "set",\r
         "name": "set prop.wan.deviceId",\r
         "xml": "<set>\n<parameter name='prop.wan.deviceId' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].value`' />\n",\r
         "comments": "",\r
-        "x": 2658.6689987182617,\r
-        "y": 1077.2671117782593,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2715.235725402832,\r
+        "y": 861.6671133041382,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f476b4c1.90d488",\r
+        "id": "2b00a206.372fbe",\r
         "type": "switchNode",\r
         "name": "switch ActivateSiteInstance",\r
-        "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSiteInstance'`\">\n\n    \n\n",\r
+        "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`\">\n\n    \n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 989.6666870117188,\r
-        "y": 786.666690826416,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1045.2333755493164,\r
+        "y": 611.0666937828064,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "b3e07a22.de09f8"\r
+                "5764d81.58e5728"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b3e07a22.de09f8",\r
+        "id": "5764d81.58e5728",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1183.666862487793,\r
-        "y": 785.6667108535767,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1239.2335510253906,\r
+        "y": 610.066713809967,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "b9aff3fc.b88e"\r
+                "dc9d979a.5f2cd"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b9aff3fc.b88e",\r
+        "id": "dc9d979a.5f2cd",\r
         "type": "set",\r
         "name": "set tmp.siteVidx",\r
         "xml": "<set>\n<parameter name='tmp.siteVidx' value='`$vfidx`' />\n<parameter name='ctx.site.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].`' />",\r
         "comments": "",\r
-        "x": 1346.6662979125977,\r
-        "y": 782.666711807251,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1402.2329864501953,\r
+        "y": 607.0667147636414,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "55e5acbf.fe5b24",\r
+        "id": "9a1087dc.7cf728",\r
         "type": "switchNode",\r
         "name": "switch tmp.wanPortVidx",\r
         "xml": "<switch test=\"`$tmp.wanPortVidx`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 567.0002365112305,\r
-        "y": 842.0002207756042,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 554.56689453125,\r
+        "y": 643.4001770019531,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "51af758e.d4a8ec"\r
+                "8b1ad78e.657ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bf167ea6.f9992",\r
+        "id": "ce9e8fbf.c64eb8",\r
         "type": "switchNode",\r
         "name": "switch tmp.siteVidx",\r
         "xml": "<switch test=\"`$tmp.siteVidx`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 551.984489440918,\r
-        "y": 886.9965887069702,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 539.5511474609375,\r
+        "y": 688.3965449333191,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "d0596a3e.d0abe8"\r
+                "3a404df0.e435ea"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "89ecf7ea.f65c78",\r
+        "id": "46021ece.1d213",\r
         "type": "switchNode",\r
         "name": "switch tmp.devicevidx",\r
         "xml": "<switch test=\"`$tmp.devicevidx`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 563.651237487793,\r
-        "y": 931.9965581893921,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 551.2178955078125,\r
+        "y": 733.396514415741,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "46e578eb.e7f2e8"\r
+                "17a08f2e.392ab1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "46e578eb.e7f2e8",\r
+        "id": "17a08f2e.392ab1",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 742.0798377990723,\r
-        "y": 932.5679111480713,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 729.6464958190918,\r
+        "y": 733.9678673744202,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "7c5cc100.4ca9a"\r
+                "9de45a58.c4c508"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d0596a3e.d0abe8",\r
+        "id": "3a404df0.e435ea",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 735.4131698608398,\r
-        "y": 885.5678281784058,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 722.9798278808594,\r
+        "y": 686.9677844047546,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "c0c0caa4.6e3d18"\r
+                "762e1a6d.f87714"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "51af758e.d4a8ec",\r
+        "id": "8b1ad78e.657ac",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 737.4289398193359,\r
-        "y": 844.5715956687927,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 724.9955978393555,\r
+        "y": 645.9715518951416,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "c3788885.5a3728"\r
+                "37d9bd3f.0a7402"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c3788885.5a3728",\r
+        "id": "37d9bd3f.0a7402",\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=\"ActivateSDWANPortInstance not found in service-data\" />\n",\r
         "comments": "",\r
-        "x": 878.8580017089844,\r
-        "y": 844.7145147323608,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 866.4246597290039,\r
+        "y": 646.1144709587097,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c0c0caa4.6e3d18",\r
+        "id": "762e1a6d.f87714",\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=\"ActivateSiteInstance not found in service-data\" />\n",\r
         "comments": "",\r
-        "x": 879.8421325683594,\r
-        "y": 885.710732460022,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 867.4087905883789,\r
+        "y": 687.1106886863708,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7c5cc100.4ca9a",\r
+        "id": "9de45a58.c4c508",\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=\"ActivateSDWANDeviceInstance not found in service-data\" />\n",\r
         "comments": "",\r
-        "x": 888.508623123169,\r
-        "y": 931.7109107971191,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 876.0752811431885,\r
+        "y": 733.110867023468,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e293366.5ca59c8",\r
+        "id": "5fd7672d.efd348",\r
         "type": "for",\r
         "name": "for loop sidx - Get siteId from servicedata",\r
         "xml": "<for index=\"sidx\" start=\"0\" end=\"`$ctx.site.vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`\">\n    \n    \n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 628,\r
-        "y": 996.0000038146973,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 615.5666580200195,\r
+        "y": 797.3999600410461,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "42f26061.cc632"\r
+                "57a9a39a.d4fa04"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "42f26061.cc632",\r
+        "id": "57a9a39a.d4fa04",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 890.0101928710938,\r
-        "y": 996.6768283843994,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 877.5768508911133,\r
+        "y": 798.0767846107483,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "cb46a81.d18b858"\r
+                "757fc61f.93222"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cb46a81.d18b858",\r
+        "id": "757fc61f.93222",\r
         "type": "switchNode",\r
         "name": "switch siteId",\r
         "xml": "<switch test=\"`$ctx.site.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$sidx].name == 'siteId'`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1059.0003280639648,\r
-        "y": 997.0001344680786,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1046.5669860839844,\r
+        "y": 798.4000906944275,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "a653a5d0.84bc78"\r
+                "6950422c.cbd75c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a653a5d0.84bc78",\r
+        "id": "6950422c.cbd75c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1197.0007858276367,\r
-        "y": 995.0001192092896,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1184.5674438476562,\r
+        "y": 796.4000754356384,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "53153bf4.922eb4"\r
+                "e425faf5.c4ed2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "53153bf4.922eb4",\r
+        "id": "e425faf5.c4ed2",\r
         "type": "set",\r
         "name": "set prop.wan.siteId",\r
         "xml": "<set>\n<parameter name='prop.wan.siteId' value='`$ctx.site.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$sidx].value`' />\n\n\n",\r
         "comments": "",\r
-        "x": 1361.000820159912,\r
-        "y": 996.5999727249146,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1348.5674781799316,\r
+        "y": 797.9999289512634,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7b2acf1d.5d2c4",\r
+        "id": "72a6e071.e177a8",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Get token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 611,\r
-        "y": 1169.3333778381348,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 598.5666580200195,\r
+        "y": 970.7333340644836,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "1d80bee.50bc541",\r
-                "eb5f900d.dda61"\r
+                "3e8b4780.c3e7b",\r
+                "87683e31.3531e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "56ffc8fe.295058",\r
+        "id": "c5a35f5.403d42",\r
         "type": "get-resource",\r
         "name": "get-resource esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = SDWANController AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 597.0617713928223,\r
-        "y": 1086.2122583389282,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 584.6284294128418,\r
+        "y": 887.6122145652771,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "2d46ac01.fa3384",\r
-                "c3235371.70f16",\r
-                "11a49df.fe69062"\r
+                "e08ebeb2.23c9c8",\r
+                "dad13825.dc1af8",\r
+                "161968de.f90387"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2d46ac01.fa3384",\r
+        "id": "e08ebeb2.23c9c8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 832.0618362426758,\r
-        "y": 1050.212275505066,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 819.6284942626953,\r
+        "y": 851.6122317314148,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "ec636fec.ea999"\r
+                "e9266da5.edf4d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c3235371.70f16",\r
+        "id": "dad13825.dc1af8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 834.5527191162109,\r
-        "y": 1085.7863121032715,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 822.1193771362305,\r
+        "y": 887.1862683296204,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "1b1255b3.3b49aa"\r
+                "4d64dd3e.65fe1c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11a49df.fe69062",\r
+        "id": "161968de.f90387",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 829.8857269287109,\r
-        "y": 1122.11967086792,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 817.4523849487305,\r
+        "y": 923.5196270942688,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "5e1f1c91.441454"\r
+                "14fd878.e55fbf9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1b1255b3.3b49aa",\r
+        "id": "4d64dd3e.65fe1c",\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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 980.1241149902344,\r
-        "y": 1084.0719995498657,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 967.6907730102539,\r
+        "y": 885.4719557762146,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ec636fec.ea999",\r
+        "id": "e9266da5.edf4d",\r
         "type": "set",\r
         "name": "set controller data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",\r
         "comments": "",\r
-        "x": 992.5619468688965,\r
-        "y": 1048.212215423584,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 980.128604888916,\r
+        "y": 849.6121716499329,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1d80bee.50bc541",\r
+        "id": "3e8b4780.c3e7b",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 846.0001258850098,\r
-        "y": 1155.333366394043,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 833.5667839050293,\r
+        "y": 956.7333226203918,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "f4c3c5fd.2e8218"\r
+                "fa15d12b.8abbb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eb5f900d.dda61",\r
+        "id": "87683e31.3531e8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 845.2501258850098,\r
-        "y": 1190.9762735366821,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 832.8167839050293,\r
+        "y": 992.376229763031,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "e10df217.332b2"\r
+                "8a7885ae.8c3fd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e10df217.332b2",\r
+        "id": "8a7885ae.8c3fd8",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing get token rest api\" />\n",\r
         "comments": "",\r
-        "x": 994.0001335144043,\r
-        "y": 1191.7263555526733,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 981.5667915344238,\r
+        "y": 993.1263117790222,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f4c3c5fd.2e8218",\r
+        "id": "fa15d12b.8abbb",\r
         "type": "set",\r
         "name": "set token-id",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
         "comments": "",\r
-        "x": 988.0001335144043,\r
-        "y": 1154.3333673477173,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 975.5667915344238,\r
+        "y": 955.7333235740662,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ed22f7f1.ec7288",\r
+        "id": "c4f29b01.377588",\r
         "type": "set",\r
         "name": "set prop.tenant-id",\r
         "xml": "<set>\n<parameter name='prop.tenant-id' value='d9511b64-61ae-446e-96a1-6adbff09582c' />\n",\r
         "comments": "",\r
-        "x": 552.9999847412109,\r
-        "y": 1214.6250553131104,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 540.5666427612305,\r
+        "y": 1016.0250115394592,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fb6cf9c5.202108",\r
+        "id": "4374ec20.cd7fb4",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create tenant auth",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v2/baseservice/tenants/authorization/' + $prop.tenant-id`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"tenant-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 634.9999961853027,\r
-        "y": 1256.6249332427979,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 622.5666542053223,\r
+        "y": 1058.0248894691467,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5e1f1c91.441454",\r
+        "id": "14fd878.e55fbf9",\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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 983.6582183837891,\r
-        "y": 1119.5587577819824,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 971.2248764038086,\r
+        "y": 920.9587140083313,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b2fc342f.6c0b68",\r
+        "id": "aaf4a45e.8000f",\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": 496,\r
-        "y": 1733.999966621399,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 499.5666923522949,\r
+        "y": 1616.3999853134155,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "be4cbaa5.a17bc8",\r
+        "id": "e1db3a67.9d3d88",\r
         "type": "set",\r
         "name": "set prop.wan.transportNetworkId",\r
         "xml": "<set>\n<parameter name='prop.wan.transportNetworkId' value='`$transportNetworksResp.data.transportNetworks[$tidx].id`' />\n",\r
         "comments": "",\r
-        "x": 1450.656608581543,\r
-        "y": 1367.6559944152832,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1441.223258972168,\r
+        "y": 1218.0559792518616,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a3594760.3045f8",\r
+        "id": "d4c498b3.d479b",\r
         "type": "switchNode",\r
         "name": "switch transportNetworkName same",\r
         "xml": "<switch test=\"`$transportNetworksResp.data.transportNetworks[$tidx].name == $prop.wan.transportNetworkName`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1030.666259765625,\r
-        "y": 1368.3323431015015,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1021.23291015625,\r
+        "y": 1218.7323279380798,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "2217267e.e3931a"\r
+                "a695536e.3aae48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2217267e.e3931a",\r
+        "id": "a695536e.3aae48",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1243.6657104492188,\r
-        "y": 1368.3322610855103,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1234.2323608398438,\r
+        "y": 1218.7322459220886,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "be4cbaa5.a17bc8"\r
+                "e1db3a67.9d3d88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ab99bc56.03a1f",\r
+        "id": "3ea2c186.a3bafe",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 817.6660118103027,\r
-        "y": 1368.9990720748901,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 808.2326622009277,\r
+        "y": 1219.3990569114685,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "a3594760.3045f8"\r
+                "d4c498b3.d479b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "95135039.a60aa",\r
+        "id": "4fea1987.fd6de8",\r
         "type": "for",\r
         "name": "for loop tidx - Get transportNetwork ID",\r
         "xml": "<for index=\"tidx\" start=\"0\" end=\"`$transportNetworksResp.data.transportNetworks_length`\">\n    \n    \n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 593.6655960083008,\r
-        "y": 1368.9987926483154,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 584.2322463989258,\r
+        "y": 1219.3987774848938,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "ab99bc56.03a1f"\r
+                "3ea2c186.a3bafe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bc190905.6bdb08",\r
+        "id": "efdcb038.cc7768",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1095.6652336120605,\r
-        "y": 1324.6654443740845,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1086.2318840026855,\r
+        "y": 1175.0654292106628,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ce813dcf.485f7",\r
+        "id": "7c7050b2.5e82f8",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Get transport network info rest api\" />\n",\r
         "comments": "",\r
-        "x": 1084.66548538208,\r
-        "y": 1280.6654481887817,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1075.232135772705,\r
+        "y": 1131.06543302536,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ee008d39.43008",\r
+        "id": "a758bd40.1d94d",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 942.665153503418,\r
-        "y": 1281.6654481887817,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 933.231803894043,\r
+        "y": 1132.06543302536,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "ce813dcf.485f7"\r
+                "7c7050b2.5e82f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "719fe2a2.cae46c",\r
+        "id": "2520e9c0.37b516",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 938.6652297973633,\r
-        "y": 1325.6657705307007,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 929.2318801879883,\r
+        "y": 1176.065755367279,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "bc190905.6bdb08"\r
+                "efdcb038.cc7768"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "df7c0c81.e6dd8",\r
+        "id": "1e6767eb.165f58",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode get transport network info",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/network-orchestration-resources'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"transportNetworksResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 650.6655883789062,\r
-        "y": 1330.6659331321716,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 641.2322387695312,\r
+        "y": 1181.06591796875,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "719fe2a2.cae46c",\r
-                "ee008d39.43008"\r
+                "2520e9c0.37b516",\r
+                "a758bd40.1d94d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a9a5c4dd.f02338",\r
+        "id": "5862d24a.2961c4",\r
         "type": "save",\r
         "name": "save sdwan vpn bandwidth configuration in AAI",\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='bandwidth-history' \n      key='sdwan-bandwidth-policy-id = $prop.bandwidth.bandwidth-policyId' >\n<parameter name=\"sdwan-bandwidth-policy-id\" value=\"`$prop.bandwidth.bandwidth-policyId`\" />\n<parameter name=\"sdwan-bandwidth-policy-name\" value=\"`$prop.bandwidth.bandwidth-policyId`\" />\n<parameter name=\"bandwidth-value\" value=\"`$prop.wan.inputBandwidth`\" />\n<parameter name=\"bandwidth-change-time\" value=\"`$prop.wan.bandwidth-change-time`\" />\n<parameter name=\"vpn-id\" value=\"`$prop.bandwidth.vpnId`\" />\n<!--parameter name='model-customization-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' /-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 599.7565498352051,\r
-        "y": 1688.3282527923584,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 603.3232421875,\r
+        "y": 1570.728271484375,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "9a0d6126.e5e05",\r
-                "7f8d367f.2cb258"\r
+                "d5941ab4.54903",\r
+                "f5f1e715.54f9b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "565469d0.7320a8",\r
+        "id": "45255c46.056ca4",\r
         "type": "for",\r
         "name": "for loop bwidx -input-parameters",\r
         "xml": "<for index=\"bwidx\" 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": 568.0937576293945,\r
-        "y": 1508.6650838851929,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 572.6604423522949,\r
+        "y": 1381.065131187439,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "fe4d7e03.7b0c7"\r
+                "4ac42fe3.4e6828"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fe4d7e03.7b0c7",\r
+        "id": "4ac42fe3.4e6828",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 804.0945892333984,\r
-        "y": 1507.665246963501,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 808.6612739562988,\r
+        "y": 1380.065294265747,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "7f4a05af.27429c",\r
-                "67d8e067.207d7"\r
+                "6913905f.eaac88",\r
+                "106821b2.664aee"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7f4a05af.27429c",\r
+        "id": "6913905f.eaac88",\r
         "type": "switchNode",\r
         "name": "switch bandwidth",\r
         "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].name == 'bandwidth'`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 990.563835144043,\r
-        "y": 1504.3006629943848,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 995.1305198669434,\r
+        "y": 1376.7007102966309,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "27845d4d.df4892"\r
+                "267718b3.35416"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "27845d4d.df4892",\r
+        "id": "267718b3.35416",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1156.5641689300537,\r
-        "y": 1501.3008270263672,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1161.130853652954,\r
+        "y": 1373.7008743286133,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "7318bc58.3a78f4"\r
+                "8eef17cf.1cf068"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7318bc58.3a78f4",\r
+        "id": "8eef17cf.1cf068",\r
         "type": "set",\r
         "name": "set prop.wan.inputBandwidth & outputBandwidth",\r
         "xml": "<set>\n<parameter name='prop.wan.inputBandwidth' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].value`' />\n<parameter name='prop.wan.outputBandwidth' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].value`' />\n",\r
         "comments": "",\r
-        "x": 1419.564826965332,\r
-        "y": 1499.9009237289429,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1424.1315116882324,\r
+        "y": 1372.300971031189,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "67d8e067.207d7",\r
+        "id": "106821b2.664aee",\r
         "type": "switchNode",\r
         "name": "switch bandwidth",\r
         "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].name == 'bandwidth-change-time'`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 993.3692321777344,\r
-        "y": 1542.3316974639893,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 997.9359169006348,\r
+        "y": 1414.7317447662354,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "d3e4fb8e.757688"\r
+                "b5bd2ffc.b730a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d3e4fb8e.757688",\r
+        "id": "b5bd2ffc.b730a8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1159.3695659637451,\r
-        "y": 1539.3318614959717,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1163.9362506866455,\r
+        "y": 1411.7319087982178,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "dad668dd.f97bc8"\r
+                "8a7a213b.3c97e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dad668dd.f97bc8",\r
+        "id": "8a7a213b.3c97e8",\r
         "type": "set",\r
         "name": "set prop.wan.bandwidth-change-time",\r
         "xml": "<set>\n<parameter name='prop.wan.bandwidth-change-time' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].value`' />\n\n",\r
         "comments": "",\r
-        "x": 1393.370246887207,\r
-        "y": 1537.9320068359375,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1397.9369316101074,\r
+        "y": 1410.3320541381836,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9a0d6126.e5e05",\r
+        "id": "d5941ab4.54903",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 863.0359802246094,\r
-        "y": 1664.9988250732422,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 866.6026725769043,\r
+        "y": 1547.3988437652588,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "2fb60b95.3ca614"\r
+                "c9155d20.3eb07"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7f8d367f.2cb258",\r
+        "id": "f5f1e715.54f9b8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 858.0359802246094,\r
-        "y": 1698.9988269805908,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 861.6026725769043,\r
+        "y": 1581.3988456726074,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "9bc825b2.9d6228"\r
+                "e2622fc0.5939a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2fb60b95.3ca614",\r
+        "id": "c9155d20.3eb07",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1015.0359840393066,\r
-        "y": 1661.9988255500793,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1018.6026763916016,\r
+        "y": 1544.398844242096,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6d629a7b.45bc64",\r
+        "id": "3c5dd58c.8a71c2",\r
         "type": "execute",\r
         "name": "execute generate-vnf-index",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.bandwidth.bandwidth-policyId\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 540.1652374267578,\r
-        "y": 1647.998661994934,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 543.7319297790527,\r
+        "y": 1530.3986806869507,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9bc825b2.9d6228",\r
+        "id": "e2622fc0.5939a8",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"Falied to add AAI bandwidth history record\" />\n",\r
         "comments": "",\r
-        "x": 1007.1652164459229,\r
-        "y": 1698.9988269805908,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1010.7319087982178,\r
+        "y": 1581.3988456726074,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d4773b75.f02ff8",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1423.831729888916,\r
-        "y": 1618.6653962135315,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "654cee32.d9b47",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1419.8355903625488,\r
-        "y": 1584.169144153595,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "496f73f1.608cec",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1279.831714630127,\r
-        "y": 1619.6655592918396,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": [\r
-            [\r
-                "d4773b75.f02ff8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "93a36b7f.6e1e08",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1275.831745147705,\r
-        "y": 1585.6654524803162,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": [\r
-            [\r
-                "654cee32.d9b47"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "62263572.725b3c",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode wan port update",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"wanPortResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1012.8321380615234,\r
-        "y": 1594.6657781600952,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": [\r
-            [\r
-                "496f73f1.608cec",\r
-                "93a36b7f.6e1e08"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e76d9029.37f13",\r
-        "type": "switchNode",\r
-        "name": "switch prop.wanPortUpdate null",\r
-        "xml": "<switch test=\"`$prop.wanPortUpdate`\">",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 558.1964721679688,\r
-        "y": 1594.696870803833,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": [\r
-            [\r
-                "125755f3.b6968a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "125755f3.b6968a",\r
-        "type": "outcome",\r
-        "name": "NULL",\r
-        "xml": "<outcome value=''>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 770.1965560913086,\r
-        "y": 1595.1965408325195,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": [\r
-            [\r
-                "62263572.725b3c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1e1aff6a.3deca1",\r
+        "id": "f01e536c.bb0ae",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
         "comments": "",\r
-        "x": 911.6554641723633,\r
-        "y": 1470.9890832901,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 916.2221488952637,\r
+        "y": 1343.3891305923462,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "abee6b5b.1a5908",\r
+        "id": "5f1a4be7.1831d4",\r
         "type": "set",\r
         "name": "set ipAddress prefixLength",\r
         "xml": "<set>\n<parameter name='prop.wan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.wan.prefixLength' value='`$ipandMask[1]`' />",\r
         "comments": "",\r
-        "x": 953.6554718017578,\r
-        "y": 1430.9890804290771,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 958.2221565246582,\r
+        "y": 1303.3891277313232,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "24145b24.9d1724",\r
+        "id": "356c08ca.858ea",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 756.6554565429688,\r
-        "y": 1473.9890842437744,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 761.2221412658691,\r
+        "y": 1346.3891315460205,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "1e1aff6a.3deca1"\r
+                "f01e536c.bb0ae"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "621ae9dc.5f21b8",\r
+        "id": "e29752cc.b1057",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 756.6554527282715,\r
-        "y": 1432.9890804290771,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 761.2221374511719,\r
+        "y": 1305.3891277313232,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "abee6b5b.1a5908"\r
+                "5f1a4be7.1831d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1a81feba.045cb1",\r
+        "id": "8f8f069f.d3b5f",\r
         "type": "execute",\r
         "name": "execute split ip and mask",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.wan.ipAddress`'/>\n<parameter name=\"regex\" value=\"/\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"ipandMask\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 555.6554336547852,\r
-        "y": 1454.989089012146,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 560.2221183776855,\r
+        "y": 1327.389136314392,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "24145b24.9d1724",\r
-                "621ae9dc.5f21b8"\r
+                "356c08ca.858ea",\r
+                "e29752cc.b1057"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "beaaef8c.a4de5",\r
+        "id": "47c6aebc.f1b69",\r
         "type": "comment",\r
         "name": "Create wan port",\r
         "info": "",\r
         "comments": "",\r
-        "x": 519.6653251647949,\r
-        "y": 1407.999002456665,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 524.2320098876953,\r
+        "y": 1280.3990497589111,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c837b6d8.71b3e8",\r
+        "id": "ea46891e.885df8",\r
         "type": "comment",\r
         "name": "TODO: split ip/mask",\r
         "info": "",\r
         "comments": "",\r
-        "x": 943.6651191711426,\r
-        "y": 1393.1692161560059,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 948.231803894043,\r
+        "y": 1265.569263458252,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "aaddefb8.d63d3",\r
+        "id": "8263e11d.eced28",\r
         "type": "comment",\r
         "name": "Get network id",\r
         "info": "",\r
         "comments": "",\r
-        "x": 604.6652145385742,\r
-        "y": 1294.9988594055176,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 595.2318649291992,\r
+        "y": 1145.398844242096,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "38661728.f30148",\r
+        "id": "9f0c831.34326",\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/svclogic111.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"request-action\"/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action`'/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 945.0000343322754,\r
-        "y": 683.0000123977661,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1000.566722869873,\r
+        "y": 507.4000153541565,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "27a33e60.c61c12",\r
+        "id": "19aa1fcf.94cd28",\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/svclogic113.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].name`'/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].value`'/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2473.00008392334,\r
-        "y": 1019.0000581741333,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2529.56681060791,\r
+        "y": 803.4000597000122,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a367096a.4c3508",\r
+        "id": "278adaa9.823dce",\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/svclogic112.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"tmp.devicevidx\"/>\n<parameter name=\"field3\" value='`$tmp.devicevidx`'/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2028.000057220459,\r
-        "y": 1074.0000247955322,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2084.5667839050293,\r
+        "y": 858.4000263214111,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "483c2153.d1795",\r
+        "id": "f68778bd.a5e7e",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1254.4840850830078,\r
-        "y": 485.00001335144043,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1261.050765991211,\r
+        "y": 450.4000053405762,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "600f472e.25ba58"\r
+                "8eebd9f0.5af1d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "abbfdee9.6a6e5",\r
+        "id": "68d0b699.a0397",\r
         "type": "switchNode",\r
         "name": "switch ActivateSDWANPortInstance",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.request-information.request-action == 'ActivateSDWANPortInstance'`\">\n\n    \n    \n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1034.7699279785156,\r
-        "y": 483.5715036392212,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1041.3366088867188,\r
+        "y": 448.97149562835693,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "483c2153.d1795"\r
+                "f68778bd.a5e7e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c4affd66.4dfb2",\r
+        "id": "10208096.b0748f",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 797.9841156005859,\r
-        "y": 484.0000114440918,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 804.5507965087891,\r
+        "y": 449.40000343322754,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "abbfdee9.6a6e5"\r
+                "68d0b699.a0397"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "23f3a49a.a36dac",\r
+        "id": "5a004830.6f6608",\r
         "type": "for",\r
         "name": "for each existing vf-index",\r
         "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 569.4841003417969,\r
-        "y": 477.9999713897705,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 576.05078125,\r
+        "y": 453.39996337890625,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "c4affd66.4dfb2"\r
+                "10208096.b0748f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fbf16bc4.9feaf8",\r
+        "id": "8800c891.1aaf5",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 853.0000228881836,\r
-        "y": 386.222261428833,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 849.5666885375977,\r
+        "y": 397.6222381591797,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "5652c210.116cdc"\r
+                "fa1fe2ce.2a535"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "325ec5e8.8f682a",\r
+        "id": "34c4a2e.64014de",\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": 617,\r
-        "y": 332.2222456638701,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 613.5666656494141,\r
+        "y": 343.6222223942168,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "49412102.9496d",\r
-                "e27deb32.e1e6a8",\r
-                "fbf16bc4.9feaf8"\r
+                "33f1e3b3.90eed4",\r
+                "395a4d10.df2e0a",\r
+                "8800c891.1aaf5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "49412102.9496d",\r
+        "id": "33f1e3b3.90eed4",\r
         "type": "outcome",\r
         "name": "0",\r
         "xml": "<outcome value='0'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 858.4840364456177,\r
-        "y": 303.99997469829395,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 855.0507020950317,\r
+        "y": 315.39995142864063,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "b39cde31.8ce66"\r
+                "bb38fd5b.c750d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e27deb32.e1e6a8",\r
+        "id": "395a4d10.df2e0a",\r
         "type": "other",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 860.5152254104614,\r
-        "y": 341.0312857334502,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 857.0818910598755,\r
+        "y": 352.4312624637969,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "b39cde31.8ce66"\r
+                "bb38fd5b.c750d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b39cde31.8ce66",\r
+        "id": "bb38fd5b.c750d",\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=\"vf-module-operation-input.vf-module-request-input.vf-id not found in service-data\" />\n",\r
         "comments": "",\r
-        "x": 1018.2927408218384,\r
-        "y": 321.92023417400196,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1014.8594064712524,\r
+        "y": 333.32021090434864,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5652c210.116cdc",\r
+        "id": "fa1fe2ce.2a535",\r
         "type": "set",\r
         "name": "set vf-module-length",\r
         "xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",\r
         "comments": "",\r
-        "x": 1038.6666259765625,\r
-        "y": 368,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1035.2332916259766,\r
+        "y": 379.3999767303467,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "600f472e.25ba58",\r
+        "id": "8eebd9f0.5af1d8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1428.0313301086426,\r
-        "y": 462.03124907566234,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1407.5980224609375,\r
+        "y": 449.43121337890625,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "a6912dc8.5986c",\r
-                "2acae3d9.7f09cc",\r
-                "83a5b820.78ba98",\r
-                "b1b5a247.70dba"\r
+                "ad2f75c.b666408",\r
+                "737c6127.28b5f8",\r
+                "e5fe7bc8.c4621",\r
+                "63f7d78f.5a87f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a6912dc8.5986c",\r
+        "id": "ad2f75c.b666408",\r
         "type": "set",\r
         "name": "set tmp.wanPortVidx and ctx.vnf-data",\r
-        "xml": "<set>\n<parameter name='tmp.wanPortVidx' value='`$idx`' />\n<parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\n",\r
+        "xml": "<set>\n<parameter name='tmp.wanPortVidx' value='`$idx`' />\n<parameter name='tmp.vidx' value='`$idx`' />\n<parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\n",\r
         "comments": "",\r
-        "x": 1704.9180221557617,\r
-        "y": 430.37367010116577,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1679.4847412109375,\r
+        "y": 405.7736511230469,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2acae3d9.7f09cc",\r
+        "id": "737c6127.28b5f8",\r
         "type": "set",\r
         "name": "set vf-module-request-input.",\r
         "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",\r
         "comments": "",\r
-        "x": 1677.3642578125,\r
-        "y": 475.0313091278076,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1640.930908203125,\r
+        "y": 451.4312744140625,\r
+        "z": "a5dd4528.5be69",\r
         "wires": []\r
     },\r
     {\r
-        "id": "83a5b820.78ba98",\r
+        "id": "e5fe7bc8.c4621",\r
         "type": "call",\r
         "name": "call sdwan-get-wan-param",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1664.660732269287,\r
-        "y": 523.8709006602876,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1641.2274169921875,\r
+        "y": 500.2708740234375,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "be34f62e.f9bdf8",\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": "63f7d78f.5a87f",\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/svclogic121.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"tmp.wanPortVidx\"/>\n<parameter name=\"field3\" value='`$tmp.wanPortVidx`'/>\n<parameter name=\"field4\" value=\"wan port i/p param len\"/>\n<parameter name=\"field5\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`'/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 463.03125,\r
-        "y": 1964.53125,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1590.5980224609375,\r
+        "y": 361.43121337890625,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
-            [\r
-                "52c232df.5401dc"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "52c232df.5401dc",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
+        "id": "728a8fb2.b98e98",\r
+        "type": "comment",\r
+        "name": "no bandwidth resource in AAI, not required to add",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 837.75,\r
+        "y": 1512.75,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3576832.1dfbb7c",\r
+        "type": "execute",\r
+        "name": "execute Properties",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 699.031268119812,\r
-        "y": 2037.5312375728972,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 565.5,\r
+        "y": 398.75,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae8b2331.d9b508",\r
+        "type": "call",\r
+        "name": "call sdwan-get-tenant-auth",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 565.5,\r
+        "y": 1106.25,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "83f66961.dd8d88",\r
+        "type": "for",\r
+        "name": "for loop idx - VF-module input parameters",\r
+        "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 569.75,\r
+        "y": 1463,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "cadc484c.8b1958"\r
+                "262c400c.36b75"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cadc484c.8b1958",\r
+        "id": "262c400c.36b75",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 843.3883123397827,\r
-        "y": 2037.4677495663054,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 813.6459541320801,\r
+        "y": 1461.9219717979431,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "4c365aae.126754",\r
-                "d7b1d5a0.b2f338",\r
-                "cd28ccaa.a0cb3"\r
+                "736b2f2f.c714a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cd28ccaa.a0cb3",\r
-        "type": "set",\r
-        "name": "set prop.site.deviceId_length",\r
-        "xml": "<set>\n<parameter name='prop.site.deviceId_length' value='0' />\n",\r
-        "comments": "",\r
-        "x": 1065.515284538269,\r
-        "y": 1988.3089876174927,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d7b1d5a0.b2f338",\r
-        "type": "set",\r
-        "name": "set vf-module-length",\r
-        "xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",\r
+        "id": "736b2f2f.c714a",\r
+        "type": "switchNode",\r
+        "name": "switch IPMode",\r
+        "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'IPMode'`\">\n",\r
         "comments": "",\r
-        "x": 1039.086916923523,\r
-        "y": 2024.0868644714355,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 961.7631988525391,\r
+        "y": 1463.8954553604126,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": [\r
+            [\r
+                "e274d175.2bfe3"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "4c365aae.126754",\r
-        "type": "for",\r
-        "name": "for each existing vf-index",\r
-        "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",\r
+        "id": "e274d175.2bfe3",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1052.5152921676636,\r
-        "y": 2060.308978051413,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1109.76318359375,\r
+        "y": 1460.895420074463,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "d0642297.f75c7"\r
+                "93ac81ca.d92568"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d0642297.f75c7",\r
+        "id": "93ac81ca.d92568",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1354.0153493881226,\r
-        "y": 2031.3090119655244,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1266.75,\r
+        "y": 1462.7777709960938,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "1f9b5508.732aeb"\r
+                "6eea0f00.2e929",\r
+                "f7782c28.07206"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1f9b5508.732aeb",\r
+        "id": "6eea0f00.2e929",\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 IPMode Static match",\r
+        "xml": "<switch test=\"`Static == $prop.wan.IPMode`\">\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1484.4169921875,\r
+        "y": 1444.778076171875,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": [\r
+            [\r
+                "eaece4a3.1d5c88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7782c28.07206",\r
+        "type": "switchNode",\r
+        "name": "switch IPMode DHCP match",\r
+        "xml": "<switch test=\"`DHCP == $prop.wan.IPMode`\">\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1484.7501602172852,\r
+        "y": 1500.7780017852783,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": [\r
+            [\r
+                "7472742.b32b58c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7472742.b32b58c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1560.8011465072632,\r
-        "y": 2027.880497932434,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1672.4168395996094,\r
+        "y": 1499.0001697540283,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "199c63ad.ad4b1c"\r
+                "4526059b.1e387c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "199c63ad.ad4b1c",\r
+        "id": "eaece4a3.1d5c88",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1764.5153875350952,\r
-        "y": 2026.3090043361299,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1673.4168434143066,\r
+        "y": 1445.000165939331,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "4cd80296.71966c"\r
+                "80b151f8.e82f1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4cd80296.71966c",\r
+        "id": "80b151f8.e82f1",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1934.8586835861206,\r
-        "y": 2030.3951397235505,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 1839.9128112792969,\r
+        "y": 1412.3334267735481,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             [\r
-                "cab6ed40.1a967",\r
-                "30158b6d.c639f4",\r
-                "a23128b1.823648"\r
+                "f08d9ab2.8ed8e",\r
+                "c873d25a.755608"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cab6ed40.1a967",\r
-        "type": "set",\r
-        "name": "set tmp.vidx and ctx.vnf-data",\r
-        "xml": "<set>\n<parameter name='tmp.vidx' value='`$idx`' />\n<parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\n",\r
+        "id": "4526059b.1e387c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1835.9128112792969,\r
+        "y": 1516.3334267735481,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": [\r
+            [\r
+                "baee4a0f.d707e8",\r
+                "f153c1be.8bc498"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c873d25a.755608",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode wan port create",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port-static.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"wanPortResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
-        "x": 2185.745337486267,\r
-        "y": 2000.7375526428223,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 2101.448211669922,\r
+        "y": 1435.4117959141731,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": [\r
+            [\r
+                "723a7671.6415b",\r
+                "dab4448b.24761"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "30158b6d.c639f4",\r
-        "type": "set",\r
-        "name": "set vf-module-request-input.",\r
-        "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",\r
+        "id": "dab4448b.24761",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
-        "x": 2180.1916341781616,\r
-        "y": 2045.395192652475,\r
-        "z": "fe3a5d18.ca1b6",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 2393.4480361938477,\r
+        "y": 1454.4113025665283,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": [\r
+            [\r
+                "7474d383.13c1a4"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "a23128b1.823648",\r
-        "type": "call",\r
-        "name": "call sdwan-get-wan-param",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",\r
+        "id": "723a7671.6415b",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2171.488085746765,\r
-        "y": 2092.2347913081758,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2391.447956085205,\r
+        "y": 1501.4114656448364,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
-            []\r
+            [\r
+                "cffa333a.efac6"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "b1b5a247.70dba",\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/svclogic121.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"tmp.wanPortVidx\"/>\n<parameter name=\"field3\" value='`$tmp.wanPortVidx`'/>\n<parameter name=\"field4\" value=\"wan port i/p param len\"/>\n<parameter name=\"field5\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`'/>\n",\r
+        "id": "cffa333a.efac6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1615.0313711166382,\r
-        "y": 378.03124713897705,\r
-        "z": "fe3a5d18.ca1b6",\r
+        "x": 2560.4479637145996,\r
+        "y": 1501.411302447319,\r
+        "z": "a5dd4528.5be69",\r
         "wires": [\r
             []\r
         ]\r
+    },\r
+    {\r
+        "id": "7474d383.13c1a4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2553.4517860412598,\r
+        "y": 1452.915044784546,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": [\r
+            [\r
+                "a381f3c1.8fd548"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f08d9ab2.8ed8e",\r
+        "type": "set",\r
+        "name": "set IP params",\r
+        "xml": "<set>\n<parameter name='prop.wan.IpMode' value=\"static\" />\n<parameter name='prop.wan.ipAddress' value='`$prop.wan.ip-address`' />\n<parameter name='prop.route.nextHopType' value=\"ip-address\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 2024.2052917480469,\r
+        "y": 1384.2327187657356,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "baee4a0f.d707e8",\r
+        "type": "set",\r
+        "name": "set IP params",\r
+        "xml": "<set>\n<parameter name='prop.wan.ipAddress' value=\"\" />\n<parameter name='prop.wan.prefixLength' value=\"\" />\n<parameter name='prop.wan.providerIpAddress' value=\"\" />\n<parameter name='prop.wan.IpMode' value=\"DHCP\" />\n<parameter name='prop.route.nextHopType' value=\"outbound-interface\" />\n\n\n\n",\r
+        "comments": "",\r
+        "x": 2021.6669616699219,\r
+        "y": 1498.3334267735481,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f153c1be.8bc498",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode wan port create",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port-dhcp.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"wanPortResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2103.912811279297,\r
+        "y": 1538.3334267735481,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": [\r
+            [\r
+                "dab4448b.24761",\r
+                "723a7671.6415b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a381f3c1.8fd548",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create wan port rest api\" />\n",\r
+        "comments": "",\r
+        "x": 2732.448371887207,\r
+        "y": 1455.411301612854,\r
+        "z": "a5dd4528.5be69",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file
index e2e986f..24863d4 100644 (file)
@@ -1,6 +1,6 @@
 <service-logic\r
-        xmlns='http://www.onap.org/sdnc/svclogic'\r
-        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
+    xmlns='http://www.onap.org/sdnc/svclogic'\r
+    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='vf-module-topology-operation' mode='sync'>\r
         <block atomic="true">\r
             <call module='GENERIC-RESOURCE-API' rpc='validate-vf-module-input' mode='sync' ></call>\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
+                            <outcome value='Other'>\r
+                                <block></block>\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 8653689..3774e0c 100644 (file)
                     </set>\r
                 </outcome>\r
             </switch>\r
+            <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\r
+                <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\r
+                <parameter name='contextPrefix' value='prop' />\r
+            </execute>\r
             <for index='idx' start='0' end='`$vf-module-length`' >\r
                 <block atomic="true">\r
                     <switch test="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.request-information.request-action == 'ActivateSDWANPortInstance'`">\r
@@ -57,6 +61,7 @@
                                 </record>\r
                                 <set>\r
                                     <parameter name='tmp.wanPortVidx' value='`$idx`' />\r
+                                    <parameter name='tmp.vidx' value='`$idx`' />\r
                                     <parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\r
                                 </set>\r
                                 <set>\r
                             </block>\r
                         </outcome>\r
                     </switch>\r
-                    <switch test="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSiteInstance'`">\r
+                    <switch test="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`">\r
                         <outcome value='true'>\r
                             <set>\r
                                 <parameter name='tmp.siteVidx' value='`$vfidx`' />\r
                     </switch>\r
                 </block>\r
             </for>\r
-            <set>\r
-                <parameter name='prop.tenant-id' value='d9511b64-61ae-446e-96a1-6adbff09582c' />\r
-            </set>\r
+            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" \r
+               resource="esr-thirdparty-sdnc" \r
+               key="esr-thirdparty-sdnc.thirdparty-sdnc-id = SDWANController AND \r
+                    depth = '1'"\r
+        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\r
+                <outcome value='success'>\r
+                    <set>\r
+                        <parameter name='prop.sdncRestApi.thirdpartySdnc.url' value="`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />\r
+                        <parameter name='prop.sdncRestApi.thirdpartySdnc.user' value="`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />\r
+                        <parameter name='prop.sdncRestApi.thirdpartySdnc.password' value="`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />\r
+                    </set>\r
+                </outcome>\r
+                <outcome value='not-found'>\r
+                    <return status='failure'>\r
+                        <parameter name='ack-final' value='Y'/>\r
+                        <parameter name="error-code" value="500" />\r
+                        <parameter name="error-message" value="`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`" />\r
+                    </return>\r
+                </outcome>\r
+                <outcome value='Other'>\r
+                    <return status='failure'>\r
+                        <parameter name='ack-final' value='Y'/>\r
+                        <parameter name="error-code" value="500" />\r
+                        <parameter name="error-message" value="`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`" />\r
+                    </return>\r
+                </outcome>\r
+            </get-resource>\r
             <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
                 <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/actokentemplate.json'`" />\r
-                <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v2/baseservice/tenants/authorization/' + $prop.tenant-id`" />\r
-                <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />\r
-                <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />\r
+                <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`" />\r
                 <parameter name="format" value="json"/>\r
-                <parameter name="httpMethod" value="put"/>\r
-                <parameter name="responsePrefix" value="tenant-result"/>\r
+                <parameter name="httpMethod" value="post"/>\r
+                <parameter name="responsePrefix" value="token-result"/>\r
                 <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
                 <parameter name="trustStorePassword" value="adminadmin"/>\r
                 <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
                 <parameter name="keyStorePassword" value="adminadmin"/>\r
-                <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
+                <outcome value='success'>\r
+                    <set>\r
+                        <parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\r
+                    </set>\r
+                </outcome>\r
+                <outcome value='failure'>\r
+                    <return status='failure'>\r
+                        <parameter name='ack-final' value='Y'/>\r
+                        <parameter name="error-code" value="500" />\r
+                        <parameter name="error-message" value="Error executing get token rest api" />\r
+                    </return>\r
+                </outcome>\r
             </execute>\r
+            <call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' ></call>\r
             <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
                 <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/network-orchestration-resources'`" />\r
                 <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />\r
                     </switch>\r
                 </block>\r
             </for>\r
-            <switch test="`$prop.wanPortUpdate`">\r
-                <outcome value=''>\r
-                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
-                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sdwan-wan-port.json'`" />\r
-                        <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`" />\r
-                        <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />\r
-                        <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />\r
-                        <parameter name="format" value="json"/>\r
-                        <parameter name="httpMethod" value="put"/>\r
-                        <parameter name="responsePrefix" value="wanPortResp"/>\r
-                        <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
-                        <parameter name="trustStorePassword" value="adminadmin"/>\r
-                        <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
-                        <parameter name="keyStorePassword" value="adminadmin"/>\r
-                        <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
-                        <outcome value='failure'>\r
-                            <block atomic="true"></block>\r
-                        </outcome>\r
-                        <outcome value='success'>\r
-                            <block atomic="true"></block>\r
+            <for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`'>\r
+                <block>\r
+                    <switch test="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'IPMode'`">\r
+                        <outcome value='true'>\r
+                            <block atomic="true">\r
+                                <switch test="`Static == $prop.wan.IPMode`">\r
+                                    <outcome value='true'>\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name='prop.wan.IpMode' value="static" />\r
+                                                <parameter name='prop.wan.ipAddress' value='`$prop.wan.ip-address`' />\r
+                                                <parameter name='prop.route.nextHopType' value="ip-address" />\r
+                                            </set>\r
+                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sdwan-wan-port-static.json'`" />\r
+                                                <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`" />\r
+                                                <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />\r
+                                                <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />\r
+                                                <parameter name="format" value="json"/>\r
+                                                <parameter name="httpMethod" value="put"/>\r
+                                                <parameter name="responsePrefix" value="wanPortResp"/>\r
+                                                <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
+                                                <parameter name="trustStorePassword" value="adminadmin"/>\r
+                                                <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
+                                                <parameter name="keyStorePassword" value="adminadmin"/>\r
+                                                <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
+                                                <outcome value='failure'>\r
+                                                    <block atomic="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="Error executing Create wan port rest api" />\r
+                                                        </return>\r
+                                                    </block>\r
+                                                </outcome>\r
+                                                <outcome value='success'>\r
+                                                    <block atomic="true"></block>\r
+                                                </outcome>\r
+                                            </execute>\r
+                                        </block>\r
+                                    </outcome>\r
+                                </switch>\r
+                                <switch test="`DHCP == $prop.wan.IPMode`">\r
+                                    <outcome value='true'>\r
+                                        <block atomic="true">\r
+                                            <set>\r
+                                                <parameter name='prop.wan.ipAddress' value="" />\r
+                                                <parameter name='prop.wan.prefixLength' value="" />\r
+                                                <parameter name='prop.wan.providerIpAddress' value="" />\r
+                                                <parameter name='prop.wan.IpMode' value="DHCP" />\r
+                                                <parameter name='prop.route.nextHopType' value="outbound-interface" />\r
+                                            </set>\r
+                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\r
+                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sdwan-wan-port-dhcp.json'`" />\r
+                                                <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`" />\r
+                                                <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />\r
+                                                <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />\r
+                                                <parameter name="format" value="json"/>\r
+                                                <parameter name="httpMethod" value="put"/>\r
+                                                <parameter name="responsePrefix" value="wanPortResp"/>\r
+                                                <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>\r
+                                                <parameter name="trustStorePassword" value="adminadmin"/>\r
+                                                <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>\r
+                                                <parameter name="keyStorePassword" value="adminadmin"/>\r
+                                                <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />\r
+                                                <outcome value='failure'>\r
+                                                    <block atomic="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="Error executing Create wan port rest api" />\r
+                                                        </return>\r
+                                                    </block>\r
+                                                </outcome>\r
+                                                <outcome value='success'>\r
+                                                    <block atomic="true"></block>\r
+                                                </outcome>\r
+                                            </execute>\r
+                                        </block>\r
+                                    </outcome>\r
+                                </switch>\r
+                            </block>\r
                         </outcome>\r
-                    </execute>\r
-                </outcome>\r
-            </switch>\r
-            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\r
-                <parameter name="ctx-destination" value="prop.bandwidth.bandwidth-policyId"/>\r
-            </execute>\r
-            <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='bandwidth-history' \r
-      key='sdwan-bandwidth-policy-id = $prop.bandwidth.bandwidth-policyId' >\r
-                <parameter name="sdwan-bandwidth-policy-id" value="`$prop.bandwidth.bandwidth-policyId`" />\r
-                <parameter name="sdwan-bandwidth-policy-name" value="`$prop.bandwidth.bandwidth-policyId`" />\r
-                <parameter name="bandwidth-value" value="`$prop.wan.inputBandwidth`" />\r
-                <parameter name="bandwidth-change-time" value="`$prop.wan.bandwidth-change-time`" />\r
-                <parameter name="vpn-id" value="`$prop.bandwidth.vpnId`" />\r
-                <!--parameter name='model-customization-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' /><parameter name='model-invariant-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' /><parameter name='model-version-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' /-->\r
-                <outcome value='success'>\r
-                    <block atomic="true"></block>\r
-                </outcome>\r
-                <outcome value='failure'>\r
-                    <return status='failure'>\r
-                        <parameter name='error-code' value='' />\r
-                        <parameter name='error-message' value="Falied to add AAI bandwidth history record" />\r
-                    </return>\r
-                </outcome>\r
-            </save>\r
+                    </switch>\r
+                </block>\r
+            </for>\r
             <return status='success'>\r
                 <parameter name="ack-final-indicator" value="Y" />\r
                 <parameter name="error-code" value="200" />\r