integration test issues fix for sdwan and sotn
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-deactivate.json
index 448098c..2792153 100644 (file)
@@ -1,20 +1,20 @@
 [
   {
-    "id": "7430f04a.1774",
+    "id": "3141f6c5.a52fda",
     "type": "dgstart",
     "name": "DGSTART",
     "outputs": 1,
-    "x": 85.00390625,
-    "y": 36.999999046325684,
-    "z": "5c37638f.99fd6c",
+    "x": 91.00000190734863,
+    "y": 30.000000476837158,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "7176568b.6d7dc8"
+        "528c7612.26f178"
       ]
     ]
   },
   {
-    "id": "7176568b.6d7dc8",
+    "id": "528c7612.26f178",
     "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": 297.00391006469727,
-    "y": 109.00001621246338,
-    "z": "5c37638f.99fd6c",
+    "x": 275.00000381469727,
+    "y": 101.0000171661377,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "1281a61c.40d4ba"
+        "1e8ab7f2.25f3b8"
       ]
     ]
   },
   {
-    "id": "1281a61c.40d4ba",
+    "id": "1e8ab7f2.25f3b8",
     "type": "method",
     "name": "sdwan-attachment-topology-operation-deactivate",
     "xml": "<method rpc='sdwan-attachment-topology-operation-deactivate' mode='sync'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 285.0040283203125,
-    "y": 196.99999904632568,
-    "z": "5c37638f.99fd6c",
+    "x": 263.0001220703125,
+    "y": 189,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "cb789dee.7e0ea"
+        "64150157.da1a5"
       ]
     ]
   },
   {
-    "id": "cb789dee.7e0ea",
+    "id": "64150157.da1a5",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 301.0040283203125,
-    "y": 752.0002436637878,
-    "z": "5c37638f.99fd6c",
-    "wires": [
-      [
-        "b3e4fdfd.73c98",
-        "6160e5eb.eabd7c",
-        "36f03095.f7624",
-        "8b80d6.bfb8df28",
-        "c3c64d17.8399b",
-        "79aaa9c4.4c7368",
-        "f2ac7b6a.645e98",
-        "17808c6d.fbcb64",
-        "d8dcd45a.fcb0f8",
-        "bbb611b3.fa639",
-        "3e42552f.cc2b3a",
-        "dcc926d7.4a3488",
-        "4623075d.b08748",
-        "c6cd0b89.3b6988",
-        "d4cf70d6.63ae5",
-        "96741252.7528f",
-        "b30219b.8f8bde8",
-        "7dea7f5b.a3b81",
-        "5b38ce7d.8512a",
-        "4ed101e7.e4ff7",
-        "2a2d01cd.5646fe",
-        "4b5b6f95.ae82b",
-        "63f14ad3.bfd8e4"
-      ]
-    ]
-  },
-  {
-    "id": "b3e4fdfd.73c98",
+    "x": 279.0001220703125,
+    "y": 744.0002446174622,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "563dda64.17acc4",
+        "19755347.d05f3d",
+        "2f1e916c.daf57e",
+        "ff9c9326.09054",
+        "b6c9d7ee.523f68",
+        "d85e62b3.69a86",
+        "18a74ff1.92546",
+        "201a455d.c2e4fa",
+        "552d726e.db02dc",
+        "ed4b4b67.4cc708",
+        "b195de1c.2a671",
+        "98b3af96.5e7de",
+        "15eb2076.5c064",
+        "df909612.fb6138",
+        "ec442d3.475ffd",
+        "d5f5fd72.fb157",
+        "984be839.303c58",
+        "d0fca62a.672dd8",
+        "ce4d5b8.f77d2a8",
+        "2b9c4213.cf45fe",
+        "aac6b4b9.62d5b8",
+        "2888718c.b9c46e",
+        "217830b4.c0fbe",
+        "ddc38088.8a3fe",
+        "4044e726.54dc28",
+        "67ff0ce7.080b74",
+        "bf17376.0f432c8"
+      ]
+    ]
+  },
+  {
+    "id": "563dda64.17acc4",
     "type": "set",
     "name": "set tmp.ar.allotted-resource-id,etc",
     "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",
     "comments": "",
-    "x": 697.9974670410156,
-    "y": 150.9934859275818,
-    "z": "5c37638f.99fd6c",
+    "x": 675.9935607910156,
+    "y": 142.9934868812561,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "e79f6bf1.e760c8",
+    "id": "b26eaf7f.105fd",
     "type": "comment",
     "name": "set tmp ar-id to fetch resource from MDSAL",
     "info": "",
     "comments": "",
-    "x": 726.9577789306641,
-    "y": 115.02528190612793,
-    "z": "5c37638f.99fd6c",
+    "x": 704.9538726806641,
+    "y": 107.02528285980225,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "6160e5eb.eabd7c",
+    "id": "19755347.d05f3d",
     "type": "set",
     "name": "set tmp.ar.self-link",
     "xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/connection-attachment-topology/'` \" />\n\n",
     "comments": "",
-    "x": 651.9974060058594,
-    "y": 243.99349117279053,
-    "z": "5c37638f.99fd6c",
+    "x": 629.9934997558594,
+    "y": 235.99349212646484,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "8b80d6.bfb8df28",
+    "id": "ff9c9326.09054",
     "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": 658.2592964172363,
-    "y": 331.6602201461792,
-    "z": "5c37638f.99fd6c",
+    "x": 636.2553901672363,
+    "y": 323.6602210998535,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "36f03095.f7624",
+    "id": "2f1e916c.daf57e",
     "type": "execute",
     "name": "generate allotted-resource tmp.ar-url",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
     "comments": "",
     "outputs": 1,
-    "x": 708.2593994140625,
-    "y": 418.6602210998535,
-    "z": "5c37638f.99fd6c",
+    "x": 686.2554931640625,
+    "y": 410.66022205352783,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "a79814d4.cdbed8",
+    "id": "33dbe9f9.3e0e86",
     "type": "comment",
     "name": "GET connection-attachment-allotted-resource from mdsal",
     "info": "",
     "comments": "",
-    "x": 751.8124237060547,
-    "y": 510.5387668609619,
-    "z": "5c37638f.99fd6c",
+    "x": 729.8085174560547,
+    "y": 502.53876781463623,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "ad19a624.c947b8",
+    "id": "7a97d908.325eb8",
     "type": "comment",
     "name": "Used for setting output to API Handler",
     "info": "",
     "comments": "",
-    "x": 705.9974365234375,
-    "y": 210.9935007095337,
-    "z": "5c37638f.99fd6c",
+    "x": 683.9935302734375,
+    "y": 202.993501663208,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "543e0d5a.474aa4",
+    "id": "3fa36e27.322c42",
     "type": "comment",
     "name": "Obtain different URL, template location etc",
     "info": "For saving resource information to MDSAL & for AAI",
     "comments": "",
-    "x": 723.9974021911621,
-    "y": 296.882381439209,
-    "z": "5c37638f.99fd6c",
+    "x": 701.9934959411621,
+    "y": 288.8823823928833,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "512154aa.b3fb3c",
+    "id": "5088b8ea.1a2868",
     "type": "comment",
     "name": "Used to Get AR by id to MDSAL, same as self-link",
     "info": "",
     "comments": "",
-    "x": 749.9974212646484,
-    "y": 383.8823404312134,
-    "z": "5c37638f.99fd6c",
+    "x": 727.9935150146484,
+    "y": 375.8823413848877,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "515ee298.e46b6c",
+    "id": "758df544.297bec",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1192.6707344055176,
-    "y": 537.0000276565552,
-    "z": "5c37638f.99fd6c",
+    "x": 1170.6668281555176,
+    "y": 529.0000286102295,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "abb973f1.c78ab"
+        "50aac25b.5a95fc"
       ]
     ]
   },
   {
-    "id": "abb973f1.c78ab",
+    "id": "50aac25b.5a95fc",
     "type": "block",
     "name": "block: atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1361.6707382202148,
-    "y": 535.4999284744263,
-    "z": "5c37638f.99fd6c",
+    "x": 1339.6668319702148,
+    "y": 527.4999294281006,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "e8fcf921.210ef8"
+        "7cf78dbb.742bf4"
       ]
     ]
   },
   {
-    "id": "e8fcf921.210ef8",
+    "id": "7cf78dbb.742bf4",
     "type": "switchNode",
     "name": "switch cr length",
     "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1534.5280075073242,
-    "y": 473.11909103393555,
-    "z": "5c37638f.99fd6c",
+    "x": 1512.5241012573242,
+    "y": 465.11909198760986,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "386d63ec.fd330c",
-        "7e042bd8.776d24"
+        "e18ada9c.684278",
+        "c1fde691.c1a3e8"
       ]
     ]
   },
   {
-    "id": "386d63ec.fd330c",
+    "id": "e18ada9c.684278",
     "type": "other",
     "name": "outcome 1",
     "xml": "<outcome value='1'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1771.8612518310547,
-    "y": 451.1190414428711,
-    "z": "5c37638f.99fd6c",
+    "x": 1749.8573455810547,
+    "y": 443.1190423965454,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "d200a0fb.28d9a"
+        "13bc9514.12e8bb"
       ]
     ]
   },
   {
-    "id": "d200a0fb.28d9a",
+    "id": "13bc9514.12e8bb",
     "type": "block",
     "name": "block: atomic",
     "xml": "<block atomic='true'>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1956.3851413726807,
-    "y": 448.02387523651123,
-    "z": "5c37638f.99fd6c",
+    "x": 1934.3812351226807,
+    "y": 440.02387619018555,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "e41bac9c.61118",
-        "88329a50.a105f8",
-        "89950442.815df8"
+        "50a0dec4.4003e",
+        "ac41a03e.121ee",
+        "77bc2227.abfd3c"
       ]
     ]
   },
   {
-    "id": "d190b08a.d3505",
+    "id": "70cd8379.2fdf1c",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n    \n",
     "comments": "",
-    "x": 1880.5229835510254,
-    "y": 573.0661163330078,
-    "z": "5c37638f.99fd6c",
+    "x": 1858.5190773010254,
+    "y": 565.0661172866821,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "24c1e070.0695f",
+    "id": "eebf6b21.03ca48",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1184.5225372314453,
-    "y": 572.0661125183105,
-    "z": "5c37638f.99fd6c",
+    "x": 1162.5186309814453,
+    "y": 564.0661134719849,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "4c6403f2.3fe66c"
+        "6e2aefa.c6ce31"
       ]
     ]
   },
   {
-    "id": "4c6403f2.3fe66c",
+    "id": "6e2aefa.c6ce31",
     "type": "block",
     "name": "block: atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1364.5224876403809,
-    "y": 572.732663154602,
-    "z": "5c37638f.99fd6c",
+    "x": 1342.5185813903809,
+    "y": 564.7326641082764,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "d190b08a.d3505"
+        "70cd8379.2fdf1c"
       ]
     ]
   },
   {
-    "id": "7e042bd8.776d24",
+    "id": "c1fde691.c1a3e8",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1760.1892051696777,
-    "y": 488.3994016647339,
-    "z": "5c37638f.99fd6c",
+    "x": 1738.1852989196777,
+    "y": 480.3994026184082,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "d190b08a.d3505"
+        "70cd8379.2fdf1c"
       ]
     ]
   },
   {
-    "id": "e41bac9c.61118",
+    "id": "50a0dec4.4003e",
     "type": "set",
     "name": "set connection-attachment-ar from get",
     "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",
     "comments": "",
-    "x": 2202.448699951172,
-    "y": 408.0001049041748,
-    "z": "5c37638f.99fd6c",
+    "x": 2180.444793701172,
+    "y": 400.0001058578491,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "89950442.815df8",
+    "id": "77bc2227.abfd3c",
     "type": "set",
     "name": "set oper-status",
     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-ar.allotted-resource-status.rpc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
     "comments": "",
-    "x": 2135.4486961364746,
-    "y": 498.4286594390869,
-    "z": "5c37638f.99fd6c",
+    "x": 2113.4447898864746,
+    "y": 490.42866039276123,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "88329a50.a105f8",
+    "id": "ac41a03e.121ee",
     "type": "switchNode",
     "name": "switch order-status",
     "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2146.448532104492,
-    "y": 452.00010871887207,
-    "z": "5c37638f.99fd6c",
+    "x": 2124.444625854492,
+    "y": 444.0001096725464,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "ca3f78a2.5bc238",
-        "968020a5.6806a"
+        "d58b4ded.2510b",
+        "aa0b471a.e14908"
       ]
     ]
   },
   {
-    "id": "ca3f78a2.5bc238",
+    "id": "d58b4ded.2510b",
     "type": "outcome",
     "name": "outcome Active",
     "xml": "<outcome value='Active'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2353.048480987549,
-    "y": 442.00010871887207,
-    "z": "5c37638f.99fd6c",
+    "x": 2331.044574737549,
+    "y": 434.0001096725464,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "58491b2c.42f3c4"
+        "48037.fd500fc9"
       ]
     ]
   },
   {
-    "id": "968020a5.6806a",
+    "id": "aa0b471a.e14908",
     "type": "outcome",
     "name": "outcome Other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2352.7630004882812,
-    "y": 484.4286994934082,
-    "z": "5c37638f.99fd6c",
+    "x": 2330.7590942382812,
+    "y": 476.4287004470825,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "4c9f7920.4c2598"
+        "e35bc0de.32ae1"
       ]
     ]
   },
   {
-    "id": "58491b2c.42f3c4",
+    "id": "48037.fd500fc9",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2505.5190353393555,
-    "y": 440.37575912475586,
-    "z": "5c37638f.99fd6c",
+    "x": 2483.5151290893555,
+    "y": 432.3757600784302,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "4c9f7920.4c2598",
+    "id": "e35bc0de.32ae1",
     "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\" \n    value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",
     "comments": "",
-    "x": 2525.6708908081055,
-    "y": 481.0001106262207,
-    "z": "5c37638f.99fd6c",
+    "x": 2503.6669845581055,
+    "y": 473.000111579895,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "60f55e27.f2b8e",
+    "id": "91894f21.7c315",
     "type": "call",
     "name": "call GENERIC-RESOURCE-API:sdwan-get-saved-ar-param",
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-saved-ar-param' mode='sync' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 913.3070220947266,
-    "y": 633.4935898780823,
-    "z": "5c37638f.99fd6c",
+    "x": 891.3031158447266,
+    "y": 625.4935908317566,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "c3c64d17.8399b",
+    "id": "b6c9d7ee.523f68",
     "type": "block",
     "name": "block: atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 610.3131866455078,
-    "y": 634.4999380111694,
-    "z": "5c37638f.99fd6c",
+    "x": 588.3092803955078,
+    "y": 626.4999389648438,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "60f55e27.f2b8e"
+        "91894f21.7c315"
       ]
     ]
   },
   {
-    "id": "4352df33.d9426",
+    "id": "45ae063f.ddd9a8",
     "type": "comment",
     "name": "GET parent-service-data from mdsal to check existence of other End point",
     "info": "",
     "comments": "",
-    "x": 792.0043487548828,
-    "y": 695.5316972732544,
-    "z": "5c37638f.99fd6c",
+    "x": 770.0004425048828,
+    "y": 687.5316982269287,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "536fbd5d.ad4c74",
+    "id": "a44115de.ea89b8",
     "type": "comment",
     "name": "GET connection-attachment-ar to store AR data from mdsal",
     "info": "",
     "comments": "",
-    "x": 2185.476852416992,
-    "y": 372.50396823883057,
-    "z": "5c37638f.99fd6c",
+    "x": 2163.472946166992,
+    "y": 364.5039691925049,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "d407857f.3d4ed8",
+    "id": "d6f0728e.e8007",
     "type": "comment",
     "name": "Set source end point",
     "info": "",
     "comments": "",
-    "x": 623.9767456054688,
-    "y": 602.2540636062622,
-    "z": "5c37638f.99fd6c",
+    "x": 601.9728393554688,
+    "y": 594.2540645599365,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "79aaa9c4.4c7368",
+    "id": "d85e62b3.69a86",
     "type": "set",
     "name": "set tmp.ar.parent-service-instance-id",
     "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",
     "comments": "",
-    "x": 676.9728240966797,
-    "y": 727.000207901001,
-    "z": "5c37638f.99fd6c",
+    "x": 654.9689178466797,
+    "y": 719.0002088546753,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "a093fbeb.16ad58",
+    "id": "c65a917f.0654d",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1054.9728202819824,
-    "y": 776.0002069473267,
-    "z": "5c37638f.99fd6c",
+    "x": 1032.9689140319824,
+    "y": 768.000207901001,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "c54cab5a.e88d98"
+        "a84f11cf.944ed"
       ]
     ]
   },
   {
-    "id": "46b4b052.24e9d",
+    "id": "6f7e92ff.c163ec",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1046.8246231079102,
-    "y": 811.066291809082,
-    "z": "5c37638f.99fd6c",
+    "x": 1024.8207168579102,
+    "y": 803.0662927627563,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "b51504e3.dadba8"
+        "fcea4987.f76f78"
       ]
     ]
   },
   {
-    "id": "b51504e3.dadba8",
+    "id": "fcea4987.f76f78",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n    \n",
     "comments": "",
-    "x": 1221.9733085632324,
-    "y": 807.3336420059204,
-    "z": "5c37638f.99fd6c",
+    "x": 1199.9694023132324,
+    "y": 799.3336429595947,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "c54cab5a.e88d98",
+    "id": "a84f11cf.944ed",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1205.9728202819824,
-    "y": 774.0002069473267,
-    "z": "5c37638f.99fd6c",
+    "x": 1183.9689140319824,
+    "y": 766.000207901001,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "bdec135a.84aa6",
+    "id": "c1b43a2f.b6d498",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 920.7347373962402,
-    "y": 1750.9527831077576,
-    "z": "5c37638f.99fd6c",
+    "x": 1013.730827331543,
+    "y": 2270.9528436660767,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "323e9893.b0b728"
+        "37d1e2b4.1ecc0e"
       ]
     ]
   },
   {
-    "id": "323e9893.b0b728",
+    "id": "37d1e2b4.1ecc0e",
     "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=\"AAI failed\" />\n",
     "comments": "",
-    "x": 1082.2585716247559,
-    "y": 1795.571829199791,
-    "z": "5c37638f.99fd6c",
+    "x": 1175.2546615600586,
+    "y": 2315.57188975811,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "f668942a.019a38",
+    "id": "46e90256.1233fc",
     "type": "failure",
     "name": "not-found",
     "xml": "<outcome value='not-found'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 922.8299789428711,
-    "y": 1816.7147258520126,
-    "z": "5c37638f.99fd6c",
+    "x": 1015.8260688781738,
+    "y": 2336.7147864103317,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "323e9893.b0b728"
+        "37d1e2b4.1ecc0e"
       ]
     ]
   },
   {
-    "id": "24abbd36.f847b2",
+    "id": "38a39849.f42568",
     "type": "comment",
     "name": "Save Resource to AAI",
     "info": "",
     "comments": "",
-    "x": 634.7824058532715,
-    "y": 1766.302146434784,
-    "z": "5c37638f.99fd6c",
+    "x": 727.7784957885742,
+    "y": 2286.302206993103,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "dcc926d7.4a3488",
+    "id": "98b3af96.5e7de",
     "type": "set",
     "name": "set output to api handler",
     "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
     "comments": "",
-    "x": 649.5501022338867,
-    "y": 1687.827627658844,
-    "z": "5c37638f.99fd6c",
+    "x": 742.5461921691895,
+    "y": 2207.827688217163,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "4623075d.b08748",
+    "id": "15eb2076.5c064",
     "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": 596.9632415771484,
-    "y": 1882.4434466362,
-    "z": "5c37638f.99fd6c",
+    "x": 689.9593315124512,
+    "y": 2402.443507194519,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "3e42552f.cc2b3a",
+    "id": "b195de1c.2a671",
     "type": "execute",
     "name": "execute RestApiCallNode - PUT AR by id",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sdwan-attachment.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 699.2822036743164,
-    "y": 1595.4684014320374,
-    "z": "5c37638f.99fd6c",
+    "x": 792.2782936096191,
+    "y": 2115.4684619903564,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "5966123b.c0928c",
-        "28e0d860.c64a68",
-        "4d9dd2fd.a02e7c"
+        "710256d4.ce9368",
+        "9d8f4fc7.29648",
+        "1056e6c3.05afa9"
       ]
     ]
   },
   {
-    "id": "5966123b.c0928c",
+    "id": "710256d4.ce9368",
     "type": "not-found",
     "name": "not-found",
     "xml": "<outcome value='not-found'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 967.9235801696777,
-    "y": 1646.7998131737113,
-    "z": "5c37638f.99fd6c",
+    "x": 1060.9196701049805,
+    "y": 2166.7998737320304,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "1d15a206.04371e"
+        "8d13b843.178988"
       ]
     ]
   },
   {
-    "id": "28e0d860.c64a68",
+    "id": "9d8f4fc7.29648",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 958.9236297607422,
-    "y": 1615.2998389229178,
-    "z": "5c37638f.99fd6c",
+    "x": 1051.919719696045,
+    "y": 2135.299899481237,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "1d15a206.04371e"
+        "8d13b843.178988"
       ]
     ]
   },
   {
-    "id": "4d9dd2fd.a02e7c",
+    "id": "1056e6c3.05afa9",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 962.6736679077148,
-    "y": 1585.6569437980652,
-    "z": "5c37638f.99fd6c",
+    "x": 1055.6697578430176,
+    "y": 2105.6570043563843,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "e1b7a04e.aa4f3"
+        "d9dd1fc6.57ca5"
       ]
     ]
   },
   {
-    "id": "1d15a206.04371e",
+    "id": "8d13b843.178988",
     "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 updating md-sal for connection-attachment-allotted-resource\" />\n",
     "comments": "",
-    "x": 1128.6736679077148,
-    "y": 1616.0498627647758,
-    "z": "5c37638f.99fd6c",
+    "x": 1221.6697578430176,
+    "y": 2136.049923323095,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "e1b7a04e.aa4f3",
+    "id": "d9dd1fc6.57ca5",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1104.3296356201172,
-    "y": 1581.8491129875183,
-    "z": "5c37638f.99fd6c",
+    "x": 1197.32572555542,
+    "y": 2101.8491735458374,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "f2ac7b6a.645e98",
+    "id": "18a74ff1.92546",
     "type": "set",
     "name": "set ar-data",
     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n",
     "comments": "",
-    "x": 599.4958229064941,
-    "y": 1445.849324464798,
-    "z": "5c37638f.99fd6c",
+    "x": 692.4919128417969,
+    "y": 1965.849385023117,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "d8dcd45a.fcb0f8",
+    "id": "552d726e.db02dc",
     "type": "execute",
     "name": "execute getTime",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 616.781665802002,
-    "y": 1518.468922138214,
-    "z": "5c37638f.99fd6c",
+    "x": 709.7777557373047,
+    "y": 2038.4689826965332,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "bbb611b3.fa639",
+    "id": "ed4b4b67.4cc708",
     "type": "set",
     "name": "set allotted-resource-oper-status",
     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='PendingDelete' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
     "comments": "",
-    "x": 671.7687225341797,
-    "y": 1556.4200596809387,
-    "z": "5c37638f.99fd6c",
+    "x": 764.7648124694824,
+    "y": 2076.420120239258,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "17808c6d.fbcb64",
+    "id": "201a455d.c2e4fa",
     "type": "set",
     "name": "set model-data",
     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",
     "comments": "",
-    "x": 613.3373641967773,
-    "y": 1485.0239748954773,
-    "z": "5c37638f.99fd6c",
+    "x": 706.3334541320801,
+    "y": 2005.0240354537964,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "83fab007.e00bd",
+    "id": "dc1f553a.3746d8",
     "type": "comment",
     "name": "Prepare data for allotted-resource addition to MDSAL",
     "info": "This will add to allotted-resource which is present inside service.",
     "comments": "",
-    "x": 722.6707954406738,
-    "y": 1401.0238497257233,
-    "z": "5c37638f.99fd6c",
+    "x": 815.6668853759766,
+    "y": 1921.0239102840424,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "ce9eef3f.571d2",
+    "id": "4d3306db.2fbdf8",
     "type": "comment",
     "name": "Add to allotted-resources in mdsal",
     "info": "",
     "comments": "",
-    "x": 664.2506217956543,
-    "y": 1368.4371514320374,
-    "z": "5c37638f.99fd6c",
+    "x": 757.246711730957,
+    "y": 1888.4372119903564,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "63f14ad3.bfd8e4",
+    "id": "2888718c.b9c46e",
     "type": "update",
     "name": "update AAI allotted-resource",
-    "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" />\n\t<parameter name=\"operational-status\" value=\"PendingDelete\" />\n",
+    "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<!--parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" /-->\n\t<parameter name=\"operational-status\" value=\"PendingDelete\" />\n",
     "comments": "",
     "outputs": 1,
-    "x": 661.2266845703125,
-    "y": 1803.754289150238,
-    "z": "5c37638f.99fd6c",
+    "x": 754.2227745056152,
+    "y": 2323.754349708557,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "bdec135a.84aa6",
-        "f668942a.019a38"
+        "c1b43a2f.b6d498",
+        "46e90256.1233fc"
       ]
     ]
   },
   {
-    "id": "c6cd0b89.3b6988",
+    "id": "df909612.fb6138",
     "type": "execute",
     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 825.3378601074219,
-    "y": 553.4999485015869,
-    "z": "5c37638f.99fd6c",
+    "x": 803.3339538574219,
+    "y": 545.4999494552612,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "515ee298.e46b6c",
-        "24c1e070.0695f"
+        "758df544.297bec",
+        "eebf6b21.03ca48"
       ]
     ]
   },
   {
-    "id": "d4cf70d6.63ae5",
+    "id": "ec442d3.475ffd",
     "type": "execute",
     "name": "get parent-service-data tmp.ar-url-psd",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",
     "comments": "",
     "outputs": 1,
-    "x": 679.0041046142578,
-    "y": 762.0002098083496,
-    "z": "5c37638f.99fd6c",
+    "x": 657.0001983642578,
+    "y": 754.0002107620239,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "96741252.7528f",
+    "id": "d5f5fd72.fb157",
     "type": "execute",
     "name": "execute RestApiCallNode - get-resource parent service data",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 746.0040664672852,
-    "y": 797.0002937316895,
-    "z": "5c37638f.99fd6c",
+    "x": 724.0001602172852,
+    "y": 789.0002946853638,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "a093fbeb.16ad58",
-        "46b4b052.24e9d"
+        "c65a917f.0654d",
+        "6f7e92ff.c163ec"
       ]
     ]
   },
   {
-    "id": "490fd156.3cc2e",
+    "id": "4db8d90d.4f7238",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2566.816566467285,
-    "y": 814.3294501304626,
-    "z": "5c37638f.99fd6c",
+    "x": 2544.812660217285,
+    "y": 806.329451084137,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "88745fb7.28e43"
+        "5ae4c974.91c268"
       ]
     ]
   },
   {
-    "id": "edb86366.daca5",
+    "id": "d1626b48.25fc18",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2600.66805267334,
-    "y": 760.3954167366028,
-    "z": "5c37638f.99fd6c",
+    "x": 2578.66414642334,
+    "y": 752.3954176902771,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "ae1d17f2.d02858"
+        "ab84a2c3.2ae2b"
       ]
     ]
   },
   {
-    "id": "92d891d3.4ab0e",
+    "id": "a8b146e3.827bd8",
     "type": "for",
     "name": "for arvidx.. mdsal-sd.service-data.vnfs.vnf_length[]",
     "xml": "<for index='arvidx' start='0' end='`$mdsal-sd.service-data.vnfs.vnf_length`' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 2085.81746673584,
-    "y": 1641.9966707229614,
-    "z": "5c37638f.99fd6c",
+    "x": 2063.81356048584,
+    "y": 1633.9966716766357,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "71080db2.ebc5d4"
+        "151d247e.ada54c"
       ]
     ]
   },
   {
-    "id": "71080db2.ebc5d4",
+    "id": "151d247e.ada54c",
     "type": "block",
     "name": "block atmoic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2361.4840393066406,
-    "y": 1642.9967036247253,
-    "z": "5c37638f.99fd6c",
+    "x": 2339.4801330566406,
+    "y": 1634.9967045783997,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "a5010038.a8cca"
+        "ce8318c6.862998"
       ]
     ]
   },
   {
-    "id": "a5010038.a8cca",
+    "id": "ce8318c6.862998",
     "type": "switchNode",
     "name": "switch ActivateSiteInstance",
     "xml": "<switch test=\"`$mdsal-sd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == ActivateSiteInstance`\">\n    \n    \n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2598.34774017334,
-    "y": 1647.194667339325,
-    "z": "5c37638f.99fd6c",
+    "x": 2576.34383392334,
+    "y": 1639.1946682929993,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "78d61896.379bb8"
+        "38959100.baa79"
       ]
     ]
   },
   {
-    "id": "78d61896.379bb8",
+    "id": "38959100.baa79",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2807.347255706787,
-    "y": 1647.1948204040527,
-    "z": "5c37638f.99fd6c",
+    "x": 2785.343349456787,
+    "y": 1639.194821357727,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "bfec68b.915a698"
+        "8dc66f20.128aa"
       ]
     ]
   },
   {
-    "id": "9280788a.1a5978",
+    "id": "ae283116.659c4",
     "type": "set",
     "name": "set tmp.sitevidx ",
     "xml": "<set>\n<parameter name='tmp.sitevidx' value='`$arvidx`' />\n\n",
     "comments": "",
-    "x": 2204.3482055664062,
-    "y": 1751.195249080658,
-    "z": "5c37638f.99fd6c",
+    "x": 2182.3442993164062,
+    "y": 1743.1952500343323,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "a8aa86a8.764d68",
+    "id": "cc813b15.219a98",
     "type": "set",
     "name": "set prop.ar-parent-service-instance-id",
     "xml": "<set>\n<parameter name='prop.ar-parent-service-instance-id' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id`' />\n",
     "comments": "",
-    "x": 2120.8163681030273,
-    "y": 1064.996099472046,
-    "z": "5c37638f.99fd6c",
+    "x": 2098.8124618530273,
+    "y": 1056.9961004257202,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "9f1816e2.642ea8",
+    "id": "16d565c8.6fce0a",
     "type": "for",
     "name": "for loop aridx - Get role from allotted resource",
     "xml": "<for index=\"aridx\" start=\"0\" end=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param_length`\">\n    \n    \n",
     "comments": "",
     "outputs": 1,
-    "x": 2146.816162109375,
-    "y": 1013.4959707260132,
-    "z": "5c37638f.99fd6c",
+    "x": 2124.812255859375,
+    "y": 1005.4959716796875,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "9c8b4e3c.7c8c5"
+        "412ffbe3.a86674"
       ]
     ]
   },
   {
-    "id": "9c8b4e3c.7c8c5",
+    "id": "412ffbe3.a86674",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2401.81649017334,
-    "y": 1010.4964303970337,
-    "z": "5c37638f.99fd6c",
+    "x": 2379.81258392334,
+    "y": 1002.496431350708,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "30449575.75463a",
-        "92ec0f10.dba05"
+        "e0854b83.a59ed8",
+        "67be11c6.fc4b4"
       ]
     ]
   },
   {
-    "id": "30449575.75463a",
+    "id": "e0854b83.a59ed8",
     "type": "switchNode",
     "name": "switch Role",
     "xml": "<switch test=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].name == 'Role'`\">\n",
     "comments": "",
     "outputs": 1,
-    "x": 2531.8163108825684,
-    "y": 982.4963674545288,
-    "z": "5c37638f.99fd6c",
+    "x": 2509.8124046325684,
+    "y": 974.4963684082031,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "b4910f3d.0db62"
+        "60e8b373.f2f1cc"
       ]
     ]
   },
   {
-    "id": "b4910f3d.0db62",
+    "id": "60e8b373.f2f1cc",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2672.8166427612305,
-    "y": 981.4963665008545,
-    "z": "5c37638f.99fd6c",
+    "x": 2650.8127365112305,
+    "y": 973.4963674545288,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "367dfe9f.4b0012"
+        "564d6e3.a986e9"
       ]
     ]
   },
   {
-    "id": "367dfe9f.4b0012",
+    "id": "564d6e3.a986e9",
     "type": "set",
     "name": "set prop.role",
     "xml": "<set>\n<parameter name='prop.role' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].value`' />\n",
     "comments": "",
-    "x": 2838.8173065185547,
-    "y": 976.096269607544,
-    "z": "5c37638f.99fd6c",
+    "x": 2816.8134002685547,
+    "y": 968.0962705612183,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "1009f0e9.e8787f",
+    "id": "bef02da7.b5697",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2418.8169898986816,
-    "y": 1159.996376991272,
-    "z": "5c37638f.99fd6c",
+    "x": 2396.8130836486816,
+    "y": 1151.9963779449463,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "38660dd.8ae9ef2"
+        "e69aff22.57aef"
       ]
     ]
   },
   {
-    "id": "c9a9abe5.0b0758",
+    "id": "108f0456.69aaac",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2412.668731689453,
-    "y": 1116.0624141693115,
-    "z": "5c37638f.99fd6c",
+    "x": 2390.664825439453,
+    "y": 1108.0624151229858,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "faec6a4d.0cfc28"
+        "d2cf1da5.9ee9a"
       ]
     ]
   },
   {
-    "id": "ae1d17f2.d02858",
+    "id": "ab84a2c3.2ae2b",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2726.816177368164,
-    "y": 757.4958500862122,
-    "z": "5c37638f.99fd6c",
+    "x": 2704.812271118164,
+    "y": 749.4958510398865,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "88745fb7.28e43",
+    "id": "5ae4c974.91c268",
     "type": "block",
     "name": "block atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1856.3160400390625,
-    "y": 1031.4959707260132,
-    "z": "5c37638f.99fd6c",
+    "x": 1834.3121337890625,
+    "y": 1023.4959716796875,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "9f1816e2.642ea8",
-        "a8aa86a8.764d68",
-        "56d62d96.7f8ce4",
-        "b96757af.5cca38"
+        "16d565c8.6fce0a",
+        "cc813b15.219a98",
+        "6c3854b6.659a5c",
+        "ddb36283.9977d"
       ]
     ]
   },
   {
-    "id": "faec6a4d.0cfc28",
+    "id": "d2cf1da5.9ee9a",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2542.3168506622314,
-    "y": 1109.4963340759277,
-    "z": "5c37638f.99fd6c",
+    "x": 2520.3129444122314,
+    "y": 1101.496335029602,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "38660dd.8ae9ef2",
+    "id": "e69aff22.57aef",
     "type": "block",
     "name": "block atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1932.3163299560547,
-    "y": 1236.4959840774536,
-    "z": "5c37638f.99fd6c",
+    "x": 1910.3124237060547,
+    "y": 1228.495985031128,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "c768cf9a.62862"
+        "a7e7f8fb.8ee848"
       ]
     ]
   },
   {
-    "id": "4edc1d8f.0a1944",
+    "id": "5dfa5d99.6db7b4",
     "type": "for",
     "name": "for loop siteidx - Get site ID from servicedata",
     "xml": "<for index=\"siteidx\" start=\"0\" end=\"`$mdsal-sd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
     "comments": "",
     "outputs": 1,
-    "x": 2296.3190536499023,
-    "y": 1792.497006893158,
-    "z": "5c37638f.99fd6c",
+    "x": 2274.3151473999023,
+    "y": 1784.4970078468323,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "3d77f67c.b5ecea"
+        "824eb6f3.bc12a8"
       ]
     ]
   },
   {
-    "id": "ead36ab7.282438",
+    "id": "4af98bb7.a04904",
     "type": "switchNode",
     "name": "switch siteId",
     "xml": "<switch test=\"`$mdsal-sd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'siteId'`\">\n",
     "comments": "",
     "outputs": 1,
-    "x": 2368.3210372924805,
-    "y": 1860.497986316681,
-    "z": "5c37638f.99fd6c",
+    "x": 2346.3171310424805,
+    "y": 1852.4979872703552,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "d924a586.673c18"
+        "1cabca59.917da6"
       ]
     ]
   },
   {
-    "id": "321bf129.18913e",
+    "id": "ad1a1b89.af61c8",
     "type": "block",
     "name": "block atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2222.8193130493164,
-    "y": 1933.9970240592957,
-    "z": "5c37638f.99fd6c",
+    "x": 2200.8154067993164,
+    "y": 1925.99702501297,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "875c4bea.660358",
-        "ecb79aa0.650108",
-        "f8b5c142.e5e42"
+        "fbdfeb83.50c018",
+        "6ab1dd86.bc5ac4",
+        "dfe3d1ff.2a521"
       ]
     ]
   },
   {
-    "id": "4ed101e7.e4ff7",
+    "id": "bf17376.0f432c8",
     "type": "execute",
     "name": "execute RestApiCallNode delete vpn topology",
     "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.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": 697.8168258666992,
-    "y": 1193.496681213379,
-    "z": "5c37638f.99fd6c",
+    "x": 790.812915802002,
+    "y": 1713.496741771698,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "79fecdbb.444414",
-        "8f4a1544.240ce8"
+        "dd133500.c9b588",
+        "4ff52f01.dec2a"
       ]
     ]
   },
   {
-    "id": "79fecdbb.444414",
+    "id": "dd133500.c9b588",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 952.816593170166,
-    "y": 1209.496681213379,
-    "z": "5c37638f.99fd6c",
+    "x": 1045.8126831054688,
+    "y": 1729.496741771698,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "1ef5ce22.99b2f2"
+        "fedffe27.13d88"
       ]
     ]
   },
   {
-    "id": "1ef5ce22.99b2f2",
+    "id": "fedffe27.13d88",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "comments": "",
     "outputs": 1,
-    "x": 1122.8165321350098,
-    "y": 1212.496681213379,
-    "z": "5c37638f.99fd6c",
+    "x": 1215.8126220703125,
+    "y": 1732.496741771698,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "13d95323.743e4d",
+    "id": "93a1a55.98e1f58",
     "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 vpn rest api\" />\n",
     "comments": "",
-    "x": 1122.8166542053223,
-    "y": 1168.496681213379,
-    "z": "5c37638f.99fd6c",
+    "x": 1215.812744140625,
+    "y": 1688.496741771698,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "8f4a1544.240ce8",
+    "id": "4ff52f01.dec2a",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 955.8165321350098,
-    "y": 1168.496681213379,
-    "z": "5c37638f.99fd6c",
+    "x": 1048.8126220703125,
+    "y": 1688.496741771698,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "13d95323.743e4d"
+        "93a1a55.98e1f58"
       ]
     ]
   },
   {
-    "id": "9f45ce4d.1731c",
+    "id": "9c440320.0009b",
     "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.3835430145264,
-    "y": 965.1728572845459,
-    "z": "5c37638f.99fd6c",
+    "x": 1216.3796367645264,
+    "y": 1251.1728959083557,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "4b5b6f95.ae82b",
+    "id": "aac6b4b9.62d5b8",
     "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": 672.8832855224609,
-    "y": 1016.1732077598572,
-    "z": "5c37638f.99fd6c",
+    "x": 785.8793792724609,
+    "y": 1302.173246383667,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "9379b94d.ebf738",
-        "85618b89.4df498",
-        "d4faaa3e.0874d8"
+        "f554c450.4c9bc8",
+        "250a3c3a.bfa264",
+        "1866c1d3.5923ee"
       ]
     ]
   },
   {
-    "id": "9379b94d.ebf738",
+    "id": "f554c450.4c9bc8",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 931.8835773468018,
-    "y": 971.1728410720825,
-    "z": "5c37638f.99fd6c",
+    "x": 1044.8796710968018,
+    "y": 1257.1728796958923,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "9f45ce4d.1731c"
+        "9c440320.0009b"
       ]
     ]
   },
   {
-    "id": "85618b89.4df498",
+    "id": "250a3c3a.bfa264",
     "type": "not-found",
     "name": "not-found",
     "xml": "<outcome value='not-found'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 928.3742942810059,
-    "y": 1009.74693775177,
-    "z": "5c37638f.99fd6c",
+    "x": 1041.3703880310059,
+    "y": 1295.7469763755798,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "ef8f714d.57ad1"
+        "6a9152f3.8b088c"
       ]
     ]
   },
   {
-    "id": "d4faaa3e.0874d8",
+    "id": "1866c1d3.5923ee",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 923.7073020935059,
-    "y": 1051.0802507400513,
-    "z": "5c37638f.99fd6c",
+    "x": 1036.7033958435059,
+    "y": 1337.080289363861,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "7ed2ad4f.8bf614"
+        "90697580.51d788"
       ]
     ]
   },
   {
-    "id": "ef8f714d.57ad1",
+    "id": "6a9152f3.8b088c",
     "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": 1078.9456100463867,
-    "y": 1004.0326900482178,
-    "z": "5c37638f.99fd6c",
+    "x": 1191.9417037963867,
+    "y": 1290.0327286720276,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "7ed2ad4f.8bf614",
+    "id": "90697580.51d788",
     "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": 1085.4797630310059,
-    "y": 1052.5194597244263,
-    "z": "5c37638f.99fd6c",
+    "x": 1198.4758567810059,
+    "y": 1338.519498348236,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "c768cf9a.62862",
+    "id": "a7e7f8fb.8ee848",
     "type": "for",
-    "name": "for pnidx.. mdsal-psd.service-data.networks.network_length[]",
+    "name": "for pnidx.. mdsal-parentsd.service-data.networks.network_length[]",
     "xml": "<for index='pnidx' start='0' end='`$mdsal-parentsd.service-data.networks.network_length`' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 2257.315902709961,
-    "y": 1235.9957118034363,
-    "z": "5c37638f.99fd6c",
-    "wires": [
-      [
-        "e252e8ae.c32088"
-      ]
-    ]
-  },
-  {
-    "id": "e252e8ae.c32088",
-    "type": "block",
-    "name": "block",
-    "xml": "<block>\n",
-    "atomic": "false",
-    "comments": "",
-    "outputs": 1,
-    "x": 1935.9829940795898,
-    "y": 1326.9955472946167,
-    "z": "5c37638f.99fd6c",
+    "x": 2235.311996459961,
+    "y": 1227.9957127571106,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "14486987.b85df6"
+        "134d81a7.f5395e"
       ]
     ]
   },
   {
-    "id": "14486987.b85df6",
+    "id": "bce6e7ae.f035f8",
     "type": "switchNode",
     "name": "switch ActivateSDWANConnectivityInstance",
     "xml": "<switch test=\"`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.request-information.request-action == 'ActivateSDWANConnectivityInstance'`\">\n    \n    \n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2180.983726501465,
-    "y": 1328.9959135055542,
-    "z": "5c37638f.99fd6c",
+    "x": 2158.979820251465,
+    "y": 1320.9959144592285,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "1a69042b.c0872c"
+        "8b710972.a5d448"
       ]
     ]
   },
   {
-    "id": "1a69042b.c0872c",
+    "id": "8b710972.a5d448",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2437.9832191467285,
-    "y": 1327.9960436820984,
-    "z": "5c37638f.99fd6c",
+    "x": 2415.9793128967285,
+    "y": 1319.9960446357727,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "ecc75ce5.52a22"
+        "ad16d848.956c28"
       ]
     ]
   },
   {
-    "id": "693abfa.fed9d4",
+    "id": "e503187.dfdbbe8",
     "type": "for",
     "name": "for loop paramidx - Get topology from servicedata",
     "xml": "<for index=\"paramidx\" start=\"0\" end=\"`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param_length`\">\n    \n    \n",
     "comments": "",
     "outputs": 1,
-    "x": 2239.9839057922363,
-    "y": 1417.9956316947937,
-    "z": "5c37638f.99fd6c",
+    "x": 2217.9799995422363,
+    "y": 1409.995632648468,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "3b22a756.98c7f8"
+        "2aaa98b1.97fbe8"
       ]
     ]
   },
   {
-    "id": "3b22a756.98c7f8",
+    "id": "2aaa98b1.97fbe8",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2505.983594894409,
-    "y": 1414.995954990387,
-    "z": "5c37638f.99fd6c",
+    "x": 2483.979688644409,
+    "y": 1406.9959559440613,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "dccdc0aa.2bb7b",
-        "b18f2a38.d85ae8"
+        "93e924c8.1cbc78",
+        "9a3cf2e3.de00a"
       ]
     ]
   },
   {
-    "id": "dccdc0aa.2bb7b",
+    "id": "93e924c8.1cbc78",
     "type": "switchNode",
     "name": "switch topology",
-    "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'topology'`\">\n",
+    "xml": "<switch test=\"`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'topology'`\">\n",
     "comments": "",
     "outputs": 1,
-    "x": 2676.98392868042,
-    "y": 1383.9954648017883,
-    "z": "5c37638f.99fd6c",
+    "x": 2654.98002243042,
+    "y": 1375.9954657554626,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "e0213c77.0f4ca"
+        "3f47b224.ea53fe"
       ]
     ]
   },
   {
-    "id": "e0213c77.0f4ca",
+    "id": "3f47b224.ea53fe",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2828.9839191436768,
-    "y": 1385.9954953193665,
-    "z": "5c37638f.99fd6c",
+    "x": 2806.9800128936768,
+    "y": 1377.9954962730408,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "71cd0898.67eff8"
+        "2d4beaeb.2d5ae6"
       ]
     ]
   },
   {
-    "id": "71cd0898.67eff8",
+    "id": "2d4beaeb.2d5ae6",
     "type": "set",
     "name": "set topology",
-    "xml": "<set>\n<parameter name='prop.topology' value='`$mdsal-psd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
+    "xml": "<set>\n<parameter name='prop.topology' value='`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
     "comments": "",
-    "x": 2972.9839305877686,
-    "y": 1385.5954298973083,
-    "z": "5c37638f.99fd6c",
+    "x": 2950.9800243377686,
+    "y": 1377.5954308509827,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "b18f2a38.d85ae8",
+    "id": "9a3cf2e3.de00a",
     "type": "switchNode",
     "name": "switch vpnId",
-    "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'vpn-id'`\">\n",
+    "xml": "<switch test=\"`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'vpn-id'`\">\n",
     "comments": "",
     "outputs": 1,
-    "x": 2668.649652481079,
-    "y": 1426.3284468650818,
-    "z": "5c37638f.99fd6c",
+    "x": 2646.645746231079,
+    "y": 1418.328447818756,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "5ef41a40.56fe94"
+        "805a8b6a.884b08"
       ]
     ]
   },
   {
-    "id": "5ef41a40.56fe94",
+    "id": "805a8b6a.884b08",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2820.649642944336,
-    "y": 1428.32847738266,
-    "z": "5c37638f.99fd6c",
+    "x": 2798.645736694336,
+    "y": 1420.3284783363342,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "25d7449c.78b97c"
+        "47c03332.4437ec"
       ]
     ]
   },
   {
-    "id": "25d7449c.78b97c",
+    "id": "47c03332.4437ec",
     "type": "set",
     "name": "set prop.vpn1Id",
     "xml": "<set>\n<parameter name='prop.vpn1Id' value='`$mdsal-parentsd.service-data.networks.network[$pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
     "comments": "",
-    "x": 2964.6496543884277,
-    "y": 1427.9284119606018,
-    "z": "5c37638f.99fd6c",
+    "x": 2942.6457481384277,
+    "y": 1419.9284129142761,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "2a2d01cd.5646fe",
+    "id": "2b9c4213.cf45fe",
     "type": "execute",
     "name": "execute RestApiCallNode delete vpn ",
     "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.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": 670.8164978027344,
-    "y": 1304.9966464042664,
-    "z": "5c37638f.99fd6c",
+    "x": 763.8125877380371,
+    "y": 1824.9967069625854,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "c4c9f687.9e7588",
-        "802fa182.99b1f"
+        "b5d353ac.0589e",
+        "2c7732a6.dbeb5e"
       ]
     ]
   },
   {
-    "id": "c4c9f687.9e7588",
+    "id": "b5d353ac.0589e",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 903.8165760040283,
-    "y": 1329.996645450592,
-    "z": "5c37638f.99fd6c",
+    "x": 996.812665939331,
+    "y": 1849.9967060089111,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "1b0d22fd.e671fd"
+        "35c412a7.ab087e"
       ]
     ]
   },
   {
-    "id": "1b0d22fd.e671fd",
+    "id": "35c412a7.ab087e",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "comments": "",
     "outputs": 1,
-    "x": 1073.816514968872,
-    "y": 1332.996645450592,
-    "z": "5c37638f.99fd6c",
+    "x": 1166.8126049041748,
+    "y": 1852.9967060089111,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "588dc5fe.3853dc",
+    "id": "3622d573.b4a8aa",
     "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 vpn rest api\" />\n",
     "comments": "",
-    "x": 1073.8166370391846,
-    "y": 1288.996645450592,
-    "z": "5c37638f.99fd6c",
+    "x": 1166.8127269744873,
+    "y": 1808.9967060089111,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "802fa182.99b1f",
+    "id": "2c7732a6.dbeb5e",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 906.8165149688721,
-    "y": 1288.996645450592,
-    "z": "5c37638f.99fd6c",
+    "x": 999.8126049041748,
+    "y": 1808.9967060089111,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "588dc5fe.3853dc"
+        "3622d573.b4a8aa"
       ]
     ]
   },
   {
-    "id": "67ff2f7e.84dea",
+    "id": "72ba670d.964b28",
     "type": "set",
     "name": "set prop.name",
     "xml": "<set>\n<parameter name='prop.name' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].value`' />\n",
     "comments": "",
-    "x": 2886.8163108825684,
-    "y": 1028.995940208435,
-    "z": "5c37638f.99fd6c",
+    "x": 2864.8124046325684,
+    "y": 1020.9959411621094,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "92ec0f10.dba05",
+    "id": "67be11c6.fc4b4",
     "type": "switchNode",
     "name": "switch sdwanVpnName",
     "xml": "<switch test=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].name == 'sdwanVpnName'`\">\n",
     "comments": "",
     "outputs": 1,
-    "x": 2567.316150665283,
-    "y": 1031.9959325790405,
-    "z": "5c37638f.99fd6c",
+    "x": 2545.312244415283,
+    "y": 1023.9959335327148,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "da5b9464.fd80d8"
+        "9940a94a.c22938"
       ]
     ]
   },
   {
-    "id": "da5b9464.fd80d8",
+    "id": "9940a94a.c22938",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2738.3163108825684,
-    "y": 1030.9960012435913,
-    "z": "5c37638f.99fd6c",
+    "x": 2716.3124046325684,
+    "y": 1022.9960021972656,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "67ff2f7e.84dea"
+        "72ba670d.964b28"
       ]
     ]
   },
   {
-    "id": "1f17ba6f.07fd86",
+    "id": "c293dea2.46ad3",
     "type": "set",
     "name": "set prop.ar.provided-allotted-resource-id",
     "xml": "<set>\n<parameter name='prop.ar.provided-allotted-resource-id' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id`' />\n\n\n",
     "comments": "",
-    "x": 2052.81591796875,
-    "y": 772.9960646629333,
-    "z": "5c37638f.99fd6c",
+    "x": 2030.81201171875,
+    "y": 764.9960656166077,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "5609c5e0.866b1c",
+    "id": "bfa616d6.8ac5b8",
     "type": "block",
     "name": "block atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1230.8463745117188,
-    "y": 880.1932344436646,
-    "z": "5c37638f.99fd6c",
+    "x": 1343.8424682617188,
+    "y": 1166.1932730674744,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "b59d7969.b1f2f8"
+        "afc6f5e9.2167e8"
       ]
     ]
   },
   {
-    "id": "cd36d7b2.2df868",
+    "id": "97d5dacd.f274d8",
     "type": "execute",
     "name": "generate tmp.ar-url-connection url",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-connection\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.ar.provided-allotted-resource-id`\"/>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2037.3335800170898,
-    "y": 806.3295407295227,
-    "z": "5c37638f.99fd6c",
+    "x": 2015.3296737670898,
+    "y": 798.329541683197,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "f53ba2f7.ad562",
+    "id": "a06e500e.c5ed3",
     "type": "execute",
     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-providedAr\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2177.333209991455,
-    "y": 841.9958319664001,
-    "z": "5c37638f.99fd6c",
+    "x": 2155.329303741455,
+    "y": 833.9958329200745,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "edb86366.daca5",
-        "490fd156.3cc2e"
+        "d1626b48.25fc18",
+        "4db8d90d.4f7238"
       ]
     ]
   },
   {
-    "id": "56d62d96.7f8ce4",
+    "id": "6c3854b6.659a5c",
     "type": "execute",
     "name": "execute RestApiCallNode - get parent service data",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-parentsd\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2153.0004501342773,
-    "y": 1134.995888710022,
-    "z": "5c37638f.99fd6c",
+    "x": 2130.9965438842773,
+    "y": 1126.9958896636963,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "1009f0e9.e8787f",
-        "c9a9abe5.0b0758"
+        "bef02da7.b5697",
+        "108f0456.69aaac"
       ]
     ]
   },
   {
-    "id": "ecc75ce5.52a22",
+    "id": "ad16d848.956c28",
     "type": "block",
     "name": "block atmoic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1897.333869934082,
-    "y": 1424.6630945205688,
-    "z": "5c37638f.99fd6c",
+    "x": 1875.329963684082,
+    "y": 1416.6630954742432,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "693abfa.fed9d4",
-        "90dd080.179f4f8",
-        "74e88748.645e58",
-        "a1a950eb.a0193"
+        "e503187.dfdbbe8",
+        "8d2d1c34.602ed",
+        "d55381bc.ca39b",
+        "376fcdda.5c0302"
       ]
     ]
   },
   {
-    "id": "875c4bea.660358",
+    "id": "fbdfeb83.50c018",
     "type": "set",
     "name": "set prop.attach.siteId",
     "xml": "<set>\n<parameter name='prop.attach.siteId' value='`$mdsal-sd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].value`' />\n\n",
     "comments": "",
-    "x": 2489.002185821533,
-    "y": 1915.6638503074646,
-    "z": "5c37638f.99fd6c",
+    "x": 2466.998279571533,
+    "y": 1907.663851261139,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "d924a586.673c18",
+    "id": "1cabca59.917da6",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2509.00244140625,
-    "y": 1860.663676738739,
-    "z": "5c37638f.99fd6c",
+    "x": 2486.99853515625,
+    "y": 1852.6636776924133,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "321bf129.18913e"
+        "ad1a1b89.af61c8"
       ]
     ]
   },
   {
-    "id": "bfec68b.915a698",
+    "id": "8dc66f20.128aa",
     "type": "block",
     "name": "block atmoic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2001.668327331543,
-    "y": 1746.3301873207092,
-    "z": "5c37638f.99fd6c",
+    "x": 1979.664421081543,
+    "y": 1738.3301882743835,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "4edc1d8f.0a1944",
-        "9280788a.1a5978"
+        "5dfa5d99.6db7b4",
+        "ae283116.659c4"
       ]
     ]
   },
   {
-    "id": "b30219b.8f8bde8",
+    "id": "984be839.303c58",
     "type": "for",
     "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
     "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 838.185131072998,
-    "y": 915.6358346939087,
-    "z": "5c37638f.99fd6c",
+    "x": 951.181224822998,
+    "y": 1201.6358733177185,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "5609c5e0.866b1c"
+        "bfa616d6.8ac5b8"
       ]
     ]
   },
   {
-    "id": "3d77f67c.b5ecea",
+    "id": "824eb6f3.bc12a8",
     "type": "block",
     "name": "block atmoic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2213.668685913086,
-    "y": 1857.000834941864,
-    "z": "5c37638f.99fd6c",
+    "x": 2191.664779663086,
+    "y": 1849.0008358955383,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "ead36ab7.282438"
+        "4af98bb7.a04904"
       ]
     ]
   },
   {
-    "id": "7dea7f5b.a3b81",
+    "id": "d0fca62a.672dd8",
     "type": "set",
     "name": "set prop.siteAttachement_length=0",
     "xml": "<set>\n<parameter name='prop.siteAttachements_length' value='0' />\n<parameter name='prop.siteIds_length' value='0' />\n\n\n\n",
     "comments": "",
-    "x": 684.00390625,
-    "y": 858.5311903953552,
-    "z": "5c37638f.99fd6c",
+    "x": 797,
+    "y": 1144.531229019165,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "ecb79aa0.650108",
+    "id": "6ab1dd86.bc5ac4",
     "type": "set",
     "name": "Add sites to list and update length",
     "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",
     "comments": "",
-    "x": 2516.506019592285,
-    "y": 1960.5316553115845,
-    "z": "5c37638f.99fd6c",
+    "x": 2494.502113342285,
+    "y": 1952.5316562652588,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "b96757af.5cca38",
+    "id": "ddb36283.9977d",
     "type": "execute",
     "name": "generate prop.ar-parent-service-instance-id",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>      \n    <parameter name=\"outputPath\" value=\"tmp.ar-url-connection\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.ar-parent-service-instance-id`\"/>\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2137.504051208496,
