Supporting 3 or more network domains for Transport Slicing use case.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / trans_slicing / GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json
index ae15591..fc756b8 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "fa505d09.c9298",\r
+        "id": "5a4a886b.6438b8",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 106,\r
-        "y": 62,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 118,\r
+        "y": 82,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "96d975d7.ae7b9"\r
+                "2fc91b3e.7646fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "96d975d7.ae7b9",\r
+        "id": "2fc91b3e.7646fc",\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": 390.2856903076172,\r
-        "y": 123.23810863494873,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 249.2856903076172,\r
+        "y": 131.23810863494873,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "197a98e4.ad38d7"\r
+                "1c977ea2.89d1e9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "197a98e4.ad38d7",\r
+        "id": "1c977ea2.89d1e9",\r
         "type": "method",\r
         "name": "method tsli-vnf-topology-operation-trans-slice-delete",\r
         "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-delete' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 396.42860412597656,\r
-        "y": 208.00003051757812,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 252.42861938476562,\r
+        "y": 216.00003242492676,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "eeba2d4.aaa3b5"\r
+                "8ce10b59.587f08"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9e471fb5.d24a9",\r
-        "type": "comment",\r
-        "name": "site-vnf-topology-operation-delete",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 968.9162979125977,\r
-        "y": 129.58639907836914,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "eeba2d4.aaa3b5",\r
+        "id": "8ce10b59.587f08",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 596.2380447387695,\r
-        "y": 357.6666717529297,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "cdad3ccf.c778c8",\r
-                "ddca427c.b6135",\r
-                "16b5196b.e4f74f",\r
-                "72550323.add05c",\r
-                "bcb30576.c5395",\r
-                "1ee10a8.e75cb76",\r
-                "2400813d.b23cfe",\r
-                "466b59d1.1f9ec8",\r
-                "8fb031c0.32361",\r
-                "4290869b.c0e258",\r
-                "12c0646.e45499c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "72550323.add05c",\r
-        "type": "switchNode",\r
-        "name": "switch service-data.vnfs.vnf_length",\r
-        "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1048.6660919189453,\r
-        "y": 275.2611792087555,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "f1600d0.d3bcd7",\r
-                "5da847de.3e7bd8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "f1600d0.d3bcd7",\r
-        "type": "other",\r
-        "name": "outcome Null",\r
-        "xml": "<outcome value=''>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1313.3884048461914,\r
-        "y": 257.81680130958557,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "2758e1f4.65c7de"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2758e1f4.65c7de",\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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",\r
-        "comments": "",\r
-        "x": 1494.3882751464844,\r
-        "y": 252.81667923927307,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5da847de.3e7bd8",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1298.8884048461914,\r
-        "y": 309.81676411628723,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "3d795ab1.0cafb6"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3d795ab1.0cafb6",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1470.888111114502,\r
-        "y": 309.8167622089386,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "ed865e4c.fb2fe",\r
-                "ef77d3e7.8772d"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ef77d3e7.8772d",\r
-        "type": "switchNode",\r
-        "name": "switch tmp.nidx ",\r
-        "xml": "<switch test=\"`$tmp.nidx`\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1645.888282775879,\r
-        "y": 328.81668400764465,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "e8dd060b.17e57"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "16b5196b.e4f74f",\r
-        "type": "switchNode",\r
-        "name": "switch vnf-level-oper-status",\r
-        "xml": "<switch test='`$service-data.vnfs.vnf[$tmp.nidx].vnf-data.vnf-level-oper-status.order-status`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1019.0550918579102,\r
-        "y": 349.7056429386139,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "284f50fc.866d8",\r
-                "cdf83757.65b4b8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "284f50fc.866d8",\r
-        "type": "outcome",\r
-        "name": "outcome PendingDelete",\r
-        "xml": "<outcome value='PendingDelete'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1295.8884353637695,\r
-        "y": 352.8167426586151,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "e9cca7ec.303c7"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "cdf83757.65b4b8",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1256.8884201049805,\r
-        "y": 398.8167917728424,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 402.238037109375,\r
+        "y": 345.6666564941406,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "28762357.a03f74"\r
+                "c14a5da1.726bc8",\r
+                "f7f11593.991128",\r
+                "fbeb2897.5d3ca"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "28762357.a03f74",\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=\"`'VNF is not in appropriate state for activate. Current state is ' + $service-data.vnfs.vnf[$tmp.nidx].vnf-data.vnf-level-oper-status.order-status`\" />",\r
-        "comments": "",\r
-        "x": 1405.3881340026855,\r
-        "y": 397.81677174568176,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "bcb30576.c5395",\r
-        "type": "execute",\r
-        "name": "execute requiredParameters",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"vnf-topology-operation-input.vnf-information.vnf-id\" value=\"$vnf-topology-operation-input.vnf-information.vnf-id\"/>\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1035.388427734375,\r
-        "y": 218.8167588710785,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "ed865e4c.fb2fe",\r
-        "type": "for",\r
-        "name": "for nidx..service-data.vnfs.vnf[]",\r
-        "xml": "<for index='nidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1706.3882865905762,\r
-        "y": 264.8166801929474,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "5b03bf9c.f15f28"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5b03bf9c.f15f28",\r
-        "type": "switchNode",\r
-        "name": "switch vnf-id found",\r
-        "xml": "<switch test=\"`$service-data.vnfs.vnf[$nidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1962.3883056640625,\r
-        "y": 264.8166801929474,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "b0289fb.f82296"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b0289fb.f82296",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2138.888359069824,\r
-        "y": 267.8166801929474,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "772109f8.0b899"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "772109f8.0b899",\r
-        "type": "set",\r
-        "name": "set tmp.nidx and ctx.vnf-data",\r
-        "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$nidx].vnf-data.`' />\n",\r
-        "comments": "",\r
-        "x": 2305.8883743286133,\r
-        "y": 328.8166801929474,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "68963ea5.a81b48",\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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",\r
-        "comments": "",\r
-        "x": 1951.388298034668,\r
-        "y": 328.81668400764465,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e8dd060b.17e57",\r
-        "type": "outcome",\r
-        "name": "NULL",\r
-        "xml": "<outcome value=''>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1813.888298034668,\r
-        "y": 328.81668400764465,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "68963ea5.a81b48"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "cdad3ccf.c778c8",\r
-        "type": "set",\r
-        "name": "set vnfId and vnf-object-path",\r
-        "xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='vnf-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vnf-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'` \" />",\r
-        "comments": "",\r
-        "x": 1005.9051132202148,\r
-        "y": 564.3336856365204,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ddca427c.b6135",\r
+        "id": "c14a5da1.726bc8",\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": 906.0162353515625,\r
-        "y": 1435.88916015625,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e9cca7ec.303c7",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1491.1947937011719,\r
-        "y": 360.14194798469543,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "1ee10a8.e75cb76",\r
-        "type": "set",\r
-        "name": "set prop.vnfNewidx",\r
-        "xml": "<set>\n<parameter name='prop.vnfidxLen' value='`0`' />\n",\r
-        "comments": "",\r
-        "x": 988.0000839233398,\r
-        "y": 400.00007796287537,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 698.5716552734375,\r
+        "y": 622.59716796875,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2400813d.b23cfe",\r
-        "type": "for",\r
-        "name": "for lidx..service-data.vnfs.vnf[]",\r
-        "xml": "<for index='lidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1012.0000686645508,\r
-        "y": 442.0000765323639,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "572dbcf2.896d3c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "572dbcf2.896d3c",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1273.000144958496,\r
-        "y": 446.00011134147644,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "53356e5d.7d71c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "53356e5d.7d71c",\r
-        "type": "switchNode",\r
-        "name": "switch vnf-id found",\r
-        "xml": "<switch test=\"`$service-data.vnfs.vnf[$lidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1465.0000915527344,\r
-        "y": 455.00015568733215,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "82733dd2.3a7d"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "82733dd2.3a7d",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1651.0001068115234,\r
-        "y": 439.0000422000885,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "d7f72ca.5dc4ed"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d7f72ca.5dc4ed",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1802.0000305175781,\r
-        "y": 440.0000784397125,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "920da24f.169358",\r
-                "953950.d86c6eb"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "920da24f.169358",\r
-        "type": "set",\r
-        "name": "set  vnf data",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$prop.vnfidxLen].vnf-id' value='`$service-data.vnfs.vnf[$lidx].vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$prop.vnfidxLen].vnf-data.' value='`$service-data.vnfs.vnf[$lidx].vnf-data.`' />\n",\r
-        "comments": "",\r
-        "x": 1969.0001983642578,\r
-        "y": 414.00026202201843,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "953950.d86c6eb",\r
-        "type": "set",\r
-        "name": "set prop.vnfNewidx",\r
-        "xml": "<set>\n<parameter name='prop.vnfidxLen' value='`$prop.vnfidxLen + 1`' />\n",\r
-        "comments": "",\r
-        "x": 1989.0001258850098,\r
-        "y": 471.0001976490021,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "466b59d1.1f9ec8",\r
-        "type": "set",\r
-        "name": "set new vnf length",\r
-        "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value='`$prop.vnfidxLen`'/>\n\n\t\n",\r
-        "comments": "",\r
-        "x": 980.1014823913574,\r
-        "y": 485.804429769516,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8fb031c0.32361",\r
-        "type": "set",\r
-        "name": "Remove vnf from ServiceData",\r
-        "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf[$prop.vnfidxLen].\" value=\"\"/>\n\n",\r
-        "comments": "",\r
-        "x": 1010.0002517700195,\r
-        "y": 524.0002129077911,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "4290869b.c0e258",\r
-        "type": "save",\r
-        "name": "delete AnAI - vnf-instance.orchestration-status",\r
-        "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\"   \n\t\tkey=\"generic-vnf.vnf-id = $vnfId\" >\n<parameter name=\"orchestration-status\" value=\"PendingDelete\" />\n<parameter name=\"vnf-type\" value=\"some vnf-type\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1067.0066452026367,\r
-        "y": 601.0106251239777,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "740c712e.7b0a18",\r
+        "id": "86779e76.e7bc38",\r
         "type": "comment",\r
         "name": "new for TransportSlicing",\r
         "info": "",\r
         "comments": "",\r
-        "x": 1001,\r
-        "y": 735,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 730,\r
+        "y": 297,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "12c0646.e45499c",\r
+        "id": "f7f11593.991128",\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.service-information.service-instance-id\n         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">",\r
+        "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": 1012,\r
-        "y": 785,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 750,\r
+        "y": 393,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "f9064279.1b4f8",\r
-                "17f4eefe.af8569",\r
-                "e0ea0e9c.c1ac38"\r
+                "6ad861a9.030e08",\r
+                "37e2fd06.c6c79a",\r
+                "2beeb8ca.34f3f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f9064279.1b4f8",\r
+        "id": "6ad861a9.030e08",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1228,\r
-        "y": 750,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 969,\r
+        "y": 331,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "7baaa7aa.36e958"\r
+                "c860abc6.0b576"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "17f4eefe.af8569",\r
+        "id": "37e2fd06.c6c79a",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1237.490966796875,\r
-        "y": 792.5740356445312,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 978.490966796875,\r
+        "y": 373.57403564453125,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "48a0edde.3f94f4"\r
+                "7a133195.09b68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e0ea0e9c.c1ac38",\r
+        "id": "2beeb8ca.34f3f",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1226,\r
-        "y": 839,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 967,\r
+        "y": 420,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "b71eb698.9367c8"\r
+                "f9d75edb.c19d18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "48a0edde.3f94f4",\r
+        "id": "7a133195.09b68",\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": 1391.0623779296875,\r
-        "y": 795.8597717285156,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 1132.0623779296875,\r
+        "y": 376.8597717285156,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b71eb698.9367c8",\r
+        "id": "f9d75edb.c19d18",\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": 1395,\r
-        "y": 840,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 1136,\r
+        "y": 421,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "7baaa7aa.36e958",\r
+        "id": "c860abc6.0b576",\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": 1425,\r
-        "y": 746,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 1166,\r
+        "y": 327,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "7f9e9a3e.4de224"\r
+                "f376992c.11dc58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7f9e9a3e.4de224",\r
+        "id": "f376992c.11dc58",\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": 1648.33349609375,\r
-        "y": 745.9999389648438,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 1389.33349609375,\r
+        "y": 326.99993896484375,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "316daf9e.190dc"\r
+                "8db70c24.1a1f5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "316daf9e.190dc",\r
+        "id": "8db70c24.1a1f5",\r
         "type": "outcome",\r
         "name": "connectivity",\r
         "xml": "<outcome value='connectivity'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1844,\r
-        "y": 748,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "d510feb6.348d7"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d510feb6.348d7",\r
-        "type": "switchNode",\r
-        "name": "switch $rel-index == 0",\r
-        "xml": "<switch test=\"`$rel-index == 0`\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2031.9998664855957,\r
-        "y": 745.999979019165,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "71f2cf8d.3a35e",\r
-                "264b9f2.1aba9e"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "71f2cf8d.3a35e",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2254.9998664855957,\r
-        "y": 635.999979019165,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "c924f778.a2b848"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "264b9f2.1aba9e",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2225.999755859375,\r
-        "y": 1062,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 1590.0001335144043,\r
+        "y": 328.00002098083496,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "beac7966.aff0e"\r
+                "5dc8f559.ac7c5c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c924f778.a2b848",\r
-        "type": "save",\r
-        "name": "get connectivityA 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[0].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivityA\" >\n",\r
+        "id": "fbeb2897.5d3ca",\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": 2448.9998664855957,\r
-        "y": 635.999979019165,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 716,\r
+        "y": 341,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
-            [\r
-                "b8d26364.3207e8",\r
-                "ce782cd0.462e9",\r
-                "c0db2841.2c9108"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "beac7966.aff0e",\r
+        "id": "5dc8f559.ac7c5c",\r
         "type": "save",\r
-        "name": "get connectivityB 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[1].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivityB\" >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2421.999755859375,\r
-        "y": 1062,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "e783575a.ee3408",\r
-                "f2d51460.33b19",\r
-                "7c2969db.4e66a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b8d26364.3207e8",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2654.9998664855957,\r
-        "y": 595.999979019165,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "888a4917.61b98"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ce782cd0.462e9",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2655.4908332824707,\r
-        "y": 641.5740146636963,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "a71edbbe.5f5c18"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c0db2841.2c9108",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2652.9998664855957,\r
-        "y": 684.999979019165,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "a3da676a.d60b68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "888a4917.61b98",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 2827.6663703918457,\r
-        "y": 594.999979019165,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "e61d24fe.b9f57"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a71edbbe.5f5c18",\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": 2818.062244415283,\r
-        "y": 641.8597507476807,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a3da676a.d60b68",\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
+        "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
-        "x": 2821.9998664855957,\r
-        "y": 685.999979019165,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 1828,\r
+        "y": 330,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": [\r
+            [\r
+                "17e90170.66a2cf",\r
+                "46c095c4.314d14",\r
+                "64e3b5e2.26b114"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "e783575a.ee3408",\r
+        "id": "17e90170.66a2cf",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2641.999755859375,\r
-        "y": 1033,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2036,\r
+        "y": 294,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "589b1078.8544c"\r
+                "c90d8c84.a14a1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f2d51460.33b19",\r
+        "id": "46c095c4.314d14",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2643.49072265625,\r
-        "y": 1078.5740356445312,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2036.490966796875,\r
+        "y": 339.57403564453125,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "41e63be3.fadc5c"\r
+                "3f9ff972.5c8816"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7c2969db.4e66a",\r
+        "id": "64e3b5e2.26b114",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2639.999755859375,\r
-        "y": 1124,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "2d54d7a1.ac5068"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "589b1078.8544c",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 2814.666259765625,\r
-        "y": 1034,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2034,\r
+        "y": 383,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "be4e9140.d69b68"\r
+                "6b417e35.8fa86"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "41e63be3.fadc5c",\r
+        "id": "3f9ff972.5c8816",\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": 2805.0621337890625,\r
-        "y": 1080.8597717285156,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2199.0623779296875,\r
+        "y": 339.8597717285156,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2d54d7a1.ac5068",\r
+        "id": "6b417e35.8fa86",\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": 2808.999755859375,\r
-        "y": 1125,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2203,\r
+        "y": 384,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e61d24fe.b9f57",\r
+        "id": "62f4640b.361d2c",\r
         "type": "save",\r
-        "name": "get vpn-binding-A 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.connectivityA.relationship-list.relationship[0].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-bindingA\" >\n",\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": 3047,\r
-        "y": 579,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2509,\r
+        "y": 383,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "2b60392e.ff6d9e",\r
-                "49846022.e395b8",\r
-                "b35a5936.c908e8"\r
+                "41f800bd.97bbd8",\r
+                "3588ab7d.ccee3c",\r
+                "5014f1b1.a66d2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "abc0c7ad.b5acd8",\r
+        "id": "9b1454f6.71587",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3431,\r
-        "y": 579,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2893,\r
+        "y": 383,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "4263af43.fa9c48",\r
-                "196f2286.5bda85",\r
-                "e474491b.fe4e98",\r
-                "f4710eb9.81bb",\r
-                "4d26fd5b.dd7194"\r
+                "3ec88632.a3afda",\r
+                "ef2eaf52.5162b",\r
+                "74648c00.009a34",\r
+                "176c3740.91c4e1",\r
+                "a43ffa2e.f43268",\r
+                "b74320f6.969fd8",\r
+                "2043f8a6.e6867"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4263af43.fa9c48",\r
-        "type": "set",\r
-        "name": "set attachment_param for TN NSSSI deleteion in PNC A",\r
-        "xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$tmp.aai.vpn-bindingA.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_dst-tpn' value='' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$tmp.aai.vpn-bindingA.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n\n",\r
-        "comments": "",\r
-        "x": 3783,\r
-        "y": 572,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2b60392e.ff6d9e",\r
+        "id": "41f800bd.97bbd8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3258,\r
-        "y": 581,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2720,\r
+        "y": 385,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "abc0c7ad.b5acd8"\r
+                "9b1454f6.71587"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "49846022.e395b8",\r
+        "id": "3588ab7d.ccee3c",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3258.490966796875,\r
-        "y": 626.5740356445312,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2720.490966796875,\r
+        "y": 430.57403564453125,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "df7bab95.4da49"\r
+                "f5b7e34a.e6a3a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b35a5936.c908e8",\r
+        "id": "5014f1b1.a66d2",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3256,\r
-        "y": 670,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2718,\r
+        "y": 474,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "2e3ee94d.2c9d76"\r
+                "dad8e49f.e5f9b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2e3ee94d.2c9d76",\r
+        "id": "dad8e49f.e5f9b8",\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": 3423,\r
-        "y": 669,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2885,\r
+        "y": 473,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "df7bab95.4da49",\r
+        "id": "f5b7e34a.e6a3a",\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": 3421.0623779296875,\r
-        "y": 626.8597717285156,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2883.0623779296875,\r
+        "y": 430.8597717285156,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4d26fd5b.dd7194",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode Delete TN NSSI",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-otn-tunnel-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<!--<parameter name='dirPath' value=\"/opt/sdnc/restapi/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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "id": "c90d8c84.a14a1",\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": 3739,\r
-        "y": 623,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2237,\r
+        "y": 289,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "1605b46c.2a0984",\r
-                "49599f6.eb505e"\r
+                "304af23b.91e62e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1605b46c.2a0984",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "304af23b.91e62e",\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": 4086.5,\r
-        "y": 593,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2442,\r
+        "y": 289,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "c35b0230.a333b8"\r
+                "a73bd099.6c0378"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "49599f6.eb505e",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "a73bd099.6c0378",\r
+        "type": "outcome",\r
+        "name": "vpn-binding",\r
+        "xml": "<outcome value='vpn-binding'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4101.5,\r
-        "y": 658,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2608,\r
+        "y": 289,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "c575a6f8.585bd8"\r
+                "98e41266.eb692"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c35b0230.a333b8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
-        "comments": "",\r
-        "x": 4270.5,\r
-        "y": 589,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c575a6f8.585bd8",\r
+        "id": "98e41266.eb692",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
-        "comments": "",\r
         "outputs": 1,\r
-        "x": 4296,\r
-        "y": 651,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 2771,\r
+        "y": 289,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
-            []\r
+            [\r
+                "62f4640b.361d2c"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "196f2286.5bda85",\r
+        "id": "3ec88632.a3afda",\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": 3108,\r
+        "y": 93,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ef2eaf52.5162b",\r
         "type": "get-resource",\r
-        "name": "get-resource 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 = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\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": 3734,\r
-        "y": 444,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3134,\r
+        "y": 210,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "1da34d03.94651b",\r
-                "c42b64ae.aaab8",\r
-                "25d5725f.b07fee"\r
+                "d4d69c61.a67388",\r
+                "cc6ec5bd.14d058",\r
+                "7b98c47b.75268c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1da34d03.94651b",\r
+        "id": "d4d69c61.a67388",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3980,\r
-        "y": 404,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3329.5001220703125,\r
+        "y": 162,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "6e678297.9224ac"\r
+                "6766d137.85bc78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c42b64ae.aaab8",\r
+        "id": "cc6ec5bd.14d058",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3984,\r
-        "y": 444,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3321.5001220703125,\r
+        "y": 217,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "96b16b61.297a58"\r
+                "e5b8c6a7.d0685"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "25d5725f.b07fee",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
+        "id": "6766d137.85bc78",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3976,\r
-        "y": 484,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3473.8824462890625,\r
+        "y": 161.65567016601562,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "8951a2c3.b71c18"\r
+                "6ec2253c.e8e2fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8951a2c3.b71c18",\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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
-        "comments": "",\r
-        "x": 4134,\r
-        "y": 484,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "96b16b61.297a58",\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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
+        "id": "6ec2253c.e8e2fc",\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
-        "x": 4134,\r
-        "y": 444,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 3658,\r
+        "y": 160,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": [\r
+            [\r
+                "8bfd549d.ff7578"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "6e678297.9224ac",\r
-        "type": "set",\r
-        "name": "set controller data",\r
-        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\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
+        "id": "8bfd549d.ff7578",\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
-        "x": 4150,\r
-        "y": 404,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 3853,\r
+        "y": 160,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": [\r
+            [\r
+                "e0432128.bf189"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "7ef0083.0af5478",\r
-        "type": "comment",\r
-        "name": "Get controller info and send request",\r
-        "info": "",\r
+        "id": "7b98c47b.75268c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
-        "x": 3742,\r
-        "y": 404,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 3326.5001220703125,\r
+        "y": 274,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": [\r
+            [\r
+                "a0edf332.814bd"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "3d0f709d.f526f8",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME:",\r
-        "info": "How to know which domain's (A or B) controller is bein retrieved?",\r
+        "id": "a0edf332.814bd",\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": 3674,\r
-        "y": 364,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3478.5001220703125,\r
+        "y": 275,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "744d9a2e.8e773c",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME:",\r
-        "info": "Set proper values to generate a good JSON body to be sent to PNC A for TN NSSI deletion.",\r
+        "id": "e5b8c6a7.d0685",\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": 3654,\r
-        "y": 528,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3489.5001220703125,\r
+        "y": 218,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e474491b.fe4e98",\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.connectivityA.connectivity-id'>\n",\r
+        "id": "e1454ec0.76085",\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": 3711,\r
-        "y": 715,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4441,\r
+        "y": 177,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
-            []\r
+            [\r
+                "d8d8f637.323998",\r
+                "a47d1ee9.cdd92",\r
+                "e6ec849b.7b7268"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "47618fca.ed7b18",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME",\r
-        "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
-        "comments": "",\r
-        "x": 3646,\r
-        "y": 681,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f4710eb9.81bb",\r
-        "type": "save",\r
-        "name": "delete vpn-binding resource in AAI",\r
-        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='tmp.aai.vpn-bindingA = $tmp.aai.vpn-bindingA'>\n",\r
-        "comments": "",\r
+        "id": "682b00ad.3f22e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3707,\r
-        "y": 759,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4235,\r
+        "y": 164,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
-            []\r
+            [\r
+                "e9dde318.2ce9c8",\r
+                "e1454ec0.76085",\r
+                "d1046ced.fbcef8"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "be4e9140.d69b68",\r
-        "type": "save",\r
-        "name": "get vpn-binding-B 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.connectivityB.relationship-list.relationship[0].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-bindingB\" >\n",\r
+        "id": "e9dde318.2ce9c8",\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
-        "outputs": 1,\r
-        "x": 3079,\r
-        "y": 1027,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": [\r
-            [\r
-                "ef723c11.8ecf08",\r
-                "d24eb3b1.82784",\r
-                "d82f4ae7.ff1938"\r
-            ]\r
-        ]\r
+        "x": 4471,\r
+        "y": 125,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": []\r
     },\r
     {\r
-        "id": "ef723c11.8ecf08",\r
+        "id": "d8d8f637.323998",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3286,\r
-        "y": 1030,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4651,\r
+        "y": 168,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "db88eddf.0d68b8"\r
+                "d20b8026.ed11d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d24eb3b1.82784",\r
+        "id": "a47d1ee9.cdd92",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3286.490966796875,\r
-        "y": 1075.5740356445312,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4643,\r
+        "y": 223,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "b2d386a0.34fcc8"\r
+                "8f556dc3.062b5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d82f4ae7.ff1938",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
+        "id": "e6ec849b.7b7268",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3284,\r
-        "y": 1119,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4648,\r
+        "y": 280,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "fced2850.46c338"\r
+                "c00b4c05.8ab27"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fced2850.46c338",\r
+        "id": "c00b4c05.8ab27",\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
+        "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": 3453,\r
-        "y": 1120,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4800,\r
+        "y": 281,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b2d386a0.34fcc8",\r
+        "id": "8f556dc3.062b5",\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
+        "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": 3449.0623779296875,\r
-        "y": 1075.8597717285156,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4811,\r
+        "y": 226,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "db88eddf.0d68b8",\r
+        "id": "d20b8026.ed11d",\r
         "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 4795.38232421875,\r
+        "y": 165.65567016601562,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": [\r
+            [\r
+                "3c8da8b7.eb2a3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0432128.bf189",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
         "outputs": 1,\r
-        "x": 3455,\r
-        "y": 1030,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4056,\r
+        "y": 164,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "968b60ca.b919a8",\r
-                "4bf2b1b3.14be6",\r
-                "474863fb.23ac14",\r
-                "13714ee3.ae8141",\r
-                "408a0c32.404a4c"\r
+                "682b00ad.3f22e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "968b60ca.b919a8",\r
+        "id": "3c8da8b7.eb2a3",\r
         "type": "set",\r
-        "name": "set attachment_param for TN NSSSI deleteion in PNC B",\r
-        "xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$tmp.aai.vpn-bindingB.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].dst-ttp-id' value='`$tmp.aai.vpn-bindingB.dst-access-ltp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_dst-tpn' value='' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$tmp.aai.vpn-bindingB.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n\n",\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": 5010,\r
+        "y": 162,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d1046ced.fbcef8",\r
+        "type": "break",\r
+        "name": "break",\r
+        "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 3816,\r
-        "y": 1131,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4391,\r
+        "y": 241,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "cb725e7f.5dd5b",\r
+        "id": "b74320f6.969fd8",\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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3258,\r
+        "y": 508,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": [\r
+            [\r
+                "5f11d071.d597d8",\r
+                "2c04f9a8.8e1bee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f11d071.d597d8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4075,\r
-        "y": 1158,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3601.5,\r
+        "y": 503,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "8ff601d0.110ad8"\r
+                "bc1a033f.a0f87"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9cd7bc00.01b8a8",\r
+        "id": "2c04f9a8.8e1bee",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4090,\r
-        "y": 1223,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3605.5,\r
+        "y": 543,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "f31755df.8bf058"\r
+                "14490b55.121775"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8ff601d0.110ad8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
-        "comments": "",\r
-        "x": 4259,\r
-        "y": 1154,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f31755df.8bf058",\r
+        "id": "14490b55.121775",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4257.5,\r
-        "y": 1217,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3763,\r
+        "y": 543,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4bf2b1b3.14be6",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode Delete TN NSSI",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-otn-tunnel-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<!--<parameter name='dirPath' value=\"/opt/sdnc/restapi/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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "id": "bc1a033f.a0f87",\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
+        "comments": "",\r
+        "x": 3759.5,\r
+        "y": 503,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "74648c00.009a34",\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": 3234,\r
+        "y": 383,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "176c3740.91c4e1",\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": 3775.5,\r
-        "y": 1181,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3164,\r
+        "y": 818,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
-            [\r
-                "cb725e7f.5dd5b",\r
-                "9cd7bc00.01b8a8"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "474863fb.23ac14",\r
-        "type": "get-resource",\r
-        "name": "get-resource 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 = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
+        "id": "a43ffa2e.f43268",\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": 3743,\r
-        "y": 1016,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3160,\r
+        "y": 862,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
-            [\r
-                "d06c3921.6cace",\r
-                "88d90a9f.091b3",\r
-                "12a460ba.ca9617"\r
-            ]\r
+            []\r
         ]\r
     },\r
     {\r
-        "id": "d06c3921.6cace",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "2ee33a01.a56356",\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
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3989,\r
-        "y": 976,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3744,\r
+        "y": 682,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "21d11018.7e29f8"\r
+                "708d25c4.9f039c",\r
+                "9fd83c73.a107c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "88d90a9f.091b3",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
+        "id": "9fd83c73.a107c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3993,\r
-        "y": 1016,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4010,\r
+        "y": 662,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "863d5ed9.b49e18"\r
+                "a8d157b0.ef0838"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12a460ba.ca9617",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
+        "id": "708d25c4.9f039c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3985,\r
-        "y": 1056,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4011.000213623047,\r
+        "y": 712.9999094009399,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             [\r
-                "1cdaf293.72e3fd"\r
+                "aa9d5dd.46a2da"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1cdaf293.72e3fd",\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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
-        "comments": "",\r
-        "x": 4143,\r
-        "y": 1056,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "863d5ed9.b49e18",\r
+        "id": "a8d157b0.ef0838",\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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
-        "comments": "",\r
-        "x": 4143,\r
-        "y": 1016,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "21d11018.7e29f8",\r
-        "type": "set",\r
-        "name": "set controller data",\r
-        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\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": 4159,\r
-        "y": 976,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ef8c4420.4b2328",\r
-        "type": "comment",\r
-        "name": "Get controller info and send request",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 3751,\r
-        "y": 976,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e3821d69.5cd46",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME:",\r
-        "info": "How to know which domain's (A or B) controller is bein retrieved?",\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
         "comments": "",\r
-        "x": 3685.5,\r
-        "y": 936,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 4150.000247955322,\r
+        "y": 662.0000009536743,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "e565282f.4ac74",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME:",\r
-        "info": "Set proper values to generate a good JSON body to be sent to PNC A for TN NSSI deletion.",\r
+        "id": "aa9d5dd.46a2da",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
         "comments": "",\r
-        "x": 3682,\r
-        "y": 1080,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 4156.02725982666,\r
+        "y": 710.7453947067261,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": [\r
+            []\r
+        ]\r
     },\r
     {\r
-        "id": "13714ee3.ae8141",\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.connectivityB.connectivity-id'>\n",\r
+        "id": "2043f8a6.e6867",\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": 3733,\r
-        "y": 1273,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3193,\r
+        "y": 699,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
-            []\r
+            [\r
+                "f28924af.d151d",\r
+                "b67c4790.638238"\r
+            ]\r
         ]\r
     },\r
     {\r
-        "id": "36d49abc.7de96e",\r
-        "type": "comment",\r
-        "name": "TODO: FIXME",\r
-        "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
+        "id": "b67c4790.638238",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
-        "x": 3668,\r
-        "y": 1239,\r
-        "z": "b189bed1.bef5e8",\r
-        "wires": []\r
+        "outputs": 1,\r
+        "x": 3431,\r
+        "y": 682,\r
+        "z": "d544e90d.c47ab8",\r
+        "wires": [\r
+            [\r
+                "2ee33a01.a56356"\r
+            ]\r
+        ]\r
     },\r
     {\r
-        "id": "408a0c32.404a4c",\r
-        "type": "save",\r
-        "name": "delete vpn-binding resource in AAI",\r
-        "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='tmp.aai.vpn-bindingB = $tmp.aai.vpn-bindingB'>\n",\r
+        "id": "f28924af.d151d",\r
+        "type": "outcome",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3729,\r
-        "y": 1317,\r
-        "z": "b189bed1.bef5e8",\r
+        "x": 3443,\r
+        "y": 749,\r
+        "z": "d544e90d.c47ab8",\r
         "wires": [\r
             []\r
         ]\r