Support for proper deletion of vpn-bindings when there are multiple CLLs and multiple...
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete-VPNBs.json
index de9383d..ecbe092 100644 (file)
 [\r
     {\r
-        "id": "a88af18.67fae9",\r
+        "id": "3822698e.fe6a9e",\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
+        "x": 2722.4332885742188,\r
+        "y": 1488,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "d17bb726.fa65e8"\r
+                "61592847.4c1088"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d17bb726.fa65e8",\r
+        "id": "61592847.4c1088",\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
+        "x": 2859.4332885742188,\r
+        "y": 1576,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "141e9731.53d429"\r
+                "a18c2b6d.4397b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5a075e5f.de06b8",\r
+        "id": "62ff1995.5919b8",\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
+        "x": 3244.4332885742188,\r
+        "y": 1589,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "bfab05fb.6c1fd",\r
-                "66b97fa3.09fba8",\r
-                "a61f3fb8.28c2b"\r
+                "93829917.caf878",\r
+                "4d145f4b.31c318",\r
+                "47a377cc.3a6e08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "141e9731.53d429",\r
+        "id": "a18c2b6d.4397b",\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
+        "x": 3038.4332885742188,\r
+        "y": 1576,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "6ba56bd3.970cc4",\r
-                "5a075e5f.de06b8",\r
-                "f743ac29.02b56"\r
+                "f904d45e.838058",\r
+                "62ff1995.5919b8",\r
+                "1ddc0d65.0a518b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6ba56bd3.970cc4",\r
+        "id": "f904d45e.838058",\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
+        "x": 3274.4332885742188,\r
+        "y": 1537,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bfab05fb.6c1fd",\r
+        "id": "93829917.caf878",\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
+        "x": 3454.4332885742188,\r
+        "y": 1580,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "9395b4f9.f11e08"\r
+                "77ca3f11.791e38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "66b97fa3.09fba8",\r
+        "id": "4d145f4b.31c318",\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
+        "x": 3446.4332885742188,\r
+        "y": 1635,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "6a113c41.2b7f84"\r
+                "40a5f22a.13a82c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a61f3fb8.28c2b",\r
+        "id": "47a377cc.3a6e08",\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
+        "x": 3451.4332885742188,\r
+        "y": 1692,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "ae24d388.debf2"\r
+                "a269a8ad.5fc788"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ae24d388.debf2",\r
+        "id": "a269a8ad.5fc788",\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
+        "x": 3603.4332885742188,\r
+        "y": 1693,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "6a113c41.2b7f84",\r
+        "id": "40a5f22a.13a82c",\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
+        "x": 3614.4332885742188,\r
+        "y": 1638,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9395b4f9.f11e08",\r
+        "id": "77ca3f11.791e38",\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
+        "x": 3598.8156127929688,\r
+        "y": 1577.6556701660156,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "e30efe2.36b498"\r
+                "1f7af3e2.81853c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e30efe2.36b498",\r
+        "id": "1f7af3e2.81853c",\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
+        "x": 3813.4332885742188,\r
+        "y": 1574,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f743ac29.02b56",\r
+        "id": "1ddc0d65.0a518b",\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
+        "x": 3194.4332885742188,\r
+        "y": 1653,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "98d7bf6.4dfe7c",\r
+        "id": "e639cfa.29b4c3",\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
+        "x": 2614.9332885742188,\r
+        "y": 1775,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "61820fcc.882e",\r
+        "id": "1f0101e1.8e6866",\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
+        "x": 2610.4332885742188,\r
+        "y": 1840,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "5b3a4445.ce6224",\r
+        "id": "944f61d3.f96e18",\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
+        "x": 2520.4331665039062,\r
+        "y": 1561,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "a88af18.67fae9"\r
+                "3822698e.fe6a9e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "132ce225.b79cae",\r
+        "id": "63959115.b850c",\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
+        "x": 1968.4330444335938,\r
+        "y": 1541,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5cdb5a7a.54733c",\r
+        "id": "a62a741e.9cd9d",\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
+        "x": 1996.4331665039062,\r
+        "y": 1611,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "6c0f168f.8aad68",\r
-                "cd12f0b4.568798",\r
-                "80b1b093.b4332"\r
+                "ca780146.c1231",\r
+                "2112ad82.c29caa",\r
+                "937e0d43.e6cd18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6c0f168f.8aad68",\r
+        "id": "ca780146.c1231",\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
+        "x": 2191.9332885742188,\r
+        "y": 1563,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "99130a65.69efe8"\r
+                "7599f2ce.c74a1c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cd12f0b4.568798",\r
+        "id": "2112ad82.c29caa",\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
+        "x": 2183.9332885742188,\r
+        "y": 1618,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "80ce6dda.3e5e5"\r
+                "5027d99d.8613"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "99130a65.69efe8",\r
+        "id": "7599f2ce.c74a1c",\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
+        "x": 2336.3156127929688,\r
+        "y": 1562.6556701660156,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "5b3a4445.ce6224"\r
+                "944f61d3.f96e18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80b1b093.b4332",\r
+        "id": "937e0d43.e6cd18",\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
+        "x": 2188.9332885742188,\r
+        "y": 1675,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "b4d035fe.9cf0b"\r
+                "76756fa2.c3dc2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b4d035fe.9cf0b",\r
+        "id": "76756fa2.c3dc2",\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
+        "x": 2340.9332885742188,\r
+        "y": 1676,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "80ce6dda.3e5e5",\r
+        "id": "5027d99d.8613",\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
+        "x": 2351.9332885742188,\r
+        "y": 1619,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cbce5afd.0d149",\r
+        "id": "64d61f83.5de088",\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
+        "x": 2106.4332885742188,\r
+        "y": 1805,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "38dfa115.008496",\r
-                "f31653a0.9143e8"\r
+                "847a88ab.176f8",\r
+                "60c8b991.b738f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "38dfa115.008496",\r
+        "id": "847a88ab.176f8",\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
+        "x": 2438.9332885742188,\r
+        "y": 1775,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "98d7bf6.4dfe7c"\r
+                "e639cfa.29b4c3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f31653a0.9143e8",\r
+        "id": "60c8b991.b738f",\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
+        "x": 2443.9332885742188,\r
+        "y": 1840,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "61820fcc.882e"\r
+                "1f0101e1.8e6866"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "30af1423.cd4b6c",\r
+        "id": "a3d6fe2.756c3",\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
+        "x": 2029.4332885742188,\r
+        "y": 1936,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "d0b44cbe.a16a5",\r
+        "id": "f2fb74bb.786498",\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
+        "x": 1738.4332885742188,\r
+        "y": 1761,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "132ce225.b79cae",\r
-                "5cdb5a7a.54733c",\r
-                "cbce5afd.0d149",\r
-                "30af1423.cd4b6c",\r
-                "b097652b.150d7",\r
-                "e258ce61.c84d28"\r
+                "63959115.b850c",\r
+                "a62a741e.9cd9d",\r
+                "64d61f83.5de088",\r
+                "a3d6fe2.756c3",\r
+                "d781a807.293c48",\r
+                "c5cf8874.0fba"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b097652b.150d7",\r
+        "id": "d781a807.293c48",\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
+        "x": 2017.6331176757812,\r
+        "y": 1444,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e258ce61.c84d28",\r
+        "id": "c5cf8874.0fba",\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
+        "x": 2009.6331176757812,\r
+        "y": 1493,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3c24f82.dfab088",\r
+        "id": "ea6bf698.38c53",\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
+        "x": 939.6170654296875,\r
+        "y": 1565.5166015625,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "570ad10f.ad92f8",\r
+        "id": "6975d798.e5c738",\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
+        "x": 837.6170654296875,\r
+        "y": 1600.5166015625,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "f405b75.e7a9fc8",\r
-                "4e9de096.f468b",\r
-                "9757d76.73f10a8"\r
+                "c993cc39.ec87d",\r
+                "2a52cdc6.c6690a",\r
+                "7a224e7c.af9708"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f405b75.e7a9fc8",\r
+        "id": "c993cc39.ec87d",\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
+        "x": 1042.6170654296875,\r
+        "y": 1597.5166015625,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "5de56166.922018"\r
+                "6326654e.b84854"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4e9de096.f468b",\r
+        "id": "2a52cdc6.c6690a",\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
+        "x": 1026.1080322265625,\r
+        "y": 1659.0906372070312,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "a1062ebe.b15808"\r
+                "a71bbbd1.f4a8c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9757d76.73f10a8",\r
+        "id": "7a224e7c.af9708",\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
+        "x": 1023.6170654296875,\r
+        "y": 1702.5166015625,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "10e74f8b.3fb4a8"\r
+                "ec0ca87c.f45398"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5de56166.922018",\r
+        "id": "6326654e.b84854",\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
+        "x": 1210.6173095703125,\r
+        "y": 1592.5166015625,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "fdc657b.398c8a8"\r
+                "2bc4a679.cf5d3a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a1062ebe.b15808",\r
+        "id": "a71bbbd1.f4a8c",\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
+        "x": 1188.679443359375,\r
+        "y": 1659.3763732910156,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "10e74f8b.3fb4a8",\r
+        "id": "ec0ca87c.f45398",\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
+        "x": 1190.6170654296875,\r
+        "y": 1701.5166015625,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fdc657b.398c8a8",\r
+        "id": "2bc4a679.cf5d3a",\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
+        "x": 836.6173706054688,\r
+        "y": 1837.5166015625,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "5a8644f1.6f626c"\r
+                "7c4d0989.9bb298"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5a8644f1.6f626c",\r
+        "id": "7c4d0989.9bb298",\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
+        "x": 1066.6171264648438,\r
+        "y": 1825.5166015625,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "71241a5.135ba64"\r
+                "bd37314.c09c9d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "71241a5.135ba64",\r
+        "id": "bd37314.c09c9d",\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
+        "x": 1302.4335327148438,\r
+        "y": 1824.68310546875,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "4253fbea.3b4874",\r
-                "6cef3566.dab14c"\r
+                "d2ea08ce.4f3608",\r
+                "40b454d5.b7ece4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4253fbea.3b4874",\r
+        "id": "d2ea08ce.4f3608",\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
+        "x": 1532.4335327148438,\r
+        "y": 1819.6826171875,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "d0b44cbe.a16a5"\r
+                "f2fb74bb.786498"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6cef3566.dab14c",\r
+        "id": "40b454d5.b7ece4",\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
+        "x": 1543.4335327148438,\r
+        "y": 1862.6826171875,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3070392b.33f8c6",\r
+        "id": "3e5224b.295e95c",\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
+        "x": 1161.1166381835938,\r
+        "y": 618.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "45e829a.7cbd958",\r
+        "id": "2f96b0a0.fe469",\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
+        "x": 816.3167724609375,\r
+        "y": 1526.5166015625,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "304ed1d7.4f9efe",\r
+        "id": "8609633e.a887d8",\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
+        "x": 580.1166381835938,\r
+        "y": 1556.35009765625,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "45e829a.7cbd958",\r
-                "570ad10f.ad92f8"\r
+                "2f96b0a0.fe469",\r
+                "6975d798.e5c738"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7df4e9d5.2bc648",\r
+        "id": "483fdff.aacb22",\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
+        "x": 1506.1166381835938,\r
+        "y": 480.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "a43c232c.85575"\r
+                "c84682e7.370ef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "561ea33d.a2ffb4",\r
+        "id": "dda9e843.2f3f18",\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
+        "x": 1213.1166381835938,\r
+        "y": 474.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "7df4e9d5.2bc648"\r
+                "483fdff.aacb22"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2e515252.bebdb6",\r
+        "id": "d616c0c5.fad828",\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
+        "x": 1468.1166381835938,\r
+        "y": 431.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "36a9a792.12dcb8",\r
+        "id": "a2a08a1a.858e78",\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
+        "x": 1157.1166381835938,\r
+        "y": 526.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2a69687a.5611c",\r
+        "id": "201e5d50.a3833a",\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
+        "x": 1165.1166381835938,\r
+        "y": 571.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f3c1922.734777",\r
+        "id": "6eecdb5f.76c2ac",\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
+        "x": 1162.1166381835938,\r
+        "y": 424.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a43c232c.85575",\r
+        "id": "c84682e7.370ef",\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
+        "x": 1415.1166381835938,\r
+        "y": 548.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "f8e0e906.2dd5c"\r
+                "ab0f32b5.16cbf8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f8e0e906.2dd5c",\r
+        "id": "ab0f32b5.16cbf8",\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
+        "x": 1600.1166381835938,\r
+        "y": 547.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "8c6726fe.7433a8"\r
+                "51342e13.198088"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cc1b4364.1c9f18",\r
+        "id": "3e0e37bf.5a574",\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
+        "x": 857.1166381835938,\r
+        "y": 446.3998718261719,\r
+        "z": "ec6164d7.ff9708",\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
+                "a4e53180.2dfc9",\r
+                "128161ed.802f86",\r
+                "a2a08a1a.858e78",\r
+                "201e5d50.a3833a",\r
+                "3e5224b.295e95c",\r
+                "dda9e843.2f3f18",\r
+                "9fcccd6f.e18a48"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "59a1e33e.932044",\r
+        "id": "b0a1b203.5dc08",\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
+        "x": 842.1166381835938,\r
+        "y": 380.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ba37203f.b37c18",\r
+        "id": "128161ed.802f86",\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
+        "x": 1221.1166381835938,\r
+        "y": 367.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "c06f47ba.39269",\r
-                "e8314c16.79663",\r
-                "2e515252.bebdb6"\r
+                "6219ad91.7b0784",\r
+                "4229f1dc.fc23b8",\r
+                "d616c0c5.fad828"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c06f47ba.39269",\r
+        "id": "6219ad91.7b0784",\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
+        "x": 1457.1166381835938,\r
+        "y": 350.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "e8314c16.79663",\r
+        "id": "4229f1dc.fc23b8",\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
+        "x": 1454.1166381835938,\r
+        "y": 391.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "7c0eef33.a4cac8",\r
+        "id": "a4e53180.2dfc9",\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
+        "x": 1170.1166381835938,\r
+        "y": 324.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8c6726fe.7433a8",\r
+        "id": "51342e13.198088",\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
+        "x": 1792.1166381835938,\r
+        "y": 550.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "99c0dc88.ef82e8"\r
+                "6b44ef76.186218"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "99c0dc88.ef82e8",\r
+        "id": "6b44ef76.186218",\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
+        "x": 1964.1166381835938,\r
+        "y": 546.3998718261719,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d2cbaaf0.8cf72",\r
+        "id": "425448fb.cf113",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 154.88333129882812,\r
-        "y": 89.88333129882812,\r
-        "z": "347519d8.005516",\r
+        "x": 145,\r
+        "y": 115,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "a811003b.ca91f8"\r
+                "99235c0c.841188"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a811003b.ca91f8",\r
+        "id": "99235c0c.841188",\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": 439.1690216064453,\r
-        "y": 151.12143993377686,\r
-        "z": "347519d8.005516",\r
+        "x": 429.2856903076172,\r
+        "y": 176.23810863494873,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "5803201b.e752d"\r
+                "d962c511.69b1b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5803201b.e752d",\r
+        "id": "d962c511.69b1b8",\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
+        "x": 435.42860412597656,\r
+        "y": 261.0000305175781,\r
+        "z": "ec6164d7.ff9708",\r
         "wires": [\r
             [\r
-                "cc1b4364.1c9f18"\r
+                "3e0e37bf.5a574"\r
             ]\r
         ]\r
+    },\r
+    {\r
+        "id": "9fcccd6f.e18a48",\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": 806.63330078125,\r
+        "y": 876.0833740234375,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "fe8b9bc1.266868"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe8b9bc1.266868",\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": 1106.967041015625,\r
+        "y": 871.0833129882812,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "a50ce6d7.7af75"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a50ce6d7.7af75",\r
+        "type": "outcome",\r
+        "name": "connectivity",\r
+        "xml": "<outcome value='connectivity'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1286.6336669921875,\r
+        "y": 871.0834045410156,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "878c81c6.c1cf08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "878c81c6.c1cf08",\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": 1486.633544921875,\r
+        "y": 871.0833740234375,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "e5ce5572.0e9be",\r
+                "220d084e.f1aa2",\r
+                "8b2d18ec.0684a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b2d18ec.0684a8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1717.683349609375,\r
+        "y": 821.8831787109375,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "220d084e.f1aa2",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1715.1923828125,\r
+        "y": 865.3091430664062,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5ce5572.0e9be",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1693.63330078125,\r
+        "y": 921.0833740234375,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "adf18092.0df43"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "adf18092.0df43",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 695.866943359375,\r
+        "y": 1018.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "841267bf.5a37d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "841267bf.5a37d8",\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": 869.866943359375,\r
+        "y": 1020.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "83e51395.23054"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83e51395.23054",\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": 1066.866943359375,\r
+        "y": 1034.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "20d4597f.7ec4fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20d4597f.7ec4fe",\r
+        "type": "outcome",\r
+        "name": "vpn-binding",\r
+        "xml": "<outcome value='vpn-binding'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1234.866943359375,\r
+        "y": 1027.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "962e1e07.ed3e1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "962e1e07.ed3e1",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1397.866943359375,\r
+        "y": 1027.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "b3331932.59a4e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3331932.59a4e",\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": 1073.866943359375,\r
+        "y": 1167.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "1d1a3767.b90801",\r
+                "1205c3c9.a1fe14",\r
+                "ac824193.0ceb4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d1a3767.b90801",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1284.866943359375,\r
+        "y": 1169.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "ce3bd26f.86a788"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1205c3c9.a1fe14",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1285.35791015625,\r
+        "y": 1214.8571166992188,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "8c52b3a4.bb9928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac824193.0ceb4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1282.866943359375,\r
+        "y": 1258.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "b8796894.76af28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c52b3a4.bb9928",\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": 1447.9293212890625,\r
+        "y": 1215.1428527832031,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b8796894.76af28",\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": 1449.866943359375,\r
+        "y": 1257.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3d324826.e49518",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2047.866943359375,\r
+        "y": 1097.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "cd0aab83.f02f78",\r
+                "8058933f.2691e",\r
+                "f481dab1.2bbd68",\r
+                "119a4845.874928",\r
+                "5f76b8d0.e5e58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd0aab83.f02f78",\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": 2269.866943359375,\r
+        "y": 815.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8058933f.2691e",\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": 2295.866943359375,\r
+        "y": 932.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "d483622c.685ad",\r
+                "b6de022b.29ab58",\r
+                "e510b446.5dd1e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f481dab1.2bbd68",\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": 2398.866943359375,\r
+        "y": 1199.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "422a3d0e.0ac58c",\r
+                "dc94e365.153108"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d483622c.685ad",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2491.3670654296875,\r
+        "y": 884.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "d09e0056.1e082"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6de022b.29ab58",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2483.3670654296875,\r
+        "y": 939.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "9a521350.d6234"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d09e0056.1e082",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2625.749267578125,\r
+        "y": 878.9388427734375,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "f0956103.d162e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e510b446.5dd1e8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2488.3670654296875,\r
+        "y": 996.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "e16f9ab0.64cc3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e16f9ab0.64cc3",\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": 2640.3670654296875,\r
+        "y": 997.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9a521350.d6234",\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": 2651.3670654296875,\r
+        "y": 940.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f0956103.d162e8",\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": 2812.866455078125,\r
+        "y": 880.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "af503a6c.61f9f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af503a6c.61f9f8",\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": 3053.866455078125,\r
+        "y": 871.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "b61fba47.4726f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "422a3d0e.0ac58c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2706.366455078125,\r
+        "y": 1224.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "dec1fd1f.efb3a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc94e365.153108",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2707.366455078125,\r
+        "y": 1169.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "52cd10d1.f921d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dec1fd1f.efb3a",\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": 2878.366455078125,\r
+        "y": 1222.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "52cd10d1.f921d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2874.866455078125,\r
+        "y": 1171.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1fe3dae.a2d208",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 3410.8662109375,\r
+        "y": 820.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "e7174ef6.88aea",\r
+                "bfd51d3e.a21cb8",\r
+                "b48cd5e6.4e4b88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b61fba47.4726f8",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3259.866455078125,\r
+        "y": 868.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "a1fe3dae.a2d208"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfd51d3e.a21cb8",\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": 3616.8662109375,\r
+        "y": 833.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "cb1cf6fc.9ef978",\r
+                "7d19de07.9d61",\r
+                "2bc4bb18.4f1464"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7174ef6.88aea",\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": 3646.8662109375,\r
+        "y": 781.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cb1cf6fc.9ef978",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3826.8662109375,\r
+        "y": 824.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "a4768784.394af8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d19de07.9d61",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3818.8662109375,\r
+        "y": 879.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "4478591a.9ef568"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2bc4bb18.4f1464",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3823.8662109375,\r
+        "y": 936.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "23b7e106.ef601e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b48cd5e6.4e4b88",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
+        "comments": "",\r
+        "x": 3566.8662109375,\r
+        "y": 897.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "23b7e106.ef601e",\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": 3975.8662109375,\r
+        "y": 937.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4478591a.9ef568",\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": 3986.8662109375,\r
+        "y": 882.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a4768784.394af8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3971.24853515625,\r
+        "y": 821.9387512207031,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "98ec4d86.407d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98ec4d86.407d4",\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": 4185.8662109375,\r
+        "y": 818.2830810546875,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "371b3631.1fe46a",\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": 1660.0999755859375,\r
+        "y": 1107.2833251953125,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "5dda0eba.cba228",\r
+                "cd15371c.43ee48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5dda0eba.cba228",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1890.0999755859375,\r
+        "y": 1102.2828369140625,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "3d324826.e49518"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cd15371c.43ee48",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1901.0999755859375,\r
+        "y": 1145.2828369140625,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce3bd26f.86a788",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1440.0999755859375,\r
+        "y": 1164.683349609375,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            [\r
+                "371b3631.1fe46a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "119a4845.874928",\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": 2345.816650390625,\r
+        "y": 1314.4833984375,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f76b8d0.e5e58",\r
+        "type": "set",\r
+        "name": "set Underlay OTN Tunnel Name tmp.underlayOTN",\r
+        "xml": "<set>\n<parameter name='tmp.underlayOTN' value=\"`$tmp.aai.vpn-binding.vpn-name`\" />\n",\r
+        "comments": "",\r
+        "x": 2348.0330810546875,\r
+        "y": 750.2833251953125,\r
+        "z": "ec6164d7.ff9708",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file