-    "y": 1097.5314092636108,
-    "z": "5c37638f.99fd6c",
+    "x": 2115.500144958496,
+    "y": 1089.5314102172852,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "90dd080.179f4f8",
+    "id": "8d2d1c34.602ed",
     "type": "set",
     "name": "set prop.ar-service-instance-id",
     "xml": "<set>\n<parameter name='prop.ar-service-instance-id' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.consuming-service-instance-id`' />\n",
     "comments": "",
-    "x": 2170.5044708251953,
-    "y": 1486.5313272476196,
-    "z": "5c37638f.99fd6c",
+    "x": 2148.5005645751953,
+    "y": 1478.531328201294,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "74e88748.645e58",
+    "id": "d55381bc.ca39b",
     "type": "execute",
     "name": "generate prop.ar-service-instance-id",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>      \n    <parameter name=\"outputPath\" value=\"tmp.ar-url-connection\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.ar-service-instance-id`\"/>\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2195.836929321289,
-    "y": 1519.4096231460571,
-    "z": "5c37638f.99fd6c",
+    "x": 2173.833023071289,
+    "y": 1511.4096240997314,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "a1a950eb.a0193",
+    "id": "376fcdda.5c0302",
     "type": "execute",
     "name": "execute RestApiCallNode - get-resource service data",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-sd\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2246.8370513916016,
