integration test issues fix for sdwan and sotn
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-wanport-activate.json
index cc7b126..af80473 100644 (file)
@@ -1,20 +1,20 @@
 [
   {
-    "id": "426569df.8612f8",
+    "id": "d3e08805.9611b8",
     "type": "dgstart",
     "name": "DGSTART",
     "outputs": 1,
-    "x": 120.00390625,
-    "y": 238.75390625,
-    "z": "2525d6cd.61f35a",
+    "x": 83,
+    "y": 24,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "7d6fafb.3ddd95"
+        "f7dace5a.d2c9a"
       ]
     ]
   },
   {
-    "id": "7d6fafb.3ddd95",
+    "id": "f7dace5a.d2c9a",
     "type": "service-logic",
     "name": "GENERIC-RESOURCE-API ${project.version}",
     "module": "GENERIC-RESOURCE-API",
     "comments": "",
     "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}'>",
     "outputs": 1,
-    "x": 268.2895965576172,
-    "y": 288.99201488494873,
-    "z": "2525d6cd.61f35a",
+    "x": 214.2856903076172,
+    "y": 73.23810863494873,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "7af8806b.3ecd7"
+        "83935545.c771a8"
       ]
     ]
   },
   {
-    "id": "7af8806b.3ecd7",
+    "id": "83935545.c771a8",
     "type": "method",
     "name": "method sdwan-vnf-topology-operation-wanport-activate",
     "xml": "<method rpc='sdwan-vnf-topology-operation-wanport-activate' mode='sync'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 271.4325256347656,
-    "y": 373.75393867492676,
-    "z": "2525d6cd.61f35a",
+    "x": 217.42861938476562,
+    "y": 158.00003242492676,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "63259a1d.b752b4"
+        "5c798a65.20eb74"
       ]
     ]
   },
   {
-    "id": "63259a1d.b752b4",
+    "id": "5c798a65.20eb74",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 334.67066192626953,
-    "y": 979.420895576477,
-    "z": "2525d6cd.61f35a",
-    "wires": [
-      [
-        "ff4c2e55.307e9",
-        "36b7eecd.26eef2",
-        "236a2d57.6cfe02",
-        "7b3df5af.3ce7ac",
-        "21db1d94.b93312",
-        "b01a2888.afc958",
-        "8814bd0.a9cd04",
-        "a3b723.963fa8e",
-        "eefe56c7.aeba48",
-        "1d7f590a.25aba7",
-        "4f9762f1.7b8f7c",
-        "739bdc62.97be04",
-        "e93ff52d.80faa8",
-        "378b7e77.9ee662",
-        "8569d96f.59e838",
-        "2af7b981.494176",
-        "66231f4c.1fe22",
-        "d3523f5e.150e2",
-        "ce5ce7ac.be3938",
-        "a1d99b62.d31458"
-      ]
-    ]
-  },
-  {
-    "id": "ff4c2e55.307e9",
+    "x": 280.66675567626953,
+    "y": 763.666989326477,
+    "z": "c5494b7.49969b8",
+    "wires": [
+      [
+        "71d2a775.99ccc8",
+        "86f28d21.8ff7e",
+        "1d544933.c7e8c7",
+        "50fcdc11.a23244",
+        "a2033bb8.c74a28",
+        "f2405d05.22028",
+        "ec56abe8.7b3a98",
+        "c179291d.00bde8",
+        "c25408f5.164608",
+        "7e3b6576.8de5bc",
+        "e9a4c8c8.051068",
+        "9ac8f49c.624348",
+        "20fab8b2.cf42c8",
+        "833ee131.2bc86",
+        "37df268d.80523a",
+        "d3956bf2.5c5588",
+        "6f1e3f39.5773",
+        "f462086d.871178",
+        "47d46647.d7f098",
+        "24dcefec.86843",
+        "589c7732.243f08"
+      ]
+    ]
+  },
+  {
+    "id": "71d2a775.99ccc8",
     "type": "returnSuccess",
     "name": "return success",
     "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",
     "comments": "",
-    "x": 659.3384132385254,
-    "y": 1777.088438987732,
-    "z": "2525d6cd.61f35a",
+    "x": 605.3345069885254,
+    "y": 1561.334532737732,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "1d7f590a.25aba7",
+    "id": "7e3b6576.8de5bc",
     "type": "execute",
     "name": "execute RestApiCallNode device port create",
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"portResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />",
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-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.openecomp.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`\" />",
     "comments": "",
     "outputs": 1,
-    "x": 749.3380165100098,
-    "y": 974.643404006958,
-    "z": "2525d6cd.61f35a",
+    "x": 695.3341102600098,
+    "y": 758.889497756958,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "53451b0.d0c27e4",
-        "d2d2e81c.454428"
+        "68948952.c50068",
+        "b1429997.066598"
       ]
     ]
   },
   {
-    "id": "53451b0.d0c27e4",
+    "id": "68948952.c50068",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 998.3380756378174,
-    "y": 988.6436100006104,
-    "z": "2525d6cd.61f35a",
+    "x": 944.3341693878174,
+    "y": 772.8897037506104,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "eca1c460.e76228"
+        "4a0bff89.5f70e"
       ]
     ]
   },
   {
-    "id": "d2d2e81c.454428",
+    "id": "b1429997.066598",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 998.3380756378174,
-    "y": 950.6434454917908,
-    "z": "2525d6cd.61f35a",
+    "x": 944.3341693878174,
+    "y": 734.8895392417908,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "104d6c7d.be4024"
+        "3a88421d.260dee"
       ]
     ]
   },
   {
-    "id": "104d6c7d.be4024",
+    "id": "3a88421d.260dee",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 1142.3384094238281,
-    "y": 949.6434450149536,
-    "z": "2525d6cd.61f35a",
+    "x": 1088.3345031738281,
+    "y": 733.8895387649536,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "eca1c460.e76228",
+    "id": "4a0bff89.5f70e",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "comments": "",
     "outputs": 1,
-    "x": 1145.3380870819092,
-    "y": 989.6434488296509,
-    "z": "2525d6cd.61f35a",
+    "x": 1091.3341808319092,
+    "y": 773.8895425796509,
+    "z": "c5494b7.49969b8",
     "wires": [
       []
     ]
   },
   {
-    "id": "4f9762f1.7b8f7c",
+    "id": "e9a4c8c8.051068",
     "type": "execute",
     "name": "execute RestApiCallNode get transport network info",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/network-orchestration-resources'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"transportNetworksResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />",
     "comments": "",
     "outputs": 1,
-    "x": 772.0043678283691,
-    "y": 1153.7545094490051,
-    "z": "2525d6cd.61f35a",
+    "x": 718.0004615783691,
+    "y": 938.0006031990051,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "af3e9c1f.7be91",
-        "394b70c0.ac6f"
+        "2354042c.5855cc",
+        "d065ad9e.5a092"
       ]
     ]
   },
   {
-    "id": "e93ff52d.80faa8",
+    "id": "20fab8b2.cf42c8",
     "type": "execute",
     "name": "execute RestApiCallNode wan port create",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"wanPortResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />",
     "comments": "",
     "outputs": 1,
-    "x": 745.0044593811035,
-    "y": 1390.754557609558,
-    "z": "2525d6cd.61f35a",
+    "x": 691.0005531311035,
+    "y": 1175.000651359558,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "727c41a7.9551b",
-        "51280d82.cd5cc4"
+        "55b035dc.e280bc",
+        "317ef84d.a3fa48"
       ]
     ]
   },
   {
-    "id": "36b7eecd.26eef2",
+    "id": "86f28d21.8ff7e",
     "type": "switchNode",
     "name": "switch service-data.vnfs.vnf_length",
     "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 731.0248413085938,
-    "y": 317.77481842041016,
-    "z": "2525d6cd.61f35a",
+    "x": 677.0209350585938,
+    "y": 102.02091217041016,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "7f1fbca4.9489e4",
-        "5c724185.8e516",
-        "5b28fd04.e48584"
+        "63db3e02.79edb",
+        "4a9b0d37.8bb004",
+        "a6fa95c8.c66c58"
       ]
     ]
   },
   {
-    "id": "7f1fbca4.9489e4",
+    "id": "63db3e02.79edb",
     "type": "other",
     "name": "Null",
     "xml": "<outcome value=''>\n",
     "comments": "",
     "outputs": 1,
-    "x": 983.0248756408691,
-    "y": 318.77489948272705,
-    "z": "2525d6cd.61f35a",
+    "x": 929.0209693908691,
+    "y": 103.02099323272705,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "9ce50f4e.b2fc8"
+        "9de50dea.b6dd6"
       ]
     ]
   },
   {
-    "id": "9ce50f4e.b2fc8",
+    "id": "9de50dea.b6dd6",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 1144.8026237487793,
-    "y": 298.66384649276733,
-    "z": "2525d6cd.61f35a",
+    "x": 1090.7987174987793,
+    "y": 82.90994024276733,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "5c724185.8e516",
+    "id": "4a9b0d37.8bb004",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 976.0252838134766,
-    "y": 351.7749032974243,
-    "z": "2525d6cd.61f35a",
+    "x": 922.0213775634766,
+    "y": 136.02099704742432,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "85017b74.ea3478"
+        "debc8f64.af94a"
       ]
     ]
   },
   {
-    "id": "85017b74.ea3478",
+    "id": "debc8f64.af94a",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 994.2947769165039,
-    "y": 514.3294858932495,
-    "z": "2525d6cd.61f35a",
+    "x": 945.2908935546875,
+    "y": 234.57559204101562,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "6e42e95a.0ecb68",
-        "f672c022.be35c",
-        "59c48b6.04c5c74",
-        "5cf9118c.68854",
-        "388b05e0.8ee79a"
+        "7c8738b1.877ca8",
+        "943a7232.2883e",
+        "b75d8380.35bfa",
+        "13bc1f79.03e581",
+        "53d7471c.3e1cc8"
       ]
     ]
   },
   {
-    "id": "6e42e95a.0ecb68",
+    "id": "7c8738b1.877ca8",
     "type": "for",
     "name": "for vidx..service-data.vnfs.vnf_length[]",
     "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 1279.3109436035156,
-    "y": 344.20346450805664,
-    "z": "2525d6cd.61f35a",
+    "x": 1225.3070373535156,
+    "y": 128.44955825805664,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "7f2ca034.081d2"
+        "c2d9f7f0.e01aa8"
       ]
     ]
   },
   {
-    "id": "f672c022.be35c",
+    "id": "943a7232.2883e",
     "type": "switchNode",
     "name": "switch tmp.vidx ",
     "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 1205.612247467041,
-    "y": 490.18669986724854,
-    "z": "2525d6cd.61f35a",
+    "x": 1151.608341217041,
+    "y": 274.43279361724854,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "40c5bcb3.8f3694"
+        "ea056417.1dc458"
       ]
     ]
   },
   {
-    "id": "40c5bcb3.8f3694",
+    "id": "ea056417.1dc458",
     "type": "outcome",
     "name": "NULL",
     "xml": "<outcome value=''>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1353.0408897399902,
-    "y": 489.7581100463867,
-    "z": "2525d6cd.61f35a",
+    "x": 1299.0369834899902,
+    "y": 274.0042037963867,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "8c183b0a.c20d58"
+        "b740de23.ab078"
       ]
     ]
   },
   {
-    "id": "52d419f2.072bd8",
+    "id": "8f939166.1a702",
     "type": "switchNode",
     "name": "switch vnfid found",
     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 1652.7401733398438,
-    "y": 343.45362663269043,
-    "z": "2525d6cd.61f35a",
+    "x": 1598.7362670898438,
+    "y": 127.69972038269043,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "7d43258f.b6dc1c"
+        "32b14615.3ef46a"
       ]
     ]
   },
   {
-    "id": "8c183b0a.c20d58",
+    "id": "b740de23.ab078",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 1502.4696159362793,
-    "y": 490.90102767944336,
-    "z": "2525d6cd.61f35a",
+    "x": 1448.4657096862793,
+    "y": 275.14712142944336,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "7d43258f.b6dc1c",
+    "id": "32b14615.3ef46a",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1807.6921653747559,
-    "y": 344.34630584716797,
-    "z": "2525d6cd.61f35a",
+    "x": 1753.6882591247559,
+    "y": 128.59239959716797,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "7b4fae02.aca0c"
+        "d8c80e8.07446f"
       ]
     ]
   },
   {
-    "id": "5f826b27.adc144",
+    "id": "bf24dea8.ee4f4",
     "type": "set",
     "name": "set tmp.vidx and ctx.vnf-data",
     "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
     "comments": "",
-    "x": 2215.224250793457,
-    "y": 254.09636402130127,
-    "z": "2525d6cd.61f35a",
+    "x": 2161.220344543457,
+    "y": 38.34245777130127,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "5b28fd04.e48584",
+    "id": "a6fa95c8.c66c58",
     "type": "outcome",
     "name": "0",
     "xml": "<outcome value='0'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 984.9936256408691,
-    "y": 282.74358558654785,
-    "z": "2525d6cd.61f35a",
+    "x": 930.9897193908691,
+    "y": 66.98967933654785,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "9ce50f4e.b2fc8"
+        "9de50dea.b6dd6"
       ]
     ]
   },
   {
-    "id": "378b7e77.9ee662",
+    "id": "833ee131.2bc86",
     "type": "set",
     "name": "set device PortId to service data",
     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].name' value='devicePortId' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].value' value='`$prop.wan.devicePortId`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1`' />\n\n\n\n\n",
     "comments": "",
-    "x": 711.9948043823242,
-    "y": 1513.744936466217,
-    "z": "2525d6cd.61f35a",
+    "x": 657.9908981323242,
+    "y": 1297.991030216217,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "b1043d5b.c9816",
+    "id": "3f244f2b.bb62c",
     "type": "comment",
     "name": "Get siteId from site resource created for this service",
     "info": "",
     "comments": "",
-    "x": 756.9938888549805,
-    "y": 503.07712268829346,
-    "z": "2525d6cd.61f35a",
+    "x": 702.9899826049805,
+    "y": 287.32321643829346,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "7f2ca034.081d2",
+    "id": "c2d9f7f0.e01aa8",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1498.6605758666992,
-    "y": 343.74354457855225,
-    "z": "2525d6cd.61f35a",
+    "x": 1444.6566696166992,
+    "y": 127.98963832855225,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "52d419f2.072bd8"
+        "8f939166.1a702"
       ]
     ]
   },
   {
-    "id": "236a2d57.6cfe02",
+    "id": "1d544933.c7e8c7",
     "type": "set",
     "name": "set vnfId and vnf-object-path",
     "xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $vnf-topology-operation-input.vnf-information.vnf-id  + '/vnf-data/'` \" />",
     "comments": "",
-    "x": 692.5501174926758,
-    "y": 1655.9668502807617,
-    "z": "2525d6cd.61f35a",
+    "x": 638.5462112426758,
+    "y": 1440.2129440307617,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "7b3df5af.3ce7ac",
+    "id": "50fcdc11.a23244",
     "type": "set",
     "name": "set vnf-level-oper-status to Active",
     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='Active' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
     "comments": "",
-    "x": 709.9945793151855,
-    "y": 1695.744686126709,
-    "z": "2525d6cd.61f35a",
+    "x": 655.9906730651855,
+    "y": 1479.990779876709,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "a1d99b62.d31458",
+    "id": "24dcefec.86843",
     "type": "update",
-    "name": "save SDWAN wan port instance configuration in AAI",
+    "name": "update SDWAN wan port instance configuration in AAI",
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='wan-port-config' \n      key='wan-port-config.wan-port-config-id = $vnf-topology-operation-input.vnf-information.vnf-id' >\n<parameter name=\"wan-port-config-id\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" />\n<parameter name='operational-status' value='Active' />\n<parameter name='device-port-id' value='`$prop.wan.devicePortId`' />\n<parameter name='wan-port-id' value='`$prop.wan.wanPortId`' />\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n",
     "comments": "",
     "outputs": 1,
-    "x": 772.6575050354004,
-    "y": 1734.8921480178833,
-    "z": "2525d6cd.61f35a",
+    "x": 718.6535987854004,
+    "y": 1519.1382417678833,
+    "z": "c5494b7.49969b8",
     "wires": [
       []
     ]
   },
   {
-    "id": "44786d4c.78c0b4",
+    "id": "d2796204.52637",
     "type": "set",
     "name": "set prop.wan.transportNetworkId",
     "xml": "<set>\n<parameter name='prop.wan.transportNetworkId' value='`$transportNetworksResp.data.transportNetworks[$tidx].id`' />\n",
     "comments": "",
-    "x": 1526.995449066162,
-    "y": 1230.7445812225342,
-    "z": "2525d6cd.61f35a",
+    "x": 1472.991542816162,
+    "y": 1014.9906749725342,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "ce5ce7ac.be3938",
+    "id": "47d46647.d7f098",
     "type": "for",
     "name": "for loop sidx - Get siteId from servicedata",
     "xml": "<for index=\"sidx\" start=\"0\" end=\"`$ctx.site.vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
     "comments": "",
     "outputs": 1,
-    "x": 736.9939117431641,
-    "y": 653.7437791824341,
-    "z": "2525d6cd.61f35a",
+    "x": 682.9900054931641,
+    "y": 437.9898729324341,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "4aaf0dac.f4bd44"
+        "76cf61ce.029d7"
       ]
     ]
   },
   {
-    "id": "3237e366.c0b81c",
+    "id": "86accd11.8f202",
     "type": "switchNode",
     "name": "switch siteId",
     "xml": "<switch test=\"`$ctx.site.vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'siteId'`\">\n",
     "comments": "",
     "outputs": 1,
-    "x": 1167.994239807129,
-    "y": 654.7439098358154,
-    "z": "2525d6cd.61f35a",
+    "x": 1113.990333557129,
+    "y": 438.99000358581543,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "c0bb2f42.b3aaf"
+        "381535ee.b503aa"
       ]
     ]
   },
   {
-    "id": "c0bb2f42.b3aaf",
+    "id": "381535ee.b503aa",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1305.9946975708008,
-    "y": 652.7438945770264,
-    "z": "2525d6cd.61f35a",
+    "x": 1251.9907913208008,
+    "y": 436.98998832702637,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "1433eee.8c0de11"
+        "c7f6c6b6.dd3458"
       ]
     ]
   },
   {
-    "id": "1433eee.8c0de11",
+    "id": "c7f6c6b6.dd3458",
     "type": "set",
     "name": "set prop.wan.siteId",
     "xml": "<set>\n<parameter name='prop.wan.siteId' value='`$ctx.site.vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].value`' />\n\n\n",
     "comments": "",
-    "x": 1469.9947319030762,
-    "y": 654.3437480926514,
-    "z": "2525d6cd.61f35a",
+    "x": 1415.9908256530762,
+    "y": 438.58984184265137,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "739bdc62.97be04",
+    "id": "9ac8f49c.624348",
     "type": "execute",
     "name": "execute split ip and mask",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.wan.ipAddress`'/>\n<parameter name=\"regex\" value=\"/\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"ipandMask\"/>\n",
     "comments": "",
     "outputs": 1,
-    "x": 695.9942359924316,
-    "y": 1299.0775499343872,
-    "z": "2525d6cd.61f35a",
+    "x": 641.9903297424316,
+    "y": 1083.3236436843872,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "fdf45f99.54463",
-        "bde78d5d.e4b42"
+        "341a4e7a.2ecb22",
+        "9814af82.14df1"
       ]
     ]
   },
   {
-    "id": "bde78d5d.e4b42",
+    "id": "9814af82.14df1",
     "type": "failure",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 896.994255065918,
-    "y": 1277.0775413513184,
-    "z": "2525d6cd.61f35a",
+    "x": 842.990348815918,
+    "y": 1061.3236351013184,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "b4f4511b.838b7"
+        "5982d587.5c09fc"
       ]
     ]
   },
   {
-    "id": "fdf45f99.54463",
+    "id": "341a4e7a.2ecb22",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 896.9942588806152,
-    "y": 1318.0775451660156,
-    "z": "2525d6cd.61f35a",
+    "x": 842.9903526306152,
+    "y": 1102.3236389160156,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "284d3324.0f7a9c"
+        "4b6a103e.cf1d"
       ]
     ]
   },
   {
-    "id": "b4f4511b.838b7",
+    "id": "5982d587.5c09fc",
     "type": "set",
     "name": "set ipAddress prefixLength",
     "xml": "<set>\n<parameter name='prop.wan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.wan.prefixLength' value='`$ipandMask[1]`' />",
     "comments": "",
-    "x": 1093.9942741394043,
-    "y": 1275.0775413513184,
-    "z": "2525d6cd.61f35a",
+    "x": 1039.9903678894043,
+    "y": 1059.3236351013184,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "284d3324.0f7a9c",
+    "id": "4b6a103e.cf1d",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
     "comments": "",
-    "x": 1051.9942665100098,
-    "y": 1315.0775442123413,
-    "z": "2525d6cd.61f35a",
+    "x": 997.9903602600098,
+    "y": 1099.3236379623413,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "a3b723.963fa8e",
+    "id": "c179291d.00bde8",
     "type": "get-resource",
     "name": "get-resource esr-thirdparty-sdnc",
     "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",
     "comments": "",
     "outputs": 1,
-    "x": 730.4940643310547,
-    "y": 753.7438306808472,
-    "z": "2525d6cd.61f35a",
+    "x": 657.4901733398438,
+    "y": 535.9899291992188,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "e9572be2.73ae58",
-        "29c0457e.12142a",
-        "d78bfaf1.6dc7f8"
+        "53c5bb3d.7c4004",
+        "c92ee85c.183de8",
+        "7eccd819.0a52e8"
       ]
     ]
   },
   {
-    "id": "e9572be2.73ae58",
+    "id": "53c5bb3d.7c4004",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 943.4941635131836,
-    "y": 715.7438583374023,
-    "z": "2525d6cd.61f35a",
+    "x": 889.4902572631836,
+    "y": 499.98995208740234,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "b45f540f.db5988"
+        "2956fb6f.87c064"
       ]
     ]
   },
   {
-    "id": "29c0457e.12142a",
+    "id": "c92ee85c.183de8",
     "type": "not-found",
     "name": "not-found",
     "xml": "<outcome value='not-found'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 945.9850463867188,
-    "y": 751.3178949356079,
-    "z": "2525d6cd.61f35a",
+    "x": 891.9811401367188,
+    "y": 535.5639886856079,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "5afb7116.97e19"
+        "a9b78a3a.3499a8"
       ]
     ]
   },
   {
-    "id": "d78bfaf1.6dc7f8",
+    "id": "7eccd819.0a52e8",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 941.3180541992188,
-    "y": 787.6512537002563,
-    "z": "2525d6cd.61f35a",
+    "x": 887.3141479492188,
+    "y": 571.8973474502563,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "aca4c3f3.f6f79"
+        "47394338.72386c"
       ]
     ]
   },
   {
-    "id": "aca4c3f3.f6f79",
+    "id": "47394338.72386c",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 1095.0905456542969,
-    "y": 785.0903406143188,
-    "z": "2525d6cd.61f35a",
+    "x": 1041.0866394042969,
+    "y": 569.3364343643188,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "5afb7116.97e19",
+    "id": "a9b78a3a.3499a8",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 1091.5564422607422,
-    "y": 749.6035823822021,
-    "z": "2525d6cd.61f35a",
+    "x": 1037.5525360107422,
+    "y": 533.8496761322021,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "b45f540f.db5988",
+    "id": "2956fb6f.87c064",
     "type": "set",
     "name": "set controller data",
     "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",
     "comments": "",
-    "x": 1103.9942741394043,
-    "y": 713.7437982559204,
-    "z": "2525d6cd.61f35a",
+    "x": 1049.9903678894043,
+    "y": 497.9898920059204,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "21db1d94.b93312",
+    "id": "a2033bb8.c74a28",
     "type": "record",
     "name": "record",
     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"sdwan-wanport-vnf-topology-operation-activate\"/>\n<parameter name=\"field3\" value=\"SDWAN-Activate\"/>\n",
     "comments": "",
     "outputs": 1,
-    "x": 649.0040016174316,
-    "y": 373.75393629074097,
-    "z": "2525d6cd.61f35a",
+    "x": 595.0000953674316,
+    "y": 158.00003004074097,
+    "z": "c5494b7.49969b8",
     "wires": [
       []
     ]
   },
   {
-    "id": "b01a2888.afc958",
+    "id": "f2405d05.22028",
     "type": "execute",
     "name": "execute Properties",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
     "comments": "",
     "outputs": 1,
-    "x": 685.3061256408691,
-    "y": 408.7539801597595,
-    "z": "2525d6cd.61f35a",
+    "x": 631.3022193908691,
+    "y": 193.00007390975952,
+    "z": "c5494b7.49969b8",
     "wires": [
       []
     ]
   },
   {
-    "id": "eefe56c7.aeba48",
+    "id": "c25408f5.164608",
     "type": "execute",
     "name": "execute RestApiCallNode Get token",
     "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.openecomp.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\"/>",
     "comments": "",
     "outputs": 1,
-    "x": 733.004207611084,
-    "y": 843.4208326339722,
-    "z": "2525d6cd.61f35a",
+    "x": 672.0003051757812,
+    "y": 623.6669311523438,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "f0beb476.3438c8",
-        "bfd1c15b.d1a6c"
+        "5b62dba.23a6724",
+        "b4713e29.c43a8"
       ]
     ]
   },
   {
-    "id": "f0beb476.3438c8",
+    "id": "5b62dba.23a6724",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 961.004337310791,
-    "y": 825.420825958252,
-    "z": "2525d6cd.61f35a",
+    "x": 907.000431060791,
+    "y": 609.666919708252,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "7978fb11.837754"
+        "c924c712.8a8378"
       ]
     ]
   },
   {
-    "id": "7978fb11.837754",
+    "id": "c924c712.8a8378",
     "type": "set",
     "name": "set token-id",
     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
     "comments": "",
-    "x": 1103.0043449401855,
-    "y": 824.4208269119263,
-    "z": "2525d6cd.61f35a",
+    "x": 1049.0004386901855,
+    "y": 608.6669206619263,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "518fd324.836c3c",
+    "id": "8c376d8d.f2769",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 1109.0043449401855,
-    "y": 861.8138151168823,
-    "z": "2525d6cd.61f35a",
+    "x": 1055.0004386901855,
+    "y": 646.0599088668823,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "bfd1c15b.d1a6c",
+    "id": "b4713e29.c43a8",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 960.254337310791,
-    "y": 861.0637331008911,
-    "z": "2525d6cd.61f35a",
+    "x": 906.250431060791,
+    "y": 645.3098268508911,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "518fd324.836c3c"
+        "8c376d8d.f2769"
       ]
     ]
   },
   {
-    "id": "e5fec542.f96808",
+    "id": "332a8bf5.782ff4",
     "type": "switchNode",
     "name": "switch transportNetworkName same",
     "xml": "<switch test=\"`$transportNetworksResp.data.transportNetworks[$tidx].name == $prop.wan.transportNetworkName`\">\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 1166.0050621032715,
-    "y": 1188.420979499817,
-    "z": "2525d6cd.61f35a",
+    "x": 1112.0011558532715,
+    "y": 972.6670732498169,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "5378ee5d.02dde"
+        "e5f6f7b4.354b98"
       ]
     ]
   },
   {
-    "id": "5378ee5d.02dde",
+    "id": "e5f6f7b4.354b98",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1379.0045127868652,
-    "y": 1188.4208974838257,
-    "z": "2525d6cd.61f35a",
+    "x": 1325.0006065368652,
+    "y": 972.6669912338257,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "44786d4c.78c0b4"
+        "d2796204.52637"
       ]
     ]
   },
   {
-    "id": "a080fa5f.ddeb88",
+    "id": "7105dd86.af6c34",
     "type": "switchNode",
     "name": "switch ActivateSDWANDeviceInstance",
     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n    \n    \n\n",
     "comments": "",
     "outputs": 1,
-    "x": 1593.3375091552734,
-    "y": 420.753963470459,
-    "z": "2525d6cd.61f35a",
+    "x": 1539.3336029052734,
+    "y": 205.00005722045898,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "6c3d1f35.43a16"
+        "dd40279f.8eeea8"
       ]
     ]
   },
   {
-    "id": "6c3d1f35.43a16",
+    "id": "dd40279f.8eeea8",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1816.3375186920166,
-    "y": 420.753963470459,
-    "z": "2525d6cd.61f35a",
+    "x": 1762.3336124420166,
+    "y": 205.00005722045898,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "4f891fe5.5f59b"
+        "12149667.72f80a"
       ]
     ]
   },
   {
-    "id": "57757525.a0de7c",
+    "id": "c1942dca.f90c1",
     "type": "set",
     "name": "set tmp.devicevidx",
     "xml": "<set>\n<parameter name='tmp.devicevidx' value='`$vidx`' />\n\n",
     "comments": "",
-    "x": 2781.3368530273438,
-    "y": 851.7539882659912,
-    "z": "2525d6cd.61f35a",
+    "x": 2727.3329467773438,
+    "y": 636.0000820159912,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "388b05e0.8ee79a",
+    "id": "53d7471c.3e1cc8",
     "type": "switchNode",
     "name": "switch tmp.devicevidx",
     "xml": "<switch test=\"`$tmp.devicevidx`\">\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 1246.3374366760254,
-    "y": 578.7540259361267,
-    "z": "2525d6cd.61f35a",
+    "x": 1192.3335304260254,
+    "y": 363.0001196861267,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "44f27715.04a478"
+        "4602555f.435cec"
       ]
     ]
   },
   {
-    "id": "44f27715.04a478",
+    "id": "4602555f.435cec",
     "type": "outcome",
     "name": "NULL",
     "xml": "<outcome value=''>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1430.7660026550293,
-    "y": 579.3254628181458,
-    "z": "2525d6cd.61f35a",
+    "x": 1376.7620964050293,
+    "y": 363.57155656814575,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "143c0c16.156cc4"
+        "5520e03f.96b18"
       ]
     ]
   },
   {
-    "id": "143c0c16.156cc4",
+    "id": "5520e03f.96b18",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"ActivateSDWANDeviceInstance not found in service-data\" />\n",
     "comments": "",
-    "x": 1571.1947441101074,
-    "y": 579.4683423042297,
-    "z": "2525d6cd.61f35a",
+    "x": 1517.1908378601074,
+    "y": 363.71443605422974,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "fd72d81.72be228",
+    "id": "6f8cf23f.0209dc",
     "type": "comment",
     "name": "Get deviceId from device resource created for this service",
     "info": "",
     "comments": "",
-    "x": 2230.6707916259766,
-    "y": 518.0872421264648,
-    "z": "2525d6cd.61f35a",
+    "x": 2176.6668853759766,
+    "y": 302.33333587646484,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "d06cae4f.399ba",
+    "id": "489eb82a.f952c8",
     "type": "for",
     "name": "for loop didx - Get deviceId from servicedata",
     "xml": "<for index=\"didx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
     "comments": "",
     "outputs": 1,
-    "x": 2216.671001434326,
-    "y": 441.75388622283936,
-    "z": "2525d6cd.61f35a",
+    "x": 2162.667095184326,
+    "y": 225.99997997283936,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "cc06f146.51f0f"
+        "a840f568.e72fe8"
       ]
     ]
   },
   {
-    "id": "fc2a7486.890a38",
+    "id": "b3441b30.aa4ab8",
     "type": "switchNode",
     "name": "switch name (DeviceName)",
     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$didx].name == 'name'`\">\n",
     "comments": "",
     "outputs": 1,
-    "x": 2234.671600341797,
-    "y": 579.7541313171387,
-    "z": "2525d6cd.61f35a",
+    "x": 2180.667694091797,
+    "y": 364.0002250671387,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "e011449c.868068"
+        "fc0b9b1d.28c708"
       ]
     ]
   },
   {
-    "id": "e011449c.868068",
+    "id": "fc0b9b1d.28c708",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2436.672092437744,
-    "y": 573.7541913986206,
-    "z": "2525d6cd.61f35a",
+    "x": 2382.668186187744,
+    "y": 358.0002851486206,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "4999ecb0.3d8164"
+        "b4f179c9.a214f8"
       ]
     ]
   },
   {
-    "id": "4aaf0dac.f4bd44",
+    "id": "76cf61ce.029d7",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 999.0041046142578,
-    "y": 654.4206037521362,
-    "z": "2525d6cd.61f35a",
+    "x": 945.0001983642578,
+    "y": 438.66669750213623,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "3237e366.c0b81c"
+        "86accd11.8f202"
       ]
     ]
   },
   {
-    "id": "cc06f146.51f0f",
+    "id": "a840f568.e72fe8",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 2009.003890991211,
-    "y": 578.4206323623657,
-    "z": "2525d6cd.61f35a",
+    "x": 1954.999984741211,
+    "y": 362.6667261123657,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "fc2a7486.890a38"
+        "b3441b30.aa4ab8"
       ]
     ]
   },
   {
-    "id": "1d887fbe.2fb47",
+    "id": "556d9445.4f2e4c",
     "type": "switchNode",
     "name": "switch deviceId",
     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",
     "comments": "",
     "outputs": 1,
-    "x": 3080.0050506591797,
-    "y": 792.4209289550781,
-    "z": "2525d6cd.61f35a",
+    "x": 3026.0011444091797,
+    "y": 576.6670227050781,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "e9c4ed3a.99165"
+        "4439d129.bb0b6"
       ]
     ]
   },
   {
-    "id": "e9c4ed3a.99165",
+    "id": "4439d129.bb0b6",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 3233.0054206848145,
-    "y": 793.4210062026978,
-    "z": "2525d6cd.61f35a",
+    "x": 3179.0015144348145,
+    "y": 577.6670999526978,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "49a9daf2.48f304"
+        "8f56b9b3.9c5728"
       ]
     ]
   },
   {
-    "id": "49a9daf2.48f304",
+    "id": "8f56b9b3.9c5728",
     "type": "set",
     "name": "set prop.wan.deviceId",
     "xml": "<set>\n<parameter name='prop.wan.deviceId' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].value`' />\n",
     "comments": "",
-    "x": 3402.0060272216797,
-    "y": 792.0210409164429,
-    "z": "2525d6cd.61f35a",
+    "x": 3348.0021209716797,
+    "y": 576.2671346664429,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "4f891fe5.5f59b",
+    "id": "12149667.72f80a",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 1957.6708374023438,
-    "y": 442.75398349761963,
-    "z": "2525d6cd.61f35a",
+    "x": 1903.6669311523438,
+    "y": 227.00007724761963,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "d06cae4f.399ba"
+        "489eb82a.f952c8"
       ]
     ]
   },
   {
-    "id": "4999ecb0.3d8164",
+    "id": "b4f179c9.a214f8",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 2255.0051345825195,
-    "y": 656.7541608810425,
-    "z": "2525d6cd.61f35a",
+    "x": 2201.0012283325195,
+    "y": 441.0002546310425,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "46a841ba.4af92"
+        "41b636f7.4605d8"
       ]
     ]
   },
   {
-    "id": "c5bcabb0.9f3978",
+    "id": "3c83342b.bff06c",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2644.0058403015137,
-    "y": 659.7542858123779,
-    "z": "2525d6cd.61f35a",
+    "x": 2590.0019340515137,
+    "y": 444.00037956237793,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "512e7a73.c439f4"
+        "d216e689.2df0f8"
       ]
     ]
   },
   {
-    "id": "7b4fae02.aca0c",
+    "id": "d8c80e8.07446f",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 1946.3376846313477,
-    "y": 344.7539396286011,
-    "z": "2525d6cd.61f35a",
+    "x": 1892.3337783813477,
+    "y": 129.00003337860107,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "5f826b27.adc144",
-        "3b7b404e.14ae9",
-        "11bb0a8f.c8a415",
-        "207a1eb2.66eaf2"
+        "bf24dea8.ee4f4",
+        "b88755ee.f99b38",
+        "be26bd6d.b6d6a",
+        "d34abb03.648a78"
       ]
     ]
   },
   {
-    "id": "66231f4c.1fe22",
+    "id": "6f1e3f39.5773",
     "type": "set",
     "name": "set prop.wan.wanPortId",
     "xml": "<set>\n<parameter name='prop.wan.wanPortId' value='`$wanPortResp.success[0].id`' />\n",
     "comments": "",
-    "x": 693.3285293579102,
-    "y": 1455.4113006591797,
-    "z": "2525d6cd.61f35a",
+    "x": 639.3246231079102,
+    "y": 1239.6573944091797,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "8569d96f.59e838",
+    "id": "37df268d.80523a",
     "type": "set",
     "name": "set prop.wan.devicePortId",
     "xml": "<set>\n<parameter name='prop.wan.devicePortId' value='`$portResp.success[0].id`' />\n",
     "comments": "",
-    "x": 703.9952239990234,
-    "y": 1036.7445602416992,
-    "z": "2525d6cd.61f35a",
+    "x": 649.9913177490234,
+    "y": 820.9906539916992,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "f2d45048.04d33",
+    "id": "99c82c97.d67a7",
     "type": "comment",
     "name": "Create port",
     "info": "",
     "comments": "",
-    "x": 651.0039558410645,
-    "y": 941.0874280929565,
-    "z": "2525d6cd.61f35a",
+    "x": 597.0000495910645,
+    "y": 725.3335218429565,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "f7f10711.f1f2c8",
+    "id": "5cfea39.096ff5c",
     "type": "comment",
     "name": "Get network id",
     "info": "",
     "comments": "",
-    "x": 702.0040283203125,
-    "y": 1119.0873865485191,
-    "z": "2525d6cd.61f35a",
+    "x": 648.0001220703125,
+    "y": 903.3334802985191,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "8a3200f.80e49",
+    "id": "d44c9330.7b098",
     "type": "comment",
     "name": "Create wan port",
     "info": "",
     "comments": "",
-    "x": 669.0041122436523,
-    "y": 1252.0875997543335,
-    "z": "2525d6cd.61f35a",
+    "x": 615.0002059936523,
+    "y": 1036.3336935043335,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "51280d82.cd5cc4",
+    "id": "317ef84d.a3fa48",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1031.0040283203125,
-    "y": 1350.7541456222534,
-    "z": "2525d6cd.61f35a",
+    "x": 977.0001220703125,
+    "y": 1135.0002393722534,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "7e3eadf1.9f0d14"
+        "12534eac.cdc831"
       ]
     ]
   },
   {
-    "id": "727c41a7.9551b",
+    "id": "55b035dc.e280bc",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1031.0040245056152,
-    "y": 1390.7543106079102,
-    "z": "2525d6cd.61f35a",
+    "x": 977.0001182556152,
+    "y": 1175.0004043579102,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "e2be8d7c.bac7d"
+        "9238f861.a33ef8"
       ]
     ]
   },
   {
-    "id": "e2be8d7c.bac7d",
+    "id": "9238f861.a33ef8",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "comments": "",
     "outputs": 1,
-    "x": 1175.0040397644043,
-    "y": 1389.754147529602,
-    "z": "2525d6cd.61f35a",
+    "x": 1121.0001335144043,
+    "y": 1174.000241279602,
+    "z": "c5494b7.49969b8",
     "wires": [
       []
     ]
   },
   {
-    "id": "7e3eadf1.9f0d14",
+    "id": "12534eac.cdc831",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create wan port rest api\" />\n",
     "comments": "",
-    "x": 1173.0043601989746,
-    "y": 1349.7541456222534,
-    "z": "2525d6cd.61f35a",
+    "x": 1119.0004539489746,
+    "y": 1134.0002393722534,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "394b70c0.ac6f",
+    "id": "d065ad9e.5a092",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1078.0039558410645,
-    "y": 1101.7540845870972,
-    "z": "2525d6cd.61f35a",
+    "x": 1024.0000495910645,
+    "y": 886.0001783370972,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "7a566c5c.f46854"
+        "1b98a4a8.664bdb"
       ]
     ]
   },
   {
-    "id": "af3e9c1f.7be91",
+    "id": "2354042c.5855cc",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1078.0039520263672,
-    "y": 1141.754249572754,
-    "z": "2525d6cd.61f35a",
+    "x": 1024.0000457763672,
+    "y": 926.0003433227539,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "1ebcd5ee.10112a"
+        "8ba4e30f.14b38"
       ]
     ]
   },
   {
-    "id": "1ebcd5ee.10112a",
+    "id": "8ba4e30f.14b38",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "comments": "",
     "outputs": 1,
-    "x": 1222.0039672851562,
-    "y": 1140.7540864944458,
-    "z": "2525d6cd.61f35a",
+    "x": 1168.0000610351562,
+    "y": 925.0001802444458,
+    "z": "c5494b7.49969b8",
     "wires": [
       []
     ]
   },
   {
-    "id": "7a566c5c.f46854",
+    "id": "1b98a4a8.664bdb",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Get transport network info rest api\" />\n",
     "comments": "",
-    "x": 1220.0042877197266,
-    "y": 1100.7540845870972,
-    "z": "2525d6cd.61f35a",
+    "x": 1166.0003814697266,
+    "y": 885.0001783370972,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "11bb0a8f.c8a415",
+    "id": "be26bd6d.b6d6a",
     "type": "call",
     "name": "call sdwan-get-wan-param",
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 2218.670539855957,
-    "y": 350.7539825439453,
-    "z": "2525d6cd.61f35a",
+    "x": 2164.666633605957,
+    "y": 135.0000762939453,
+    "z": "c5494b7.49969b8",
     "wires": [
       []
     ]
   },
   {
-    "id": "3b7b404e.14ae9",
+    "id": "b88755ee.f99b38",
     "type": "set",
     "name": "set vnf-request-input.",
     "xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n",
     "comments": "",
-    "x": 2187.670539855957,
-    "y": 300.753999710083,
-    "z": "2525d6cd.61f35a",
+    "x": 2133.666633605957,
+    "y": 85.00009346008301,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "5738aa95.6c6dc4",
+    "id": "bb494b87.830e28",
     "type": "comment",
     "name": "This is also required for template parameters update",
     "info": "",
     "comments": "",
-    "x": 2583.0043029785156,
-    "y": 396.753942489624,
-    "z": "2525d6cd.61f35a",
+    "x": 2529.0003967285156,
+    "y": 181.00003623962402,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "f74da2b3.1326d",
+    "id": "c939644e.f0b858",
     "type": "switchNode",
     "name": "switch ActivateSiteInstance",
     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.request-information.request-action == 'ActivateSiteInstance'`\">\n    \n    \n\n",
     "comments": "",
     "outputs": 1,
-    "x": 1556.0043487548828,
-    "y": 385.75395584106445,
-    "z": "2525d6cd.61f35a",
+    "x": 1502.0004425048828,
+    "y": 170.00004959106445,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "3fa03eb7.c59572"
+        "89f80af3.346938"
       ]
     ]
   },
   {
-    "id": "3fa03eb7.c59572",
+    "id": "89f80af3.346938",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1752.0045318603516,
-    "y": 386.75395584106445,
-    "z": "2525d6cd.61f35a",
+    "x": 1698.0006256103516,
+    "y": 171.00004959106445,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "5e72f4d2.b107fc"
+        "5dd3893f.4a7ea8"
       ]
     ]
   },
   {
-    "id": "5e72f4d2.b107fc",
+    "id": "5dd3893f.4a7ea8",
     "type": "set",
     "name": "set tmp.siteVidx",
     "xml": "<set>\n<parameter name='tmp.siteVidx' value='`$vidx`' />\n<parameter name='ctx.site.' value='`$service-data.vnfs.vnf[$vidx].`' />\n\n",
     "comments": "",
-    "x": 1938.0038299560547,
-    "y": 383.7539596557617,
-    "z": "2525d6cd.61f35a",
+    "x": 1883.9999237060547,
+    "y": 168.00005340576172,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "5cf9118c.68854",
+    "id": "13bc1f79.03e581",
     "type": "switchNode",
     "name": "switch tmp.siteVidx",
     "xml": "<switch test=\"`$tmp.siteVidx`\">\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 1229.6706581115723,
-    "y": 527.7539763450623,
-    "z": "2525d6cd.61f35a",
+    "x": 1175.6667518615723,
+    "y": 312.00007009506226,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "9765105d.6b72d"
+        "e4930b56.8a59f8"
       ]
     ]
   },
   {
-    "id": "9765105d.6b72d",
+    "id": "e4930b56.8a59f8",
     "type": "outcome",
     "name": "NULL",
     "xml": "<outcome value=''>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1404.0993690490723,
-    "y": 528.3254280090332,
-    "z": "2525d6cd.61f35a",
+    "x": 1350.0954627990723,
+    "y": 312.5715217590332,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "3a85e200.dcaaae"
+        "a5febd63.c2db7"
       ]
     ]
   },
   {
-    "id": "3a85e200.dcaaae",
+    "id": "a5febd63.c2db7",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"ActivateSiteInstance not found in service-data\" />\n",
     "comments": "",
-    "x": 1546.5280876159668,
-    "y": 527.4682908058167,
-    "z": "2525d6cd.61f35a",
+    "x": 1492.5241813659668,
+    "y": 311.71438455581665,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "46a841ba.4af92",
+    "id": "41b636f7.4605d8",
     "type": "switchNode",
     "name": "switch deviceName match",
     "xml": "<switch test=\"`$prop.wan.deviceName == $service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$didx].value`\">\n\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2460.671859741211,
-    "y": 657.7542247772217,
-    "z": "2525d6cd.61f35a",
+    "x": 2406.667953491211,
+    "y": 442.0003185272217,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "c5bcabb0.9f3978"
+        "3c83342b.bff06c"
       ]
     ]
   },
   {
-    "id": "512e7a73.c439f4",
+    "id": "d216e689.2df0f8",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 2543.3377990722656,
-    "y": 731.7540683746338,
-    "z": "2525d6cd.61f35a",
+    "x": 2489.3338928222656,
+    "y": 516.0001621246338,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "4c673d0.8ff4ac4",
-        "57757525.a0de7c"
+        "93f36ff6.faafe",
+        "c1942dca.f90c1"
       ]
     ]
   },
   {
-    "id": "4c673d0.8ff4ac4",
+    "id": "93f36ff6.faafe",
     "type": "for",
     "name": "for loop deviceidx - Get deviceId from servicedata",
     "xml": "<for index=\"deviceidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
     "comments": "",
     "outputs": 1,
-    "x": 2823.5349502563477,
-    "y": 726.7852573394775,
-    "z": "2525d6cd.61f35a",
+    "x": 2769.5310440063477,
+    "y": 511.03135108947754,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "536e54bd.8b3bec"
+        "e2b7f439.b0d4b8"
       ]
     ]
   },
   {
-    "id": "536e54bd.8b3bec",
+    "id": "e2b7f439.b0d4b8",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 2900.5356826782227,
-    "y": 790.7853565216064,
-    "z": "2525d6cd.61f35a",
+    "x": 2846.5317764282227,
+    "y": 575.0314502716064,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "1d887fbe.2fb47"
+        "556d9445.4f2e4c"
       ]
     ]
   },
   {
-    "id": "207a1eb2.66eaf2",
+    "id": "d34abb03.648a78",
     "type": "record",
     "name": "record",
     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\".....\"/>\n<parameter name=\"field3\" value=\"prop.wan.deviceName\"/>\n<parameter name=\"field4\" value='`$prop.wan.deviceName`'/>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2146.535285949707,
-    "y": 398.7851734161377,
-    "z": "2525d6cd.61f35a",
+    "x": 2092.531379699707,
+    "y": 183.0312671661377,
+    "z": "c5494b7.49969b8",
     "wires": [
       []
     ]
   },
   {
-    "id": "59c48b6.04c5c74",
+    "id": "b75d8380.35bfa",
     "type": "for",
     "name": "for vidx..service-data.vnfs.vnf_length[]",
     "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 1272.003978729248,
-    "y": 421.7539234161377,
-    "z": "2525d6cd.61f35a",
+    "x": 1218.000072479248,
+    "y": 206.0000171661377,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "a080fa5f.ddeb88",
-        "f74da2b3.1326d"
+        "7105dd86.af6c34",
+        "c939644e.f0b858"
       ]
     ]
   },
   {
-    "id": "8814bd0.a9cd04",
+    "id": "ec56abe8.7b3a98",
     "type": "set",
     "name": "copy input data to service data",
     "xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' /-->\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />",
     "comments": "",
-    "x": 705.0351715087891,
-    "y": 1610.2851600646973,
-    "z": "2525d6cd.61f35a",
+    "x": 651.0312652587891,
+    "y": 1394.5312538146973,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "eac4599c.f1e908",
+    "id": "fdc70d4e.6c354",
     "type": "comment",
     "name": "TODO: split ip/mask",
     "info": "",
     "comments": "",
-    "x": 1093.00390625,
-    "y": 1237.2578134536743,
-    "z": "2525d6cd.61f35a",
+    "x": 1039,
+    "y": 1021.5039072036743,
+    "z": "c5494b7.49969b8",
     "wires": []
   },
   {
-    "id": "aa148c7f.0d986",
+    "id": "cb21e48e.93ff78",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 945.0047798156738,
-    "y": 1190.0876731872559,
-    "z": "2525d6cd.61f35a",
+    "x": 891.0008735656738,
+    "y": 974.3337669372559,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "e5fec542.f96808"
+        "332a8bf5.782ff4"
       ]
     ]
   },
   {
-    "id": "2af7b981.494176",
+    "id": "d3956bf2.5c5588",
     "type": "for",
     "name": "for loop tidx - Get transportNetwork ID",
     "xml": "<for index=\"tidx\" start=\"0\" end=\"`$transportNetworksResp.data.transportNetworks_length`\">\n    \n    \n",
     "comments": "",
     "outputs": 1,
-    "x": 729.0043983459473,
-    "y": 1189.0874290466309,
-    "z": "2525d6cd.61f35a",
+    "x": 675.0004920959473,
+    "y": 973.3335227966309,
+    "z": "c5494b7.49969b8",
     "wires": [
       [
-        "aa148c7f.0d986"
+        "cb21e48e.93ff78"
       ]
     ]
   },
   {
-    "id": "d3523f5e.150e2",
+    "id": "f462086d.871178",
     "type": "set",
     "name": "set wan portId to service data",
     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].name' value='wanPortId' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].value' value='`$prop.wan.wanPortId`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1`' />\n\n\n\n\n",
     "comments": "",
-    "x": 706.0038986206055,
-    "y": 1560.0040016174316,
-    "z": "2525d6cd.61f35a",
+    "x": 651.9999923706055,
+    "y": 1344.2500953674316,
+    "z": "c5494b7.49969b8",
     "wires": []
+  },
+  {
+    "id": "589c7732.243f08",
+    "type": "call",
+    "name": "call sdwan-get-tenant-auth",
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 647,
+    "y": 679,
+    "z": "c5494b7.49969b8",
+    "wires": [
+      []
+    ]
   }
 ]