Support individual CLL deletion, and UNI removal from Ethernet Service, and 01/124601/2
authorHesam Rahimi <hesam.rahimi@huawei.com>
Wed, 29 Sep 2021 21:20:32 +0000 (17:20 -0400)
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Tue, 12 Oct 2021 11:47:11 +0000 (11:47 +0000)
adjusting the bandwidth of OTN tunnels and UNIs accordingly.

Issue-ID: SDNC-1594
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I0d5e30a948cf0a9fe10dc9ce0c4c5f5584797469

Former-commit-id: 68c418849f4636b0e960a80fa3604519723167cf

platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1-Activate.json
platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json
platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json
platform-logic/generic-resource-api/src/main/resources/graph.versions
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1-Activate.xml
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.xml [new file with mode: 0644]
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.xml
platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.xml

index 795a741..4ba32b4 100644 (file)
 [\r
     {\r
-        "id": "2395bbe0.4b8ec4",\r
+        "id": "6467c9b6.3ea7b",\r
         "type": "save",\r
         "name": "get all-vpn-bindings from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 361,\r
-        "y": 348,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 415.8833312988281,\r
+        "y": 377,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "7a4b4c32.339f0c",\r
-                "476b558f.0cf4e4",\r
-                "c5f863d4.faa76"\r
+                "1c0c6fa0.017178",\r
+                "ec984d7b.605098",\r
+                "25450eba.0fd99a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7a4b4c32.339f0c",\r
+        "id": "1c0c6fa0.017178",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 549,\r
-        "y": 361,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 603.8833312988281,\r
+        "y": 390,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "477b4d49.40f0ec"\r
+                "fcdf737f.3ba08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "476b558f.0cf4e4",\r
+        "id": "ec984d7b.605098",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 549.490966796875,\r
-        "y": 406.57403564453125,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 611.374267578125,\r
+        "y": 432.57403564453125,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
-            [\r
-                "9391f816.87a258"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "c5f863d4.faa76",\r
+        "id": "25450eba.0fd99a",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 547,\r
-        "y": 450,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 601.8833312988281,\r
+        "y": 479,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "7e716c79.c4ee54"\r
+                "f645589d.ed3d98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "477b4d49.40f0ec",\r
+        "id": "fcdf737f.3ba08",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 722,\r
-        "y": 359,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 776.8833312988281,\r
+        "y": 388,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "de48ad25.e4a568"\r
+                "6641b1bb.011df8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9391f816.87a258",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
-        "comments": "",\r
-        "x": 712.0623779296875,\r
-        "y": 406.8597717285156,\r
-        "z": "ed7c1675.7a56b",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7e716c79.c4ee54",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
-        "comments": "",\r
-        "x": 714,\r
-        "y": 449,\r
-        "z": "ed7c1675.7a56b",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "de48ad25.e4a568",\r
+        "id": "6641b1bb.011df8",\r
         "type": "for",\r
         "name": "for vpnidx in all-vpn-bindings",\r
         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 951,\r
-        "y": 360,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1005.8833312988281,\r
+        "y": 389,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "1fd8993c.e83297"\r
+                "42fd94e4.9f459c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1fd8993c.e83297",\r
+        "id": "42fd94e4.9f459c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1166,\r
-        "y": 361,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1220.8833312988281,\r
+        "y": 390,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "33755ee2.127952"\r
+                "341f3db4.7e268a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "edb565df.2fd588",\r
+        "id": "802e937a.3ac",\r
         "type": "switchNode",\r
         "name": "switch vpnuuid is for this slice",\r
         "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1420,\r
-        "y": 283,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1474.8833312988281,\r
+        "y": 312,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "d9f77b89.2576a8",\r
-                "d1a41641.7e8658"\r
+                "ccfe4ade.41ae98",\r
+                "912c0faa.e5e1c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d9f77b89.2576a8",\r
+        "id": "ccfe4ade.41ae98",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1637,\r
-        "y": 262,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1691.8833312988281,\r
+        "y": 291,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "33755ee2.127952"\r
+                "341f3db4.7e268a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d1a41641.7e8658",\r
+        "id": "912c0faa.e5e1c8",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1637,\r
-        "y": 311,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1691.8833312988281,\r
+        "y": 340,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "33755ee2.127952",\r
+        "id": "341f3db4.7e268a",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic='true'>",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1821,\r
-        "y": 348,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1875.8833312988281,\r
+        "y": 377,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "9647ef19.c8c25",\r
-                "b3842f71.731b38",\r
-                "ca01ca51.23bb98"\r
+                "b1ca96f9.f78f38",\r
+                "2c3b3231.83c2be",\r
+                "4660bf61.473a18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "48081245.456c3c",\r
+        "id": "377c3031.0fc7c",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 180,\r
-        "y": 89,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 234.88333129882812,\r
+        "y": 118,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "226f6982.562f5e"\r
+                "8b8ba227.5e7638"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "226f6982.562f5e",\r
+        "id": "8b8ba227.5e7638",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\r
         "comments": "",\r
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 464.2856903076172,\r
-        "y": 150.23810863494873,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 519.1690216064453,\r
+        "y": 179.23810863494873,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "f533e2ec.f849f"\r
+                "6c55ded0.30c498"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f533e2ec.f849f",\r
+        "id": "6c55ded0.30c498",\r
         "type": "method",\r
         "name": "method cll-vnf-topology-operation-cll-F1-Activate",\r
         "xml": "<method rpc='cll-vnf-topology-operation-cll-F1-Activate' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 470.42860412597656,\r
-        "y": 235.00003051757812,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 525.3119354248047,\r
+        "y": 264.0000305175781,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "15848be5.af4ba4"\r
+                "b63c19cf.5911b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "15848be5.af4ba4",\r
+        "id": "b63c19cf.5911b8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 780.238037109375,\r
-        "y": 226.66668701171875,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 835.1213684082031,\r
+        "y": 255.66668701171875,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "2395bbe0.4b8ec4",\r
-                "5c62cbf5.952894",\r
-                "4957906b.cb3908",\r
-                "25a3d5e5.55ea62",\r
-                "624a734b.81957c"\r
+                "6467c9b6.3ea7b",\r
+                "7714415.bcb45c",\r
+                "2cf2ff05.5ecb98",\r
+                "ff64d6f0.1d24e",\r
+                "c19ef147.be92d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9647ef19.c8c25",\r
+        "id": "b1ca96f9.f78f38",\r
         "type": "set",\r
         "name": "set tmp.aai.vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
         "comments": "",\r
-        "x": 2038,\r
-        "y": 286,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2092.883331298828,\r
+        "y": 315,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "927e2807.47e1",\r
+        "id": "f11c1dac.45c748",\r
         "type": "set",\r
         "name": "set attachment_param for OTN A",\r
         "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n",\r
         "comments": "",\r
-        "x": 4207,\r
-        "y": 172,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4261.883331298828,\r
+        "y": 201,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "71f8cbde.7b70ec",\r
+        "id": "c95c33ef.381fa8",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-src-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4288,\r
-        "y": 487,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4342.883331298828,\r
+        "y": 516,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "dca0592f.f2f0f8",\r
-                "7abf945b.d3630c"\r
+                "89c7efd5.cb6558",\r
+                "d5cfec9d.5347f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dca0592f.f2f0f8",\r
+        "id": "89c7efd5.cb6558",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4597.5,\r
-        "y": 456,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4652.383331298828,\r
+        "y": 485,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "4d6d008.1dd328"\r
+                "beffe966.8b1b08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7abf945b.d3630c",\r
+        "id": "d5cfec9d.5347f8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4602.5,\r
-        "y": 521,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4657.383331298828,\r
+        "y": 550,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "6ddc3bc2.826894"\r
+                "18fce568.1c292b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4d6d008.1dd328",\r
+        "id": "beffe966.8b1b08",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create OTN tunnel rest api\" />\n",\r
         "comments": "",\r
-        "x": 4773.5,\r
-        "y": 456,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4828.383331298828,\r
+        "y": 485,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6ddc3bc2.826894",\r
+        "id": "18fce568.1c292b",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4769,\r
-        "y": 521,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4823.883331298828,\r
+        "y": 550,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "639d74a6.1d8f04",\r
+        "id": "64fdffc9.427678",\r
         "type": "set",\r
         "name": "set sotn_value",\r
         "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityA.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityA.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityA.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />\n",\r
         "comments": "",\r
-        "x": 4152.5,\r
-        "y": 741,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4207.383331298828,\r
+        "y": 770,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d9456183.6b2d68",\r
+        "id": "c0e95206.343c2",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4306.5,\r
-        "y": 789,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4361.383331298828,\r
+        "y": 818,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "3efbdf9b.54682",\r
-                "243cc169.72316e"\r
+                "7a1edf39.b6a0f8",\r
+                "b605ddae.9f2b2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3efbdf9b.54682",\r
+        "id": "7a1edf39.b6a0f8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4652,\r
-        "y": 770,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4706.883331298828,\r
+        "y": 799,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "ba970949.4ab53"\r
+                "db29824f.2b664"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "243cc169.72316e",\r
+        "id": "b605ddae.9f2b2",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4656,\r
-        "y": 810,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4710.883331298828,\r
+        "y": 839,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "4891a43f.02e58c"\r
+                "10ebb808.22b9d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ba970949.4ab53",\r
+        "id": "db29824f.2b664",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create ethernet service rest api\" />\n",\r
         "comments": "",\r
-        "x": 4810,\r
-        "y": 770,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4864.883331298828,\r
+        "y": 799,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4891a43f.02e58c",\r
+        "id": "10ebb808.22b9d8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4813.5,\r
-        "y": 810,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4868.383331298828,\r
+        "y": 839,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "388beb56.7c7234",\r
-                "eb334e0f.b54c3"\r
+                "6d35eb39.2fe42c",\r
+                "b62c3c22.2cb09"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "388beb56.7c7234",\r
+        "id": "6d35eb39.2fe42c",\r
         "type": "save",\r
         "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5144,\r
-        "y": 775,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5198.883331298828,\r
+        "y": 804,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d196af8c.f36ae8",\r
+        "id": "3f34bcf0.b30eb4",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
         "comments": "",\r
-        "x": 5008,\r
-        "y": 734,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5062.883331298828,\r
+        "y": 763,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "eb334e0f.b54c3",\r
+        "id": "b62c3c22.2cb09",\r
         "type": "save",\r
         "name": "update connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivityA.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5071,\r
-        "y": 821,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5125.883331298828,\r
+        "y": 850,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "51361643.15e97",\r
+        "id": "dc51dde.504a12",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingA.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingA.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingA.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingA.src-access-node-id`\" />\n",\r
         "comments": "",\r
-        "x": 4145,\r
-        "y": 220,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4199.883331298828,\r
+        "y": 249,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7074e291.428a74",\r
+        "id": "25f0cbb9.ff400c",\r
         "type": "get-resource",\r
         "name": "get-resource src pnf",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4171,\r
-        "y": 337,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4225.883331298828,\r
+        "y": 366,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "fd9f25cd.b6ab9",\r
-                "13f82e43.b47822",\r
-                "a1ba843c.92fa78"\r
+                "26af6a64.84f75e",\r
+                "dfaad5e6.3e7388",\r
+                "d4f19086.9e394"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fd9f25cd.b6ab9",\r
+        "id": "26af6a64.84f75e",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4366.5001220703125,\r
-        "y": 289,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4421.383453369141,\r
+        "y": 318,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "10d11922.59185f"\r
+                "825f4729.b63ee8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "13f82e43.b47822",\r
+        "id": "dfaad5e6.3e7388",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4358.5001220703125,\r
-        "y": 344,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4413.383453369141,\r
+        "y": 373,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "19650434.8dad4c"\r
+                "92b1984a.bc8b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "10d11922.59185f",\r
+        "id": "825f4729.b63ee8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4510.8824462890625,\r
-        "y": 288.6556701660156,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4565.765777587891,\r
+        "y": 317.6556701660156,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "777ae9c7.6a278"\r
+                "415768e6.6651f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "391ce87d.ba3df8",\r
+        "id": "a6a2d3e2.2e526",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5093,\r
-        "y": 291,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5147.883331298828,\r
+        "y": 320,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "65b820ac.17e0d"\r
+                "e243a570.71b51"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "777ae9c7.6a278",\r
+        "id": "415768e6.6651f8",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4695,\r
-        "y": 287,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4749.883331298828,\r
+        "y": 316,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "f4f1a808.b22bc"\r
+                "ab4dd1f4.04e1f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f4f1a808.b22bc",\r
+        "id": "ab4dd1f4.04e1f",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4890,\r
-        "y": 287,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4944.883331298828,\r
+        "y": 316,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "391ce87d.ba3df8"\r
+                "a6a2d3e2.2e526"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a1ba843c.92fa78",\r
+        "id": "d4f19086.9e394",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4363.5001220703125,\r
-        "y": 401,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4418.383453369141,\r
+        "y": 430,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a6d9e4b5.ea0fd8"\r
+                "28f88c03.cb5e5c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a6d9e4b5.ea0fd8",\r
+        "id": "28f88c03.cb5e5c",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 4515.5001220703125,\r
-        "y": 402,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4570.383453369141,\r
+        "y": 431,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "19650434.8dad4c",\r
+        "id": "92b1984a.bc8b",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 4526.5001220703125,\r
-        "y": 345,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4581.383453369141,\r
+        "y": 374,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5d042a1f.c8fb44",\r
+        "id": "677439f1.5f7ed",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5478,\r
-        "y": 304,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5532.883331298828,\r
+        "y": 333,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "8c0f87c1.0cfa88",\r
-                "96b96977.b4fed8",\r
-                "6ce026da.737ea"\r
+                "e7fd97d3.bbcd08",\r
+                "38bba5b7.de41b2",\r
+                "6bf961e8.c56a58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "65b820ac.17e0d",\r
+        "id": "e243a570.71b51",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 5272,\r
-        "y": 291,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5326.883331298828,\r
+        "y": 320,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "1918c44c.117ae4",\r
-                "5d042a1f.c8fb44"\r
+                "857cacb0.81444",\r
+                "677439f1.5f7ed"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1918c44c.117ae4",\r
+        "id": "857cacb0.81444",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainA id",\r
         "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 5508,\r
-        "y": 252,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5562.883331298828,\r
+        "y": 281,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8c0f87c1.0cfa88",\r
+        "id": "e7fd97d3.bbcd08",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5688,\r
-        "y": 295,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5742.883331298828,\r
+        "y": 324,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "e1aae278.d9aab"\r
+                "60a50433.d26434"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "96b96977.b4fed8",\r
+        "id": "38bba5b7.de41b2",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5680,\r
-        "y": 350,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5734.883331298828,\r
+        "y": 379,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a74826f7.daef6"\r
+                "d9350787.861f1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6ce026da.737ea",\r
+        "id": "6bf961e8.c56a58",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5685,\r
-        "y": 407,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5739.883331298828,\r
+        "y": 436,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "80c7718d.f0881"\r
+                "1afc54ba.8ed313"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80c7718d.f0881",\r
+        "id": "1afc54ba.8ed313",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 5837,\r
-        "y": 408,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5891.883331298828,\r
+        "y": 437,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a74826f7.daef6",\r
+        "id": "d9350787.861f1",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 5848,\r
-        "y": 353,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5902.883331298828,\r
+        "y": 382,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e1aae278.d9aab",\r
+        "id": "60a50433.d26434",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5832.38232421875,\r
-        "y": 292.6556701660156,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5887.265655517578,\r
+        "y": 321.6556701660156,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "b6fb5857.56d2c"\r
+                "8367dac2.ac8b98"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b6fb5857.56d2c",\r
+        "id": "8367dac2.ac8b98",\r
         "type": "set",\r
         "name": "set controller domainA data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 6047,\r
-        "y": 289,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 6101.883331298828,\r
+        "y": 318,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "881ac3d.2b73cc",\r
+        "id": "aa2473a.12d4d9",\r
         "type": "set",\r
         "name": "set attachment_param for OTN B",\r
         "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingB.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<!--<parameter name='src-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingB.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingB.src-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-dst-domain' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n",\r
         "comments": "",\r
-        "x": 3614,\r
-        "y": 1629,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3668.883331298828,\r
+        "y": 1658,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f942fe34.857118",\r
+        "id": "28a663c6.7433b4",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-dst-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3677,\r
-        "y": 1958,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3731.883331298828,\r
+        "y": 1987,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "d6aba815.0c0b98",\r
-                "fb15fc4f.27732"\r
+                "422a3196.0fb7d",\r
+                "371e9e8f.f6f942"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d6aba815.0c0b98",\r
+        "id": "422a3196.0fb7d",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3972.5,\r
-        "y": 1925,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4027.383331298828,\r
+        "y": 1954,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "f7e9b7f6.cb6cf8"\r
+                "c3084137.121c7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fb15fc4f.27732",\r
+        "id": "371e9e8f.f6f942",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3977.5,\r
-        "y": 1990,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4032.383331298828,\r
+        "y": 2019,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "e7e93f9f.05e6f8"\r
+                "c6676165.ac5c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7e9b7f6.cb6cf8",\r
+        "id": "c3084137.121c7",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create OTN tunnel rest api\" />\n",\r
         "comments": "",\r
-        "x": 4140.5,\r
-        "y": 1925,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4195.383331298828,\r
+        "y": 1954,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e7e93f9f.05e6f8",\r
+        "id": "c6676165.ac5c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4151,\r
-        "y": 1990,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4205.883331298828,\r
+        "y": 2019,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c6f7c9bc.a78ea8",\r
+        "id": "dfee532c.a1419",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingB.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingB.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingB.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingB.dst-access-node-id`\" />\n",\r
         "comments": "",\r
-        "x": 3553,\r
-        "y": 1686,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3607.883331298828,\r
+        "y": 1715,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8f243ad6.97dd38",\r
+        "id": "e52702af.314718",\r
         "type": "get-resource",\r
         "name": "get-resource dst pnf",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3573,\r
-        "y": 1783,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3627.883331298828,\r
+        "y": 1812,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a8e6c84d.0f237",\r
-                "3ee8ddc2.b7378a",\r
-                "311698c.6883b68"\r
+                "9ca1c561.5c796",\r
+                "9cf5cab4.99d6e",\r
+                "5d5762eb.724c64"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a8e6c84d.0f237",\r
+        "id": "9ca1c561.5c796",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3775.5001220703125,\r
-        "y": 1736,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3830.3834533691406,\r
+        "y": 1765,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "6ef9124f.c91bc4"\r
+                "502f683e.00cf7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3ee8ddc2.b7378a",\r
+        "id": "9cf5cab4.99d6e",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3767.5001220703125,\r
-        "y": 1791,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3822.3834533691406,\r
+        "y": 1820,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "9b01e4a.2bf7598"\r
+                "9587c00d.994eb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6ef9124f.c91bc4",\r
+        "id": "502f683e.00cf7",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3919.8824462890625,\r
-        "y": 1733.6556701660156,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3974.7657775878906,\r
+        "y": 1762.6556701660156,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "8bd570a1.9b5908"\r
+                "39b96666.82062a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8bd570a1.9b5908",\r
+        "id": "39b96666.82062a",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4104,\r
-        "y": 1748,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4158.883331298828,\r
+        "y": 1777,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "5951fb7a.778dbc"\r
+                "94ae9a5d.e5d56"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "311698c.6883b68",\r
+        "id": "5d5762eb.724c64",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3772.5001220703125,\r
-        "y": 1848,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3827.3834533691406,\r
+        "y": 1877,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "25fe1469.5e13bc"\r
+                "7a00ac4a.8d918c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "25fe1469.5e13bc",\r
+        "id": "7a00ac4a.8d918c",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3924.5001220703125,\r
-        "y": 1849,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3979.3834533691406,\r
+        "y": 1878,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9b01e4a.2bf7598",\r
+        "id": "9587c00d.994eb",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 3935.5001220703125,\r
-        "y": 1794,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3990.3834533691406,\r
+        "y": 1823,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a9a3100d.7e9a38",\r
+        "id": "f1540d0.014217",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4502,\r
-        "y": 1752,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4556.883331298828,\r
+        "y": 1781,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "15a6f6cf.b80121"\r
+                "c932c6af.938f38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5951fb7a.778dbc",\r
+        "id": "94ae9a5d.e5d56",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4299,\r
-        "y": 1748,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4353.883331298828,\r
+        "y": 1777,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a9a3100d.7e9a38"\r
+                "f1540d0.014217"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b462757e.f97cf",\r
+        "id": "2ff151e7.182fee",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4887,\r
-        "y": 1751,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4941.883331298828,\r
+        "y": 1780,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "f548cd5f.cf97e8",\r
-                "7bf2c309.936484",\r
-                "37200156.6e45ae"\r
+                "40d3a7a.4400bd8",\r
+                "353377f9.20c718",\r
+                "f8f22501.0020d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "15a6f6cf.b80121",\r
+        "id": "c932c6af.938f38",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4679,\r
-        "y": 1744,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4733.883331298828,\r
+        "y": 1773,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "24625031.3ccbb",\r
-                "b462757e.f97cf"\r
+                "53fc3a7e.05d404",\r
+                "2ff151e7.182fee"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "24625031.3ccbb",\r
+        "id": "53fc3a7e.05d404",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainB id",\r
         "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 4917,\r
-        "y": 1699,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4971.883331298828,\r
+        "y": 1728,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3717e4c0.7e91fc",\r
+        "id": "d551b07b.11f68",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 5246,\r
-        "y": 1855,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5300.883331298828,\r
+        "y": 1884,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ebaf4cad.7f7ac",\r
+        "id": "c19bb319.e0e2b8",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 5257,\r
-        "y": 1800,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5311.883331298828,\r
+        "y": 1829,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "95133e26.a5c4",\r
+        "id": "2dbaf595.6cfed2",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5241.38232421875,\r
-        "y": 1739.6556701660156,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5296.265655517578,\r
+        "y": 1768.6556701660156,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "74fa69d9.12322"\r
+                "eaeaf1b8.196fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "74fa69d9.12322",\r
+        "id": "eaeaf1b8.196fc",\r
         "type": "set",\r
         "name": "set controller domainB data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 5456,\r
-        "y": 1736,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5510.883331298828,\r
+        "y": 1765,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f548cd5f.cf97e8",\r
+        "id": "40d3a7a.4400bd8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5097,\r
-        "y": 1742,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5151.883331298828,\r
+        "y": 1771,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "95133e26.a5c4"\r
+                "2dbaf595.6cfed2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7bf2c309.936484",\r
+        "id": "353377f9.20c718",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5089,\r
-        "y": 1797,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5143.883331298828,\r
+        "y": 1826,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "ebaf4cad.7f7ac"\r
+                "c19bb319.e0e2b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37200156.6e45ae",\r
+        "id": "f8f22501.0020d8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5094,\r
-        "y": 1854,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5148.883331298828,\r
+        "y": 1883,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "3717e4c0.7e91fc"\r
+                "d551b07b.11f68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4573661e.19551",\r
+        "id": "c7d66e95.fb47e",\r
         "type": "switchNode",\r
         "name": "switch vpn-binding has dst-access-ltp",\r
         "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3128,\r
-        "y": 700,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3182.883331298828,\r
+        "y": 729,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "e3a931ba.d41978",\r
-                "cce98769.66d2f"\r
+                "4d8bbec2.c0db6",\r
+                "507d82bd.8807cc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e3a931ba.d41978",\r
+        "id": "4d8bbec2.c0db6",\r
         "type": "outcome",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3342,\r
-        "y": 737,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3396.883331298828,\r
+        "y": 766,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "83f7a2a0.47e4a"\r
+                "6524452d.4a2f94"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cce98769.66d2f",\r
+        "id": "507d82bd.8807cc",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3344,\r
-        "y": 675,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3398.883331298828,\r
+        "y": 704,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a3a1c771.fa4dc8"\r
+                "4b590d33.c81684"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "83f7a2a0.47e4a",\r
+        "id": "6524452d.4a2f94",\r
         "type": "switchNode",\r
         "name": "switch vpn-binding has src-access-ltp",\r
         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2922,\r
-        "y": 1980,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2976.883331298828,\r
+        "y": 2009,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "b17cf12.c5b4e9",\r
-                "375f750c.523c3a"\r
+                "75800cfe.e64b04",\r
+                "28895848.af5c18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b17cf12.c5b4e9",\r
+        "id": "75800cfe.e64b04",\r
         "type": "outcome",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3175,\r
-        "y": 2014,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3229.883331298828,\r
+        "y": 2043,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "b574ded7.ea26d"\r
+                "34389e65.7f3f0a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "375f750c.523c3a",\r
+        "id": "28895848.af5c18",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3175,\r
-        "y": 1958,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3229.883331298828,\r
+        "y": 1987,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "3eeb971b.8e101"\r
+                "4c94a377.c6d4e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b574ded7.ea26d",\r
+        "id": "34389e65.7f3f0a",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 3326,\r
-        "y": 2014,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3380.883331298828,\r
+        "y": 2043,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "27c7cf1.51adcb",\r
+        "id": "ff717106.1f6f7",\r
         "type": "set",\r
         "name": "set vpn-bindingA and connectivityA",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityA.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
         "comments": "",\r
-        "x": 4202,\r
-        "y": 112,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4256.883331298828,\r
+        "y": 141,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e24e0a9e.a7db8",\r
+        "id": "98bc8f5e.55646",\r
         "type": "set",\r
         "name": "set vpn-bindingB and connectivityB",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingB.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityB.' value=\"`$tmp.aai.connectivity.`\" />\n\n",\r
         "comments": "",\r
-        "x": 3610,\r
-        "y": 1571,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3664.883331298828,\r
+        "y": 1600,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6b14e6ca.05c05",\r
+        "id": "1901ad68.6869bb",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3893,\r
-        "y": 369,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3947.883331298828,\r
+        "y": 398,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "27c7cf1.51adcb",\r
-                "927e2807.47e1",\r
-                "51361643.15e97",\r
-                "7074e291.428a74",\r
-                "71f8cbde.7b70ec",\r
-                "41c50446.37f104",\r
-                "e5881b35.2a2bf8",\r
-                "ceaa1f2c.697ad"\r
+                "ff717106.1f6f7",\r
+                "f11c1dac.45c748",\r
+                "dc51dde.504a12",\r
+                "25f0cbb9.ff400c",\r
+                "c95c33ef.381fa8",\r
+                "7a0ef184.deb28",\r
+                "dd4c3392.e1b02",\r
+                "2a6ffb7c.8797f4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3eeb971b.8e101",\r
+        "id": "4c94a377.c6d4e4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3326,\r
-        "y": 1957,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3380.883331298828,\r
+        "y": 1986,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "e24e0a9e.a7db8",\r
-                "881ac3d.2b73cc",\r
-                "c6f7c9bc.a78ea8",\r
-                "8f243ad6.97dd38",\r
-                "f942fe34.857118",\r
-                "51d22e16.357968",\r
-                "8caebf31.dc028",\r
-                "6ccc1a6d.d89cd4"\r
+                "98bc8f5e.55646",\r
+                "aa2473a.12d4d9",\r
+                "dfee532c.a1419",\r
+                "e52702af.314718",\r
+                "28a663c6.7433b4",\r
+                "c984548c.2e537",\r
+                "88e8f378.a2b808",\r
+                "1fda4b4a.2131e5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f87bcfd0.50c8c",\r
+        "id": "d79079df.baf578",\r
         "type": "set",\r
         "name": "set sotn_value",\r
         "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityB.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityB.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityB.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityB.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityB.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityB.cvlan`' />\n\n",\r
         "comments": "",\r
-        "x": 3564,\r
-        "y": 2256,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3618.883331298828,\r
+        "y": 2285,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ab6e58b.3c55528",\r
+        "id": "45ccc628.f5551",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3718,\r
-        "y": 2304,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3772.883331298828,\r
+        "y": 2333,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "eff9a19.776a7e",\r
-                "ddb717fb.d9a6d8"\r
+                "6173b4db.203ce4",\r
+                "7f21396.e7ee248"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eff9a19.776a7e",\r
+        "id": "6173b4db.203ce4",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4063.5,\r
-        "y": 2285,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4118.383331298828,\r
+        "y": 2314,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "59a2ea1f.0d3f14"\r
+                "2b5ddf83.e8a168"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ddb717fb.d9a6d8",\r
+        "id": "7f21396.e7ee248",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4067.5,\r
-        "y": 2325,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4122.383331298828,\r
+        "y": 2354,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "81b55fda.fb8e98"\r
+                "9fc151.f9cc46b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "59a2ea1f.0d3f14",\r
+        "id": "2b5ddf83.e8a168",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create ethernet service rest api\" />\n",\r
         "comments": "",\r
-        "x": 4221.5,\r
-        "y": 2285,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4276.383331298828,\r
+        "y": 2314,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "81b55fda.fb8e98",\r
+        "id": "9fc151.f9cc46b",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4225,\r
-        "y": 2325,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4279.883331298828,\r
+        "y": 2354,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "1bcc30a0.546397",\r
-                "1eaaa262.028326"\r
+                "ec406c4.a093b1",\r
+                "ba32c60f.0ec53"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1bcc30a0.546397",\r
+        "id": "ec406c4.a093b1",\r
         "type": "save",\r
         "name": "update vpn-binding B resource (aka. OTN domainB) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4565,\r
-        "y": 2324,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4619.883331298828,\r
+        "y": 2353,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "68a7db89.5a89fc",\r
+        "id": "650aeaf3.da502c",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "use proper vpn-binding id and connectivity\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
         "comments": "",\r
-        "x": 4423,\r
-        "y": 2282,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4477.883331298828,\r
+        "y": 2311,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1eaaa262.028326",\r
+        "id": "ba32c60f.0ec53",\r
         "type": "save",\r
         "name": "update connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivityB.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4494,\r
-        "y": 2373,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4548.883331298828,\r
+        "y": 2402,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "71f36947.989c9",\r
+        "id": "c8295377.ff6158",\r
         "type": "set",\r
         "name": "set attachment_param (gfp-n) for OTN",\r
         "xml": "<set>\n<parameter name='gfp-n' value='`$tmp.aai.vpn-binding.route-distinguisher`' />\n",\r
         "comments": "",\r
-        "x": 3119,\r
-        "y": 640,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3173.883331298828,\r
+        "y": 669,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "24508e5.8723172",\r
+        "id": "17d3b71c.0a74f9",\r
         "type": "comment",\r
         "name": "only dst ttp exists. No src",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3714,\r
-        "y": 326,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3768.883331298828,\r
+        "y": 355,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f3eaab4d.9a827",\r
+        "id": "12dd212a.e5931f",\r
         "type": "comment",\r
         "name": "only src ttp exists. No dst",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3271,\r
-        "y": 1904,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3325.883331298828,\r
+        "y": 1933,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a3a1c771.fa4dc8",\r
+        "id": "4b590d33.c81684",\r
         "type": "switchNode",\r
         "name": "switch vpn-binding has src-access-ltp",\r
         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3450,\r
-        "y": 488,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3504.883331298828,\r
+        "y": 517,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "6921df6d.0bad7",\r
-                "5859006e.3869c8"\r
+                "e68f7957.57ea98",\r
+                "90c8120e.55a8c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5859006e.3869c8",\r
+        "id": "90c8120e.55a8c8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3692,\r
-        "y": 1077,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3746.883331298828,\r
+        "y": 1106,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "6a1db5bd.d7e224"\r
+                "5f92c041.e2a22"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6921df6d.0bad7",\r
+        "id": "e68f7957.57ea98",\r
         "type": "outcome",\r
         "name": "Null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3686,\r
-        "y": 368,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3740.883331298828,\r
+        "y": 397,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "6b14e6ca.05c05"\r
+                "1901ad68.6869bb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a1db5bd.d7e224",\r
+        "id": "5f92c041.e2a22",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3850,\r
-        "y": 1076,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3904.883331298828,\r
+        "y": 1105,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "e8ac2c73.115cc",\r
-                "de077050.d3ab3",\r
-                "d36a1b80.8692c8",\r
-                "73f78d36.ab931c",\r
-                "8ec0e69e.0bdfb8",\r
-                "4004366.ff0b5c8"\r
+                "eb5cd95b.b46698",\r
+                "bcb9498.a9205b8",\r
+                "24e13fd8.afe2d8",\r
+                "57e5431f.63be4c",\r
+                "8b688219.8ed198",\r
+                "9c0b0957.1e6c48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "de077050.d3ab3",\r
+        "id": "bcb9498.a9205b8",\r
         "type": "set",\r
         "name": "set attachment_param for OTN G",\r
         "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingG.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingG.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingG.src-access-ltp-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingG.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-domainG' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingG.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingG.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingG.access-topology-id`' />\n",\r
         "comments": "",\r
-        "x": 4114,\r
-        "y": 959,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4168.883331298828,\r
+        "y": 988,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8ec0e69e.0bdfb8",\r
+        "id": "8b688219.8ed198",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-otn-domainG-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4195,\r
-        "y": 1274,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4249.883331298828,\r
+        "y": 1303,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a8d20b89.8deb88",\r
-                "ebe8f709.819288"\r
+                "4ea88210.ceec44",\r
+                "cd5b1128.4dbb9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a8d20b89.8deb88",\r
+        "id": "4ea88210.ceec44",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4504.5,\r
-        "y": 1243,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4559.383331298828,\r
+        "y": 1272,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "f56a0e73.901ac"\r
+                "9646de5b.fe3c7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ebe8f709.819288",\r
+        "id": "cd5b1128.4dbb9",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4509.5,\r
-        "y": 1308,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4564.383331298828,\r
+        "y": 1337,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "8bcbb353.d66038"\r
+                "55735b11.27f424"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f56a0e73.901ac",\r
+        "id": "9646de5b.fe3c7",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create OTN tunnel rest api\" />\n",\r
         "comments": "",\r
-        "x": 4680.5,\r
-        "y": 1243,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4735.383331298828,\r
+        "y": 1272,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8bcbb353.d66038",\r
+        "id": "55735b11.27f424",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4676,\r
-        "y": 1308,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4730.883331298828,\r
+        "y": 1337,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d36a1b80.8692c8",\r
+        "id": "24e13fd8.afe2d8",\r
         "type": "set",\r
         "name": "set pnf-name",\r
         "xml": "<set>\n<parameter name='tmp.domainG.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingG.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingG.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingG.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingG.src-access-node-id`\" />\n",\r
         "comments": "",\r
-        "x": 4052,\r
-        "y": 1007,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4106.883331298828,\r
+        "y": 1036,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "73f78d36.ab931c",\r
+        "id": "57e5431f.63be4c",\r
         "type": "get-resource",\r
         "name": "get-resource src pnf",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domainG.pnf-name\"\n        pfx='tmp.aai.domainG-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4078,\r
-        "y": 1124,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4132.883331298828,\r
+        "y": 1153,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "e0243648.484bc",\r
-                "e14aa09.d5d416",\r
-                "5447b1d0.03a8b"\r
+                "1d187a80.e65b15",\r
+                "370c15e3.9b5fca",\r
+                "703dc49a.960884"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e0243648.484bc",\r
+        "id": "1d187a80.e65b15",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4273.5001220703125,\r
-        "y": 1076,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4328.383453369141,\r
+        "y": 1105,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "94135ed.07ea02"\r
+                "5c6509dd.e3a81"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e14aa09.d5d416",\r
+        "id": "370c15e3.9b5fca",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4265.5001220703125,\r
-        "y": 1131,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4320.383453369141,\r
+        "y": 1160,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "1628394b.83cd8f"\r
+                "ccfe239.f2e7de"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "94135ed.07ea02",\r
+        "id": "5c6509dd.e3a81",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4417.8824462890625,\r
-        "y": 1075.6556701660156,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4472.765777587891,\r
+        "y": 1104.6556701660156,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "fdedf72e.2dd36"\r
+                "35d4ca24.cf236e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fdedf72e.2dd36",\r
+        "id": "35d4ca24.cf236e",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.domainG-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4602,\r
-        "y": 1074,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4656.883331298828,\r
+        "y": 1103,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "f99d2e19.85b668"\r
+                "c8705d75.001f7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f99d2e19.85b668",\r
+        "id": "c8705d75.001f7",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4797,\r
-        "y": 1074,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4851.883331298828,\r
+        "y": 1103,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "ff4cc7a8.15eb18"\r
+                "b9376422.2a71"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5447b1d0.03a8b",\r
+        "id": "703dc49a.960884",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4270.5001220703125,\r
-        "y": 1188,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4325.383453369141,\r
+        "y": 1217,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "74603a77.be9d34"\r
+                "ece92d94.dd0ac"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "74603a77.be9d34",\r
+        "id": "ece92d94.dd0ac",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 4422.5001220703125,\r
-        "y": 1189,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4477.383453369141,\r
+        "y": 1218,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1628394b.83cd8f",\r
+        "id": "ccfe239.f2e7de",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 4433.5001220703125,\r
-        "y": 1132,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4488.383453369141,\r
+        "y": 1161,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e8ac2c73.115cc",\r
+        "id": "eb5cd95b.b46698",\r
         "type": "set",\r
         "name": "set vpn-bindingG and connectivityG",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingG.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityG.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
         "comments": "",\r
-        "x": 4109,\r
-        "y": 899,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4163.883331298828,\r
+        "y": 928,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ff4cc7a8.15eb18",\r
+        "id": "b9376422.2a71",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5000,\r
-        "y": 1078,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5054.883331298828,\r
+        "y": 1107,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "8469558b.e4d748"\r
+                "d2480516.2fc378"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cf8a4c78.37fe58",\r
+        "id": "9cb817ae.cef538",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5385,\r
-        "y": 1091,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5439.883331298828,\r
+        "y": 1120,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "44cef850.3e64a",\r
-                "9337c3a8.6f7408",\r
-                "6a44b1b.7cb45d"\r
+                "a79825bb.dff1f8",\r
+                "1395d5f.298062a",\r
+                "7903ca2c.aa5cc4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8469558b.e4d748",\r
+        "id": "d2480516.2fc378",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 5179,\r
-        "y": 1078,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5233.883331298828,\r
+        "y": 1107,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "82428162.54c128",\r
-                "cf8a4c78.37fe58"\r
+                "fbf9e6b6.15b5c",\r
+                "9cb817ae.cef538"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "82428162.54c128",\r
+        "id": "fbf9e6b6.15b5c",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainG id",\r
         "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 5415,\r
-        "y": 1039,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5469.883331298828,\r
+        "y": 1068,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "44cef850.3e64a",\r
+        "id": "a79825bb.dff1f8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5595,\r
-        "y": 1082,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5649.883331298828,\r
+        "y": 1111,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "ffb7eeb1.dda348"\r
+                "c7dce557.6dded"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9337c3a8.6f7408",\r
+        "id": "1395d5f.298062a",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5587,\r
-        "y": 1137,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5641.883331298828,\r
+        "y": 1166,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "28235dd8.9620aa"\r
+                "598e647b.5837b4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a44b1b.7cb45d",\r
+        "id": "7903ca2c.aa5cc4",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5592,\r
-        "y": 1194,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5646.883331298828,\r
+        "y": 1223,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a95b4d04.8ebfb"\r
+                "e6c7a6e7.b2f038"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a95b4d04.8ebfb",\r
+        "id": "e6c7a6e7.b2f038",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 5744,\r
-        "y": 1195,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5798.883331298828,\r
+        "y": 1224,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "28235dd8.9620aa",\r
+        "id": "598e647b.5837b4",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 5755,\r
-        "y": 1140,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5809.883331298828,\r
+        "y": 1169,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ffb7eeb1.dda348",\r
+        "id": "c7dce557.6dded",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5739.38232421875,\r
-        "y": 1079.6556701660156,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 5794.265655517578,\r
+        "y": 1108.6556701660156,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "eb1ea22e.dc12c"\r
+                "2cfbc0b6.6ae748"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "eb1ea22e.dc12c",\r
+        "id": "2cfbc0b6.6ae748",\r
         "type": "set",\r
         "name": "set controller domainG data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 5954,\r
-        "y": 1076,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 6008.883331298828,\r
+        "y": 1105,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "47e1e7c7.6cadf",\r
+        "id": "fca9cd7.3028eb",\r
         "type": "comment",\r
         "name": "both src and dst exist",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3728,\r
-        "y": 1017,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3782.883331298828,\r
+        "y": 1046,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b3842f71.731b38",\r
+        "id": "2c3b3231.83c2be",\r
         "type": "switchNode",\r
         "name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)",\r
         "xml": "<switch test=\"`$tmp.aai.vpn-binding.operational-status != 'Activated' `\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2290,\r
-        "y": 744,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2344.883331298828,\r
+        "y": 773,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "fe4cd4cf.21da1",\r
-                "8d3265c3.ddab38"\r
+                "81a947d8.a13a68",\r
+                "b480f4ae.d59fb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8d3265c3.ddab38",\r
+        "id": "b480f4ae.d59fb8",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2697,\r
-        "y": 762,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2751.883331298828,\r
+        "y": 791,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "418df61.fe2be08"\r
+                "23d2aee5.d5b2fa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fe4cd4cf.21da1",\r
+        "id": "81a947d8.a13a68",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2697,\r
-        "y": 707,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2751.883331298828,\r
+        "y": 736,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "8b0dea0b.e78e98"\r
+                "773948cf.a686e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8b0dea0b.e78e98",\r
+        "id": "773948cf.a686e8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2853,\r
-        "y": 705,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2907.883331298828,\r
+        "y": 734,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "71f36947.989c9",\r
-                "4573661e.19551"\r
+                "c8295377.ff6158",\r
+                "c7d66e95.fb47e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "418df61.fe2be08",\r
+        "id": "23d2aee5.d5b2fa",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2830,\r
-        "y": 763,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2884.883331298828,\r
+        "y": 792,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5c62cbf5.952894",\r
+        "id": "7714415.bcb45c",\r
         "type": "set",\r
         "name": "unset tmp.aai.all-vpn-bindings",\r
         "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value=\"\" />\n",\r
         "comments": "",\r
-        "x": 1007,\r
-        "y": 179,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1061.8833312988281,\r
+        "y": 208,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a7fd19a0.011a5",\r
+        "id": "79981366.647454",\r
         "type": "comment",\r
         "name": "CLL new",\r
         "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}",\r
         "comments": "",\r
-        "x": 4124,\r
-        "y": 597,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4178.883331298828,\r
+        "y": 626,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "41c50446.37f104",\r
+        "id": "7a0ef184.deb28",\r
         "type": "set",\r
         "name": "set leaf-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`leaf-tunnels-list[$leaftunsidx].tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='`leaf-tunnels-list[$leaftunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='`leaf-tunnels-list_length`' value='`$leaftunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 4184,\r
-        "y": 636,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4238.883331298828,\r
+        "y": 665,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4957906b.cb3908",\r
+        "id": "2cf2ff05.5ecb98",\r
         "type": "set",\r
         "name": "unset leaf-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`leaf-tunnels-list.`' value='' />\n<parameter name='`leaf-tunnels-list_length`' value='0' />\n<parameter name='`leaftunsidx`' value='0' />\n",\r
         "comments": "",\r
-        "x": 1000,\r
-        "y": 87,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1054.8833312988281,\r
+        "y": 116,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5277b309.13aef4",\r
+        "id": "7871357e.92d2f4",\r
         "type": "comment",\r
         "name": "CLL new",\r
         "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}",\r
         "comments": "",\r
-        "x": 3536,\r
-        "y": 2113,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3590.883331298828,\r
+        "y": 2142,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "51d22e16.357968",\r
+        "id": "c984548c.2e537",\r
         "type": "set",\r
         "name": "set root-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`root-tunnels-list[$roottunsidx].tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='`root-tunnels-list[$roottunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='`root-tunnels-list_length`' value='`$roottunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 3592,\r
-        "y": 2162,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3646.883331298828,\r
+        "y": 2191,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8191f581.e3e888",\r
+        "id": "efee660.b5b7f18",\r
         "type": "set",\r
         "name": "unset root-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`root-tunnels-list.`' value='' />\n<parameter name='`root-tunnels-list_length`' value='0' />\n<parameter name='`roottunsidx`' value='0' />\n",\r
         "comments": "",\r
-        "x": 1000,\r
-        "y": 126,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1054.8833312988281,\r
+        "y": 155,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "25a3d5e5.55ea62",\r
+        "id": "ff64d6f0.1d24e",\r
         "type": "execute",\r
         "name": "execute properties",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1031,\r
-        "y": 227,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1085.8833312988281,\r
+        "y": 256,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "624a734b.81957c",\r
+        "id": "c19ef147.be92d8",\r
         "type": "save",\r
         "name": "get service-instance from aai",\r
         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--$vnf-topology-operation-input.service-information.service-instance-id-->",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 241,\r
-        "y": 702,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 295.8833312988281,\r
+        "y": 731,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "2ff4bd45.763852",\r
-                "237ce68a.9b5a2a",\r
-                "86bae4d8.c51f3"\r
+                "4acbe821.0c1ff8",\r
+                "63a107d4.a006c8",\r
+                "4bb92513.9b1ebc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2ff4bd45.763852",\r
+        "id": "4acbe821.0c1ff8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 460,\r
-        "y": 640,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 514.8833312988281,\r
+        "y": 669,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "2f347c57.a92144"\r
+                "d6a121aa.ecf888"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "237ce68a.9b5a2a",\r
+        "id": "63a107d4.a006c8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 469.490966796875,\r
-        "y": 682.5740356445312,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 524.3742980957031,\r
+        "y": 711.5740356445312,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
-            [\r
-                "196b18f9.87f4a7"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "86bae4d8.c51f3",\r
+        "id": "4bb92513.9b1ebc",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 458,\r
-        "y": 729,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 512.8833312988281,\r
+        "y": 758,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "d6f02bd7.9f988"\r
+                "f58f94a6.d7fb9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2f347c57.a92144",\r
+        "id": "d6a121aa.ecf888",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 657,\r
-        "y": 636,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 711.8833312988281,\r
+        "y": 665,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "408bfafb.b2f244"\r
+                "46606d75.f5af5c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "196b18f9.87f4a7",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
-        "comments": "",\r
-        "x": 623.0623779296875,\r
-        "y": 685.8597717285156,\r
-        "z": "ed7c1675.7a56b",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d6f02bd7.9f988",\r
+        "id": "f58f94a6.d7fb9",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 627,\r
-        "y": 730,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 681.8833312988281,\r
+        "y": 759,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "408bfafb.b2f244",\r
+        "id": "46606d75.f5af5c",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 880.33349609375,\r
-        "y": 635.9999389648438,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 935.2168273925781,\r
+        "y": 664.9999389648438,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "7d8f8b2e.4aa30c"\r
+                "1dffeedd.2e39d1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7d8f8b2e.4aa30c",\r
+        "id": "1dffeedd.2e39d1",\r
         "type": "outcome",\r
         "name": "connectivity",\r
         "xml": "<outcome value='connectivity'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1081.0001335144043,\r
-        "y": 637.000020980835,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1135.8834648132324,\r
+        "y": 666.000020980835,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "bd2be559.7e491"\r
+                "5eeac4ab.784bec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bd2be559.7e491",\r
+        "id": "5eeac4ab.784bec",\r
         "type": "save",\r
         "name": "get connectivity from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 211,\r
-        "y": 899,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 265.8833312988281,\r
+        "y": 928,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "97323d62.80248",\r
-                "afdba634.5389a8",\r
-                "c784d901.2500c8"\r
+                "93ffca07.c36c6",\r
+                "a6155e5c.4a2e4",\r
+                "edf3ae2.0898ad"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "97323d62.80248",\r
+        "id": "93ffca07.c36c6",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 419,\r
-        "y": 863,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 473.8833312988281,\r
+        "y": 892,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "dc950dad.bba8c8"\r
+                "41f16b19.4ea28c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "afdba634.5389a8",\r
+        "id": "a6155e5c.4a2e4",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 419.490966796875,\r
-        "y": 908.5740356445312,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 474.3742980957031,\r
+        "y": 937.5740356445312,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
-            [\r
-                "f09199a5.a037f"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "c784d901.2500c8",\r
+        "id": "edf3ae2.0898ad",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 417,\r
-        "y": 952,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 471.8833312988281,\r
+        "y": 981,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a903bba8.c7f45"\r
+                "77488207.b4a2f4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f09199a5.a037f",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
-        "comments": "",\r
-        "x": 582.0623779296875,\r
-        "y": 908.8597717285156,\r
-        "z": "ed7c1675.7a56b",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a903bba8.c7f45",\r
+        "id": "77488207.b4a2f4",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 586,\r
-        "y": 953,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 640.8833312988281,\r
+        "y": 982,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c4e5acdc.5eea4",\r
+        "id": "1853bc71.11bc54",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 558,\r
-        "y": 1447,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 612.8833312988281,\r
+        "y": 1476,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "f2e2cc22.a529f"\r
+                "aa99b60e.a0ae8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f2e2cc22.a529f",\r
+        "id": "aa99b60e.a0ae8",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 761,\r
-        "y": 1459,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 815.8833312988281,\r
+        "y": 1488,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "c09b72f6.aeae98"\r
+                "6b5b67d6.d9cff8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c09b72f6.aeae98",\r
+        "id": "6b5b67d6.d9cff8",\r
         "type": "outcome",\r
         "name": "UNI",\r
         "xml": "<outcome value='uni'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 927,\r
-        "y": 1456,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 981.8833312988281,\r
+        "y": 1485,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "bfe2cfaf.5416a"\r
+                "c9be5883.2f43"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bfe2cfaf.5416a",\r
+        "id": "c9be5883.2f43",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1088,\r
-        "y": 1453,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1142.8833312988281,\r
+        "y": 1482,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "ed44bd0b.bb6278",\r
-                "85af841c.633c5",\r
-                "785dd3f1.f249ac",\r
-                "b8d52cff.f0dcb",\r
-                "4915b2e4.5fd2dc"\r
+                "8328946b.83ccf",\r
+                "70436354.fbd2a4",\r
+                "71db6bb7.f92dd4",\r
+                "a3af61e2.8efbd8",\r
+                "1dbcecbe.b5c9a3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "85af841c.633c5",\r
+        "id": "70436354.fbd2a4",\r
         "type": "set",\r
         "name": "unset tmp.aai.uni",\r
         "xml": "<set>\n<parameter name='tmp.aai.uni.' value='' />\n",\r
         "comments": "",\r
-        "x": 1292,\r
-        "y": 1411,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1346.8833312988281,\r
+        "y": 1440,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ed44bd0b.bb6278",\r
+        "id": "8328946b.83ccf",\r
         "type": "save",\r
         "name": "get uni from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1289,\r
-        "y": 1456,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1343.8833312988281,\r
+        "y": 1485,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "6b32d7eb.72211",\r
-                "7343128c.f923b4",\r
-                "b9b05d3.e5ae12"\r
+                "95cc35e2.dbd57",\r
+                "6243e8b2.6e7d68",\r
+                "ea238384.cd0de8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7343128c.f923b4",\r
+        "id": "6243e8b2.6e7d68",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1484.490966796875,\r
-        "y": 1429.573974609375,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1539.3742980957031,\r
+        "y": 1458.573974609375,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "5dcee0f6.9162a8"\r
+                "60cc7ad4.175214"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b9b05d3.e5ae12",\r
+        "id": "ea238384.cd0de8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1480,\r
-        "y": 1473.9999389648438,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1534.8833312988281,\r
+        "y": 1502.9999389648438,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "b7ed6a74.25237"\r
+                "33a586e8.574ea2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5dcee0f6.9162a8",\r
+        "id": "60cc7ad4.175214",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 1647.0625,\r
-        "y": 1428.8596801757812,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1701.9458312988281,\r
+        "y": 1457.8596801757812,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b7ed6a74.25237",\r
+        "id": "33a586e8.574ea2",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 1648,\r
-        "y": 1473.9999389648438,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1702.8833312988281,\r
+        "y": 1502.9999389648438,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "dfdfa822.c47e1",\r
+        "id": "3ed2826e.143bbe",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1650,\r
-        "y": 1520.9999389648438,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1704.8833312988281,\r
+        "y": 1549.9999389648438,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6b32d7eb.72211",\r
+        "id": "95cc35e2.dbd57",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1481,\r
-        "y": 1520.9999389648438,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1535.8833312988281,\r
+        "y": 1549.9999389648438,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "dfdfa822.c47e1"\r
+                "3ed2826e.143bbe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9ed7a6be.5472c",\r
+        "id": "a3b35ff6.7d4a88",\r
         "type": "switchNode",\r
         "name": "switch conn type",\r
         "xml": "<switch test=\"`$tmp.aai.connectivity.vpn-type`\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 170.5,\r
-        "y": 1118,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 225.38333129882812,\r
+        "y": 1147,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "3e9a846b.aac024",\r
-                "fd2eac9f.aa3be8",\r
-                "81d85b97.ec18c"\r
+                "53e42336.cf6874",\r
+                "64e5ac9.b8c59d4",\r
+                "29d673d9.3ef8bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3d4d11fc.e19976",\r
+        "id": "fdb5b362.28d2e8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 281.5,\r
-        "y": 1474,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 336.3833312988281,\r
+        "y": 1503,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3e9a846b.aac024",\r
+        "id": "53e42336.cf6874",\r
         "type": "outcome",\r
         "name": "leaf",\r
         "xml": "<outcome value='leaf'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 156.5,\r
-        "y": 1364,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 211.38333129882812,\r
+        "y": 1393,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "186f4361.0093b5"\r
+                "2d911faf.b625f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fd2eac9f.aa3be8",\r
+        "id": "64e5ac9.b8c59d4",\r
         "type": "outcome",\r
         "name": "root",\r
         "xml": "<outcome value='root'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 157.5,\r
-        "y": 1422,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 212.38333129882812,\r
+        "y": 1451,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a8f57470.dafb1"\r
+                "c8a49fba.48732"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "81d85b97.ec18c",\r
+        "id": "29d673d9.3ef8bc",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 159.5,\r
-        "y": 1476,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 214.38333129882812,\r
+        "y": 1505,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "3d4d11fc.e19976"\r
+                "fdb5b362.28d2e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "17f45567.72d3f3",\r
+        "id": "893647bf.8d35f8",\r
         "type": "comment",\r
         "name": "CLL new",\r
         "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}",\r
         "comments": "",\r
-        "x": 1265,\r
-        "y": 1684,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1319.8833312988281,\r
+        "y": 1713,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "785dd3f1.f249ac",\r
+        "id": "71db6bb7.f92dd4",\r
         "type": "set",\r
         "name": "set ethernet-srv-end-points-list array",\r
         "xml": "<set>\n<!--<parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.connectivity.connectivity-id`' />-->\n<parameter name='`ethernet-srv-end-points-list[$epidx].ethernet-end-point-name`' value='`$tmp.aai.uni.id`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].index-number`' value='0' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-id`' value='`$tmp.uni-node-id-short`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].eth-node-tp-id`' value='`$tmp.aai.uni.tp-id`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].leafOrRootAccess`' value='`$leafOrRootAccess`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].cvlan`' value='`$tmp.aai.connectivity.cvlan`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].CIR`' value='`$tmp.aai.uni.data-source * 1000000`' />\n<parameter name='`ethernet-srv-end-points-list[$epidx].EIR`' value='`$tmp.aai.uni.data-source * 1000000`' />\n\n<parameter name='`ethernet-srv-end-points-list_length`' value='`$epidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 1356,\r
-        "y": 1738,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1410.8833312988281,\r
+        "y": 1767,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a8f57470.dafb1",\r
+        "id": "c8a49fba.48732",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 273.5,\r
-        "y": 1418,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 328.3833312988281,\r
+        "y": 1447,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "6d0b5941.55c8f8",\r
-                "c4e5acdc.5eea4",\r
-                "3e47dbd3.f7afc4",\r
-                "c378a6a3.2e4c8",\r
-                "901c32b.8d67fd",\r
-                "d142c0f2.700e98",\r
-                "b2e88ff.3380b7",\r
-                "3026fc23.0fd5f4",\r
-                "f24a5646.1c02c8",\r
-                "db09832f.86c758",\r
-                "3c14b8ea.b96268",\r
-                "c7cb304b.f39168"\r
+                "c9ed31d4.2a59a",\r
+                "1853bc71.11bc54",\r
+                "e2c4a442.f42cf",\r
+                "7b94a56a.0cc0c4",\r
+                "14d69ea3.c37079",\r
+                "e39ba7bd.aed5d8",\r
+                "9e9fd2d9.fce4a8",\r
+                "3e44ba6b.3875e6",\r
+                "de368aef.16cb",\r
+                "61a182f0.95ec2c",\r
+                "fae7aeca.a940b8",\r
+                "f92bafd0.7c69c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "186f4361.0093b5",\r
+        "id": "2d911faf.b625f",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 286.5,\r
-        "y": 1360,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 341.3833312988281,\r
+        "y": 1389,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "c4e5acdc.5eea4",\r
-                "b5d90017.45ce98",\r
-                "913d2a70.ccfd3",\r
-                "c378a6a3.2e4c8",\r
-                "901c32b.8d67fd",\r
-                "d142c0f2.700e98",\r
-                "b2e88ff.3380b7",\r
-                "3026fc23.0fd5f4",\r
-                "f24a5646.1c02c8",\r
-                "db09832f.86c758",\r
-                "3c14b8ea.b96268",\r
-                "c7cb304b.f39168"\r
+                "1853bc71.11bc54",\r
+                "30a75a3e.13e116",\r
+                "878444f9.a47b7",\r
+                "7b94a56a.0cc0c4",\r
+                "14d69ea3.c37079",\r
+                "e39ba7bd.aed5d8",\r
+                "9e9fd2d9.fce4a8",\r
+                "3e44ba6b.3875e6",\r
+                "de368aef.16cb",\r
+                "61a182f0.95ec2c",\r
+                "fae7aeca.a940b8",\r
+                "f92bafd0.7c69c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b5d90017.45ce98",\r
+        "id": "30a75a3e.13e116",\r
         "type": "set",\r
         "name": "unset ethernet-srv-end-points-list",\r
         "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
         "comments": "",\r
-        "x": 577.5,\r
-        "y": 1240,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 632.3833312988281,\r
+        "y": 1269,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6d0b5941.55c8f8",\r
+        "id": "c9ed31d4.2a59a",\r
         "type": "set",\r
         "name": "unset ethernet-srv-end-points-list",\r
         "xml": "<set>\n<parameter name='`ethernet-srv-end-points-list.`' value='' />\n<parameter name='`ethernet-srv-end-points-list_length`' value='0' />\n<parameter name='`epidx`' value='0' />",\r
         "comments": "",\r
-        "x": 594.5,\r
-        "y": 1334,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 649.3833312988281,\r
+        "y": 1363,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c378a6a3.2e4c8",\r
+        "id": "7b94a56a.0cc0c4",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 521,\r
-        "y": 1703,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 575.8833312988281,\r
+        "y": 1732,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "3613e1a4.3cd206"\r
+                "bd67d795.2e839"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3613e1a4.3cd206",\r
+        "id": "bd67d795.2e839",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 753,\r
-        "y": 1702,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 807.8833312988281,\r
+        "y": 1731,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "c46d21fc.7c5088"\r
+                "148b77ab.48b7a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c46d21fc.7c5088",\r
+        "id": "148b77ab.48b7a",\r
         "type": "outcome",\r
         "name": "vpn-binding",\r
         "xml": "<outcome value='vpn-binding'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 965,\r
-        "y": 1703,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1019.8833312988281,\r
+        "y": 1732,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "41d3d62e.c810a8"\r
+                "90ccd6ae.a26198"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "41d3d62e.c810a8",\r
+        "id": "90ccd6ae.a26198",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 221,\r
-        "y": 1859,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 275.8833312988281,\r
+        "y": 1888,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "24bb38a6.cf0a88",\r
-                "80203aa0.6c8a6"\r
+                "8f4c1c14.35a72",\r
+                "c6a7aee9.6724"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80203aa0.6c8a6",\r
+        "id": "c6a7aee9.6724",\r
         "type": "set",\r
         "name": "unset tmp.aai.vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
         "comments": "",\r
-        "x": 456,\r
-        "y": 1846,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 510.8833312988281,\r
+        "y": 1875,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "24bb38a6.cf0a88",\r
+        "id": "8f4c1c14.35a72",\r
         "type": "save",\r
         "name": "get vpn-binding from aai",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 446,\r
-        "y": 1907,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 500.8833312988281,\r
+        "y": 1936,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "e7df9a86.a02dd8",\r
-                "d754cb82.42f37",\r
-                "80509f91.59bce8"\r
+                "2e648939.1db066",\r
+                "6fc34533.3f02e4",\r
+                "f4ca0a98.2172d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d754cb82.42f37",\r
+        "id": "6fc34533.3f02e4",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 659.490966796875,\r
-        "y": 1891.5740356445312,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 714.3742980957031,\r
+        "y": 1920.5740356445312,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "31b91fbf.39fff8"\r
+                "24a8c225.12e4ae"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80509f91.59bce8",\r
+        "id": "f4ca0a98.2172d",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 655,\r
-        "y": 1936,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 709.8833312988281,\r
+        "y": 1965,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "312541a.87b29be"\r
+                "a2a9b29c.7bdb18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e7df9a86.a02dd8",\r
+        "id": "2e648939.1db066",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 657,\r
-        "y": 1996,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 711.8833312988281,\r
+        "y": 2025,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "f19203b2.563a88"\r
+                "6e035263.0ab9c4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "31b91fbf.39fff8",\r
+        "id": "24a8c225.12e4ae",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 822.0625,\r
-        "y": 1890.8597412109375,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 876.9458312988281,\r
+        "y": 1919.8597412109375,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "312541a.87b29be",\r
+        "id": "a2a9b29c.7bdb18",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 823,\r
-        "y": 1936,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 877.8833312988281,\r
+        "y": 1965,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f19203b2.563a88",\r
+        "id": "6e035263.0ab9c4",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 826,\r
-        "y": 1995,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 880.8833312988281,\r
+        "y": 2024,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "70164d90.2f08c4",\r
-                "27824a25.86f05e"\r
+                "fc704734.f5a92",\r
+                "534cefd0.094168"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b2e88ff.3380b7",\r
+        "id": "9e9fd2d9.fce4a8",\r
         "type": "set",\r
         "name": "set sotn_value",\r
         "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivity.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivity.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivity.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivity.access-topology-id`' />\n<!--<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />-->\n<!--<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<!--<parameter name='index-number' value='0' />-->\n<!--<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />-->\n<!--<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />-->\n<!--<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->\n<!--<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />-->\n",\r
         "comments": "",\r
-        "x": 225,\r
-        "y": 2494,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 279.8833312988281,\r
+        "y": 2523,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3026fc23.0fd5f4",\r
+        "id": "3e44ba6b.3875e6",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode Create ethernet Service without token",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-ethernet-service-loop.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 368,\r
-        "y": 2554,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 422.8833312988281,\r
+        "y": 2583,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a9d1707f.7a88c8",\r
-                "8ab460b7.633638"\r
+                "b4c4bd8d.d5bdc",\r
+                "c813638c.89d0f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a9d1707f.7a88c8",\r
+        "id": "b4c4bd8d.d5bdc",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 680.5,\r
-        "y": 2531,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 735.3833312988281,\r
+        "y": 2560,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8ab460b7.633638",\r
+        "id": "c813638c.89d0f",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 684.5,\r
-        "y": 2571,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 739.3833312988281,\r
+        "y": 2600,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "7ddc0654.bb96f8"\r
+                "3e668730.81c5e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a1d8045c.1b61e8",\r
+        "id": "1c6aee6c.a3a53a",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create ethernet service rest api\" />\n",\r
         "comments": "",\r
-        "x": 860.5,\r
-        "y": 2535,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 915.3833312988281,\r
+        "y": 2564,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7ddc0654.bb96f8",\r
+        "id": "3e668730.81c5e8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 876,\r
-        "y": 2589,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 930.8833312988281,\r
+        "y": 2618,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "1eddd66c.da478a"\r
+                "e6168d7c.f871d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cee3e55d.189dc",\r
+        "id": "59cef6d7.b8a21",\r
         "type": "save",\r
         "name": "update vpn-binding resource (aka. OTN ) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1171.5,\r
-        "y": 2558,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1226.3833312988281,\r
+        "y": 2587,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "bb915427.f0582",\r
+        "id": "b5303ab1.d78928",\r
         "type": "comment",\r
         "name": "TODO: FIXME",\r
         "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
         "comments": "",\r
-        "x": 2638.5,\r
-        "y": 1909,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2693.383331298828,\r
+        "y": 1938,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1eddd66c.da478a",\r
+        "id": "e6168d7c.f871d",\r
         "type": "save",\r
         "name": "update connectivity resource in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1133.5,\r
-        "y": 2600,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1188.3833312988281,\r
+        "y": 2629,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "913d2a70.ccfd3",\r
+        "id": "878444f9.a47b7",\r
         "type": "set",\r
         "name": "set leafOrRootAccess",\r
         "xml": "<set>\n<parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:leaf-access' />\n",\r
         "comments": "",\r
-        "x": 543.5,\r
-        "y": 1278,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 598.3833312988281,\r
+        "y": 1307,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3e47dbd3.f7afc4",\r
+        "id": "e2c4a442.f42cf",\r
         "type": "set",\r
         "name": "set leafOrRootAccess",\r
         "xml": "<set>\n<parameter name='`leafOrRootAccess`' value='ietf-eth-tran-types:root-primary' />\n",\r
         "comments": "",\r
-        "x": 556.5,\r
-        "y": 1374,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 611.3833312988281,\r
+        "y": 1403,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e5881b35.2a2bf8",\r
+        "id": "dd4c3392.e1b02",\r
         "type": "save",\r
         "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4293,\r
-        "y": 550,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4347.883331298828,\r
+        "y": 579,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4004366.ff0b5c8",\r
+        "id": "9c0b0957.1e6c48",\r
         "type": "save",\r
         "name": "update vpn-binding G resource (aka. OTN domainA) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingG.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingG.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4196,\r
-        "y": 1369,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4250.883331298828,\r
+        "y": 1398,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "8caebf31.dc028",\r
+        "id": "88e8f378.a2b808",\r
         "type": "save",\r
         "name": "update vpn-binding B resource (aka. OTN domainB) in AAI",\r
         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3690,\r
-        "y": 2041,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3744.883331298828,\r
+        "y": 2070,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "dc950dad.bba8c8",\r
+        "id": "41f16b19.4ea28c",\r
         "type": "switchNode",\r
         "name": "switch connectivity is not already Activated (i.e. is either Created or Modified)",\r
         "xml": "<switch test=\"`$tmp.aai.connectivity.operational-status != 'Activated' `\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 791,\r
-        "y": 849,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 845.8833312988281,\r
+        "y": 878,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "28d7875f.122df",\r
-                "47ffeb93.7b808c"\r
+                "7bf4aa70.c75d74",\r
+                "a798281b.2c68d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "28d7875f.122df",\r
+        "id": "7bf4aa70.c75d74",\r
         "type": "outcomeTrue",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1154,\r
-        "y": 872,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1208.8833312988281,\r
+        "y": 901,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "f3fb6a94.133bb"\r
+                "e5a55559.f1ecf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "47ffeb93.7b808c",\r
+        "id": "a798281b.2c68d8",\r
         "type": "outcomeFalse",\r
         "name": "false",\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1154,\r
-        "y": 821,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1208.8833312988281,\r
+        "y": 850,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "3da0dc2.736e6a4"\r
+                "486913c4.08fb54"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f3fb6a94.133bb",\r
+        "id": "e5a55559.f1ecf",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1310,\r
-        "y": 870,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1364.8833312988281,\r
+        "y": 899,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "9ed7a6be.5472c"\r
+                "a3b35ff6.7d4a88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3da0dc2.736e6a4",\r
+        "id": "486913c4.08fb54",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1287,\r
-        "y": 822,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1341.8833312988281,\r
+        "y": 851,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ca01ca51.23bb98",\r
+        "id": "4660bf61.473a18",\r
         "type": "set",\r
         "name": "unset tmp.aai.vpn-binding",\r
         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"\" />\n",\r
         "comments": "",\r
-        "x": 2047,\r
-        "y": 220,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2101.883331298828,\r
+        "y": 249,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6ccc1a6d.d89cd4",\r
+        "id": "1fda4b4a.2131e5",\r
         "type": "set",\r
         "name": "set root-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`roottunsidx`' value='`$roottunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 3589,\r
-        "y": 2201,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 3643.883331298828,\r
+        "y": 2230,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ceaa1f2c.697ad",\r
+        "id": "2a6ffb7c.8797f4",\r
         "type": "set",\r
         "name": "set leaf-otn-tunnels-list array",\r
         "xml": "<set>\n<parameter name='`leaftunsidx`' value='`$leaftunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 4179,\r
-        "y": 674,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 4233.883331298828,\r
+        "y": 703,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b8d52cff.f0dcb",\r
+        "id": "a3af61e2.8efbd8",\r
         "type": "set",\r
         "name": "set ethernet-srv-end-points-list array",\r
         "xml": "<set>\n<parameter name='`epidx`' value='`$epidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 1353,\r
-        "y": 1780,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1407.8833312988281,\r
+        "y": 1809,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "901c32b.8d67fd",\r
+        "id": "14d69ea3.c37079",\r
         "type": "set",\r
         "name": "set filename",\r
         "xml": "<set>\n<parameter name='filenameclleths' value=\"`$leafOrRootAccess + $tmp.aai.connectivity.access-node-id`\" />",\r
         "comments": "",\r
-        "x": 532,\r
-        "y": 1514,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 586.8833312988281,\r
+        "y": 1543,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d142c0f2.700e98",\r
+        "id": "e39ba7bd.aed5d8",\r
         "type": "execute",\r
         "name": "execute printContext",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenameclleths`\" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 563,\r
-        "y": 1554,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 617.8833312988281,\r
+        "y": 1583,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "70164d90.2f08c4",\r
+        "id": "fc704734.f5a92",\r
         "type": "set",\r
         "name": "set otn-tunnels-name-list array",\r
         "xml": "<set>\n<parameter name='`otn-tunnels-name-list[$otntunsidx].otn-tunnel-name`' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='`otn-tunnels-name-list[$otntunsidx].vpn-id`' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='`otn-tunnels-name-list_length`' value='`$otntunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 1111,\r
-        "y": 1962,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1165.8833312988281,\r
+        "y": 1991,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "27824a25.86f05e",\r
+        "id": "534cefd0.094168",\r
         "type": "set",\r
         "name": "set otn-tunnels-name-list array",\r
         "xml": "<set>\n<parameter name='`otntunsidx`' value='`$otntunsidx + 1`' />\n",\r
         "comments": "",\r
-        "x": 1114,\r
-        "y": 2004,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1168.8833312988281,\r
+        "y": 2033,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f24a5646.1c02c8",\r
+        "id": "de368aef.16cb",\r
         "type": "set",\r
         "name": "unset otn-tunnels-name-list array",\r
         "xml": "<set>\n<parameter name='`otn-tunnels-name-list.`' value='' />\n<parameter name='`otn-tunnels-name-list_length`' value='0' />\n<parameter name='`otntunsidx`' value='0' />\n",\r
         "comments": "",\r
-        "x": 557,\r
-        "y": 1644,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 611.8833312988281,\r
+        "y": 1673,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "db09832f.86c758",\r
+        "id": "61a182f0.95ec2c",\r
         "type": "set",\r
         "name": "set filename",\r
         "xml": "<set>\n<parameter name='filenamecllotns' value=\"`leafrootOTNtunnelnames`\" />",\r
         "comments": "",\r
-        "x": 312,\r
-        "y": 2023,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 366.8833312988281,\r
+        "y": 2052,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3c14b8ea.b96268",\r
+        "id": "fae7aeca.a940b8",\r
         "type": "execute",\r
         "name": "execute printContext",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamecllotns`\" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 320,\r
-        "y": 2080,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 374.8833312988281,\r
+        "y": 2109,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4915b2e4.5fd2dc",\r
+        "id": "1dbcecbe.b5c9a3",\r
         "type": "execute",\r
         "name": "execute split tp-id to get pnf-name",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni\"/>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1331,\r
-        "y": 1629,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1385.8833312988281,\r
+        "y": 1658,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "bfcf3bba.b5daa",\r
-                "9b18409e.c203c8"\r
+                "2facd73.aebb428",\r
+                "7c34f1f3.22e088"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9b18409e.c203c8",\r
+        "id": "7c34f1f3.22e088",\r
         "type": "failure",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1554,\r
-        "y": 1584,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1608.8833312988281,\r
+        "y": 1613,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "5afaf397.e20c3c"\r
+                "7e28ac3f.b53f7c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bfcf3bba.b5daa",\r
+        "id": "2facd73.aebb428",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1556,\r
-        "y": 1648,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1610.8833312988281,\r
+        "y": 1677,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "f7de9867.a0fd38"\r
+                "c1661a7d.0e642"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5afaf397.e20c3c",\r
+        "id": "7e28ac3f.b53f7c",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1719,\r
-        "y": 1581,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1773.8833312988281,\r
+        "y": 1610,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "cdcfe3c8.962368"\r
+                "a55c6cbe.f3cef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7de9867.a0fd38",\r
+        "id": "c1661a7d.0e642",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
         "comments": "",\r
-        "x": 1718,\r
-        "y": 1644,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1772.8833312988281,\r
+        "y": 1673,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cdcfe3c8.962368",\r
+        "id": "a55c6cbe.f3cef",\r
         "type": "set",\r
         "name": "set tmp.uni-node-id-short",\r
         "xml": "<set>\n<parameter name='tmp.uni-node-id-short' value='`$param-prefix-uni[$param-prefix-uni_length -3]`' />\n",\r
         "comments": "",\r
-        "x": 1939,\r
-        "y": 1595,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1993.8833312988281,\r
+        "y": 1624,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6d07bcb7.ffff34",\r
+        "id": "a3eb9377.85c18",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1484,\r
-        "y": 2320,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1538.8833312988281,\r
+        "y": 2349,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "9547fb43.8165f"\r
+                "fcb0361d.62eb48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "261f721d.19cda6",\r
+        "id": "dcd8db20.d12b7",\r
         "type": "execute",\r
         "name": "get esr-thirdparty-sdnc",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainConn.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainConn.esr-thirdparty-sdnc' local-only='false' >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1869,\r
-        "y": 2333,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1923.8833312988281,\r
+        "y": 2362,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "a4fad359.d63e7",\r
-                "d7202a06.97a2a8",\r
-                "d2a1d22e.b2ed6"\r
+                "62f93408.d79154",\r
+                "c38cc9d8.7f1bc",\r
+                "576ffe09.c4abd8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9547fb43.8165f",\r
+        "id": "fcb0361d.62eb48",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1663,\r
-        "y": 2320,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1717.8833312988281,\r
+        "y": 2349,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "9b0cdae9.5834e8",\r
-                "261f721d.19cda6"\r
+                "90857791.e16908",\r
+                "dcd8db20.d12b7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9b0cdae9.5834e8",\r
+        "id": "90857791.e16908",\r
         "type": "set",\r
         "name": "set esr-thirdparty-sdnc domainConn id",\r
         "xml": "<set>\n<parameter name='tmp.domainConn.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 1899,\r
-        "y": 2281,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1953.8833312988281,\r
+        "y": 2310,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a4fad359.d63e7",\r
+        "id": "62f93408.d79154",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2079,\r
-        "y": 2324,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2133.883331298828,\r
+        "y": 2353,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "ce2ed097.248ac"\r
+                "2c548a06.655d4e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d7202a06.97a2a8",\r
+        "id": "c38cc9d8.7f1bc",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2071,\r
-        "y": 2379,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2125.883331298828,\r
+        "y": 2408,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "15f2754c.6e5b2b"\r
+                "99196e80.99674"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d2a1d22e.b2ed6",\r
+        "id": "576ffe09.c4abd8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2076,\r
-        "y": 2436,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2130.883331298828,\r
+        "y": 2465,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "fe7bb44f.f58b7"\r
+                "ea704904.f61c3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fe7bb44f.f58b7",\r
+        "id": "ea704904.f61c3",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 2228,\r
-        "y": 2437,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2282.883331298828,\r
+        "y": 2466,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "15f2754c.6e5b2b",\r
+        "id": "99196e80.99674",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 2239,\r
-        "y": 2382,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2293.883331298828,\r
+        "y": 2411,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ce2ed097.248ac",\r
+        "id": "2c548a06.655d4e",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2223.38232421875,\r
-        "y": 2321.6556701660156,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2278.265655517578,\r
+        "y": 2350.6556701660156,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "1c2a2a5a.6d8256"\r
+                "55de506e.ab2138"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1c2a2a5a.6d8256",\r
+        "id": "55de506e.ab2138",\r
         "type": "set",\r
         "name": "set controller domainConn data",\r
         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.url' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.user' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.password' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
         "comments": "",\r
-        "x": 2438,\r
-        "y": 2318,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 2492.883331298828,\r
+        "y": 2347,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9710382e.112c58",\r
+        "id": "2eeb0084.f61b88",\r
         "type": "get-resource",\r
         "name": "get-resource src pnf",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.pnf-name-forUrl\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 562,\r
-        "y": 2366,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 616.8833312988281,\r
+        "y": 2395,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "afc311a9.64a498",\r
-                "1b364ee.7270531",\r
-                "aa64b78b.7ab17"\r
+                "21d8f2c9.3cd2be",\r
+                "32ff82a0.3bb24e",\r
+                "21eb3441.66cbb4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "afc311a9.64a498",\r
+        "id": "21d8f2c9.3cd2be",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 757.5001220703125,\r
-        "y": 2318,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 812.3834533691406,\r
+        "y": 2347,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "7cd619d5.a4e8c"\r
+                "2571d7b1.c4fb5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1b364ee.7270531",\r
+        "id": "32ff82a0.3bb24e",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 749.5001220703125,\r
-        "y": 2373,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 804.3834533691406,\r
+        "y": 2402,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "7127ee10.2a0b4"\r
+                "b0a2917a.ecde4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7cd619d5.a4e8c",\r
+        "id": "2571d7b1.c4fb5",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 901.8824462890625,\r
-        "y": 2317.6556701660156,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 956.7657775878906,\r
+        "y": 2346.6556701660156,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "fd5a5a0.ad9b128"\r
+                "a50320.52c78ce"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fd5a5a0.ad9b128",\r
+        "id": "a50320.52c78ce",\r
         "type": "for",\r
         "name": "for each relationship",\r
         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1086,\r
-        "y": 2316,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1140.8833312988281,\r
+        "y": 2345,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "8c513405.b809e8"\r
+                "b3deb273.cebb88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8c513405.b809e8",\r
+        "id": "b3deb273.cebb88",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1281,\r
-        "y": 2316,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1335.8833312988281,\r
+        "y": 2345,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "6d07bcb7.ffff34"\r
+                "a3eb9377.85c18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aa64b78b.7ab17",\r
+        "id": "21eb3441.66cbb4",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 754.5001220703125,\r
-        "y": 2430,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 809.3834533691406,\r
+        "y": 2459,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "22a641d1.a7babe"\r
+                "f2a9e7b0.6a4ff8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22a641d1.a7babe",\r
+        "id": "f2a9e7b0.6a4ff8",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 906.5001220703125,\r
-        "y": 2431,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 961.3834533691406,\r
+        "y": 2460,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7127ee10.2a0b4",\r
+        "id": "b0a2917a.ecde4",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
         "comments": "",\r
-        "x": 917.5001220703125,\r
-        "y": 2374,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 972.3834533691406,\r
+        "y": 2403,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "41c682cf.a83f2c",\r
+        "id": "e821cf32.5b22f",\r
         "type": "set",\r
         "name": "set tmp.pnf-name-forUrl",\r
         "xml": "<set>\n\n<parameter name='tmp.pnf-name-forUrl' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.connectivity.access-node-id`\" />\n",\r
         "comments": "",\r
-        "x": 552,\r
-        "y": 2278,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 606.8833312988281,\r
+        "y": 2307,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c7cb304b.f39168",\r
+        "id": "f92bafd0.7c69c8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 297,\r
-        "y": 2409,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 351.8833312988281,\r
+        "y": 2438,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": [\r
             [\r
-                "41c682cf.a83f2c",\r
-                "9710382e.112c58"\r
+                "e821cf32.5b22f",\r
+                "2eeb0084.f61b88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d390d070.3dc4c",\r
+        "id": "a832f3b6.8874e",\r
         "type": "comment",\r
         "name": "Temporary skipping this check - to support multiple instances in one slice",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1511.9666748046875,\r
-        "y": 226.88333129882812,\r
-        "z": "ed7c1675.7a56b",\r
+        "x": 1566.8500061035156,\r
+        "y": 255.88333129882812,\r
+        "z": "3f6a2e0f.b66c8a",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f645589d.ed3d98",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 768.8833312988281,\r
+        "y": 478,\r
+        "z": "3f6a2e0f.b66c8a",\r
         "wires": []\r
     }\r
 ]
\ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json
new file mode 100644 (file)
index 0000000..de9383d
--- /dev/null
@@ -0,0 +1,966 @@
+[\r
+    {\r
+        "id": "a88af18.67fae9",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2806.316619873047,\r
+        "y": 668.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "d17bb726.fa65e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d17bb726.fa65e8",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2943.316619873047,\r
+        "y": 756.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "141e9731.53d429"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a075e5f.de06b8",\r
+        "type": "execute",\r
+        "name": "get esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3328.316619873047,\r
+        "y": 769.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "bfab05fb.6c1fd",\r
+                "66b97fa3.09fba8",\r
+                "a61f3fb8.28c2b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "141e9731.53d429",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3122.316619873047,\r
+        "y": 756.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "6ba56bd3.970cc4",\r
+                "5a075e5f.de06b8",\r
+                "f743ac29.02b56"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ba56bd3.970cc4",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domain id",\r
+        "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 3358.316619873047,\r
+        "y": 717.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bfab05fb.6c1fd",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3538.316619873047,\r
+        "y": 760.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "9395b4f9.f11e08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66b97fa3.09fba8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3530.316619873047,\r
+        "y": 815.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "6a113c41.2b7f84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a61f3fb8.28c2b",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3535.316619873047,\r
+        "y": 872.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "ae24d388.debf2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae24d388.debf2",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3687.316619873047,\r
+        "y": 873.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6a113c41.2b7f84",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3698.316619873047,\r
+        "y": 818.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9395b4f9.f11e08",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3682.698944091797,\r
+        "y": 758.5389709472656,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "e30efe2.36b498"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e30efe2.36b498",\r
+        "type": "set",\r
+        "name": "set controller domain data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "comments": "",\r
+        "x": 3897.316619873047,\r
+        "y": 754.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f743ac29.02b56",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3278.316619873047,\r
+        "y": 833.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "98d7bf6.4dfe7c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete OTN tunnel rest api\" />\n",\r
+        "comments": "",\r
+        "x": 2698.816619873047,\r
+        "y": 955.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "61820fcc.882e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2694.316619873047,\r
+        "y": 1020.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b3a4445.ce6224",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2604.3164978027344,\r
+        "y": 741.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "a88af18.67fae9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "132ce225.b79cae",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
+        "comments": "",\r
+        "x": 2052.316375732422,\r
+        "y": 721.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5cdb5a7a.54733c",\r
+        "type": "get-resource",\r
+        "name": "get-resource src pnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2080.3164978027344,\r
+        "y": 791.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "6c0f168f.8aad68",\r
+                "cd12f0b4.568798",\r
+                "80b1b093.b4332"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c0f168f.8aad68",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2275.816619873047,\r
+        "y": 743.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "99130a65.69efe8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd12f0b4.568798",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2267.816619873047,\r
+        "y": 798.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "80ce6dda.3e5e5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99130a65.69efe8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2420.198944091797,\r
+        "y": 743.5389709472656,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "5b3a4445.ce6224"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "80b1b093.b4332",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2272.816619873047,\r
+        "y": 855.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "b4d035fe.9cf0b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4d035fe.9cf0b",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2424.816619873047,\r
+        "y": 856.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "80ce6dda.3e5e5",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2435.816619873047,\r
+        "y": 799.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cbce5afd.0d149",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2190.316619873047,\r
+        "y": 985.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "38dfa115.008496",\r
+                "f31653a0.9143e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38dfa115.008496",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2522.816619873047,\r
+        "y": 955.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "98d7bf6.4dfe7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f31653a0.9143e8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2527.816619873047,\r
+        "y": 1020.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "61820fcc.882e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30af1423.cd4b6c",\r
+        "type": "save",\r
+        "name": "delete vpn-binding resource in AAI",\r
+        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2113.316619873047,\r
+        "y": 1116.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d0b44cbe.a16a5",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1822.3166198730469,\r
+        "y": 941.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "132ce225.b79cae",\r
+                "5cdb5a7a.54733c",\r
+                "cbce5afd.0d149",\r
+                "30af1423.cd4b6c",\r
+                "b097652b.150d7",\r
+                "e258ce61.c84d28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b097652b.150d7",\r
+        "type": "set",\r
+        "name": "unset tmp.aai.vpn-binding",\r
+        "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"\" />\n",\r
+        "comments": "",\r
+        "x": 2101.5164489746094,\r
+        "y": 624.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e258ce61.c84d28",\r
+        "type": "set",\r
+        "name": "set tmp.aai.vpn-binding",\r
+        "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
+        "comments": "",\r
+        "x": 2093.5164489746094,\r
+        "y": 673.88330078125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3c24f82.dfab088",\r
+        "type": "comment",\r
+        "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1023.5003967285156,\r
+        "y": 746.39990234375,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "570ad10f.ad92f8",\r
+        "type": "save",\r
+        "name": "get all-vpn-bindings from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 921.5003967285156,\r
+        "y": 781.39990234375,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "f405b75.e7a9fc8",\r
+                "4e9de096.f468b",\r
+                "9757d76.73f10a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f405b75.e7a9fc8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1126.5003967285156,\r
+        "y": 778.39990234375,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "5de56166.922018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e9de096.f468b",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1109.9913635253906,\r
+        "y": 839.9739379882812,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "a1062ebe.b15808"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9757d76.73f10a8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1107.5003967285156,\r
+        "y": 883.39990234375,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "10e74f8b.3fb4a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5de56166.922018",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1294.5006408691406,\r
+        "y": 773.39990234375,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "fdc657b.398c8a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1062ebe.b15808",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 1272.5627746582031,\r
+        "y": 840.2596740722656,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "10e74f8b.3fb4a8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 1274.5003967285156,\r
+        "y": 882.39990234375,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fdc657b.398c8a8",\r
+        "type": "for",\r
+        "name": "for vpnidx in all-vpn-bindings",\r
+        "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 920.5007019042969,\r
+        "y": 1018.39990234375,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "5a8644f1.6f626c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a8644f1.6f626c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1150.5004577636719,\r
+        "y": 1006.39990234375,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "71241a5.135ba64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "71241a5.135ba64",\r
+        "type": "switchNode",\r
+        "name": "switch ops-note is srcTtpOtnLayer",\r
+        "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1386.3168640136719,\r
+        "y": 1005.56640625,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "4253fbea.3b4874",\r
+                "6cef3566.dab14c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4253fbea.3b4874",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1616.3168640136719,\r
+        "y": 1000.56591796875,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "d0b44cbe.a16a5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6cef3566.dab14c",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1627.3168640136719,\r
+        "y": 1043.56591796875,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3070392b.33f8c6",\r
+        "type": "set",\r
+        "name": "set srcTtp OTN layer",\r
+        "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 1170.9999694824219,\r
+        "y": 593.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "45e829a.7cbd958",\r
+        "type": "set",\r
+        "name": "unset tmp.aai.all-vpn-bindings",\r
+        "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
+        "comments": "",\r
+        "x": 900.2001037597656,\r
+        "y": 707.39990234375,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "304ed1d7.4f9efe",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 663.9999694824219,\r
+        "y": 737.2333984375,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "45e829a.7cbd958",\r
+                "570ad10f.ad92f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7df4e9d5.2bc648",\r
+        "type": "switchNode",\r
+        "name": "switch provider-id domainA",\r
+        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1515.9999694824219,\r
+        "y": 455.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "a43c232c.85575"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "561ea33d.a2ffb4",\r
+        "type": "for",\r
+        "name": "for netwidx..allNetworksList_length",\r
+        "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1222.9999694824219,\r
+        "y": 449.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "7df4e9d5.2bc648"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e515252.bebdb6",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1477.9999694824219,\r
+        "y": 406.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "36a9a792.12dcb8",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1166.9999694824219,\r
+        "y": 501.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2a69687a.5611c",\r
+        "type": "set",\r
+        "name": "set tmp.pce-src-node",\r
+        "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
+        "comments": "",\r
+        "x": 1174.9999694824219,\r
+        "y": 546.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f3c1922.734777",\r
+        "type": "set",\r
+        "name": "unset otnTopoIdSrc",\r
+        "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+        "comments": "",\r
+        "x": 1171.9999694824219,\r
+        "y": 399.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a43c232c.85575",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1424.9999694824219,\r
+        "y": 523.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "f8e0e906.2dd5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f8e0e906.2dd5c",\r
+        "type": "switchNode",\r
+        "name": "switch te-topo-id",\r
+        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1609.9999694824219,\r
+        "y": 522.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "8c6726fe.7433a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc1b4364.1c9f18",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 866.9999694824219,\r
+        "y": 421.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "7c0eef33.a4cac8",\r
+                "ba37203f.b37c18",\r
+                "36a9a792.12dcb8",\r
+                "2a69687a.5611c",\r
+                "3070392b.33f8c6",\r
+                "561ea33d.a2ffb4",\r
+                "304ed1d7.4f9efe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59a1e33e.932044",\r
+        "type": "comment",\r
+        "name": "The following section is to find srcTtp OTN layer (its long name)",\r
+        "info": "The following section is to find srcTtp OTN layer (its long name)",\r
+        "comments": "",\r
+        "x": 851.9999694824219,\r
+        "y": 355.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ba37203f.b37c18",\r
+        "type": "get-resource",\r
+        "name": "get-resource network-resources-list",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1230.9999694824219,\r
+        "y": 342.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "c06f47ba.39269",\r
+                "e8314c16.79663",\r
+                "2e515252.bebdb6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c06f47ba.39269",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1466.9999694824219,\r
+        "y": 325.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e8314c16.79663",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1463.9999694824219,\r
+        "y": 366.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c0eef33.a4cac8",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+        "comments": "",\r
+        "x": 1179.9999694824219,\r
+        "y": 299.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8c6726fe.7433a8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1801.9999694824219,\r
+        "y": 525.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "99c0dc88.ef82e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99c0dc88.ef82e8",\r
+        "type": "set",\r
+        "name": "set otnTopoIdSrc",\r
+        "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+        "comments": "",\r
+        "x": 1973.9999694824219,\r
+        "y": 521.283203125,\r
+        "z": "347519d8.005516",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d2cbaaf0.8cf72",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 154.88333129882812,\r
+        "y": 89.88333129882812,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "a811003b.ca91f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a811003b.ca91f8",\r
+        "type": "service-logic",\r
+        "name": "GENERIC-RESOURCE-API ${project.version}",\r
+        "module": "GENERIC-RESOURCE-API",\r
+        "version": "${project.version}",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 439.1690216064453,\r
+        "y": 151.12143993377686,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "5803201b.e752d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5803201b.e752d",\r
+        "type": "method",\r
+        "name": "method cll-vnf-topology-operation-cll-delete-VPNBs",\r
+        "xml": "<method rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 445.3119354248047,\r
+        "y": 235.88336181640625,\r
+        "z": "347519d8.005516",\r
+        "wires": [\r
+            [\r
+                "cc1b4364.1c9f18"\r
+            ]\r
+        ]\r
+    }\r
+]
\ No newline at end of file
index 5af3b36..fb09dbd 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "931a69bb.dae57",\r
+        "id": "d1a7bbc1.540ca8",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 158,\r
-        "y": 111,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 171.88333129882812,\r
+        "y": 131.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "631f62d5.74088c"\r
+                "6b49e250.7dcf1c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "631f62d5.74088c",\r
+        "id": "6b49e250.7dcf1c",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\r
         "comments": "",\r
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 289.2856903076172,\r
-        "y": 160.23810863494873,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 456.1690216064453,\r
+        "y": 193.12143993377686,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "b7a67e25.a3d65"\r
+                "7d29f447.50c89c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b7a67e25.a3d65",\r
+        "id": "7d29f447.50c89c",\r
         "type": "method",\r
         "name": "method cll-vnf-topology-operation-cll-delete",\r
         "xml": "<method rpc='cll-vnf-topology-operation-cll-delete' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 292.4286193847656,\r
-        "y": 245.00003242492676,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 462.3119354248047,\r
+        "y": 277.88336181640625,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "bcc86fda.38b13"\r
+                "eaada3e3.80126"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bcc86fda.38b13",\r
+        "id": "eaada3e3.80126",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 442.238037109375,\r
-        "y": 374.6666564941406,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 811.8833312988281,\r
+        "y": 336.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "f53defcd.3a7dd",\r
-                "c20e131e.73b7b",\r
-                "d160ef14.daae98"\r
+                "48b97bf1.34ba04",\r
+                "4cae2f6c.f9579",\r
+                "47d3b263.d1c534"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f53defcd.3a7dd",\r
+        "id": "48b97bf1.34ba04",\r
         "type": "returnSuccess",\r
         "name": "return success",\r
         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
         "comments": "",\r
-        "x": 716.5716552734375,\r
-        "y": 641.59716796875,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1113.2168273925781,\r
+        "y": 607.8136291503906,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c20e131e.73b7b",\r
+        "id": "4cae2f6c.f9579",\r
         "type": "save",\r
         "name": "get service-instance from aai",\r
-        "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--vnf-topology-operation-input.service-information.service-instance-id-->",\r
+        "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 768,\r
-        "y": 412,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1134.6452941894531,\r
+        "y": 310.2166442871094,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "73ebc7bf.bf03e8",\r
-                "4161fc92.ab54b4",\r
-                "f0a5f72e.4756d"\r
+                "eecf5ed7.260848",\r
+                "c7a2a22f.bd7b1",\r
+                "44494afd.f0c474"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73ebc7bf.bf03e8",\r
+        "id": "eecf5ed7.260848",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 966,\r
-        "y": 350,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1359.6452941894531,\r
+        "y": 168.21664428710938,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "9fe92008.1b7c9"\r
+                "cddb4078.0dee18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4161fc92.ab54b4",\r
+        "id": "c7a2a22f.bd7b1",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 996.490966796875,\r
-        "y": 392.57403564453125,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1355.1362609863281,\r
+        "y": 237.79067993164062,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "8782adc7.ab141"\r
+                "7789aaf8.1fe7d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f0a5f72e.4756d",\r
+        "id": "44494afd.f0c474",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 985,\r
-        "y": 439,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1343.6452941894531,\r
+        "y": 284.2166442871094,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "ecf8d005.e02b48"\r
+                "64127148.01c618"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8782adc7.ab141",\r
+        "id": "1679e3cd.763d6c",\r
+        "type": "comment",\r
+        "name": "new for TransportSlicing",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1113.6452941894531,\r
+        "y": 198.21664428710938,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "47d3b263.d1c534",\r
+        "type": "execute",\r
+        "name": "execute properties",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1101.6452941894531,\r
+        "y": 250.21664428710938,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cddb4078.0dee18",\r
+        "type": "switchNode",\r
+        "name": "switch allotted-resources_length != 0",\r
+        "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1599.8833312988281,\r
+        "y": 164.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "6a54ba66.1cde8c",\r
+                "7bb2b732.d43ff8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7789aaf8.1fe7d4",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 1150.0623779296875,\r
-        "y": 395.8597717285156,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1509.9457092285156,\r
+        "y": 240.74310302734375,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ecf8d005.e02b48",\r
+        "id": "64127148.01c618",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 1154,\r
-        "y": 440,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1513.8833312988281,\r
+        "y": 284.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5b569a16.745f1c",\r
-        "type": "for",\r
-        "name": "for each relationship",\r
-        "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
+        "id": "6a54ba66.1cde8c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1184,\r
-        "y": 346,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1804.8833312988281,\r
+        "y": 201.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "25ca27fd.dbc988"\r
+                "d1e88455.43ef2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "25ca27fd.dbc988",\r
-        "type": "switchNode",\r
-        "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
+        "id": "7bb2b732.d43ff8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1407.33349609375,\r
-        "y": 345.99993896484375,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1814.8833312988281,\r
+        "y": 128.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
-            [\r
-                "f6a0c4df.5c0238"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "f6a0c4df.5c0238",\r
-        "type": "outcome",\r
-        "name": "connectivity",\r
-        "xml": "<outcome value='connectivity'>\n",\r
+        "id": "d1e88455.43ef2",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1587.0001220703125,\r
-        "y": 346.0000305175781,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1797.8833312988281,\r
+        "y": 276.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "b1afa8c.9d08258"\r
+                "8390a16b.5a156",\r
+                "341b8f1.ea5ec7",\r
+                "1d2c9241.740b2e",\r
+                "4208fd35.4a6c74",\r
+                "e351db25.84cdc8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d160ef14.daae98",\r
-        "type": "execute",\r
-        "name": "execute properties",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 734,\r
-        "y": 360,\r
-        "z": "de2a2b68.0a5d7",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "b1afa8c.9d08258",\r
+        "id": "2db9f3bd.0d65e4",\r
         "type": "save",\r
-        "name": "get connectivity from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
+        "name": "get allotted-resource from aai",\r
+        "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1787,\r
-        "y": 346,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 2283.883331298828,\r
+        "y": 327.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "c3a2010c.f5d48",\r
-                "fb144142.e9ac68",\r
-                "ba20a9b3.14be2"\r
+                "11f248b6.2b0fe7",\r
+                "fd3681a1.487b1",\r
+                "9338a88f.aebeb"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c3a2010c.f5d48",\r
+        "id": "11f248b6.2b0fe7",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1958,\r
-        "y": 299,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 2499.883331298828,\r
+        "y": 394.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "9386fbbc.1d2048"\r
+                "7fe5ebf8.de6a64"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fb144142.e9ac68",\r
+        "id": "fd3681a1.487b1",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2039.490966796875,\r
-        "y": 1139.5740356445312,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 2500.374298095703,\r
+        "y": 294.4573059082031,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "9e1c850d.74d728"\r
+                "6e8f233d.c6dbd4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ba20a9b3.14be2",\r
+        "id": "9338a88f.aebeb",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2037,\r
-        "y": 1183,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 2495.883331298828,\r
+        "y": 343.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "c9b57000.53acb8"\r
+                "8a3025a0.71b76"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9e1c850d.74d728",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "id": "8390a16b.5a156",\r
+        "type": "for",\r
+        "name": "for each allotted-resource",\r
+        "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2000.8833312988281,\r
+        "y": 308.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "7858ac8a.d0ed24",\r
+                "2db9f3bd.0d65e4",\r
+                "98563074.1e7ea",\r
+                "c475408d.68ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7858ac8a.d0ed24",\r
+        "type": "set",\r
+        "name": "set the current allotted-resource-id",\r
+        "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 2202.0623779296875,\r
-        "y": 1139.8597717285156,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 2280.883331298828,\r
+        "y": 246.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c9b57000.53acb8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "id": "4208fd35.4a6c74",\r
+        "type": "set",\r
+        "name": "set tmp.arr",\r
+        "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
         "comments": "",\r
-        "x": 2206,\r
-        "y": 1184,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 1974.8833312988281,\r
+        "y": 258.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ad889722.664b08",\r
-        "type": "save",\r
-        "name": "get vpn-binding from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
+        "id": "341b8f1.ea5ec7",\r
+        "type": "get-resource",\r
+        "name": "get-resource pnfs-list",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3062,\r
-        "y": 386,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 2017.8833312988281,\r
+        "y": 117.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
-            [\r
-                "640b0e20.b1d3e",\r
-                "ce9c63b.0255a2",\r
-                "7ad6314d.3b89c8"\r
-            ]\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d2c9241.740b2e",\r
+        "type": "get-resource",\r
+        "name": "get-resource logical-links",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2029.8833312988281,\r
+        "y": 158.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "e28a48f8.db57f8",\r
+        "id": "a3743fb5.49e31",\r
+        "type": "comment",\r
+        "name": "The following two nodes are for PCE",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2054.883331298828,\r
+        "y": 70.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a5956784.1c6ce8",\r
+        "type": "set",\r
+        "name": "set tmp.arr",\r
+        "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
+        "comments": "",\r
+        "x": 1974.8833312988281,\r
+        "y": 204.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6e8f233d.c6dbd4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2678.883331298828,\r
+        "y": 296.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8a3025a0.71b76",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 2678.820831298828,\r
+        "y": 346.0235900878906,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7fe5ebf8.de6a64",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3439,\r
-        "y": 378,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 2680.820831298828,\r
+        "y": 397.0235900878906,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "1c93c389.0c8c2c",\r
-                "c798ad9c.1234b",\r
-                "fd7fa756.f7d6e8",\r
-                "270a4545.e66b22",\r
-                "d4768fc2.d5865"\r
+                "27474730.1479c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "640b0e20.b1d3e",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "27474730.1479c8",\r
+        "type": "save",\r
+        "name": "get allotted-resource relationship from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3273,\r
-        "y": 388,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 2973.820831298828,\r
+        "y": 344.0235900878906,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "e28a48f8.db57f8"\r
+                "bdd221b3.05669",\r
+                "9c61f989.c8eaf8",\r
+                "fabffff4.e28138"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ce9c63b.0255a2",\r
+        "id": "9c61f989.c8eaf8",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3273.490966796875,\r
-        "y": 433.57403564453125,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3247.311798095703,\r
+        "y": 236.59756469726562,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "714cc291.22ce0c"\r
+                "1e4b4cbe.e5dbab"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ad6314d.3b89c8",\r
+        "id": "1e4b4cbe.e5dbab",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3424.883331298828,\r
+        "y": 236.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fabffff4.e28138",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3271,\r
-        "y": 477,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3242.820831298828,\r
+        "y": 286.0235900878906,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "525b4279.2df8f4"\r
+                "3e91db11.95e81c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "525b4279.2df8f4",\r
+        "id": "3e91db11.95e81c",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 3438,\r
-        "y": 476,\r
-        "z": "de2a2b68.0a5d7",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "714cc291.22ce0c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
-        "comments": "",\r
-        "x": 3436.0623779296875,\r
-        "y": 433.8597717285156,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3424.820831298828,\r
+        "y": 286.0235900878906,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c57d1cb2.40bd38",\r
-        "type": "for",\r
-        "name": "for each relationship",\r
-        "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
+        "id": "bdd221b3.05669",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2261,\r
-        "y": 301,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3246.820831298828,\r
+        "y": 337.0235900878906,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "9dbcf55e.4925c8"\r
+                "8cb6a22.c9637e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9dbcf55e.4925c8",\r
-        "type": "switchNode",\r
-        "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
-        "comments": "",\r
+        "id": "8cb6a22.c9637e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2458,\r
-        "y": 315,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3426.820831298828,\r
+        "y": 337.0235900878906,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "b564f315.834a2",\r
-                "e7d69f06.780b38"\r
+                "6f3506c3.cf97d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b564f315.834a2",\r
-        "type": "outcome",\r
-        "name": "vpn-binding",\r
-        "xml": "<outcome value='vpn-binding'>\n",\r
+        "id": "6f3506c3.cf97d8",\r
+        "type": "switchNode",\r
+        "name": "switch allotted-resource.relationship-list not empty",\r
+        "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2626,\r
-        "y": 308,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 2992.883331298828,\r
+        "y": 471.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "491489ec.617558"\r
+                "5a58fe79.709e",\r
+                "5401f43b.ed03f4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "491489ec.617558",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
+        "id": "5401f43b.ed03f4",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
         "outputs": 1,\r
-        "x": 2789,\r
-        "y": 308,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3302.883331298828,\r
+        "y": 478.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
-            [\r
-                "ad889722.664b08"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "1c93c389.0c8c2c",\r
-        "type": "set",\r
-        "name": "set pnf-name",\r
-        "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
-        "comments": "",\r
-        "x": 3661,\r
-        "y": 96,\r
-        "z": "de2a2b68.0a5d7",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c798ad9c.1234b",\r
-        "type": "get-resource",\r
-        "name": "get-resource src pnf",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "id": "5a58fe79.709e",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3687,\r
-        "y": 213,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3301.883331298828,\r
+        "y": 532.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "76dc6e0a.1ab268",\r
-                "826ceead.c2f69",\r
-                "d5b03fc8.b6e088"\r
+                "126c6f21.417e99"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "76dc6e0a.1ab268",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "24e00055.8ca808",\r
+        "type": "outcome",\r
+        "name": "network-policy",\r
+        "xml": "<outcome value='network-policy'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3882.5001220703125,\r
-        "y": 165,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4046.883331298828,\r
+        "y": 486.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "feb1370b.46393"\r
+                "8c1020d2.e3fc88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "826ceead.c2f69",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
+        "id": "8c1020d2.e3fc88",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3874.5001220703125,\r
-        "y": 220,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4223.883209228516,\r
+        "y": 479.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "f38f34bb.7a9748"\r
+                "709d8f82.9f2e1",\r
+                "cef8768a.ac6e48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "feb1370b.46393",\r
+        "id": "126c6f21.417e99",\r
         "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4026.8824462890625,\r
-        "y": 164.65567016601562,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3465.883331298828,\r
+        "y": 458.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "21f3a77a.346fa8"\r
+                "f0253be2.ef6388",\r
+                "d30875df.4619e8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "21f3a77a.346fa8",\r
+        "id": "f0253be2.ef6388",\r
         "type": "for",\r
-        "name": "for each relationship",\r
-        "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+        "name": "for each allotted-resource relationship",\r
+        "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4211,\r
-        "y": 163,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3746.883331298828,\r
+        "y": 414.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "a51bf440.0c5b6"\r
+                "6ce9e370.67b09c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a51bf440.0c5b6",\r
+        "id": "6ce9e370.67b09c",\r
         "type": "switchNode",\r
         "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+        "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4406,\r
-        "y": 163,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4008.883331298828,\r
+        "y": 414.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "34e2f8df.de6cf8"\r
+                "24e00055.8ca808"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d5b03fc8.b6e088",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
+        "id": "709d8f82.9f2e1",\r
+        "type": "set",\r
+        "name": "set the 1st network-policy-id",\r
+        "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4466.883209228516,\r
+        "y": 436.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cef8768a.ac6e48",\r
+        "type": "save",\r
+        "name": "get network-policy from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4455.883209228516,\r
+        "y": 491.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "442d2e35.9513b",\r
+                "6b7a340a.d73c24",\r
+                "1cf09fd1.237e88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cf09fd1.237e88",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3879.5001220703125,\r
-        "y": 277,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4708.883331298828,\r
+        "y": 377.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "8eb64fc1.c84cd"\r
+                "830d3a39.a47178"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8eb64fc1.c84cd",\r
+        "id": "830d3a39.a47178",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 4031.5001220703125,\r
-        "y": 278,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4857.454864501953,\r
+        "y": 378.1690979003906,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f38f34bb.7a9748",\r
+        "id": "4e42818f.48a268",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 4042.5001220703125,\r
-        "y": 221,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4856.392364501953,\r
+        "y": 422.3093566894531,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "41c68962.37006",\r
-        "type": "execute",\r
-        "name": "get esr-thirdparty-sdnc",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
+        "id": "6b7a340a.d73c24",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4697.392364501953,\r
+        "y": 422.3093566894531,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "4e42818f.48a268"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "442d2e35.9513b",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4994,\r
-        "y": 180,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4704.392364501953,\r
+        "y": 501.3093566894531,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "b0076b13.2e399",\r
-                "f818e30c.1ed2d",\r
-                "cd5ca056.adec1"\r
+                "dd05e839.54d638"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fb2612bc.a6aea8",\r
+        "id": "dd05e839.54d638",\r
         "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
         "outputs": 1,\r
-        "x": 4788,\r
-        "y": 167,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4843.392364501953,\r
+        "y": 501.3093566894531,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "a86d0a2.d48def8",\r
-                "41c68962.37006",\r
-                "3b61ff6d.8dced"\r
+                "d5c9a2a0.f0c188",\r
+                "585ee28c.970d44"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a86d0a2.d48def8",\r
+        "id": "d5c9a2a0.f0c188",\r
         "type": "set",\r
-        "name": "set esr-thirdparty-sdnc domain id",\r
-        "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "name": "set the max bandwidth",\r
+        "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
         "comments": "",\r
-        "x": 5024,\r
-        "y": 128,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 5048.883331298828,\r
+        "y": 498.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b0076b13.2e399",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "585ee28c.970d44",\r
+        "type": "set",\r
+        "name": "set the max bandwidth",\r
+        "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+        "comments": "",\r
+        "x": 5047.883331298828,\r
+        "y": 544.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d30875df.4619e8",\r
+        "type": "for",\r
+        "name": "for each allotted-resource relationship",\r
+        "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5204,\r
-        "y": 171,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3563.883331298828,\r
+        "y": 530.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "9a62192a.51df38"\r
+                "bcf8f8b2.ee17c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f818e30c.1ed2d",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
+        "id": "bcf8f8b2.ee17c",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5196,\r
-        "y": 226,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3843.883331298828,\r
+        "y": 530.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "cb7716d3.6ef01"\r
+                "f92213c8.e6e61"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cd5ca056.adec1",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
+        "id": "f92213c8.e6e61",\r
+        "type": "outcome",\r
+        "name": "logical-link",\r
+        "xml": "<outcome value='logical-link'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5201,\r
-        "y": 283,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 2256.8834533691406,\r
+        "y": 783.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "6a7cfa93.2ccb4c"\r
+                "f147a584.43d0d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a7cfa93.2ccb4c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "id": "f147a584.43d0d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2433.883331298828,\r
+        "y": 776.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "5a35df58.3972",\r
+                "2dab28b6.2641a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a35df58.3972",\r
+        "type": "set",\r
+        "name": "set the current logical-link-name",\r
+        "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 2676.883331298828,\r
+        "y": 733.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2dab28b6.2641a",\r
+        "type": "save",\r
+        "name": "get logical-link from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2665.883331298828,\r
+        "y": 788.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ffb30860.4224d",\r
+                "abeb5cc2.3015b",\r
+                "e13761ad.544c58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ffb30860.4224d",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2957.374298095703,\r
+        "y": 767.4573059082031,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "bd849955.1204b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "abeb5cc2.3015b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2945.883331298828,\r
+        "y": 811.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "33701bc2.b5a40c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd849955.1204b",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "x": 5353,\r
-        "y": 284,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3105.945831298828,\r
+        "y": 767.7430725097656,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cb7716d3.6ef01",\r
+        "id": "33701bc2.b5a40c",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 5364,\r
-        "y": 229,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3104.883331298828,\r
+        "y": 811.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9a62192a.51df38",\r
+        "id": "e13761ad.544c58",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2952.883331298828,\r
+        "y": 890.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d2f3b92.5263348"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2f3b92.5263348",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5348.38232421875,\r
-        "y": 168.65567016601562,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3091.883331298828,\r
+        "y": 890.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "1e654428.bcfdbc"\r
+                "ef467ac0.6f7c18",\r
+                "f9d1859a.061ab8",\r
+                "3e963f23.c2be88",\r
+                "f9ae4741.757498",\r
+                "2907fb26.565cec",\r
+                "26f3b8c8.1692a",\r
+                "94a806e9.b63df",\r
+                "a001cedc.58f128",\r
+                "221f1c18.663f6c",\r
+                "77955a17.d633ac",\r
+                "1e4146ab.95c211",\r
+                "c8da4017.620ba8",\r
+                "a4dfc5e6.4600f",\r
+                "ce0d81bd.d28a7",\r
+                "7f04acf4.5afc3c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "34e2f8df.de6cf8",\r
-        "type": "outcome",\r
-        "name": "esr-thirdparty-sdnc",\r
-        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "id": "4165b419.5fd914",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for ethernet-service-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4609,\r
-        "y": 167,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3405.883331298828,\r
+        "y": 696.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
-            [\r
-                "fb2612bc.a6aea8"\r
-            ]\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef467ac0.6f7c18",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for otn-tunnel-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3386.883331298828,\r
+        "y": 746.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "1e654428.bcfdbc",\r
+        "id": "c8da4017.620ba8",\r
         "type": "set",\r
-        "name": "set controller domain data",\r
-        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "name": "set new ethernet-service-name",\r
+        "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 5563,\r
-        "y": 165,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3343.883331298828,\r
+        "y": 791.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3b61ff6d.8dced",\r
-        "type": "break",\r
-        "name": "break",\r
-        "xml": "<break>\n",\r
+        "id": "f9d1859a.061ab8",\r
+        "type": "set",\r
+        "name": "set network-route-one",\r
+        "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 4944,\r
-        "y": 244,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3318.883331298828,\r
+        "y": 854.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "10401b5c.b05865",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode Delete ethernet Service without token",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
+        "id": "3e963f23.c2be88",\r
+        "type": "set",\r
+        "name": "set network-route-two",\r
+        "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 3319.883331298828,\r
+        "y": 909.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f9ae4741.757498",\r
+        "type": "save",\r
+        "name": "get network-route-one from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3335.883331298828,\r
+        "y": 957.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d029c3a1.942f48",\r
+                "34db9b18.f85a0c",\r
+                "a8f47dda.1a0bb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2907fb26.565cec",\r
+        "type": "save",\r
+        "name": "get network-route-two from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3324.883331298828,\r
+        "y": 1044.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ad570631.23385",\r
+                "75596bb2.8de11c",\r
+                "ae6194f6.92ada8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d029c3a1.942f48",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4322,\r
-        "y": 593,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3536.883331298828,\r
+        "y": 841.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "7f6c606d.64ab48",\r
-                "c3eb517a.b7781"\r
+                "9c52bc0.78abb48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7f6c606d.64ab48",\r
+        "id": "34db9b18.f85a0c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4668.5,\r
-        "y": 586,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3532.392364501953,\r
+        "y": 891.3093566894531,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "8c5003e.5a8698"\r
+                "946c30bd.bd527"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c3eb517a.b7781",\r
+        "id": "a8f47dda.1a0bb8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4672.5,\r
-        "y": 626,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3536.392364501953,\r
+        "y": 944.3093566894531,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "19571e12.890ec2"\r
+                "1dcb46a1.3c7d49"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "19571e12.890ec2",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
+        "id": "9c52bc0.78abb48",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
         "comments": "",\r
-        "outputs": 1,\r
-        "x": 4830,\r
-        "y": 626,\r
-        "z": "de2a2b68.0a5d7",\r
-        "wires": [\r
-            []\r
-        ]\r
+        "x": 3685.454864501953,\r
+        "y": 841.1690979003906,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
     },\r
     {\r
-        "id": "8c5003e.5a8698",\r
+        "id": "946c30bd.bd527",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 4826.5,\r
-        "y": 586,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3675.392364501953,\r
+        "y": 891.3093566894531,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fd7fa756.f7d6e8",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "id": "ad570631.23385",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3790,\r
-        "y": 480,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3547.883331298828,\r
+        "y": 1014.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "7d0f2c32.be1c14",\r
-                "d337892f.188d2"\r
+                "5f295173.cbbf5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7d0f2c32.be1c14",\r
+        "id": "75596bb2.8de11c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4122.5,\r
-        "y": 450,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3543.392364501953,\r
+        "y": 1064.3092346191406,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "bcce4236.8aab4"\r
+                "355d767e.1de55a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d337892f.188d2",\r
+        "id": "ae6194f6.92ada8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4127.5,\r
-        "y": 515,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3544.392364501953,\r
+        "y": 1117.3092346191406,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "fe33b47b.c7292"\r
+                "a436621f.a466c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bcce4236.8aab4",\r
+        "id": "5f295173.cbbf5",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete OTN tunnel rest api\" />\n",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3696.454864501953,\r
+        "y": 1014.1689758300781,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "355d767e.1de55a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
         "comments": "",\r
-        "x": 4298.5,\r
-        "y": 450,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3686.392364501953,\r
+        "y": 1064.3092346191406,\r
+        "z": "82de8dcf.518d88",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fe33b47b.c7292",\r
+        "id": "1dcb46a1.3c7d49",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
-        "comments": "",\r
         "outputs": 1,\r
-        "x": 4294,\r
-        "y": 515,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3697.883331298828,\r
+        "y": 943.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
-            []\r
+            [\r
+                "f5b5d495.086d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a436621f.a466c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3697.883331298828,\r
+        "y": 1116.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "43e5bf6b.ff29a8"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "270a4545.e66b22",\r
+        "id": "f5b5d495.086d",\r
         "type": "switchNode",\r
-        "name": "switch connectivity has ethernet service",\r
-        "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
+        "name": "switch nr type",\r
+        "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3728,\r
-        "y": 615,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3869.883331298828,\r
+        "y": 943.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "9b17a7a2.876",\r
-                "67f91d39.722cb4"\r
+                "55f80e1b.2635f",\r
+                "43049869.5a7d88"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "67f91d39.722cb4",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
+        "id": "43e5bf6b.ff29a8",\r
+        "type": "switchNode",\r
+        "name": "switch nr type",\r
+        "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3981,\r
-        "y": 593,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3870.883331298828,\r
+        "y": 1116.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "10401b5c.b05865"\r
+                "f9772113.de9e58",\r
+                "79517b7a.195d94"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9b17a7a2.876",\r
+        "id": "55f80e1b.2635f",\r
         "type": "outcome",\r
-        "name": "Null",\r
-        "xml": "<outcome value=''>\n",\r
+        "name": "ROOT",\r
+        "xml": "<outcome value='ROOT'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3981,\r
-        "y": 649,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4045.883331298828,\r
+        "y": 922.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
-            []\r
+            [\r
+                "d9c9bf69.d54ef8"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "9c7846e0.04a7f",\r
-        "type": "save",\r
-        "name": "delete connectivity resource in AAI",\r
-        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
+        "id": "43049869.5a7d88",\r
+        "type": "outcome",\r
+        "name": "LEAF",\r
+        "xml": "<outcome value='LEAF'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2277,\r
-        "y": 1030,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4047.883331298828,\r
+        "y": 976.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
-            []\r
+            [\r
+                "5ac63627.c33ff"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "d4768fc2.d5865",\r
-        "type": "save",\r
-        "name": "delete vpn-binding resource in AAI",\r
-        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
+        "id": "f9772113.de9e58",\r
+        "type": "outcome",\r
+        "name": "ROOT",\r
+        "xml": "<outcome value='ROOT'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3709,\r
-        "y": 731,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4046.883331298828,\r
+        "y": 1086.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
-            []\r
+            [\r
+                "35523eeb.15287a"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "e7d69f06.780b38",\r
+        "id": "79517b7a.195d94",\r
         "type": "outcome",\r
-        "name": "uni",\r
-        "xml": "<outcome value='uni'>\n",\r
+        "name": "LEAF",\r
+        "xml": "<outcome value='LEAF'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2642,\r
-        "y": 710,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 4048.883331298828,\r
+        "y": 1140.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "f282643f.862928"\r
+                "377b88b8.aaeb48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f282643f.862928",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
+        "id": "eba0d9fe.14aff8",\r
+        "type": "set",\r
+        "name": "set network-route-ROOT",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4355.883331298828,\r
+        "y": 874.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b156164c.4afee",\r
+        "type": "set",\r
+        "name": "set network-route-LEAF",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4348.883331298828,\r
+        "y": 972.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c46834b2.126828",\r
+        "type": "set",\r
+        "name": "set network-route-ROOT",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4348.883331298828,\r
+        "y": 1059.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "67f1e499.325a54",\r
+        "type": "set",\r
+        "name": "set network-route-LEAF",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4352.883331298828,\r
+        "y": 1152.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fa18abdb.1f3b58",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
         "outputs": 1,\r
-        "x": 2805,\r
-        "y": 710,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3579.883331298828,\r
+        "y": 1561.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "7484e145.9ae3a8"\r
+                "acfe7f1b.815bb8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7484e145.9ae3a8",\r
-        "type": "save",\r
-        "name": "delete uni resource in AAI",\r
-        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'>\n",\r
+        "id": "504369a4.383c58",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3048,\r
-        "y": 710,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3589.374298095703,\r
+        "y": 1604.4573669433594,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
-            []\r
+            [\r
+                "2cc2d2a0.0189de"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "9386fbbc.1d2048",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "id": "48dc6834.fa2a",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2087,\r
-        "y": 299,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3577.883331298828,\r
+        "y": 1650.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "c57d1cb2.40bd38",\r
-                "9c7846e0.04a7f"\r
+                "5165f4d1.561cf4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9fe92008.1b7c9",\r
-        "type": "switchNode",\r
-        "name": "switch has any relationship",\r
-        "xml": "<switch test=\"`$tmp.aai.service-instance.relationship-list.relationship_length != ''`\">\n",\r
+        "id": "a5821370.c906a8",\r
+        "type": "comment",\r
+        "name": "Question?",\r
+        "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+        "comments": "",\r
+        "x": 3279.883331298828,\r
+        "y": 1523.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "94a806e9.b63df",\r
+        "type": "save",\r
+        "name": "get p-interface-src from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1162,\r
-        "y": 234,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3322.883331298828,\r
+        "y": 1588.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "9d9cab47.ce0658"\r
+                "fa18abdb.1f3b58",\r
+                "504369a4.383c58",\r
+                "48dc6834.fa2a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9d9cab47.ce0658",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
+        "id": "26f3b8c8.1692a",\r
+        "type": "execute",\r
+        "name": "execute split tp-id to get pnf-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3323.883331298828,\r
+        "y": 1258.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e1766e3b.d98f7",\r
+                "2b2fec17.7ad784"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b2fec17.7ad784",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1391,\r
-        "y": 230,\r
-        "z": "de2a2b68.0a5d7",\r
+        "x": 3546.883331298828,\r
+        "y": 1244.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
         "wires": [\r
             [\r
-                "5b569a16.745f1c"\r
+                "9fa24ca4.2bf57"\r
             ]\r
         ]\r
+    },\r
+    {\r
+        "id": "e1766e3b.d98f7",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3548.883331298828,\r
+        "y": 1277.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "43f11543.33be3c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "acfe7f1b.815bb8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3752.549835205078,\r
+        "y": 1560.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "72fd24ba.a9210c",\r
+                "abb77544.4a8348"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2cc2d2a0.0189de",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3742.9457092285156,\r
+        "y": 1607.7431030273438,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5165f4d1.561cf4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 3746.883331298828,\r
+        "y": 1651.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "72fd24ba.a9210c",\r
+        "type": "execute",\r
+        "name": "execute split tp-id to get pnf-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4016.883331298828,\r
+        "y": 1544.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e6b87836.bef2f8",\r
+                "b8a921ef.444378"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b8a921ef.444378",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4239.883331298828,\r
+        "y": 1499.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "54ec9e81.9a2fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e6b87836.bef2f8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4241.883331298828,\r
+        "y": 1563.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "27ce4c05.8bf1dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "27ce4c05.8bf1dc",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+        "comments": "",\r
+        "x": 4403.883331298828,\r
+        "y": 1559.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "54ec9e81.9a2fc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4404.883331298828,\r
+        "y": 1496.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f6774ff2.abd22",\r
+                "bb24ac55.01a618"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e1ea98e.240716",\r
+        "type": "save",\r
+        "name": "save connectivity resource in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4018.883331298828,\r
+        "y": 1703.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "19e24364.492f0d",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for connectivity domainA",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4063.883331298828,\r
+        "y": 1613.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "aefdb41a.15ed9",\r
+        "type": "save",\r
+        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4146.883331298828,\r
+        "y": 1751.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "43f11543.33be3c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+        "comments": "",\r
+        "x": 3691.883331298828,\r
+        "y": 1274.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9fa24ca4.2bf57",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3694.883331298828,\r
+        "y": 1237.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "fc422c00.a0a738",\r
+                "4c9af5cc.7cdc6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc422c00.a0a738",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
+        "comments": "",\r
+        "x": 3868.883331298828,\r
+        "y": 1193.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "abb77544.4a8348",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3970.883331298828,\r
+        "y": 1828.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "af71b606.ad1ca8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af71b606.ad1ca8",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4176.883331298828,\r
+        "y": 1828.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "1586191.cb5c467"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1586191.cb5c467",\r
+        "type": "outcome",\r
+        "name": "tunnel-termination-point",\r
+        "xml": "<outcome value='tunnel-termination-point'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4392.168975830078,\r
+        "y": 1828.7051086425781,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2efd1433.a69a04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c9af5cc.7cdc6c",\r
+        "type": "get-resource",\r
+        "name": "get-resource src pnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3883.883331298828,\r
+        "y": 1304.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f48c8915.33d9e8",\r
+                "cce55dcf.842618",\r
+                "5e74a015.2ca67"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f48c8915.33d9e8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4079.3834533691406,\r
+        "y": 1256.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "5a7d862f.3b4ad8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cce55dcf.842618",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4071.3834533691406,\r
+        "y": 1311.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9061c72.32ffe38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5e74a015.2ca67",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4076.3834533691406,\r
+        "y": 1368.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "6b55247c.21dab4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b55247c.21dab4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4228.383453369141,\r
+        "y": 1369.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9061c72.32ffe38",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4239.383453369141,\r
+        "y": 1314.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5a7d862f.3b4ad8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4223.765777587891,\r
+        "y": 1254.5390014648438,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d89a976.d88e5e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d89a976.d88e5e8",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4407.883331298828,\r
+        "y": 1268.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "155fb221.0dbf8e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb24ac55.01a618",\r
+        "type": "set",\r
+        "name": "set ltpId",\r
+        "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
+        "comments": "",\r
+        "x": 4574.883331298828,\r
+        "y": 1454.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f6774ff2.abd22",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
+        "comments": "",\r
+        "x": 4575.883331298828,\r
+        "y": 1562.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1f2d63dd.89956c",\r
+        "type": "comment",\r
+        "name": "TODO: FIXME",\r
+        "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+        "comments": "",\r
+        "x": 4576.883331298828,\r
+        "y": 1511.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2efd1433.a69a04",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4599.000518798828,\r
+        "y": 1829.2236633300781,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9738e3.11ec3f2",\r
+                "b90b51f7.bc063",\r
+                "e565f202.9406"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9738e3.11ec3f2",\r
+        "type": "set",\r
+        "name": "set source ttp-id",\r
+        "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 4814.000518798828,\r
+        "y": 1791.2236633300781,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b90b51f7.bc063",\r
+        "type": "get-resource",\r
+        "name": "get-resource src TTP",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4811.000518798828,\r
+        "y": 1830.2236633300781,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2d0e3a15.1426a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e565f202.9406",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4766.500518798828,\r
+        "y": 1872.2236633300781,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2d0e3a15.1426a6",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4991.500518798828,\r
+        "y": 1829.2236633300781,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "a863747c.f65e78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "60c94053.2751c",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4805.883331298828,\r
+        "y": 1272.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "de3b61b0.e43d2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "de3b61b0.e43d2",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4982.883331298828,\r
+        "y": 1264.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b2f44bdb.9dc5e8",\r
+                "1f8e5eff.5b4f51"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "155fb221.0dbf8e",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4602.883331298828,\r
+        "y": 1268.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "60c94053.2751c",\r
+                "ecc099ad.aafee8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ecc099ad.aafee8",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4808.883331298828,\r
+        "y": 1346.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e5e04393.9d571"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5e04393.9d571",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4985.883331298828,\r
+        "y": 1338.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "39969cdd.a78634"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a863747c.f65e78",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5149.500518798828,\r
+        "y": 1829.2236633300781,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9ec1944.f167b68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ec1944.f167b68",\r
+        "type": "set",\r
+        "name": "set source tunnel tp ip",\r
+        "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
+        "comments": "",\r
+        "x": 5356.500518798828,\r
+        "y": 1829.2236633300781,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1f8e5eff.5b4f51",\r
+        "type": "execute",\r
+        "name": "get esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5190.883331298828,\r
+        "y": 1271.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "1422dd1f.ed1903",\r
+                "306288e7.8d0b68",\r
+                "adc4d006.c9a618"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2f44bdb.9dc5e8",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domainA id",\r
+        "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5220.883331298828,\r
+        "y": 1219.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1422dd1f.ed1903",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5400.883331298828,\r
+        "y": 1262.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9be58098.9885c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "306288e7.8d0b68",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5392.883331298828,\r
+        "y": 1317.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ddbc66fb.291808"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "adc4d006.c9a618",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5397.883331298828,\r
+        "y": 1374.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f026a629.a20b28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f026a629.a20b28",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 5549.883331298828,\r
+        "y": 1375.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ddbc66fb.291808",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 5560.883331298828,\r
+        "y": 1320.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9be58098.9885c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5545.265655517578,\r
+        "y": 1260.5390014648438,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b1324a29.092c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39969cdd.a78634",\r
+        "type": "set",\r
+        "name": "set domainA ethernet layer network-id",\r
+        "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5220.883331298828,\r
+        "y": 1462.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b1324a29.092c8",\r
+        "type": "set",\r
+        "name": "set controller domainA data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "comments": "",\r
+        "x": 5759.883331298828,\r
+        "y": 1256.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e7c33475.7e91e8",\r
+        "type": "set",\r
+        "name": "set network-route-B",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4343.883331298828,\r
+        "y": 910.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5025b50.00b0f4c",\r
+        "type": "set",\r
+        "name": "set network-route-A",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4334.883331298828,\r
+        "y": 1008.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d9c9bf69.d54ef8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4168.883331298828,\r
+        "y": 916.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "eba0d9fe.14aff8",\r
+                "e7c33475.7e91e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5ac63627.c33ff",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4174.883331298828,\r
+        "y": 980.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b156164c.4afee",\r
+                "5025b50.00b0f4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "35523eeb.15287a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4174.883331298828,\r
+        "y": 1086.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "c46834b2.126828",\r
+                "7dcc31dd.14e278"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "377b88b8.aaeb48",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4177.883331298828,\r
+        "y": 1139.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "67f1e499.325a54",\r
+                "e00fdb48.f91848"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7dcc31dd.14e278",\r
+        "type": "set",\r
+        "name": "set network-route-B",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4334.883331298828,\r
+        "y": 1099.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e00fdb48.f91848",\r
+        "type": "set",\r
+        "name": "set network-route-A",\r
+        "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4337.883331298828,\r
+        "y": 1190.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b1c3c9b6.d1dd38",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3709.883331298828,\r
+        "y": 2400.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "8d971e70.183d4",\r
+                "ac7f0ae7.0820f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37cdc12f.574c9e",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3537.216827392578,\r
+        "y": 2401.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b1c3c9b6.d1dd38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17fb9abf.e94b5d",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3546.707794189453,\r
+        "y": 2444.4573669433594,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ffec1f14.6b38f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "77126cff.9c26a4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3535.216827392578,\r
+        "y": 2490.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "6fe13c0.1437ac4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ffec1f14.6b38f8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3700.2792053222656,\r
+        "y": 2447.7431030273438,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6fe13c0.1437ac4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 3704.216827392578,\r
+        "y": 2491.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8d971e70.183d4",\r
+        "type": "execute",\r
+        "name": "execute split tp-id to get pnf-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3996.216827392578,\r
+        "y": 2404.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "53133799.37d4b",\r
+                "a86f569d.6ab9f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a86f569d.6ab9f8",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4219.216827392578,\r
+        "y": 2359.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "66c68013.ddb6b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "53133799.37d4b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4221.216827392578,\r
+        "y": 2423.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "7ccc7afc.6f2a8c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ccc7afc.6f2a8c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+        "comments": "",\r
+        "x": 4380.216827392578,\r
+        "y": 2442.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "66c68013.ddb6b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4384.216827392578,\r
+        "y": 2356.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "14b7c942.3a7d87",\r
+                "705ad60b.9c1b38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b364584.e1350c",\r
+        "type": "save",\r
+        "name": "save connectivity resource in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3998.216827392578,\r
+        "y": 2563.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e817e1e.7658f2",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for connectivity domainB",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4043.216827392578,\r
+        "y": 2473.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f716896.64ed2f",\r
+        "type": "save",\r
+        "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4125.216827392578,\r
+        "y": 2628.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "221f1c18.663f6c",\r
+        "type": "save",\r
+        "name": "get p-interface-dst from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3309.216827392578,\r
+        "y": 2436.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "37cdc12f.574c9e",\r
+                "17fb9abf.e94b5d",\r
+                "77126cff.9c26a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3b2ce86.7d813",\r
+        "type": "comment",\r
+        "name": "Question?",\r
+        "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+        "comments": "",\r
+        "x": 3270.216827392578,\r
+        "y": 2380.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a001cedc.58f128",\r
+        "type": "execute",\r
+        "name": "execute split tp-id to get pnf-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3327.216827392578,\r
+        "y": 2099.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d5568173.1326d",\r
+                "27e39e34.e8a4aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "27e39e34.e8a4aa",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3550.216827392578,\r
+        "y": 2085.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ba49d8fd.b81698"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5568173.1326d",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3552.216827392578,\r
+        "y": 2118.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "54689cfb.423da4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54689cfb.423da4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+        "comments": "",\r
+        "x": 3695.216827392578,\r
+        "y": 2115.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ba49d8fd.b81698",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3698.216827392578,\r
+        "y": 2078.8832092285156,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e65b9c6b.1cea38",\r
+                "e0207e5b.773f7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e65b9c6b.1cea38",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
+        "comments": "",\r
+        "x": 3892.216827392578,\r
+        "y": 2081.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ac7f0ae7.0820f",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3955.216827392578,\r
+        "y": 2713.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "eb66de49.8a6178"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb66de49.8a6178",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4161.216827392578,\r
+        "y": 2713.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "a3eb7777.2808e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3eb7777.2808e",\r
+        "type": "outcome",\r
+        "name": "tunnel-termination-point",\r
+        "xml": "<outcome value='tunnel-termination-point'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4378.502471923828,\r
+        "y": 2712.705108642578,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "90bfeab5.6e04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0207e5b.773f7",\r
+        "type": "get-resource",\r
+        "name": "get-resource src pnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3914.216827392578,\r
+        "y": 2149.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ff3d2407.61718",\r
+                "f34e14e1.674a08",\r
+                "f7ebc3eb.0fe87"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff3d2407.61718",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4109.716949462891,\r
+        "y": 2101.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e4f3177f.7fd418"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f34e14e1.674a08",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4101.716949462891,\r
+        "y": 2156.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "7e75e0e1.a6768"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7ebc3eb.0fe87",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4106.716949462891,\r
+        "y": 2213.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "917fd40f.ec43b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "917fd40f.ec43b",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4258.716949462891,\r
+        "y": 2214.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7e75e0e1.a6768",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4269.716949462891,\r
+        "y": 2159.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e4f3177f.7fd418",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4254.099273681641,\r
+        "y": 2099.5390014648438,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "96db4a5c.6d74f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "14b7c942.3a7d87",\r
+        "type": "set",\r
+        "name": "set ltpId",\r
+        "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
+        "comments": "",\r
+        "x": 4554.216827392578,\r
+        "y": 2317.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "705ad60b.9c1b38",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
+        "comments": "",\r
+        "x": 4555.216827392578,\r
+        "y": 2422.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fe24857d.ec88f8",\r
+        "type": "comment",\r
+        "name": "TODO: FIXME",\r
+        "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+        "comments": "",\r
+        "x": 4550.216827392578,\r
+        "y": 2371.8834533691406,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "90bfeab5.6e04",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4585.334014892578,\r
+        "y": 2702.2237854003906,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d29ec4c3.e3026",\r
+                "3dd34bd3.f84b34",\r
+                "855f6bda.886bb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d29ec4c3.e3026",\r
+        "type": "set",\r
+        "name": "set destination ttp-id",\r
+        "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 4800.334014892578,\r
+        "y": 2664.2237854003906,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3dd34bd3.f84b34",\r
+        "type": "get-resource",\r
+        "name": "get-resource src TTP",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4797.334014892578,\r
+        "y": 2703.2237854003906,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "498fc826.7744e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "855f6bda.886bb",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4752.834014892578,\r
+        "y": 2745.2237854003906,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "498fc826.7744e",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4977.834014892578,\r
+        "y": 2702.2237854003906,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3dffa556.ecd0ba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3dffa556.ecd0ba",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5135.834014892578,\r
+        "y": 2702.2237854003906,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e57a350c.677e18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e57a350c.677e18",\r
+        "type": "set",\r
+        "name": "set destination tunnel tp ip",\r
+        "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
+        "comments": "",\r
+        "x": 5342.834014892578,\r
+        "y": 2702.2237854003906,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "321528be.3d7ae",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4836.216827392578,\r
+        "y": 2117.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e56d9c92.9b763"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e56d9c92.9b763",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5013.216827392578,\r
+        "y": 2109.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "251b7dfd.9c2dea",\r
+                "f747044b.58f4e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96db4a5c.6d74f",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4438.216827392578,\r
+        "y": 2113.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3dedc7fb.152e08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3dedc7fb.152e08",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4633.216827392578,\r
+        "y": 2113.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "321528be.3d7ae",\r
+                "b22cff66.f669e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f747044b.58f4e",\r
+        "type": "execute",\r
+        "name": "get esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5221.216827392578,\r
+        "y": 2116.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "1f813de4.828122",\r
+                "d83bccad.38e8b8",\r
+                "c46088f8.fb1e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd687e81.f269c8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5015.216827392578,\r
+        "y": 2182.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "44576406.503604"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b22cff66.f669e8",\r
+        "type": "outcome",\r
+        "name": "network-resource",\r
+        "xml": "<outcome value='network-resource'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4838.216827392578,\r
+        "y": 2190.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "cd687e81.f269c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "251b7dfd.9c2dea",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domainB id",\r
+        "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5251.216827392578,\r
+        "y": 2064.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "44576406.503604",\r
+        "type": "set",\r
+        "name": "set domainB ethernet layer network-id",\r
+        "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5250.216827392578,\r
+        "y": 2306.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1f813de4.828122",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5431.216827392578,\r
+        "y": 2107.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9f1d5683.34bf48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d83bccad.38e8b8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5423.216827392578,\r
+        "y": 2162.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3d8c6a19.63c47e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c46088f8.fb1e",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5428.216827392578,\r
+        "y": 2219.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "868d602e.d270d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "868d602e.d270d8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 5580.216827392578,\r
+        "y": 2220.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3d8c6a19.63c47e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 5591.216827392578,\r
+        "y": 2165.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9f1d5683.34bf48",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5575.599151611328,\r
+        "y": 2105.5390014648438,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "580e8311.7470f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "580e8311.7470f4",\r
+        "type": "set",\r
+        "name": "set controller domainB data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "comments": "",\r
+        "x": 5790.216827392578,\r
+        "y": 2101.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "77955a17.d633ac",\r
+        "type": "set",\r
+        "name": "set LEAF stuff",\r
+        "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
+        "comments": "",\r
+        "x": 3288.883331298828,\r
+        "y": 1711.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "88408865.7d27f8",\r
+        "type": "comment",\r
+        "name": "This is it (should be)",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 4510.883331298828,\r
+        "y": 994.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d43945c8.bc5bc",\r
+        "type": "comment",\r
+        "name": "This is it (should be)",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 4502.883331298828,\r
+        "y": 1084.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1e4146ab.95c211",\r
+        "type": "set",\r
+        "name": "set ROOT stuff",\r
+        "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
+        "comments": "",\r
+        "x": 3269.883331298828,\r
+        "y": 2567.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "893317d2.3ef5f",\r
+        "type": "save",\r
+        "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3401.883331298828,\r
+        "y": 1817.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd0edd2e.c98978",\r
+        "type": "save",\r
+        "name": "save LEAF UNI in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3308.883331298828,\r
+        "y": 1764.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "98563074.1e7ea",\r
+        "type": "execute",\r
+        "name": "execute UUID generator for ethernet-service-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2426.883331298828,\r
+        "y": 142.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c475408d.68ef",\r
+        "type": "set",\r
+        "name": "set new ethernet-service-name",\r
+        "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 2360.883331298828,\r
+        "y": 178.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e109d5f4.51e5d",\r
+        "type": "comment",\r
+        "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2545.883331298828,\r
+        "y": 105.88333129882812,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2e92209c.b2514",\r
+        "type": "comment",\r
+        "name": "NOT NEEDED ANYMORE?",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 4036.883331298828,\r
+        "y": 1795.8833312988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc84986.18b2868",\r
+        "type": "comment",\r
+        "name": "NOT NEEDED ANYMORE?",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 4014.883331298828,\r
+        "y": 2665.883331298828,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e351db25.84cdc8",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3441.8837890625,\r
+        "y": 7438.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bbb27c53.89e32",\r
+        "type": "comment",\r
+        "name": "START OF DELETE OPERATION",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 3288.88330078125,\r
+        "y": 2897.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3023ae1c.6e2482",\r
+        "type": "save",\r
+        "name": "delete LEAF uni resource in AAI",\r
+        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3874.566650390625,\r
+        "y": 3087.283447265625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a4dfc5e6.4600f",\r
+        "type": "save",\r
+        "name": "get LEAF uni from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3245.566650390625,\r
+        "y": 3017.283447265625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3c4fb74b.12c308",\r
+                "cc5ca51c.d55828",\r
+                "10482aca.fa7bbd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc5ca51c.d55828",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3473.0576171875,\r
+        "y": 2989.857421875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f3fff98e.f3e778"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10482aca.fa7bbd",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3468.566650390625,\r
+        "y": 3034.2833862304688,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "686bd6b1.dd501"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3fff98e.f3e778",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3635.629150390625,\r
+        "y": 2989.1431274414062,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "686bd6b1.dd501",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 3636.566650390625,\r
+        "y": 3034.2833862304688,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3c4fb74b.12c308",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3480.566650390625,\r
+        "y": 3084.283447265625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9563229e.3fe02"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9563229e.3fe02",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3632.88330078125,\r
+        "y": 3087.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f32c210.90e5fe",\r
+                "3023ae1c.6e2482",\r
+                "dfd78621.0c4df"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f32c210.90e5fe",\r
+        "type": "set",\r
+        "name": "set bwToBeDecreased tpid cvlan",\r
+        "xml": "<set>\n<parameter name='bwToBeDecreased' value=\"`$tmp.aai.leafuni.data-source`\" />\n<parameter name='tpid' value='`$tmp.aai.leafuni.tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.leafuni.cvlan`' />\n\n\n",\r
+        "comments": "",\r
+        "x": 3877.566650390625,\r
+        "y": 3030.283447265625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4c9abbae.5d458c",\r
+        "type": "comment",\r
+        "name": "Update ROOT UNI's bw",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 3833.566650390625,\r
+        "y": 3193.083251953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "547f08e5.b430b",\r
+        "type": "save",\r
+        "name": "update ROOT UNI in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4435.566650390625,\r
+        "y": 3298.083251953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dfd78621.0c4df",\r
+        "type": "save",\r
+        "name": "get root uni from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3825.56640625,\r
+        "y": 3239.083251953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "51d31fac.6dab6",\r
+                "d9c98a3d.c2af8",\r
+                "e932164d.0b10e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9c98a3d.c2af8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4053.057373046875,\r
+        "y": 3211.6572265625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f1a39628.bdc748"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e932164d.0b10e8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4048.56640625,\r
+        "y": 3256.0831909179688,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "dfc7b8eb.48de78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1a39628.bdc748",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4215.62890625,\r
+        "y": 3210.9429321289062,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dfc7b8eb.48de78",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 4216.56640625,\r
+        "y": 3256.0831909179688,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dd0cc66d.fbf3a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4213.56640625,\r
+        "y": 3306.083251953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9a3f7682.b82b9",\r
+                "547f08e5.b430b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51d31fac.6dab6",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4044.56640625,\r
+        "y": 3306.083251953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "dd0cc66d.fbf3a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a3f7682.b82b9",\r
+        "type": "set",\r
+        "name": "set new bw",\r
+        "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
+        "comments": "",\r
+        "x": 4395.567138671875,\r
+        "y": 3248.083251953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "998e4ab7.4d5be",\r
+        "type": "comment",\r
+        "name": "Delete LEAF UNI",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 3825.88330078125,\r
+        "y": 2971.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "44b90aa0.b32f1c",\r
+        "type": "set",\r
+        "name": "set current-provider-id and current-cvlan-id",\r
+        "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
+        "comments": "",\r
+        "x": 3311.749969482422,\r
+        "y": 3750.483367919922,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2a719f3a.33348",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3444.749969482422,\r
+        "y": 3798.483367919922,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "33975a1e.497a26",\r
+        "type": "switchNode",\r
+        "name": "switch found-connectivity?",\r
+        "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3266.749969482422,\r
+        "y": 3850.283416748047,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "6169e5ef.6af5c4",\r
+                "e3565ed9.a6bae8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6169e5ef.6af5c4",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3459.749969482422,\r
+        "y": 3851.283416748047,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3f7c202a.f0897"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f7c202a.f0897",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
+        "comments": "",\r
+        "x": 3603.749969482422,\r
+        "y": 3847.483367919922,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e3565ed9.a6bae8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3463.749969482422,\r
+        "y": 3895.283416748047,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "c54729aa.dea04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c54729aa.dea04",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3602.749969482422,\r
+        "y": 3890.283416748047,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "563cd7a4.5a9238",\r
+                "f2c9af7.5a8ebd",\r
+                "2a4d2a1b.ff481e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "563cd7a4.5a9238",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3853.149627685547,\r
+        "y": 3898.800018310547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ec034714.60ea58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec034714.60ea58",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4075.149627685547,\r
+        "y": 3876.800018310547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e531db92.56031"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e531db92.56031",\r
+        "type": "outcome",\r
+        "name": "uni",\r
+        "xml": "<outcome value='uni'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4235.149139404297,\r
+        "y": 3856.800018310547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d94f5698.a9e22"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "717ee9f8.5f5168",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4388.149658203125,\r
+        "y": 3837.800048828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "44024f46.b6d6d",\r
+                "8cf84976.9daac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "44024f46.b6d6d",\r
+        "type": "set",\r
+        "name": "set tmp.stillHasUni to TRUE",\r
+        "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
+        "comments": "",\r
+        "x": 4584.649871826172,\r
+        "y": 3805.883270263672,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f2c9af7.5a8ebd",\r
+        "type": "set",\r
+        "name": "set tmp.stillHasUn tmp.keepVPNBs to FALSE",\r
+        "xml": "<set>\n<parameter name='tmp.stillHasUni' value='false' />\n<parameter name='tmp.keepVPNBs' value='false' />\n",\r
+        "comments": "",\r
+        "x": 3959.64990234375,\r
+        "y": 3817.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2a4d2a1b.ff481e",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.keepVPNBs?",\r
+        "xml": "\n<switch test=\"`$tmp.keepVPNBs`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3767.64990234375,\r
+        "y": 4238.883544921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "39fb0c16.c2b2c4",\r
+                "808499cb.5bf588"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8cf84976.9daac8",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4552.88330078125,\r
+        "y": 3873.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "808499cb.5bf588",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 154.65066528320312,\r
+        "y": 5302.8837890625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "7018ac1a.7a3c7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39fb0c16.c2b2c4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3988.650634765625,\r
+        "y": 4340.883544921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "a235b563.2e3c2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a235b563.2e3c2",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4131.650634765625,\r
+        "y": 4336.883544921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ca74ec50.92ce48",\r
+                "76172197.657ac",\r
+                "2a3f4733.a29bc",\r
+                "c850b8e4.0504c8",\r
+                "46570b89.8afbb4",\r
+                "819543bf.270a9",\r
+                "ca7e6690.5ab92",\r
+                "26004944.36227e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d4f67a6.1fc128",\r
+        "type": "comment",\r
+        "name": "keepVPNBs == false, then check tmp.stillHasUni",\r
+        "info": "(2) keepVPNBs == false, means there are no other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\ncheck if tmp.stillHasUni is True or False?\n\nif TRUE --> means this domain (connectivity) still has other UNIs\n- delete VPNBs\n- delete LEAF UNI in AAI -- DONE\n- upadte bw in ROOT UNI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC\n- change ROOT conn status to Modified\n\nif FALSE --> means this domain (connectivity) has no other UNIs\n\nif MMstillHasUni == TRUE, means scenario (3), else, means scenario (4)\n\n(3) & (4) both:\n- delete VPNBs\n- delete LEAF connectivity\n- delete LEAF Ethernet Service from PNC\n\n(3) only:\n- change ROOT conn status to Modified\n- Keep the middle-man-conn and DON'T delete\n\n(4) only:\n- delete ROOT UNI\n- delete ROOT conn from AAI\n- delete ROOT Ethernet Service from PNC\n- delete middle-man-conn from AAI\n\n",\r
+        "comments": "",\r
+        "x": 181,\r
+        "y": 5258.8837890625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cbdd9201.8f12c8",\r
+        "type": "comment",\r
+        "name": "There are still other UNIs in this connectivity that share same OLT node. Only update bw of the vpn-bindings involved",\r
+        "info": "(1) keepVPNBs == true, means there are still other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\n- Only update bw of the vpn-bindings involved -- DONE\n- upadte bw in ROOT UNI -- DONE\n- change ROOT conn status to Modified -- DONE\n- delete LEAF UNI in AAI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC -- DONE\n- DON'T delete the connectivities of LEAF and ROOT -- DONE\nAlso update the ethernet services",\r
+        "comments": "",\r
+        "x": 4007.884033203125,\r
+        "y": 4303.883544921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a3d91414.090028",\r
+        "type": "set",\r
+        "name": "set srcTtp OTN layer",\r
+        "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 4820.667724609375,\r
+        "y": 4494.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8bf6af15.0a9a48",\r
+        "type": "switchNode",\r
+        "name": "switch provider-id domainA",\r
+        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5165.667724609375,\r
+        "y": 4356.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "8859d6ca.2f75b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c067ba23.0c8be",\r
+        "type": "for",\r
+        "name": "for netwidx..allNetworksList_length",\r
+        "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4872.667724609375,\r
+        "y": 4350.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "8bf6af15.0a9a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2da7141c.ae03fc",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5127.667724609375,\r
+        "y": 4307.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cbc0879.d4095",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+        "comments": "",\r
+        "x": 4816.667724609375,\r
+        "y": 4402.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "faedf550.ca72d",\r
+        "type": "set",\r
+        "name": "set tmp.pce-src-node",\r
+        "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
+        "comments": "",\r
+        "x": 4824.667724609375,\r
+        "y": 4447.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1b550765.eaf4d1",\r
+        "type": "set",\r
+        "name": "unset otnTopoIdSrc",\r
+        "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+        "comments": "",\r
+        "x": 4821.667724609375,\r
+        "y": 4300.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8859d6ca.2f75b8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5074.667724609375,\r
+        "y": 4424.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b9fd6938.f76ca8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9fd6938.f76ca8",\r
+        "type": "switchNode",\r
+        "name": "switch te-topo-id",\r
+        "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5259.667724609375,\r
+        "y": 4423.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d7c2d227.430278"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7c2d227.430278",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5451.667724609375,\r
+        "y": 4426.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9062d4ad.31e34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9062d4ad.31e34",\r
+        "type": "set",\r
+        "name": "set otnTopoIdSrc",\r
+        "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+        "comments": "",\r
+        "x": 5623.667724609375,\r
+        "y": 4422.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c312f389.231768",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4999.667724609375,\r
+        "y": 4537.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca74ec50.92ce48",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4516.667724609375,\r
+        "y": 4322.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3f12b93a.0cf81e",\r
+                "24786620.817bb2",\r
+                "1cbc0879.d4095",\r
+                "faedf550.ca72d",\r
+                "a3d91414.090028",\r
+                "c067ba23.0c8be",\r
+                "c312f389.231768"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1877ba6b.c5c236",\r
+        "type": "comment",\r
+        "name": "The following section is to find srcTtp OTN layer (its long name)",\r
+        "info": "The following section is to find srcTtp OTN layer (its long name)",\r
+        "comments": "",\r
+        "x": 4501.667724609375,\r
+        "y": 4256.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "24786620.817bb2",\r
+        "type": "get-resource",\r
+        "name": "get-resource network-resources-list",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4880.667724609375,\r
+        "y": 4243.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "c082f0f0.3fe63",\r
+                "8aa79b73.5d91b",\r
+                "2da7141c.ae03fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c082f0f0.3fe63",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5116.667724609375,\r
+        "y": 4226.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8aa79b73.5d91b",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5113.667724609375,\r
+        "y": 4267.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f12b93a.0cf81e",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+        "comments": "",\r
+        "x": 4829.667724609375,\r
+        "y": 4200.6669921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "76172197.657ac",\r
+        "type": "set",\r
+        "name": "unset tmp.aai.all-vpn-bindings",\r
+        "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
+        "comments": "",\r
+        "x": 4336.667724609375,\r
+        "y": 4655.06689453125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d9693eef.d5133",\r
+        "type": "comment",\r
+        "name": "find all OTNs that have srcTtpOtnLayer and decrease their bandwidth",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 4459.968017578125,\r
+        "y": 4694.06689453125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2a3f4733.a29bc",\r
+        "type": "save",\r
+        "name": "get all-vpn-bindings from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4357.968017578125,\r
+        "y": 4729.06689453125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e8babd58.4782b",\r
+                "e0bbecb2.837888",\r
+                "bb53595.0530328"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e8babd58.4782b",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4562.968017578125,\r
+        "y": 4726.06689453125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "8299b116.2a1f1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0bbecb2.837888",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4546.458984375,\r
+        "y": 4787.640930175781,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "af952dc7.60185"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb53595.0530328",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4543.968017578125,\r
+        "y": 4831.06689453125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "a2d64007.4e8e68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8299b116.2a1f1",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4730.96826171875,\r
+        "y": 4721.06689453125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "575eea2a.c26ae4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af952dc7.60185",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4709.0303955078125,\r
+        "y": 4787.926666259766,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a2d64007.4e8e68",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 4710.968017578125,\r
+        "y": 4830.06689453125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "575eea2a.c26ae4",\r
+        "type": "for",\r
+        "name": "for vpnidx in all-vpn-bindings",\r
+        "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4968.96826171875,\r
+        "y": 4726.06689453125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b0cdcdcc.86b948"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b0cdcdcc.86b948",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5202.968017578125,\r
+        "y": 4733.06689453125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "fe17da41.8d7458"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63f7f511.d89814",\r
+        "type": "comment",\r
+        "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 5188.784423828125,\r
+        "y": 4955.2333984375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fe17da41.8d7458",\r
+        "type": "switchNode",\r
+        "name": "switch ops-note is srcTtpOtnLayer",\r
+        "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5221.784423828125,\r
+        "y": 5023.2333984375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "adceca9b.52be78",\r
+                "6371c80.a864db8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6371c80.a864db8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5465.784454345703,\r
+        "y": 4995.233184814453,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "adceca9b.52be78",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5346.784423828125,\r
+        "y": 4921.233154296875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "eabe2b02.0bc13"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eabe2b02.0bc13",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5473.767822265625,\r
+        "y": 4859.649658203125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b15dfc5.1130d",\r
+                "7054ba61.11f874",\r
+                "e5483e65.23a9a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "771d8350.1c0644",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5709.8173828125,\r
+        "y": 4743.64990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3a42df45.8a578"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3a42df45.8a578",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5901.8173828125,\r
+        "y": 4732.650146484375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f5feb746.9bcea8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b15dfc5.1130d",\r
+        "type": "set",\r
+        "name": "unset tmp.aai.the-vpn-binding",\r
+        "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
+        "comments": "",\r
+        "x": 5658.334228515625,\r
+        "y": 4633.866943359375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7054ba61.11f874",\r
+        "type": "set",\r
+        "name": "set tmp.aai.the-vpn-binding",\r
+        "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
+        "comments": "",\r
+        "x": 5650.334228515625,\r
+        "y": 4682.866943359375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e5483e65.23a9a",\r
+        "type": "save",\r
+        "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $bwToBeDecreased`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5881.751220703125,\r
+        "y": 4864.032958984375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c01f7460.fab75",\r
+        "type": "save",\r
+        "name": "update connectivity resource in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5833.401123046875,\r
+        "y": 4911.349853515625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a637b405.b076f",\r
+        "type": "comment",\r
+        "name": "decrease the bw of the-vpn-binding and change status to modified",\r
+        "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
+        "comments": "",\r
+        "x": 5905.751220703125,\r
+        "y": 4825.032958984375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f5feb746.9bcea8",\r
+        "type": "outcome",\r
+        "name": "connectivity",\r
+        "xml": "<outcome value='connectivity'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6083.8173828125,\r
+        "y": 4711.650146484375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "4f7dc832.d994c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f7dc832.d994c8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6245.8173828125,\r
+        "y": 4700.650146484375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f7240b03.b46408",\r
+                "a1eea84d.7200b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7240b03.b46408",\r
+        "type": "set",\r
+        "name": "unset tmp.the-connectivity",\r
+        "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
+        "comments": "",\r
+        "x": 6442.8173828125,\r
+        "y": 4629.650146484375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a1eea84d.7200b",\r
+        "type": "set",\r
+        "name": "set tmp.the-connectivity",\r
+        "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
+        "comments": "",\r
+        "x": 6440.2841796875,\r
+        "y": 4728.866943359375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ce0d81bd.d28a7",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3097.800048828125,\r
+        "y": 3187.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f04acf4.5afc3c",\r
+        "type": "switchNode",\r
+        "name": "switch found-middle-man?",\r
+        "xml": "<switch test='`$found-middle-man`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2974.800048828125,\r
+        "y": 3297.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d1c2eeb4.215af8",\r
+                "f1f6bb53.ccd5d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1c2eeb4.215af8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3158.800048828125,\r
+        "y": 3276.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d53b6d30.115bd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d53b6d30.115bd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3301.800048828125,\r
+        "y": 3276.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "5f773b5f.84092c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f773b5f.84092c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
+        "comments": "",\r
+        "x": 3477.800048828125,\r
+        "y": 3274.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f1f6bb53.ccd5d8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3156.800048828125,\r
+        "y": 3331.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e42ba1d9.fa7b7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e42ba1d9.fa7b7",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3003.800048828125,\r
+        "y": 3464.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "44b90aa0.b32f1c",\r
+                "2a719f3a.33348",\r
+                "33975a1e.497a26",\r
+                "c19f56be.5aa798",\r
+                "eb35e3d0.6d25d",\r
+                "5aebe180.f62f68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c85f7ca.d8c4a",\r
+        "type": "comment",\r
+        "name": "Find LEAF connectivity",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 3225.88330078125,\r
+        "y": 3704.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c19f56be.5aa798",\r
+        "type": "set",\r
+        "name": "set tmp.MMstillHasUni to FALSE",\r
+        "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='false' />\n",\r
+        "comments": "",\r
+        "x": 3308.333251953125,\r
+        "y": 3477.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "eb35e3d0.6d25d",\r
+        "type": "for",\r
+        "name": "for each relationship of middle-man-conn",\r
+        "xml": "<for silentFailure='true' index='cridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3306.8330078125,\r
+        "y": 3523.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ca4bb58e.913108"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca4bb58e.913108",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$cridx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3569.8330078125,\r
+        "y": 3518.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "468a474d.40c4d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "468a474d.40c4d8",\r
+        "type": "outcome",\r
+        "name": "uni",\r
+        "xml": "<outcome value='uni'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3729.83251953125,\r
+        "y": 3498.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e61de8ad.7030f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3444ada9.d2b992",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4498.833740234375,\r
+        "y": 3533.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "7b31b3f.9c4444c",\r
+                "31b46b09.5b560c",\r
+                "a9c3a9a9.0f7c28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b31b3f.9c4444c",\r
+        "type": "set",\r
+        "name": "set tmp.MMstillHasUni to TRUE",\r
+        "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='true' />\n",\r
+        "comments": "",\r
+        "x": 4738.334228515625,\r
+        "y": 3482.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "31b46b09.5b560c",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4671.567657470703,\r
+        "y": 3555.683380126953,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dbe78677.7f04b8",\r
+        "type": "comment",\r
+        "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 4432.88427734375,\r
+        "y": 5085.883544921875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c850b8e4.0504c8",\r
+        "type": "set",\r
+        "name": "set tmp.leafconn.",\r
+        "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
+        "comments": "",\r
+        "x": 4331.317138671875,\r
+        "y": 5137.800048828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ca7e6690.5ab92",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4482.317138671875,\r
+        "y": 5580.800048828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "26004944.36227e",\r
+        "type": "switchNode",\r
+        "name": "switch found-root-connectivity",\r
+        "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4297.317138671875,\r
+        "y": 5647.800048828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "c57768ca.7a8088",\r
+                "7224490d.b02598"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c57768ca.7a8088",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4562.317138671875,\r
+        "y": 5632.800048828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "25615183.2d4bd6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7224490d.b02598",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4558.317138671875,\r
+        "y": 5680.800048828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "5dcdd7b9.89499"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25615183.2d4bd6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4718.317138671875,\r
+        "y": 5628.800048828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9b98cd10.6cfb68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5dcdd7b9.89499",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+        "comments": "",\r
+        "x": 4706.317138671875,\r
+        "y": 5675.800048828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f97c958c.da83b8",\r
+        "type": "set",\r
+        "name": "set tmp.rootconn.",\r
+        "xml": "<set>\n<parameter name='tmp.rootconn.' value=\"`$tmp.aai.ROOT.connectivity.`\" />\n\n\n",\r
+        "comments": "",\r
+        "x": 5138.3173828125,\r
+        "y": 5570.800048828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "903178c6.839788",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.leafconn.access-provider-id + '-clientId-' +\n                                                   $tmp.leafconn.access-client-id + '-topologyId-' +\n                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.leafconn.access-node-id`\" />\n",\r
+        "comments": "",\r
+        "x": 4540.734130859375,\r
+        "y": 5167.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "46570b89.8afbb4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4311.734130859375,\r
+        "y": 5256.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "903178c6.839788",\r
+                "42c91ccf.e64244"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "42c91ccf.e64244",\r
+        "type": "get-resource",\r
+        "name": "get-resource src pnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4547.734130859375,\r
+        "y": 5249.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "30eabd9c.98c532",\r
+                "66fbb0fb.26a3f",\r
+                "fbd21163.a12cd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30eabd9c.98c532",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4743.2342529296875,\r
+        "y": 5201.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "26c5ac0c.2065fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66fbb0fb.26a3f",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4735.2342529296875,\r
+        "y": 5256.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "a0a0372d.9d324"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26c5ac0c.2065fc",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4887.6165771484375,\r
+        "y": 5200.739410400391,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "40d1dc2e.899afc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40d1dc2e.899afc",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5071.734130859375,\r
+        "y": 5199.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "137e1346.633fe5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "137e1346.633fe5",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5266.734130859375,\r
+        "y": 5199.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "19ce94ba.82e9d3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fbd21163.a12cd8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4740.2342529296875,\r
+        "y": 5313.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "4a6cd196.293db"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a6cd196.293db",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4892.2342529296875,\r
+        "y": 5314.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a0a0372d.9d324",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4903.2342529296875,\r
+        "y": 5257.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1398b0a6.59adbf",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5648.734130859375,\r
+        "y": 5203.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ac703b64.91e208",\r
+                "60a60a9a.326334",\r
+                "feb4d66b.8d20f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "19ce94ba.82e9d3",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5469.734130859375,\r
+        "y": 5203.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "1398b0a6.59adbf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "60a60a9a.326334",\r
+        "type": "execute",\r
+        "name": "get esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5854.734130859375,\r
+        "y": 5216.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9885a0c6.ee00f8",\r
+                "a77a3d25.4123b",\r
+                "3b9ca266.b8d5f6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac703b64.91e208",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domain id",\r
+        "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 5884.734130859375,\r
+        "y": 5164.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9885a0c6.ee00f8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6064.734130859375,\r
+        "y": 5207.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "fd819e5.0208ae"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a77a3d25.4123b",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6056.734130859375,\r
+        "y": 5262.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9503eaf8.25455"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3b9ca266.b8d5f6",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6061.734130859375,\r
+        "y": 5319.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2f6c8ed.964c6f2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f6c8ed.964c6f2",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 6213.734130859375,\r
+        "y": 5320.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9503eaf8.25455",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 6224.734130859375,\r
+        "y": 5265.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fd819e5.0208ae",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6209.116455078125,\r
+        "y": 5204.739410400391,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "fdf4316f.fecc18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fdf4316f.fecc18",\r
+        "type": "set",\r
+        "name": "set controller domain data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "comments": "",\r
+        "x": 6423.734130859375,\r
+        "y": 5201.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "feb4d66b.8d20f",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 5804.734130859375,\r
+        "y": 5280.083740234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "819543bf.270a9",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4453.234375,\r
+        "y": 5360.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "fe68d2f2.044a28",\r
+                "9d6b0bdc.79122"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe68d2f2.044a28",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4813.734130859375,\r
+        "y": 5368.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "dd8bd538.48e76"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd8bd538.48e76",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
+        "comments": "",\r
+        "x": 4971.734130859375,\r
+        "y": 5368.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "17aac5bf.8ce3ca",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4975.234130859375,\r
+        "y": 5408.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d6b0bdc.79122",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4817.734130859375,\r
+        "y": 5408.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "17aac5bf.8ce3ca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "67f63093.820248",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5126.451171875,\r
+        "y": 5622.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9523ac21.fb27e8",\r
+                "ee545a84.5a0b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee545a84.5a0b8",\r
+        "type": "get-resource",\r
+        "name": "get-resource src pnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5368.450927734375,\r
+        "y": 5572.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3e67e67b.64c0f2",\r
+                "83fa1a94.1fdef",\r
+                "8d7d3b80.341b3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e67e67b.64c0f2",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5563.951171875,\r
+        "y": 5506.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "4b842a3.ce68254"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83fa1a94.1fdef",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5559.951171875,\r
+        "y": 5562.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "fe24638.108ff2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b842a3.ce68254",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5708.3333740234375,\r
+        "y": 5524.339019775391,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "471b8aca.2d2d8c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "471b8aca.2d2d8c",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5892.450927734375,\r
+        "y": 5522.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "835403d4.ab8a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d7d3b80.341b3",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5569.951171875,\r
+        "y": 5607.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "dbe8e8e2.82532"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dbe8e8e2.82532",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 5748.951171875,\r
+        "y": 5623.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fe24638.108ff2",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 5730.951171875,\r
+        "y": 5575.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "23127469.8e053c",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Delete UNI of ethernet Service without token",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.rootconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.ROOT.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5279.951171875,\r
+        "y": 5678.282958984375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2dc53207.e6e746",\r
+                "5dfbf094.3dd5e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2dc53207.e6e746",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5628.451171875,\r
+        "y": 5660.282958984375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d62622e9.977188"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d62622e9.977188",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
+        "comments": "",\r
+        "x": 5884.451171875,\r
+        "y": 5663.282958984375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b15c93b0.c4d298",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5836.951171875,\r
+        "y": 5704.282958984375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5dfbf094.3dd5e",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5638.451171875,\r
+        "y": 5709.282958984375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b15c93b0.c4d298"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9523ac21.fb27e8",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.rootconn.access-provider-id + '-clientId-' +\n                                                   $tmp.rootconn.access-client-id + '-topologyId-' +\n                                                   $tmp.rootconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.rootconn.access-node-id`\" />\n",\r
+        "comments": "",\r
+        "x": 5361.450927734375,\r
+        "y": 5490.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "835403d4.ab8a4",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6087.450927734375,\r
+        "y": 5522.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "44025b35.70e694"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "defb6a74.ad63a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 6469.450927734375,\r
+        "y": 5526.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f54f4ae0.ec5cf",\r
+                "af149106.171db",\r
+                "c5fc8f53.576908"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "44025b35.70e694",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6290.450927734375,\r
+        "y": 5526.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "defb6a74.ad63a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af149106.171db",\r
+        "type": "execute",\r
+        "name": "get esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6675.450927734375,\r
+        "y": 5539.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "c7dae6ee.db5f08",\r
+                "40d56e1d.9aacd",\r
+                "1547569.25d2329"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f54f4ae0.ec5cf",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domain id",\r
+        "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 6705.450927734375,\r
+        "y": 5487.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c7dae6ee.db5f08",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6885.450927734375,\r
+        "y": 5530.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f0410cd5.fae628"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40d56e1d.9aacd",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6877.450927734375,\r
+        "y": 5585.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "76b0a417.e1276c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1547569.25d2329",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 6882.450927734375,\r
+        "y": 5642.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b3783d48.7ea6c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3783d48.7ea6c8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 7034.450927734375,\r
+        "y": 5643.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "76b0a417.e1276c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 7045.450927734375,\r
+        "y": 5588.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f0410cd5.fae628",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 7029.833251953125,\r
+        "y": 5528.339019775391,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "4ccba011.1ac588"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ccba011.1ac588",\r
+        "type": "set",\r
+        "name": "set controller domain data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "comments": "",\r
+        "x": 7244.450927734375,\r
+        "y": 5524.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c5fc8f53.576908",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 6625.450927734375,\r
+        "y": 5603.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e61de8ad.7030f",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3854.88330078125,\r
+        "y": 3492.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f1f60f7b.897558",\r
+                "9394ecba.bbac2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1f60f7b.897558",\r
+        "type": "set",\r
+        "name": "set tmp.mmUNI-id-long",\r
+        "xml": "<set>\n<parameter name='tmp.mmUNI-id-long' value='`$middle-man-conn.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
+        "comments": "",\r
+        "x": 4045.466552734375,\r
+        "y": 3435.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9394ecba.bbac2",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.mmUNI-id-long != ROOT UNI",\r
+        "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4092.466552734375,\r
+        "y": 3506.683349609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "62b44b4b.e9462c",\r
+                "2e901346.daa35c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62b44b4b.e9462c",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4330.884033203125,\r
+        "y": 3465.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "646ee476.4b949c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e901346.daa35c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4337.884246826172,\r
+        "y": 3522.883270263672,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3444ada9.d2b992"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "646ee476.4b949c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4458.884521484375,\r
+        "y": 3461.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5aebe180.f62f68",\r
+        "type": "set",\r
+        "name": "set tmp.MMonlyHasROOT to TRUE",\r
+        "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='true' />\n",\r
+        "comments": "",\r
+        "x": 3314.083251953125,\r
+        "y": 3420.283447265625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a9c3a9a9.0f7c28",\r
+        "type": "set",\r
+        "name": "set tmp.MMonlyHasROOT to FALSE",\r
+        "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='false' />\n",\r
+        "comments": "",\r
+        "x": 4727.9169921875,\r
+        "y": 3426.283447265625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d94f5698.a9e22",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4407.6669921875,\r
+        "y": 3942.5,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "eb39fbed.f65188",\r
+                "716ce6ad.3df158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb39fbed.f65188",\r
+        "type": "set",\r
+        "name": "set tmp.uni.id",\r
+        "xml": "<set>\n<parameter name='tmp.uni.id' value='`$tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
+        "comments": "",\r
+        "x": 4580.5498046875,\r
+        "y": 3938.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "716ce6ad.3df158",\r
+        "type": "save",\r
+        "name": "get uni from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.uni.id\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4583.5498046875,\r
+        "y": 3985.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "7301217f.c40fd8",\r
+                "4b487020.1f862",\r
+                "98e316f7.2a6e38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7301217f.c40fd8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4755.5498046875,\r
+        "y": 3969.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "8014e6ef.ba6a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b487020.1f862",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4756.040771484375,\r
+        "y": 4014.7337036132812,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "98e316f7.2a6e38",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4756.5498046875,\r
+        "y": 4055.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8014e6ef.ba6a4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4916.5498046875,\r
+        "y": 3965.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "6c53b06a.be741",\r
+                "6040c967.bc9a38",\r
+                "6b2c883f.aecd1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6986f860.3fd24",\r
+        "type": "comment",\r
+        "name": "find the node part of the uni.id (uni-tp-id-node-part)",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 5249.5498046875,\r
+        "y": 3896.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6040c967.bc9a38",\r
+        "type": "execute",\r
+        "name": "execute split id to get pnf-name",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni-pnfName\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5184.5498046875,\r
+        "y": 3953.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "93771b2e.0a5438",\r
+                "494eca03.1cc0f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "494eca03.1cc0f4",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5407.5498046875,\r
+        "y": 3939.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "4a647e39.1988"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93771b2e.0a5438",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5409.5498046875,\r
+        "y": 3972.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3ee6f9fa.cfa80e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a647e39.1988",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5555.5498046875,\r
+        "y": 3932.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d5960946.db6608"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ee6f9fa.cfa80e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+        "comments": "",\r
+        "x": 5552.5498046875,\r
+        "y": 3969.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d5960946.db6608",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.uni.pnf-name' value=\"`$param-prefix-uni-pnfName[0] + '-' +\n                                                   $param-prefix-uni-pnfName[1] + '-' +\n                                                   $param-prefix-uni-pnfName[2] + '-' +\n                                                   $param-prefix-uni-pnfName[3] + '-' +\n                                                   $param-prefix-uni-pnfName[4] + '-' +\n                                                   $param-prefix-uni-pnfName[5] + '-' +\n                                                   $param-prefix-uni-pnfName[6] + '-' +\n                                                   $param-prefix-uni-pnfName[7] + '-' +\n                                                   $param-prefix-uni-pnfName[8]`\" />\n",\r
+        "comments": "",\r
+        "x": 5732.5498046875,\r
+        "y": 3932.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6c53b06a.be741",\r
+        "type": "switchNode",\r
+        "name": "switch uni-tp-id-node-part is the same as the LEAF node",\r
+        "xml": "<switch test='`$tmp.uni.pnf-name == $tmp.LEAF.pnf-name-long`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5228.5498046875,\r
+        "y": 4087.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f825463f.981388",\r
+                "3533ce81.16ad12"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f825463f.981388",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5509.5498046875,\r
+        "y": 4064.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "1f58973d.a6a451"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3533ce81.16ad12",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5502.5498046875,\r
+        "y": 4123.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2ae9f04c.19c548"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f58973d.a6a451",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5639.5498046875,\r
+        "y": 4068.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ae9f04c.19c548",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5644.5498046875,\r
+        "y": 4122.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9dd58da7.f05d6",\r
+                "c9296d7d.c80358"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9dd58da7.f05d6",\r
+        "type": "set",\r
+        "name": "set no-pce-call",\r
+        "xml": "<set>\n<parameter name='no-pce-call' value=\"true\" />\n",\r
+        "comments": "",\r
+        "x": 5836.5498046875,\r
+        "y": 4089.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "985a0c89.e3f6d",\r
+        "type": "set",\r
+        "name": "set middle-man-conn",\r
+        "xml": "<set>\n<parameter name='middle-man-conn.' value='`$tmp.aai.all-connectivities.connectivity[$connidx].`' />\n",\r
+        "comments": "",\r
+        "x": 5852.5498046875,\r
+        "y": 4141.15966796875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c9296d7d.c80358",\r
+        "type": "set",\r
+        "name": "set tmp.stillHasUni and tmp.keepVPNBs to TRUE",\r
+        "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n<parameter name='tmp.keepVPNBs' value='true' />\n",\r
+        "comments": "",\r
+        "x": 5870.83349609375,\r
+        "y": 4210.75,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6b2c883f.aecd1",\r
+        "type": "set",\r
+        "name": "set tmp.stillHasUni to TRUE",\r
+        "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
+        "comments": "",\r
+        "x": 5147.533203125,\r
+        "y": 4036.64990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7018ac1a.7a3c7c",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.stillHasUni?",\r
+        "xml": "\n<switch test=\"`$tmp.stillHasUni`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 383.7339172363281,\r
+        "y": 5306.849609375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d6a83452.cab528",\r
+                "a3cdb153.e05c2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23ec2dfc.6ca3ea",\r
+        "type": "save",\r
+        "name": "get root uni from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4288.516357421875,\r
+        "y": 5470.7333984375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "89ccdd98.c0add8",\r
+                "ffd72856.632858",\r
+                "d24e2f90.29ea68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3a3ebb5.52e4d",\r
+        "type": "comment",\r
+        "name": "Update ROOT UNI's bw -- ALREADY DONE",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 4286.516845703125,\r
+        "y": 5422.733642578125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c0e896d2.f14fd",\r
+        "type": "save",\r
+        "name": "update ROOT UNI in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4903.5166015625,\r
+        "y": 5540.733642578125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ffd72856.632858",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4506.007568359375,\r
+        "y": 5441.3076171875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "fe177ef1.d06678"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d24e2f90.29ea68",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4501.5166015625,\r
+        "y": 5485.733581542969,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "632ed866.3f04b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe177ef1.d06678",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4668.5791015625,\r
+        "y": 5440.593322753906,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "632ed866.3f04b8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 4669.5166015625,\r
+        "y": 5485.733581542969,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "df87890d.bcb5c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4666.5166015625,\r
+        "y": 5535.733642578125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2ff88b2d.295934",\r
+                "c0e896d2.f14fd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "89ccdd98.c0add8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4497.5166015625,\r
+        "y": 5535.733642578125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "df87890d.bcb5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ff88b2d.295934",\r
+        "type": "set",\r
+        "name": "set new bw",\r
+        "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
+        "comments": "",\r
+        "x": 4859.517578125,\r
+        "y": 5460.733642578125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5d7f9ad7.0f862c",\r
+        "type": "comment",\r
+        "name": "Update connectivity status to modified",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 5288.216796875,\r
+        "y": 5398.500244140625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9b98cd10.6cfb68",\r
+        "type": "save",\r
+        "name": "update ROOT connectivity resource in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 5314,\r
+        "y": 5440.700439453125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6a83452.cab528",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 567.8836059570312,\r
+        "y": 5357.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e5624f1d.dbf4b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3cdb153.e05c2",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 550.883544921875,\r
+        "y": 5279.88330078125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "daa6681.3df0a98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7731a568.885cdc",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 679.8833923339844,\r
+        "y": 4366.883026123047,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "a5f98ac5.68fe98",\r
+                "74d156ed.4e9f",\r
+                "6135bf6.f11f5c",\r
+                "8458698c.d1be5",\r
+                "6cf7c0fc.18d4e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a5f98ac5.68fe98",\r
+        "type": "set",\r
+        "name": "set tmp.leafconn.",\r
+        "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
+        "comments": "",\r
+        "x": 931.5667419433594,\r
+        "y": 4344.932830810547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "155b7716.d28d91",\r
+        "type": "comment",\r
+        "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1033.1338806152344,\r
+        "y": 4293.016326904297,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "11c710da.f1a09f",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.leafconn.access-provider-id + '-clientId-' +\n                                                   $tmp.leafconn.access-client-id + '-topologyId-' +\n                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.leafconn.access-node-id`\" />\n",\r
+        "comments": "",\r
+        "x": 1140.9837341308594,\r
+        "y": 4374.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "74d156ed.4e9f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 911.9837341308594,\r
+        "y": 4463.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "11c710da.f1a09f",\r
+                "dd611a8.40420e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd611a8.40420e8",\r
+        "type": "get-resource",\r
+        "name": "get-resource src pnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1147.9837341308594,\r
+        "y": 4456.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2cc9d43.2a3e32c",\r
+                "16f9c9a2.f3e64e",\r
+                "bd113683.3f90e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2cc9d43.2a3e32c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1343.4838562011719,\r
+        "y": 4408.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "30afce54.3b0e7a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "16f9c9a2.f3e64e",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1335.4838562011719,\r
+        "y": 4463.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ca51c401.6ecfa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30afce54.3b0e7a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1487.8661804199219,\r
+        "y": 4407.8721923828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "4c495354.afa6a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c495354.afa6a4",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1671.9837341308594,\r
+        "y": 4406.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "72a0b2fc.d6eab4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "72a0b2fc.d6eab4",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1866.9837341308594,\r
+        "y": 4406.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3067a2de.bf9096"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd113683.3f90e8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1340.4838562011719,\r
+        "y": 4520.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "c72ac013.478f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c72ac013.478f",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 1492.4838562011719,\r
+        "y": 4521.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ca51c401.6ecfa8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 1503.4838562011719,\r
+        "y": 4464.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fae6bda1.4d6a28",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2248.9837341308594,\r
+        "y": 4410.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "5ada214d.6d6df",\r
+                "230404bc.0330d4",\r
+                "8f5a3f0d.286f38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3067a2de.bf9096",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2069.9837341308594,\r
+        "y": 4410.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "fae6bda1.4d6a28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6135bf6.f11f5c",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1053.4839782714844,\r
+        "y": 4567.816131591797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "63ad904f.f883c",\r
+                "612437fd.ee8ae"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "612437fd.ee8ae",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1417.9837341308594,\r
+        "y": 4615.816131591797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "7222d332.cab804"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63ad904f.f883c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1413.9837341308594,\r
+        "y": 4575.816131591797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ffb15b5f.69bdb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ffb15b5f.69bdb",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
+        "comments": "",\r
+        "x": 1571.9837341308594,\r
+        "y": 4575.816131591797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7222d332.cab804",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1575.4837341308594,\r
+        "y": 4615.816131591797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "230404bc.0330d4",\r
+        "type": "execute",\r
+        "name": "get esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2454.9837341308594,\r
+        "y": 4423.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "999c0ecf.dd9428",\r
+                "cadc4a62.3f428",\r
+                "9a118cc2.6cef58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5ada214d.6d6df",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domain id",\r
+        "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 2484.9837341308594,\r
+        "y": 4371.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "999c0ecf.dd9428",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2664.9837341308594,\r
+        "y": 4414.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "fb522408.bea2a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cadc4a62.3f428",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2656.9837341308594,\r
+        "y": 4469.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ad21cc41.8772b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a118cc2.6cef58",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2661.9837341308594,\r
+        "y": 4526.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e3096426.02dcf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3096426.02dcf",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2813.9837341308594,\r
+        "y": 4527.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ad21cc41.8772b",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2824.9837341308594,\r
+        "y": 4472.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fb522408.bea2a8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2809.3660583496094,\r
+        "y": 4411.8721923828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "6e503f35.5790c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e503f35.5790c",\r
+        "type": "set",\r
+        "name": "set controller domain data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "comments": "",\r
+        "x": 3023.9837341308594,\r
+        "y": 4408.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8f5a3f0d.286f38",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2404.9837341308594,\r
+        "y": 4487.216522216797,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8458698c.d1be5",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1082.5667419433594,\r
+        "y": 4787.932830810547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6cf7c0fc.18d4e8",\r
+        "type": "switchNode",\r
+        "name": "switch found-root-connectivity",\r
+        "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 897.5667419433594,\r
+        "y": 4854.932830810547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "31c266e8.6cad22",\r
+                "45786f9e.46f928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "31c266e8.6cad22",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1162.5667419433594,\r
+        "y": 4839.932830810547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "25e4293a.b5a0de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45786f9e.46f928",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1158.5667419433594,\r
+        "y": 4887.932830810547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9325c5b6.3d913"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25e4293a.b5a0de",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1318.5667419433594,\r
+        "y": 4835.932830810547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "51a35a4f.5fbc64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9325c5b6.3d913",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+        "comments": "",\r
+        "x": 1306.5667419433594,\r
+        "y": 4882.932830810547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c5019df.72c63e",\r
+        "type": "comment",\r
+        "name": "Update connectivity status to modified",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1587.4664001464844,\r
+        "y": 4786.633026123047,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "51a35a4f.5fbc64",\r
+        "type": "save",\r
+        "name": "update ROOT connectivity resource in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1613.2496032714844,\r
+        "y": 4828.833221435547,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cbb82af5.87b298",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1026.8833923339844,\r
+        "y": 4102.199920654297,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "daa6681.3df0a98",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 632.8834228515625,\r
+        "y": 4106.883056640625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "cbb82af5.87b298",\r
+                "7731a568.885cdc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5624f1d.dbf4b8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 716.3333740234375,\r
+        "y": 5359.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "16338b46.5dad65",\r
+                "de535c52.af9d48",\r
+                "78064cf.4874bb4",\r
+                "b5448cca.f23df8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "16338b46.5dad65",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1067.7166748046875,\r
+        "y": 5290.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "de535c52.af9d48",\r
+        "type": "save",\r
+        "name": "delete LEAF connectivity resource in AAI",\r
+        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 978.7166748046875,\r
+        "y": 5359.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "78064cf.4874bb4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 869.88330078125,\r
+        "y": 5594.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "69415165.a30268",\r
+                "38b5cafd.d5079e",\r
+                "6a408110.2a2dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f703a5f3.1124f8",\r
+        "type": "execute",\r
+        "name": "get esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2585.882568359375,\r
+        "y": 5481.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2bcfefd4.8f246",\r
+                "6262f33a.13ed54",\r
+                "5f5183a2.3dd5bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17938acf.263b45",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 2535.882568359375,\r
+        "y": 5545.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "434194f6.d45944",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domain id",\r
+        "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 2615.882568359375,\r
+        "y": 5429.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2bcfefd4.8f246",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2795.882568359375,\r
+        "y": 5472.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f6e068a.7d61a18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6262f33a.13ed54",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2787.882568359375,\r
+        "y": 5527.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2a0eede1.27db52"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f5183a2.3dd5bc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2792.882568359375,\r
+        "y": 5584.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "612a7284.deceac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "612a7284.deceac",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2944.882568359375,\r
+        "y": 5585.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2a0eede1.27db52",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2955.882568359375,\r
+        "y": 5530.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f6e068a.7d61a18",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2940.264892578125,\r
+        "y": 5470.055572509766,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d3b91b08.9e326"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3b91b08.9e326",\r
+        "type": "set",\r
+        "name": "set controller domain data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "comments": "",\r
+        "x": 3154.882568359375,\r
+        "y": 5466.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "69415165.a30268",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.the-connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.the-connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.the-connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.the-connectivity.access-node-id`\" />\n",\r
+        "comments": "",\r
+        "x": 1151.88330078125,\r
+        "y": 5463.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5cd94a05.12a97c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1362.3834228515625,\r
+        "y": 5602.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "6b54e983.54f23"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7cfb8601.d6c8b8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1365.3834228515625,\r
+        "y": 5490.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "43d9e97c.41e918"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c076204a.7c8658",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1357.3834228515625,\r
+        "y": 5545.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "697ce13c.463e78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "43d9e97c.41e918",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1499.765625,\r
+        "y": 5485.0556640625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9ea73f48.e6dc88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b54e983.54f23",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 1514.3834228515625,\r
+        "y": 5603.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "697ce13c.463e78",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 1525.3834228515625,\r
+        "y": 5546.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9ea73f48.e6dc88",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1686.8828125,\r
+        "y": 5486.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "8867a67f.02b388"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8867a67f.02b388",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1914.8828125,\r
+        "y": 5479.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "bfd4d2af.8ab0b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38b5cafd.d5079e",\r
+        "type": "get-resource",\r
+        "name": "get-resource src pnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1169.88330078125,\r
+        "y": 5538.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "5cd94a05.12a97c",\r
+                "7cfb8601.d6c8b8",\r
+                "c076204a.7c8658"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfd4d2af.8ab0b8",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2120.8828125,\r
+        "y": 5476.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b0cdfdee.4e9418"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b0cdfdee.4e9418",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2335.8822021484375,\r
+        "y": 5479.39990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "434194f6.d45944",\r
+                "f703a5f3.1124f8",\r
+                "17938acf.263b45"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a408110.2a2dc",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Delete LEAF ethernet Service without token",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.the-connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1293.6500244140625,\r
+        "y": 5687.7998046875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "d58ed713.3cd0d",\r
+                "e5f89511.dafe58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d58ed713.3cd0d",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1640.1500244140625,\r
+        "y": 5680.7998046875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "8ee30019.6f667"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5f89511.dafe58",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1644.1500244140625,\r
+        "y": 5720.7998046875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3308ecad.5ad59c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ee30019.6f667",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
+        "comments": "",\r
+        "x": 1798.1500244140625,\r
+        "y": 5680.7998046875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3308ecad.5ad59c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1801.6500244140625,\r
+        "y": 5720.7998046875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5448cca.f23df8",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.MMstillHasUni?",\r
+        "xml": "\n<switch test=\"`$tmp.MMstillHasUni`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 913.183349609375,\r
+        "y": 5849.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "59551d1d.12689c",\r
+                "5a5ae31.cb9b99c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59551d1d.12689c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1105.183349609375,\r
+        "y": 5826.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2e2794d8.3df39c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a5ae31.cb9b99c",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1093.3500366210938,\r
+        "y": 5999.2001953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "6dce893f.c421c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e2794d8.3df39c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1253.35009765625,\r
+        "y": 5826.2001953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b4e9d461.c3c1a",\r
+                "2f3efa95.41d3ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4e9d461.c3c1a",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1675.199951171875,\r
+        "y": 5797.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f3efa95.41d3ce",\r
+        "type": "switchNode",\r
+        "name": "switch found-root-connectivity",\r
+        "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1490.199951171875,\r
+        "y": 5864.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "aadc3189.147b98",\r
+                "9801a2d7.df3f98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aadc3189.147b98",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1755.199951171875,\r
+        "y": 5849.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "aaac06aa.f3d728"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9801a2d7.df3f98",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1751.199951171875,\r
+        "y": 5897.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "7656a3d7.b7266c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aaac06aa.f3d728",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1911.199951171875,\r
+        "y": 5845.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "2673ca00.ba724e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7656a3d7.b7266c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+        "comments": "",\r
+        "x": 1899.199951171875,\r
+        "y": 5892.60009765625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2673ca00.ba724e",\r
+        "type": "save",\r
+        "name": "update ROOT connectivity resource in AAI",\r
+        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2219.8826904296875,\r
+        "y": 5839.50048828125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfaf6549.13fe88",\r
+        "type": "comment",\r
+        "name": "Update connectivity status to modified",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2194.0994873046875,\r
+        "y": 5797.30029296875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6dce893f.c421c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1230.916748046875,\r
+        "y": 5998.5,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "75d82528.4dd5bc",\r
+                "24c2da43.974556"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75d82528.4dd5bc",\r
+        "type": "for",\r
+        "name": "for each relationship of middle-man-conn",\r
+        "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1544.23291015625,\r
+        "y": 5992.7001953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "29eb94d3.70f2dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "29eb94d3.70f2dc",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1844.566650390625,\r
+        "y": 5987.700134277344,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "522c88bc.33b518"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "522c88bc.33b518",\r
+        "type": "outcome",\r
+        "name": "connectivity",\r
+        "xml": "<outcome value='connectivity'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2024.2332763671875,\r
+        "y": 5987.700225830078,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9dde3a26.bf1a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9dde3a26.bf1a48",\r
+        "type": "save",\r
+        "name": "get connectivity from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $middle-man-conn.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2224.233154296875,\r
+        "y": 5987.7001953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "af210146.805c98",\r
+                "1304e1a7.407dde",\r
+                "83b6e70e.c6339"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af210146.805c98",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2431.23291015625,\r
+        "y": 6037.7001953125,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "bfbb5b5d.76ea48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "24e402f2.8a6b26",\r
+        "type": "save",\r
+        "name": "get vpn-binding from aai",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2408.466552734375,\r
+        "y": 6221.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3ff65d5b.44eb62",\r
+                "d09102d1.fb466",\r
+                "3d724c56.f2b6cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cd695fe.f2c6f2",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1607.466552734375,\r
+        "y": 6136.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "74367c85.fa02dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "74367c85.fa02dc",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1804.466552734375,\r
+        "y": 6150.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "572f2125.6367b8",\r
+                "5931a81f.41a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "572f2125.6367b8",\r
+        "type": "outcome",\r
+        "name": "vpn-binding",\r
+        "xml": "<outcome value='vpn-binding'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1972.466552734375,\r
+        "y": 6143.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "22fa9a36.31302e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "22fa9a36.31302e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2135.466552734375,\r
+        "y": 6143.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "24e402f2.8a6b26"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5931a81f.41a6",\r
+        "type": "outcome",\r
+        "name": "uni",\r
+        "xml": "<outcome value='uni'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1988.466552734375,\r
+        "y": 6439.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "510edb34.612754"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "510edb34.612754",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2151.466552734375,\r
+        "y": 6439.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "4c0113a.98542ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c0113a.98542ec",\r
+        "type": "save",\r
+        "name": "delete uni resource in AAI",\r
+        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2394.466552734375,\r
+        "y": 6439.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b555ba8.ce83e4",\r
+        "type": "save",\r
+        "name": "delete connectivity resource in AAI",\r
+        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1648.466552734375,\r
+        "y": 6583.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfbb5b5d.76ea48",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1433.466552734375,\r
+        "y": 6134.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "1cd695fe.f2c6f2",\r
+                "2b555ba8.ce83e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ff65d5b.44eb62",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2619.466552734375,\r
+        "y": 6223.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "851525d6.b90c38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d09102d1.fb466",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2619.95751953125,\r
+        "y": 6269.473937988281,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "74e6774b.c7b358"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d724c56.f2b6cc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2617.466552734375,\r
+        "y": 6312.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "cbe3afce.930cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83b6e70e.c6339",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2455.282958984375,\r
+        "y": 5938.5,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1304e1a7.407dde",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2452.7919921875,\r
+        "y": 5981.925964355469,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "24c2da43.974556",\r
+        "type": "save",\r
+        "name": "delete middle-man-conn resource in AAI",\r
+        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1531.400146484375,\r
+        "y": 6067.2998046875,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "851525d6.b90c38",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2785.466552734375,\r
+        "y": 6213.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "811dd566.85ec38",\r
+                "6a877b95.f2661c",\r
+                "66415a60.9e5d9c",\r
+                "a662df33.5b8808",\r
+                "502ecc67.91354c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cbe3afce.930cc",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 2784.466552734375,\r
+        "y": 6311.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "74e6774b.c7b358",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2782.5289306640625,\r
+        "y": 6269.759674072266,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "811dd566.85ec38",\r
+        "type": "set",\r
+        "name": "set pnf-name",\r
+        "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
+        "comments": "",\r
+        "x": 3007.466552734375,\r
+        "y": 5931.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6a877b95.f2661c",\r
+        "type": "get-resource",\r
+        "name": "get-resource src pnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3033.466552734375,\r
+        "y": 6048.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "3d9fd486.323a64",\r
+                "c6247afb.9c0a",\r
+                "83cc8360.81d358"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66415a60.9e5d9c",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3136.466552734375,\r
+        "y": 6315.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "9c554475.661fc8",\r
+                "12ed9938.83ebcf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a662df33.5b8808",\r
+        "type": "switchNode",\r
+        "name": "switch connectivity has ethernet service",\r
+        "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3074.466552734375,\r
+        "y": 6450.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b26d88bf.bd178",\r
+                "f451c5d.6b3dd38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "502ecc67.91354c",\r
+        "type": "save",\r
+        "name": "delete vpn-binding resource in AAI",\r
+        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3055.466552734375,\r
+        "y": 6566.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d9fd486.323a64",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3228.9666748046875,\r
+        "y": 6000.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "c715af9f.c55108"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6247afb.9c0a",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3220.9666748046875,\r
+        "y": 6055.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "f990360c.2a7d88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c715af9f.c55108",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3363.348876953125,\r
+        "y": 5995.5556640625,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "cf5a3a9d.68d89"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83cc8360.81d358",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3225.9666748046875,\r
+        "y": 6112.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "ee6f1ffb.7dcfe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee6f1ffb.7dcfe",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3377.9666748046875,\r
+        "y": 6113.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f990360c.2a7d88",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 3388.9666748046875,\r
+        "y": 6056.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f451c5d.6b3dd38",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3327.466552734375,\r
+        "y": 6428.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e38cfd76.3f8a2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b26d88bf.bd178",\r
+        "type": "outcome",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3327.466552734375,\r
+        "y": 6484.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf5a3a9d.68d89",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3550.466064453125,\r
+        "y": 5996.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "fe7eff92.d565e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe7eff92.d565e",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3791.466064453125,\r
+        "y": 5987.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "a5619f8.2b7e86"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e38cfd76.3f8a2",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Delete ethernet Service without token",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3677.466064453125,\r
+        "y": 6418.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "1d52efad.f9e5d",\r
+                "d7169143.c010d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c554475.661fc8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3443.966064453125,\r
+        "y": 6340.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "238545c1.5c8b2a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12ed9938.83ebcf",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3444.966064453125,\r
+        "y": 6285.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "bb0795de.a47f18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "238545c1.5c8b2a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete OTN tunnel rest api\" />\n",\r
+        "comments": "",\r
+        "x": 3615.966064453125,\r
+        "y": 6338.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bb0795de.a47f18",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3612.466064453125,\r
+        "y": 6287.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "36cf22b4.4935d6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 4148.4658203125,\r
+        "y": 5936.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b5cbacbc.c392",\r
+                "ea40936a.af6178",\r
+                "6eb0462c.852488"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a5619f8.2b7e86",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3997.466064453125,\r
+        "y": 5984.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "36cf22b4.4935d6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d52efad.f9e5d",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4009.966064453125,\r
+        "y": 6392.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "6bd1cb72.9cf9b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7169143.c010d8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4013.966064453125,\r
+        "y": 6432.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "e4332941.104e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e4332941.104e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4201.466064453125,\r
+        "y": 6436.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6bd1cb72.9cf9b4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
+        "comments": "",\r
+        "x": 4197.966064453125,\r
+        "y": 6396.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ea40936a.af6178",\r
+        "type": "execute",\r
+        "name": "get esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4354.4658203125,\r
+        "y": 5949.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "914dea7f.0edbe",\r
+                "82561c7b.09ef28",\r
+                "b047cbfd.3b9618"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5cbacbc.c392",\r
+        "type": "set",\r
+        "name": "set esr-thirdparty-sdnc domain id",\r
+        "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 4384.4658203125,\r
+        "y": 5897.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "914dea7f.0edbe",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4564.4658203125,\r
+        "y": 5940.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "c318baba.3a4cc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "82561c7b.09ef28",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4556.4658203125,\r
+        "y": 5995.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "b8e7878b.f1ad7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b047cbfd.3b9618",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4561.4658203125,\r
+        "y": 6052.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "c15a7782.9625b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6eb0462c.852488",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 4304.4658203125,\r
+        "y": 6013.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c15a7782.9625b",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4713.4658203125,\r
+        "y": 6053.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b8e7878b.f1ad7",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 4724.4658203125,\r
+        "y": 5998.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c318baba.3a4cc8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4708.84814453125,\r
+        "y": 5938.555572509766,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": [\r
+            [\r
+                "42376e75.44b2d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "42376e75.44b2d8",\r
+        "type": "set",\r
+        "name": "set controller domain data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+        "comments": "",\r
+        "x": 4923.4658203125,\r
+        "y": 5934.89990234375,\r
+        "z": "82de8dcf.518d88",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file
index a6c9b05..ad56b54 100644 (file)
@@ -1,20 +1,20 @@
 [\r
   {\r
-    "id": "e621eef4.cd8d48",\r
+    "id": "d60c3cf9.321a6",\r
     "type": "dgstart",\r
     "name": "DGSTART",\r
     "outputs": 1,\r
-    "x": 146,\r
-    "y": 100,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 205.88333129882812,\r
+    "y": 156.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "5137b88e.d87af"\r
+        "cce5e3d9.59223"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5137b88e.d87af",\r
+    "id": "cce5e3d9.59223",\r
     "type": "service-logic",\r
     "name": "GENERIC-RESOURCE-API ${project.version}",\r
     "module": "GENERIC-RESOURCE-API",\r
     "comments": "",\r
     "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
     "outputs": 1,\r
-    "x": 430.2856903076172,\r
-    "y": 161.23810863494873,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 490.1690216064453,\r
+    "y": 218.12143993377686,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ce96326b.b535f8"\r
+        "73cbe8fd.7b7b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ce96326b.b535f8",\r
+    "id": "73cbe8fd.7b7b",\r
     "type": "method",\r
     "name": "method cll-vnf-topology-operation-cll-modify",\r
     "xml": "<method rpc='cll-vnf-topology-operation-cll-modify' mode='sync'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 436.42860412597656,\r
-    "y": 246.00003051757812,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 496.3119354248047,\r
+    "y": 302.88336181640625,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b7cce22e.b85eb"\r
+        "b5475b4e.9dc8a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b7cce22e.b85eb",\r
+    "id": "b5475b4e.9dc8a",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 786,\r
-    "y": 305,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 845.8833312988281,\r
+    "y": 361.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "42227f1d.ff6a08",\r
-        "719e39ea.7d4d2",\r
-        "ad74749f.3bbda"\r
+        "bacceb8f.95926",\r
+        "e0024e9e.57e7f8",\r
+        "6d19a9bc.4fa958"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "42227f1d.ff6a08",\r
+    "id": "bacceb8f.95926",\r
     "type": "returnSuccess",\r
     "name": "return success",\r
     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
     "comments": "",\r
-    "x": 1087.33349609375,\r
-    "y": 575.9302978515625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1147.2168273925781,\r
+    "y": 632.8136291503906,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "719e39ea.7d4d2",\r
+    "id": "e0024e9e.57e7f8",\r
     "type": "save",\r
     "name": "get service-instance from aai",\r
     "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1108.761962890625,\r
-    "y": 278.33331298828125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1168.6452941894531,\r
+    "y": 335.2166442871094,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c1550efc.b74cd",\r
-        "59d9b8f3.c672f8",\r
-        "1a9d72a7.1ac33d"\r
+        "dc9a92d7.7dd0c",\r
+        "68404646.133ac8",\r
+        "f6dee010.98fcd"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c1550efc.b74cd",\r
+    "id": "dc9a92d7.7dd0c",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1333.761962890625,\r
-    "y": 136.33331298828125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1393.6452941894531,\r
+    "y": 193.21664428710938,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c25ad576.a55988"\r
+        "d1be34ef.26139"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "59d9b8f3.c672f8",\r
+    "id": "68404646.133ac8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1329.2529296875,\r
-    "y": 205.9073486328125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1389.1362609863281,\r
+    "y": 262.7906799316406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c5236a8e.8fcb78"\r
+        "c39ebb83.790b68"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1a9d72a7.1ac33d",\r
+    "id": "f6dee010.98fcd",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1317.761962890625,\r
-    "y": 252.33331298828125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1377.6452941894531,\r
+    "y": 309.2166442871094,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "cebf9d48.2d23"\r
+        "f8b91686.4a47a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "742cc4f4.befaf4",\r
+    "id": "6c16fe1b.61251",\r
     "type": "comment",\r
     "name": "new for TransportSlicing",\r
     "info": "",\r
     "comments": "",\r
-    "x": 1087.761962890625,\r
-    "y": 166.33331298828125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1147.6452941894531,\r
+    "y": 223.21664428710938,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ad74749f.3bbda",\r
+    "id": "6d19a9bc.4fa958",\r
     "type": "execute",\r
     "name": "execute properties",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1075.761962890625,\r
-    "y": 218.33331298828125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1135.6452941894531,\r
+    "y": 275.2166442871094,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c25ad576.a55988",\r
+    "id": "d1be34ef.26139",\r
     "type": "switchNode",\r
     "name": "switch allotted-resources_length != 0",\r
     "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1574,\r
-    "y": 133,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1633.8833312988281,\r
+    "y": 189.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "4f4f6457.1e4aa4",\r
-        "5da7fc70.28ac2c"\r
+        "74daedf5.b00d34",\r
+        "3ddd8ea0.9d48e2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c5236a8e.8fcb78",\r
+    "id": "c39ebb83.790b68",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 1484.0623779296875,\r
-    "y": 208.85977172851562,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1543.9457092285156,\r
+    "y": 265.74310302734375,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "cebf9d48.2d23",\r
+    "id": "f8b91686.4a47a8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 1488,\r
-    "y": 253,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1547.8833312988281,\r
+    "y": 309.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4f4f6457.1e4aa4",\r
+    "id": "74daedf5.b00d34",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1779,\r
-    "y": 170,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1838.8833312988281,\r
+    "y": 226.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "25469631.b624fa"\r
+        "50897ba7.acdc24"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5da7fc70.28ac2c",\r
+    "id": "3ddd8ea0.9d48e2",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1789,\r
-    "y": 97,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1848.8833312988281,\r
+    "y": 153.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "25469631.b624fa",\r
+    "id": "50897ba7.acdc24",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1772,\r
-    "y": 245,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 1831.8833312988281,\r
+    "y": 301.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a3f9c066.8f6f98",\r
-        "a0f7473f.d23fe8",\r
-        "dc772464.b9eb38",\r
-        "796beb97.0c4de4",\r
-        "52d5e6df.7a6948"\r
+        "25219f6c.9cf818",\r
+        "166df7f7.8cb52",\r
+        "35f1defb.605572",\r
+        "f67d2f30.77ecd8",\r
+        "2530e84c.0abb78"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3f08ab8e.dc612c",\r
+    "id": "e3fc1b13.141158",\r
     "type": "save",\r
     "name": "get allotted-resource from aai",\r
     "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2258,\r
-    "y": 296,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2317.883331298828,\r
+    "y": 352.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "7db27beb.b640fc",\r
-        "37eea1d.ba0815e",\r
-        "9aa976b3.179a58"\r
+        "792e0cb6.295efc",\r
+        "9cda4258.33c028",\r
+        "8ec312be.acb358"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7db27beb.b640fc",\r
+    "id": "792e0cb6.295efc",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2474,\r
-    "y": 363,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2533.883331298828,\r
+    "y": 419.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "5eea79ce.34755"\r
+        "d2a1ae9f.45e878"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "37eea1d.ba0815e",\r
+    "id": "9cda4258.33c028",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2474.490966796875,\r
-    "y": 262.573974609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2534.374298095703,\r
+    "y": 319.4573059082031,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "2ecbbf0c.1ea018"\r
+        "5f00fc5b.612da4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9aa976b3.179a58",\r
+    "id": "8ec312be.acb358",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2470,\r
-    "y": 312,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2529.883331298828,\r
+    "y": 368.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a265198.4abd2e8"\r
+        "24485e5a.4004d2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a3f9c066.8f6f98",\r
+    "id": "25219f6c.9cf818",\r
     "type": "for",\r
     "name": "for each allotted-resource",\r
     "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1975,\r
-    "y": 277,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2034.8833312988281,\r
+    "y": 333.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "31eb076e.43ecb",\r
-        "3f08ab8e.dc612c",\r
-        "2c19139d.1b72fc",\r
-        "24e6a4ae.ee277c"\r
+        "e97f59ea.8d55",\r
+        "e3fc1b13.141158",\r
+        "dca67cc5.30d2f8",\r
+        "ce64f5e6.94469"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "31eb076e.43ecb",\r
+    "id": "e97f59ea.8d55",\r
     "type": "set",\r
     "name": "set the current allotted-resource-id",\r
     "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 2255,\r
-    "y": 215,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2314.883331298828,\r
+    "y": 271.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "796beb97.0c4de4",\r
+    "id": "f67d2f30.77ecd8",\r
     "type": "set",\r
     "name": "set tmp.arr",\r
     "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
     "comments": "",\r
-    "x": 1949,\r
-    "y": 227,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2008.8833312988281,\r
+    "y": 283.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a0f7473f.d23fe8",\r
+    "id": "166df7f7.8cb52",\r
     "type": "get-resource",\r
     "name": "get-resource pnfs-list",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 1992,\r
-    "y": 86,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2051.883331298828,\r
+    "y": 142.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "dc772464.b9eb38",\r
+    "id": "35f1defb.605572",\r
     "type": "get-resource",\r
     "name": "get-resource logical-links",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2004,\r
-    "y": 127,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2063.883331298828,\r
+    "y": 183.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "5c36a24a.1b53d4",\r
+    "id": "2302212a.18d7a6",\r
     "type": "comment",\r
     "name": "The following two nodes are for PCE",\r
     "info": "",\r
     "comments": "",\r
-    "x": 2029,\r
-    "y": 39,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2088.883331298828,\r
+    "y": 95.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "45b74940.f8db1",\r
+    "id": "67aae728.5fece",\r
     "type": "set",\r
     "name": "set tmp.arr",\r
     "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
     "comments": "",\r
-    "x": 1949,\r
-    "y": 173,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2008.8833312988281,\r
+    "y": 229.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2ecbbf0c.1ea018",\r
+    "id": "5f00fc5b.612da4",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 2653,\r
-    "y": 265,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2712.883331298828,\r
+    "y": 321.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a265198.4abd2e8",\r
+    "id": "24485e5a.4004d2",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 2652.9375,\r
-    "y": 314.1402587890625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2712.820831298828,\r
+    "y": 371.0235900878906,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "5eea79ce.34755",\r
+    "id": "d2a1ae9f.45e878",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 2654.9375,\r
-    "y": 365.1402587890625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2714.820831298828,\r
+    "y": 422.0235900878906,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c6a94a58.c561c"\r
+        "61c50290.a54bf4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c6a94a58.c561c",\r
+    "id": "61c50290.a54bf4",\r
     "type": "save",\r
     "name": "get allotted-resource relationship from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2947.9375,\r
-    "y": 312.1402587890625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3007.820831298828,\r
+    "y": 369.0235900878906,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ec6a2655.48d45",\r
-        "712e1966.36d6e8",\r
-        "3dacde72.866102"\r
+        "d79412d7.a6c38",\r
+        "3f6fbc64.721af4",\r
+        "a6250e3f.f36fa"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "712e1966.36d6e8",\r
+    "id": "3f6fbc64.721af4",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3221.428466796875,\r
-    "y": 204.7142333984375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3281.311798095703,\r
+    "y": 261.5975646972656,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "df2b1006.9eb7f8"\r
+        "16afc6a3.6b5401"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "df2b1006.9eb7f8",\r
+    "id": "16afc6a3.6b5401",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3399,\r
-    "y": 205,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3458.883331298828,\r
+    "y": 261.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3dacde72.866102",\r
+    "id": "a6250e3f.f36fa",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3216.9375,\r
-    "y": 254.1402587890625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3276.820831298828,\r
+    "y": 311.0235900878906,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "5f8f39bd.4229a"\r
+        "5cebea40.e205d4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5f8f39bd.4229a",\r
+    "id": "5cebea40.e205d4",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3398.9375,\r
-    "y": 254.1402587890625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3458.820831298828,\r
+    "y": 311.0235900878906,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ec6a2655.48d45",\r
+    "id": "d79412d7.a6c38",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3220.9375,\r
-    "y": 305.1402587890625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3280.820831298828,\r
+    "y": 362.0235900878906,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6e0b9d94.87db34"\r
+        "9ae7a072.d1e518"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6e0b9d94.87db34",\r
+    "id": "9ae7a072.d1e518",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3400.9375,\r
-    "y": 305.1402587890625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3460.820831298828,\r
+    "y": 362.0235900878906,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "2c8651cc.72086e"\r
+        "360b8115.051b46"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2c8651cc.72086e",\r
+    "id": "360b8115.051b46",\r
     "type": "switchNode",\r
     "name": "switch allotted-resource.relationship-list not empty",\r
     "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2967,\r
-    "y": 440,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3026.883331298828,\r
+    "y": 496.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "870fb1ac.7a3748",\r
-        "89946234.838048"\r
+        "28ab4f33.316c8",\r
+        "e49a7d12.f127b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "89946234.838048",\r
+    "id": "e49a7d12.f127b",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3277,\r
-    "y": 447,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3336.883331298828,\r
+    "y": 503.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "870fb1ac.7a3748",\r
+    "id": "28ab4f33.316c8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3276,\r
-    "y": 501,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3335.883331298828,\r
+    "y": 557.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "cd3a7965.655da8"\r
+        "32ff3e84.f9f78a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "df2cd421.7d5bf",\r
+    "id": "ac20a1c4.b5d88",\r
     "type": "outcome",\r
     "name": "network-policy",\r
     "xml": "<outcome value='network-policy'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4021,\r
-    "y": 455,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4080.883331298828,\r
+    "y": 511.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "bcfd0609.c91ee"\r
+        "eb5b39ae.c0eb7"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bcfd0609.c91ee",\r
+    "id": "eb5b39ae.c0eb7",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4197.9998779296875,\r
-    "y": 447.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4257.883209228516,\r
+    "y": 504.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "12f46999.b2c5d6",\r
-        "f8cd059e.d4c72"\r
+        "c3ea0a96.012838",\r
+        "42443b39.66d044"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cd3a7965.655da8",\r
+    "id": "32ff3e84.f9f78a",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3440,\r
-    "y": 427,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3499.883331298828,\r
+    "y": 483.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "bd1bee0.0c5829",\r
-        "10113dad.89c1ca"\r
+        "6034bf74.a356a8",\r
+        "cf462c55.82"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bd1bee0.0c5829",\r
+    "id": "6034bf74.a356a8",\r
     "type": "for",\r
     "name": "for each allotted-resource relationship",\r
     "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3721,\r
-    "y": 383,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3780.883331298828,\r
+    "y": 439.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b08f5d28.99f6d8"\r
+        "6ceb7138.15694"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b08f5d28.99f6d8",\r
+    "id": "6ceb7138.15694",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3983,\r
-    "y": 383,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4042.883331298828,\r
+    "y": 439.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "df2cd421.7d5bf"\r
+        "ac20a1c4.b5d88"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "12f46999.b2c5d6",\r
+    "id": "c3ea0a96.012838",\r
     "type": "set",\r
     "name": "set the 1st network-policy-id",\r
     "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4440.9998779296875,\r
-    "y": 404.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4500.883209228516,\r
+    "y": 461.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f8cd059e.d4c72",\r
+    "id": "42443b39.66d044",\r
     "type": "save",\r
     "name": "get network-policy from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4429.9998779296875,\r
-    "y": 459.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4489.883209228516,\r
+    "y": 516.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "15139b9.c06bf64",\r
-        "b4015405.9769",\r
-        "29def152.0b9dae"\r
+        "cb5892f8.a134a",\r
+        "3110dc42.56e8b4",\r
+        "b948b2e1.478978"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "29def152.0b9dae",\r
+    "id": "b948b2e1.478978",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4683,\r
-    "y": 346,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4742.883331298828,\r
+    "y": 402.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "220ef3fd.c7b134"\r
+        "f1bf9a6a.1a4ef8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "220ef3fd.c7b134",\r
+    "id": "f1bf9a6a.1a4ef8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4831.571533203125,\r
-    "y": 346.2857666015625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4891.454864501953,\r
+    "y": 403.1690979003906,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d3449945.7a9e68",\r
+    "id": "e719bcf6.a15758",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4830.509033203125,\r
-    "y": 390.426025390625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4890.392364501953,\r
+    "y": 447.3093566894531,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b4015405.9769",\r
+    "id": "3110dc42.56e8b4",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4671.509033203125,\r
-    "y": 390.426025390625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4731.392364501953,\r
+    "y": 447.3093566894531,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d3449945.7a9e68"\r
+        "e719bcf6.a15758"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "15139b9.c06bf64",\r
+    "id": "cb5892f8.a134a",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4678.509033203125,\r
-    "y": 469.426025390625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4738.392364501953,\r
+    "y": 526.3093566894531,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "5056b056.87e29"\r
+        "f905d5a0.4b001"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5056b056.87e29",\r
+    "id": "f905d5a0.4b001",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4817.509033203125,\r
-    "y": 469.426025390625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4877.392364501953,\r
+    "y": 526.3093566894531,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b058eb58.7f931",\r
-        "9244d790.6180a"\r
+        "abc9ac08.900428",\r
+        "808b62f7.887bc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b058eb58.7f931",\r
+    "id": "abc9ac08.900428",\r
     "type": "set",\r
     "name": "set the max bandwidth",\r
     "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
     "comments": "",\r
-    "x": 5023,\r
-    "y": 467,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5082.883331298828,\r
+    "y": 523.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9244d790.6180a",\r
+    "id": "808b62f7.887bc",\r
     "type": "set",\r
     "name": "set the max bandwidth",\r
     "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
     "comments": "",\r
-    "x": 5022,\r
-    "y": 513,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5081.883331298828,\r
+    "y": 569.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "10113dad.89c1ca",\r
+    "id": "cf462c55.82",\r
     "type": "for",\r
     "name": "for each allotted-resource relationship",\r
     "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3538,\r
-    "y": 499,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3597.883331298828,\r
+    "y": 555.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d6e4de4f.158168"\r
+        "d512c83a.b4f08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d6e4de4f.158168",\r
+    "id": "d512c83a.b4f08",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3818,\r
-    "y": 499,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3877.883331298828,\r
+    "y": 555.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "aee1198a.c056f"\r
+        "7f3fc2f9.da6f6c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "aee1198a.c056f",\r
+    "id": "7f3fc2f9.da6f6c",\r
     "type": "outcome",\r
     "name": "logical-link",\r
     "xml": "<outcome value='logical-link'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2231.0001220703125,\r
-    "y": 752.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2290.8834533691406,\r
+    "y": 808.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "e0dc30a1.49a6b"\r
+        "c5194935.bd2228"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e0dc30a1.49a6b",\r
+    "id": "c5194935.bd2228",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 2408,\r
-    "y": 745,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2467.883331298828,\r
+    "y": 801.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ede7fb40.692cf",\r
-        "de035f6e.5999f"\r
+        "d3179b9f.9873a8",\r
+        "b976f3f3.6f7998"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ede7fb40.692cf",\r
+    "id": "d3179b9f.9873a8",\r
     "type": "set",\r
     "name": "set the current logical-link-name",\r
     "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 2651,\r
-    "y": 702,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2710.883331298828,\r
+    "y": 758.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "de035f6e.5999f",\r
+    "id": "b976f3f3.6f7998",\r
     "type": "save",\r
     "name": "get logical-link from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2640,\r
-    "y": 757,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2699.883331298828,\r
+    "y": 813.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "91b15c70.189168",\r
-        "f983d1cd.751748",\r
-        "e2731f07.c2a9e8"\r
+        "78ac5925.ecf5a8",\r
+        "b7b22856.252df8",\r
+        "ac6d9ce2.b2e9e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "91b15c70.189168",\r
+    "id": "78ac5925.ecf5a8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2931.490966796875,\r
-    "y": 735.573974609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2991.374298095703,\r
+    "y": 792.4573059082031,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "9ed0117f.e4187"\r
+        "cd49934.02e89f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f983d1cd.751748",\r
+    "id": "b7b22856.252df8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2920,\r
-    "y": 780,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2979.883331298828,\r
+    "y": 836.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c1f1f22f.ac3cb"\r
+        "ed06d18.02143b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9ed0117f.e4187",\r
+    "id": "cd49934.02e89f",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3080.0625,\r
-    "y": 735.8597412109375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3139.945831298828,\r
+    "y": 792.7430725097656,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c1f1f22f.ac3cb",\r
+    "id": "ed06d18.02143b",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3079,\r
-    "y": 780,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3138.883331298828,\r
+    "y": 836.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e2731f07.c2a9e8",\r
+    "id": "ac6d9ce2.b2e9e",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2927,\r
-    "y": 859,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2986.883331298828,\r
+    "y": 915.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "7a39b25.5549b4c"\r
+        "87f4e9d.ba71598"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7a39b25.5549b4c",\r
+    "id": "87f4e9d.ba71598",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3066,\r
-    "y": 859,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3125.883331298828,\r
+    "y": 915.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "f25cc9ec.b05168",\r
-        "a634b8ac.ea4e88",\r
-        "1bb6ef49.bdd341",\r
-        "a7071b50.c7486",\r
-        "e80ddce6.4971e",\r
-        "32d67853.ec65d",\r
-        "a4a1e109.208d68",\r
-        "8e7b1d45.48bf2",\r
-        "c8257b0d.cf8598",\r
-        "e4d1916e.82a0f",\r
-        "e42c5746.0b4288",\r
-        "e73ce695.7bd48",\r
-        "9b16af83.d76cd8",\r
-        "93a3aa4f.0f4e8"\r
+        "c2cb656b.4adff",\r
+        "148d0b0c.712fa5",\r
+        "d89221fb.e3072",\r
+        "ea9aeb3f.7f8c98",\r
+        "11e605d7.ecd0fa",\r
+        "104f2b87.41fe14",\r
+        "1a00d4a4.ff98a3",\r
+        "59b35d49.e5c194",\r
+        "52e7c1a.b628dc",\r
+        "cdada9b0.2f3a48",\r
+        "850e2800.badf2",\r
+        "2b1064a0.eade7c",\r
+        "a5bcbd5b.23b83",\r
+        "23879b91.f9cdd4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ae0c8d20.5892e8",\r
+    "id": "f8061145.abbc7",\r
     "type": "execute",\r
     "name": "execute UUID generator for ethernet-service-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3380,\r
-    "y": 665,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3439.883331298828,\r
+    "y": 721.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "f25cc9ec.b05168",\r
+    "id": "c2cb656b.4adff",\r
     "type": "execute",\r
     "name": "execute UUID generator for otn-tunnel-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3361,\r
-    "y": 715,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3420.883331298828,\r
+    "y": 771.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "93a3aa4f.0f4e8",\r
+    "id": "23879b91.f9cdd4",\r
     "type": "set",\r
     "name": "set new ethernet-service-name",\r
     "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 3318,\r
-    "y": 760,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3377.883331298828,\r
+    "y": 816.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a634b8ac.ea4e88",\r
+    "id": "148d0b0c.712fa5",\r
     "type": "set",\r
     "name": "set network-route-one",\r
     "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 3293,\r
-    "y": 823,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3352.883331298828,\r
+    "y": 879.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1bb6ef49.bdd341",\r
+    "id": "d89221fb.e3072",\r
     "type": "set",\r
     "name": "set network-route-two",\r
     "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 3294,\r
-    "y": 878,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3353.883331298828,\r
+    "y": 934.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a7071b50.c7486",\r
+    "id": "ea9aeb3f.7f8c98",\r
     "type": "save",\r
     "name": "get network-route-one from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3310,\r
-    "y": 926,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3369.883331298828,\r
+    "y": 982.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6881c546.e37ddc",\r
-        "f8f6c69f.ac74d8",\r
-        "d522feff.e8a5a"\r
+        "842b0094.75a4a",\r
+        "7eb2f3df.e44f04",\r
+        "b07921bb.e3808"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e80ddce6.4971e",\r
+    "id": "11e605d7.ecd0fa",\r
     "type": "save",\r
     "name": "get network-route-two from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3299,\r
-    "y": 1012.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3358.883331298828,\r
+    "y": 1069.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "9806969b.fc3ae",\r
-        "65b603dc.721f64",\r
-        "fd2316c5.747f38"\r
+        "2d5fb508.bfab52",\r
+        "cb29efc.c6f4b1",\r
+        "61b86bd0.897d5c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6881c546.e37ddc",\r
+    "id": "842b0094.75a4a",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3511,\r
-    "y": 810,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3570.883331298828,\r
+    "y": 866.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "8a0e99df.d3a74"\r
+        "20684afd.b6d766"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f8f6c69f.ac74d8",\r
+    "id": "7eb2f3df.e44f04",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3506.509033203125,\r
-    "y": 859.426025390625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3566.392364501953,\r
+    "y": 916.3093566894531,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "34078213.5a26be"\r
+        "d2041960.fe2c28"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d522feff.e8a5a",\r
+    "id": "b07921bb.e3808",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3510.509033203125,\r
-    "y": 912.426025390625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3570.392364501953,\r
+    "y": 969.3093566894531,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "f11965b9.9944c8"\r
+        "f96f84b2.606d"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8a0e99df.d3a74",\r
+    "id": "20684afd.b6d766",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3659.571533203125,\r
-    "y": 809.2857666015625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3719.454864501953,\r
+    "y": 866.1690979003906,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "34078213.5a26be",\r
+    "id": "d2041960.fe2c28",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3649.509033203125,\r
-    "y": 859.426025390625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3709.392364501953,\r
+    "y": 916.3093566894531,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9806969b.fc3ae",\r
+    "id": "2d5fb508.bfab52",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3522,\r
-    "y": 982.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3581.883331298828,\r
+    "y": 1039.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a6e046a6.757e98"\r
+        "96baba9a.d0e19"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "65b603dc.721f64",\r
+    "id": "cb29efc.c6f4b1",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3517.509033203125,\r
-    "y": 1032.4259033203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3577.392364501953,\r
+    "y": 1089.3092346191406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "45e0f2da.8f444c"\r
+        "1fb34f72.484a51"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fd2316c5.747f38",\r
+    "id": "61b86bd0.897d5c",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3518.509033203125,\r
-    "y": 1085.4259033203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3578.392364501953,\r
+    "y": 1142.3092346191406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "415f5150.f3e08"\r
+        "10c44aa8.1e2ead"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a6e046a6.757e98",\r
+    "id": "96baba9a.d0e19",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3670.571533203125,\r
-    "y": 982.28564453125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3730.454864501953,\r
+    "y": 1039.1689758300781,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "45e0f2da.8f444c",\r
+    "id": "1fb34f72.484a51",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3660.509033203125,\r
-    "y": 1032.4259033203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3720.392364501953,\r
+    "y": 1089.3092346191406,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f11965b9.9944c8",\r
+    "id": "f96f84b2.606d",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3672,\r
-    "y": 912,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3731.883331298828,\r
+    "y": 968.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "f51320c4.bcfce"\r
+        "c276b776.1eb8a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "415f5150.f3e08",\r
+    "id": "10c44aa8.1e2ead",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3672,\r
-    "y": 1084.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3731.883331298828,\r
+    "y": 1141.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "1cfd4758.0338b1"\r
+        "dfc4c0e1.407a7"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f51320c4.bcfce",\r
+    "id": "c276b776.1eb8a",\r
     "type": "switchNode",\r
     "name": "switch nr type",\r
     "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3844,\r
-    "y": 912,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3903.883331298828,\r
+    "y": 968.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "89f8c0d6.b51fa8",\r
-        "aead6b27.4c3a7"\r
+        "680276dd.9e09b8",\r
+        "fada4cff.fbd328"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1cfd4758.0338b1",\r
+    "id": "dfc4c0e1.407a7",\r
     "type": "switchNode",\r
     "name": "switch nr type",\r
     "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3845,\r
-    "y": 1085,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3904.883331298828,\r
+    "y": 1141.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "5b9b8e64.ed3588",\r
-        "226da409.894754"\r
+        "1f020e0e.66975a",\r
+        "a14ce01a.56f21"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "89f8c0d6.b51fa8",\r
+    "id": "680276dd.9e09b8",\r
     "type": "outcome",\r
     "name": "ROOT",\r
     "xml": "<outcome value='ROOT'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4020,\r
-    "y": 891,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4079.883331298828,\r
+    "y": 947.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6cfb261d.1543a8"\r
+        "2d74202a.0b02c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "aead6b27.4c3a7",\r
+    "id": "fada4cff.fbd328",\r
     "type": "outcome",\r
     "name": "LEAF",\r
     "xml": "<outcome value='LEAF'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4022,\r
-    "y": 945,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4081.883331298828,\r
+    "y": 1001.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "5cbc637f.f1f25c"\r
+        "7e647400.994a6c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5b9b8e64.ed3588",\r
+    "id": "1f020e0e.66975a",\r
     "type": "outcome",\r
     "name": "ROOT",\r
     "xml": "<outcome value='ROOT'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4021,\r
-    "y": 1055,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4080.883331298828,\r
+    "y": 1111.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "1f3d6111.fb3d4f"\r
+        "45ecb3a3.4434cc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "226da409.894754",\r
+    "id": "a14ce01a.56f21",\r
     "type": "outcome",\r
     "name": "LEAF",\r
     "xml": "<outcome value='LEAF'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4023,\r
-    "y": 1109,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4082.883331298828,\r
+    "y": 1165.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "27ea8b3.eb35a74"\r
+        "c83b931a.caa288"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cf6b5beb.abd2a",\r
+    "id": "698ac3d0.bab4ec",\r
     "type": "set",\r
     "name": "set network-route-ROOT",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4330,\r
-    "y": 843,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4389.883331298828,\r
+    "y": 899.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ab5b8db7.2c0b2",\r
+    "id": "d12533f5.293ec",\r
     "type": "set",\r
     "name": "set network-route-LEAF",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4323,\r
-    "y": 941,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4382.883331298828,\r
+    "y": 997.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d1673a3d.bf2ad",\r
+    "id": "cfe2458d.e53598",\r
     "type": "set",\r
     "name": "set network-route-ROOT",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4323,\r
-    "y": 1028,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4382.883331298828,\r
+    "y": 1084.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6f54a53.db0de5c",\r
+    "id": "e0154f38.db2ba",\r
     "type": "set",\r
     "name": "set network-route-LEAF",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4327,\r
-    "y": 1121,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4386.883331298828,\r
+    "y": 1177.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1814f478.bad66c",\r
+    "id": "c5ef28c0.6623d",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3554,\r
-    "y": 1530,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3613.883331298828,\r
+    "y": 1586.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d9e53024.28f5e8"\r
+        "cf149009.40de5"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f9e21eb6.e051f",\r
+    "id": "892e385b.99fcd8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3563.490966796875,\r
-    "y": 1572.5740356445312,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3623.374298095703,\r
+    "y": 1629.4573669433594,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "cd9fd29c.16f54"\r
+        "fcd9fb7.509ae08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "13935c82.38c04b",\r
+    "id": "a241b92b.410968",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3552,\r
-    "y": 1619,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3611.883331298828,\r
+    "y": 1675.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "fd85e1a6.4ce26"\r
+        "3987c181.ee8c26"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f8a45af2.8fc23",\r
+    "id": "277d69d7.fb78d6",\r
     "type": "comment",\r
     "name": "Question?",\r
     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
     "comments": "",\r
-    "x": 3254,\r
-    "y": 1492,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3313.883331298828,\r
+    "y": 1548.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a4a1e109.208d68",\r
+    "id": "1a00d4a4.ff98a3",\r
     "type": "save",\r
     "name": "get p-interface-src from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3297,\r
-    "y": 1557,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3356.883331298828,\r
+    "y": 1613.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "1814f478.bad66c",\r
-        "f9e21eb6.e051f",\r
-        "13935c82.38c04b"\r
+        "c5ef28c0.6623d",\r
+        "892e385b.99fcd8",\r
+        "a241b92b.410968"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "32d67853.ec65d",\r
+    "id": "104f2b87.41fe14",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3298,\r
-    "y": 1227,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3357.883331298828,\r
+    "y": 1283.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "7cda231b.f03dc4",\r
-        "15924723.6e7491"\r
+        "a533cbf2.9ff568",\r
+        "84397dc4.6052e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "15924723.6e7491",\r
+    "id": "84397dc4.6052e8",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3521,\r
-    "y": 1213,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3580.883331298828,\r
+    "y": 1269.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "5b420eac.7f2e3"\r
+        "a3186923.403f7"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7cda231b.f03dc4",\r
+    "id": "a533cbf2.9ff568",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3523,\r
-    "y": 1246,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3582.883331298828,\r
+    "y": 1302.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "59d39de3.e2d86c"\r
+        "fb4a8c19.28b8c8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d9e53024.28f5e8",\r
+    "id": "cf149009.40de5",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3726.66650390625,\r
-    "y": 1529,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3786.549835205078,\r
+    "y": 1585.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "dfaba2c2.eca4e8",\r
-        "4097fc0c.2ebcd4"\r
+        "d71c8cc2.44ee38",\r
+        "eeee90c0.e5cea8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cd9fd29c.16f54",\r
+    "id": "fcd9fb7.509ae08",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3717.0623779296875,\r
-    "y": 1575.8597717285156,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3776.9457092285156,\r
+    "y": 1632.7431030273438,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "fd85e1a6.4ce26",\r
+    "id": "3987c181.ee8c26",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3721,\r
-    "y": 1620,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3780.883331298828,\r
+    "y": 1676.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "dfaba2c2.eca4e8",\r
+    "id": "d71c8cc2.44ee38",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3991,\r
-    "y": 1513,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4050.883331298828,\r
+    "y": 1569.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "8d48769f.5119e8",\r
-        "8debbded.83326"\r
+        "245c145e.ebe6e4",\r
+        "5de5cc75.c2e844"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8debbded.83326",\r
+    "id": "5de5cc75.c2e844",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4214,\r
-    "y": 1468,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4273.883331298828,\r
+    "y": 1524.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "2541c31e.77739c"\r
+        "a0f9be9b.313468"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8d48769f.5119e8",\r
+    "id": "245c145e.ebe6e4",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4216,\r
-    "y": 1532,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4275.883331298828,\r
+    "y": 1588.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "2ddc4c0.3ed3fb4"\r
+        "911806e7.142508"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2ddc4c0.3ed3fb4",\r
+    "id": "911806e7.142508",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
     "comments": "",\r
-    "x": 4378,\r
-    "y": 1528,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4437.883331298828,\r
+    "y": 1584.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2541c31e.77739c",\r
+    "id": "a0f9be9b.313468",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4379,\r
-    "y": 1465,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4438.883331298828,\r
+    "y": 1521.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "147c7198.960c76",\r
-        "5b133092.209f98"\r
+        "e1f125c0.caa6f",\r
+        "a1eca114.4be78"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "810155a4.74088",\r
+    "id": "d95b965d.c926c",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3993,\r
-    "y": 1672,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4052.883331298828,\r
+    "y": 1728.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c595cb5f.3ebc78",\r
+    "id": "6b95fc34.5ad8b4",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainA",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4038,\r
-    "y": 1582,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4097.883331298828,\r
+    "y": 1638.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d29a1dc3.4eeb5",\r
+    "id": "8335544a.4f7eb",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4121,\r
-    "y": 1720,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4180.883331298828,\r
+    "y": 1776.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "59d39de3.e2d86c",\r
+    "id": "fb4a8c19.28b8c8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
     "comments": "",\r
-    "x": 3666,\r
-    "y": 1243,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3725.883331298828,\r
+    "y": 1299.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "5b420eac.7f2e3",\r
+    "id": "a3186923.403f7",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3669,\r
-    "y": 1206,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3728.883331298828,\r
+    "y": 1262.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c6570a48.d5e8a",\r
-        "fa28539a.6f35e"\r
+        "df51c615.6dea38",\r
+        "42564be7.1576fc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c6570a48.d5e8a",\r
+    "id": "df51c615.6dea38",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
     "comments": "",\r
-    "x": 3843,\r
-    "y": 1162,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3902.883331298828,\r
+    "y": 1218.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4097fc0c.2ebcd4",\r
+    "id": "eeee90c0.e5cea8",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3945,\r
-    "y": 1797,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4004.883331298828,\r
+    "y": 1853.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "55bdaff8.d6fa7"\r
+        "1b697bac.74bf24"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "55bdaff8.d6fa7",\r
+    "id": "1b697bac.74bf24",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4151,\r
-    "y": 1797,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4210.883331298828,\r
+    "y": 1853.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "13e441a4.daf476"\r
+        "fad81e7.f76f06"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "13e441a4.daf476",\r
+    "id": "fad81e7.f76f06",\r
     "type": "outcome",\r
     "name": "tunnel-termination-point",\r
     "xml": "<outcome value='tunnel-termination-point'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4366.28564453125,\r
-    "y": 1796.82177734375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4426.168975830078,\r
+    "y": 1853.7051086425781,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "9c1550de.a16d68"\r
+        "f6db1963.f8cc08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fa28539a.6f35e",\r
+    "id": "42564be7.1576fc",\r
     "type": "get-resource",\r
     "name": "get-resource src pnf",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3858,\r
-    "y": 1273,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3917.883331298828,\r
+    "y": 1329.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b1379be2.7c731",\r
-        "98821e3.6cffa6",\r
-        "93a11cc9.4e6df"\r
+        "3d26932b.7c3bc4",\r
+        "11ea41e8.6fef1e",\r
+        "60ff709f.49eb3"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b1379be2.7c731",\r
+    "id": "3d26932b.7c3bc4",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4053.5001220703125,\r
-    "y": 1225,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4113.383453369141,\r
+    "y": 1281.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "49daba06.206634"\r
+        "e66646fd.ae97a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "98821e3.6cffa6",\r
+    "id": "11ea41e8.6fef1e",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4045.5001220703125,\r
-    "y": 1280,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4105.383453369141,\r
+    "y": 1336.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "78abfa9e.41d134"\r
+        "6bc38e9e.a8f668"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "93a11cc9.4e6df",\r
+    "id": "60ff709f.49eb3",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4050.5001220703125,\r
-    "y": 1337,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4110.383453369141,\r
+    "y": 1393.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ae2448ff.86872"\r
+        "1b2700d2.65979f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ae2448ff.86872",\r
+    "id": "1b2700d2.65979f",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4202.5001220703125,\r
-    "y": 1338,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4262.383453369141,\r
+    "y": 1394.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "78abfa9e.41d134",\r
+    "id": "6bc38e9e.a8f668",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4213.5001220703125,\r
-    "y": 1283,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4273.383453369141,\r
+    "y": 1339.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "49daba06.206634",\r
+    "id": "e66646fd.ae97a8",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4197.8824462890625,\r
-    "y": 1222.6556701660156,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4257.765777587891,\r
+    "y": 1279.5390014648438,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a244814e.1fdb1"\r
+        "8c7c1f5.e4db1e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a244814e.1fdb1",\r
+    "id": "8c7c1f5.e4db1e",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4382,\r
-    "y": 1237,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4441.883331298828,\r
+    "y": 1293.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6f66ca5.eff0fb4"\r
+        "9be30f1d.25d3a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5b133092.209f98",\r
+    "id": "a1eca114.4be78",\r
     "type": "set",\r
     "name": "set ltpId",\r
     "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
     "comments": "",\r
-    "x": 4549,\r
-    "y": 1423,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4608.883331298828,\r
+    "y": 1479.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "147c7198.960c76",\r
+    "id": "e1f125c0.caa6f",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
     "comments": "",\r
-    "x": 4550,\r
-    "y": 1531,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4609.883331298828,\r
+    "y": 1587.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "83128f31.28dd3",\r
+    "id": "b9cba76c.d9c1f8",\r
     "type": "comment",\r
     "name": "TODO: FIXME",\r
     "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
     "comments": "",\r
-    "x": 4551,\r
-    "y": 1480,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4610.883331298828,\r
+    "y": 1536.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9c1550de.a16d68",\r
+    "id": "f6db1963.f8cc08",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4573.1171875,\r
-    "y": 1797.34033203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4633.000518798828,\r
+    "y": 1854.2236633300781,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "3dd5d699.d7912a",\r
-        "31d244a7.769454",\r
-        "41228511.9d3d04"\r
+        "7891783a.b17838",\r
+        "d094659a.049558",\r
+        "9c226fb0.3cc118"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3dd5d699.d7912a",\r
+    "id": "7891783a.b17838",\r
     "type": "set",\r
     "name": "set source ttp-id",\r
     "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 4788.1171875,\r
-    "y": 1759.34033203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4848.000518798828,\r
+    "y": 1816.2236633300781,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "31d244a7.769454",\r
+    "id": "d094659a.049558",\r
     "type": "get-resource",\r
     "name": "get-resource src TTP",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4785.1171875,\r
-    "y": 1798.34033203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4845.000518798828,\r
+    "y": 1855.2236633300781,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "3f687ffd.7ac738"\r
+        "7580173.08b9968"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "41228511.9d3d04",\r
+    "id": "9c226fb0.3cc118",\r
     "type": "break",\r
     "name": "break",\r
     "xml": "<break>\n",\r
     "comments": "",\r
-    "x": 4740.6171875,\r
-    "y": 1840.34033203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4800.500518798828,\r
+    "y": 1897.2236633300781,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3f687ffd.7ac738",\r
+    "id": "7580173.08b9968",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4965.6171875,\r
-    "y": 1797.34033203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5025.500518798828,\r
+    "y": 1854.2236633300781,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b1d8da7c.fb9068"\r
+        "cbf832f4.29b03"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "73e89a58.b8a2f4",\r
+    "id": "c301ea5d.736948",\r
     "type": "outcome",\r
     "name": "esr-thirdparty-sdnc",\r
     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4780,\r
-    "y": 1241,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4839.883331298828,\r
+    "y": 1297.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "35399481.176a44"\r
+        "82c12c36.ef82a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "35399481.176a44",\r
+    "id": "82c12c36.ef82a",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4957,\r
-    "y": 1233,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5016.883331298828,\r
+    "y": 1289.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "689257af.1e32e8",\r
-        "cffc6960.3515f8"\r
+        "99af67bd.f0a288",\r
+        "27aaa5b6.e5d6a2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6f66ca5.eff0fb4",\r
+    "id": "9be30f1d.25d3a8",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4577,\r
-    "y": 1237,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4636.883331298828,\r
+    "y": 1293.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "73e89a58.b8a2f4",\r
-        "8f00bdd8.7bfea8"\r
+        "c301ea5d.736948",\r
+        "d642ceb0.6d61d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8f00bdd8.7bfea8",\r
+    "id": "d642ceb0.6d61d8",\r
     "type": "outcome",\r
     "name": "network-resource",\r
     "xml": "<outcome value='network-resource'>",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4783,\r
-    "y": 1315,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4842.883331298828,\r
+    "y": 1371.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "54b58f35.b7982"\r
+        "8d64b35.e02ce5"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "54b58f35.b7982",\r
+    "id": "8d64b35.e02ce5",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4960,\r
-    "y": 1307,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5019.883331298828,\r
+    "y": 1363.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "bd4488b3.a3f2f8"\r
+        "b7238960.567a78"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b1d8da7c.fb9068",\r
+    "id": "cbf832f4.29b03",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5123.6171875,\r
-    "y": 1797.34033203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5183.500518798828,\r
+    "y": 1854.2236633300781,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "45f3cc43.b8716c"\r
+        "703f7e18.3396c8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "45f3cc43.b8716c",\r
+    "id": "703f7e18.3396c8",\r
     "type": "set",\r
     "name": "set source tunnel tp ip",\r
     "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
     "comments": "",\r
-    "x": 5330.6171875,\r
-    "y": 1797.34033203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5390.500518798828,\r
+    "y": 1854.2236633300781,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "cffc6960.3515f8",\r
+    "id": "27aaa5b6.e5d6a2",\r
     "type": "execute",\r
     "name": "get esr-thirdparty-sdnc",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5165,\r
-    "y": 1240,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5224.883331298828,\r
+    "y": 1296.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "4c1fabd5.3f0e34",\r
-        "7bde9a25.02996c",\r
-        "405a47f8.a7ca18"\r
+        "5f4852b0.deaefc",\r
+        "a3e152bc.1612f",\r
+        "6a748238.68a734"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "689257af.1e32e8",\r
+    "id": "99af67bd.f0a288",\r
     "type": "set",\r
     "name": "set esr-thirdparty-sdnc domainA id",\r
     "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5195,\r
-    "y": 1188,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5254.883331298828,\r
+    "y": 1244.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4c1fabd5.3f0e34",\r
+    "id": "5f4852b0.deaefc",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5375,\r
-    "y": 1231,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5434.883331298828,\r
+    "y": 1287.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d4e512d1.26f248"\r
+        "fce8f611.8c7338"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7bde9a25.02996c",\r
+    "id": "a3e152bc.1612f",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5367,\r
-    "y": 1286,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5426.883331298828,\r
+    "y": 1342.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ecb49f32.439908"\r
+        "23b3b244.7d6476"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "405a47f8.a7ca18",\r
+    "id": "6a748238.68a734",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5372,\r
-    "y": 1343,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5431.883331298828,\r
+    "y": 1399.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "3104200a.eb8e7"\r
+        "a282f316.3a8968"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3104200a.eb8e7",\r
+    "id": "a282f316.3a8968",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5524,\r
-    "y": 1344,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5583.883331298828,\r
+    "y": 1400.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ecb49f32.439908",\r
+    "id": "23b3b244.7d6476",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5535,\r
-    "y": 1289,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5594.883331298828,\r
+    "y": 1345.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d4e512d1.26f248",\r
+    "id": "fce8f611.8c7338",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5519.38232421875,\r
-    "y": 1228.6556701660156,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5579.265655517578,\r
+    "y": 1285.5390014648438,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "7caf8ab2.26a4a4"\r
+        "a440aece.fb083"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bd4488b3.a3f2f8",\r
+    "id": "b7238960.567a78",\r
     "type": "set",\r
     "name": "set domainA ethernet layer network-id",\r
     "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5195,\r
-    "y": 1431,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5254.883331298828,\r
+    "y": 1487.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7caf8ab2.26a4a4",\r
+    "id": "a440aece.fb083",\r
     "type": "set",\r
     "name": "set controller domainA data",\r
     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
     "comments": "",\r
-    "x": 5734,\r
-    "y": 1225,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5793.883331298828,\r
+    "y": 1281.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "65bbdfd5.3dc13",\r
+    "id": "5b9ee810.250ef",\r
     "type": "set",\r
     "name": "set network-route-B",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4318,\r
-    "y": 879,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4377.883331298828,\r
+    "y": 935.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c089b95e.30fd28",\r
+    "id": "8e2d81c0.4fd7e8",\r
     "type": "set",\r
     "name": "set network-route-A",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4309,\r
-    "y": 977,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4368.883331298828,\r
+    "y": 1033.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6cfb261d.1543a8",\r
+    "id": "2d74202a.0b02c",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4143,\r
-    "y": 885,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4202.883331298828,\r
+    "y": 941.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "cf6b5beb.abd2a",\r
-        "65bbdfd5.3dc13"\r
+        "698ac3d0.bab4ec",\r
+        "5b9ee810.250ef"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5cbc637f.f1f25c",\r
+    "id": "7e647400.994a6c",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4149,\r
-    "y": 949,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4208.883331298828,\r
+    "y": 1005.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ab5b8db7.2c0b2",\r
-        "c089b95e.30fd28"\r
+        "d12533f5.293ec",\r
+        "8e2d81c0.4fd7e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1f3d6111.fb3d4f",\r
+    "id": "45ecb3a3.4434cc",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4149,\r
-    "y": 1055,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4208.883331298828,\r
+    "y": 1111.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d1673a3d.bf2ad",\r
-        "4aa0587f.0931c"\r
+        "cfe2458d.e53598",\r
+        "1ea1c70f.8279e9"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "27ea8b3.eb35a74",\r
+    "id": "c83b931a.caa288",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4152,\r
-    "y": 1108,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4211.883331298828,\r
+    "y": 1164.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6f54a53.db0de5c",\r
-        "21e23a32.325fde"\r
+        "e0154f38.db2ba",\r
+        "85671ae.a18b1e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4aa0587f.0931c",\r
+    "id": "1ea1c70f.8279e9",\r
     "type": "set",\r
     "name": "set network-route-B",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4309,\r
-    "y": 1068,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4368.883331298828,\r
+    "y": 1124.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "21e23a32.325fde",\r
+    "id": "85671ae.a18b1e8",\r
     "type": "set",\r
     "name": "set network-route-A",\r
     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4312,\r
-    "y": 1159,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4371.883331298828,\r
+    "y": 1215.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "15f88e7e.38b0fa",\r
+    "id": "7278edf2.b8b58c",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3684,\r
-    "y": 2369,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3743.883331298828,\r
+    "y": 2425.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "f975e555.4f0a2",\r
-        "a7320af4.ed9d8"\r
+        "3fae525c.90658e",\r
+        "13c312d5.234edd"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8b26e8b4.e3dba",\r
+    "id": "2fa6509a.e12468",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3511.33349609375,\r
-    "y": 2370,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3571.216827392578,\r
+    "y": 2426.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "15f88e7e.38b0fa"\r
+        "7278edf2.b8b58c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "365caf9e.ae04d8",\r
+    "id": "2125c96e.09934e",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3520.824462890625,\r
-    "y": 2412.5740356445312,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3580.707794189453,\r
+    "y": 2469.4573669433594,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "10960619.7120e2"\r
+        "68c9e27f.22495c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f6d27283.d43c08",\r
+    "id": "be5c9f7d.6c274",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3509.33349609375,\r
-    "y": 2459,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3569.216827392578,\r
+    "y": 2515.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "f60d033c.caa1a"\r
+        "dc663a75.10e1e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "10960619.7120e2",\r
+    "id": "68c9e27f.22495c",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 3674.3958740234375,\r
-    "y": 2415.8597717285156,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3734.2792053222656,\r
+    "y": 2472.7431030273438,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f60d033c.caa1a",\r
+    "id": "dc663a75.10e1e",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 3678.33349609375,\r
-    "y": 2460,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3738.216827392578,\r
+    "y": 2516.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f975e555.4f0a2",\r
+    "id": "3fae525c.90658e",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3970.33349609375,\r
-    "y": 2373.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4030.216827392578,\r
+    "y": 2429.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "fb51a1db.aad5c",\r
-        "a0fb7141.f8212"\r
+        "f8506393.ef4d48",\r
+        "ae1a7fe2.9ff988"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a0fb7141.f8212",\r
+    "id": "ae1a7fe2.9ff988",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4193.33349609375,\r
-    "y": 2328.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4253.216827392578,\r
+    "y": 2384.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "db58e724.c5bd7"\r
+        "bd5252ed.d0e86"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fb51a1db.aad5c",\r
+    "id": "f8506393.ef4d48",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4195.33349609375,\r
-    "y": 2392.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4255.216827392578,\r
+    "y": 2448.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c50c321c.8bd388"\r
+        "7b56fdc4.718894"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c50c321c.8bd388",\r
+    "id": "7b56fdc4.718894",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
     "comments": "",\r
-    "x": 4354.33349609375,\r
-    "y": 2411.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4414.216827392578,\r
+    "y": 2467.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "db58e724.c5bd7",\r
+    "id": "bd5252ed.d0e86",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4358.33349609375,\r
-    "y": 2325.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4418.216827392578,\r
+    "y": 2381.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b0670b4d.55e7b8",\r
-        "6c9ffe8c.9af1e8"\r
+        "a04df249.3edf9",\r
+        "4445456b.4ef0dc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "299e7ae7.513c9e",\r
+    "id": "dfb0d610.c67228",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3972.33349609375,\r
-    "y": 2532.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4032.216827392578,\r
+    "y": 2588.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "cbea16a7.2be638",\r
+    "id": "a9b19647.ecdf6",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainB",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4017.33349609375,\r
-    "y": 2442.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4077.216827392578,\r
+    "y": 2498.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "3d100357.15f07c",\r
+    "id": "d1080dc6.5d411",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4099.33349609375,\r
-    "y": 2597.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4159.216827392578,\r
+    "y": 2653.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c8257b0d.cf8598",\r
+    "id": "52e7c1a.b628dc",\r
     "type": "save",\r
     "name": "get p-interface-dst from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3283.33349609375,\r
-    "y": 2405,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3343.216827392578,\r
+    "y": 2461.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "8b26e8b4.e3dba",\r
-        "365caf9e.ae04d8",\r
-        "f6d27283.d43c08"\r
+        "2fa6509a.e12468",\r
+        "2125c96e.09934e",\r
+        "be5c9f7d.6c274"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e000777e.059758",\r
+    "id": "534c4b07.5a4374",\r
     "type": "comment",\r
     "name": "Question?",\r
     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
     "comments": "",\r
-    "x": 3244.33349609375,\r
-    "y": 2349,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3304.216827392578,\r
+    "y": 2405.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8e7b1d45.48bf2",\r
+    "id": "59b35d49.e5c194",\r
     "type": "execute",\r
     "name": "execute split tp-id to get pnf-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3301.33349609375,\r
-    "y": 2067.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3361.216827392578,\r
+    "y": 2124.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "3e16baed.e61f9e",\r
-        "718c7d79.85c5bc"\r
+        "8468812d.ab7d98",\r
+        "832feae1.441b18"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "718c7d79.85c5bc",\r
+    "id": "832feae1.441b18",\r
     "type": "failure",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3524.33349609375,\r
-    "y": 2053.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3584.216827392578,\r
+    "y": 2110.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c56ba64b.9ec5c"\r
+        "45b67ba7.081314"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3e16baed.e61f9e",\r
+    "id": "8468812d.ab7d98",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3526.33349609375,\r
-    "y": 2086.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3586.216827392578,\r
+    "y": 2143.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "8748d48a.d5e098"\r
+        "71974a85.bc9554"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8748d48a.d5e098",\r
+    "id": "71974a85.bc9554",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
     "comments": "",\r
-    "x": 3669.33349609375,\r
-    "y": 2083.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3729.216827392578,\r
+    "y": 2140.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c56ba64b.9ec5c",\r
+    "id": "45b67ba7.081314",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3672.33349609375,\r
-    "y": 2046.9998779296875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3732.216827392578,\r
+    "y": 2103.8832092285156,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "883d33bf.bf29f",\r
-        "dcb0b05e.f2669"\r
+        "10560f97.9ccdb",\r
+        "fb974250.3eaa5"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "883d33bf.bf29f",\r
+    "id": "10560f97.9ccdb",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
     "comments": "",\r
-    "x": 3866.33349609375,\r
-    "y": 2050,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3926.216827392578,\r
+    "y": 2106.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a7320af4.ed9d8",\r
+    "id": "13c312d5.234edd",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3929.33349609375,\r
-    "y": 2682,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3989.216827392578,\r
+    "y": 2738.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "fd321c11.d40e7"\r
+        "4f9cbec5.496d9"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fd321c11.d40e7",\r
+    "id": "4f9cbec5.496d9",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4135.33349609375,\r
-    "y": 2682,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4195.216827392578,\r
+    "y": 2738.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "e08d51dc.da4c1"\r
+        "b238117c.f6854"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e08d51dc.da4c1",\r
+    "id": "b238117c.f6854",\r
     "type": "outcome",\r
     "name": "tunnel-termination-point",\r
     "xml": "<outcome value='tunnel-termination-point'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4352.619140625,\r
-    "y": 2680.82177734375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4412.502471923828,\r
+    "y": 2737.705108642578,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "10f977b0.bb1b3"\r
+        "3bbc3c62.de1f1c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "dcb0b05e.f2669",\r
+    "id": "fb974250.3eaa5",\r
     "type": "get-resource",\r
     "name": "get-resource src pnf",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3888.33349609375,\r
-    "y": 2118,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3948.216827392578,\r
+    "y": 2174.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c9b4249e.0909d8",\r
-        "9e2542d0.859f",\r
-        "4dfd412.b843d4"\r
+        "8b8a9b87.c8a068",\r
+        "46f3b355.657d1c",\r
+        "789bb9ae.3c411"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c9b4249e.0909d8",\r
+    "id": "8b8a9b87.c8a068",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4083.8336181640625,\r
-    "y": 2070,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4143.716949462891,\r
+    "y": 2126.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ade6b82e.1a55d"\r
+        "288864eb.075f34"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9e2542d0.859f",\r
+    "id": "46f3b355.657d1c",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4075.8336181640625,\r
-    "y": 2125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4135.716949462891,\r
+    "y": 2181.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "44f6f51.d8f8c8c"\r
+        "f82ba322.6474e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4dfd412.b843d4",\r
+    "id": "789bb9ae.3c411",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4080.8336181640625,\r
-    "y": 2182,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4140.716949462891,\r
+    "y": 2238.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "f041c0d3.954d68"\r
+        "98f52488.0327b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f041c0d3.954d68",\r
+    "id": "98f52488.0327b8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4232.8336181640625,\r
-    "y": 2183,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4292.716949462891,\r
+    "y": 2239.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "44f6f51.d8f8c8c",\r
+    "id": "f82ba322.6474e",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4243.8336181640625,\r
-    "y": 2128,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4303.716949462891,\r
+    "y": 2184.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ade6b82e.1a55d",\r
+    "id": "288864eb.075f34",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4228.2159423828125,\r
-    "y": 2067.6556701660156,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4288.099273681641,\r
+    "y": 2124.5390014648438,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6075bcd4.2c69ac"\r
+        "ce45d16c.d5e628"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b0670b4d.55e7b8",\r
+    "id": "a04df249.3edf9",\r
     "type": "set",\r
     "name": "set ltpId",\r
     "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
     "comments": "",\r
-    "x": 4528.33349609375,\r
-    "y": 2286.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4588.216827392578,\r
+    "y": 2342.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6c9ffe8c.9af1e8",\r
+    "id": "4445456b.4ef0dc",\r
     "type": "set",\r
     "name": "set pnf-name",\r
     "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
     "comments": "",\r
-    "x": 4529.33349609375,\r
-    "y": 2391.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4589.216827392578,\r
+    "y": 2447.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f79c8df1.ba3188",\r
+    "id": "c559d0ff.64e92",\r
     "type": "comment",\r
     "name": "TODO: FIXME",\r
     "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
     "comments": "",\r
-    "x": 4524.33349609375,\r
-    "y": 2340.0001220703125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4584.216827392578,\r
+    "y": 2396.8834533691406,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "10f977b0.bb1b3",\r
+    "id": "3bbc3c62.de1f1c",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4559.45068359375,\r
-    "y": 2670.3404541015625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4619.334014892578,\r
+    "y": 2727.2237854003906,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "20309de8.4632aa",\r
-        "f73e5414.3285",\r
-        "d0b059a0.487158"\r
+        "f4fc0b3b.90cef8",\r
+        "6738a6d1.eac328",\r
+        "94eb5da4.00ce9"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "20309de8.4632aa",\r
+    "id": "f4fc0b3b.90cef8",\r
     "type": "set",\r
     "name": "set destination ttp-id",\r
     "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 4774.45068359375,\r
-    "y": 2632.3404541015625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4834.334014892578,\r
+    "y": 2689.2237854003906,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f73e5414.3285",\r
+    "id": "6738a6d1.eac328",\r
     "type": "get-resource",\r
     "name": "get-resource src TTP",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4771.45068359375,\r
-    "y": 2671.3404541015625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4831.334014892578,\r
+    "y": 2728.2237854003906,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "e534043d.5bd38"\r
+        "99dab506.61b3a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d0b059a0.487158",\r
+    "id": "94eb5da4.00ce9",\r
     "type": "break",\r
     "name": "break",\r
     "xml": "<break>\n",\r
     "comments": "",\r
-    "x": 4726.95068359375,\r
-    "y": 2713.3404541015625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4786.834014892578,\r
+    "y": 2770.2237854003906,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e534043d.5bd38",\r
+    "id": "99dab506.61b3a8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4951.95068359375,\r
-    "y": 2670.3404541015625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5011.834014892578,\r
+    "y": 2727.2237854003906,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "e48a79a9.dd196"\r
+        "d09db1ae.3d50e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e48a79a9.dd196",\r
+    "id": "d09db1ae.3d50e8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5109.95068359375,\r
-    "y": 2670.3404541015625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5169.834014892578,\r
+    "y": 2727.2237854003906,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "1f6fa1b2.460606"\r
+        "b4fea58e.4d08b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1f6fa1b2.460606",\r
+    "id": "b4fea58e.4d08b",\r
     "type": "set",\r
     "name": "set destination tunnel tp ip",\r
     "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
     "comments": "",\r
-    "x": 5316.95068359375,\r
-    "y": 2670.3404541015625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5376.834014892578,\r
+    "y": 2727.2237854003906,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a30de028.b28d48",\r
+    "id": "9cb60767.3dae68",\r
     "type": "outcome",\r
     "name": "esr-thirdparty-sdnc",\r
     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4810.33349609375,\r
-    "y": 2086,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4870.216827392578,\r
+    "y": 2142.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ef5b074c.536d6"\r
+        "20305f15.4fc8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ef5b074c.536d6",\r
+    "id": "20305f15.4fc8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4987.33349609375,\r
-    "y": 2078,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5047.216827392578,\r
+    "y": 2134.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c21d00de.e0733",\r
-        "82588df6.f2c43"\r
+        "f06ad939.b3afb8",\r
+        "eb592a74.9250f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6075bcd4.2c69ac",\r
+    "id": "ce45d16c.d5e628",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4412.33349609375,\r
-    "y": 2082,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4472.216827392578,\r
+    "y": 2138.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "9110b39.2ad945"\r
+        "836b2028.73fa6"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9110b39.2ad945",\r
+    "id": "836b2028.73fa6",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4607.33349609375,\r
-    "y": 2082,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4667.216827392578,\r
+    "y": 2138.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a30de028.b28d48",\r
-        "8b328cb8.458cf8"\r
+        "9cb60767.3dae68",\r
+        "1e4a18fb.74350f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "82588df6.f2c43",\r
+    "id": "eb592a74.9250f",\r
     "type": "execute",\r
     "name": "get esr-thirdparty-sdnc",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5195.33349609375,\r
-    "y": 2085,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5255.216827392578,\r
+    "y": 2141.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "815a30c0.42847",\r
-        "e73296ce.c3274",\r
-        "43d82526.bf146c"\r
+        "b94c1f46.28b1b8",\r
+        "73a98c16.ea7094",\r
+        "1e6cb9ce.e34866"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "14ab331b.3a14dd",\r
+    "id": "4be3f63c.7d65d8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4989.33349609375,\r
-    "y": 2151,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5049.216827392578,\r
+    "y": 2207.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d397e592.0e40b"\r
+        "573bcde0.7ae984"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8b328cb8.458cf8",\r
+    "id": "1e4a18fb.74350f",\r
     "type": "outcome",\r
     "name": "network-resource",\r
     "xml": "<outcome value='network-resource'>",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4812.33349609375,\r
-    "y": 2159,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4872.216827392578,\r
+    "y": 2215.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "14ab331b.3a14dd"\r
+        "4be3f63c.7d65d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c21d00de.e0733",\r
+    "id": "f06ad939.b3afb8",\r
     "type": "set",\r
     "name": "set esr-thirdparty-sdnc domainB id",\r
     "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5225.33349609375,\r
-    "y": 2033,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5285.216827392578,\r
+    "y": 2089.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d397e592.0e40b",\r
+    "id": "573bcde0.7ae984",\r
     "type": "set",\r
     "name": "set domainB ethernet layer network-id",\r
     "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
     "comments": "",\r
-    "x": 5224.33349609375,\r
-    "y": 2275,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5284.216827392578,\r
+    "y": 2331.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "815a30c0.42847",\r
+    "id": "b94c1f46.28b1b8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5405.33349609375,\r
-    "y": 2076,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5465.216827392578,\r
+    "y": 2132.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "665156df.6f87a"\r
+        "9cca84a4.69e27"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e73296ce.c3274",\r
+    "id": "73a98c16.ea7094",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5397.33349609375,\r
-    "y": 2131,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5457.216827392578,\r
+    "y": 2187.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ae5fbc43.dedc3"\r
+        "e1e079f9.7a9848"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "43d82526.bf146c",\r
+    "id": "1e6cb9ce.e34866",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5402.33349609375,\r
-    "y": 2188,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5462.216827392578,\r
+    "y": 2244.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "75c235dd.25a9b4"\r
+        "9609b4db.95e4f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "75c235dd.25a9b4",\r
+    "id": "9609b4db.95e4f",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5554.33349609375,\r
-    "y": 2189,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5614.216827392578,\r
+    "y": 2245.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ae5fbc43.dedc3",\r
+    "id": "e1e079f9.7a9848",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5565.33349609375,\r
-    "y": 2134,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5625.216827392578,\r
+    "y": 2190.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "665156df.6f87a",\r
+    "id": "9cca84a4.69e27",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5549.7158203125,\r
-    "y": 2073.6556701660156,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5609.599151611328,\r
+    "y": 2130.5390014648438,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d81c240c.0e54a"\r
+        "b8027aff.eb46b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d81c240c.0e54a",\r
+    "id": "b8027aff.eb46b",\r
     "type": "set",\r
     "name": "set controller domainB data",\r
     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
     "comments": "",\r
-    "x": 5764.33349609375,\r
-    "y": 2070,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5824.216827392578,\r
+    "y": 2126.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e4d1916e.82a0f",\r
+    "id": "cdada9b0.2f3a48",\r
     "type": "set",\r
     "name": "set LEAF stuff",\r
     "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
     "comments": "",\r
-    "x": 3263,\r
-    "y": 1680,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3322.883331298828,\r
+    "y": 1736.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "40d6ba08.05b09c",\r
+    "id": "95e31216.278c48",\r
     "type": "comment",\r
     "name": "This is it (should be)",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4485,\r
-    "y": 963,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4544.883331298828,\r
+    "y": 1019.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "229afe55.f96f4a",\r
+    "id": "e1b848f1.cea8f8",\r
     "type": "comment",\r
     "name": "This is it (should be)",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4477,\r
-    "y": 1053,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4536.883331298828,\r
+    "y": 1109.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e42c5746.0b4288",\r
+    "id": "850e2800.badf2",\r
     "type": "set",\r
     "name": "set ROOT stuff",\r
     "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
     "comments": "",\r
-    "x": 3244,\r
-    "y": 2536,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3303.883331298828,\r
+    "y": 2592.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e73ce695.7bd48",\r
+    "id": "2b1064a0.eade7c",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3395,\r
-    "y": 2784,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3454.883331298828,\r
+    "y": 2840.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "9b16af83.d76cd8",\r
+    "id": "a5bcbd5b.23b83",\r
     "type": "switchNode",\r
     "name": "switch found-middle-man?",\r
     "xml": "<switch test='`$found-middle-man`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3272,\r
-    "y": 2894,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3331.883331298828,\r
+    "y": 2950.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a884f3f1.0f482",\r
-        "4d74d9a8.bbfb9"\r
+        "6b05a347.83dffc",\r
+        "734dd518.f869ec"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a884f3f1.0f482",\r
+    "id": "6b05a347.83dffc",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3456,\r
-    "y": 2873,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3515.883331298828,\r
+    "y": 2929.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "51c791fd.f5a538"\r
+        "81013cf2.231a08"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4d74d9a8.bbfb9",\r
+    "id": "734dd518.f869ec",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2992,\r
-    "y": 4459,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3051.883331298828,\r
+    "y": 4515.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b3f9daed.71701"\r
+        "adcb6448.ea7478"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cc64efe3.d91b48",\r
+    "id": "68da37f9.05cc18",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3503,\r
-    "y": 5044,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3562.883331298828,\r
+    "y": 5100.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b3fda79b.50166",\r
-        "d6cce90e.618d6",\r
-        "1292663a.8513e2",\r
-        "99c42fc9.238f28",\r
-        "978af086.86b638"\r
+        "d849eb29.b778b",\r
+        "fb71ca0a.fe8928",\r
+        "c01640bb.f526e8",\r
+        "298d7f45.2553b",\r
+        "4ebb86dc.a0713"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "51c791fd.f5a538",\r
+    "id": "81013cf2.231a08",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6575,\r
-    "y": 2903,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6634.883331298828,\r
+    "y": 2959.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "dcfc3248.c259d8",\r
-        "e0075324.e8eb9",\r
-        "e518ac23.9dfc28",\r
-        "537fab21.dec464",\r
-        "c34912bf.eaaae",\r
-        "afe65ba5.55b07",\r
-        "aac07044.b000d8",\r
-        "b8e3ea6a.2b3c98",\r
-        "2ef08f21.6201e",\r
-        "9901809f.3fcb1",\r
-        "fb2dd54d.4da48",\r
-        "2cb954fb.0ad334",\r
-        "328265e5.ceed9a",\r
-        "c5a55a83.29a8d8",\r
-        "9aa98499.f86768",\r
-        "387b0229.0d7006",\r
-        "4295e286.bfc1e4",\r
-        "d084e39e.bba608",\r
-        "a403e16a.cb2408"\r
+        "8a2aea1.11dcc18",\r
+        "f98cf202.f36e28",\r
+        "90c516f3.625c7",\r
+        "2f838a6e.450ff6",\r
+        "1aed0e7e.f8efea",\r
+        "c314ffe6.755b68",\r
+        "92f41cb.d6037e",\r
+        "1663311a.25772f",\r
+        "12533815.a962b",\r
+        "110e6104.d57bd7",\r
+        "9037ac75.0bc238",\r
+        "3017f19.9b8270e",\r
+        "b384a7be.8178a",\r
+        "bc57a86f.472ff",\r
+        "ca7cd34b.bc2bf",\r
+        "139339a2.2c6a06",\r
+        "3b830a4d.e803be",\r
+        "9ce39c8b.582fa",\r
+        "79c8e0a2.e2d0f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2ef08f21.6201e",\r
+    "id": "12533815.a962b",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainB",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6886,\r
-    "y": 3258,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6945.883331298828,\r
+    "y": 3314.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "dcfc3248.c259d8",\r
+    "id": "8a2aea1.11dcc18",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6840,\r
-    "y": 3356,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6899.883331298828,\r
+    "y": 3412.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e0075324.e8eb9",\r
+    "id": "f98cf202.f36e28",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6976,\r
-    "y": 3403,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7035.883331298828,\r
+    "y": 3459.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "9cbf56aa.ad5218",\r
+    "id": "c27f6f12.2b7db",\r
     "type": "comment",\r
     "name": "Create ROOT connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6807,\r
-    "y": 3207,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6866.883331298828,\r
+    "y": 3263.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2b713353.70ef7c",\r
+    "id": "c8ec9937.7e8ac",\r
     "type": "comment",\r
     "name": "create middle man connectivity and ...",\r
     "info": "1- create middle man connectivity\n2- create relation with all connectivities\n   in the path\n3- put srcTtp (+dstTtp) somewhere in the\n   vpn-binding -> this is for later on to find\n   which OTN tunnel's bandwidth has to be increased.\n5- create UNIs\n4- create relationship to UNIs",\r
     "comments": "",\r
-    "x": 7333,\r
-    "y": 3698,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7392.883331298828,\r
+    "y": 3754.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e518ac23.9dfc28",\r
+    "id": "90c516f3.625c7",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity middle-man",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-middle-man-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6897,\r
-    "y": 3737,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6956.883331298828,\r
+    "y": 3793.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "537fab21.dec464",\r
+    "id": "2f838a6e.450ff6",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6845,\r
-    "y": 3788,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6904.883331298828,\r
+    "y": 3844.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c34912bf.eaaae",\r
+    "id": "1aed0e7e.f8efea",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-middle-man-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-middle-man-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6981,\r
-    "y": 3835,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7040.883331298828,\r
+    "y": 3891.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "60b2fbe4.e4d04c",\r
+    "id": "26cc918c.53f13e",\r
     "type": "comment",\r
     "name": "Create MIDDLE-MAN connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6838,\r
-    "y": 3697,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6897.883331298828,\r
+    "y": 3753.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "fcf93995.6af71",\r
+    "id": "4f7a1677.0cc04",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 7268,\r
-    "y": 3894,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7327.883331298828,\r
+    "y": 3950.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "afe65ba5.55b07",\r
+    "id": "c314ffe6.755b68",\r
     "type": "save",\r
     "name": "get middle-man connectivity from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $prop.connectivity-middle-man-uuid\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"middle-man-conn\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6859,\r
-    "y": 3941,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6918.883331298828,\r
+    "y": 3997.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "68159cb3.0ebba4",\r
-        "c63fd2a4.712768",\r
-        "3a361ef1.e7793a"\r
+        "b94a6109.4587b8",\r
+        "244569e0.e8b39e",\r
+        "f408fad5.acd5c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "68159cb3.0ebba4",\r
+    "id": "b94a6109.4587b8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 7106,\r
-    "y": 3895,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7165.883331298828,\r
+    "y": 3951.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "fcf93995.6af71"\r
+        "4f7a1677.0cc04"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c63fd2a4.712768",\r
+    "id": "244569e0.e8b39e",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 7106.490966796875,\r
-    "y": 3940.5740356445312,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7166.374298095703,\r
+    "y": 3997.4573669433594,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a1ea132a.743c88"\r
+        "c4e6aa20.1e07c8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3a361ef1.e7793a",\r
+    "id": "f408fad5.acd5c",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 7104,\r
-    "y": 3984,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7163.883331298828,\r
+    "y": 4040.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b000dcd9.6a6a6"\r
+        "5ee0d1d0.ddd63"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a1ea132a.743c88",\r
+    "id": "c4e6aa20.1e07c8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 7269.0623779296875,\r
-    "y": 3940.8597717285156,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7328.945709228516,\r
+    "y": 3997.7431030273438,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b000dcd9.6a6a6",\r
+    "id": "5ee0d1d0.ddd63",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 7273,\r
-    "y": 3985,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7332.883331298828,\r
+    "y": 4041.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9aa98499.f86768",\r
+    "id": "ca7cd34b.bc2bf",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6916,\r
-    "y": 4220,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6975.883331298828,\r
+    "y": 4276.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "387b0229.0d7006",\r
+    "id": "139339a2.2c6a06",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6919,\r
-    "y": 4265,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6978.883331298828,\r
+    "y": 4321.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d084e39e.bba608",\r
+    "id": "9ce39c8b.582fa",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6908,\r
-    "y": 4056,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6967.883331298828,\r
+    "y": 4112.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a403e16a.cb2408",\r
+    "id": "79c8e0a2.e2d0f",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-ROOT, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6910,\r
-    "y": 4103,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6969.883331298828,\r
+    "y": 4159.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "344300f.08239",\r
+    "id": "a0361928.318ac8",\r
     "type": "comment",\r
     "name": "The following two will be done in F1",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6832,\r
-    "y": 4173,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6891.883331298828,\r
+    "y": 4229.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b25b6055.f41fc",\r
+    "id": "d342acdf.02b8f",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4461.999755859375,\r
-    "y": 5324,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4521.883087158203,\r
+    "y": 5380.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "b3fda79b.50166",\r
+    "id": "d849eb29.b778b",\r
     "type": "switchNode",\r
     "name": "switch no-pce-call",\r
     "xml": "<switch test='`$no-pce-call`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3718,\r
-    "y": 5025,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3777.883331298828,\r
+    "y": 5081.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "980c8526.303db",\r
-        "36a09550.068efa"\r
+        "ef9ce74a.0aa3e",\r
+        "75834f94.5997b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "36a09550.068efa",\r
+    "id": "75834f94.5997b",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3890,\r
-    "y": 5022,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3949.883331298828,\r
+    "y": 5078.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "de34c1af.7b7ab"\r
+        "f997d531.6d1e2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "980c8526.303db",\r
+    "id": "ef9ce74a.0aa3e",\r
     "type": "outcomeFalse",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3842,\r
-    "y": 5869,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3901.883331298828,\r
+    "y": 5925.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a5898926.6491f"\r
+        "7f678eb1.f9d898"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8ada44e5.f9f04",\r
+    "id": "94fb7d78.dd39a8",\r
     "type": "comment",\r
     "name": "1 --> PCE is needed",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3903,\r
-    "y": 4992,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3962.883331298828,\r
+    "y": 5048.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "5e264f22.beeb98",\r
+    "id": "d898a291.dc858",\r
     "type": "comment",\r
     "name": "2 --> no need to call PCE",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3913,\r
-    "y": 5827,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3972.883331298828,\r
+    "y": 5883.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "aac07044.b000d8",\r
+    "id": "92f41cb.d6037e",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6916,\r
-    "y": 4329,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6975.883331298828,\r
+    "y": 4385.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "de34c1af.7b7ab",\r
+    "id": "f997d531.6d1e2",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4066,\r
-    "y": 5024,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4125.883331298828,\r
+    "y": 5080.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "8283f1ca.0934e",\r
-        "d88e7d60.d8e85",\r
-        "d37e54c7.dc098",\r
-        "74df2b94.0f2054",\r
-        "e51131c0.7c711",\r
-        "77a4c18.eb27d4",\r
-        "b25b6055.f41fc"\r
+        "baabeea4.9ec638",\r
+        "fd2de0c3.4119c8",\r
+        "7962decb.29a4b8",\r
+        "1df2ddf.d8fc4a2",\r
+        "bb9baf34.d0edd",\r
+        "983065a0.b74e08",\r
+        "d342acdf.02b8f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "557f9fe2.05b59",\r
+    "id": "4b2297b2.c2986",\r
     "type": "comment",\r
     "name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5509.999755859375,\r
-    "y": 4949,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5569.883087158203,\r
+    "y": 5005.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8283f1ca.0934e",\r
+    "id": "baabeea4.9ec638",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4456.999755859375,\r
-    "y": 5627,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4516.883087158203,\r
+    "y": 5683.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "b8e3ea6a.2b3c98",\r
+    "id": "1663311a.25772f",\r
     "type": "save",\r
     "name": "save connectivityB relationship to UNI-ROOT, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6892,\r
-    "y": 3597,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6951.883331298828,\r
+    "y": 3653.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "f013f824.788458",\r
+    "id": "ac7755ab.b0ef2",\r
     "type": "save",\r
     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3376,\r
-    "y": 1786,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3435.883331298828,\r
+    "y": 1842.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "61df2559.b0a7f4",\r
+    "id": "2976ed1.40d8712",\r
     "type": "save",\r
     "name": "save LEAF UNI in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3283,\r
-    "y": 1733,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3342.883331298828,\r
+    "y": 1789.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a02e380a.b3cf4",\r
+    "id": "7c3bd1f7.b32788",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainB-uuid=tmp.ROOT.uni-p-interface-long",\r
     "xml": "<set>\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />\n",\r
     "comments": "",\r
-    "x": 6942,\r
-    "y": 3300,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7001.883331298828,\r
+    "y": 3356.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9901809f.3fcb1",\r
+    "id": "110e6104.d57bd7",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainA",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6889,\r
-    "y": 2888,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6948.883331298828,\r
+    "y": 2944.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "fb2dd54d.4da48",\r
+    "id": "9037ac75.0bc238",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6837,\r
-    "y": 2936,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6896.883331298828,\r
+    "y": 2992.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "2cb954fb.0ad334",\r
+    "id": "3017f19.9b8270e",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6965,\r
-    "y": 2983,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 7024.883331298828,\r
+    "y": 3039.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d3975532.a6eff",\r
+    "id": "2b4caca8.ebe43c",\r
     "type": "comment",\r
     "name": "Create LEAF connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6802,\r
-    "y": 2846,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6861.883331298828,\r
+    "y": 2902.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "328265e5.ceed9a",\r
+    "id": "b384a7be.8178a",\r
     "type": "save",\r
     "name": "save LEAF UNI in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6799,\r
-    "y": 3074,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6858.883331298828,\r
+    "y": 3130.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c5a55a83.29a8d8",\r
+    "id": "bc57a86f.472ff",\r
     "type": "save",\r
     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6892,\r
-    "y": 3127,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6951.883331298828,\r
+    "y": 3183.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "24258df6.dd1f32",\r
+    "id": "a5d38ce2.eac838",\r
     "type": "comment",\r
     "name": "Create LEAF UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6783,\r
-    "y": 3030,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6842.883331298828,\r
+    "y": 3086.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9e59bbd5.dc241",\r
+    "id": "232bd10a.a8b54e",\r
     "type": "comment",\r
     "name": "Create ROOT UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6789,\r
-    "y": 3480,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6848.883331298828,\r
+    "y": 3536.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "74df2b94.0f2054",\r
+    "id": "1df2ddf.d8fc4a2",\r
     "type": "save",\r
     "name": "save LEAF UNI in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4378.999755859375,\r
-    "y": 4957,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4438.883087158203,\r
+    "y": 5013.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e382f150.3ff898",\r
+    "id": "5696f41b.05cf84",\r
     "type": "comment",\r
     "name": "Create LEAF UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4362.999755859375,\r
-    "y": 4913,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4422.883087158203,\r
+    "y": 4969.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b5d28059.1f56c",\r
+    "id": "462a954a.4cebb4",\r
     "type": "comment",\r
     "name": "Create LEAF connectivity",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5109.999755859375,\r
-    "y": 4944,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5169.883087158203,\r
+    "y": 5000.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9a9628dc.017478",\r
+    "id": "5bab7896.e13d9",\r
     "type": "execute",\r
     "name": "execute UUID generator for connectivity domainA",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5196.999755859375,\r
-    "y": 4986,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5256.883087158203,\r
+    "y": 5042.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "73763019.23312",\r
+    "id": "ec708b2b.d3c6e",\r
     "type": "save",\r
     "name": "save connectivity resource in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$middle-man-conn.etht-svc-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5144.999755859375,\r
-    "y": 5034,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5204.883087158203,\r
+    "y": 5090.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "8700555a.80709",\r
+    "id": "dea6b450.126ae",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5272.999755859375,\r
-    "y": 5081,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5332.883087158203,\r
+    "y": 5137.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "77a4c18.eb27d4",\r
+    "id": "983065a0.b74e08",\r
     "type": "save",\r
     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4449.999755859375,\r
-    "y": 5366,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4509.883087158203,\r
+    "y": 5422.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d49ec047.690ff8",\r
+    "id": "e263a78e.c8cba",\r
     "type": "comment",\r
     "name": "populate connectivity-B variable in the context map",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4432.999755859375,\r
-    "y": 5428,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4492.883087158203,\r
+    "y": 5484.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d88e7d60.d8e85",\r
+    "id": "fd2de0c3.4119c8",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4543.999755859375,\r
-    "y": 5470,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4603.883087158203,\r
+    "y": 5526.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "b06e730a.cb4f08",\r
+    "id": "631f5baa.6a836c",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainB-uuid",\r
     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4991.999755859375,\r
-    "y": 5523,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5051.883087158203,\r
+    "y": 5579.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "86caea3e.0715e8",\r
+    "id": "4505fb5a.3099fc",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4301.999755859375,\r
-    "y": 6221,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4361.883087158203,\r
+    "y": 6277.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "54495687.db6e08",\r
+    "id": "78bf173f.567498",\r
     "type": "save",\r
     "name": "save LEAF UNI in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4234.999755859375,\r
-    "y": 6175,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4294.883087158203,\r
+    "y": 6231.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "eb729332.c66588",\r
+    "id": "79075338.970b1c",\r
     "type": "comment",\r
     "name": "Create LEAF UNI",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4183.999755859375,\r
-    "y": 6126,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4243.883087158203,\r
+    "y": 6182.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d4928728.f80f18",\r
+    "id": "552d64d8.079684",\r
     "type": "save",\r
     "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4967,\r
-    "y": 6332,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5026.883331298828,\r
+    "y": 6388.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d37e54c7.dc098",\r
+    "id": "7962decb.29a4b8",\r
     "type": "switchNode",\r
     "name": "switch found-root-connectivity",\r
     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4370.999755859375,\r
-    "y": 5527,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4430.883087158203,\r
+    "y": 5583.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "94ae8414.9a9908",\r
-        "bf5ff48.5c73588"\r
+        "a8868823.64a65",\r
+        "f3d79a89.da5f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "94ae8414.9a9908",\r
+    "id": "a8868823.64a65",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4581.999755859375,\r
-    "y": 5527,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4641.883087158203,\r
+    "y": 5583.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "62e35c20.8fafcc"\r
+        "8c7e9ec3.edd538"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "62e35c20.8fafcc",\r
+    "id": "8c7e9ec3.edd538",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4737.999755859375,\r
-    "y": 5523,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4797.883087158203,\r
+    "y": 5579.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b06e730a.cb4f08",\r
-        "4dbfd84e.baba9",\r
-        "22a50e4b.58e402"\r
+        "631f5baa.6a836c",\r
+        "e719db8e.3b76c8",\r
+        "63d85a3d.4103fc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bf5ff48.5c73588",\r
+    "id": "f3d79a89.da5f",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4577.999755859375,\r
-    "y": 5575,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4637.883087158203,\r
+    "y": 5631.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "98134483.cc3d7"\r
+        "c9509718.d9f2e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "98134483.cc3d7",\r
+    "id": "c9509718.d9f2e8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
     "comments": "",\r
-    "x": 4725.999755859375,\r
-    "y": 5570,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4785.883087158203,\r
+    "y": 5626.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f71cc5a0.3af018",\r
+    "id": "10f1aa00.faee3e",\r
     "type": "save",\r
     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5233.999755859375,\r
-    "y": 5152,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5293.883087158203,\r
+    "y": 5208.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "2c19139d.1b72fc",\r
+    "id": "dca67cc5.30d2f8",\r
     "type": "execute",\r
     "name": "execute UUID generator for ethernet-service-name",\r
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 2401,\r
-    "y": 111,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2460.883331298828,\r
+    "y": 167.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "24e6a4ae.ee277c",\r
+    "id": "ce64f5e6.94469",\r
     "type": "set",\r
     "name": "set new ethernet-service-name",\r
     "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 2335,\r
-    "y": 147,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2394.883331298828,\r
+    "y": 203.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f4d12dd6.283218",\r
+    "id": "10c1b340.47f61d",\r
     "type": "comment",\r
     "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
     "info": "",\r
     "comments": "",\r
-    "x": 2520,\r
-    "y": 74,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 2579.883331298828,\r
+    "y": 130.88333129882812,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "24b292e6.4df33e",\r
+    "id": "7299a42e.833c84",\r
     "type": "set",\r
     "name": "set current-provider-id and current-cvlan-id",\r
     "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
     "comments": "",\r
-    "x": 4268.999755859375,\r
-    "y": 6287,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4328.883087158203,\r
+    "y": 6343.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "7a0aa2d.fce125c",\r
+    "id": "14b14bf.2fcb6b4",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4401.999755859375,\r
-    "y": 6335,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4461.883087158203,\r
+    "y": 6391.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "50b3cc59.11db24",\r
+    "id": "787fc902.6b8688",\r
     "type": "switchNode",\r
     "name": "switch found-connectivity?",\r
     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4220.999755859375,\r
-    "y": 6393,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4280.883087158203,\r
+    "y": 6449.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "3d73c45f.10f0ec",\r
-        "cd840dd8.7d1be8"\r
+        "17a7dc18.0b8f9c",\r
+        "f762f.a378f1d18"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3d73c45f.10f0ec",\r
+    "id": "17a7dc18.0b8f9c",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4413.999755859375,\r
-    "y": 6394,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4473.883087158203,\r
+    "y": 6450.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "bd700c8c.0189e8"\r
+        "22a4f0b9.5cc3f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bd700c8c.0189e8",\r
+    "id": "22a4f0b9.5cc3f",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
     "comments": "",\r
-    "x": 4569.999755859375,\r
-    "y": 6391,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4629.883087158203,\r
+    "y": 6447.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "cd840dd8.7d1be8",\r
+    "id": "f762f.a378f1d18",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4417.999755859375,\r
-    "y": 6438,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4477.883087158203,\r
+    "y": 6494.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a8ddf5df.ccbdb"\r
+        "82673a8f.5388f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a8ddf5df.ccbdb",\r
+    "id": "82673a8f.5388f",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4556.999755859375,\r
-    "y": 6433,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4616.883087158203,\r
+    "y": 6489.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d4928728.f80f18",\r
-        "dd8d3775.a881a",\r
-        "85ecad27.9bfc8",\r
-        "72e32840.b04238",\r
-        "704867e2.0c96c8",\r
-        "27d3e822.44bc48",\r
-        "e87bb1d8.7deca",\r
-        "fd00316c.9df6b",\r
-        "dbdf2c9.87c1b5",\r
-        "4bb3191b.a6309",\r
-        "6165612a.74a1f8",\r
-        "901e2d41.157da8"\r
+        "552d64d8.079684",\r
+        "b152a028.0e0e48",\r
+        "df3932b1.5cfd1",\r
+        "dd853f0d.c675b",\r
+        "6a2f520.9e626b",\r
+        "4ac1ad89.6ecd0c",\r
+        "5a7c34be.0eee64",\r
+        "f8b3148.1a90a68",\r
+        "506cbb81.2befbc",\r
+        "e29af13.61a371",\r
+        "1a8fecd4.39509b",\r
+        "2374b67.d3b424a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e87bb1d8.7deca",\r
+    "id": "5a7c34be.0eee64",\r
     "type": "save",\r
     "name": "get all-vpn-bindings from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4753.999755859375,\r
-    "y": 7112,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4813.883087158203,\r
+    "y": 7168.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "50c2bb1d.1918b4",\r
-        "5f510bf0.f61244",\r
-        "bca3f050.7f93f"\r
+        "8d3fe228.0e9ab8",\r
+        "92f94e1c.33687",\r
+        "710bd5c.e65692c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "50c2bb1d.1918b4",\r
+    "id": "8d3fe228.0e9ab8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4958.999755859375,\r
-    "y": 7109,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5018.883087158203,\r
+    "y": 7165.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6803d387.7ac854"\r
+        "867b5387.a77e68"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5f510bf0.f61244",\r
+    "id": "92f94e1c.33687",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4942.49072265625,\r
-    "y": 7170.574035644531,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5002.374053955078,\r
+    "y": 7227.457366943359,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d60db86d.dbd268"\r
+        "32a9210e.f5a66e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bca3f050.7f93f",\r
+    "id": "710bd5c.e65692c",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4939.999755859375,\r
-    "y": 7214,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4999.883087158203,\r
+    "y": 7270.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "1f943971.7bdbb7"\r
+        "5f13dad2.143724"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6803d387.7ac854",\r
+    "id": "867b5387.a77e68",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5127,\r
-    "y": 7104,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5186.883331298828,\r
+    "y": 7160.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "90b83d2f.dffcf"\r
+        "a6483ec8.fd095"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d60db86d.dbd268",\r
+    "id": "32a9210e.f5a66e",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5105.0621337890625,\r
-    "y": 7170.859771728516,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5164.945465087891,\r
+    "y": 7227.743103027344,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1f943971.7bdbb7",\r
+    "id": "5f13dad2.143724",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 5106.999755859375,\r
-    "y": 7213,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5166.883087158203,\r
+    "y": 7269.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "90b83d2f.dffcf",\r
+    "id": "a6483ec8.fd095",\r
     "type": "for",\r
     "name": "for vpnidx in all-vpn-bindings",\r
     "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5361.999755859375,\r
-    "y": 7120,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5421.883087158203,\r
+    "y": 7176.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "495a0b6e.3eb454"\r
+        "2bfd9e0f.b0b65a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "495a0b6e.3eb454",\r
+    "id": "2bfd9e0f.b0b65a",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5598.999755859375,\r
-    "y": 7116,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5658.883087158203,\r
+    "y": 7172.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "34e344a3.9ead3c"\r
+        "f7d1e8ad.4dc7b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fe37ae21.64a32",\r
+    "id": "58dab986.f5f5a",\r
     "type": "switchNode",\r
     "name": "switch vpnuuid is for this slice",\r
     "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5865.999755859375,\r
-    "y": 7082,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5925.883087158203,\r
+    "y": 7138.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "f98c5893.919c78",\r
-        "e901664c.c5fec"\r
+        "25d3132f.f14084",\r
+        "88844ebd.a9a5b"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f98c5893.919c78",\r
+    "id": "25d3132f.f14084",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6046.999755859375,\r
-    "y": 7108,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6106.883087158203,\r
+    "y": 7164.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "34e344a3.9ead3c"\r
+        "f7d1e8ad.4dc7b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e901664c.c5fec",\r
+    "id": "88844ebd.a9a5b",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6045.999755859375,\r
-    "y": 7061,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6105.883087158203,\r
+    "y": 7117.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "34e344a3.9ead3c",\r
+    "id": "f7d1e8ad.4dc7b8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4789.999755859375,\r
-    "y": 7383,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4849.883087158203,\r
+    "y": 7439.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "254dab5b.54ef9c"\r
+        "a21574dc.7f1048"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9666a3e2.48dd48",\r
+    "id": "da2d189.a0c85e8",\r
     "type": "set",\r
     "name": "set tmp.aai.the-vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
     "comments": "",\r
-    "x": 5638.999755859375,\r
-    "y": 7288,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5698.883087158203,\r
+    "y": 7344.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d1379ae2.1582e8",\r
+    "id": "9ec2c103.e591",\r
     "type": "comment",\r
     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4851.999755859375,\r
-    "y": 7059,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4911.883087158203,\r
+    "y": 7115.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "27d3e822.44bc48",\r
+    "id": "4ac1ad89.6ecd0c",\r
     "type": "set",\r
     "name": "set srcTtp OTN layer",\r
     "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4735.999755859375,\r
-    "y": 6908,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4795.883087158203,\r
+    "y": 6964.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e580aaa3.2d8a9",\r
+    "id": "2add06b4.24634a",\r
     "type": "switchNode",\r
     "name": "switch provider-id domainA",\r
     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5080.999755859375,\r
-    "y": 6739,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5140.883087158203,\r
+    "y": 6795.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ef9ad0a5.eedb18"\r
+        "a410e22f.bcf42"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ef9ad0a5.eedb18",\r
+    "id": "a410e22f.bcf42",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5300.999755859375,\r
-    "y": 6745,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5360.883087158203,\r
+    "y": 6801.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "5a7e6348.1665b4"\r
+        "22269296.bf623e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5a7e6348.1665b4",\r
+    "id": "22269296.bf623e",\r
     "type": "switchNode",\r
     "name": "switch te-topo-id",\r
     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5485.999755859375,\r
-    "y": 6744,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5545.883087158203,\r
+    "y": 6800.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "da67f694.85343"\r
+        "66b1e6be.5824e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "da67f694.85343",\r
+    "id": "66b1e6be.5824e",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5677.999755859375,\r
-    "y": 6747,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5737.883087158203,\r
+    "y": 6803.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "4b28f457.fca6dc"\r
+        "19dd27ef.ab039"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4b28f457.fca6dc",\r
+    "id": "19dd27ef.ab039",\r
     "type": "set",\r
     "name": "set otnTopoIdSrc",\r
     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
     "comments": "",\r
-    "x": 5886.999755859375,\r
-    "y": 6745,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5946.883087158203,\r
+    "y": 6801.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "fd00316c.9df6b",\r
+    "id": "f8b3148.1a90a68",\r
     "type": "for",\r
     "name": "for netwidx..allNetworksList_length",\r
     "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4787.999755859375,\r
-    "y": 6733,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4847.883087158203,\r
+    "y": 6789.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "e580aaa3.2d8a9"\r
+        "2add06b4.24634a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "85ecad27.9bfc8",\r
+    "id": "df3932b1.5cfd1",\r
     "type": "get-resource",\r
     "name": "get-resource network-resources-list",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4795.999755859375,\r
-    "y": 6626,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4855.883087158203,\r
+    "y": 6682.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "bf91a387.2b3ef",\r
-        "a3168ee5.a6eba",\r
-        "a823346f.949088"\r
+        "6d632da3.ca2994",\r
+        "65bd7037.bc9ea",\r
+        "29b67365.cad774"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bf91a387.2b3ef",\r
+    "id": "6d632da3.ca2994",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5031.999755859375,\r
-    "y": 6609,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5091.883087158203,\r
+    "y": 6665.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a3168ee5.a6eba",\r
+    "id": "65bd7037.bc9ea",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5028.999755859375,\r
-    "y": 6650,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5088.883087158203,\r
+    "y": 6706.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a823346f.949088",\r
+    "id": "29b67365.cad774",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5042.999755859375,\r
-    "y": 6690,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5102.883087158203,\r
+    "y": 6746.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "72e32840.b04238",\r
+    "id": "dd853f0d.c675b",\r
     "type": "set",\r
     "name": "unset parameters",\r
     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
     "comments": "",\r
-    "x": 4731.999755859375,\r
-    "y": 6785,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4791.883087158203,\r
+    "y": 6841.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "704867e2.0c96c8",\r
+    "id": "6a2f520.9e626b",\r
     "type": "set",\r
     "name": "set tmp.pce-src-node",\r
     "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
     "comments": "",\r
-    "x": 4739.999755859375,\r
-    "y": 6843,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4799.883087158203,\r
+    "y": 6899.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "dd8d3775.a881a",\r
+    "id": "b152a028.0e0e48",\r
     "type": "set",\r
     "name": "unset parameters",\r
     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
     "comments": "",\r
-    "x": 4744.999755859375,\r
-    "y": 6583,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4804.883087158203,\r
+    "y": 6639.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "405773c0.604cf4",\r
+    "id": "3d7b7763.09cfd",\r
     "type": "comment",\r
     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
     "comments": "",\r
-    "x": 4859.999755859375,\r
-    "y": 6535,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4919.883087158203,\r
+    "y": 6591.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "254dab5b.54ef9c",\r
+    "id": "a21574dc.7f1048",\r
     "type": "switchNode",\r
     "name": "switch ops-note is srcTtpOtnLayer",\r
     "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5032.999755859375,\r
-    "y": 7380,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5092.883087158203,\r
+    "y": 7436.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c4177590.731478",\r
-        "fbd9a21c.61ca1"\r
+        "b03df3ba.8ce8d8",\r
+        "c15c4a9f.54e778"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c4177590.731478",\r
+    "id": "b03df3ba.8ce8d8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5261.999755859375,\r
-    "y": 7357,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5321.883087158203,\r
+    "y": 7413.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "7eaf264d.a29568"\r
+        "b68c7fcf.24567"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "fbd9a21c.61ca1",\r
+    "id": "c15c4a9f.54e778",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5261.999755859375,\r
-    "y": 7406,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5321.883087158203,\r
+    "y": 7462.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "7eaf264d.a29568",\r
+    "id": "b68c7fcf.24567",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5422.999755859375,\r
-    "y": 7362,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5482.883087158203,\r
+    "y": 7418.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "63b355d2.4342ec",\r
-        "9666a3e2.48dd48",\r
-        "ddab8936.6aed7"\r
+        "57615513.3c37ac",\r
+        "da2d189.a0c85e8",\r
+        "aa5be19c.b28bd"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "74f5cdfa.eb70bc",\r
+    "id": "41927c2c.53b90c",\r
     "type": "comment",\r
     "name": "increase the bw of the-vpn-binding and change status to modified",\r
     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 5766.999755859375,\r
-    "y": 7342,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5826.883087158203,\r
+    "y": 7398.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ddab8936.6aed7",\r
+    "id": "aa5be19c.b28bd",\r
     "type": "save",\r
     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $gfp`' />\n\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5736.999755859375,\r
-    "y": 7402,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5796.883087158203,\r
+    "y": 7458.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "63b355d2.4342ec",\r
+    "id": "57615513.3c37ac",\r
     "type": "set",\r
     "name": "unset tmp.aai.the-vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
     "comments": "",\r
-    "x": 5643.999755859375,\r
-    "y": 7230,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5703.883087158203,\r
+    "y": 7286.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a5898926.6491f",\r
+    "id": "7f678eb1.f9d898",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3994,\r
-    "y": 5868,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4053.883331298828,\r
+    "y": 5924.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "54495687.db6e08",\r
-        "24b292e6.4df33e",\r
-        "7a0aa2d.fce125c",\r
-        "50b3cc59.11db24",\r
-        "86caea3e.0715e8"\r
+        "78bf173f.567498",\r
+        "7299a42e.833c84",\r
+        "14b14bf.2fcb6b4",\r
+        "787fc902.6b8688",\r
+        "4505fb5a.3099fc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2f70568d.ac5cfa",\r
+    "id": "950e3220.8c6648",\r
     "type": "set",\r
     "name": "unset otnTopoIdSrc",\r
     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
     "comments": "",\r
-    "x": 4736.999755859375,\r
-    "y": 6683,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4796.883087158203,\r
+    "y": 6739.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "dbdf2c9.87c1b5",\r
+    "id": "506cbb81.2befbc",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4860,\r
-    "y": 6413,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4919.883331298828,\r
+    "y": 6469.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "9514e457.86bcb",\r
+    "id": "ce6bcae6.279bf",\r
     "type": "comment",\r
     "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
     "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
     "comments": "",\r
-    "x": 4997,\r
-    "y": 6363,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5056.883331298828,\r
+    "y": 6419.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4295e286.bfc1e4",\r
+    "id": "3b830a4d.e803be",\r
     "type": "save",\r
     "name": "save ROOT UNI in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6805,\r
-    "y": 3539,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6864.883331298828,\r
+    "y": 3595.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "68ccdecd.da9c28",\r
+    "id": "debea5ca.c5efb8",\r
     "type": "comment",\r
     "name": "NOT NEEDED ANYMORE?",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4011,\r
-    "y": 1764,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4070.883331298828,\r
+    "y": 1820.8833312988281,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "604167bb.5b07c",\r
+    "id": "dcf5d1.89c23a3",\r
     "type": "comment",\r
     "name": "NOT NEEDED ANYMORE?",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3989,\r
-    "y": 2634,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4048.883331298828,\r
+    "y": 2690.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8e1315c9.c7504",\r
+    "id": "3dc14de7.91d75a",\r
     "type": "comment",\r
     "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
     "info": "",\r
     "comments": "",\r
-    "x": 6796,\r
-    "y": 4006,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6855.883331298828,\r
+    "y": 4062.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "52d5e6df.7a6948",\r
+    "id": "2530e84c.0abb78",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3501,\r
-    "y": 6008,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3560.883331298828,\r
+    "y": 6064.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d6cce90e.618d6",\r
+    "id": "fb71ca0a.fe8928",\r
     "type": "set",\r
     "name": "set current-provider-id and current-cvlan-id",\r
     "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
     "comments": "",\r
-    "x": 3712,\r
-    "y": 4885,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3771.883331298828,\r
+    "y": 4941.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1292663a.8513e2",\r
+    "id": "c01640bb.f526e8",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3845,\r
-    "y": 4933,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3904.883331298828,\r
+    "y": 4989.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e51131c0.7c711",\r
+    "id": "bb9baf34.d0edd",\r
     "type": "switchNode",\r
     "name": "switch found-connectivity?",\r
     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4389.999755859375,\r
-    "y": 5013,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4449.883087158203,\r
+    "y": 5069.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ed5f2a8f.0d1a9",\r
-        "e9808943.cadcd8"\r
+        "9b70cfc4.c55e3",\r
+        "fdbb8f8a.783248"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ed5f2a8f.0d1a9",\r
+    "id": "9b70cfc4.c55e3",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4582.999755859375,\r
-    "y": 5014,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4642.883087158203,\r
+    "y": 5070.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "1ae9053e.f80b53"\r
+        "c1e58440.70184"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e9808943.cadcd8",\r
+    "id": "fdbb8f8a.783248",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4586.999755859375,\r
-    "y": 5058,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4646.883087158203,\r
+    "y": 5114.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "63eaf34c.bfa79c"\r
+        "75c1affe.0ddba8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "63eaf34c.bfa79c",\r
+    "id": "75c1affe.0ddba8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4725.999755859375,\r
-    "y": 5053,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4785.883087158203,\r
+    "y": 5109.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "5c22d3df.9e2c54",\r
-        "cdccad8.628e65",\r
-        "86db9e26.58f248"\r
+        "4c2b44d5.f7301c",\r
+        "6ccb98db.74d4e8",\r
+        "d416487a.185998"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1ae9053e.f80b53",\r
+    "id": "c1e58440.70184",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4725.999755859375,\r
-    "y": 5010,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4785.883087158203,\r
+    "y": 5066.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "9a9628dc.017478",\r
-        "73763019.23312",\r
-        "8700555a.80709",\r
-        "f71cc5a0.3af018"\r
+        "5bab7896.e13d9",\r
+        "ec708b2b.d3c6e",\r
+        "dea6b450.126ae",\r
+        "10f1aa00.faee3e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5c22d3df.9e2c54",\r
+    "id": "4c2b44d5.f7301c",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainA-uuid",\r
     "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 5119.999755859375,\r
-    "y": 5304,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5179.883087158203,\r
+    "y": 5360.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "dc89033c.db42f",\r
+    "id": "eb20f196.54125",\r
     "type": "comment",\r
     "name": "populate connectivity-A variable in the context map",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5126.999755859375,\r
-    "y": 5258,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5186.883087158203,\r
+    "y": 5314.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4bb3191b.a6309",\r
+    "id": "e29af13.61a371",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4924.999755859375,\r
-    "y": 7008,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4984.883087158203,\r
+    "y": 7064.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "cdccad8.628e65",\r
+    "id": "6ccb98db.74d4e8",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5238.999755859375,\r
-    "y": 5357,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5298.883087158203,\r
+    "y": 5413.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "4dbfd84e.baba9",\r
+    "id": "e719db8e.3b76c8",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5120.999755859375,\r
-    "y": 5575,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5180.883087158203,\r
+    "y": 5631.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "aaf5216a.eeae28",\r
+    "id": "d1afb38c.0141a8",\r
     "type": "comment",\r
     "name": "Update ROOT UNI's bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3676,\r
-    "y": 4483,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3735.883331298828,\r
+    "y": 4539.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "87b59262.19be68",\r
+    "id": "42d36cb1.4fa424",\r
     "type": "save",\r
     "name": "update ROOT UNI in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4010,\r
-    "y": 4666,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4069.883331298828,\r
+    "y": 4722.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "99c42fc9.238f28",\r
+    "id": "298d7f45.2553b",\r
     "type": "save",\r
     "name": "get root uni from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3622,\r
-    "y": 4533,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3681.883331298828,\r
+    "y": 4589.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "31595937.eb192e",\r
-        "22ed3030.07f7",\r
-        "665827a1.858f8"\r
+        "9ef5d43.2b0bca8",\r
+        "3ef07e30.e6e7da",\r
+        "f6dffd82.1f8af"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "22ed3030.07f7",\r
+    "id": "3ef07e30.e6e7da",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3849.490966796875,\r
-    "y": 4505.573974609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3909.374298095703,\r
+    "y": 4562.457305908203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "dc72fe1c.e68cb8"\r
+        "afd7cfee.d60a88"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "665827a1.858f8",\r
+    "id": "f6dffd82.1f8af",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3845,\r
-    "y": 4549.999938964844,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3904.883331298828,\r
+    "y": 4606.883270263672,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a6baec30.078818"\r
+        "718ca986.9a7a48"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "dc72fe1c.e68cb8",\r
+    "id": "afd7cfee.d60a88",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4012.0625,\r
-    "y": 4504.859680175781,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4071.945831298828,\r
+    "y": 4561.743011474609,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a6baec30.078818",\r
+    "id": "718ca986.9a7a48",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4013,\r
-    "y": 4549.999938964844,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4072.883331298828,\r
+    "y": 4606.883270263672,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "cead87a8.8e6e18",\r
+    "id": "bbe16e71.3e09e8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3798,\r
-    "y": 4623,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3857.883331298828,\r
+    "y": 4679.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6dc71645.66cda8",\r
-        "87b59262.19be68"\r
+        "2abf34d.6a0b3cc",\r
+        "42d36cb1.4fa424"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "31595937.eb192e",\r
+    "id": "9ef5d43.2b0bca8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3629,\r
-    "y": 4623,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3688.883331298828,\r
+    "y": 4679.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "cead87a8.8e6e18"\r
+        "bbe16e71.3e09e8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6dc71645.66cda8",\r
+    "id": "2abf34d.6a0b3cc",\r
     "type": "set",\r
     "name": "set new bw",\r
     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",\r
     "comments": "",\r
-    "x": 3987,\r
-    "y": 4615,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4046.883331298828,\r
+    "y": 4671.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "978af086.86b638",\r
+    "id": "4ebb86dc.a0713",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $middle-man-conn.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$middle-man-conn.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3820,\r
-    "y": 4761,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3879.883331298828,\r
+    "y": 4817.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "b6303c7e.1a4d78",\r
+    "id": "e230ac3e.9cb188",\r
     "type": "comment",\r
     "name": "We are doing modify but middle man does not exist ==> it is definitely a new logical link",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3603,\r
-    "y": 2844,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3662.883331298828,\r
+    "y": 2900.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4a459c78.1597f4",\r
+    "id": "3d29417.d2eee3e",\r
     "type": "comment",\r
     "name": "We are doing modify and middle man exists, check if LEAF UNI already exists in AAI or not. If yes, consider the possible bw change. If it does not, then it is a new link needs to be added",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3458,\r
-    "y": 4411,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3517.883331298828,\r
+    "y": 4467.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "53b126d5.31588",\r
+    "id": "c01a7bbf.331a48",\r
     "type": "exists",\r
     "name": "exists LEAF UNI",\r
     "xml": "<exists plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3231,\r
-    "y": 4679,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3290.883331298828,\r
+    "y": 4735.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "60778167.b14ae8",\r
-        "7c3e1eb0.4f5258"\r
+        "19c2896c.95fdb7",\r
+        "cde01ebb.100c6"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b3f9daed.71701",\r
+    "id": "adcb6448.ea7478",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3063,\r
-    "y": 4682,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3122.883331298828,\r
+    "y": 4738.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "53b126d5.31588"\r
+        "c01a7bbf.331a48"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7c3e1eb0.4f5258",\r
+    "id": "cde01ebb.100c6",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3394,\r
-    "y": 4698,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3453.883331298828,\r
+    "y": 4754.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "cc64efe3.d91b48"\r
+        "68da37f9.05cc18"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "60778167.b14ae8",\r
+    "id": "19c2896c.95fdb7",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3430,\r
-    "y": 3305,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3489.883331298828,\r
+    "y": 3361.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ba6991ee.d10c88"\r
+        "b19d09a1.5b2a5"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "8a70b695.acfad8",\r
+    "id": "e9cce0c6.04cdf8",\r
     "type": "switchNode",\r
     "name": "switch leafuni.data-source == gfp",\r
     "xml": "<switch test='`$tmp.aai.leafuni.data-source == $gfp`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3746,\r
-    "y": 3357,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3805.883331298828,\r
+    "y": 3413.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "e00e54ae.19df5",\r
-        "8d19b4f.45dca48"\r
+        "24dd4d51.dc7852",\r
+        "a81116be.6c3738"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e00e54ae.19df5",\r
+    "id": "24dd4d51.dc7852",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3951,\r
-    "y": 3353,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4010.883331298828,\r
+    "y": 3409.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "8d19b4f.45dca48",\r
+    "id": "a81116be.6c3738",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3953,\r
-    "y": 3403,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4012.883331298828,\r
+    "y": 3459.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "bfb5d522.1c8f"\r
+        "29997430.010c94"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "bfb5d522.1c8f",\r
+    "id": "29997430.010c94",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4109,\r
-    "y": 3409,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4168.883331298828,\r
+    "y": 3465.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "913a939f.a7796",\r
-        "99a26dee.a8c93",\r
-        "405f8638.47d8b",\r
-        "7041bf45.3f922"\r
+        "f4475341.93d378",\r
+        "4264dea0.b43bb8",\r
+        "5f09d2da.19bfa4",\r
+        "c71fd59.dfc0428"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "913a939f.a7796",\r
+    "id": "f4475341.93d378",\r
     "type": "set",\r
     "name": "set bwModified",\r
     "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4335.000244140625,\r
-    "y": 3150,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4394.883575439453,\r
+    "y": 3206.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1f1cb5e7.86a3a2",\r
+    "id": "5f1f0cb4.e46a84",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4913.999755859375,\r
-    "y": 4081,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4926.883056640625,\r
+    "y": 4293.88330078125,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "9334ab3f.b057e8",\r
-        "830719d7.f425c"\r
+        "293be2f2.0d66a6",\r
+        "898be63d.63497"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "830719d7.f425c",\r
+    "id": "898be63d.63497",\r
     "type": "set",\r
     "name": "unset tmp.aai.vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
     "comments": "",\r
-    "x": 5156.99951171875,\r
-    "y": 4030,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5128.8828125,\r
+    "y": 4260.88330078125,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "4b5e092e.90e4a",\r
+    "id": "853d7a8b.2e02f",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4761,\r
-    "y": 4305.999755859375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4812.88330078125,\r
+    "y": 4470.883056640625,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a99f59e2.0b7f4",\r
+    "id": "1915e47b.7ebf64",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4758.0621337890625,\r
-    "y": 4254.859771728516,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4809.9454345703125,\r
+    "y": 4419.743072509766,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "47107257.07ed4c",\r
+    "id": "caf66330.b1b298",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4379.999755859375,\r
-    "y": 4081,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4392.883056640625,\r
+    "y": 4293.88330078125,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "74f02dc6.f3e414"\r
+        "ee97b865.b6783"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "74f02dc6.f3e414",\r
+    "id": "ee97b865.b6783",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4584.999755859375,\r
-    "y": 4081,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4597.883056640625,\r
+    "y": 4293.88330078125,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "1b38e917.2d37ff"\r
+        "c8ca8353.4e5678"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1b38e917.2d37ff",\r
+    "id": "c8ca8353.4e5678",\r
     "type": "outcome",\r
     "name": "vpn-binding",\r
     "xml": "<outcome value='vpn-binding'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4750.999755859375,\r
-    "y": 4081,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4763.883056640625,\r
+    "y": 4293.88330078125,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "1f1cb5e7.86a3a2"\r
+        "5f1f0cb4.e46a84"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9334ab3f.b057e8",\r
+    "id": "293be2f2.0d66a6",\r
     "type": "save",\r
     "name": "get vpn-binding from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4383.999755859375,\r
-    "y": 4207,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4435.883056640625,\r
+    "y": 4371.88330078125,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "cee536c3.51917",\r
-        "9ce1aec4.35a0f8",\r
-        "3311b32f.fd5cec"\r
+        "82c1720.e28a61",\r
+        "745eb7b1.5e824",\r
+        "fa83b701.248a2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cee536c3.51917",\r
+    "id": "82c1720.e28a61",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4594.999755859375,\r
-    "y": 4209,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4646.883056640625,\r
+    "y": 4373.88330078125,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6ce9ff77.88c36"\r
+        "74de082.69b8bf8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9ce1aec4.35a0f8",\r
+    "id": "745eb7b1.5e824",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4595.49072265625,\r
-    "y": 4254.574035644531,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4647.3740234375,\r
+    "y": 4419.457336425781,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a99f59e2.0b7f4"\r
+        "1915e47b.7ebf64"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3311b32f.fd5cec",\r
+    "id": "fa83b701.248a2",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4592.999755859375,\r
-    "y": 4298,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4644.883056640625,\r
+    "y": 4462.88330078125,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "4b5e092e.90e4a"\r
+        "853d7a8b.2e02f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ba6991ee.d10c88",\r
+    "id": "b19d09a1.5b2a5",\r
     "type": "save",\r
     "name": "get LEAF uni from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3620,\r
-    "y": 3200,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3679.883331298828,\r
+    "y": 3256.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "3e6e8807.399b1",\r
-        "6cb7f3.c190b00c",\r
-        "4ea4467e.d45e28"\r
+        "9b46823e.72756",\r
+        "35aaafce.bf5cc8",\r
+        "d1f12cfb.14a2c8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6cb7f3.c190b00c",\r
+    "id": "35aaafce.bf5cc8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3847.490966796875,\r
-    "y": 3172.573974609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3907.374298095703,\r
+    "y": 3229.457305908203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "3aa5489d.56185"\r
+        "c379ee48.9a04a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4ea4467e.d45e28",\r
+    "id": "d1f12cfb.14a2c8",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3843,\r
-    "y": 3216.9999389648438,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3902.883331298828,\r
+    "y": 3273.883270263672,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "2d33201a.1cd89"\r
+        "7e073ce5.e1fbec"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "3aa5489d.56185",\r
+    "id": "c379ee48.9a04a",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4010.0625,\r
-    "y": 3171.8596801757812,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4069.945831298828,\r
+    "y": 3228.7430114746094,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2d33201a.1cd89",\r
+    "id": "7e073ce5.e1fbec",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4011,\r
-    "y": 3216.9999389648438,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4070.883331298828,\r
+    "y": 3273.883270263672,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3e6e8807.399b1",\r
+    "id": "9b46823e.72756",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3855,\r
-    "y": 3267,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3914.883331298828,\r
+    "y": 3323.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "8a70b695.acfad8"\r
+        "e9cce0c6.04cdf8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9229fa15.bd2d6",\r
+    "id": "715dcd2e.3d9a6c",\r
     "type": "comment",\r
     "name": "Find LEAF and ROOT connectivity, then find vpn-bindings of each. adjust bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 3744.883331298828,\r
-    "y": 3457.883331298828,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3804.7666625976562,\r
+    "y": 3514.7666625976562,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "c7be917.1958a7",\r
+    "id": "b78f20d3.5b466",\r
     "type": "set",\r
     "name": "set current-provider-id and current-cvlan-id",\r
     "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
     "comments": "",\r
-    "x": 3759.60009765625,\r
-    "y": 3809.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3819.483428955078,\r
+    "y": 3866.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1c05cf82.c8b1",\r
+    "id": "9e72dea1.067a48",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3897.60009765625,\r
-    "y": 3867.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3957.483428955078,\r
+    "y": 3924.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "99a26dee.a8c93",\r
+    "id": "4264dea0.b43bb8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 3475.60009765625,\r
-    "y": 3549.083251953125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3535.483428955078,\r
+    "y": 3605.966583251953,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c7be917.1958a7",\r
-        "1c05cf82.c8b1",\r
-        "469db255.7b4444",\r
-        "efc1c364.4b4c58",\r
-        "6f34f40.331fa0c",\r
-        "1b1a4e3.a475eb2"\r
+        "ea9a5f5d.8f9bf8",\r
+        "1c248a70.8f6db6",\r
+        "1f0e75d7.8b5a2a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "469db255.7b4444",\r
+    "id": "d32411c9.b56a18",\r
     "type": "switchNode",\r
     "name": "switch found-connectivity?",\r
     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3716.60009765625,\r
-    "y": 3977.4833984375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3776.483428955078,\r
+    "y": 4034.366729736328,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "464367ed.3d00b",\r
-        "e6e54b24.32fb6"\r
+        "e283eb67.9ec4b",\r
+        "f5e18bc8.e6b668"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "464367ed.3d00b",\r
+    "id": "e283eb67.9ec4b",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3909.60009765625,\r
-    "y": 3978.4833984375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3969.483428955078,\r
+    "y": 4035.366729736328,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a3ebf193.e277d"\r
+        "ead422bf.e71108"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e6e54b24.32fb6",\r
+    "id": "f5e18bc8.e6b668",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3913.60009765625,\r
-    "y": 4022.4833984375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3973.483428955078,\r
+    "y": 4079.366729736328,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6798c9ca.f3748"\r
+        "c6dc9f70.44622"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6798c9ca.f3748",\r
+    "id": "c6dc9f70.44622",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4052.60009765625,\r
-    "y": 4017.4833984375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4112.483428955078,\r
+    "y": 4074.366729736328,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "47107257.07ed4c"\r
+        "caf66330.b1b298"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a3ebf193.e277d",\r
+    "id": "ead422bf.e71108",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
     "comments": "",\r
-    "x": 4053.60009765625,\r
-    "y": 3974.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4113.483428955078,\r
+    "y": 4031.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "405f8638.47d8b",\r
+    "id": "5f09d2da.19bfa4",\r
     "type": "switchNode",\r
     "name": "switch leafuni.data-source > gfp",\r
     "xml": "<switch test='`$tmp.aai.leafuni.data-source > $gfp`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4368.717041015625,\r
-    "y": 3406.283447265625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4428.600372314453,\r
+    "y": 3463.166778564453,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "69419f95.d9df48",\r
-        "ee782f6.725585"\r
+        "d442302c.ca32e",\r
+        "7bb1b9a.4551dc8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "69419f95.d9df48",\r
+    "id": "d442302c.ca32e",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4567.884033203125,\r
-    "y": 3472.88330078125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4627.767364501953,\r
+    "y": 3529.766632080078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "47d4988f.567e08"\r
+        "7e28b551.d4ae3c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ee782f6.725585",\r
+    "id": "7bb1b9a.4551dc8",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4589.884033203125,\r
-    "y": 3317.88330078125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4649.767364501953,\r
+    "y": 3374.766632080078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a0601673.d665f8"\r
+        "ff62768e.03d4d"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "7041bf45.3f922",\r
+    "id": "c71fd59.dfc0428",\r
     "type": "save",\r
     "name": "update LEAF UNI in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4367.717041015625,\r
-    "y": 3261.4833984375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4427.600372314453,\r
+    "y": 3318.366729736328,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "e5025cb2.c9e55",\r
+    "id": "5004b561.86b324",\r
     "type": "comment",\r
     "name": "update LEAF UNI with the new bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4383.884033203125,\r
-    "y": 3214.88330078125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4443.767364501953,\r
+    "y": 3271.766632080078,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "33a2f8f.d3c0e88",\r
+    "id": "3679700e.bfb9b8",\r
     "type": "comment",\r
     "name": "Update ROOT UNI's bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5052.650634765625,\r
-    "y": 3191.88330078125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5112.533966064453,\r
+    "y": 3248.766632080078,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b9a113e7.d0095",\r
+    "id": "180c72db.e0ca25",\r
     "type": "save",\r
     "name": "update ROOT UNI in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5654.650634765625,\r
-    "y": 3296.88330078125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5714.533966064453,\r
+    "y": 3353.766632080078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "7bc84398.962aec",\r
+    "id": "eaf2956b.f5da68",\r
     "type": "save",\r
     "name": "get root uni from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5044.650390625,\r
-    "y": 3237.88330078125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5104.533721923828,\r
+    "y": 3294.766632080078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "e062888e.c155b",\r
-        "d6caf7a3.a3e818",\r
-        "20426568.d3347a"\r
+        "94b5c3f.97615c",\r
+        "5f9fd4c2.f09244",\r
+        "be126d8d.81e41"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d6caf7a3.a3e818",\r
+    "id": "5f9fd4c2.f09244",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5272.141357421875,\r
-    "y": 3210.457275390625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5332.024688720703,\r
+    "y": 3267.340606689453,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "77c8310f.81edd8"\r
+        "7b864f73.0d50b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "20426568.d3347a",\r
+    "id": "be126d8d.81e41",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5267.650390625,\r
-    "y": 3254.8832397460938,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5327.533721923828,\r
+    "y": 3311.766571044922,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b2f89241.488ae8"\r
+        "20abe4f.26a359c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "77c8310f.81edd8",\r
+    "id": "7b864f73.0d50b8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5434.712890625,\r
-    "y": 3209.7429809570312,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5494.596221923828,\r
+    "y": 3266.6263122558594,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b2f89241.488ae8",\r
+    "id": "20abe4f.26a359c",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 5435.650390625,\r
-    "y": 3254.8832397460938,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5495.533721923828,\r
+    "y": 3311.766571044922,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "b4c466e5.83e028",\r
+    "id": "cd6b80d0.dac0d8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5432.650390625,\r
-    "y": 3304.88330078125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5492.533721923828,\r
+    "y": 3361.766632080078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b8d224b3.0d89f8",\r
-        "b9a113e7.d0095"\r
+        "c08f6988.b1e668",\r
+        "180c72db.e0ca25"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e062888e.c155b",\r
+    "id": "94b5c3f.97615c",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5263.650390625,\r
-    "y": 3304.88330078125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5323.533721923828,\r
+    "y": 3361.766632080078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "b4c466e5.83e028"\r
+        "cd6b80d0.dac0d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "b8d224b3.0d89f8",\r
+    "id": "c08f6988.b1e668",\r
     "type": "set",\r
     "name": "set new bw",\r
     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $tmp.delta`' />\n",\r
     "comments": "",\r
-    "x": 5614.651123046875,\r
-    "y": 3246.88330078125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5674.534454345703,\r
+    "y": 3303.766632080078,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "200ee7db.1193b",\r
+    "id": "96b13181.04b1f8",\r
     "type": "comment",\r
     "name": "bw+ has increased ",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4581.883331298828,\r
-    "y": 3279.883331298828,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4641.766662597656,\r
+    "y": 3336.7666625976562,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "cfd7c155.3c953",\r
+    "id": "a39bd08a.5e567",\r
     "type": "comment",\r
     "name": "bw- has decreased",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4580.717041015625,\r
-    "y": 3436.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4640.600372314453,\r
+    "y": 3493.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "a3f905ae.3412d",\r
+    "id": "ca05c492.e4ea9",\r
     "type": "comment",\r
     "name": "Update ROOT UNI's bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5029.717041015625,\r
-    "y": 3394.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5089.600372314453,\r
+    "y": 3451.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "5d9da8bf.af3198",\r
+    "id": "6af65c6b.88b2a4",\r
     "type": "save",\r
     "name": "update ROOT UNI in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5631.717041015625,\r
-    "y": 3499.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5691.600372314453,\r
+    "y": 3556.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "a2a42ec7.6b9908",\r
+    "id": "e7dc732b.754658",\r
     "type": "save",\r
     "name": "get root uni from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5021.716796875,\r
-    "y": 3440.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5081.600128173828,\r
+    "y": 3497.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "219cb518.4963a2",\r
-        "a37936ca.d95308",\r
-        "6315a679.c1d5a8"\r
+        "5192fc04.bc79ac",\r
+        "9675a219.e39ec8",\r
+        "491e7a3e.fd6efc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a37936ca.d95308",\r
+    "id": "9675a219.e39ec8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5249.207763671875,\r
-    "y": 3413.25732421875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5309.091094970703,\r
+    "y": 3470.140655517578,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "21614efe.681032"\r
+        "9eb1719c.df987"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6315a679.c1d5a8",\r
+    "id": "491e7a3e.fd6efc",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5244.716796875,\r
-    "y": 3457.6832885742188,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5304.600128173828,\r
+    "y": 3514.566619873047,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "f930a997.1bf728"\r
+        "73d5ba80.efe18c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "21614efe.681032",\r
+    "id": "9eb1719c.df987",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 5411.779296875,\r
-    "y": 3412.5430297851562,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5471.662628173828,\r
+    "y": 3469.4263610839844,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f930a997.1bf728",\r
+    "id": "73d5ba80.efe18c",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 5412.716796875,\r
-    "y": 3457.6832885742188,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5472.600128173828,\r
+    "y": 3514.566619873047,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "58bbac12.21e334",\r
+    "id": "49e14e2.90e413",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 5409.716796875,\r
-    "y": 3507.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5469.600128173828,\r
+    "y": 3564.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c0a335ca.1c8908",\r
-        "5d9da8bf.af3198"\r
+        "fc162869.747088",\r
+        "6af65c6b.88b2a4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "219cb518.4963a2",\r
+    "id": "5192fc04.bc79ac",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5240.716796875,\r
-    "y": 3507.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5300.600128173828,\r
+    "y": 3564.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "58bbac12.21e334"\r
+        "49e14e2.90e413"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c0a335ca.1c8908",\r
+    "id": "fc162869.747088",\r
     "type": "set",\r
     "name": "set new bw",\r
     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $tmp.delta`' />\n",\r
     "comments": "",\r
-    "x": 5591.717529296875,\r
-    "y": 3449.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5651.600860595703,\r
+    "y": 3506.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "137c150b.cd5fd3",\r
+    "id": "af7611a6.c24d8",\r
     "type": "set",\r
     "name": "set delta",\r
     "xml": "<set>\n<parameter name='tmp.delta' value='`$tmp.aai.leafuni.data-source - $gfp`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='false' />\n\n\n",\r
     "comments": "",\r
-    "x": 4946.716796875,\r
-    "y": 3353.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5006.600128173828,\r
+    "y": 3410.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "47d4988f.567e08",\r
+    "id": "7e28b551.d4ae3c",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4739.883331298828,\r
-    "y": 3461.883331298828,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4799.766662597656,\r
+    "y": 3518.7666625976562,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "137c150b.cd5fd3",\r
-        "a2a42ec7.6b9908"\r
+        "af7611a6.c24d8",\r
+        "e7dc732b.754658"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a0601673.d665f8",\r
+    "id": "ff62768e.03d4d",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4760.61669921875,\r
-    "y": 3288.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4820.500030517578,\r
+    "y": 3345.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "10246d12.f8d883",\r
-        "7bc84398.962aec"\r
+        "d835bd5d.93ef8",\r
+        "eaf2956b.f5da68"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "10246d12.f8d883",\r
+    "id": "d835bd5d.93ef8",\r
     "type": "set",\r
     "name": "set delta",\r
     "xml": "<set>\n<parameter name='tmp.delta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='true' />\n",\r
     "comments": "",\r
-    "x": 4959.4501953125,\r
-    "y": 3106.4833984375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5019.333526611328,\r
+    "y": 3163.366729736328,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "34d8fb24.fcb29c",\r
+    "id": "2025b954.4fbac6",\r
     "type": "comment",\r
     "name": "Update ROOT UNI's bw",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4354.7666015625,\r
-    "y": 3361.683349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4414.649932861328,\r
+    "y": 3418.566680908203,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "efc1c364.4b4c58",\r
+    "id": "976feb0e.893a98",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3803.10009765625,\r
-    "y": 4180.483642578125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3916.9833984375,\r
+    "y": 4197.3671875,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "6f34f40.331fa0c",\r
+    "id": "a99b9bcd.cfe81",\r
     "type": "switchNode",\r
     "name": "switch found-root-connectivity",\r
     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3638.10009765625,\r
-    "y": 4252.68359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3751.9833984375,\r
+    "y": 4269.567138671875,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "421e3ec9.1cf95",\r
-        "db056196.ffcc18"\r
+        "98f48307.654f08",\r
+        "d531b9e1.8374e"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "421e3ec9.1cf95",\r
+    "id": "98f48307.654f08",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3849.10009765625,\r
-    "y": 4252.68359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3962.9833984375,\r
+    "y": 4269.567138671875,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ebf2f5dc.a6d998"\r
+        "c74f3bbd.636d88"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "db056196.ffcc18",\r
+    "id": "d531b9e1.8374e",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 3845.10009765625,\r
-    "y": 4300.68359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 3958.9833984375,\r
+    "y": 4317.567138671875,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "dd6eee2e.c4fa6"\r
+        "7e7563eb.7c66dc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ebf2f5dc.a6d998",\r
+    "id": "c74f3bbd.636d88",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4005.10009765625,\r
-    "y": 4248.68359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4118.9833984375,\r
+    "y": 4265.567138671875,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "33d1e42e.bb2424"\r
+        "6a777147.b443f8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "dd6eee2e.c4fa6",\r
+    "id": "7e7563eb.7c66dc",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found but it should have been!' />\n",\r
     "comments": "",\r
-    "x": 3993.10009765625,\r
-    "y": 4295.68359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4106.9833984375,\r
+    "y": 4312.567138671875,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "fc79e006.6079c",\r
+    "id": "d69512d3.73027",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4900.066162109375,\r
-    "y": 4522.882568359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4959.949493408203,\r
+    "y": 4579.765899658203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c774ea44.ba62b",\r
-        "4da3b32.e6aba4c"\r
+        "cae5635c.9a1e2",\r
+        "6f0b5fb4.a1fb4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4da3b32.e6aba4c",\r
+    "id": "6f0b5fb4.a1fb4",\r
     "type": "set",\r
     "name": "unset tmp.aai.vpn-binding",\r
     "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
     "comments": "",\r
-    "x": 5143.06640625,\r
-    "y": 4491.882568359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5202.949737548828,\r
+    "y": 4548.765899658203,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "8e9b346.f926ac8",\r
+    "id": "e903ccd1.487f98",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic=\"true\">",\r
     "atomic": "true",\r
     "outputs": 1,\r
-    "x": 4760.066162109375,\r
-    "y": 4632.882568359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4819.949493408203,\r
+    "y": 4689.765899658203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d8bd194f.82e18"\r
+        "e80670f4.672e68"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "5987f578.7ab7ec",\r
+    "id": "c7ea39a3.498988",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
     "comments": "",\r
-    "x": 4748.06640625,\r
-    "y": 4725.8828125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4807.949737548828,\r
+    "y": 4782.766143798828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "96788a5f.fb73d8",\r
+    "id": "3f0dd5a.ea39aaa",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
     "comments": "",\r
-    "x": 4750.1285400390625,\r
-    "y": 4680.742340087891,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4810.011871337891,\r
+    "y": 4737.625671386719,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "33d1e42e.bb2424",\r
+    "id": "6a777147.b443f8",\r
     "type": "for",\r
     "name": "for each relationship",\r
     "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.ROOT.connectivity.relationship-list.relationship_length`' >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4366.066162109375,\r
-    "y": 4522.882568359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4425.949493408203,\r
+    "y": 4579.765899658203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "57073b47.b48554"\r
+        "b25b3b22.1646d"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "57073b47.b48554",\r
+    "id": "b25b3b22.1646d",\r
     "type": "switchNode",\r
     "name": "switch related-to",\r
     "xml": "<switch test='`$tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4571.066162109375,\r
-    "y": 4522.882568359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4630.949493408203,\r
+    "y": 4579.765899658203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "38862adc.eccce6"\r
+        "e858f590.02822"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "38862adc.eccce6",\r
+    "id": "e858f590.02822",\r
     "type": "outcome",\r
     "name": "vpn-binding",\r
     "xml": "<outcome value='vpn-binding'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4737.066162109375,\r
-    "y": 4522.882568359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4796.949493408203,\r
+    "y": 4579.765899658203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "fc79e006.6079c"\r
+        "d69512d3.73027"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c774ea44.ba62b",\r
+    "id": "cae5635c.9a1e2",\r
     "type": "save",\r
     "name": "get vpn-binding from aai",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4376.066162109375,\r
-    "y": 4632.882568359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4435.949493408203,\r
+    "y": 4689.765899658203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "1cfab11c.2d8e77",\r
-        "f94fa616.fec76",\r
-        "4edf7dd3.8d7454"\r
+        "a8297a32.4725f",\r
+        "102b4f2b.1cfcf9",\r
+        "6f0b5913.92db28"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1cfab11c.2d8e77",\r
+    "id": "a8297a32.4725f",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4587.066162109375,\r
-    "y": 4634.882568359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4646.949493408203,\r
+    "y": 4691.765899658203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "8e9b346.f926ac8"\r
+        "e903ccd1.487f98"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "f94fa616.fec76",\r
+    "id": "102b4f2b.1cfcf9",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4587.55712890625,\r
-    "y": 4680.456604003906,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4647.440460205078,\r
+    "y": 4737.339935302734,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "96788a5f.fb73d8"\r
+        "3f0dd5a.ea39aaa"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4edf7dd3.8d7454",\r
+    "id": "6f0b5913.92db28",\r
     "type": "failure",\r
     "name": "failure",\r
     "xml": "<outcome value='failure'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4585.066162109375,\r
-    "y": 4723.882568359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4644.949493408203,\r
+    "y": 4780.765899658203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "5987f578.7ab7ec"\r
+        "c7ea39a3.498988"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2a950f62.a5b77",\r
+    "id": "e8e91e40.c50e3",\r
     "type": "comment",\r
     "name": "Temporary skipping this check - to support multiple instances in one slice",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5995.883056640625,\r
-    "y": 7022.08349609375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6055.766387939453,\r
+    "y": 7078.966827392578,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "80d2509.9388bb",\r
+    "id": "12a072b1.a1936d",\r
     "type": "comment",\r
     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5272.35009765625,\r
-    "y": 4145.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5324.2333984375,\r
+    "y": 4310.16650390625,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6ce9ff77.88c36",\r
+    "id": "74de082.69b8bf8",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5061.35009765625,\r
-    "y": 4207.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4826.233642578125,\r
+    "y": 4376.16650390625,\r
+    "z": "7062000.f761",\r
     "wires": [\r
-      [\r
-        "6a93b09.0bf6b5"\r
-      ]\r
+      []\r
     ]\r
   },\r
   {\r
-    "id": "6a93b09.0bf6b5",\r
+    "id": "ac63c59c.83048",\r
     "type": "switchNode",\r
     "name": "switch ops-note is srcTtpOtnLayer",\r
-    "xml": "<switch test=\"`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+    "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5305.35009765625,\r
-    "y": 4213.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5357.2333984375,\r
+    "y": 4378.16650390625,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "df869d26.769e7",\r
-        "54afff98.91fe6"\r
+        "e6f065d2.aee8e",\r
+        "6b430222.42764c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "df869d26.769e7",\r
+    "id": "e6f065d2.aee8e",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5536.35009765625,\r
-    "y": 4219.282958984375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5482.2333984375,\r
+    "y": 4276.166259765625,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "956fa960.98f36"\r
+        "3f51a421.f29684"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "54afff98.91fe6",\r
+    "id": "6b430222.42764c",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5541.35009765625,\r
-    "y": 4293.282958984375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5601.233428955078,\r
+    "y": 4350.166290283203,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "b25ba259.308448",\r
+    "id": "b946186b.4be33",\r
     "type": "set",\r
     "name": "set srcTtp OTN layer",\r
     "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 4510.033203125,\r
-    "y": 3865,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4569.916534423828,\r
+    "y": 3921.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "2595900.42e62f",\r
+    "id": "402f3aa1.dbe4cc",\r
     "type": "switchNode",\r
     "name": "switch provider-id domainA",\r
     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4855.033203125,\r
-    "y": 3727,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4914.916534423828,\r
+    "y": 3783.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "f7c79bc.ed2f368"\r
+        "a579376d.bc3"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2aa73f1e.d8378",\r
+    "id": "d26cf0c5.68acc",\r
     "type": "for",\r
     "name": "for netwidx..allNetworksList_length",\r
     "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4562.033203125,\r
-    "y": 3721,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4621.916534423828,\r
+    "y": 3777.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "2595900.42e62f"\r
+        "402f3aa1.dbe4cc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a86c57e2.a366f8",\r
+    "id": "e2cb41dc.f4c8f8",\r
     "type": "not-found",\r
     "name": "not-found",\r
     "xml": "<outcome value='not-found'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4817.033203125,\r
-    "y": 3678,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4876.916534423828,\r
+    "y": 3734.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "4c9cebf4.1f804c",\r
+    "id": "72812dae.8552e4",\r
     "type": "set",\r
     "name": "unset parameters",\r
     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
     "comments": "",\r
-    "x": 4506.033203125,\r
-    "y": 3773,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4565.916534423828,\r
+    "y": 3829.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "92d67a36.4d6588",\r
+    "id": "82192f60.51b328",\r
     "type": "set",\r
     "name": "set tmp.pce-src-node",\r
     "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
     "comments": "",\r
-    "x": 4514.033203125,\r
-    "y": 3818,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4573.916534423828,\r
+    "y": 3874.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3d955905.d1d126",\r
+    "id": "37b8f0e0.bc121",\r
     "type": "set",\r
     "name": "unset otnTopoIdSrc",\r
     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
     "comments": "",\r
-    "x": 4511.033203125,\r
-    "y": 3671,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4570.916534423828,\r
+    "y": 3727.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "f7c79bc.ed2f368",\r
+    "id": "a579376d.bc3",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4764.033203125,\r
-    "y": 3795,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4823.916534423828,\r
+    "y": 3851.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "4caf1451.b1549c"\r
+        "bcbc46d8.da70d8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "4caf1451.b1549c",\r
+    "id": "bcbc46d8.da70d8",\r
     "type": "switchNode",\r
     "name": "switch te-topo-id",\r
     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4949.033203125,\r
-    "y": 3794,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5008.916534423828,\r
+    "y": 3850.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6c72501.b5308b"\r
+        "df0e838b.1a8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "6c72501.b5308b",\r
+    "id": "df0e838b.1a8",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5141.033203125,\r
-    "y": 3797,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5200.916534423828,\r
+    "y": 3853.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a4a53b14.d840c8"\r
+        "b552c813.211c2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a4a53b14.d840c8",\r
+    "id": "b552c813.211c2",\r
     "type": "set",\r
     "name": "set otnTopoIdSrc",\r
     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
     "comments": "",\r
-    "x": 5313.033203125,\r
-    "y": 3793,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5372.916534423828,\r
+    "y": 3849.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "1ee93347.2464a5",\r
+    "id": "9806e019.ad2a",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4689.033203125,\r
-    "y": 3908,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4748.916534423828,\r
+    "y": 3964.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "1b1a4e3.a475eb2",\r
+    "id": "ea9a5f5d.8f9bf8",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4206.033203125,\r
-    "y": 3693,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4265.916534423828,\r
+    "y": 3749.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "6e002627.71f3d",\r
-        "cc80a6e9.8d5da",\r
-        "4c9cebf4.1f804c",\r
-        "92d67a36.4d6588",\r
-        "b25ba259.308448",\r
-        "2aa73f1e.d8378",\r
-        "1ee93347.2464a5"\r
+        "4c3bbf42.6f3d68",\r
+        "e37c29b1.ce632",\r
+        "72812dae.8552e4",\r
+        "82192f60.51b328",\r
+        "b946186b.4be33",\r
+        "d26cf0c5.68acc",\r
+        "9806e019.ad2a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "415f667b.eaf5b",\r
+    "id": "805d495b.3d6b18",\r
     "type": "comment",\r
     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
     "comments": "",\r
-    "x": 4191.033203125,\r
-    "y": 3627,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4250.916534423828,\r
+    "y": 3683.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "cc80a6e9.8d5da",\r
+    "id": "e37c29b1.ce632",\r
     "type": "get-resource",\r
     "name": "get-resource network-resources-list",\r
     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4570.033203125,\r
-    "y": 3614,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4629.916534423828,\r
+    "y": 3670.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "cd1fca4d.1735d8",\r
-        "96e89105.72a848",\r
-        "a86c57e2.a366f8"\r
+        "942a4caf.d868d8",\r
+        "8905a79d.0fb76",\r
+        "e2cb41dc.f4c8f8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "cd1fca4d.1735d8",\r
+    "id": "942a4caf.d868d8",\r
     "type": "success",\r
     "name": "success",\r
     "xml": "<outcome value='success'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4806.033203125,\r
-    "y": 3597,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4865.916534423828,\r
+    "y": 3653.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "96e89105.72a848",\r
+    "id": "8905a79d.0fb76",\r
     "type": "other",\r
     "name": "other",\r
     "xml": "<outcome value='Other'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4803.033203125,\r
-    "y": 3638,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4862.916534423828,\r
+    "y": 3694.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "6e002627.71f3d",\r
+    "id": "4c3bbf42.6f3d68",\r
     "type": "set",\r
     "name": "unset parameters",\r
     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
     "comments": "",\r
-    "x": 4519.033203125,\r
-    "y": 3571,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4578.916534423828,\r
+    "y": 3627.883331298828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e62c93af.986d08",\r
+    "id": "94da922f.c01d98",\r
     "type": "comment",\r
     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5248.43310546875,\r
-    "y": 4620.39990234375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5308.316436767578,\r
+    "y": 4677.283233642578,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "d8bd194f.82e18",\r
+    "id": "e80670f4.672e68",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5037.43310546875,\r
-    "y": 4682.39990234375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5097.316436767578,\r
+    "y": 4739.283233642578,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c9e19536.e28d3"\r
+        "ed69a679.8ddb2"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c9e19536.e28d3",\r
+    "id": "ed69a679.8ddb2",\r
     "type": "switchNode",\r
     "name": "switch ops-note is srcTtpOtnLayer",\r
     "xml": "<switch test=\"`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5281.43310546875,\r
-    "y": 4688.39990234375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5341.316436767578,\r
+    "y": 4745.283233642578,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "2b2ae304.0b3ffc",\r
-        "c6c47f59.8c703"\r
+        "90bf5e35.d23788",\r
+        "6659c466.b510dc"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "2b2ae304.0b3ffc",\r
+    "id": "90bf5e35.d23788",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5512.43310546875,\r
-    "y": 4666.39990234375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5572.316436767578,\r
+    "y": 4723.283233642578,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ae674a71.79993"\r
+        "5ef895fb.b1bf7c"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c6c47f59.8c703",\r
+    "id": "6659c466.b510dc",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5517.43310546875,\r
-    "y": 4733.39990234375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5577.316436767578,\r
+    "y": 4790.283233642578,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "956fa960.98f36",\r
+    "id": "ef985380.75ae68",\r
     "type": "switchNode",\r
     "name": "switch tmp.isBwIncreased",\r
     "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5726.31689453125,\r
-    "y": 4231.08251953125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5826.2001953125,\r
+    "y": 4287.965576171875,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "1ecd65d3.ab1d8a",\r
-        "db311e45.3ec9c8"\r
+        "76a7bc4a.dd01dc",\r
+        "c64cf61b.17568"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "1ecd65d3.ab1d8a",\r
+    "id": "76a7bc4a.dd01dc",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5921.31689453125,\r
-    "y": 4159.08251953125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5981.200225830078,\r
+    "y": 4215.965850830078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "d1b82de4.09693"\r
+        "79b64e60.35626"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "db311e45.3ec9c8",\r
+    "id": "c64cf61b.17568",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5922.31689453125,\r
-    "y": 4292.08251953125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5982.200225830078,\r
+    "y": 4348.965850830078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ef4d4c31.5752b8"\r
+        "d1f760ec.7590a"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d1b82de4.09693",\r
+    "id": "79b64e60.35626",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6066.31689453125,\r
-    "y": 4159.082763671875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6126.200225830078,\r
+    "y": 4215.966094970703,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "55d1eb40.89e1f4",\r
-        "ab2949ce.172f58"\r
+        "a1fc801a.8dde7",\r
+        "f7199aa1.5a0618"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "55d1eb40.89e1f4",\r
+    "id": "a1fc801a.8dde7",\r
     "type": "save",\r
     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
-    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6359.31689453125,\r
-    "y": 4137.08251953125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6419.200225830078,\r
+    "y": 4193.965850830078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "ab2949ce.172f58",\r
+    "id": "f7199aa1.5a0618",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6310.966796875,\r
-    "y": 4184.3994140625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6370.850128173828,\r
+    "y": 4241.282745361328,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "75b24fb6.238bf",\r
+    "id": "598a3c97.c62cd4",\r
     "type": "comment",\r
     "name": "increase the bw of the-vpn-binding and change status to modified",\r
     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 6383.31689453125,\r
-    "y": 4098.08251953125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6443.200225830078,\r
+    "y": 4154.965850830078,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ef4d4c31.5752b8",\r
+    "id": "d1f760ec.7590a",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6078.31689453125,\r
-    "y": 4291.082763671875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6138.200225830078,\r
+    "y": 4347.966094970703,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c3994ac7.46bf7",\r
-        "bad5aad4.351bf8"\r
+        "e43682b5.56552",\r
+        "8aed809d.a72bd8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c3994ac7.46bf7",\r
+    "id": "e43682b5.56552",\r
     "type": "save",\r
-    "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
-    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "name": "update the-vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6371.31689453125,\r
-    "y": 4269.08251953125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6431.200225830078,\r
+    "y": 4325.965850830078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "bad5aad4.351bf8",\r
+    "id": "8aed809d.a72bd8",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6322.966796875,\r
-    "y": 4316.3994140625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6382.850128173828,\r
+    "y": 4373.282745361328,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "999a7b18.8746a",\r
+    "id": "3a2ab7c7.d2dab8",\r
     "type": "comment",\r
     "name": "decrease the bw of the-vpn-binding and change status to modified",\r
     "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 6395.31689453125,\r
-    "y": 4230.08251953125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6455.200225830078,\r
+    "y": 4286.965850830078,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "ae674a71.79993",\r
+    "id": "5ef895fb.b1bf7c",\r
     "type": "switchNode",\r
     "name": "switch tmp.isBwIncreased",\r
     "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5717.5498046875,\r
-    "y": 4673.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5777.433135986328,\r
+    "y": 4730.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ec19a864.ea4d58",\r
-        "d73a682a.7a7268"\r
+        "3e55897.59031f6",\r
+        "a1d97b4a.208e4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ec19a864.ea4d58",\r
+    "id": "3e55897.59031f6",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5912.5498046875,\r
-    "y": 4601.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5972.433135986328,\r
+    "y": 4658.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "a6f4ca31.afd9c8"\r
+        "1661a8d0.f6d65f"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "d73a682a.7a7268",\r
+    "id": "a1d97b4a.208e4",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5913.5498046875,\r
-    "y": 4734.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5973.433135986328,\r
+    "y": 4791.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "3928fc2d.e43684"\r
+        "5810f31a.0a9ed4"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "a6f4ca31.afd9c8",\r
+    "id": "1661a8d0.f6d65f",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6057.5498046875,\r
-    "y": 4601.283447265625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6117.433135986328,\r
+    "y": 4658.166778564453,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c910035e.3934c",\r
-        "169e4263.459d16"\r
+        "da6580ac.af986",\r
+        "ee810baa.63495"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "c910035e.3934c",\r
+    "id": "da6580ac.af986",\r
     "type": "save",\r
     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6350.5498046875,\r
-    "y": 4579.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6410.433135986328,\r
+    "y": 4636.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "169e4263.459d16",\r
+    "id": "ee810baa.63495",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6302.19970703125,\r
-    "y": 4626.60009765625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6362.083038330078,\r
+    "y": 4683.483428955078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "7e4549dd.7efbf",\r
+    "id": "87cf660.a2b3f18",\r
     "type": "comment",\r
     "name": "increase the bw of the-vpn-binding and change status to modified",\r
     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 6374.5498046875,\r
-    "y": 4540.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6434.433135986328,\r
+    "y": 4597.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "3928fc2d.e43684",\r
+    "id": "5810f31a.0a9ed4",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6069.5498046875,\r
-    "y": 4733.283447265625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6129.433135986328,\r
+    "y": 4790.166778564453,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "e1457a0f.b9d6c8",\r
-        "d5693b3e.f3011"\r
+        "80c260b2.6af7a",\r
+        "9a874787.276bd"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "e1457a0f.b9d6c8",\r
+    "id": "80c260b2.6af7a",\r
     "type": "save",\r
     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6362.5498046875,\r
-    "y": 4711.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6422.433135986328,\r
+    "y": 4768.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "d5693b3e.f3011",\r
+    "id": "9a874787.276bd",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 6314.19970703125,\r
-    "y": 4758.60009765625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6374.083038330078,\r
+    "y": 4815.483428955078,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "3c74357c.38d252",\r
+    "id": "815fc293.94d2f8",\r
     "type": "comment",\r
     "name": "decrease the bw of the-vpn-binding and change status to modified",\r
     "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
     "comments": "",\r
-    "x": 6386.5498046875,\r
-    "y": 4672.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 6446.433135986328,\r
+    "y": 4729.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "69e6b36a.f41024",\r
+    "id": "a537e9a.90f0c98",\r
     "type": "comment",\r
     "name": "Update connectivity status to modified",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5125.39990234375,\r
-    "y": 5413.4833984375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5185.283233642578,\r
+    "y": 5470.366729736328,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "86db9e26.58f248",\r
+    "id": "d416487a.185998",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5123.18310546875,\r
-    "y": 5453.68359375,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5183.066436767578,\r
+    "y": 5510.566925048828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "41cc1d.b64a83e4",\r
+    "id": "7898de27.66a698",\r
     "type": "comment",\r
     "name": "Update connectivity status to modified",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4998.433349609375,\r
-    "y": 5638.16650390625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5058.316680908203,\r
+    "y": 5695.049835205078,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "22a50e4b.58e402",\r
+    "id": "63d85a3d.4103fc",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4996.216552734375,\r
-    "y": 5678.36669921875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5056.099884033203,\r
+    "y": 5735.250030517578,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "c6ebbffd.4a2ec",\r
+    "id": "105ea6a7.242f79",\r
     "type": "call",\r
     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5100.5498046875,\r
-    "y": 6121.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5160.433135986328,\r
+    "y": 6178.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "49a56683.38e268",\r
+    "id": "8f43e7c7.1c41b8",\r
     "type": "switchNode",\r
     "name": "switch found-root-connectivity",\r
     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4927.5498046875,\r
-    "y": 6178.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4987.433135986328,\r
+    "y": 6235.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "9a2158f1.e886e",\r
-        "105a2de1.54e63a"\r
+        "4e0d7b1b.4cc2ec",\r
+        "609ed3b9.40f534"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "9a2158f1.e886e",\r
+    "id": "4e0d7b1b.4cc2ec",\r
     "type": "outcomeTrue",\r
     "name": "true",\r
     "xml": "<outcome value='true'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5138.5498046875,\r
-    "y": 6178.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5198.433135986328,\r
+    "y": 6235.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "ffb5bb91.04465"\r
+        "c2d7112c.1b117"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "105a2de1.54e63a",\r
+    "id": "609ed3b9.40f534",\r
     "type": "outcomeFalse",\r
     "name": "false",\r
     "xml": "<outcome value='false'>\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5134.5498046875,\r
-    "y": 6226.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5194.433135986328,\r
+    "y": 6283.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "42935a.ea360ca8"\r
+        "fd4c4e47.075cf8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "ffb5bb91.04465",\r
+    "id": "c2d7112c.1b117",\r
     "type": "block",\r
     "name": "block : atomic",\r
     "xml": "<block atomic='true'>",\r
     "atomic": "true",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5294.5498046875,\r
-    "y": 6174.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5354.433135986328,\r
+    "y": 6231.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "7f5bea08.d1b89c",\r
-        "f5914753.58912",\r
-        "9c4a57c9.e2032"\r
+        "c4eacefe.2b5518",\r
+        "773bf221.e0586c",\r
+        "f38f117c.80c7b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "42935a.ea360ca8",\r
+    "id": "fd4c4e47.075cf8",\r
     "type": "returnFailure",\r
     "name": "return failure",\r
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
     "comments": "",\r
-    "x": 5282.5498046875,\r
-    "y": 6221.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5342.433135986328,\r
+    "y": 6278.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "37f65b5f.7df50c",\r
+    "id": "a5cbc756.e321b8",\r
     "type": "comment",\r
     "name": "Update connectivity status to modified",\r
     "info": "",\r
     "comments": "",\r
-    "x": 5560.43359375,\r
-    "y": 6274.16650390625,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5620.316925048828,\r
+    "y": 6331.049835205078,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "9c4a57c9.e2032",\r
+    "id": "f38f117c.80c7b8",\r
     "type": "save",\r
     "name": "update connectivity resource in AAI",\r
     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5558.216796875,\r
-    "y": 6314.36669921875,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5618.100128173828,\r
+    "y": 6371.250030517578,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "f5914753.58912",\r
+    "id": "773bf221.e0586c",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 5677.5498046875,\r
-    "y": 6226.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5737.433135986328,\r
+    "y": 6283.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
   },\r
   {\r
-    "id": "7f5bea08.d1b89c",\r
+    "id": "c4eacefe.2b5518",\r
     "type": "set",\r
     "name": "set prop.connectivity-domainB-uuid",\r
     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
     "comments": "",\r
-    "x": 5548.5498046875,\r
-    "y": 6174.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5608.433135986328,\r
+    "y": 6231.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "e32403dd.64bd88",\r
+    "id": "5ff4d90f.61eca8",\r
     "type": "comment",\r
     "name": "populate connectivity-B variable in the context map",\r
     "info": "",\r
     "comments": "",\r
-    "x": 4989.5498046875,\r
-    "y": 6079.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5049.433135986328,\r
+    "y": 6136.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": []\r
   },\r
   {\r
-    "id": "6165612a.74a1f8",\r
+    "id": "1a8fecd4.39509b",\r
     "type": "block",\r
     "name": "block",\r
     "xml": "<block>\n",\r
     "atomic": "false",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4696.8828125,\r
-    "y": 6161.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 4756.766143798828,\r
+    "y": 6218.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       [\r
-        "c6ebbffd.4a2ec",\r
-        "49a56683.38e268"\r
+        "105ea6a7.242f79",\r
+        "8f43e7c7.1c41b8"\r
       ]\r
     ]\r
   },\r
   {\r
-    "id": "901e2d41.157da8",\r
+    "id": "2374b67.d3b424a",\r
     "type": "save",\r
     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
     "comments": "",\r
     "outputs": 1,\r
-    "x": 4975.63330078125,\r
-    "y": 6476.283203125,\r
-    "z": "d1707f77.d9d96",\r
+    "x": 5035.516632080078,\r
+    "y": 6533.166534423828,\r
+    "z": "7062000.f761",\r
     "wires": [\r
       []\r
     ]\r
+  },\r
+  {\r
+    "id": "5d1aa304.0ec964",\r
+    "type": "comment",\r
+    "name": "TODO: BUG -- DONE",\r
+    "info": "momkene connectivity haye vasati ke dummy hastand ham\nvpn-binding dashte bashand ke too in path involve hast pas\nbayad bw aan niz update shavad.",\r
+    "comments": "",\r
+    "x": 3740.8837890625,\r
+    "y": 3809.88330078125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1c248a70.8f6db6",\r
+    "type": "save",\r
+    "name": "get all-vpn-bindings from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4493.4169921875,\r
+    "y": 4084,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e8d15ab4.54c49",\r
+        "20b8f97c.98322e",\r
+        "6302d7c5.b6ebe8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3d05d16c.2a1566",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4595.4169921875,\r
+    "y": 4049,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e8d15ab4.54c49",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4698.4169921875,\r
+    "y": 4081,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7ec23daa.6a0bc4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "20b8f97c.98322e",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4681.907958984375,\r
+    "y": 4142.574035644531,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "36ba2eea.c2f3b2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6302d7c5.b6ebe8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4679.4169921875,\r
+    "y": 4186,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "949d59bf.9e67a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7ec23daa.6a0bc4",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4866.417236328125,\r
+    "y": 4076,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "df77d6a9.222ef"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "36ba2eea.c2f3b2",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4844.4793701171875,\r
+    "y": 4142.859771728516,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "949d59bf.9e67a",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 4846.4169921875,\r
+    "y": 4185,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "df77d6a9.222ef",\r
+    "type": "for",\r
+    "name": "for vpnidx in all-vpn-bindings",\r
+    "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5104.417236328125,\r
+    "y": 4081,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "abc8ebdb.52f0a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "abc8ebdb.52f0a8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5338.4169921875,\r
+    "y": 4088,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ac63c59c.83048"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1f0e75d7.8b5a2a",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.all-vpn-bindings",\r
+    "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4472.11669921875,\r
+    "y": 4010,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bffd072f.5e512",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5755.2666015625,\r
+    "y": 4098.5830078125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f3f61fe0.c57dd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f3f61fe0.c57dd",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5947.2666015625,\r
+    "y": 4087.583251953125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "8cedd329.3f3c9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8cedd329.3f3c9",\r
+    "type": "outcome",\r
+    "name": "connectivity",\r
+    "xml": "<outcome value='connectivity'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6129.2666015625,\r
+    "y": 4066.583251953125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "86e0777f.9370f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "86e0777f.9370f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 6291.2666015625,\r
+    "y": 4055.583251953125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "869c4324.9670f",\r
+        "bbb484a7.96add8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "869c4324.9670f",\r
+    "type": "set",\r
+    "name": "unset tmp.the-connectivity",\r
+    "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
+    "comments": "",\r
+    "x": 6488.2666015625,\r
+    "y": 3984.583251953125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3f51a421.f29684",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5609.216796875,\r
+    "y": 4214.582763671875,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ef985380.75ae68",\r
+        "bffd072f.5e512",\r
+        "bbf89c4c.2b2c98",\r
+        "55e59a7f.53654c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bbf89c4c.2b2c98",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.the-vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 5793.783203125,\r
+    "y": 3988.800048828125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "55e59a7f.53654c",\r
+    "type": "set",\r
+    "name": "set tmp.aai.the-vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
+    "comments": "",\r
+    "x": 5785.783203125,\r
+    "y": 4037.800048828125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bbb484a7.96add8",\r
+    "type": "set",\r
+    "name": "set tmp.the-connectivity",\r
+    "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
+    "comments": "",\r
+    "x": 6485.7333984375,\r
+    "y": 4083.800048828125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
   }\r
 ]
\ No newline at end of file
index 6248a17..6af72c1 100755 (executable)
@@ -298,3 +298,4 @@ GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-helper-find-ROOT-conn ${proj
 GENERIC-RESOURCE-API cll-vnf-topology-operation-find-maximum-used-tpn ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-delete ${project.version} sync
 GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-modify ${project.version} sync
+GENERIC-RESOURCE-API cll-vnf-topology-operation-cll-delete-VPNBs ${project.version} sync
index f49b946..9a35f12 100644 (file)
                         </for>
                     </block>
                 </outcome>
-                <outcome value='not-found'>
-                    <return status='failure'>
-                        <parameter name='ack-final' value='Y'/>
-                        <parameter name="error-code" value="500" />
-                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                    </return>
-                </outcome>
+                <outcome value='not-found'></outcome>
                 <outcome value='failure'>
                     <return status='failure'>
                         <parameter name='error-code' value='' />
                                             </outcome>
                                         </switch>
                                     </outcome>
-                                    <outcome value='not-found'>
-                                        <return status='failure'>
-                                            <parameter name='ack-final' value='Y'/>
-                                            <parameter name="error-code" value="500" />
-                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                                        </return>
-                                    </outcome>
+                                    <outcome value='not-found'></outcome>
                                     <outcome value='failure'>
                                         <return status='failure'>
                                             <parameter name='error-code' value='' />
                         </switch>
                     </for>
                 </outcome>
-                <outcome value='not-found'>
-                    <return status='failure'>
-                        <parameter name='ack-final' value='Y'/>
-                        <parameter name="error-code" value="500" />
-                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                    </return>
-                </outcome>
+                <outcome value='not-found'></outcome>
                 <outcome value='failure'>
                     <return status='failure'>
                         <parameter name='error-code' value='' />
diff --git a/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.xml b/platform-logic/generic-resource-api/src/main/xml/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.xml
new file mode 100644 (file)
index 0000000..a155f74
--- /dev/null
@@ -0,0 +1,216 @@
+<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}'>
+    <method rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync'>
+        <block atomic='true'>
+            <set>
+                <parameter name='allNetworksList.' value='' />
+            </set>
+            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                          resource="network-resources"
+                          key="selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'"
+                          local-only="false"
+                          pfx="allNetworksList" >
+                <outcome value='success'></outcome>
+                <outcome value='Other'></outcome>
+                <outcome value='not-found'></outcome>
+            </get-resource>
+            <for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >
+                <switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>
+                    <outcome value='true'>
+                        <switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>
+                            <outcome value='true'>
+                                <set>
+                                    <parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />
+                                </set>
+                            </outcome>
+                        </switch>
+                    </outcome>
+                </switch>
+            </for>
+            <set>
+                <parameter name='tmp.pce-src-node.' value='' />
+            </set>
+            <set>
+                <!--<parameter name='tmp.pce-src-node' value="`$param-prefix-domainA-pnfName[0] + '-' +-->
+                <!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->
+                <!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->
+                <!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->
+                <!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->
+                <!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->
+                <!--                                                   1 + '-' +-->
+                <!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->
+                <!--                                                   $param-prefix-domainA-pnfName[8]`" />-->
+                <parameter name='tmp.pce-src-node' value="`$param-prefix-domainA-pnfName[0] + '-' +
+                                                   $param-prefix-domainA-pnfName[1] + '-' +
+                                                   $param-prefix-domainA-pnfName[2] + '-' +
+                                                   $param-prefix-domainA-pnfName[3] + '-' +
+                                                   $param-prefix-domainA-pnfName[4] + '-' +
+                                                   $param-prefix-domainA-pnfName[5] + '-' +
+                                                   $otnTopoIdSrc + '-' +
+                                                   $param-prefix-domainA-pnfName[7] + '-' +
+                                                   $param-prefix-domainA-pnfName[8]`" />
+            </set>
+            <set>
+                <!--<parameter name='tmp.srcTtpOtnLayer' value="`$tmp.pce-src-node + '-' + -->
+                <!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->
+                <!--                                             $tmp.source.ttp-id`" />-->
+                <parameter name='tmp.srcTtpOtnLayer' value="`$tmp.pce-src-node`" />
+            </set>
+            <block>
+                <set>
+                    <parameter name='tmp.aai.all-vpn-bindings.' value='' />
+                </set>
+                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                              resource="vpn-bindings"
+                              key="selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings"
+                              local-only="false"
+                              pfx="tmp.aai.all-vpn-bindings" >
+                    <outcome value='success'>
+                        <block atomic="true">
+                            <for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >
+                                <block atomic='true'>
+                                    <switch test="`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `">
+                                        <outcome value='true'>
+                                            <block atomic="true">
+                                                <set>
+                                                    <parameter name='tmp.aai.vpn-binding.' value="" />
+                                                </set>
+                                                <set>
+                                                    <parameter name='tmp.aai.vpn-binding.' value="`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`" />
+                                                </set>
+                                                <set>
+                                                    <parameter name='tmp.domain.pnf-name' value="`'networkId-providerId-' +
+                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +
+                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +
+                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +
+                                                   $tmp.aai.vpn-binding.src-access-node-id`" />
+                                                </set>
+                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                              resource="pnf"
+                                                              key="pnf.pnf-name = $tmp.domain.pnf-name"
+                                                              pfx='tmp.aai.source-pnf' local-only='false' >
+                                                    <!--AND depth = '0'"-->
+                                                    <outcome value='success'>
+                                                        <block>
+                                                            <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
+                                                                <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                                    <outcome value='esr-thirdparty-sdnc'>
+                                                                        <block atomic="true">
+                                                                            <set>
+                                                                                <parameter name='tmp.domain.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                            </set>
+                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                          resource="esr-thirdparty-sdnc"
+                                                                                          key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                          pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >
+                                                                                <outcome value='success'>
+                                                                                    <block>
+                                                                                        <set>
+                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                            <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                            <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                            <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                            <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                            <!--<parameter name="format" value="json"/>-->
+                                                                                            <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                            <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                            <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                            <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                            <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                            <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                        </set>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                                <outcome value='not-found'>
+                                                                                    <return status='failure'>
+                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                        <parameter name="error-code" value="500" />
+                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                    </return>
+                                                                                </outcome>
+                                                                                <outcome value='Other'>
+                                                                                    <return status='failure'>
+                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                        <parameter name="error-code" value="500" />
+                                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                    </return>
+                                                                                </outcome>
+                                                                            </get-resource>
+                                                                            <break/>
+                                                                        </block>
+                                                                    </outcome>
+                                                                </switch>
+                                                            </for>
+                                                        </block>
+                                                    </outcome>
+                                                    <outcome value='not-found'>
+                                                        <return status='failure'>
+                                                            <parameter name='ack-final' value='Y'/>
+                                                            <parameter name="error-code" value="500" />
+                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                        </return>
+                                                    </outcome>
+                                                    <outcome value='Other'>
+                                                        <return status='failure'>
+                                                            <parameter name='ack-final' value='Y'/>
+                                                            <parameter name="error-code" value="500" />
+                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                        </return>
+                                                    </outcome>
+                                                </get-resource>
+                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                    <!--<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`" />-->
+                                                    <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`" />
+                                                    <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domain.user`" />
+                                                    <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domain.password`" />
+                                                    <parameter name="format" value="json"/>
+                                                    <parameter name="httpMethod" value="delete"/>
+                                                    <parameter name="responsePrefix" value="otn-oof"/>
+                                                    <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                    <parameter name="trustStorePassword" value="adminadmin"/>
+                                                    <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                    <parameter name="keyStorePassword" value="adminadmin"/>
+                                                    <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />
+                                                    <outcome value='failure'>
+                                                        <return status='failure'>
+                                                            <parameter name='ack-final' value='Y'/>
+                                                            <parameter name="error-code" value="500" />
+                                                            <parameter name="error-message" value="Error executing delete OTN tunnel rest api" />
+                                                        </return>
+                                                    </outcome>
+                                                    <outcome value='success'>
+                                                        <block atomic="true"></block>
+                                                    </outcome>
+                                                </execute>
+                                                <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+                                                        key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' ></delete>
+                                            </block>
+                                        </outcome>
+                                        <outcome value='false'></outcome>
+                                    </switch>
+                                </block>
+                            </for>
+                        </block>
+                    </outcome>
+                    <outcome value='not-found'>
+                        <return status='failure'>
+                            <parameter name='ack-final' value='Y'/>
+                            <parameter name="error-code" value="500" />
+                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                        </return>
+                    </outcome>
+                    <outcome value='failure'>
+                        <return status='failure'>
+                            <parameter name='error-code' value='' />
+                            <parameter name='error-message' value='' />
+                        </return>
+                    </outcome>
+                </get-resource>
+            </block>
+        </block>
+    </method>
+</service-logic>
\ No newline at end of file
index 4f92df4..91889bb 100644 (file)
@@ -9,9 +9,9 @@
             </execute>
             <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
             <!--       resource="service-instance"-->
-            <!--       key='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->
-            <!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->
-            <!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->
+            <!--       key='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->
+            <!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->
+            <!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->
             <!--       local-only="false"-->
             <!--       force="true" pfx="tmp.aai.service-instance">-->
             <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
          AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'
                           local-only="false"
                           force="true" pfx="tmp.aai.service-instance">
-                <!--vnf-topology-operation-input.service-information.service-instance-id-->
+                <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+                <!--   resource="service-instance"-->
+                <!--   key='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->
+                <!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->
+                <!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->
+                <!--   local-only="false"-->
+                <!--   force="true" pfx="tmp.aai.service-instance">-->
                 <outcome value='success'>
-                    <switch test="`$tmp.aai.service-instance.relationship-list.relationship_length != ''`">
+                    <switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>
+                        <outcome value='false'></outcome>
                         <outcome value='true'>
-                            <for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >
-                                <switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>
-                                    <outcome value='connectivity'>
-                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                      resource="connectivity"
-                                                      key="connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"
-                                                      local-only="false"
-                                                      pfx="tmp.aai.connectivity" >
-                                            <outcome value='success'>
-                                                <block>
-                                                    <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
-                                                        <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
-                                                            <outcome value='vpn-binding'>
-                                                                <block atomic="true">
-                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                  resource="vpn-binding"
-                                                                                  key="vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
-                                                                                  local-only="false"
-                                                                                  pfx="tmp.aai.vpn-binding" >
-                                                                        <outcome value='success'>
-                                                                            <block atomic="true">
-                                                                                <set>
-                                                                                    <parameter name='tmp.domain.pnf-name' value="`'networkId-providerId-' +
-                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +
-                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +
-                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +
-                                                   $tmp.aai.vpn-binding.src-access-node-id`" />
-                                                                                </set>
-                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                              resource="pnf"
-                                                                                              key="pnf.pnf-name = $tmp.domain.pnf-name"
-                                                                                              pfx='tmp.aai.source-pnf' local-only='false' >
-                                                                                    <!--AND depth = '0'"-->
-                                                                                    <outcome value='success'>
-                                                                                        <block>
-                                                                                            <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
-                                                                                                <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
-                                                                                                    <outcome value='esr-thirdparty-sdnc'>
-                                                                                                        <block atomic="true">
-                                                                                                            <set>
-                                                                                                                <parameter name='tmp.domain.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
-                                                                                                            </set>
-                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                                                          resource="esr-thirdparty-sdnc"
-                                                                                                                          key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND
-                    depth = '1'"
-                                                                                                                          pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >
-                                                                                                                <outcome value='success'>
-                                                                                                                    <block>
-                                                                                                                        <set>
-                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
-                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
-                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
-                                                                                                                            <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
-                                                                                                                            <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
-                                                                                                                            <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
-                                                                                                                            <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
-                                                                                                                            <!--<parameter name="format" value="json"/>-->
-                                                                                                                            <!--<parameter name="httpMethod" value="get"/>-->
-                                                                                                                            <!--<parameter name="responsePrefix" value="topology"/>-->
-                                                                                                                            <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
-                                                                                                                            <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
-                                                                                                                            <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
-                                                                                                                            <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
-                                                                                                                        </set>
-                                                                                                                    </block>
-                                                                                                                </outcome>
-                                                                                                                <outcome value='not-found'>
-                                                                                                                    <return status='failure'>
-                                                                                                                        <parameter name='ack-final' value='Y'/>
-                                                                                                                        <parameter name="error-code" value="500" />
-                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                                                                    </return>
-                                                                                                                </outcome>
-                                                                                                                <outcome value='Other'>
-                                                                                                                    <return status='failure'>
-                                                                                                                        <parameter name='ack-final' value='Y'/>
-                                                                                                                        <parameter name="error-code" value="500" />
-                                                                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                                                                    </return>
-                                                                                                                </outcome>
-                                                                                                            </get-resource>
-                                                                                                            <break/>
-                                                                                                        </block>
-                                                                                                    </outcome>
-                                                                                                </switch>
-                                                                                            </for>
-                                                                                        </block>
-                                                                                    </outcome>
-                                                                                    <outcome value='not-found'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                            <parameter name="error-code" value="500" />
-                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                    <outcome value='Other'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                            <parameter name="error-code" value="500" />
-                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                </get-resource>
-                                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
-                                                                                    <!--<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`" />-->
-                                                                                    <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`" />
-                                                                                    <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domain.user`" />
-                                                                                    <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domain.password`" />
-                                                                                    <parameter name="format" value="json"/>
-                                                                                    <parameter name="httpMethod" value="delete"/>
-                                                                                    <parameter name="responsePrefix" value="otn-oof"/>
-                                                                                    <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
-                                                                                    <parameter name="trustStorePassword" value="adminadmin"/>
-                                                                                    <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
-                                                                                    <parameter name="keyStorePassword" value="adminadmin"/>
-                                                                                    <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />
-                                                                                    <outcome value='failure'>
-                                                                                        <return status='failure'>
-                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                            <parameter name="error-code" value="500" />
-                                                                                            <parameter name="error-message" value="Error executing delete OTN tunnel rest api" />
-                                                                                        </return>
-                                                                                    </outcome>
-                                                                                    <outcome value='success'>
-                                                                                        <block atomic="true"></block>
-                                                                                    </outcome>
-                                                                                </execute>
-                                                                                <switch test='`$tmp.aai.connectivity.etht-svc-name`'>
-                                                                                    <outcome value='Other'>
-                                                                                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
-                                                                                            <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`" />
-                                                                                            <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->
-                                                                                            <!--<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`" />-->
-                                                                                            <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domain.user`" />
-                                                                                            <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domain.password`" />
-                                                                                            <parameter name="format" value="json"/>
-                                                                                            <parameter name="httpMethod" value="delete"/>
-                                                                                            <parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
-                                                                                            <parameter name="responsePrefix" value="vpn-result"/>
-                                                                                            <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
-                                                                                            <parameter name="trustStorePassword" value="adminadmin"/>
-                                                                                            <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
-                                                                                            <parameter name="keyStorePassword" value="adminadmin"/>
+                            <block>
+                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                              resource="pnfs"
+                                              key="selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'"
+                                              local-only="false"
+                                              pfx="ccsdkTopopnfs" ></get-resource>
+                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                              resource="logical-links"
+                                              key="selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'"
+                                              local-only="false"
+                                              pfx="ccsdkTopologicalLinks" ></get-resource>
+                                <set>
+                                    <parameter name='tmp.arr' value='' />
+                                    <parameter name='tmp.arridx' value='0' />
+                                    <parameter name='tmp.arr_length' value='0' />
+                                    <parameter name='otn-tunnel-slice' value='' />
+                                    <parameter name='otn-tunnel-slice_length' value='0' />
+                                    <!--<parameter name='tmp.slicevpns' value='' />-->
+                                    <!--<parameter name='tmp.slicevpns_length' value='0' />-->
+                                    <!--<parameter name='tmp.slicevpnuuids' value='' />-->
+                                    <!--<parameter name='tmp.slicevpnuuids.' value='' />-->
+                                </set>
+                                <for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >
+                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >
+                                        <parameter name="ctx-destination" value="prop.ethernet-service-name"/>
+                                    </execute>
+                                    <set>
+                                        <!--<parameter name='prop.ethernet-service-name' value="`$tmp.aai.logical-link.link-name`" />-->
+                                        <parameter name='prop.ethernet-service-name' value="`$tmp.aai.logical-link.link-id`" />
+                                    </set>
+                                    <set>
+                                        <parameter name='allotted-resource-id' value="`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`" />
+                                    </set>
+                                    <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+                                    <!--       resource="allotted-resource"-->
+                                    <!--       key='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->
+                                    <!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->
+                                    <!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->
+                                    <!--         AND allotted-resource.id = $allotted-resource-id'-->
+                                    <!--       local-only="false"-->
+                                    <!--       force="true" pfx="tmp.aai.allotted-resource">-->
+                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                  resource="allotted-resource"
+                                                  key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type
+         AND allotted-resource.id = $allotted-resource-id'
+                                                  local-only="false"
+                                                  force="true" pfx="tmp.aai.allotted-resource">
+                                        <outcome value='not-found'>
+                                            <return status='failure'>
+                                                <parameter name='ack-final' value='Y'/>
+                                                <parameter name="error-code" value="500" />
+                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                            </return>
+                                        </outcome>
+                                        <outcome value='failure'>
+                                            <return status='failure'>
+                                                <parameter name='error-code' value='' />
+                                                <parameter name='error-message' value='' />
+                                            </return>
+                                        </outcome>
+                                        <outcome value='success'>
+                                            <block atomic="true">
+                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                              resource="allotted-resource:relationship-list"
+                                                              key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type
+         AND allotted-resource.id = $allotted-resource-id'
+                                                              local-only="false"
+                                                              force="true" pfx="tmp.aai.allotted-resource.relationship-list">
+                                                    <outcome value='not-found'>
+                                                        <return status='failure'>
+                                                            <parameter name='ack-final' value='Y'/>
+                                                            <parameter name="error-code" value="500" />
+                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                        </return>
+                                                    </outcome>
+                                                    <outcome value='failure'>
+                                                        <return status='failure'>
+                                                            <parameter name='error-code' value='' />
+                                                            <parameter name='error-message' value='' />
+                                                        </return>
+                                                    </outcome>
+                                                    <outcome value='success'>
+                                                        <block atomic="true">
+                                                            <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>
+                                                                <outcome value='false'></outcome>
+                                                                <outcome value='true'>
+                                                                    <block atomic="true">
+                                                                        <for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >
+                                                                            <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>
+                                                                                <outcome value='network-policy'>
+                                                                                    <block atomic="true">
+                                                                                        <set>
+                                                                                            <parameter name='network-policy-id' value="`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`" />
+                                                                                        </set>
+                                                                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                      resource="network-policy"
+                                                                                                      key='network-policy.network-policy-id = $network-policy-id'
+                                                                                                      local-only="false"
+                                                                                                      force="true" pfx="tmp.aai.network-policy">
+                                                                                            <outcome value='not-found'>
+                                                                                                <return status='failure'>
+                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                    <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                </return>
+                                                                                            </outcome>
                                                                                             <outcome value='failure'>
+                                                                                                <return status='failure'>
+                                                                                                    <parameter name='error-code' value='' />
+                                                                                                    <parameter name='error-message' value='' />
+                                                                                                </return>
+                                                                                            </outcome>
+                                                                                            <outcome value='success'>
+                                                                                                <block>
+                                                                                                    <set>
+                                                                                                        <parameter name='maximum-bandwidth' value="`$tmp.aai.network-policy.max-bandwidth`" />
+                                                                                                        <parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />
+                                                                                                    </set>
+                                                                                                    <set>
+                                                                                                        <parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />
+                                                                                                    </set>
+                                                                                                </block>
+                                                                                            </outcome>
+                                                                                        </get-resource>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                            </switch>
+                                                                        </for>
+                                                                        <for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >
+                                                                            <switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>
+                                                                                <outcome value='logical-link'>
+                                                                                    <block atomic="true">
+                                                                                        <set>
+                                                                                            <parameter name='logical-link-name' value="`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`" />
+                                                                                        </set>
+                                                                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                      resource="logical-link"
+                                                                                                      key='logical-link.link-name = $logical-link-name'
+                                                                                                      local-only="false"
+                                                                                                      force="true" pfx="tmp.aai.logical-link">
+                                                                                            <outcome value='not-found'>
                                                                                                 <return status='failure'>
                                                                                                     <parameter name='ack-final' value='Y'/>
                                                                                                     <parameter name="error-code" value="500" />
-                                                                                                    <parameter name="error-message" value="Error executing delete ethernet service rest api" />
+                                                                                                    <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                </return>
+                                                                                            </outcome>
+                                                                                            <outcome value='failure'>
+                                                                                                <return status='failure'>
+                                                                                                    <parameter name='error-code' value='' />
+                                                                                                    <parameter name='error-message' value='' />
                                                                                                 </return>
                                                                                             </outcome>
                                                                                             <outcome value='success'>
-                                                                                                <block atomic="true"></block>
+                                                                                                <block>
+                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >
+                                                                                                        <parameter name="ctx-destination" value="prop.otn-tunnel-name"/>
+                                                                                                    </execute>
+                                                                                                    <set>
+                                                                                                        <!--<parameter name='prop.ethernet-service-name' value="`$tmp.aai.logical-link.link-name`" />-->
+                                                                                                        <parameter name='prop.ethernet-service-name' value="`$tmp.aai.logical-link.link-id`" />
+                                                                                                    </set>
+                                                                                                    <set>
+                                                                                                        <parameter name='network-route-one' value="`$tmp.aai.logical-link.link-name`" />
+                                                                                                    </set>
+                                                                                                    <set>
+                                                                                                        <parameter name='network-route-two' value="`$tmp.aai.logical-link.link-name2`" />
+                                                                                                    </set>
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                  resource="network-route"
+                                                                                                                  key='network-route.route-id = $network-route-one'
+                                                                                                                  local-only="false"
+                                                                                                                  force="true" pfx="tmp.aai.network-route-one">
+                                                                                                        <outcome value='not-found'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='failure'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                <parameter name='error-message' value='' />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <switch test='`$tmp.aai.network-route-one.type`'>
+                                                                                                                    <outcome value='ROOT'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-ROOT.' value="`$tmp.aai.network-route-one.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-B.' value="`$tmp.aai.network-route-one.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='LEAF'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-LEAF.' value="`$tmp.aai.network-route-one.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-A.' value="`$tmp.aai.network-route-one.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                    </get-resource>
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                  resource="network-route"
+                                                                                                                  key='network-route.route-id = $network-route-two'
+                                                                                                                  local-only="false"
+                                                                                                                  force="true" pfx="tmp.aai.network-route-two">
+                                                                                                        <outcome value='not-found'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='failure'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                <parameter name='error-message' value='' />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <switch test='`$tmp.aai.network-route-two.type`'>
+                                                                                                                    <outcome value='ROOT'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-ROOT.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-B.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='LEAF'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-LEAF.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.aai.network-route-A.' value="`$tmp.aai.network-route-two.`" />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                    </get-resource>
+                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                                                        <parameter name="original_string" value='`$tmp.aai.network-route-A.next-hop`'/>
+                                                                                                        <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                                                        <parameter name="regex" value="[-]+"/>
+                                                                                                        <parameter name="ctx_memory_result_key" value="param-prefix-domainA-pnfName"/>
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <set>
+                                                                                                                    <parameter name='tmp.src.domainA.pnf-name' value="`$param-prefix-domainA-pnfName[0] + '-' +
+                                                   $param-prefix-domainA-pnfName[1] + '-' +
+                                                   $param-prefix-domainA-pnfName[2] + '-' +
+                                                   $param-prefix-domainA-pnfName[3] + '-' +
+                                                   $param-prefix-domainA-pnfName[4] + '-' +
+                                                   $param-prefix-domainA-pnfName[5] + '-' +
+                                                   $param-prefix-domainA-pnfName[6] + '-' +
+                                                   $param-prefix-domainA-pnfName[7] + '-' +
+                                                   $param-prefix-domainA-pnfName[8]`" />
+                                                                                                                </set>
+                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                              resource="pnf"
+                                                                                                                              key="pnf.pnf-name = $tmp.src.domainA.pnf-name"
+                                                                                                                              pfx='tmp.aai.source-pnf' local-only='false' >
+                                                                                                                    <!--AND depth = '0'"-->
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block>
+                                                                                                                            <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
+                                                                                                                                <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                                                                                                    <outcome value='esr-thirdparty-sdnc'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.domainA.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                            </set>
+                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                          resource="esr-thirdparty-sdnc"
+                                                                                                                                                          key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                                                                          pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                                                                <outcome value='success'>
+                                                                                                                                                    <block>
+                                                                                                                                                        <set>
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value="`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                                                            <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                                                            <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                                                            <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                                                            <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                                                            <!--<parameter name="format" value="json"/>-->
+                                                                                                                                                            <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                                                            <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                                                            <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                                                            <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                                                            <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                                                            <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                                                                        </set>
+                                                                                                                                                    </block>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='not-found'>
+                                                                                                                                                    <return status='failure'>
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                    </return>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='Other'>
+                                                                                                                                                    <return status='failure'>
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                    </return>
+                                                                                                                                                </outcome>
+                                                                                                                                            </get-resource>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                    <outcome value='network-resource'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.domainA.eth-network-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                            </set>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </switch>
+                                                                                                                            </for>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='not-found'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='Other'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                </get-resource>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='failure'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                <parameter name='error-message' value="An error occured while splitting sna1_route" />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                    </execute>
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                  resource="p-interface"
+                                                                                                                  key="pnf.pnf-name = $tmp.src.domainA.pnf-name
+               AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop"
+                                                                                                                  local-only="false"
+                                                                                                                  pfx="tmp.aai.network-route-A.p-interface-src" >
+                                                                                                        <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+                                                                                                        <!--   resource="p-interface"-->
+                                                                                                        <!--       key="pnf.pnf-name = $unique-src-node-Id-->
+                                                                                                        <!--           and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"-->
+                                                                                                        <!--           local-only="false" -->
+                                                                                                        <!--           pfx="tmp.aai.endpointA.p-interface-src" >-->
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                                                                    <parameter name="original_string" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>
+                                                                                                                    <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                                                                    <parameter name="regex" value="[-]+"/>
+                                                                                                                    <parameter name="ctx_memory_result_key" value="param-prefix-domainA"/>
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block atomic="true">
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='failure'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='error-code' value='' />
+                                                                                                                            <parameter name='error-message' value="An error occured while splitting sna1_route" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                </execute>
+                                                                                                                <for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >
+                                                                                                                    <switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>
+                                                                                                                        <outcome value='tunnel-termination-point'>
+                                                                                                                            <block atomic="true">
+                                                                                                                                <set>
+                                                                                                                                    <parameter name='tmp.source.ttp-id' value="`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`" />
+                                                                                                                                </set>
+                                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                              resource="tunnel-termination-point"
+                                                                                                                                              key="tunnel-termination-point.ttp-id = $tmp.source.ttp-id
+               AND depth = '0'"
+                                                                                                                                              pfx='tmp.aai.source-ttp' local-only='false' >
+                                                                                                                                    <outcome value='success'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='source.tunnel-tp-id' value="`$tmp.aai.source-ttp.tunnel-tp-id`" />
+                                                                                                                                            </set>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </get-resource>
+                                                                                                                                <break/>
+                                                                                                                            </block>
+                                                                                                                        </outcome>
+                                                                                                                    </switch>
+                                                                                                                </for>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='not-found'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='failure'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                <parameter name='error-message' value='' />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                    </get-resource>
+                                                                                                    <set>
+                                                                                                        <parameter name='tmp.LEAF.pnf-name-long' value="`$param-prefix-domainA-pnfName[0] + '-' +
+                                                   $param-prefix-domainA-pnfName[1] + '-' +
+                                                   $param-prefix-domainA-pnfName[2] + '-' +
+                                                   $param-prefix-domainA-pnfName[3] + '-' +
+                                                   $param-prefix-domainA-pnfName[4] + '-' +
+                                                   $param-prefix-domainA-pnfName[5] + '-' +
+                                                   $param-prefix-domainA-pnfName[6] + '-' +
+                                                   $param-prefix-domainA-pnfName[7] + '-' +
+                                                   $param-prefix-domainA-pnfName[8]`" />
+                                                                                                        <!--<parameter name='tmp.LEAF.pnf-name-short' value="`$param-prefix-domainA-pnfName[8]`" />-->
+                                                                                                        <parameter name='tmp.LEAF.pnf-name-short' value="`$tmp.src.pnf-name`" />
+                                                                                                        <parameter name='tmp.LEAF.uni-p-interface-long' value="`$tmp.aai.network-route-A.next-hop`" />
+                                                                                                        <parameter name='tmp.LEAF.uni-tp-id' value="`$tmp.src.ltpId`" />
+                                                                                                    </set>
+                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                                                        <parameter name="original_string" value='`$tmp.aai.network-route-B.next-hop`'/>
+                                                                                                        <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                                                        <parameter name="regex" value="[-]+"/>
+                                                                                                        <parameter name="ctx_memory_result_key" value="param-prefix-domainB-pnfName"/>
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <set>
+                                                                                                                    <parameter name='tmp.dst.domainB.pnf-name' value="`$param-prefix-domainB-pnfName[0] + '-' +
+                                                   $param-prefix-domainB-pnfName[1] + '-' +
+                                                   $param-prefix-domainB-pnfName[2] + '-' +
+                                                   $param-prefix-domainB-pnfName[3] + '-' +
+                                                   $param-prefix-domainB-pnfName[4] + '-' +
+                                                   $param-prefix-domainB-pnfName[5] + '-' +
+                                                   $param-prefix-domainB-pnfName[6] + '-' +
+                                                   $param-prefix-domainB-pnfName[7] + '-' +
+                                                   $param-prefix-domainB-pnfName[8]`" />
+                                                                                                                </set>
+                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                              resource="pnf"
+                                                                                                                              key="pnf.pnf-name = $tmp.dst.domainB.pnf-name"
+                                                                                                                              pfx='tmp.aai.destination-pnf' local-only='false' >
+                                                                                                                    <!--AND depth = '0'"-->
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block>
+                                                                                                                            <for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >
+                                                                                                                                <switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>
+                                                                                                                                    <outcome value='esr-thirdparty-sdnc'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.domainB.esr-thirdparty-id' value="`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                            </set>
+                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                          resource="esr-thirdparty-sdnc"
+                                                                                                                                                          key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                                                                          pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                                                                <outcome value='success'>
+                                                                                                                                                    <block>
+                                                                                                                                                        <set>
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value="`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                                                            <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                                                            <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                                                            <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                                                            <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                                                            <!--<parameter name="format" value="json"/>-->
+                                                                                                                                                            <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                                                            <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                                                            <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                                                            <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                                                            <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                                                            <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                                                                        </set>
+                                                                                                                                                    </block>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='not-found'>
+                                                                                                                                                    <return status='failure'>
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                    </return>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='Other'>
+                                                                                                                                                    <return status='failure'>
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                    </return>
+                                                                                                                                                </outcome>
+                                                                                                                                            </get-resource>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                    <outcome value='network-resource'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.domainB.eth-network-id' value="`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                            </set>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </switch>
+                                                                                                                            </for>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='not-found'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='Other'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                </get-resource>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='failure'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                <parameter name='error-message' value="An error occured while splitting sna1_route" />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                    </execute>
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                  resource="p-interface"
+                                                                                                                  key="pnf.pnf-name = $tmp.dst.domainB.pnf-name
+               AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop"
+                                                                                                                  local-only="false"
+                                                                                                                  pfx="tmp.aai.network-route-B.p-interface-dst" >
+                                                                                                        <!--<get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" -->
+                                                                                                        <!--   resource="p-interface"-->
+                                                                                                        <!--       key="pnf.pnf-name = $unique-src-node-Id-->
+                                                                                                        <!--           and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"-->
+                                                                                                        <!--           local-only="false" -->
+                                                                                                        <!--           pfx="tmp.aai.endpointA.p-interface-src" >-->
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic="true">
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                                                                    <parameter name="original_string" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>
+                                                                                                                    <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                                                                    <parameter name="regex" value="[-]+"/>
+                                                                                                                    <parameter name="ctx_memory_result_key" value="param-prefix-domainB"/>
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block atomic="true">
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />
+                                                                                                                            </set>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />
+                                                                                                                            </set>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='failure'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='error-code' value='' />
+                                                                                                                            <parameter name='error-message' value="An error occured while splitting sna1_route" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                </execute>
+                                                                                                                <for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >
+                                                                                                                    <switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>
+                                                                                                                        <outcome value='tunnel-termination-point'>
+                                                                                                                            <block atomic="true">
+                                                                                                                                <set>
+                                                                                                                                    <parameter name='tmp.destination.ttp-id' value="`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`" />
+                                                                                                                                </set>
+                                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                              resource="tunnel-termination-point"
+                                                                                                                                              key="tunnel-termination-point.ttp-id = $tmp.destination.ttp-id
+               AND depth = '0'"
+                                                                                                                                              pfx='tmp.aai.destination-ttp' local-only='false' >
+                                                                                                                                    <outcome value='success'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='destination.tunnel-tp-id' value="`$tmp.aai.destination-ttp.tunnel-tp-id`" />
+                                                                                                                                            </set>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </get-resource>
+                                                                                                                                <break/>
+                                                                                                                            </block>
+                                                                                                                        </outcome>
+                                                                                                                    </switch>
+                                                                                                                </for>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='not-found'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='failure'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                <parameter name='error-message' value='' />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                    </get-resource>
+                                                                                                    <set>
+                                                                                                        <parameter name='tmp.ROOT.pnf-name-long' value="`$param-prefix-domainB-pnfName[0] + '-' +
+                                                   $param-prefix-domainB-pnfName[1] + '-' +
+                                                   $param-prefix-domainB-pnfName[2] + '-' +
+                                                   $param-prefix-domainB-pnfName[3] + '-' +
+                                                   $param-prefix-domainB-pnfName[4] + '-' +
+                                                   $param-prefix-domainB-pnfName[5] + '-' +
+                                                   $param-prefix-domainB-pnfName[6] + '-' +
+                                                   $param-prefix-domainB-pnfName[7] + '-' +
+                                                   $param-prefix-domainB-pnfName[8]`" />
+                                                                                                        <!--<parameter name='tmp.ROOT.pnf-name-short' value="`$param-prefix-domainB-pnfName[8]`" />-->
+                                                                                                        <parameter name='tmp.ROOT.pnf-name-short' value="`$tmp.dst.pnf-name`" />
+                                                                                                        <parameter name='tmp.ROOT.uni-p-interface-long' value="`$tmp.aai.network-route-B.next-hop`" />
+                                                                                                        <parameter name='tmp.ROOT.uni-tp-id' value="`$tmp.dst.ltpId`" />
+                                                                                                    </set>
+                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                  resource="uni"
+                                                                                                                  key="uni.id = $tmp.LEAF.uni-p-interface-long"
+                                                                                                                  local-only="false"
+                                                                                                                  pfx="tmp.aai.leafuni" >
+                                                                                                        <outcome value='not-found'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='failure'>
+                                                                                                            <return status='failure'>
+                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                <parameter name='error-message' value='' />
+                                                                                                            </return>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='success'>
+                                                                                                            <block atomic='true'>
+                                                                                                                <set>
+                                                                                                                    <parameter name='bwToBeDecreased' value="`$tmp.aai.leafuni.data-source`" />
+                                                                                                                    <parameter name='tpid' value='`$tmp.aai.leafuni.tp-id`' />
+                                                                                                                    <parameter name='cvlan' value='`$tmp.aai.leafuni.cvlan`' />
+                                                                                                                </set>
+                                                                                                                <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'
+                                                                                                                        key='uni.id = $tmp.LEAF.uni-p-interface-long'></delete>
+                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                              resource="uni"
+                                                                                                                              key="uni.id = $tmp.ROOT.uni-p-interface-long"
+                                                                                                                              local-only="false"
+                                                                                                                              pfx="tmp.aai.rootuni" >
+                                                                                                                    <outcome value='not-found'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='failure'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='error-code' value='' />
+                                                                                                                            <parameter name='error-message' value='' />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block atomic="true">
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />
+                                                                                                                            </set>
+                                                                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'
+                                                                                                                                    key='uni.id = $tmp.ROOT.uni-p-interface-long'>
+                                                                                                                                <parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />
+                                                                                                                                <parameter name='data-source' value='`$tmp.newbw`' />
+                                                                                                                            </update>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </get-resource>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                    </get-resource>
+                                                                                                    <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' ></call>
+                                                                                                    <switch test='`$found-middle-man`'>
+                                                                                                        <outcome value='false'>
+                                                                                                            <block atomic='true'>
+                                                                                                                <return status='failure'>
+                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                                    <parameter name="error-message" value="LEAF CONN DOES NOT EXIST BUT IT SHOULD BE." />
+                                                                                                                </return>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                        <outcome value='true'>
+                                                                                                            <block atomic='true'>
+                                                                                                                <set>
+                                                                                                                    <parameter name='tmp.MMonlyHasROOT' value='true' />
+                                                                                                                </set>
+                                                                                                                <set>
+                                                                                                                    <parameter name='tmp.MMstillHasUni' value='false' />
+                                                                                                                </set>
+                                                                                                                <for silentFailure='true' index='cridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >
+                                                                                                                    <switch test='`$middle-man-conn.relationship-list.relationship[$cridx].related-to`'>
+                                                                                                                        <outcome value='uni'>
+                                                                                                                            <block>
+                                                                                                                                <set>
+                                                                                                                                    <parameter name='tmp.mmUNI-id-long' value='`$middle-man-conn.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />
+                                                                                                                                </set>
+                                                                                                                                <switch test="`$tmp.mmUNI-id-long != $tmp.ROOT.uni-p-interface-long`">
+                                                                                                                                    <outcome value='false'>
+                                                                                                                                        <block></block>
+                                                                                                                                    </outcome>
+                                                                                                                                    <outcome value='true'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.MMonlyHasROOT' value='false' />
+                                                                                                                                            </set>
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.MMstillHasUni' value='true' />
+                                                                                                                                            </set>
+                                                                                                                                            <break/>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </switch>
+                                                                                                                            </block>
+                                                                                                                        </outcome>
+                                                                                                                    </switch>
+                                                                                                                </for>
+                                                                                                                <set>
+                                                                                                                    <parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />
+                                                                                                                    <parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />
+                                                                                                                    <!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->
+                                                                                                                    <!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->
+                                                                                                                    <!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->
+                                                                                                                    <!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->
+                                                                                                                    <!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->
+                                                                                                                    <!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->
+                                                                                                                </set>
+                                                                                                                <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' ></call>
+                                                                                                                <switch test="`$found-connectivity`">
+                                                                                                                    <outcome value='false'>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="LEAF CONN DOES NOT EXIST BUT IT SHOULD BE." />
+                                                                                                                        </return>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='true'>
+                                                                                                                        <block atomic='true'>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.stillHasUni' value='false' />
+                                                                                                                                <parameter name='tmp.keepVPNBs' value='false' />
+                                                                                                                            </set>
+                                                                                                                            <for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >
+                                                                                                                                <switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>
+                                                                                                                                    <outcome value='uni'>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.uni.id' value='`$tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />
+                                                                                                                                            </set>
+                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                          resource="uni"
+                                                                                                                                                          key="uni.id = $tmp.uni.id"
+                                                                                                                                                          local-only="false"
+                                                                                                                                                          pfx="tmp.aai.uni" >
+                                                                                                                                                <outcome value='success'>
+                                                                                                                                                    <block atomic='true'>
+                                                                                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+                                                                                                                                                            <parameter name="original_string" value='`$tmp.aai.uni.id`'/>
+                                                                                                                                                            <!--<parameter name="regex" value="[^-]+$"/>-->
+                                                                                                                                                            <parameter name="regex" value="[-]+"/>
+                                                                                                                                                            <parameter name="ctx_memory_result_key" value="param-prefix-uni-pnfName"/>
+                                                                                                                                                            <outcome value='success'>
+                                                                                                                                                                <block atomic="true">
+                                                                                                                                                                    <set>
+                                                                                                                                                                        <parameter name='tmp.uni.pnf-name' value="`$param-prefix-uni-pnfName[0] + '-' +
+                                                   $param-prefix-uni-pnfName[1] + '-' +
+                                                   $param-prefix-uni-pnfName[2] + '-' +
+                                                   $param-prefix-uni-pnfName[3] + '-' +
+                                                   $param-prefix-uni-pnfName[4] + '-' +
+                                                   $param-prefix-uni-pnfName[5] + '-' +
+                                                   $param-prefix-uni-pnfName[6] + '-' +
+                                                   $param-prefix-uni-pnfName[7] + '-' +
+                                                   $param-prefix-uni-pnfName[8]`" />
+                                                                                                                                                                    </set>
+                                                                                                                                                                </block>
+                                                                                                                                                            </outcome>
+                                                                                                                                                            <outcome value='failure'>
+                                                                                                                                                                <return status='failure'>
+                                                                                                                                                                    <parameter name='error-code' value='' />
+                                                                                                                                                                    <parameter name='error-message' value="An error occured while splitting sna1_route" />
+                                                                                                                                                                </return>
+                                                                                                                                                            </outcome>
+                                                                                                                                                        </execute>
+                                                                                                                                                        <set>
+                                                                                                                                                            <parameter name='tmp.stillHasUni' value='true' />
+                                                                                                                                                        </set>
+                                                                                                                                                        <switch test='`$tmp.uni.pnf-name == $tmp.LEAF.pnf-name-long`'>
+                                                                                                                                                            <outcome value='false'>
+                                                                                                                                                                <block></block>
+                                                                                                                                                            </outcome>
+                                                                                                                                                            <outcome value='true'>
+                                                                                                                                                                <block atomic='true'>
+                                                                                                                                                                    <set>
+                                                                                                                                                                        <parameter name='no-pce-call' value="true" />
+                                                                                                                                                                    </set>
+                                                                                                                                                                    <set>
+                                                                                                                                                                        <parameter name='tmp.stillHasUni' value='true' />
+                                                                                                                                                                        <parameter name='tmp.keepVPNBs' value='true' />
+                                                                                                                                                                    </set>
+                                                                                                                                                                </block>
+                                                                                                                                                            </outcome>
+                                                                                                                                                        </switch>
+                                                                                                                                                    </block>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='not-found'></outcome>
+                                                                                                                                                <outcome value='failure'></outcome>
+                                                                                                                                            </get-resource>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </switch>
+                                                                                                                            </for>
+                                                                                                                            <switch test="`$tmp.keepVPNBs`">
+                                                                                                                                <outcome value='true'>
+                                                                                                                                    <block>
+                                                                                                                                        <block>
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='allNetworksList.' value='' />
+                                                                                                                                            </set>
+                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                          resource="network-resources"
+                                                                                                                                                          key="selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'"
+                                                                                                                                                          local-only="false"
+                                                                                                                                                          pfx="allNetworksList" >
+                                                                                                                                                <outcome value='success'></outcome>
+                                                                                                                                                <outcome value='Other'></outcome>
+                                                                                                                                                <outcome value='not-found'></outcome>
+                                                                                                                                            </get-resource>
+                                                                                                                                            <for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >
+                                                                                                                                                <switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>
+                                                                                                                                                    <outcome value='true'>
+                                                                                                                                                        <switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>
+                                                                                                                                                            <outcome value='true'>
+                                                                                                                                                                <set>
+                                                                                                                                                                    <parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />
+                                                                                                                                                                </set>
+                                                                                                                                                            </outcome>
+                                                                                                                                                        </switch>
+                                                                                                                                                    </outcome>
+                                                                                                                                                </switch>
+                                                                                                                                            </for>
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.pce-src-node.' value='' />
+                                                                                                                                            </set>
+                                                                                                                                            <set>
+                                                                                                                                                <!--<parameter name='tmp.pce-src-node' value="`$param-prefix-domainA-pnfName[0] + '-' +-->
+                                                                                                                                                <!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->
+                                                                                                                                                <!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->
+                                                                                                                                                <!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->
+                                                                                                                                                <!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->
+                                                                                                                                                <!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->
+                                                                                                                                                <!--                                                   1 + '-' +-->
+                                                                                                                                                <!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->
+                                                                                                                                                <!--                                                   $param-prefix-domainA-pnfName[8]`" />-->
+                                                                                                                                                <parameter name='tmp.pce-src-node' value="`$param-prefix-domainA-pnfName[0] + '-' +
+                                                   $param-prefix-domainA-pnfName[1] + '-' +
+                                                   $param-prefix-domainA-pnfName[2] + '-' +
+                                                   $param-prefix-domainA-pnfName[3] + '-' +
+                                                   $param-prefix-domainA-pnfName[4] + '-' +
+                                                   $param-prefix-domainA-pnfName[5] + '-' +
+                                                   $otnTopoIdSrc + '-' +
+                                                   $param-prefix-domainA-pnfName[7] + '-' +
+                                                   $param-prefix-domainA-pnfName[8]`" />
+                                                                                                                                            </set>
+                                                                                                                                            <set>
+                                                                                                                                                <!--<parameter name='tmp.srcTtpOtnLayer' value="`$tmp.pce-src-node + '-' + -->
+                                                                                                                                                <!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->
+                                                                                                                                                <!--                                             $tmp.source.ttp-id`" />-->
+                                                                                                                                                <parameter name='tmp.srcTtpOtnLayer' value="`$tmp.pce-src-node`" />
+                                                                                                                                            </set>
+                                                                                                                                            <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' ></call>
+                                                                                                                                        </block>
+                                                                                                                                        <set>
+                                                                                                                                            <parameter name='tmp.aai.all-vpn-bindings.' value='' />
+                                                                                                                                        </set>
+                                                                                                                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                      resource="vpn-bindings"
+                                                                                                                                                      key="selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings"
+                                                                                                                                                      local-only="false"
+                                                                                                                                                      pfx="tmp.aai.all-vpn-bindings" >
+                                                                                                                                            <outcome value='success'>
+                                                                                                                                                <block atomic="true">
+                                                                                                                                                    <for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >
+                                                                                                                                                        <block atomic='true'>
+                                                                                                                                                            <switch test="`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `">
+                                                                                                                                                                <outcome value='true'>
+                                                                                                                                                                    <block atomic='true'>
+                                                                                                                                                                        <set>
+                                                                                                                                                                            <parameter name='tmp.aai.the-vpn-binding.' value="" />
+                                                                                                                                                                        </set>
+                                                                                                                                                                        <set>
+                                                                                                                                                                            <parameter name='tmp.aai.the-vpn-binding.' value="`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`" />
+                                                                                                                                                                        </set>
+                                                                                                                                                                        <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+                                                                                                                                                                                key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >
+                                                                                                                                                                            <parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />
+                                                                                                                                                                            <parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />
+                                                                                                                                                                            <parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />
+                                                                                                                                                                            <parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $bwToBeDecreased`' />
+                                                                                                                                                                            <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                        </update>
+                                                                                                                                                                    </block>
+                                                                                                                                                                </outcome>
+                                                                                                                                                                <outcome value='false'></outcome>
+                                                                                                                                                            </switch>
+                                                                                                                                                        </block>
+                                                                                                                                                    </for>
+                                                                                                                                                </block>
+                                                                                                                                            </outcome>
+                                                                                                                                            <outcome value='not-found'>
+                                                                                                                                                <return status='failure'>
+                                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                                                                    <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                                                                </return>
+                                                                                                                                            </outcome>
+                                                                                                                                            <outcome value='failure'>
+                                                                                                                                                <return status='failure'>
+                                                                                                                                                    <parameter name='error-code' value='' />
+                                                                                                                                                    <parameter name='error-message' value='' />
+                                                                                                                                                </return>
+                                                                                                                                            </outcome>
+                                                                                                                                        </get-resource>
+                                                                                                                                        <set>
+                                                                                                                                            <parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />
+                                                                                                                                        </set>
+                                                                                                                                        <block atomic="true">
+                                                                                                                                            <set>
+                                                                                                                                                <parameter name='tmp.domain.pnf-name' value="`'networkId-providerId-' +
+                                                   $tmp.leafconn.access-provider-id + '-clientId-' +
+                                                   $tmp.leafconn.access-client-id + '-topologyId-' +
+                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +
+                                                   $tmp.leafconn.access-node-id`" />
+                                                                                                                                            </set>
+                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                          resource="pnf"
+                                                                                                                                                          key="pnf.pnf-name = $tmp.domain.pnf-name"
+                                                                                                                                                          pfx='tmp.aai.source-pnf' local-only='false' >
+                                                                                                                                                <!--AND depth = '0'"-->
+                                                                                                                                                <outcome value='success'>
+                                                                                                                                                    <block>
+                                                                                                                                                        <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
+                                                                                                                                                            <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                                                                                                                                <outcome value='esr-thirdparty-sdnc'>
+                                                                                                                                                                    <block atomic="true">
+                                                                                                                                                                        <set>
+                                                                                                                                                                            <parameter name='tmp.domain.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                                                        </set>
+                                                                                                                                                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                                      resource="esr-thirdparty-sdnc"
+                                                                                                                                                                                      key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                                                                                                      pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                                                                                            <outcome value='success'>
+                                                                                                                                                                                <block>
+                                                                                                                                                                                    <set>
+                                                                                                                                                                                        <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                                                                                        <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                                                                                        <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                                                                                        <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                                                                                        <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                                                                                        <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                                                                                        <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                                                                                        <!--<parameter name="format" value="json"/>-->
+                                                                                                                                                                                        <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                                                                                        <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                                                                                        <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                                                                                        <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                                                                                        <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                                                                                        <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                                                                                                    </set>
+                                                                                                                                                                                </block>
+                                                                                                                                                                            </outcome>
+                                                                                                                                                                            <outcome value='not-found'>
+                                                                                                                                                                                <return status='failure'>
+                                                                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                                                                                                    <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                                </return>
+                                                                                                                                                                            </outcome>
+                                                                                                                                                                            <outcome value='Other'>
+                                                                                                                                                                                <return status='failure'>
+                                                                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                                                                                                    <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                                </return>
+                                                                                                                                                                            </outcome>
+                                                                                                                                                                        </get-resource>
+                                                                                                                                                                        <break/>
+                                                                                                                                                                    </block>
+                                                                                                                                                                </outcome>
+                                                                                                                                                            </switch>
+                                                                                                                                                        </for>
+                                                                                                                                                    </block>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='not-found'>
+                                                                                                                                                    <return status='failure'>
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                    </return>
+                                                                                                                                                </outcome>
+                                                                                                                                                <outcome value='Other'>
+                                                                                                                                                    <return status='failure'>
+                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                    </return>
+                                                                                                                                                </outcome>
+                                                                                                                                            </get-resource>
+                                                                                                                                        </block>
+                                                                                                                                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                            <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`" />
+                                                                                                                                            <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->
+                                                                                                                                            <!--<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`" />-->
+                                                                                                                                            <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domain.user`" />
+                                                                                                                                            <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domain.password`" />
+                                                                                                                                            <parameter name="format" value="json"/>
+                                                                                                                                            <parameter name="httpMethod" value="delete"/>
+                                                                                                                                            <parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
+                                                                                                                                            <parameter name="responsePrefix" value="vpn-result"/>
+                                                                                                                                            <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                                                                                                            <parameter name="trustStorePassword" value="adminadmin"/>
+                                                                                                                                            <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                                                                                                            <parameter name="keyStorePassword" value="adminadmin"/>
+                                                                                                                                            <outcome value='failure'>
+                                                                                                                                                <return status='failure'>
+                                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                                                                    <parameter name="error-message" value="Error executing delete ethernet service rest api" />
+                                                                                                                                                </return>
+                                                                                                                                            </outcome>
+                                                                                                                                            <outcome value='success'>
+                                                                                                                                                <block atomic="true"></block>
+                                                                                                                                            </outcome>
+                                                                                                                                        </execute>
+                                                                                                                                        <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' ></call>
+                                                                                                                                        <switch test="`$found-root-connectivity`">
+                                                                                                                                            <outcome value='true'>
+                                                                                                                                                <block atomic='true'>
+                                                                                                                                                    <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                            key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>
+                                                                                                                                                        <parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />
+                                                                                                                                                        <parameter name='operational-status' value='Modified' />
+                                                                                                                                                    </update>
+                                                                                                                                                </block>
+                                                                                                                                            </outcome>
+                                                                                                                                            <outcome value='false'>
+                                                                                                                                                <return status='failure'>
+                                                                                                                                                    <parameter name='error-code' value='' />
+                                                                                                                                                    <parameter name='error-message' value='Root Connectivity was not found' />
+                                                                                                                                                </return>
+                                                                                                                                            </outcome>
+                                                                                                                                        </switch>
+                                                                                                                                    </block>
+                                                                                                                                </outcome>
+                                                                                                                                <outcome value='false'>
+                                                                                                                                    <switch test="`$tmp.stillHasUni`">
+                                                                                                                                        <outcome value='true'>
+                                                                                                                                            <block>
+                                                                                                                                                <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' ></call>
+                                                                                                                                                <block>
+                                                                                                                                                    <set>
+                                                                                                                                                        <parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />
+                                                                                                                                                    </set>
+                                                                                                                                                    <block atomic="true">
+                                                                                                                                                        <set>
+                                                                                                                                                            <parameter name='tmp.domain.pnf-name' value="`'networkId-providerId-' +
+                                                   $tmp.leafconn.access-provider-id + '-clientId-' +
+                                                   $tmp.leafconn.access-client-id + '-topologyId-' +
+                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +
+                                                   $tmp.leafconn.access-node-id`" />
+                                                                                                                                                        </set>
+                                                                                                                                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                      resource="pnf"
+                                                                                                                                                                      key="pnf.pnf-name = $tmp.domain.pnf-name"
+                                                                                                                                                                      pfx='tmp.aai.source-pnf' local-only='false' >
+                                                                                                                                                            <!--AND depth = '0'"-->
+                                                                                                                                                            <outcome value='success'>
+                                                                                                                                                                <block>
+                                                                                                                                                                    <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
+                                                                                                                                                                        <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                                                                                                                                            <outcome value='esr-thirdparty-sdnc'>
+                                                                                                                                                                                <block atomic="true">
+                                                                                                                                                                                    <set>
+                                                                                                                                                                                        <parameter name='tmp.domain.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                                                                    </set>
+                                                                                                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                                                  resource="esr-thirdparty-sdnc"
+                                                                                                                                                                                                  key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                                                                                                                  pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                                                                                                        <outcome value='success'>
+                                                                                                                                                                                            <block>
+                                                                                                                                                                                                <set>
+                                                                                                                                                                                                    <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                                                                                                    <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                                                                                                    <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                                                                                                    <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                                                                                                    <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                                                                                                    <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                                                                                                    <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                                                                                                    <!--<parameter name="format" value="json"/>-->
+                                                                                                                                                                                                    <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                                                                                                    <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                                                                                                    <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                                                                                                    <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                                                                                                    <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                                                                                                    <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                                                                                                                </set>
+                                                                                                                                                                                            </block>
+                                                                                                                                                                                        </outcome>
+                                                                                                                                                                                        <outcome value='not-found'>
+                                                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                                            </return>
+                                                                                                                                                                                        </outcome>
+                                                                                                                                                                                        <outcome value='Other'>
+                                                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                                                                <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                                            </return>
+                                                                                                                                                                                        </outcome>
+                                                                                                                                                                                    </get-resource>
+                                                                                                                                                                                    <break/>
+                                                                                                                                                                                </block>
+                                                                                                                                                                            </outcome>
+                                                                                                                                                                        </switch>
+                                                                                                                                                                    </for>
+                                                                                                                                                                </block>
+                                                                                                                                                            </outcome>
+                                                                                                                                                            <outcome value='not-found'>
+                                                                                                                                                                <return status='failure'>
+                                                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                                                                                    <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                </return>
+                                                                                                                                                            </outcome>
+                                                                                                                                                            <outcome value='Other'>
+                                                                                                                                                                <return status='failure'>
+                                                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                                                                                    <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                </return>
+                                                                                                                                                            </outcome>
+                                                                                                                                                        </get-resource>
+                                                                                                                                                    </block>
+                                                                                                                                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                                        <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`" />
+                                                                                                                                                        <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->
+                                                                                                                                                        <!--<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`" />-->
+                                                                                                                                                        <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domain.user`" />
+                                                                                                                                                        <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domain.password`" />
+                                                                                                                                                        <parameter name="format" value="json"/>
+                                                                                                                                                        <parameter name="httpMethod" value="delete"/>
+                                                                                                                                                        <parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
+                                                                                                                                                        <parameter name="responsePrefix" value="vpn-result"/>
+                                                                                                                                                        <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                                                                                                                        <parameter name="trustStorePassword" value="adminadmin"/>
+                                                                                                                                                        <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                                                                                                                        <parameter name="keyStorePassword" value="adminadmin"/>
+                                                                                                                                                        <outcome value='failure'>
+                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                                <parameter name="error-message" value="Error executing delete ethernet service rest api" />
+                                                                                                                                                            </return>
+                                                                                                                                                        </outcome>
+                                                                                                                                                        <outcome value='success'>
+                                                                                                                                                            <block atomic="true"></block>
+                                                                                                                                                        </outcome>
+                                                                                                                                                    </execute>
+                                                                                                                                                    <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' ></call>
+                                                                                                                                                    <switch test="`$found-root-connectivity`">
+                                                                                                                                                        <outcome value='true'>
+                                                                                                                                                            <block atomic='true'>
+                                                                                                                                                                <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                                        key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>
+                                                                                                                                                                    <parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />
+                                                                                                                                                                    <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                </update>
+                                                                                                                                                            </block>
+                                                                                                                                                        </outcome>
+                                                                                                                                                        <outcome value='false'>
+                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                                                                <parameter name='error-message' value='Root Connectivity was not found' />
+                                                                                                                                                            </return>
+                                                                                                                                                        </outcome>
+                                                                                                                                                    </switch>
+                                                                                                                                                </block>
+                                                                                                                                            </block>
+                                                                                                                                        </outcome>
+                                                                                                                                        <outcome value='false'>
+                                                                                                                                            <block>
+                                                                                                                                                <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' ></call>
+                                                                                                                                                <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                        key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'></delete>
+                                                                                                                                                <block atomic="true">
+                                                                                                                                                    <set>
+                                                                                                                                                        <parameter name='tmp.domain.pnf-name' value="`'networkId-providerId-' +
+                                                   $tmp.the-connectivity.access-provider-id + '-clientId-' +
+                                                   $tmp.the-connectivity.access-client-id + '-topologyId-' +
+                                                   $tmp.the-connectivity.access-topology-id + '-nodeId-' +
+                                                   $tmp.the-connectivity.access-node-id`" />
+                                                                                                                                                    </set>
+                                                                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                  resource="pnf"
+                                                                                                                                                                  key="pnf.pnf-name = $tmp.domain.pnf-name"
+                                                                                                                                                                  pfx='tmp.aai.source-pnf' local-only='false' >
+                                                                                                                                                        <!--AND depth = '0'"-->
+                                                                                                                                                        <outcome value='success'>
+                                                                                                                                                            <block>
+                                                                                                                                                                <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
+                                                                                                                                                                    <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                                                                                                                                        <outcome value='esr-thirdparty-sdnc'>
+                                                                                                                                                                            <block atomic="true">
+                                                                                                                                                                                <set>
+                                                                                                                                                                                    <parameter name='tmp.domain.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                                                                </set>
+                                                                                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                                              resource="esr-thirdparty-sdnc"
+                                                                                                                                                                                              key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                                                                                                              pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                                                                                                    <outcome value='success'>
+                                                                                                                                                                                        <block>
+                                                                                                                                                                                            <set>
+                                                                                                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                                                                                                <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                                                                                                <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                                                                                                <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                                                                                                <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                                                                                                <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                                                                                                <!--<parameter name="format" value="json"/>-->
+                                                                                                                                                                                                <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                                                                                                <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                                                                                                <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                                                                                                <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                                                                                                <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                                                                                                <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                                                                                                            </set>
+                                                                                                                                                                                        </block>
+                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                    <outcome value='not-found'>
+                                                                                                                                                                                        <return status='failure'>
+                                                                                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                                        </return>
+                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                    <outcome value='Other'>
+                                                                                                                                                                                        <return status='failure'>
+                                                                                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                                        </return>
+                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                </get-resource>
+                                                                                                                                                                                <break/>
+                                                                                                                                                                            </block>
+                                                                                                                                                                        </outcome>
+                                                                                                                                                                    </switch>
+                                                                                                                                                                </for>
+                                                                                                                                                            </block>
+                                                                                                                                                        </outcome>
+                                                                                                                                                        <outcome value='not-found'>
+                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                            </return>
+                                                                                                                                                        </outcome>
+                                                                                                                                                        <outcome value='Other'>
+                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                                <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                            </return>
+                                                                                                                                                        </outcome>
+                                                                                                                                                    </get-resource>
+                                                                                                                                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                                        <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.the-connectivity.etht-svc-name`" />
+                                                                                                                                                        <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->
+                                                                                                                                                        <!--<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`" />-->
+                                                                                                                                                        <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domain.user`" />
+                                                                                                                                                        <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domain.password`" />
+                                                                                                                                                        <parameter name="format" value="json"/>
+                                                                                                                                                        <parameter name="httpMethod" value="delete"/>
+                                                                                                                                                        <parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
+                                                                                                                                                        <parameter name="responsePrefix" value="vpn-result"/>
+                                                                                                                                                        <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                                                                                                                        <parameter name="trustStorePassword" value="adminadmin"/>
+                                                                                                                                                        <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                                                                                                                        <parameter name="keyStorePassword" value="adminadmin"/>
+                                                                                                                                                        <outcome value='failure'>
+                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                                <parameter name="error-message" value="Error executing delete ethernet service rest api" />
+                                                                                                                                                            </return>
+                                                                                                                                                        </outcome>
+                                                                                                                                                        <outcome value='success'>
+                                                                                                                                                            <block atomic="true"></block>
+                                                                                                                                                        </outcome>
+                                                                                                                                                    </execute>
+                                                                                                                                                </block>
+                                                                                                                                                <switch test="`$tmp.MMstillHasUni`">
+                                                                                                                                                    <outcome value='true'>
+                                                                                                                                                        <block>
+                                                                                                                                                            <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' ></call>
+                                                                                                                                                            <switch test="`$found-root-connectivity`">
+                                                                                                                                                                <outcome value='true'>
+                                                                                                                                                                    <block atomic='true'>
+                                                                                                                                                                        <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                                                key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>
+                                                                                                                                                                            <parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />
+                                                                                                                                                                            <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                        </update>
+                                                                                                                                                                    </block>
+                                                                                                                                                                </outcome>
+                                                                                                                                                                <outcome value='false'>
+                                                                                                                                                                    <return status='failure'>
+                                                                                                                                                                        <parameter name='error-code' value='' />
+                                                                                                                                                                        <parameter name='error-message' value='Root Connectivity was not found' />
+                                                                                                                                                                    </return>
+                                                                                                                                                                </outcome>
+                                                                                                                                                            </switch>
+                                                                                                                                                        </block>
+                                                                                                                                                    </outcome>
+                                                                                                                                                    <outcome value='false'>
+                                                                                                                                                        <block>
+                                                                                                                                                            <for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >
+                                                                                                                                                                <switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>
+                                                                                                                                                                    <outcome value='connectivity'>
+                                                                                                                                                                        <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                                      resource="connectivity"
+                                                                                                                                                                                      key="connectivity.connectivity-id = $middle-man-conn.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value"
+                                                                                                                                                                                      local-only="false"
+                                                                                                                                                                                      pfx="tmp.aai.connectivity" >
+                                                                                                                                                                            <outcome value='not-found'></outcome>
+                                                                                                                                                                            <outcome value='failure'></outcome>
+                                                                                                                                                                            <outcome value='success'>
+                                                                                                                                                                                <block>
+                                                                                                                                                                                    <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >
+                                                                                                                                                                                        <switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>
+                                                                                                                                                                                            <outcome value='vpn-binding'>
+                                                                                                                                                                                                <block atomic="true">
+                                                                                                                                                                                                    <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                                                                  resource="vpn-binding"
+                                                                                                                                                                                                                  key="vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
+                                                                                                                                                                                                                  local-only="false"
+                                                                                                                                                                                                                  pfx="tmp.aai.vpn-binding" >
+                                                                                                                                                                                                        <outcome value='success'>
+                                                                                                                                                                                                            <block atomic="true">
+                                                                                                                                                                                                                <set>
+                                                                                                                                                                                                                    <parameter name='tmp.domain.pnf-name' value="`'networkId-providerId-' +
+                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +
+                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +
+                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +
+                                                   $tmp.aai.vpn-binding.src-access-node-id`" />
+                                                                                                                                                                                                                </set>
+                                                                                                                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                                                                              resource="pnf"
+                                                                                                                                                                                                                              key="pnf.pnf-name = $tmp.domain.pnf-name"
+                                                                                                                                                                                                                              pfx='tmp.aai.source-pnf' local-only='false' >
+                                                                                                                                                                                                                    <!--AND depth = '0'"-->
+                                                                                                                                                                                                                    <outcome value='success'>
+                                                                                                                                                                                                                        <block>
+                                                                                                                                                                                                                            <for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >
+                                                                                                                                                                                                                                <switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>
+                                                                                                                                                                                                                                    <outcome value='esr-thirdparty-sdnc'>
+                                                                                                                                                                                                                                        <block atomic="true">
+                                                                                                                                                                                                                                            <set>
+                                                                                                                                                                                                                                                <parameter name='tmp.domain.esr-thirdparty-id' value="`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`" />
+                                                                                                                                                                                                                                            </set>
+                                                                                                                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                                                                                                                          resource="esr-thirdparty-sdnc"
+                                                                                                                                                                                                                                                          key="esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND
+                    depth = '1'"
+                                                                                                                                                                                                                                                          pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >
+                                                                                                                                                                                                                                                <outcome value='success'>
+                                                                                                                                                                                                                                                    <block>
+                                                                                                                                                                                                                                                        <set>
+                                                                                                                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`" />
+                                                                                                                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`" />
+                                                                                                                                                                                                                                                            <parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value="`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`" />
+                                                                                                                                                                                                                                                            <!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->
+                                                                                                                                                                                                                                                            <!--<parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`" />-->
+                                                                                                                                                                                                                                                            <!--<parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.user`" />-->
+                                                                                                                                                                                                                                                            <!--<parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.password`" />-->
+                                                                                                                                                                                                                                                            <!--<parameter name="format" value="json"/>-->
+                                                                                                                                                                                                                                                            <!--<parameter name="httpMethod" value="get"/>-->
+                                                                                                                                                                                                                                                            <!--<parameter name="responsePrefix" value="topology"/>-->
+                                                                                                                                                                                                                                                            <!--<parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>-->
+                                                                                                                                                                                                                                                            <!--<parameter name="trustStorePassword" value="adminadmin"/>-->
+                                                                                                                                                                                                                                                            <!--<parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>-->
+                                                                                                                                                                                                                                                            <!--<parameter name="keyStorePassword" value="adminadmin"/>-->
+                                                                                                                                                                                                                                                        </set>
+                                                                                                                                                                                                                                                    </block>
+                                                                                                                                                                                                                                                </outcome>
+                                                                                                                                                                                                                                                <outcome value='not-found'>
+                                                                                                                                                                                                                                                    <return status='failure'>
+                                                                                                                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                                                                                                    </return>
+                                                                                                                                                                                                                                                </outcome>
+                                                                                                                                                                                                                                                <outcome value='Other'>
+                                                                                                                                                                                                                                                    <return status='failure'>
+                                                                                                                                                                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                                                                                                                                                                        <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                                                                                                    </return>
+                                                                                                                                                                                                                                                </outcome>
+                                                                                                                                                                                                                                            </get-resource>
+                                                                                                                                                                                                                                            <break/>
+                                                                                                                                                                                                                                        </block>
+                                                                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                                                                </switch>
+                                                                                                                                                                                                                            </for>
+                                                                                                                                                                                                                        </block>
+                                                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                                                    <outcome value='not-found'>
+                                                                                                                                                                                                                        <return status='failure'>
+                                                                                                                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                                                                        </return>
+                                                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                                                    <outcome value='Other'>
+                                                                                                                                                                                                                        <return status='failure'>
+                                                                                                                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                                                                                                                            <parameter name="error-message" value="`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`" />
+                                                                                                                                                                                                                        </return>
+                                                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                                                </get-resource>
+                                                                                                                                                                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                                                                                                    <!--<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`" />-->
+                                                                                                                                                                                                                    <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`" />
+                                                                                                                                                                                                                    <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domain.user`" />
+                                                                                                                                                                                                                    <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domain.password`" />
+                                                                                                                                                                                                                    <parameter name="format" value="json"/>
+                                                                                                                                                                                                                    <parameter name="httpMethod" value="delete"/>
+                                                                                                                                                                                                                    <parameter name="responsePrefix" value="otn-oof"/>
+                                                                                                                                                                                                                    <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                                                                                                                                                                                    <parameter name="trustStorePassword" value="adminadmin"/>
+                                                                                                                                                                                                                    <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                                                                                                                                                                                    <parameter name="keyStorePassword" value="adminadmin"/>
+                                                                                                                                                                                                                    <parameter name='customHttpHeaders' value="`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`" />
+                                                                                                                                                                                                                    <outcome value='success'>
+                                                                                                                                                                                                                        <block atomic="true"></block>
+                                                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                                                    <outcome value='failure'>
+                                                                                                                                                                                                                        <return status='failure'>
+                                                                                                                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                                                                                                                            <parameter name="error-message" value="Error executing delete OTN tunnel rest api" />
+                                                                                                                                                                                                                        </return>
+                                                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                                                </execute>
+                                                                                                                                                                                                                <switch test='`$tmp.aai.connectivity.etht-svc-name`'>
+                                                                                                                                                                                                                    <outcome value='Other'>
+                                                                                                                                                                                                                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                                                                                                            <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`" />
+                                                                                                                                                                                                                            <!--<parameter name="restapiUrl" value="`$prop.restapi.connection-oof-url`" />-->
+                                                                                                                                                                                                                            <!--<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`" />-->
+                                                                                                                                                                                                                            <parameter name="restapiUser" value="`$prop.sdncRestApi.thirdpartySdnc.domain.user`" />
+                                                                                                                                                                                                                            <parameter name="restapiPassword" value="`$prop.sdncRestApi.thirdpartySdnc.domain.password`" />
+                                                                                                                                                                                                                            <parameter name="format" value="json"/>
+                                                                                                                                                                                                                            <parameter name="httpMethod" value="delete"/>
+                                                                                                                                                                                                                            <parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
+                                                                                                                                                                                                                            <parameter name="responsePrefix" value="vpn-result"/>
+                                                                                                                                                                                                                            <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+                                                                                                                                                                                                                            <parameter name="trustStorePassword" value="adminadmin"/>
+                                                                                                                                                                                                                            <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+                                                                                                                                                                                                                            <parameter name="keyStorePassword" value="adminadmin"/>
+                                                                                                                                                                                                                            <outcome value='failure'>
+                                                                                                                                                                                                                                <return status='failure'>
+                                                                                                                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                                                                                                                                                    <parameter name="error-message" value="Error executing delete ethernet service rest api" />
+                                                                                                                                                                                                                                </return>
+                                                                                                                                                                                                                            </outcome>
+                                                                                                                                                                                                                            <outcome value='success'>
+                                                                                                                                                                                                                                <block atomic="true"></block>
+                                                                                                                                                                                                                            </outcome>
+                                                                                                                                                                                                                        </execute>
+                                                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                                                    <outcome value=''></outcome>
+                                                                                                                                                                                                                </switch>
+                                                                                                                                                                                                                <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+                                                                                                                                                                                                                        key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' ></delete>
+                                                                                                                                                                                                            </block>
+                                                                                                                                                                                                        </outcome>
+                                                                                                                                                                                                        <outcome value='not-found'>
+                                                                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                                                                                                                            </return>
+                                                                                                                                                                                                        </outcome>
+                                                                                                                                                                                                        <outcome value='failure'>
+                                                                                                                                                                                                            <return status='failure'>
+                                                                                                                                                                                                                <parameter name='error-code' value='' />
+                                                                                                                                                                                                                <parameter name='error-message' value='' />
+                                                                                                                                                                                                            </return>
+                                                                                                                                                                                                        </outcome>
+                                                                                                                                                                                                    </get-resource>
+                                                                                                                                                                                                </block>
+                                                                                                                                                                                            </outcome>
+                                                                                                                                                                                            <outcome value='uni'>
+                                                                                                                                                                                                <block atomic="true">
+                                                                                                                                                                                                    <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'
+                                                                                                                                                                                                            key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'></delete>
+                                                                                                                                                                                                </block>
+                                                                                                                                                                                            </outcome>
+                                                                                                                                                                                        </switch>
+                                                                                                                                                                                    </for>
+                                                                                                                                                                                    <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                                                            key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'></delete>
+                                                                                                                                                                                </block>
+                                                                                                                                                                            </outcome>
+                                                                                                                                                                        </get-resource>
+                                                                                                                                                                    </outcome>
+                                                                                                                                                                </switch>
+                                                                                                                                                            </for>
+                                                                                                                                                            <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                                    key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'></delete>
+                                                                                                                                                        </block>
+                                                                                                                                                    </outcome>
+                                                                                                                                                </switch>
+                                                                                                                                            </block>
+                                                                                                                                        </outcome>
+                                                                                                                                    </switch>
+                                                                                                                                </outcome>
+                                                                                                                            </switch>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
+                                                                                                            </block>
+                                                                                                        </outcome>
+                                                                                                    </switch>
+                                                                                                </block>
                                                                                             </outcome>
-                                                                                        </execute>
-                                                                                    </outcome>
-                                                                                    <outcome value=''></outcome>
-                                                                                </switch>
-                                                                                <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
-                                                                                        key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' ></delete>
-                                                                            </block>
-                                                                        </outcome>
-                                                                        <outcome value='not-found'>
-                                                                            <return status='failure'>
-                                                                                <parameter name='ack-final' value='Y'/>
-                                                                                <parameter name="error-code" value="500" />
-                                                                                <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                                                                            </return>
-                                                                        </outcome>
-                                                                        <outcome value='failure'>
-                                                                            <return status='failure'>
-                                                                                <parameter name='error-code' value='' />
-                                                                                <parameter name='error-message' value='' />
-                                                                            </return>
-                                                                        </outcome>
-                                                                    </get-resource>
-                                                                </block>
-                                                            </outcome>
-                                                            <outcome value='uni'>
-                                                                <block atomic="true">
-                                                                    <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni'
-                                                                            key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'></delete>
-                                                                </block>
-                                                            </outcome>
-                                                        </switch>
-                                                    </for>
-                                                    <delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
-                                                            key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'></delete>
-                                                </block>
-                                            </outcome>
-                                            <outcome value='not-found'>
-                                                <return status='failure'>
-                                                    <parameter name='ack-final' value='Y'/>
-                                                    <parameter name="error-code" value="500" />
-                                                    <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                                                </return>
-                                            </outcome>
-                                            <outcome value='failure'>
-                                                <return status='failure'>
-                                                    <parameter name='error-code' value='' />
-                                                    <parameter name='error-message' value='' />
-                                                </return>
-                                            </outcome>
-                                        </get-resource>
-                                    </outcome>
-                                </switch>
-                            </for>
+                                                                                        </get-resource>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                            </switch>
+                                                                        </for>
+                                                                    </block>
+                                                                </outcome>
+                                                            </switch>
+                                                        </block>
+                                                    </outcome>
+                                                </get-resource>
+                                            </block>
+                                        </outcome>
+                                    </get-resource>
+                                </for>
+                                <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' ></call>
+                            </block>
                         </outcome>
                     </switch>
                 </outcome>
index 6c46a40..76cea19 100644 (file)
                                                                                                                                                     <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' ></call>
                                                                                                                                                 </block>
                                                                                                                                                 <set>
-                                                                                                                                                    <parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />
-                                                                                                                                                    <parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />
-                                                                                                                                                    <!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->
-                                                                                                                                                    <!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->
-                                                                                                                                                    <!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->
-                                                                                                                                                    <!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->
-                                                                                                                                                    <!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->
-                                                                                                                                                    <!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->
+                                                                                                                                                    <parameter name='tmp.aai.all-vpn-bindings.' value='' />
                                                                                                                                                 </set>
-                                                                                                                                                <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' ></call>
-                                                                                                                                                <switch test="`$found-connectivity`">
-                                                                                                                                                    <outcome value='false'>
-                                                                                                                                                        <return status='failure'>
-                                                                                                                                                            <parameter name='ack-final' value='Y'/>
-                                                                                                                                                            <parameter name="error-code" value="500" />
-                                                                                                                                                            <parameter name="error-message" value="LEAF CONN DOES NOT EXIST BUT IT SHOULD BE." />
-                                                                                                                                                        </return>
-                                                                                                                                                    </outcome>
-                                                                                                                                                    <outcome value='true'>
-                                                                                                                                                        <block atomic='true'>
-                                                                                                                                                            <for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >
-                                                                                                                                                                <switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>
-                                                                                                                                                                    <outcome value='vpn-binding'>
-                                                                                                                                                                        <block atomic="true">
-                                                                                                                                                                            <set>
-                                                                                                                                                                                <parameter name='tmp.aai.vpn-binding.' value='' />
-                                                                                                                                                                            </set>
-                                                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                                                                                                                          resource="vpn-binding"
-                                                                                                                                                                                          key="vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
-                                                                                                                                                                                          local-only="false"
-                                                                                                                                                                                          pfx="tmp.aai.vpn-binding" >
-                                                                                                                                                                                <outcome value='success'>
-                                                                                                                                                                                    <block atomic='true'>
-                                                                                                                                                                                        <switch test="`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `">
-                                                                                                                                                                                            <outcome value='true'>
-                                                                                                                                                                                                <switch test="`$tmp.isBwIncreased`">
-                                                                                                                                                                                                    <outcome value='true'>
-                                                                                                                                                                                                        <block atomic='true'>
-                                                                                                                                                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
-                                                                                                                                                                                                                    key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >
-                                                                                                                                                                                                                <parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />
-                                                                                                                                                                                                                <parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />
-                                                                                                                                                                                                                <parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />
-                                                                                                                                                                                                                <parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher + $tmp.delta`' />
-                                                                                                                                                                                                                <parameter name='operational-status' value='Modified' />
-                                                                                                                                                                                                            </update>
-                                                                                                                                                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
-                                                                                                                                                                                                                    key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>
-                                                                                                                                                                                                                <parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />
-                                                                                                                                                                                                                <parameter name='operational-status' value='Modified' />
-                                                                                                                                                                                                                <!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->
-                                                                                                                                                                                                                <!--<parameter name='cir' value='`$gfp *1000000`' />-->
-                                                                                                                                                                                                                <!--<parameter name='eir' value='`$gfp *1000000`' />-->
-                                                                                                                                                                                                            </update>
-                                                                                                                                                                                                        </block>
-                                                                                                                                                                                                    </outcome>
-                                                                                                                                                                                                    <outcome value='false'>
-                                                                                                                                                                                                        <block atomic='true'>
-                                                                                                                                                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
-                                                                                                                                                                                                                    key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >
-                                                                                                                                                                                                                <parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />
-                                                                                                                                                                                                                <parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />
-                                                                                                                                                                                                                <parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />
-                                                                                                                                                                                                                <parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher - $tmp.delta`' />
-                                                                                                                                                                                                                <parameter name='operational-status' value='Modified' />
-                                                                                                                                                                                                            </update>
-                                                                                                                                                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
-                                                                                                                                                                                                                    key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>
-                                                                                                                                                                                                                <parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />
-                                                                                                                                                                                                                <parameter name='operational-status' value='Modified' />
-                                                                                                                                                                                                                <!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->
-                                                                                                                                                                                                                <!--<parameter name='cir' value='`$gfp *1000000`' />-->
-                                                                                                                                                                                                                <!--<parameter name='eir' value='`$gfp *1000000`' />-->
-                                                                                                                                                                                                            </update>
-                                                                                                                                                                                                        </block>
-                                                                                                                                                                                                    </outcome>
-                                                                                                                                                                                                </switch>
-                                                                                                                                                                                            </outcome>
-                                                                                                                                                                                            <outcome value='false'></outcome>
-                                                                                                                                                                                        </switch>
-                                                                                                                                                                                    </block>
-                                                                                                                                                                                </outcome>
-                                                                                                                                                                                <outcome value='not-found'>
-                                                                                                                                                                                    <return status='failure'>
-                                                                                                                                                                                        <parameter name='ack-final' value='Y'/>
-                                                                                                                                                                                        <parameter name="error-code" value="500" />
-                                                                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                                                                                                                                                                                    </return>
-                                                                                                                                                                                </outcome>
-                                                                                                                                                                                <outcome value='failure'>
-                                                                                                                                                                                    <return status='failure'>
-                                                                                                                                                                                        <parameter name='error-code' value='' />
-                                                                                                                                                                                        <parameter name='error-message' value='' />
-                                                                                                                                                                                    </return>
-                                                                                                                                                                                </outcome>
-                                                                                                                                                                            </get-resource>
-                                                                                                                                                                        </block>
-                                                                                                                                                                    </outcome>
-                                                                                                                                                                </switch>
-                                                                                                                                                            </for>
-                                                                                                                                                        </block>
-                                                                                                                                                    </outcome>
-                                                                                                                                                </switch>
-                                                                                                                                                <call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' ></call>
-                                                                                                                                                <switch test="`$found-root-connectivity`">
-                                                                                                                                                    <outcome value='true'>
-                                                                                                                                                        <block atomic='true'>
-                                                                                                                                                            <for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.ROOT.connectivity.relationship-list.relationship_length`' >
-                                                                                                                                                                <switch test='`$tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].related-to`'>
-                                                                                                                                                                    <outcome value='vpn-binding'>
-                                                                                                                                                                        <block atomic="true">
-                                                                                                                                                                            <set>
-                                                                                                                                                                                <parameter name='tmp.aai.vpn-binding.' value='' />
-                                                                                                                                                                            </set>
-                                                                                                                                                                            <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
-                                                                                                                                                                                          resource="vpn-binding"
-                                                                                                                                                                                          key="vpn-binding.vpn-id = $tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value"
-                                                                                                                                                                                          local-only="false"
-                                                                                                                                                                                          pfx="tmp.aai.vpn-binding" >
-                                                                                                                                                                                <outcome value='success'>
-                                                                                                                                                                                    <block atomic="true">
+                                                                                                                                                <get-resource plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService"
+                                                                                                                                                              resource="vpn-bindings"
+                                                                                                                                                              key="selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings"
+                                                                                                                                                              local-only="false"
+                                                                                                                                                              pfx="tmp.aai.all-vpn-bindings" >
+                                                                                                                                                    <outcome value='success'>
+                                                                                                                                                        <block atomic="true">
+                                                                                                                                                            <for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >
+                                                                                                                                                                <block atomic='true'>
+                                                                                                                                                                    <switch test="`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `">
+                                                                                                                                                                        <outcome value='true'>
+                                                                                                                                                                            <block atomic='true'>
+                                                                                                                                                                                <set>
+                                                                                                                                                                                    <parameter name='tmp.aai.the-vpn-binding.' value="" />
+                                                                                                                                                                                </set>
+                                                                                                                                                                                <set>
+                                                                                                                                                                                    <parameter name='tmp.aai.the-vpn-binding.' value="`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`" />
+                                                                                                                                                                                </set>
+                                                                                                                                                                                <for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >
+                                                                                                                                                                                    <switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>
+                                                                                                                                                                                        <outcome value='connectivity'>
+                                                                                                                                                                                            <block atomic="true">
+                                                                                                                                                                                                <set>
+                                                                                                                                                                                                    <parameter name='tmp.the-connectivity.' value='' />
+                                                                                                                                                                                                </set>
+                                                                                                                                                                                                <set>
+                                                                                                                                                                                                    <parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />
+                                                                                                                                                                                                </set>
+                                                                                                                                                                                            </block>
+                                                                                                                                                                                        </outcome>
+                                                                                                                                                                                    </switch>
+                                                                                                                                                                                </for>
+                                                                                                                                                                                <switch test="`$tmp.isBwIncreased`">
+                                                                                                                                                                                    <outcome value='true'>
                                                                                                                                                                                         <block atomic='true'>
-                                                                                                                                                                                            <switch test="`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `">
-                                                                                                                                                                                                <outcome value='true'>
-                                                                                                                                                                                                    <switch test="`$tmp.isBwIncreased`">
-                                                                                                                                                                                                        <outcome value='true'>
-                                                                                                                                                                                                            <block atomic='true'>
-                                                                                                                                                                                                                <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
-                                                                                                                                                                                                                        key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >
-                                                                                                                                                                                                                    <parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />
-                                                                                                                                                                                                                    <parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />
-                                                                                                                                                                                                                    <parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />
-                                                                                                                                                                                                                    <parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher + $tmp.delta`' />
-                                                                                                                                                                                                                    <parameter name='operational-status' value='Modified' />
-                                                                                                                                                                                                                </update>
-                                                                                                                                                                                                                <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
-                                                                                                                                                                                                                        key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>
-                                                                                                                                                                                                                    <parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />
-                                                                                                                                                                                                                    <parameter name='operational-status' value='Modified' />
-                                                                                                                                                                                                                    <!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->
-                                                                                                                                                                                                                    <!--<parameter name='cir' value='`$gfp *1000000`' />-->
-                                                                                                                                                                                                                    <!--<parameter name='eir' value='`$gfp *1000000`' />-->
-                                                                                                                                                                                                                </update>
-                                                                                                                                                                                                            </block>
-                                                                                                                                                                                                        </outcome>
-                                                                                                                                                                                                        <outcome value='false'>
-                                                                                                                                                                                                            <block atomic='true'>
-                                                                                                                                                                                                                <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
-                                                                                                                                                                                                                        key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >
-                                                                                                                                                                                                                    <parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />
-                                                                                                                                                                                                                    <parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />
-                                                                                                                                                                                                                    <parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />
-                                                                                                                                                                                                                    <parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher - $tmp.delta`' />
-                                                                                                                                                                                                                    <parameter name='operational-status' value='Modified' />
-                                                                                                                                                                                                                </update>
-                                                                                                                                                                                                                <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
-                                                                                                                                                                                                                        key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>
-                                                                                                                                                                                                                    <parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />
-                                                                                                                                                                                                                    <parameter name='operational-status' value='Modified' />
-                                                                                                                                                                                                                    <!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->
-                                                                                                                                                                                                                    <!--<parameter name='cir' value='`$gfp *1000000`' />-->
-                                                                                                                                                                                                                    <!--<parameter name='eir' value='`$gfp *1000000`' />-->
-                                                                                                                                                                                                                </update>
-                                                                                                                                                                                                            </block>
-                                                                                                                                                                                                        </outcome>
-                                                                                                                                                                                                    </switch>
-                                                                                                                                                                                                </outcome>
-                                                                                                                                                                                                <outcome value='false'></outcome>
-                                                                                                                                                                                            </switch>
+                                                                                                                                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+                                                                                                                                                                                                    key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >
+                                                                                                                                                                                                <parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />
+                                                                                                                                                                                                <parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />
+                                                                                                                                                                                                <parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />
+                                                                                                                                                                                                <parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $tmp.delta`' />
+                                                                                                                                                                                                <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                                            </update>
+                                                                                                                                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                                                                    key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>
+                                                                                                                                                                                                <parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />
+                                                                                                                                                                                                <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                                                <!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->
+                                                                                                                                                                                                <!--<parameter name='cir' value='`$gfp *1000000`' />-->
+                                                                                                                                                                                                <!--<parameter name='eir' value='`$gfp *1000000`' />-->
+                                                                                                                                                                                            </update>
                                                                                                                                                                                         </block>
-                                                                                                                                                                                    </block>
-                                                                                                                                                                                </outcome>
-                                                                                                                                                                                <outcome value='not-found'>
-                                                                                                                                                                                    <return status='failure'>
-                                                                                                                                                                                        <parameter name='ack-final' value='Y'/>
-                                                                                                                                                                                        <parameter name="error-code" value="500" />
-                                                                                                                                                                                        <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
-                                                                                                                                                                                    </return>
-                                                                                                                                                                                </outcome>
-                                                                                                                                                                                <outcome value='failure'>
-                                                                                                                                                                                    <return status='failure'>
-                                                                                                                                                                                        <parameter name='error-code' value='' />
-                                                                                                                                                                                        <parameter name='error-message' value='' />
-                                                                                                                                                                                    </return>
-                                                                                                                                                                                </outcome>
-                                                                                                                                                                            </get-resource>
-                                                                                                                                                                        </block>
-                                                                                                                                                                    </outcome>
-                                                                                                                                                                </switch>
+                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                    <outcome value='false'>
+                                                                                                                                                                                        <block atomic='true'>
+                                                                                                                                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding'
+                                                                                                                                                                                                    key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >
+                                                                                                                                                                                                <parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />
+                                                                                                                                                                                                <parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />
+                                                                                                                                                                                                <parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />
+                                                                                                                                                                                                <parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $tmp.delta`' />
+                                                                                                                                                                                                <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                                            </update>
+                                                                                                                                                                                            <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+                                                                                                                                                                                                    key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>
+                                                                                                                                                                                                <parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />
+                                                                                                                                                                                                <parameter name='operational-status' value='Modified' />
+                                                                                                                                                                                                <!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->
+                                                                                                                                                                                                <!--<parameter name='cir' value='`$gfp *1000000`' />-->
+                                                                                                                                                                                                <!--<parameter name='eir' value='`$gfp *1000000`' />-->
+                                                                                                                                                                                            </update>
+                                                                                                                                                                                        </block>
+                                                                                                                                                                                    </outcome>
+                                                                                                                                                                                </switch>
+                                                                                                                                                                            </block>
+                                                                                                                                                                        </outcome>
+                                                                                                                                                                        <outcome value='false'></outcome>
+                                                                                                                                                                    </switch>
+                                                                                                                                                                </block>
                                                                                                                                                             </for>
                                                                                                                                                         </block>
                                                                                                                                                     </outcome>
-                                                                                                                                                    <outcome value='false'>
+                                                                                                                                                    <outcome value='not-found'>
+                                                                                                                                                        <return status='failure'>
+                                                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                                                            <parameter name="error-message" value="`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`" />
+                                                                                                                                                        </return>
+                                                                                                                                                    </outcome>
+                                                                                                                                                    <outcome value='failure'>
                                                                                                                                                         <return status='failure'>
                                                                                                                                                             <parameter name='error-code' value='' />
-                                                                                                                                                            <parameter name='error-message' value='Root Connectivity was not found but it should have been!' />
+                                                                                                                                                            <parameter name='error-message' value='' />
                                                                                                                                                         </return>
                                                                                                                                                     </outcome>
-                                                                                                                                                </switch>
+                                                                                                                                                </get-resource>
                                                                                                                                             </block>
                                                                                                                                         </block>
                                                                                                                                     </outcome>