-    "y": 1556.409441947937,
-    "z": "5c37638f.99fd6c",
+    "x": 2224.8331451416016,
+    "y": 1548.4094429016113,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "d085c605.a64ce8",
-        "872e1cc1.fb142"
+        "24c5b010.6c228",
+        "5d5ea42b.5dad9c"
       ]
     ]
   },
   {
-    "id": "872e1cc1.fb142",
+    "id": "5d5ea42b.5dad9c",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2525.5041160583496,
-    "y": 1552.531153678894,
-    "z": "5c37638f.99fd6c",
+    "x": 2503.5002098083496,
+    "y": 1544.5311546325684,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "eb1435b3.407188"
+        "70e96035.e38c9"
       ]
     ]
   },
   {
-    "id": "d085c605.a64ce8",
+    "id": "24c5b010.6c228",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2523.3564453125,
-    "y": 1513.5972814559937,
-    "z": "5c37638f.99fd6c",
+    "x": 2501.3525390625,
+    "y": 1505.597282409668,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "6579eeb9.4ad43"
+        "b0b3ac1b.bb725"
       ]
     ]
   },
   {
-    "id": "6579eeb9.4ad43",
+    "id": "b0b3ac1b.bb725",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2653.004638671875,
-    "y": 1507.0312414169312,
-    "z": "5c37638f.99fd6c",
+    "x": 2631.000732421875,
+    "y": 1499.0312423706055,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "eb1435b3.407188",
+    "id": "70e96035.e38c9",
     "type": "block",
     "name": "block atmoic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2674.505012512207,
-    "y": 1553.5313386917114,
-    "z": "5c37638f.99fd6c",
+    "x": 2652.501106262207,
+    "y": 1545.5313396453857,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "92d891d3.4ab0e"
+        "a8b146e3.827bd8"
       ]
     ]
   },
   {
-    "id": "b59d7969.b1f2f8",
+    "id": "afc6f5e9.2167e8",
     "type": "switchNode",
     "name": "switch allotted resource ID match",
-    "xml": "<switch test=\"`$prop.ar.provided-allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n",
+    "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">",
     "comments": "",
     "outputs": 1,
-    "x": 1454.504020690918,
-    "y": 877.0312628746033,
-    "z": "5c37638f.99fd6c",
+    "x": 1567.500114440918,
+    "y": 1163.031301498413,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "d35d9e14.f135e"
+        "54c627b4.10bfd8"
       ]
     ]
   },
   {
-    "id": "d35d9e14.f135e",
+    "id": "54c627b4.10bfd8",
     "type": "outcomeFalse",
     "name": "false",
     "xml": "<outcome value='false'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1668.5040855407715,
-    "y": 808.0312933921814,
-    "z": "5c37638f.99fd6c",
+    "x": 1646.5001792907715,
+    "y": 800.0312943458557,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "72234e91.d5575"
+        "3a3f312b.b33afe"
       ]
     ]
   },
   {
-    "id": "72234e91.d5575",
+    "id": "3a3f312b.b33afe",
     "type": "block",
     "name": "block atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1810.5043334960938,
-    "y": 807.0312342643738,
-    "z": "5c37638f.99fd6c",
+    "x": 1788.5004272460938,
+    "y": 799.0312352180481,
+    "z": "36b7dca4.321614",
     "wires": [
       [
-        "1f17ba6f.07fd86",
-        "cd36d7b2.2df868",
-        "f53ba2f7.ad562"
+        "c293dea2.46ad3",
+        "97d5dacd.f274d8",
+        "a06e500e.c5ed3"
       ]
     ]
   },
   {
-    "id": "d4480c4c.ab7f1",
+    "id": "d22dbfd2.187be",
     "type": "comment",
     "name": "if allotted resource Id match with the incomming allotted resource ID,  sites in this service vnf should not be included",
     "info": "parent instId 200 |  parent instId 200\nservice instId 100| service InstId 200\n site1            |       site2\n allotted resId 1 | allotted resId 2 \n --------------------------------------\n Deactivate:\n loop for provided allotted res ID\n If allotted resId 1 matches with incomming allotted resource Id then we should delete the sites available in the service data 100\n for this we have to send request for deleting with site IDs site2 without including site1.\n \n \n ",
     "comments": "",
-    "x": 1763.5039367675781,
-    "y": 740.03129529953,
-    "z": "5c37638f.99fd6c",
+    "x": 1741.5000305175781,
+    "y": 732.0312962532043,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "44d17735.c18b38",
+    "id": "21d740e7.f725a",
     "type": "comment",
     "name": "loop for provided allotted rsource Id",
     "info": "",
     "comments": "",
-    "x": 950.50390625,
-    "y": 879.5312514305115,
-    "z": "5c37638f.99fd6c",
+    "x": 1063.5,
+    "y": 1165.5312900543213,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "e435a42b.3afe08",
+    "id": "c63c4b12.9b5788",
     "type": "comment",
     "name": "get allotted resource for the allotted resource ID",
     "info": "",
     "comments": "",
-    "x": 2324.504234313965,
-    "y": 741.5311732292175,
-    "z": "5c37638f.99fd6c",
+    "x": 2302.500328063965,
+    "y": 733.5311741828918,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "1438e6b6.ccead9",
+    "id": "830c94e.1851168",
     "type": "comment",
     "name": "get parent service data to get connectivity which has connectivity and vpn ID",
     "info": "",
     "comments": "",
-    "x": 2107.503761291504,
-    "y": 968.5312509536743,
-    "z": "5c37638f.99fd6c",
+    "x": 2085.499855041504,
+    "y": 960.5312519073486,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "32a9e203.7d629e",
+    "id": "3044102e.74314",
     "type": "comment",
     "name": "get service data from service instance id from allotted reosurce Id to get sites vnf",
     "info": "",
     "comments": "",
-    "x": 2296.503761291504,
-    "y": 1450.5310506820679,
-    "z": "5c37638f.99fd6c",
+    "x": 2274.499855041504,
+    "y": 1442.5310516357422,
+    "z": "36b7dca4.321614",
     "wires": []
   },
   {
-    "id": "5b38ce7d.8512a",
+    "id": "ce4d5b8.f77d2a8",
     "type": "call",
     "name": "call sdwan-vnf-topology-operation-underlay for delete",
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-wanport-vnf-topology-operation-underlay' mode='sync' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 731.5040283203125,
-    "y": 1109.531298160553,
-    "z": "5c37638f.99fd6c",
+    "x": 824.5001182556152,
+    "y": 1629.531358718872,
+    "z": "36b7dca4.321614",
     "wires": [
       []
     ]
   },
   {
-    "id": "f8b5c142.e5e42",
+    "id": "dfe3d1ff.2a521",
     "type": "set",
     "name": "Add site attachement to list and update length",
     "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",
     "comments": "",
-    "x": 2546.2539978027344,
-    "y": 2001.2539825439453,
-    "z": "5c37638f.99fd6c",
+    "x": 2524.2500915527344,
+    "y": 1993.2539834976196,
+    "z": "36b7dca4.321614",
+    "wires": []
+  },
+  {
+    "id": "217830b4.c0fbe",
+    "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": 798.0000381469727,
+    "y": 1392.0001511573792,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "96b3b1d6.6853f",
+        "1031f4ad.8e47bb"
+      ]
+    ]
+  },
+  {
+    "id": "96b3b1d6.6853f",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1050.0001640319824,
+    "y": 1372.9999690055847,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "8b0a89e.ac4be78"
+      ]
+    ]
+  },
+  {
+    "id": "8b0a89e.ac4be78",
+    "type": "set",
+    "name": "set token-id",
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
+    "comments": "",
+    "x": 1199.0001640319824,
+    "y": 1371.9999384880066,
+    "z": "36b7dca4.321614",
+    "wires": []
+  },
+  {
+    "id": "736e51fc.b11ae",
+    "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": 1190.0001907348633,
+    "y": 1406.3932137489319,
+    "z": "36b7dca4.321614",
+    "wires": []
+  },
+  {
+    "id": "1031f4ad.8e47bb",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1042.2501983642578,
+    "y": 1408.6430916786194,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "736e51fc.b11ae"
+      ]
+    ]
+  },
+  {
+    "id": "ddc38088.8a3fe",
+    "type": "get-resource",
+    "name": "get-resource service-subscription",
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"service-subscription\" \n        key= 'service-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type \n        AND customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id'\n      force=\"true\" pfx=\"tmp.AnAI-data-tenant\">      ",
+    "comments": "",
+    "outputs": 1,
+    "x": 788.8955078125,
+    "y": 1504.5620493888855,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "7ac360ff.5d939",
+        "31a85191.f2ba9e"
+      ]
+    ]
+  },
+  {
+    "id": "4044e726.54dc28",
+    "type": "execute",
+    "name": "execute RestApiCallNode Create tenant auth",
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/baseservice/tenants/authorization/' + $prop.tenant-id`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"tenant-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.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": 826.3955688476562,
+    "y": 1571.4548954963684,
+    "z": "36b7dca4.321614",
+    "wires": [
+      []
+    ]
+  },
+  {
+    "id": "31a85191.f2ba9e",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 993.0739593505859,
+    "y": 1529.5224194526672,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "78002f69.6a616"
+      ]
+    ]
+  },
+  {
+    "id": "7ac360ff.5d939",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 999.3953704833984,
+    "y": 1477.3081078529358,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "267dc5cf.01d6aa"
+      ]
+    ]
+  },
+  {
+    "id": "78002f69.6a616",
+    "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": 1145.823959350586,
+    "y": 1529.2724804878235,
+    "z": "36b7dca4.321614",
+    "wires": []
+  },
+  {
+    "id": "267dc5cf.01d6aa",
+    "type": "switchNode",
+    "name": "switch temp-ub-sub-account-id",
+    "xml": "<switch test='`$tmp.AnAI-data-tenant.temp-ub-sub-account-id`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1200.8955993652344,
+    "y": 1469.3121304512024,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "b4bcdfc8.e4aa9",
+        "8620a0c4.6231"
+      ]
+    ]
+  },
+  {
+    "id": "8620a0c4.6231",
+    "type": "outcome",
+    "name": "NULL",
+    "xml": "<outcome value=''>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1434.00390625,
+    "y": 1428.0039439201355,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "3c0adb4c.ddc524"
+      ]
+    ]
+  },
+  {
+    "id": "b4bcdfc8.e4aa9",
+    "type": "other",
+    "name": "Other",
+    "xml": "<outcome value='Other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1387.2894859313965,
+    "y": 1522.0040221214294,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "89d850bf.fd785"
+      ]
+    ]
+  },
+  {
+    "id": "89d850bf.fd785",
+    "type": "set",
+    "name": "set prop.tenant-id",
+    "xml": "<set>\n<parameter name='prop.tenant-id' value='`$tmp.AnAI-data-tenant.temp-ub-sub-account-id`' />\n",
+    "comments": "",
+    "x": 1556.1466674804688,
+    "y": 1520.111035823822,
+    "z": "36b7dca4.321614",
+    "wires": []
+  },
+  {
+    "id": "3c0adb4c.ddc524",
+    "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": 1546.4322319030762,
+    "y": 1472.8253083229065,
+    "z": "36b7dca4.321614",
+    "wires": []
+  },
+  {
+    "id": "67ff0ce7.080b74",
+    "type": "for",
+    "name": "for ntidx.. mdsal-psd.service-data.networks.network_length[]",
+    "xml": "<for index='ntidx' start='0' end='`$mdsal-psd.service-data.networks.network_length`' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 752.03125,
+    "y": 898.03125,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "fd716ada.4b1c28"
+      ]
+    ]
+  },
+  {
+    "id": "134d81a7.f5395e",
+    "type": "block",
+    "name": "block atomic",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1883.0312728881836,
+    "y": 1319.0312900543213,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "bce6e7ae.f035f8"
+      ]
+    ]
+  },
+  {
+    "id": "fd716ada.4b1c28",
+    "type": "block",
+    "name": "block atomic",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 716.03125,
+    "y": 970.03125,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "f4a48bf3.c3a368"
+      ]
+    ]
+  },
+  {
+    "id": "f4a48bf3.c3a368",
+    "type": "switchNode",
+    "name": "switch ActivateSDWANConnectivityInstance",
+    "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$ntidx].network-data.request-information.request-action == 'ActivateSDWANConnectivityInstance'`\">\n    \n    \n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 991.9797973632812,
+    "y": 971.9958744049072,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "f6cd9004.4ba44"
+      ]
+    ]
+  },
+  {
+    "id": "f6cd9004.4ba44",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1248.979290008545,
+    "y": 970.9960045814514,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "eb687439.718738"
+      ]
+    ]
+  },
+  {
+    "id": "eb687439.718738",
+    "type": "block",
+    "name": "block atmoic",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 708.3299407958984,
+    "y": 1067.6630554199219,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "e1ac1018.71d85"
+      ]
+    ]
+  },
+  {
+    "id": "e1ac1018.71d85",
+    "type": "for",
+    "name": "for loop paramidx - Get topology from servicedata",
+    "xml": "<for index=\"paramidx\" start=\"0\" end=\"`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param_length`\">\n    \n    \n",
+    "comments": "",
+    "outputs": 1,
+    "x": 987.9800415039062,
+    "y": 1056.995677947998,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "512abcd4.05e604"
+      ]
+    ]
+  },
+  {
+    "id": "512abcd4.05e604",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1185.9796714782715,
+    "y": 1109.996166229248,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "3dd20169.7a4b1e",
+        "5ac591b5.a102a",
+        "2a45587b.540128"
+      ]
+    ]
+  },
+  {
+    "id": "5ac591b5.a102a",
+    "type": "switchNode",
+    "name": "switch vpnId",
+    "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'vpn-id'`\">\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1335.6458187103271,
+    "y": 1124.3284702301025,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "a59aadb.7fc765"
+      ]
+    ]
+  },
+  {
+    "id": "3dd20169.7a4b1e",
+    "type": "switchNode",
+    "name": "switch topology",
+    "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'topology'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1343.980094909668,
+    "y": 1081.995488166809,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "ed3b57c2.963288"
+      ]
+    ]
+  },
+  {
+    "id": "a59aadb.7fc765",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1487.645809173584,
+    "y": 1126.3285007476807,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "9a98c08c.190ca"
+      ]
+    ]
+  },
+  {
+    "id": "ed3b57c2.963288",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1495.9800853729248,
+    "y": 1083.9955186843872,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "30eaf968.c9a7c6"
+      ]
+    ]
+  },
+  {
+    "id": "30eaf968.c9a7c6",
+    "type": "set",
+    "name": "set topology",
+    "xml": "<set>\n<parameter name='prop.topology' value='`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
+    "comments": "",
+    "x": 1580.9800987243652,
+    "y": 1021.59543800354,
+    "z": "36b7dca4.321614",
+    "wires": []
+  },
+  {
+    "id": "9a98c08c.190ca",
+    "type": "set",
+    "name": "set prop.vpn1Id",
+    "xml": "<set>\n<parameter name='prop.vpn1Id' value='`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
+    "comments": "",
+    "x": 1635.6458740234375,
+    "y": 1115.928415298462,
+    "z": "36b7dca4.321614",
+    "wires": []
+  },
+  {
+    "id": "2a45587b.540128",
+    "type": "switchNode",
+    "name": "switch vpn name",
+    "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'name'`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1307.0312728881836,
+    "y": 1040.0312776565552,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "94f1ab0.72fe658"
+      ]
+    ]
+  },
+  {
+    "id": "94f1ab0.72fe658",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1417.0312767028809,
+    "y": 984.031247138977,
+    "z": "36b7dca4.321614",
+    "wires": [
+      [
+        "4b5a252a.c365bc"
+      ]
+    ]
+  },
+  {
+    "id": "4b5a252a.c365bc",
+    "type": "set",
+    "name": "set vpn name",
+    "xml": "<set>\n<parameter name='prop.name' value='`$mdsal-psd.service-data.networks.network[$ntidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
+    "comments": "",
+    "x": 1538.0312767028809,
+    "y": 949.6312837600708,
+    "z": "36b7dca4.321614",
     "wires": []
   }
 ]