Fixed device-id fetch issue in sdwan-lan-port DG 01/85901/1
authorprakash.e <prakash.e@huawei.com>
Sun, 21 Apr 2019 06:31:16 +0000 (12:01 +0530)
committerprakash.e <prakash.e@huawei.com>
Sun, 21 Apr 2019 06:31:26 +0000 (12:01 +0530)
Fixed sdwan-lan-port-activate DG by fetching deviceId
in service-data by passing device name in valid
input parameter

Change-Id: I4f5bab7f5f09f6bd35334854c490fcfef862454a
Issue-ID: SDNC-659
Signed-off-by: Prakash.E <prakash.e@huawei.com>
Former-commit-id: c3e0c12aca66c5b5da4e0fa6a24b034aa35b03a2

platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.json
platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-activate.xml

index 138d31f..861a58a 100644 (file)
@@ -1,38 +1,38 @@
 [\r
     {\r
-        "id": "cea6a9f1.279478",\r
+        "id": "d9c4f19e.fd2e7",\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": 570.7143020629883,\r
-        "y": 337.99999046325684,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 672.25390625,\r
+        "y": 347.99999046325684,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "4a89ecf7.049034",\r
-                "2a09fa32.63fc36",\r
-                "c2f1098d.e8bd38"\r
+                "cef58dbf.65cb",\r
+                "2919e925.39dec6",\r
+                "e1d6ced2.e1fdf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1833f3f4.1b830c",\r
+        "id": "f7e66a22.01e028",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 107.71429824829102,\r
-        "y": 29,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 209.25390243530273,\r
+        "y": 39,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "181dc2fc.e539bd"\r
+                "c86c7fcc.d57a3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "181dc2fc.e539bd",\r
+        "id": "c86c7fcc.d57a3",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\r
         "comments": "",\r
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 177,\r
-        "y": 92.23810958862305,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 278.5396041870117,\r
+        "y": 102.23810958862305,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "25791551.06845a"\r
+                "8a66936c.4ecc5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "25791551.06845a",\r
+        "id": "8a66936c.4ecc5",\r
         "type": "method",\r
         "name": "method sdwan-vf-operation-lanport-activate",\r
         "xml": "<method rpc='sdwan-vf-operation-lanport-activate' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 188.71429443359375,\r
-        "y": 186.58634185791016,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 290.25389862060547,\r
+        "y": 196.58634185791016,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "419d7afa.b1ca54"\r
+                "b4cb95ed.cde538"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "419d7afa.b1ca54",\r
+        "id": "b4cb95ed.cde538",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 189.38096618652344,\r
-        "y": 442.666708946228,\r
-        "z": "2f0cf160.dc107e",\r
-        "wires": [\r
-            [\r
-                "f5110085.4f487",\r
-                "f62e0d25.9e73c",\r
-                "cea6a9f1.279478",\r
-                "76df47d2.f28eb8",\r
-                "3a550152.acb95e",\r
-                "bad651b2.12a17",\r
-                "a66a0a0e.fef0c8",\r
-                "f2a2fd31.6afea",\r
-                "11a6133a.d1ed1d",\r
-                "6bb3e148.a2b06",\r
-                "233d7734.c6ad18",\r
-                "ec89c38e.b0db3",\r
-                "cfe4c928.772628",\r
-                "307480f2.c3f12",\r
-                "83adcbda.9cab18",\r
-                "41a8aff.133475",\r
-                "bf4ca0a0.f719b",\r
-                "14cdbea6.6ff3c1",\r
-                "96f47da7.f3275",\r
-                "7299f238.fa9f1c",\r
-                "e4f03070.b443a",\r
-                "1e3434c6.db511b",\r
-                "56401cb0.1f0164"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "f62e0d25.9e73c",\r
+        "x": 290.92057037353516,\r
+        "y": 452.666708946228,\r
+        "z": "d0c9a483.09f7c8",\r
+        "wires": [\r
+            [\r
+                "f3bcc30.03c554",\r
+                "ac79d525.fd1fd8",\r
+                "d9c4f19e.fd2e7",\r
+                "1bfdbcc3.c7cd93",\r
+                "6e8941e2.a043c",\r
+                "901afcf1.d22f3",\r
+                "ef04791b.55e268",\r
+                "8364ef5f.25f26",\r
+                "6278217c.89959",\r
+                "760751d.6fd76b",\r
+                "cd4a9b23.d614c8",\r
+                "44113153.ffa83",\r
+                "b05dede5.e0278",\r
+                "45f5fb20.78ea64",\r
+                "b07fc696.74dd68",\r
+                "8fa1111d.08c36",\r
+                "a897b863.5cfc78",\r
+                "9bf6789f.a0ec08",\r
+                "537766b1.131458",\r
+                "8ffe71d6.e37e5",\r
+                "b5fcdf55.56396",\r
+                "695214fd.2c4fdc",\r
+                "188a2b9c.34d5e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac79d525.fd1fd8",\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": 520.7456588745117,\r
-        "y": 266.2691411972046,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 622.2852630615234,\r
+        "y": 276.2691411972046,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "b7bf67d0.4c13b8"\r
+                "8d9e53be.f0301"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f5110085.4f487",\r
+        "id": "f3bcc30.03c554",\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": 525.7143135070801,\r
-        "y": 205.00001049041748,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 627.2539176940918,\r
+        "y": 215.00001049041748,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "61a8d0c5.ce10b"\r
+                "193a9775.d88519"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "61a8d0c5.ce10b",\r
+        "id": "193a9775.d88519",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 705.7142944335938,\r
-        "y": 204,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 807.2538986206055,\r
+        "y": 214,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "3e167156.21c02e"\r
+                "4b9a0abb.eb1bb4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3e167156.21c02e",\r
+        "id": "4b9a0abb.eb1bb4",\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": 855.1430206298828,\r
-        "y": 205.14291763305664,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 956.6826248168945,\r
+        "y": 215.14291763305664,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b7bf67d0.4c13b8",\r
+        "id": "8d9e53be.f0301",\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": 743.7143096923828,\r
-        "y": 267.00000619888306,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 845.2539138793945,\r
+        "y": 277.00000619888306,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "29696342.56f90c"\r
+                "835ec48b.329e88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "29696342.56f90c",\r
+        "id": "835ec48b.329e88",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 958.7142944335938,\r
-        "y": 265,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1060.2538986206055,\r
+        "y": 275,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "1ba7830b.c7ea6d"\r
+                "38760c6e.34c224"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1ba7830b.c7ea6d",\r
+        "id": "38760c6e.34c224",\r
         "type": "set",\r
         "name": "set vnf-index",\r
         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
         "comments": "",\r
-        "x": 1122.7142944335938,\r
-        "y": 260,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1224.2538986206055,\r
+        "y": 270,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2a09fa32.63fc36",\r
+        "id": "2919e925.39dec6",\r
         "type": "outcome",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 792.7142944335938,\r
-        "y": 372,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 894.2538986206055,\r
+        "y": 382,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "4ead305d.0b806"\r
+                "4642ed44.17b144"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4a89ecf7.049034",\r
+        "id": "cef58dbf.65cb",\r
         "type": "outcome",\r
         "name": "0",\r
         "xml": "<outcome value='0'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 797.7142906188965,\r
-        "y": 318.9999990463257,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 899.2538948059082,\r
+        "y": 328.9999990463257,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "4ead305d.0b806"\r
+                "4642ed44.17b144"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4ead305d.0b806",\r
+        "id": "4642ed44.17b144",\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": 955.7142944335938,\r
-        "y": 332,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1057.2538986206055,\r
+        "y": 342,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c2f1098d.e8bd38",\r
+        "id": "e1d6ced2.e1fdf",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 792.7142944335938,\r
-        "y": 433,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 894.2538986206055,\r
+        "y": 443,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "2458c219.d10e1e"\r
+                "1bffa38f.f0c50c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ead36ccd.33529",\r
+        "id": "3daf6135.38733e",\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",\r
         "comments": "",\r
-        "x": 1146.7143096923828,\r
-        "y": 431.0000139474869,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1248.2539138793945,\r
+        "y": 441.0000139474869,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2458c219.d10e1e",\r
+        "id": "1bffa38f.f0c50c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 953.7143402099609,\r
-        "y": 429.99999141693115,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1055.2539443969727,\r
+        "y": 439.99999141693115,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "ead36ccd.33529",\r
-                "386f97ee.904d48"\r
+                "3daf6135.38733e",\r
+                "ef25b392.fb9e5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "386f97ee.904d48",\r
+        "id": "ef25b392.fb9e5",\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": 1165.7142791748047,\r
-        "y": 483.99999046325684,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1267.2538833618164,\r
+        "y": 493.99999046325684,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "593c39.dc7673c8"\r
+                "a5aa4ea3.3a9f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "593c39.dc7673c8",\r
+        "id": "a5aa4ea3.3a9f8",\r
         "type": "switchNode",\r
         "name": "switch vf-module-id found",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1408.7142944335938,\r
-        "y": 479,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1510.2538986206055,\r
+        "y": 489,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "1efda74.b0eb959"\r
+                "291f40c7.f811f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1efda74.b0eb959",\r
+        "id": "291f40c7.f811f",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1606.7143230438232,\r
-        "y": 466.0000066757202,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1708.253927230835,\r
+        "y": 476.0000066757202,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "d0b5f3a2.35747"\r
+                "62bd116.37066f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d0b5f3a2.35747",\r
+        "id": "62bd116.37066f",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1758.7142944335938,\r
-        "y": 468,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1860.2538986206055,\r
+        "y": 478,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "1fc6559e.18634a",\r
-                "802dea9f.3c2848",\r
-                "9329a8cc.23d418"\r
+                "fceeafa7.b7652",\r
+                "767f5d19.fe3e84",\r
+                "f1e44e3e.f0b3c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1fc6559e.18634a",\r
+        "id": "fceeafa7.b7652",\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
         "comments": "",\r
-        "x": 1986.7144088745117,\r
-        "y": 410.00000381469727,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2088.2540130615234,\r
+        "y": 420.00000381469727,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "802dea9f.3c2848",\r
+        "id": "767f5d19.fe3e84",\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": 1990.7144088745117,\r
-        "y": 464.00000381469727,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2092.2540130615234,\r
+        "y": 474.00000381469727,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "76df47d2.f28eb8",\r
+        "id": "1bfdbcc3.c7cd93",\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": 504.714412689209,\r
-        "y": 2079.501151561737,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 606.2540168762207,\r
+        "y": 2089.501151561737,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9329a8cc.23d418",\r
+        "id": "f1e44e3e.f0b3c",\r
         "type": "call",\r
         "name": "call sdwan-get-vf-module-lanport-param",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2021.16943359375,\r
-        "y": 515.0104961395264,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2122.7090377807617,\r
+        "y": 525.0104961395264,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b2d390ae.97474",\r
+        "id": "aa0d1480.7f1978",\r
         "type": "for",\r
         "name": "for vf-modules.vf-module_length",\r
         "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 827.9683685302734,\r
-        "y": 520.0040225982666,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1379.5080871582031,\r
+        "y": 553.0040807723999,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "7dff73e1.0243cc"\r
+                "9ed7ce57.d6ce"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3f6c843d.edec8c",\r
+        "id": "1f605289.f2eb7d",\r
         "type": "switchNode",\r
         "name": "switch this deviceName == vf-input",\r
-        "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == '$prop.lan.deviceName'`\">\n    \n",\r
+        "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == $prop.lan.deviceName`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1100.9686126708984,\r
-        "y": 606.0041282176971,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1450.50830078125,\r
+        "y": 626.0042104721069,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "cb455713.e1bdd8"\r
+                "b123da61.76e8a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7dff73e1.0243cc",\r
+        "id": "9ed7ce57.d6ce",\r
         "type": "for",\r
         "name": "for vf-module-input-param length",\r
         "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].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": 1125.9682846069336,\r
-        "y": 523.0040645599365,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1665.5079345703125,\r
+        "y": 555.0041646957397,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "3f6c843d.edec8c"\r
+                "f599447.9ac3fb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cb455713.e1bdd8",\r
+        "id": "b123da61.76e8a8",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1314.9684257507324,\r
-        "y": 603.0041129589081,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1670.5080242156982,\r
+        "y": 627.0042181015015,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "8c1ad275.b541"\r
+                "2d7f5405.e9306c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8c1ad275.b541",\r
+        "id": "2d7f5405.e9306c",\r
         "type": "for",\r
         "name": "for vf-modules.vf-module_length",\r
         "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].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": 1528.9684677124023,\r
-        "y": 599.0040664672852,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1915.5081024169922,\r
+        "y": 627.0041356086731,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "6aaf6a5c.76e9f4"\r
+                "faceb28.d0a9d5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6aaf6a5c.76e9f4",\r
+        "id": "faceb28.d0a9d5",\r
         "type": "switchNode",\r
         "name": "switch deviceId == input vf-id",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'deviceId'`\">\n    \n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1843.9685440063477,\r
-        "y": 598.0040471553802,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2223.5083770751953,\r
+        "y": 610.0041036605835,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "85841cc6.de2b3"\r
+                "ec659d9d.8002"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "85841cc6.de2b3",\r
+        "id": "ec659d9d.8002",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2045.9686737060547,\r
-        "y": 596.0040481090546,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2432.508415222168,\r
+        "y": 612.004096031189,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "1722d3f0.fc82dc"\r
+                "73ebf520.d1f88c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1722d3f0.fc82dc",\r
+        "id": "73ebf520.d1f88c",\r
         "type": "set",\r
         "name": "set prop.lan.deviceId",\r
         "xml": "<set>\n<parameter name='prop.lan.deviceId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",\r
         "comments": "",\r
-        "x": 2220.9685668945312,\r
-        "y": 596.004228591919,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2609.5083808898926,\r
+        "y": 608.0042867660522,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3a550152.acb95e",\r
+        "id": "6e8941e2.a043c",\r
         "type": "for",\r
         "name": "for service-data.vnfs.vnf_length",\r
         "xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 573.9682159423828,\r
-        "y": 455.00401973724365,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 633.5078125,\r
+        "y": 420.00404262542725,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "b2d390ae.97474"\r
+                "5c633f8a.ecb75"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "566234f6.d57f8c",\r
+        "id": "415f5cb9.3a6e44",\r
         "type": "switchNode",\r
         "name": "switch ActivateSDWANSiteInstance",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1168.7185821533203,\r
-        "y": 727.0039882659912,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1270.258186340332,\r
+        "y": 737.0039882659912,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "d08758a.8a9d4a8"\r
+                "55fab2c0.18755c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4a6e0872.754c78",\r
+        "id": "ba32492c.0e54c8",\r
         "type": "for",\r
         "name": "for vf-modules.vf-module_length",\r
         "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 814.7184219360352,\r
-        "y": 694.0040283203125,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 916.2580261230469,\r
+        "y": 704.0040283203125,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "2141a4d0.4ed0ac"\r
+                "bd374d2.a7cdcb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "83adcbda.9cab18",\r
+        "id": "b07fc696.74dd68",\r
         "type": "for",\r
         "name": "for service-data.vnfs.vnf_length",\r
         "xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 565.7182769775391,\r
-        "y": 625.0039081573486,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 667.2578811645508,\r
+        "y": 635.0039081573486,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "4a6e0872.754c78"\r
+                "ba32492c.0e54c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d08758a.8a9d4a8",\r
+        "id": "55fab2c0.18755c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1390.7184982299805,\r
-        "y": 727.0040698051453,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1492.2581024169922,\r
+        "y": 737.0040698051453,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "5c9349a5.10cdf8"\r
+                "2d0cb991.e67216"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5c9349a5.10cdf8",\r
+        "id": "2d0cb991.e67216",\r
         "type": "for",\r
         "name": "for vf-modules.vf-module_length",\r
         "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].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": 1471.968505859375,\r
-        "y": 801.5040712356567,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1573.5081100463867,\r
+        "y": 811.5040712356567,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "78c531f9.c452d"\r
+                "f98893a0.de7a4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "78502254.1e1d1c",\r
+        "id": "39ba7083.5ed54",\r
         "type": "switchNode",\r
         "name": "switch siteId",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'siteId'`\">\n    \n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1854.968864440918,\r
-        "y": 808.5041785240173,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1956.5084686279297,\r
+        "y": 818.5041785240173,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "cef8d9d4.a847d8"\r
+                "36c8a445.c6055c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cef8d9d4.a847d8",\r
+        "id": "36c8a445.c6055c",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2031.9688835144043,\r
-        "y": 811.5040187835693,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2133.508487701416,\r
+        "y": 821.5040187835693,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "57774070.165c4"\r
+                "cb17586e.80dbb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "26765522.97752a",\r
+        "id": "cafa7b8b.465778",\r
         "type": "set",\r
         "name": "set prop.attach.siteId",\r
         "xml": "<set>\n<parameter name='prop.attach.siteId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",\r
         "comments": "",\r
-        "x": 2415.9693908691406,\r
-        "y": 785.5040702819824,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2517.5089950561523,\r
+        "y": 795.5040702819824,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "57774070.165c4",\r
+        "id": "cb17586e.80dbb8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2191.2190742492676,\r
-        "y": 807.0040588378906,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2292.7586784362793,\r
+        "y": 817.0040588378906,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "26765522.97752a",\r
-                "18aa70c2.f51f1f",\r
-                "95fdece9.83f56",\r
-                "13d1a87e.cc7dd8"\r
+                "cafa7b8b.465778",\r
+                "9412ef29.cc029",\r
+                "4b9ca75a.7fc698",\r
+                "2f9763b5.4e87fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "41a8aff.133475",\r
+        "id": "8fa1111d.08c36",\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": 526.7182235717773,\r
-        "y": 944.5039968490601,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 628.2578277587891,\r
+        "y": 954.5039968490601,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "9e1e759b.490ef8",\r
-                "587c1d85.98e364",\r
-                "1fecffb3.fdfc1"\r
+                "4a5d401e.8bf8e",\r
+                "1ff4f9b4.f19fb6",\r
+                "8afdb3bf.1d43d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9e1e759b.490ef8",\r
+        "id": "4a5d401e.8bf8e",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 770.7182846069336,\r
-        "y": 908.5039968490601,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 872.2578887939453,\r
+        "y": 918.5039968490601,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "1eeec00d.ea37e"\r
+                "ec14c17f.6e2c1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "587c1d85.98e364",\r
+        "id": "1ff4f9b4.f19fb6",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 773.2091674804688,\r
-        "y": 944.0780334472656,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 874.7487716674805,\r
+        "y": 954.0780334472656,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "f1f9240f.1bbe98"\r
+                "7501ffb3.13588"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1fecffb3.fdfc1",\r
+        "id": "8afdb3bf.1d43d",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 768.5421752929688,\r
-        "y": 980.4113922119141,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 870.0817794799805,\r
+        "y": 990.4113922119141,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "e9937b5c.1de1c8"\r
+                "26b83768.3bb758"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e9937b5c.1de1c8",\r
+        "id": "26b83768.3bb758",\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": 922.3146667480469,\r
-        "y": 977.8504791259766,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1023.8542709350586,\r
+        "y": 987.8504791259766,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f1f9240f.1bbe98",\r
+        "id": "7501ffb3.13588",\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": 918.7805633544922,\r
-        "y": 942.3637208938599,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1020.3201675415039,\r
+        "y": 952.3637208938599,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1eeec00d.ea37e",\r
+        "id": "ec14c17f.6e2c1",\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": 931.2183952331543,\r
-        "y": 906.5039367675781,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1032.757999420166,\r
+        "y": 916.5039367675781,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bf4ca0a0.f719b",\r
+        "id": "a897b863.5cfc78",\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": 540.6564559936523,\r
-        "y": 1047.62509059906,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 642.1960601806641,\r
+        "y": 1057.62509059906,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "d05110e4.15f05",\r
-                "623a881a.ebe538"\r
+                "b99d5bfa.8263b8",\r
+                "3b97c655.fec2fa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d05110e4.15f05",\r
+        "id": "b99d5bfa.8263b8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 775.6565818786621,\r
-        "y": 1033.6250791549683,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 877.1961860656738,\r
+        "y": 1043.6250791549683,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "adf2584e.694ce8"\r
+                "da99c661.cc9138"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "623a881a.ebe538",\r
+        "id": "3b97c655.fec2fa",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 774.9065818786621,\r
-        "y": 1069.2679862976074,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 876.4461860656738,\r
+        "y": 1079.2679862976074,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "e8c30ab5.68d3b8"\r
+                "d1dde0a7.dc9a2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e8c30ab5.68d3b8",\r
+        "id": "d1dde0a7.dc9a2",\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": 923.6565895080566,\r
-        "y": 1070.0180683135986,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1025.1961936950684,\r
+        "y": 1080.0180683135986,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "adf2584e.694ce8",\r
+        "id": "da99c661.cc9138",\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": 917.6565895080566,\r
-        "y": 1032.6250801086426,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1019.1961936950684,\r
+        "y": 1042.6250801086426,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "96f47da7.f3275",\r
+        "id": "537766b1.131458",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode device port create",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-port.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"portResp\"/>\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": 566.7455520629883,\r
-        "y": 1199.0782289505005,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 668.28515625,\r
+        "y": 1209.0782289505005,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "50af67d.1491698",\r
-                "bef4965a.55b458"\r
+                "8649541f.c916f8",\r
+                "490b0339.21ab4c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "50af67d.1491698",\r
+        "id": "8649541f.c916f8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 815.7456111907959,\r
-        "y": 1213.0784349441528,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 917.2852153778076,\r
+        "y": 1223.0784349441528,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "b4a513b9.d44d6"\r
+                "53d53343.edd9cc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bef4965a.55b458",\r
+        "id": "490b0339.21ab4c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 815.7456111907959,\r
-        "y": 1175.0782704353333,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 917.2852153778076,\r
+        "y": 1185.0782704353333,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "d695c8db.015488"\r
+                "bb7e9ee8.bdde5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d695c8db.015488",\r
+        "id": "bb7e9ee8.bdde5",\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 device port rest api\" />\n",\r
         "comments": "",\r
-        "x": 959.7459449768066,\r
-        "y": 1174.078269958496,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1061.2855491638184,\r
+        "y": 1184.078269958496,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b4a513b9.d44d6",\r
+        "id": "53d53343.edd9cc",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 962.7456226348877,\r
-        "y": 1214.0782737731934,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1064.2852268218994,\r
+        "y": 1224.0782737731934,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "bad651b2.12a17",\r
+        "id": "901afcf1.d22f3",\r
         "type": "set",\r
         "name": "set prop.lan.devicePortId",\r
         "xml": "<set>\n<parameter name='prop.lan.devicePortId' value='`$portResp.success[0].id`' />\n",\r
         "comments": "",\r
-        "x": 509.4028129577637,\r
-        "y": 1252.1794338226318,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 610.9424171447754,\r
+        "y": 1262.1794338226318,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1d5fca27.3bbea6",\r
+        "id": "44729f10.35f05",\r
         "type": "comment",\r
         "name": "Create port",\r
         "info": "",\r
         "comments": "",\r
-        "x": 468.41149139404297,\r
-        "y": 1165.522253036499,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 569.9510955810547,\r
+        "y": 1175.522253036499,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "14cdbea6.6ff3c1",\r
+        "id": "9bf6789f.a0ec08",\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": 515.411491394043,\r
-        "y": 1114.1886892318726,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 616.9510955810547,\r
+        "y": 1124.1886892318726,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "f52cabac.abeb68",\r
+        "id": "eeb61a62.766e08",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode bridge domain create",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-bridge-domain.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/bridge-domains'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"bridgeDomainResp\"/>\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": 989.3958015441895,\r
-        "y": 1294.188857793808,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1090.9354057312012,\r
+        "y": 1304.188857793808,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "441eed4c.baf224",\r
-                "fa3f1c96.1fc6d"\r
+                "925721ce.9c9c3",\r
+                "4887b469.84db6c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "441eed4c.baf224",\r
+        "id": "925721ce.9c9c3",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1310.3958282470703,\r
-        "y": 1311.1891782283783,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1411.935432434082,\r
+        "y": 1321.1891782283783,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "a63cb83c.98c9e8"\r
+                "ae68593e.8ba108"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fa3f1c96.1fc6d",\r
+        "id": "4887b469.84db6c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1313.3958549499512,\r
-        "y": 1276.1889598369598,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1414.935459136963,\r
+        "y": 1286.1889598369598,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "421c7bf9.398d94"\r
+                "79f2f146.ca204"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "421c7bf9.398d94",\r
+        "id": "79f2f146.ca204",\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 bridge domain rest api\" />\n",\r
         "comments": "",\r
-        "x": 1516.3962440490723,\r
-        "y": 1272.1890671253204,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1617.935848236084,\r
+        "y": 1282.1890671253204,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a63cb83c.98c9e8",\r
+        "id": "ae68593e.8ba108",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1517.395809173584,\r
-        "y": 1307.1889336109161,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1618.9354133605957,\r
+        "y": 1317.1889336109161,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7044fc7.42f8204",\r
+        "id": "ccce6236.dc74f",\r
         "type": "comment",\r
         "name": "Create bridge domain",\r
         "info": "",\r
         "comments": "",\r
-        "x": 933.061695098877,\r
-        "y": 1260.6330835819244,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1034.6012992858887,\r
+        "y": 1270.6330835819244,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a66a0a0e.fef0c8",\r
+        "id": "ef04791b.55e268",\r
         "type": "switchNode",\r
         "name": "switch portSwitch",\r
         "xml": "<switch test=\"`$prop.lan.portSwitch == 'layer2-port'`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 489.17326736450195,\r
-        "y": 1295.855489730835,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 590.7128715515137,\r
+        "y": 1305.855489730835,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "cc6612da.43a9"\r
+                "c3342bc2.390e38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cc6612da.43a9",\r
+        "id": "c3342bc2.390e38",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 668.1732978820801,\r
-        "y": 1295.966812133789,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 769.7129020690918,\r
+        "y": 1305.966812133789,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "f52cabac.abeb68"\r
+                "eeb61a62.766e08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f2a2fd31.6afea",\r
+        "id": "8364ef5f.25f26",\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.lan.ipAddress`'/>\n<parameter name=\"regex\" value=\"/\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"ipandMask\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 513.71826171875,\r
-        "y": 1395.7540397644043,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 615.2578659057617,\r
+        "y": 1405.7540397644043,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "c87ddd20.90349",\r
-                "aaf35528.c457d8"\r
+                "760fe778.7861c8",\r
+                "4e9c561e.4ac8b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aaf35528.c457d8",\r
+        "id": "4e9c561e.4ac8b8",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 714.7182807922363,\r
-        "y": 1373.7540311813354,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 816.257884979248,\r
+        "y": 1383.7540311813354,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "f3c46122.a1ec5"\r
+                "3c0ad409.f6e78c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c87ddd20.90349",\r
+        "id": "760fe778.7861c8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 714.7182846069336,\r
-        "y": 1414.7540349960327,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 816.2578887939453,\r
+        "y": 1424.7540349960327,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "3701541a.3aea9c"\r
+                "af9e51cb.86f12"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f3c46122.a1ec5",\r
+        "id": "3c0ad409.f6e78c",\r
         "type": "set",\r
         "name": "set ipAddress prefixLength",\r
         "xml": "<set>\n<parameter name='prop.lan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.lan.prefixLength' value='`$ipandMask[1]`' />",\r
         "comments": "",\r
-        "x": 911.7182998657227,\r
-        "y": 1371.7540311813354,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1013.2579040527344,\r
+        "y": 1381.7540311813354,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3701541a.3aea9c",\r
+        "id": "af9e51cb.86f12",\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": 869.7182922363281,\r
-        "y": 1411.7540340423584,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 971.2578964233398,\r
+        "y": 1421.7540340423584,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6cdf4550.c744bc",\r
+        "id": "a9e3f075.4494b",\r
         "type": "comment",\r
         "name": "Create wan port",\r
         "info": "",\r
         "comments": "",\r
-        "x": 486.7281379699707,\r
-        "y": 1348.7640895843506,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 588.2677421569824,\r
+        "y": 1358.7640895843506,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2701cb4.59cff34",\r
+        "id": "cd240d96.e63a6",\r
         "type": "comment",\r
         "name": "TODO: split ip/mask",\r
         "info": "",\r
         "comments": "",\r
-        "x": 910.7279319763184,\r
-        "y": 1333.9343032836914,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1012.2675361633301,\r
+        "y": 1343.9343032836914,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7299f238.fa9f1c",\r
+        "id": "8ffe71d6.e37e5",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode IPSubnets create",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-ip-subnets.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/ip-subnets'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"lanPortResp\"/>\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": 572.489631652832,\r
-        "y": 1471.8749294281006,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 674.0292358398438,\r
+        "y": 1481.8749294281006,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "fe753b01.7a4008",\r
-                "c50acfa.66a383"\r
+                "87d7037c.ae081",\r
+                "b63381ea.1d864"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c50acfa.66a383",\r
+        "id": "b63381ea.1d864",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 841.4896621704102,\r
-        "y": 1458.8749017715454,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 943.0292663574219,\r
+        "y": 1468.8749017715454,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "da685c50.c0fca"\r
+                "594e98d1.fab688"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fe753b01.7a4008",\r
+        "id": "87d7037c.ae081",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 838.4896354675293,\r
-        "y": 1493.8751201629639,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 940.029239654541,\r
+        "y": 1503.8751201629639,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "7c874cb1.b7ec64"\r
+                "5e9af700.a76ce8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "da685c50.c0fca",\r
+        "id": "594e98d1.fab688",\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 device port rest api\" />\n",\r
         "comments": "",\r
-        "x": 994.4900436401367,\r
-        "y": 1454.8751277923584,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1096.0296478271484,\r
+        "y": 1464.8751277923584,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7c874cb1.b7ec64",\r
+        "id": "5e9af700.a76ce8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 985.489616394043,\r
-        "y": 1494.8748760223389,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1087.0292205810547,\r
+        "y": 1504.8748760223389,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "220d830a.a3737c"\r
+                "4982389d.632728"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "220d830a.a3737c",\r
+        "id": "4982389d.632728",\r
         "type": "set",\r
         "name": "set prop.lan.lanPortId",\r
         "xml": "<set>\n<parameter name='prop.lan.lanPortId' value='`lanPortResp.success[0].id`' />\n",\r
         "comments": "",\r
-        "x": 1192.378719329834,\r
-        "y": 1497.208342552185,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1293.9183235168457,\r
+        "y": 1507.208342552185,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1e3434c6.db511b",\r
+        "id": "695214fd.2c4fdc",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode create vpn topology",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-topology.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpn1Id + '/topology'`\" />\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=\"vpn-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": 598.0000534057617,\r
-        "y": 1630.333706855774,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 699.5396575927734,\r
+        "y": 1640.333706855774,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "dad634fb.8374a8",\r
-                "222fdfc3.31cbd"\r
+                "d46aab2e.402878",\r
+                "f79fe60.440a918"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "222fdfc3.31cbd",\r
+        "id": "f79fe60.440a918",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 836.9999675750732,\r
-        "y": 1677.333193898201,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 938.539571762085,\r
+        "y": 1687.333193898201,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "a113b13a.6f74c"\r
+                "be3a59b0.64c5a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a113b13a.6f74c",\r
+        "id": "be3a59b0.64c5a8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1006.999906539917,\r
-        "y": 1680.333193898201,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1108.5395107269287,\r
+        "y": 1690.333193898201,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "66af30b.a74d8d",\r
+        "id": "cb1060d7.72a6a",\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 vpn topology failed\" />\n",\r
         "comments": "",\r
-        "x": 1007.0000286102295,\r
-        "y": 1636.333193898201,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1108.5396327972412,\r
+        "y": 1646.333193898201,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "dad634fb.8374a8",\r
+        "id": "d46aab2e.402878",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 839.999906539917,\r
-        "y": 1636.333193898201,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 941.5395107269287,\r
+        "y": 1646.333193898201,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "66af30b.a74d8d"\r
+                "cb1060d7.72a6a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e4f03070.b443a",\r
+        "id": "b5fcdf55.56396",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode create vpn ",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn'`\" />\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=\"vpn-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": 559.9984092712402,\r
-        "y": 1561.8328762054443,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 661.538013458252,\r
+        "y": 1571.8328762054443,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "93f9856d.ae6458",\r
-                "98bd094d.9d68c8"\r
+                "1dcea603.d095ca",\r
+                "286fea94.caec26"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "98bd094d.9d68c8",\r
+        "id": "286fea94.caec26",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 780.99831199646,\r
-        "y": 1583.8328419923782,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 882.5379161834717,\r
+        "y": 1593.8328419923782,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "54c36251.c8076c"\r
+                "8857322c.003b2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "54c36251.c8076c",\r
+        "id": "8857322c.003b2",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 950.9982509613037,\r
-        "y": 1586.8328419923782,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1052.5378551483154,\r
+        "y": 1596.8328419923782,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "719bdb7c.5a10b4",\r
+        "id": "94eea86a.175328",\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 vpn failed\" />\n",\r
         "comments": "",\r
-        "x": 950.9983730316162,\r
-        "y": 1542.8328419923782,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1052.537977218628,\r
+        "y": 1552.8328419923782,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "93f9856d.ae6458",\r
+        "id": "1dcea603.d095ca",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 783.9982509613037,\r
-        "y": 1542.8328419923782,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 885.5378551483154,\r
+        "y": 1552.8328419923782,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "719bdb7c.5a10b4"\r
+                "94eea86a.175328"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cdd2e071.957e3",\r
+        "id": "7ec433f0.4a2dec",\r
         "type": "switchNode",\r
         "name": "switch ActivateSDWANVpnInstance",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANVpnInstance'`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1147.0002365112305,\r
-        "y": 848.3332567214966,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1248.5398406982422,\r
+        "y": 858.3332567214966,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "f5335833.4ba238"\r
+                "df6b5755.18ea68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2141a4d0.4ed0ac",\r
+        "id": "bd374d2.a7cdcb",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 904.3333396911621,\r
-        "y": 777.3333368301392,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1005.8729438781738,\r
+        "y": 787.3333368301392,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "566234f6.d57f8c",\r
-                "cdd2e071.957e3",\r
-                "785db3d8.98fb5c"\r
+                "415f5cb9.3a6e44",\r
+                "7ec433f0.4a2dec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f5335833.4ba238",\r
+        "id": "df6b5755.18ea68",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1242.666748046875,\r
-        "y": 922.3333377838135,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1344.2063522338867,\r
+        "y": 932.3333377838135,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "deda6015.73137"\r
+                "a2c862ed.3d8da"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "deda6015.73137",\r
+        "id": "a2c862ed.3d8da",\r
         "type": "for",\r
         "name": "for vf-modules.vf-module_length",\r
         "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].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": 1456.916633605957,\r
-        "y": 923.8333144187927,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1558.4562377929688,\r
+        "y": 933.8333144187927,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "6ef0c48a.c4e20c"\r
+                "26c3d6b7.9af80a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6ef0c48a.c4e20c",\r
+        "id": "26c3d6b7.9af80a",\r
         "type": "switchNode",\r
         "name": "switch vpn-id",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'vpn-id'`\">\n    \n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1703.9166717529297,\r
-        "y": 918.8333973884583,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1805.4562759399414,\r
+        "y": 928.8333973884583,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "45631feb.4e63d"\r
+                "73c96ff0.116a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "45631feb.4e63d",\r
+        "id": "73c96ff0.116a",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1854.6666259765625,\r
-        "y": 920.3333129882812,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1956.2062301635742,\r
+        "y": 930.3333129882812,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "4fe0c915.7019d8"\r
+                "736b8a4d.4ec784"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4fe0c915.7019d8",\r
+        "id": "736b8a4d.4ec784",\r
         "type": "set",\r
         "name": "set prop.vpn1Id",\r
         "xml": "<set>\n<parameter name='prop.vpn1Id' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",\r
         "comments": "",\r
-        "x": 2028.6673736572266,\r
-        "y": 920.3333714008331,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2130.2069778442383,\r
+        "y": 930.3333714008331,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "18aa70c2.f51f1f",\r
+        "id": "9412ef29.cc029",\r
         "type": "set",\r
         "name": "Add sites to list and update length",\r
         "xml": "<set>\n<parameter name='prop.siteIds[$prop.siteIds_length]' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteIds_length' value='`$prop.siteIds_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
-        "x": 2459.000747680664,\r
-        "y": 826.3333714008331,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2560.540351867676,\r
+        "y": 836.3333714008331,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "95fdece9.83f56",\r
+        "id": "4b9ca75a.7fc698",\r
         "type": "set",\r
         "name": "Add site attachement to list and update length",\r
         "xml": "<set>\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].siteId' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles[0]' value='`$prop.role`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles_length' value='1' />\n<parameter name='prop.siteAttachements_length' value='`$prop.siteAttachements_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
         "comments": "",\r
-        "x": 2490.0006408691406,\r
-        "y": 869.3333377838135,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2591.5402450561523,\r
+        "y": 879.3333377838135,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "11a6133a.d1ed1d",\r
+        "id": "6278217c.89959",\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": 576.0000152587891,\r
-        "y": 574.333330154419,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 677.5396194458008,\r
+        "y": 584.333330154419,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "78c531f9.c452d",\r
+        "id": "f98893a0.de7a4",\r
         "type": "block",\r
         "name": "block atomic",\r
         "xml": "<block atomic=\"true\">\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1689.3336715698242,\r
-        "y": 802.3333358764648,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1790.873275756836,\r
+        "y": 812.3333358764648,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "78502254.1e1d1c",\r
-                "63d66e16.071a8",\r
-                "5671530f.b2ba5c"\r
+                "39ba7083.5ed54",\r
+                "5110ed96.6f1424",\r
+                "c2809bfd.795218"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "63d66e16.071a8",\r
+        "id": "5110ed96.6f1424",\r
         "type": "switchNode",\r
         "name": "switch role",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'role'`\">\n    \n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1851.666603088379,\r
-        "y": 733.3333349227905,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1953.2062072753906,\r
+        "y": 743.3333349227905,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "5896f487.b2b6fc"\r
+                "1e253f6e.5c04c1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5896f487.b2b6fc",\r
+        "id": "1e253f6e.5c04c1",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2014.6666069030762,\r
-        "y": 728.3333358764648,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2116.206211090088,\r
+        "y": 738.3333358764648,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "21c68e35.ea4b92"\r
+                "76558c73.4a9c94"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21c68e35.ea4b92",\r
+        "id": "76558c73.4a9c94",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2182.666648864746,\r
-        "y": 722.3333339691162,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2284.206253051758,\r
+        "y": 732.3333339691162,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "c62b7f98.336c5",\r
-                "2c113cab.56e434",\r
-                "c2240666.9ee948"\r
+                "7fa808fb.9dfb68",\r
+                "74735438.9332ac",\r
+                "138a0f19.6e1331"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2c113cab.56e434",\r
+        "id": "74735438.9332ac",\r
         "type": "switchNode",\r
         "name": "switch sd-wan-edge",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == 'sd-wan-edge'`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2377.666778564453,\r
-        "y": 683.3333253860474,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2479.206382751465,\r
+        "y": 693.3333253860474,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "ba2b297.cd792d8"\r
+                "201641a0.5890ce"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c62b7f98.336c5",\r
+        "id": "7fa808fb.9dfb68",\r
         "type": "switchNode",\r
         "name": "switch dsvpn-hub",\r
         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'dsvpn-hub'`\">\n    \n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2374.6668853759766,\r
-        "y": 738.333340883255,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2476.2064895629883,\r
+        "y": 748.333340883255,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "f4f54567.510e38"\r
+                "f53ab0a6.6d677"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8ed96cca.37dc4",\r
+        "id": "69b796c5.6fe848",\r
         "type": "set",\r
         "name": "set spoke role",\r
         "xml": "<set>\n<parameter name='prop.role' value=\"spoke\" />\n",\r
         "comments": "",\r
-        "x": 2707.6669006347656,\r
-        "y": 677.3333711624146,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2809.2065048217773,\r
+        "y": 687.3333711624146,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4cf4d59c.e1707c",\r
+        "id": "861df320.7eae2",\r
         "type": "set",\r
         "name": "set hub role",\r
         "xml": "<set>\n<parameter name='prop.role' value=\"hub\" />\n",\r
         "comments": "",\r
-        "x": 2706.666660308838,\r
-        "y": 732.3333549499512,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2808.2062644958496,\r
+        "y": 742.3333549499512,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ba2b297.cd792d8",\r
+        "id": "201641a0.5890ce",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2547.666748046875,\r
-        "y": 679,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2649.2063522338867,\r
+        "y": 689,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "8ed96cca.37dc4"\r
+                "69b796c5.6fe848"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f4f54567.510e38",\r
+        "id": "f53ab0a6.6d677",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2551.666748046875,\r
-        "y": 734,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2653.2063522338867,\r
+        "y": 744,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             [\r
-                "4cf4d59c.e1707c"\r
+                "861df320.7eae2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "56401cb0.1f0164",\r
+        "id": "188a2b9c.34d5e4",\r
         "type": "update",\r
         "name": "update SDWAN VPN status to AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='lan-port-config' \n      key='sdwan-vpn.sdwan-vpn-id = $vf-module-topology-operation-input.vf-module-information.vf-module-id' >\n<parameter name='sdwan-vpn-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='operational-status' value='Active' />\n<parameter name='lan-port-config-id' value='`$prop.lan-port-config-id`' />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 560.0312843322754,\r
-        "y": 1998.031280040741,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 661.5708885192871,\r
+        "y": 2008.031280040741,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ec89c38e.b0db3",\r
+        "id": "44113153.ffa83",\r
         "type": "set",\r
         "name": "set vf-module-level-oper-status",\r
         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.order-status'  value='Active' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-rpc-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />",\r
         "comments": "",\r
-        "x": 556.6663017272949,\r
-        "y": 1941.1261107651517,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 658.2059059143066,\r
+        "y": 1951.1261107651517,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "233d7734.c6ad18",\r
+        "id": "cd4a9b23.d614c8",\r
         "type": "set",\r
         "name": "set vf-module-id and vf-module-object-path",\r
         "xml": "<set>\n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",\r
         "comments": "",\r
-        "x": 590.6663017272949,\r
-        "y": 1892.6261098114774,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 692.2059059143066,\r
+        "y": 1902.6261098114774,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6bb3e148.a2b06",\r
+        "id": "760751d.6fd76b",\r
         "type": "set",\r
         "name": "copy input data in service-data",\r
         "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n",\r
         "comments": "",\r
-        "x": 554.6662559509277,\r
-        "y": 1844.876064300537,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 656.2058601379395,\r
+        "y": 1854.876064300537,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "307480f2.c3f12",\r
+        "id": "45f5fb20.78ea64",\r
         "type": "set",\r
         "name": "set device PortId to service data",\r
         "xml": "<set>\n<parameter name='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[$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].name' value='devicePortId' />\n<parameter name='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[$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].value' value='`$prop.lan.devicePortId`' />\n",\r
         "comments": "",\r
-        "x": 561.031322479248,\r
-        "y": 1738.0314636230469,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 662.5709266662598,\r
+        "y": 1748.0314636230469,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cfe4c928.772628",\r
+        "id": "b05dede5.e0278",\r
         "type": "set",\r
         "name": "set lan PortId to service data",\r
         "xml": "<set>\n<parameter name='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[$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].name' value='lanPortId' />\n<parameter name='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[$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].value' value='`$prop.lan.lanPortId`' />\n",\r
         "comments": "",\r
-        "x": 547.0312461853027,\r
-        "y": 1792.0312767028809,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 648.5708503723145,\r
+        "y": 1802.0312767028809,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "13d1a87e.cc7dd8",\r
+        "id": "2f9763b5.4e87fc",\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/svclogic21.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"prop.attach.siteId\"/>\n<parameter name=\"field3\" value='`$prop.attach.siteId`'/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2384.0313873291016,\r
-        "y": 914.5312805175781,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2485.5709915161133,\r
+        "y": 924.5312805175781,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c2240666.9ee948",\r
+        "id": "138a0f19.6e1331",\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/svclogic22.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"set spoke role\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2353.0313987731934,\r
-        "y": 645.531247138977,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 2454.571002960205,\r
+        "y": 655.531247138977,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5671530f.b2ba5c",\r
+        "id": "c2809bfd.795218",\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/svclogic23.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"param-name\"/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name`'/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1847.03125,\r
-        "y": 677.53125,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 1948.5708541870117,\r
+        "y": 687.53125,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "785db3d8.98fb5c",\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/svclogic24.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"request-action\"/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action`'/>\n",\r
+        "id": "a37e9bab.abd118",\r
+        "type": "comment",\r
+        "name": "**revert the changes",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1349.5708808898926,\r
+        "y": 693.0312824249268,\r
+        "z": "d0c9a483.09f7c8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4a795886.274f28",\r
+        "type": "switchNode",\r
+        "name": "switch vf-modules.vf-module_length",\r
+        "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length >= '0'`\">\n\n<!--switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1096.03125,\r
-        "y": 686.53125,\r
-        "z": "2f0cf160.dc107e",\r
+        "x": 892.7538909912109,\r
+        "y": 507.25390625,\r
+        "z": "d0c9a483.09f7c8",\r
         "wires": [\r
-            []\r
+            [\r
+                "779d12ab.8187fc"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "bacdcf2a.07a41",\r
-        "type": "comment",\r
-        "name": "**revert the changes",\r
-        "info": "",\r
+        "id": "779d12ab.8187fc",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
-        "x": 1248.0312767028809,\r
-        "y": 683.0312824249268,\r
-        "z": "2f0cf160.dc107e",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 998.75390625,\r
+        "y": 558.25390625,\r
+        "z": "d0c9a483.09f7c8",\r
+        "wires": [\r
+            [\r
+                "e23c505c.41fa2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c633f8a.ecb75",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 693.0039138793945,\r
+        "y": 468.0039048194885,\r
+        "z": "d0c9a483.09f7c8",\r
+        "wires": [\r
+            [\r
+                "4a795886.274f28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e23c505c.41fa2",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1151.003890991211,\r
+        "y": 555.0039281845093,\r
+        "z": "d0c9a483.09f7c8",\r
+        "wires": [\r
+            [\r
+                "aa0d1480.7f1978"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f599447.9ac3fb8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1894.7539710998535,\r
+        "y": 553.0039119720459,\r
+        "z": "d0c9a483.09f7c8",\r
+        "wires": [\r
+            [\r
+                "1f605289.f2eb7d"\r
+            ]\r
+        ]\r
     }\r
 ]
\ No newline at end of file
index 15f1e53..808070f 100644 (file)
                 </outcome>\r
             </switch>\r
             <for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\r
-                <for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\r
-                    <for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\r
-                        <switch test="`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == '$prop.lan.deviceName'`">\r
-                            <outcome value='true'>\r
-                                <for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\r
-                                    <switch test="`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'deviceId'`">\r
-                                        <outcome value='true'>\r
-                                            <set>\r
-                                                <parameter name='prop.lan.deviceId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\r
-                                            </set>\r
-                                        </outcome>\r
-                                    </switch>\r
+                <block atomic="true">\r
+                    <switch test="`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length >= '0'`">\r
+                        <!--switch test="`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`"-->\r
+                        <outcome value='true'>\r
+                            <block atomic="true">\r
+                                <for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\r
+                                    <for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\r
+                                        <block atomic="true">\r
+                                            <switch test="`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == $prop.lan.deviceName`">\r
+                                                <outcome value='true'>\r
+                                                    <for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\r
+                                                        <switch test="`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'deviceId'`">\r
+                                                            <outcome value='true'>\r
+                                                                <set>\r
+                                                                    <parameter name='prop.lan.deviceId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\r
+                                                                </set>\r
+                                                            </outcome>\r
+                                                        </switch>\r
+                                                    </for>\r
+                                                </outcome>\r
+                                            </switch>\r
+                                        </block>\r
+                                    </for>\r
                                 </for>\r
-                            </outcome>\r
-                        </switch>\r
-                    </for>\r
-                </for>\r
+                            </block>\r
+                        </outcome>\r
+                    </switch>\r
+                </block>\r
             </for>\r
             <set>\r
                 <parameter name='prop.siteAttachements_length' value='0' />\r
             <for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\r
                 <for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\r
                     <block>\r
-                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">\r
-                            <parameter name="file" value="/opt/opendaylight/current/data/log/svclogic24.log"/>\r
-                            <parameter name="field1" value="__TIMESTAMP__"/>\r
-                            <parameter name="field2" value="request-action"/>\r
-                            <parameter name="field3" value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action`'/>\r
-                        </record>\r
                         <switch test="`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`">\r
                             <outcome value='true'>\r
                                 <for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\r