Performing closed-loop operation when callback dg is called by CCSDK.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / p2p_eline / GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json
index 10db6b4..71f5327 100644 (file)
@@ -1,20 +1,38 @@
 [\r
     {\r
-        "id": "9559f36c.7d99",\r
+        "id": "6e96a925.2c4178",\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": 1846.5,\r
+        "y": 345.566650390625,\r
+        "z": "fc139fb9.dc168",\r
+        "wires": [\r
+            [\r
+                "26063c6f.5592ac",\r
+                "b31bac0a.907788",\r
+                "d9da94be.48bb38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d703ae31.26417",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 210.3333282470703,\r
-        "y": 176.33334350585938,\r
-        "z": "9455099.1e285f8",\r
+        "x": 136.5,\r
+        "y": 97.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "589aff20.58fdd8"\r
+                "f1e4dc82.5274e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "589aff20.58fdd8",\r
+        "id": "f1e4dc82.5274e",\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": 341.6190185546875,\r
-        "y": 225.5714521408081,\r
-        "z": "9455099.1e285f8",\r
+        "x": 267.7856903076172,\r
+        "y": 146.80475902557373,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "7be85682.4a664"\r
+                "f3ec2c51.edecf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7be85682.4a664",\r
+        "id": "f3ec2c51.edecf",\r
         "type": "method",\r
         "name": "method p2p-vnf-topology-operation-p2p-delete",\r
         "xml": "<method rpc='p2p-vnf-topology-operation-p2p-delete' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 344.76194763183594,\r
-        "y": 310.33337593078613,\r
-        "z": "9455099.1e285f8",\r
+        "x": 270.9286193847656,\r
+        "y": 231.56668281555176,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "75b89bd3.b7035c"\r
+                "bef36a25.7f3368"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "75b89bd3.b7035c",\r
+        "id": "bef36a25.7f3368",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 494.5713653564453,\r
-        "y": 440,\r
-        "z": "9455099.1e285f8",\r
+        "x": 420.738037109375,\r
+        "y": 361.2333068847656,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "b92c8346.1030c",\r
-                "d4055fd6.d46db",\r
-                "6a8d6043.e67918"\r
+                "a1f25c26.099408",\r
+                "d3e0b100.653268",\r
+                "445ed765.aced3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b92c8346.1030c",\r
+        "id": "a1f25c26.099408",\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": 790.9049835205078,\r
-        "y": 716.9305114746094,\r
-        "z": "9455099.1e285f8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ee6a8ea4.1c7198",\r
-        "type": "comment",\r
-        "name": "new for TransportSlicing",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 822.3333282470703,\r
-        "y": 391.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 717.0716552734375,\r
+        "y": 638.163818359375,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d4055fd6.d46db",\r
+        "id": "d3e0b100.653268",\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\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": 842.3333282470703,\r
-        "y": 487.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 768.5,\r
+        "y": 408.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "381d7bc0.f1068c",\r
-                "4a8a0c1b.ab698c",\r
-                "31b9c3f9.83b5cc"\r
+                "41386d04.6db6b4",\r
+                "ee2334d5.f5dd08",\r
+                "3055412e.0ce5fe"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "381d7bc0.f1068c",\r
+        "id": "41386d04.6db6b4",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1061.3333282470703,\r
-        "y": 425.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 987.5,\r
+        "y": 346.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "78172321.e32f04"\r
+                "6b5adfd0.03c4c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4a8a0c1b.ab698c",\r
+        "id": "ee2334d5.f5dd08",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1070.8242950439453,\r
-        "y": 467.9073791503906,\r
-        "z": "9455099.1e285f8",\r
+        "x": 996.990966796875,\r
+        "y": 389.14068603515625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "fb661f4a.a35e88"\r
+                "36a79df8.93324a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "31b9c3f9.83b5cc",\r
+        "id": "3055412e.0ce5fe",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1059.3333282470703,\r
-        "y": 514.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 985.5,\r
+        "y": 435.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "c596dceb.f440c8"\r
+                "9ff1dfad.77f908"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fb661f4a.a35e88",\r
+        "id": "36a79df8.93324a",\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": 1224.3957061767578,\r
-        "y": 471.193115234375,\r
-        "z": "9455099.1e285f8",\r
+        "x": 1150.5623779296875,\r
+        "y": 392.4264221191406,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c596dceb.f440c8",\r
+        "id": "9ff1dfad.77f908",\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": 1228.3333282470703,\r
-        "y": 515.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 1154.5,\r
+        "y": 436.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "78172321.e32f04",\r
+        "id": "6b5adfd0.03c4c8",\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": 1258.3333282470703,\r
-        "y": 421.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 1184.5,\r
+        "y": 342.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "2b97696b.7fb036"\r
+                "1d33401f.89cbf8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2b97696b.7fb036",\r
+        "id": "1d33401f.89cbf8",\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": 1481.6668243408203,\r
-        "y": 421.3332824707031,\r
-        "z": "9455099.1e285f8",\r
+        "x": 1407.83349609375,\r
+        "y": 342.56658935546875,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "42c2b0bd.f47dd"\r
+                "8ed22124.960f7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "42c2b0bd.f47dd",\r
+        "id": "8ed22124.960f7",\r
         "type": "outcome",\r
         "name": "connectivity",\r
         "xml": "<outcome value='connectivity'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1682.3334617614746,\r
-        "y": 422.33336448669434,\r
-        "z": "9455099.1e285f8",\r
+        "x": 1608.5001335144043,\r
+        "y": 343.56667137145996,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "2d4b22d.3ad5fde"\r
+                "6e96a925.2c4178"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6a8d6043.e67918",\r
+        "id": "445ed765.aced3",\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": 808.3333282470703,\r
-        "y": 435.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 734.5,\r
+        "y": 356.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "2d4b22d.3ad5fde",\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": 1920.3333282470703,\r
-        "y": 424.3333435058594,\r
-        "z": "9455099.1e285f8",\r
-        "wires": [\r
-            [\r
-                "767f3312.da0fc4",\r
-                "6e6e816a.046da8",\r
-                "7240a2d3.cdb52c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "767f3312.da0fc4",\r
+        "id": "26063c6f.5592ac",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2128.3333282470703,\r
-        "y": 388.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2054.5,\r
+        "y": 309.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "9782a1c0.c96908"\r
+                "b99b3267.40e088"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6e6e816a.046da8",\r
+        "id": "b31bac0a.907788",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2128.8242950439453,\r
-        "y": 433.9073791503906,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2054.990966796875,\r
+        "y": 355.14068603515625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "2e176049.379ac8"\r
+                "32e27028.9b3a58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7240a2d3.cdb52c",\r
+        "id": "d9da94be.48bb38",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2126.3333282470703,\r
-        "y": 477.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2052.5,\r
+        "y": 398.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "33c68883.4e4dd8"\r
+                "bb102594.f98758"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2e176049.379ac8",\r
+        "id": "32e27028.9b3a58",\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": 2291.395706176758,\r
-        "y": 434.193115234375,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2217.5623779296875,\r
+        "y": 355.4264221191406,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "33c68883.4e4dd8",\r
+        "id": "bb102594.f98758",\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": 2295.3333282470703,\r
-        "y": 478.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2221.5,\r
+        "y": 399.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2a05bc5b.b08dc4",\r
+        "id": "fe08adbd.838448",\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": 2601.3333282470703,\r
-        "y": 477.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2527.5,\r
+        "y": 398.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "efe59340.81f6b",\r
-                "9ec2589f.db3418",\r
-                "4f5683a7.464474"\r
+                "518191ba.22ecf8",\r
+                "909a6e78.caa538",\r
+                "83b08b2b.a7cd68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37afe5ee.53cc62",\r
+        "id": "6abfd2f0.9bae54",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2985.3333282470703,\r
-        "y": 477.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2911.5,\r
+        "y": 398.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "e3b2dd80.eef1a8",\r
-                "a9ed431c.c281c",\r
-                "d4052d30.ad8718",\r
-                "fddd2ea9.355138",\r
-                "9f2982f0.62eef8",\r
-                "3eed71af.4521b6"\r
+                "858ea86f.8f8b2",\r
+                "f45d1399.26724",\r
+                "9edac35c.3fbdf8",\r
+                "ae43e09b.de34e",\r
+                "bf21c848.7fc668",\r
+                "bdaf4361.9ffa5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "efe59340.81f6b",\r
+        "id": "518191ba.22ecf8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2812.3333282470703,\r
-        "y": 479.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2738.5,\r
+        "y": 400.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "37afe5ee.53cc62"\r
+                "6abfd2f0.9bae54"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9ec2589f.db3418",\r
+        "id": "909a6e78.caa538",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2812.8242950439453,\r
-        "y": 524.9073791503906,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2738.990966796875,\r
+        "y": 446.14068603515625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "597b7a11.444784"\r
+                "f47cc910.74818"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4f5683a7.464474",\r
+        "id": "83b08b2b.a7cd68",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2810.3333282470703,\r
-        "y": 568.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2736.5,\r
+        "y": 489.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "7e03ef7b.cd722"\r
+                "efa4a882.4faaa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7e03ef7b.cd722",\r
+        "id": "efa4a882.4faaa",\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": 2977.3333282470703,\r
-        "y": 567.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2903.5,\r
+        "y": 488.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "597b7a11.444784",\r
+        "id": "f47cc910.74818",\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": 2975.395706176758,\r
-        "y": 525.193115234375,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2901.5623779296875,\r
+        "y": 446.4264221191406,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9782a1c0.c96908",\r
+        "id": "b99b3267.40e088",\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": 2329.3333282470703,\r
-        "y": 383.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2255.5,\r
+        "y": 304.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "650cd08b.3ade4"\r
+                "39ac0477.da72d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "650cd08b.3ade4",\r
+        "id": "39ac0477.da72d4",\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": 2534.3333282470703,\r
-        "y": 383.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2460.5,\r
+        "y": 304.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "aa3600cc.a7aae8"\r
+                "bc9718fc.ebe1a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "aa3600cc.a7aae8",\r
+        "id": "bc9718fc.ebe1a8",\r
         "type": "outcome",\r
         "name": "vpn-binding",\r
         "xml": "<outcome value='vpn-binding'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2700.3333282470703,\r
-        "y": 383.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2626.5,\r
+        "y": 304.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "fb75e488.be7c5"\r
+                "c242c1a1.bac65"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fb75e488.be7c5",\r
+        "id": "c242c1a1.bac65",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2863.3333282470703,\r
-        "y": 383.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 2789.5,\r
+        "y": 304.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "2a05bc5b.b08dc4"\r
+                "fe08adbd.838448"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e3b2dd80.eef1a8",\r
+        "id": "858ea86f.8f8b2",\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": 3200.3333282470703,\r
-        "y": 187.33334350585938,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3126.5,\r
+        "y": 108.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a9ed431c.c281c",\r
+        "id": "f45d1399.26724",\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": 3226.3333282470703,\r
-        "y": 304.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3152.5,\r
+        "y": 225.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "886463ef.2aa938",\r
-                "42b42c71.803e4c",\r
-                "a6449502.70e2c8"\r
+                "66fa653a.3a03b4",\r
+                "b78eabee.b89e08",\r
+                "ae7f2d3f.30154"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "886463ef.2aa938",\r
+        "id": "66fa653a.3a03b4",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3421.833450317383,\r
-        "y": 256.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3348.0001220703125,\r
+        "y": 177.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "c18c6719.20bd2"\r
+                "e47a4bfe.0e35c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "42b42c71.803e4c",\r
+        "id": "b78eabee.b89e08",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3413.833450317383,\r
-        "y": 311.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3340.0001220703125,\r
+        "y": 232.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "30a99a18.cda186"\r
+                "2c2b9fe9.1cbcc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c18c6719.20bd2",\r
+        "id": "e47a4bfe.0e35c8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3566.215774536133,\r
-        "y": 255.989013671875,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3492.3824462890625,\r
+        "y": 177.22232055664062,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "c69e4003.7eb5b8"\r
+                "44537b55.b18bec"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c69e4003.7eb5b8",\r
+        "id": "44537b55.b18bec",\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": 3750.3333282470703,\r
-        "y": 254.33334350585938,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3676.5,\r
+        "y": 175.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "690e98ca.6414f8"\r
+                "61148fe4.7322b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "690e98ca.6414f8",\r
+        "id": "61148fe4.7322b8",\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": 3945.3333282470703,\r
-        "y": 254.33334350585938,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3871.5,\r
+        "y": 175.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "2770cf70.6b8d58"\r
+                "893d9d4c.c96c6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a6449502.70e2c8",\r
+        "id": "ae7f2d3f.30154",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3418.833450317383,\r
-        "y": 368.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3345.0001220703125,\r
+        "y": 289.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "6503d576.73a654"\r
+                "78cfd6a8.473698"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6503d576.73a654",\r
+        "id": "78cfd6a8.473698",\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": 3570.833450317383,\r
-        "y": 369.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3497.0001220703125,\r
+        "y": 290.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "30a99a18.cda186",\r
+        "id": "2c2b9fe9.1cbcc",\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": 3581.833450317383,\r
-        "y": 312.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3508.0001220703125,\r
+        "y": 233.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9068d2cf.278dc8",\r
+        "id": "15db0dbc.7e7b22",\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": 4533.33332824707,\r
-        "y": 271.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4459.5,\r
+        "y": 192.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "1fca2290.06e8dd",\r
-                "c7116ee2.229ee",\r
-                "d17cbdef.3c1178"\r
+                "69c85308.191e6c",\r
+                "42ec7d92.8ab2bc",\r
+                "4dec231f.a3f764"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7354c66b.f20a",\r
+        "id": "de29e4c2.53e5f8",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4327.33332824707,\r
-        "y": 258.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4253.5,\r
+        "y": 179.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "3bcdb5b2.4a3a62",\r
-                "9068d2cf.278dc8",\r
-                "99f73767.79f228"\r
+                "27169001.6118d8",\r
+                "15db0dbc.7e7b22",\r
+                "24546bfc.7b89e4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3bcdb5b2.4a3a62",\r
+        "id": "27169001.6118d8",\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": 4563.33332824707,\r
-        "y": 219.33334350585938,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4489.5,\r
+        "y": 140.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "1fca2290.06e8dd",\r
+        "id": "69c85308.191e6c",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4743.33332824707,\r
-        "y": 262.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4669.5,\r
+        "y": 183.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "243ff6d9.66256a"\r
+                "35125c7c.21ee0c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c7116ee2.229ee",\r
+        "id": "42ec7d92.8ab2bc",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4735.33332824707,\r
-        "y": 317.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4661.5,\r
+        "y": 238.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "bfdc168b.3ce728"\r
+                "669042e.d3e06bc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d17cbdef.3c1178",\r
+        "id": "4dec231f.a3f764",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4740.33332824707,\r
-        "y": 374.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4666.5,\r
+        "y": 295.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "77929148.a8a1"\r
+                "c46cafe4.51d85"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "77929148.a8a1",\r
+        "id": "c46cafe4.51d85",\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.33332824707,\r
-        "y": 375.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4818.5,\r
+        "y": 296.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "bfdc168b.3ce728",\r
+        "id": "669042e.d3e06bc",\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.33332824707,\r
-        "y": 320.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4829.5,\r
+        "y": 241.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "243ff6d9.66256a",\r
+        "id": "35125c7c.21ee0c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4887.71565246582,\r
-        "y": 259.989013671875,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4813.88232421875,\r
+        "y": 181.22232055664062,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "ea25b28e.9d40c"\r
+                "1743c2a1.936e0d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2770cf70.6b8d58",\r
+        "id": "893d9d4c.c96c6",\r
         "type": "outcome",\r
         "name": "esr-thirdparty-sdnc",\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4148.33332824707,\r
-        "y": 258.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4074.5,\r
+        "y": 179.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "7354c66b.f20a"\r
+                "de29e4c2.53e5f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ea25b28e.9d40c",\r
+        "id": "1743c2a1.936e0d",\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": 5102.33332824707,\r
-        "y": 256.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 5028.5,\r
+        "y": 177.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "99f73767.79f228",\r
+        "id": "24546bfc.7b89e4",\r
         "type": "break",\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4483.33332824707,\r
-        "y": 335.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4409.5,\r
+        "y": 256.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "774630ef.e09c58",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode Delete transport slice 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.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url +  '/restconf/operations/ietf-optical-slice:deallocate-optical-slice'`\" />\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=\"post\"/>\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`\" />\n",\r
+        "id": "bdaf4361.9ffa5",\r
+        "type": "set",\r
+        "name": "set attachment_param for TN NSSSI deleteion in PNC",\r
+        "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+        "comments": "",\r
+        "x": 3252.5,\r
+        "y": 398.566650390625,\r
+        "z": "fc139fb9.dc168",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9edac35c.3fbdf8",\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": 3350.3333282470703,\r
-        "y": 602.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3190.5,\r
+        "y": 1330.5665893554688,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
-            [\r
-                "8a18cee3.35ffe",\r
-                "99cc1156.473278"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "8a18cee3.35ffe",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "ae43e09b.de34e",\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": 3186.5,\r
+        "y": 1374.5665893554688,\r
+        "z": "fc139fb9.dc168",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf21c848.7fc668",\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": 3693.8333282470703,\r
-        "y": 597.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3211.5,\r
+        "y": 714.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "a2ed508f.5c119"\r
+                "59c18f55.2a2ad",\r
+                "401bd02c.538578"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "99cc1156.473278",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "401bd02c.538578",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3697.8333282470703,\r
-        "y": 637.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3449.5,\r
+        "y": 697.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "912161a0.cf7bf"\r
+                "d514777.51de608"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "912161a0.cf7bf",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
+        "id": "59c18f55.2a2ad",\r
+        "type": "outcome",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3855.3333282470703,\r
-        "y": 637.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 3461.5,\r
+        "y": 764.566650390625,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "a2ed508f.5c119",\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 deallocate transport slice rest api\" />\n",\r
+        "id": "d514777.51de608",\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
-        "x": 3851.8333282470703,\r
-        "y": 597.3333435058594,\r
-        "z": "9455099.1e285f8",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 3824.83349609375,\r
+        "y": 687.1666870117188,\r
+        "z": "fc139fb9.dc168",\r
+        "wires": [\r
+            [\r
+                "6aebfb3b.efd44c",\r
+                "933385e0.d5a7b8"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "3eed71af.4521b6",\r
-        "type": "set",\r
-        "name": "set attachment_param for TN NSSSI deleteion in PNC",\r
-        "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+        "id": "6aebfb3b.efd44c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
-        "x": 3326.3333282470703,\r
-        "y": 477.3333435058594,\r
-        "z": "9455099.1e285f8",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 4168.60009765625,\r
+        "y": 662.1666870117188,\r
+        "z": "fc139fb9.dc168",\r
+        "wires": [\r
+            []\r
+        ]\r
     },\r
     {\r
-        "id": "d4052d30.ad8718",\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": "933385e0.d5a7b8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3256.3333282470703,\r
-        "y": 912.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4169.600311279297,\r
+        "y": 713.1665964126587,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
-            []\r
+            [\r
+                "91477113.19bf5"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "fddd2ea9.355138",\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": "91477113.19bf5",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3252.3333282470703,\r
-        "y": 956.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4314.62735748291,\r
+        "y": 710.9120817184448,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
-            []\r
+            [\r
+                "1a438ee3.1dcae1"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "81312607.6bb828",\r
+        "id": "2d036a80.ec4f6e",\r
         "type": "execute",\r
-        "name": "execute RestApiCallNode domain UNI deColoring",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-network:networks/network=networkId-providerId-' + $tmp.aai.connectivity.access-provider-id + '-clientId-' + $tmp.aai.connectivity.access-client-id + '-topologyId-' + $tmp.aai.connectivity.access-topology-id +  '/node=' + $tmp.aai.connectivity.access-node-id + '/ietf-network-topology:termination-point=' + $tmp.aai.connectivity.access-ltp-id + '/ietf-te-topology:te/ietf-optical-slice:slice-id-list=' + $slice-instance-id `\" />\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`\" />\n",\r
+        "name": "execute Terminate Periodic Pull Connection",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.PeriodicDiscoveryNode' method='deleteSubscription' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />-->\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"p2p-vnf-topology-operation-p2p-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3836.3333282470703,\r
-        "y": 776.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 5689.8671875,\r
+        "y": 924.1332702636719,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
-            [\r
-                "cd905ee1.eaa9b8",\r
-                "3271c447.28d454"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "3271c447.28d454",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "1a438ee3.1dcae1",\r
+        "type": "switchNode",\r
+        "name": "switch length(vpn-binding.dst-access-ltp) == 0",\r
+        "xml": "<switch test=\"`length($tmp.aai.vpn-binding.dst-access-ltp-id) == 0`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4102.33332824707,\r
-        "y": 756.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4518.632568359375,\r
+        "y": 837.9666748046875,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "e043f0ae.c34d08"\r
+                "59c592c9.d7994c",\r
+                "7b7ded64.3b4eb4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "cd905ee1.eaa9b8",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "86b6e124.aff368",\r
+        "type": "switchNode",\r
+        "name": "switch length(vpn-binding.src-access-ltp) == 0",\r
+        "xml": "<switch test=\"`length($tmp.aai.vpn-binding.src-access-ltp-id) == 0`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4103.333541870117,\r
-        "y": 807.3332529067993,\r
-        "z": "9455099.1e285f8",\r
+        "x": 5025.632568359375,\r
+        "y": 826.9664611816406,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "a5def9d3.538c"\r
+                "9a1a7af4.6ee1b",\r
+                "c570c72b.fde4f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e043f0ae.c34d08",\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 decoloring UNI rest api\" />\n",\r
+        "id": "4d979945.b240f8",\r
+        "type": "comment",\r
+        "name": "only dst ttp exists. No src",\r
+        "info": "",\r
         "comments": "",\r
-        "x": 4242.333576202393,\r
-        "y": 756.3333444595337,\r
-        "z": "9455099.1e285f8",\r
+        "x": 5283.6328125,\r
+        "y": 715.9664001464844,\r
+        "z": "fc139fb9.dc168",\r
         "wires": []\r
     },\r
     {\r
-        "id": "a5def9d3.538c",\r
+        "id": "ab52cc8a.9b36f",\r
+        "type": "comment",\r
+        "name": "both src and dst exist",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 5290.6328125,\r
+        "y": 877.9664001464844,\r
+        "z": "fc139fb9.dc168",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "71f0c8c6.7df048",\r
         "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 5412.6328125,\r
+        "y": 923.9664611816406,\r
+        "z": "fc139fb9.dc168",\r
+        "wires": [\r
+            [\r
+                "2d036a80.ec4f6e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59c592c9.d7994c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4248.3605880737305,\r
-        "y": 805.0787382125854,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4780.566665649414,\r
+        "y": 894.5666656494141,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9f2982f0.62eef8",\r
-        "type": "switchNode",\r
-        "name": "switch connectivity has ethernet service",\r
-        "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
+        "id": "7b7ded64.3b4eb4",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3285.3333282470703,\r
-        "y": 793.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 4778.566665649414,\r
+        "y": 799.5666656494141,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "e2b757bb.931bf8",\r
-                "73b037b.7f08a48"\r
+                "86b6e124.aff368"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73b037b.7f08a48",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
+        "id": "c570c72b.fde4f8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3523.3333282470703,\r
-        "y": 776.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 5247.7998046875,\r
+        "y": 925.36669921875,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             [\r
-                "81312607.6bb828"\r
+                "71f0c8c6.7df048"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e2b757bb.931bf8",\r
-        "type": "outcome",\r
-        "name": "Null",\r
-        "xml": "<outcome value=''>\n",\r
+        "id": "9a1a7af4.6ee1b",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3535.3333282470703,\r
-        "y": 843.3333435058594,\r
-        "z": "9455099.1e285f8",\r
+        "x": 5269.7998046875,\r
+        "y": 767.36669921875,\r
+        "z": "fc139fb9.dc168",\r
         "wires": [\r
             []\r
         ]\r