RanSlice DG, Templates - Integration Testing Fixes
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_terminateRANSliceInstance.json
index e85834c..db2c3c0 100644 (file)
@@ -1,36 +1,20 @@
 [
     {
-        "id": "a5d25c75.df911",
-        "type": "method",
-        "name": "method",
-        "xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 135,
-        "y": 178.98959350585938,
-        "z": "f630c4e8.64d488",
-        "wires": [
-            [
-                "940794b0.9ca258"
-            ]
-        ]
-    },
-    {
-        "id": "6b98a8.11e82758",
+        "id": "13b54916.0b6007",
         "type": "dgstart",
         "name": "DGSTART",
         "outputs": 1,
-        "x": 131,
-        "y": 26.989585876464844,
-        "z": "f630c4e8.64d488",
+        "x": 256.3888854980469,
+        "y": 149.16665887832642,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "cc743ed3.cedd7"
+                "1c8660a6.4c1f1f"
             ]
         ]
     },
     {
-        "id": "cc743ed3.cedd7",
+        "id": "1c8660a6.4c1f1f",
         "type": "service-logic",
         "name": "ran-slice-api ${project.version}",
         "module": "ran-slice-api",
         "comments": "",
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
         "outputs": 1,
-        "x": 188.99998474121094,
-        "y": 87.98968124389648,
-        "z": "f630c4e8.64d488",
+        "x": 311.38890838623047,
+        "y": 236.16662740707397,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "fe73b1e2.82cbe"
+            ]
+        ]
+    },
+    {
+        "id": "fe73b1e2.82cbe",
+        "type": "method",
+        "name": "method",
+        "xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 245.38888549804688,
+        "y": 296.1665930747986,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "a5d25c75.df911"
+                "2c945b9d.9762d4"
             ]
         ]
     },
     {
-        "id": "940794b0.9ca258",
+        "id": "2c945b9d.9762d4",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 150.48959732055664,
-        "y": 345.98962020874023,
-        "z": "f630c4e8.64d488",
+        "x": 251.38887786865234,
+        "y": 390.9166235923767,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "d32cd716.eb75f8",
-                "5a119db3.ce9b34"
+                "15a06d8f.7a3ca2",
+                "ca819b40.18b7a8",
+                "4f957f97.ee3ed",
+                "fa5127b8.c6a188"
             ]
         ]
     },
     {
-        "id": "d32cd716.eb75f8",
-        "type": "returnSuccess",
-        "name": "return success",
-        "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
+        "id": "15a06d8f.7a3ca2",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
         "comments": "",
-        "x": 247.0002670288086,
-        "y": 575.9897727966309,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 465.3888816833496,
+        "y": 414.16665601730347,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "8a4d1167.682ac",
+                "28a2cb6f.774dd4",
+                "c2420cc1.98cd5",
+                "7fa621ae.c91f3",
+                "b7f191d.9954e7",
+                "485b1e79.bbde2",
+                "30294ae6.eaaeb6",
+                "941bdbd9.3f4b08",
+                "7597a7a3.d53198",
+                "9cee919c.bea0b",
+                "ba93432d.8ae6f",
+                "b2d5bb29.9e1f58",
+                "f014e0f.8062b2",
+                "35f03911.133576",
+                "92345751.f84618",
+                "926f95e.bc62b68"
+            ]
+        ]
     },
     {
-        "id": "44cfb129.2991e",
-        "type": "comment",
-        "name": "terminateRANSliceInstance",
-        "info": "",
+        "id": "8a4d1167.682ac",
+        "type": "execute",
+        "name": "generate getNearRTRICsFromRANNFNSSI URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n    <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n    <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
         "comments": "",
-        "x": 415,
-        "y": 21,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 849.6388854980469,
+        "y": 557.4166660308838,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
     },
     {
-        "id": "5a119db3.ce9b34",
+        "id": "28a2cb6f.774dd4",
         "type": "record",
-        "name": "record",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>",
+        "name": "record configdb RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
         "comments": "",
         "outputs": 1,
-        "x": 300.0002975463867,
-        "y": 155.01043319702148,
-        "z": "f630c4e8.64d488",
+        "x": 789.6389007568359,
+        "y": 608.4166851043701,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             []
         ]
     },
     {
-        "id": "f7ead8d5.6a76d8",
-        "type": "set",
-        "name": "set tmp variables for notif input parms",
-        "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>",
+        "id": "c2420cc1.98cd5",
+        "type": "execute",
+        "name": "Get nearRTRIC for TrackingArea",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
         "comments": "",
-        "x": 770.0010986328125,
-        "y": 210.88906478881836,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 779.6389770507812,
+        "y": 660.4167156219482,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "43cb7753.13bff8",
+                "84692e0e.f962a"
+            ]
+        ]
     },
     {
-        "id": "6e214788.4686f8",
-        "type": "execute",
-        "name": "execute Properties",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
+        "id": "43cb7753.13bff8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 495.00018310546875,
-        "y": 176.01041793823242,
-        "z": "f630c4e8.64d488",
+        "x": 1078.4569816589355,
+        "y": 678.2347393035889,
+        "z": "5d875c6b.4b4c54",
         "wires": [
-            []
+            [
+                "bfa2467c.975828"
+            ]
+        ]
+    },
+    {
+        "id": "bfa2467c.975828",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1248.4568786621094,
+        "y": 679.2348546981812,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "ebf3b22f.4a068",
+                "68a4387a.832838"
+            ]
         ]
     },
     {
-        "id": "df08b48d.a7c588",
+        "id": "ebf3b22f.4a068",
         "type": "record",
         "name": "record",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
         "comments": "",
         "outputs": 1,
-        "x": 460.00030517578125,
-        "y": 230.01049423217773,
-        "z": "f630c4e8.64d488",
+        "x": 1471.4566764831543,
+        "y": 624.2348384857178,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             []
         ]
     },
     {
-        "id": "3cf4985f.1d9b68",
-        "type": "for",
-        "name": "for",
-        "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >",
+        "id": "68a4387a.832838",
+        "type": "execute",
+        "name": "printContext",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 335,
-        "y": 355.98958587646484,
-        "z": "f630c4e8.64d488",
+        "x": 1467.2348175048828,
+        "y": 695.2348461151123,
+        "z": "5d875c6b.4b4c54",
         "wires": [
-            [
-                "c8a0e6e.1dd9f18"
-            ]
+            []
         ]
     },
     {
-        "id": "c8a0e6e.1dd9f18",
-        "type": "block",
-        "name": "block : ConfigDB Update",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
+        "id": "84692e0e.f962a",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 514,
-        "y": 346.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1084.4569358825684,
+        "y": 618.2348232269287,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "f7ead8d5.6a76d8",
-                "30513601.2f1eda"
+                "ee193480.ded158"
             ]
         ]
     },
     {
-        "id": "30513601.2f1eda",
-        "type": "for",
-        "name": "for",
-        "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >",
+        "id": "ee193480.ded158",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
         "comments": "",
         "outputs": 1,
-        "x": 731,
-        "y": 320.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1364.4570121765137,
+        "y": 524.2348771095276,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "307d8f82.8592a"
+                "bb69198d.0fefb8",
+                "64e216ec.bfca58"
             ]
         ]
     },
     {
-        "id": "c0f7c9f8.98e818",
+        "id": "bb69198d.0fefb8",
         "type": "set",
-        "name": "set tmp variables for notif neigbor input parms",
-        "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
         "comments": "",
-        "x": 1129,
-        "y": 194.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1542.4567985534668,
+        "y": 478.3459038734436,
+        "z": "5d875c6b.4b4c54",
         "wires": []
     },
     {
-        "id": "307d8f82.8592a",
+        "id": "ca819b40.18b7a8",
+        "type": "for",
+        "name": "foreach NearRTRIC",
+        "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 446.6388854980469,
+        "y": 1001.2348384857178,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "25b3a4a9.908a0c",
+                "a80c0ed6.0f83f",
+                "221fc1b6.a4a77e",
+                "1faf1601.2669fa"
+            ]
+        ]
+    },
+    {
+        "id": "25b3a4a9.908a0c",
         "type": "block",
-        "name": "block : atomic",
+        "name": "Process NearRTRIC",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 864,
-        "y": 268.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 766.9924468994141,
+        "y": 1139.8106327056885,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "c0f7c9f8.98e818",
-                "fa22a415.571198",
-                "6f4fe94a.b1ffa8",
-                "49fbbbb9.e37cd4"
+                "79a53f2d.b5491",
+                "88535fa9.03811",
+                "3b91f995.943196",
+                "d38ca491.690178",
+                "8318ccb3.e2df6",
+                "2c07f0f9.fb597",
+                "8045c217.a14b",
+                "58a66c79.4d6444",
+                "a0ff73b.d53929"
             ]
         ]
     },
     {
-        "id": "fa22a415.571198",
+        "id": "79a53f2d.b5491",
         "type": "execute",
-        "name": "generate configdb add URL for nbr",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n    <parameter name=\"target\" value=\"{cellId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+        "name": "read nearRTRICId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
         "comments": "",
         "outputs": 1,
-        "x": 1127,
-        "y": 240.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1162.1844100952148,
+        "y": 792.143964767456,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             []
         ]
     },
     {
-        "id": "6f4fe94a.b1ffa8",
-        "type": "record",
-        "name": "record configdb RestAPI parms",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n",
+        "id": "88535fa9.03811",
+        "type": "execute",
+        "name": "read gNBId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
         "comments": "",
         "outputs": 1,
-        "x": 1122,
-        "y": 289.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1132.1843795776367,
+        "y": 984.1440277099609,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             []
         ]
     },
     {
-        "id": "49fbbbb9.e37cd4",
+        "id": "3b91f995.943196",
         "type": "execute",
-        "name": "Add neighbor to Cell",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+        "name": "Update nearRT RIC Details in ConfigDB",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removenearRTRIC-PLMNInfo.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-nearRTRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1093,
-        "y": 367.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1237.901512145996,
+        "y": 1179.6490125656128,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "e8bd439c.2947",
-                "780d51b3.1fe4c"
+                "40b8bfe7.b3c7a",
+                "69fb9607.8ef588"
             ]
         ]
     },
     {
-        "id": "e8bd439c.2947",
+        "id": "40b8bfe7.b3c7a",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1295,
-        "y": 334.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1605.4570007324219,
+        "y": 1220.6893062591553,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "55ac305d.b4eb2"
+            ]
+        ]
+    },
+    {
+        "id": "55ac305d.b4eb2",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1737.4571228027344,
+        "y": 1182.6893062591553,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "3e77d15e.509e8e"
+                "bd9d9a7e.99b7f8",
+                "d71a4184.466f"
             ]
         ]
     },
     {
-        "id": "780d51b3.1fe4c",
+        "id": "d71a4184.466f",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 1926.4568786621094,
+        "y": 1129.800329208374,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "bd9d9a7e.99b7f8",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 1934.4568786621094,
+        "y": 1229.6893672943115,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "69fb9607.8ef588",
         "type": "success",
         "name": "success",
         "xml": "<outcome value='success'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1287.999891281128,
-        "y": 413.98949909210205,
-        "z": "f630c4e8.64d488",
+        "x": 1603.2751159667969,
+        "y": 1320.598424911499,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "ec0f9390.bc092"
+                "8c6b92b0.8f7e3"
             ]
         ]
     },
     {
-        "id": "3e77d15e.509e8e",
+        "id": "8c6b92b0.8f7e3",
         "type": "block",
         "name": "block",
         "xml": "<block>\n",
         "atomic": "false",
         "comments": "",
         "outputs": 1,
-        "x": 1455.9998779296875,
-        "y": 291.98962020874023,
-        "z": "f630c4e8.64d488",
+        "x": 1767.2749938964844,
+        "y": 1321.5985469818115,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "1a2c5cb9.93d263"
+                "60c71f0b.4e0b8"
             ]
         ]
     },
     {
-        "id": "1a2c5cb9.93d263",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />",
+        "id": "60c71f0b.4e0b8",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
         "comments": "",
-        "x": 1634.999568939209,
-        "y": 288.9895877838135,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 1917.2749938964844,
+        "y": 1316.598669052124,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a210b89d.d67618",
+        "type": "execute",
+        "name": "read CUCP list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1120.6388854980469,
+        "y": 1364.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
     },
     {
-        "id": "ec0f9390.bc092",
+        "id": "a80c0ed6.0f83f",
         "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
+        "name": "Process CUCP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 1445.9996337890625,
-        "y": 379.989559173584,
-        "z": "f630c4e8.64d488",
+        "x": 747.6389083862305,
+        "y": 1277.4167156219482,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "81cf5fd.7666fa"
+                "a210b89d.d67618",
+                "77fae2fc.54a83c",
+                "c78a7431.326578"
             ]
         ]
     },
     {
-        "id": "81cf5fd.7666fa",
+        "id": "77fae2fc.54a83c",
         "type": "record",
         "name": "record",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1624.9997024536133,
-        "y": 378.98954582214355,
-        "z": "f630c4e8.64d488",
+        "x": 1092.6388854980469,
+        "y": 1429.4166622161865,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             []
         ]
     },
     {
-        "id": "b33ddeae.aa57b",
-        "type": "execute",
-        "name": "execute DmaapMsg",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n    <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='contentType' value='application/json' />\n    <parameter name='responsePrefix' value='dmaap' />",
+        "id": "c78a7431.326578",
+        "type": "for",
+        "name": "foreach CUCP",
+        "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 665.5,
-        "y": 506.07290267944336,
-        "z": "f630c4e8.64d488",
+        "x": 1120.6388854980469,
+        "y": 1504.4166622161865,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "5682184.0ed98e8",
-                "116d5ac8.a491a5"
+                "f3835687.f3ad28"
             ]
         ]
     },
     {
-        "id": "77dfbd9a.85b724",
-        "type": "set",
-        "name": "set",
-        "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>",
+        "id": "f3835687.f3ad28",
+        "type": "block",
+        "name": "block : process CUCP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
         "comments": "",
-        "x": 660.166748046875,
-        "y": 412.07290267944336,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 1341.6388854980469,
+        "y": 1511.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "293ade3b.3e9282",
+                "d33f3a13.3a80b8",
+                "55636713.753228",
+                "ac92bba5.c8a268"
+            ]
+        ]
     },
     {
-        "id": "5682184.0ed98e8",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
+        "id": "293ade3b.3e9282",
+        "type": "execute",
+        "name": "read CUCP name",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
         "comments": "",
         "outputs": 1,
-        "x": 861,
-        "y": 445.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1692.6388854980469,
+        "y": 1364.4166622161865,
+        "z": "5d875c6b.4b4c54",
         "wires": [
-            [
-                "feddd5d5.b26b48"
-            ]
+            []
         ]
     },
     {
-        "id": "116d5ac8.a491a5",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
+        "id": "d33f3a13.3a80b8",
+        "type": "for",
+        "name": "for cellCUList",
+        "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
         "comments": "",
         "outputs": 1,
-        "x": 846.9998779296875,
-        "y": 579.9895286560059,
-        "z": "f630c4e8.64d488",
+        "x": 1696.6388854980469,
+        "y": 1508.4166622161865,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "f00581ee.7161e"
+                "80ff59e2.0c6828"
             ]
         ]
     },
     {
-        "id": "feddd5d5.b26b48",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
+        "id": "9f3dc0ca.d175e",
+        "type": "execute",
+        "name": "read cellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
         "comments": "",
         "outputs": 1,
-        "x": 1051.9998779296875,
-        "y": 475.98962020874023,
-        "z": "f630c4e8.64d488",
+        "x": 2433.1391525268555,
+        "y": 1227.1666660308838,
+        "z": "5d875c6b.4b4c54",
         "wires": [
-            [
-                "f9e8e42c.b650c8"
-            ]
+            []
         ]
     },
     {
-        "id": "f9e8e42c.b650c8",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
+        "id": "d25fdd3c.e7a3a",
+        "type": "execute",
+        "name": "prepare mnc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
         "comments": "",
-        "x": 1230.999568939209,
-        "y": 472.9895877838135,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 2411.888999938965,
+        "y": 1473.6666107177734,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
     },
     {
-        "id": "f00581ee.7161e",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
+        "id": "4429c413.53d4fc",
+        "type": "execute",
+        "name": "terminate sNNSAI ToNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteSNSSAIListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
         "comments": "",
         "outputs": 1,
-        "x": 1041.9996337890625,
-        "y": 563.989559173584,
-        "z": "f630c4e8.64d488",
+        "x": 2379.6389923095703,
+        "y": 1661.4166355133057,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "2a523c48.546854"
+                "46115720.68ee88",
+                "8c0b5b7f.7bdf08"
             ]
         ]
     },
     {
-        "id": "2a523c48.546854",
+        "id": "5d11528.48bd2ac",
         "type": "record",
-        "name": "record",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>",
+        "name": "record API params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 1220.9997024536133,
-        "y": 562.9895458221436,
-        "z": "f630c4e8.64d488",
+        "x": 2379.638885498047,
+        "y": 1595.916675567627,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             []
         ]
     },
     {
-        "id": "283ddbe5.abd8f4",
+        "id": "cc17591c.133a48",
         "type": "block",
-        "name": "block : Publish DMAAP Message",
+        "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 416,
-        "y": 449.98958587646484,
-        "z": "f630c4e8.64d488",
+        "x": 2210.638885498047,
+        "y": 1115.4166622161865,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "77dfbd9a.85b724",
-                "b33ddeae.aa57b"
+                "9f3dc0ca.d175e",
+                "d25fdd3c.e7a3a",
+                "5d11528.48bd2ac",
+                "4429c413.53d4fc",
+                "4ff52e11.4c359",
+                "f74d3af1.4779d8",
+                "2b4b7928.bb17c6",
+                "d6873e5f.16b53",
+                "53ee972c.bda038",
+                "f200b6d5.a81168",
+                "24ec030e.cd504c",
+                "1063593f.f773f7",
+                "261c63a2.cfa8fc"
             ]
         ]
     },
     {
-        "id": "280fec55.9805a4",
-        "type": "comment",
-        "name": "DMAAP Publish Not Reqd. Just a placeholder",
-        "info": "",
+        "id": "46115720.68ee88",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
         "comments": "",
-        "x": 380,
-        "y": 503.98958587646484,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 2630.638999938965,
+        "y": 1657.4168796539307,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "3a88b361.e3682c"
+            ]
+        ]
+    },
+    {
+        "id": "3a88b361.e3682c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2803.638786315918,
+        "y": 1656.416940689087,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "90004ec.2abd9b"
+            ]
+        ]
     },
     {
-        "id": "3d43e8a.fae8d18",
+        "id": "90004ec.2abd9b",
         "type": "record",
         "name": "record",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #:  \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #:  \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
         "comments": "",
         "outputs": 1,
-        "x": 815.0005493164062,
-        "y": 42.9896354675293,
-        "z": "f630c4e8.64d488",
+        "x": 3001.638847351074,
+        "y": 1653.4170627593994,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             []
         ]
     },
     {
-        "id": "c74a3b00.dbe438",
-        "type": "for",
-        "name": "for",
-        "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >",
+        "id": "8c0b5b7f.7bdf08",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 484.085693359375,
-        "y": 115.95317459106445,
-        "z": "f630c4e8.64d488",
+        "x": 2595.6389694213867,
+        "y": 1540.4166355133057,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "898ea471.c49108"
+                "edcd118.a0bb6f"
             ]
         ]
     },
     {
-        "id": "898ea471.c49108",
+        "id": "edcd118.a0bb6f",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 636,
-        "y": 77.98958969116211,
-        "z": "f630c4e8.64d488",
+        "x": 2745.63924407959,
+        "y": 1499.4168186187744,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             [
-                "3d43e8a.fae8d18",
-                "15326088.5383cf"
+                "879c280b.1029e8",
+                "c0273093.0ef2e",
+                "64e216ec.bfca58"
             ]
         ]
     },
     {
-        "id": "15326088.5383cf",
-        "type": "for",
-        "name": "for",
-        "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >",
+        "id": "879c280b.1029e8",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2916.6388778686523,
+        "y": 1560.4168796539307,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "c0273093.0ef2e",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2911.638999938965,
+        "y": 1465.4168186187744,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "4ff52e11.4c359",
+        "type": "execute",
+        "name": "prepare idGNBCUCPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
         "comments": "",
         "outputs": 1,
-        "x": 808,
-        "y": 107.98958969116211,
-        "z": "f630c4e8.64d488",
+        "x": 2467.638916015625,
+        "y": 1327.4167575836182,
+        "z": "5d875c6b.4b4c54",
         "wires": [
-            [
-                "6ebb935.a77b76c"
-            ]
+            []
+        ]
+    },
+    {
+        "id": "f74d3af1.4779d8",
+        "type": "execute",
+        "name": "prepare idNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2448.6389083862305,
+        "y": 1374.1666374206543,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2b4b7928.bb17c6",
+        "type": "execute",
+        "name": "prepare mcc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n   ",
+        "comments": "",
+        "outputs": 1,
+        "x": 2424.3888778686523,
+        "y": 1417.1666707992554,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
         ]
     },
     {
-        "id": "6ebb935.a77b76c",
+        "id": "55636713.753228",
         "type": "record",
         "name": "record",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #:  \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 959,
-        "y": 101.98958969116211,
-        "z": "f630c4e8.64d488",
+        "x": 1665.6388854980469,
+        "y": 1415.4166622161865,
+        "z": "5d875c6b.4b4c54",
         "wires": [
             []
         ]
+    },
+    {
+        "id": "ac92bba5.c8a268",
+        "type": "execute",
+        "name": "read cellCU list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1706.6388854980469,
+        "y": 1464.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d6873e5f.16b53",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2433.638885498047,
+        "y": 1178.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "34e6ea9e.b1bdc6",
+                "9ce0b9e2.64fd18"
+            ]
+        ]
+    },
+    {
+        "id": "34e6ea9e.b1bdc6",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2641.638885498047,
+        "y": 1143.4164180755615,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "59068b77.755684"
+            ]
+        ]
+    },
+    {
+        "id": "59068b77.755684",
+        "type": "execute",
+        "name": "generate terminate sNSSAItEntry ToNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2961.638885498047,
+        "y": 1158.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9ce0b9e2.64fd18",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2629.638885498047,
+        "y": 1245.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f574854d.da65d8"
+            ]
+        ]
+    },
+    {
+        "id": "53ee972c.bda038",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1988.6388854980469,
+        "y": 1929.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "6b056548.ab52bc",
+                "b348ab17.934188",
+                "6d3d4b6b.749524",
+                "754ee45f.12c16c",
+                "f1cfbf18.b2243",
+                "7925f33.dcf840c",
+                "545ce814.c92928",
+                "205d965c.61e96a",
+                "7b4444ec.313bdc"
+            ]
+        ]
+    },
+    {
+        "id": "6b056548.ab52bc",
+        "type": "set",
+        "name": "Calculate RRMPolicyRatio",
+        "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+        "comments": "",
+        "x": 2170.638885498047,
+        "y": 1712.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "b348ab17.934188",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2169.638885498047,
+        "y": 1768.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6d3d4b6b.749524",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2210.638885498047,
+        "y": 1835.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "52da5d1a.0cca24",
+                "910f0fe5.fe248"
+            ]
+        ]
+    },
+    {
+        "id": "52da5d1a.0cca24",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2388.638885498047,
+        "y": 1802.4164180755615,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "8d09c6f.665b538"
+            ]
+        ]
+    },
+    {
+        "id": "8d09c6f.665b538",
+        "type": "execute",
+        "name": "fetch RRMPolicyRatio NRCellCU - URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2666.638885498047,
+        "y": 1794.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "754ee45f.12c16c",
+        "type": "execute",
+        "name": "prepare idGNBCUCPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2245.638885498047,
+        "y": 1907.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f1cfbf18.b2243",
+        "type": "execute",
+        "name": "prepare idNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2210.638885498047,
+        "y": 1959.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "589411b8.d17cf",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2496.638885498047,
+        "y": 2086.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "69298f81.7bc1a"
+            ]
+        ]
+    },
+    {
+        "id": "69298f81.7bc1a",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2660.6387634277344,
+        "y": 2087.416784286499,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "b3c93505.359eb8",
+                "59c05b13.4d5584"
+            ]
+        ]
+    },
+    {
+        "id": "b3c93505.359eb8",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2810.6387634277344,
+        "y": 2082.4169063568115,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "45ec013e.d3c1c",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2492.638885498047,
+        "y": 2007.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "d3c9a44c.060d38"
+            ]
+        ]
+    },
+    {
+        "id": "d3c9a44c.060d38",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2650.639129638672,
+        "y": 1955.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "49e1b3c0.3eda1c",
+                "d701e69a.7c76e8",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "49e1b3c0.3eda1c",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2821.6387634277344,
+        "y": 2016.4167232513428,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "d701e69a.7c76e8",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2816.638885498047,
+        "y": 1921.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "7925f33.dcf840c",
+        "type": "execute",
+        "name": "fetch RRMPolicyRatio - NRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2245.638885498047,
+        "y": 2034.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "45ec013e.d3c1c",
+                "589411b8.d17cf"
+            ]
+        ]
+    },
+    {
+        "id": "59c05b13.4d5584",
+        "type": "execute",
+        "name": "printContext",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2825.638885498047,
+        "y": 2145.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "545ce814.c92928",
+        "type": "for",
+        "name": "for each rrmpolicyratio",
+        "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2180.638885498047,
+        "y": 2192.4168910980225,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "91db87cc.23ab88"
+            ]
+        ]
+    },
+    {
+        "id": "205d965c.61e96a",
+        "type": "execute",
+        "name": "read rrmpolicyratio list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 2224.638885498047,
+        "y": 2088.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "91db87cc.23ab88",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2401.638885498047,
+        "y": 2212.4168910980225,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "9f49845e.0050c8",
+                "10bed330.9d26bd",
+                "b7aab5d6.a5d488",
+                "cac94f43.7988e",
+                "57aa1331.9d81bc",
+                "e85a3a4.22a94c8",
+                "4c947865.0ffd58",
+                "d93b6f67.8d487",
+                "47c5c1a5.8d72c",
+                "b2ace9e0.9edfb8"
+            ]
+        ]
+    },
+    {
+        "id": "9f49845e.0050c8",
+        "type": "set",
+        "name": "Calculate updated RRMPolicyRatio",
+        "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
+        "comments": "",
+        "x": 2726.638885498047,
+        "y": 2189.4168910980225,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "7b4444ec.313bdc",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2164.638885498047,
+        "y": 2142.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9f6e5cf6.2e6b1",
+        "type": "for",
+        "name": "foreach PLMNInfo",
+        "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2257.7499084472656,
+        "y": 923.6388731002808,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "5bd57ea8.8bdc"
+            ]
+        ]
+    },
+    {
+        "id": "80ff59e2.0c6828",
+        "type": "block",
+        "name": "block",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1916.6388854980469,
+        "y": 1417.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "9f6e5cf6.2e6b1",
+                "dcc1e616.a66a58"
+            ]
+        ]
+    },
+    {
+        "id": "ddf84184.f49eb",
+        "type": "switchNode",
+        "name": "is NSSAI exists",
+        "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2680.4166870117188,
+        "y": 934.194411277771,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "4535b231.1fd40c"
+            ]
+        ]
+    },
+    {
+        "id": "4535b231.1fd40c",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2583.638885498047,
+        "y": 1019.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "cc17591c.133a48"
+            ]
+        ]
+    },
+    {
+        "id": "f200b6d5.a81168",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"NSSAI exists \"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2405.638885498047,
+        "y": 1110.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fa26149a.2c7198",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2641.527847290039,
+        "y": 869.6388444900513,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5bd57ea8.8bdc",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2435.638885498047,
+        "y": 846.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "fa26149a.2c7198",
+                "ddf84184.f49eb",
+                "f9c032b0.6c509"
+            ]
+        ]
+    },
+    {
+        "id": "f9c032b0.6c509",
+        "type": "execute",
+        "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2770.5277404785156,
+        "y": 801.6388931274414,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "24ec030e.cd504c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1805.6388397216797,
+        "y": 2394.4166736602783,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "a8581b0.49378e8",
+                "cab5cd7b.682a4",
+                "ae40960a.6e1e88"
+            ]
+        ]
+    },
+    {
+        "id": "a8581b0.49378e8",
+        "type": "execute",
+        "name": "Update cellCU for gNBCUCP in ConfigDB",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removegNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"remove-gNBCUCP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2088.6388397216797,
+        "y": 2394.4166736602783,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "66689ab6.972234",
+                "3613c031.be978"
+            ]
+        ]
+    },
+    {
+        "id": "3613c031.be978",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2324.6388397216797,
+        "y": 2466.4166736602783,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f216f679.2b6c58"
+            ]
+        ]
+    },
+    {
+        "id": "66689ab6.972234",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2375.6388397216797,
+        "y": 2365.4169178009033,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "ea9cd975.e4bac8"
+            ]
+        ]
+    },
+    {
+        "id": "ea9cd975.e4bac8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2568.8889541625977,
+        "y": 2510.166732788086,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "7e0aa803.b632a8",
+                "950c5034.5b9f1",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "950c5034.5b9f1",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2738.638771057129,
+        "y": 2497.611343860626,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "7e0aa803.b632a8",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2738.638473510742,
+        "y": 2542.4167346954346,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "b092f8b7.785738",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2574.6388397216797,
+        "y": 2553.4166736602783,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f216f679.2b6c58",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2410.6388244628906,
+        "y": 2547.4167346954346,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "b092f8b7.785738"
+            ]
+        ]
+    },
+    {
+        "id": "b2ace9e0.9edfb8",
+        "type": "execute",
+        "name": "Update RRMPolicy for gNBCUCP in ConfigDB",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicyMember-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"remove-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2109.638885498047,
+        "y": 2680.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "cb3f1f17.3f02d",
+                "57784c5e.7f9454"
+            ]
+        ]
+    },
+    {
+        "id": "cb3f1f17.3f02d",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2407.638885498047,
+        "y": 2630.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "214aed7a.fa9512"
+            ]
+        ]
+    },
+    {
+        "id": "57784c5e.7f9454",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2407.638885498047,
+        "y": 2740.4164180755615,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "8a3d5438.473688"
+            ]
+        ]
+    },
+    {
+        "id": "214aed7a.fa9512",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2610.638885498047,
+        "y": 2627.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "dade9961.641c08",
+                "4b0b3c7b.284154",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "4b0b3c7b.284154",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2776.638641357422,
+        "y": 2593.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "dade9961.641c08",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2781.6385192871094,
+        "y": 2688.416723251343,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "8a3d5438.473688",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2588.638885498047,
+        "y": 2734.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "72c18a44.d21cf4"
+            ]
+        ]
+    },
+    {
+        "id": "72c18a44.d21cf4",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU RRMPolicyRatio \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2754.638885498047,
+        "y": 2735.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "221fc1b6.a4a77e",
+        "type": "block",
+        "name": "Process CUUP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 701.6388854980469,
+        "y": 1574.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "34ae32c9.abf47e",
+                "4d4bc6b8.a73168",
+                "696f3821.ac7238"
+            ]
+        ]
+    },
+    {
+        "id": "34ae32c9.abf47e",
+        "type": "execute",
+        "name": "read CUUP list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1032.6388854980469,
+        "y": 1584.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4d4bc6b8.a73168",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1004.6388854980469,
+        "y": 1649.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "696f3821.ac7238",
+        "type": "for",
+        "name": "foreach CUUP",
+        "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1032.6388854980469,
+        "y": 1724.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "2089220a.3b13fe"
+            ]
+        ]
+    },
+    {
+        "id": "2089220a.3b13fe",
+        "type": "block",
+        "name": "block : process CUUP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1253.6388854980469,
+        "y": 1731.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "7ab19067.34abd",
+                "591e5606.f47478",
+                "55fe52ed.4d0c3c",
+                "84b0e711.1d1a48"
+            ]
+        ]
+    },
+    {
+        "id": "7ab19067.34abd",
+        "type": "execute",
+        "name": "read CUUP id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1487.6388854980469,
+        "y": 1565.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "591e5606.f47478",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1483.6388854980469,
+        "y": 1619.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "55fe52ed.4d0c3c",
+        "type": "execute",
+        "name": "read plmninfolist size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1534.6388854980469,
+        "y": 1684.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "84b0e711.1d1a48",
+        "type": "for",
+        "name": "foreach pLMNInfo",
+        "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1520.6388854980469,
+        "y": 1739.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "3c027fdb.5d42c"
+            ]
+        ]
+    },
+    {
+        "id": "3c027fdb.5d42c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1486.6388854980469,
+        "y": 2815.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "5892741a.10faec",
+                "4127e412.d5a67c",
+                "30548ec4.6acdb2",
+                "2340eca5.443c94",
+                "133335da.d1bbaa",
+                "a0533e6a.89e61",
+                "9315bfdb.a2f6b",
+                "7bcfae2a.8d80b",
+                "1f2613d5.3c5b6c",
+                "9e05d876.aa5098",
+                "2d906f67.af8d2",
+                "5f217c6b.8aad94",
+                "59cd7c57.9edea4",
+                "2fca4cb4.2738c4",
+                "ce6d719c.49011",
+                "94dbe6eb.647a58",
+                "10895895.6f3bd7"
+            ]
+        ]
+    },
+    {
+        "id": "1f89eb4f.56d5b5",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2116.6390380859375,
+        "y": 3015.41690158844,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "5c88e0fe.aa427"
+            ]
+        ]
+    },
+    {
+        "id": "5c88e0fe.aa427",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2293.63916015625,
+        "y": 3004.4167795181274,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "370129e2.e5bde6",
+                "9a87f5b3.733728",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "9a87f5b3.733728",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2558.639175415039,
+        "y": 2974.4171867370605,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "370129e2.e5bde6",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2552.639175415039,
+        "y": 3015.4171867370605,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "838e485c.8df738",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBCUUP PLMNInfo Entry\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2443.6386108398438,
+        "y": 3087.41690158844,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "555b59c4.5368d8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2290.638916015625,
+        "y": 3087.416657447815,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "838e485c.8df738"
+            ]
+        ]
+    },
+    {
+        "id": "5c354916.643298",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2110.638916015625,
+        "y": 3082.4168405532837,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "555b59c4.5368d8"
+            ]
+        ]
+    },
+    {
+        "id": "99583120.d2f27",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2228.638900756836,
+        "y": 2815.4170627593994,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "7af6a37f.bc7d0c",
+                "8bdc8ed1.58fdf"
+            ]
+        ]
+    },
+    {
+        "id": "7af6a37f.bc7d0c",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2499.638900756836,
+        "y": 2794.4167613983154,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "dffa165d.c08c68"
+            ]
+        ]
+    },
+    {
+        "id": "8bdc8ed1.58fdf",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2487.638900756836,
+        "y": 2896.4170055389404,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "2649f371.df5dbc"
+            ]
+        ]
+    },
+    {
+        "id": "dffa165d.c08c68",
+        "type": "execute",
+        "name": "generate terminate PLMNInfoListEntry CUUP URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2819.638900756836,
+        "y": 2809.4170055389404,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5892741a.10faec",
+        "type": "execute",
+        "name": "prepare idGNBCUUPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1818.6388702392578,
+        "y": 2838.416696548462,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "10bed330.9d26bd",
+        "type": "set",
+        "name": "RRMPolicyRatio id",
+        "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />",
+        "comments": "",
+        "x": 2676.416793823242,
+        "y": 2228.4165897369385,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "4127e412.d5a67c",
+        "type": "set",
+        "name": "Calculate RRMPolicyRatio",
+        "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+        "comments": "",
+        "x": 1787.6390991210938,
+        "y": 3085.4171562194824,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "30548ec4.6acdb2",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1733.6390914916992,
+        "y": 3157.4171600341797,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2340eca5.443c94",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1744.6388854980469,
+        "y": 3232.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "79b460d5.c662",
+                "7575da63.dd4fa4"
+            ]
+        ]
+    },
+    {
+        "id": "79b460d5.c662",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1922.6388854980469,
+        "y": 3199.4164180755615,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "86755db9.7d83f"
+            ]
+        ]
+    },
+    {
+        "id": "86755db9.7d83f",
+        "type": "execute",
+        "name": "fetch RRMPolicyRatio CUUP - URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2217.638916015625,
+        "y": 3145.416718482971,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "133335da.d1bbaa",
+        "type": "execute",
+        "name": "prepare idGNBCUUPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1781.6389694213867,
+        "y": 3287.416675567627,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a0533e6a.89e61",
+        "type": "execute",
+        "name": "fetch RRMPolicyRatio - CUUP",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1777.6391372680664,
+        "y": 3344.4166765213013,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "d29f14c4.2beeb8",
+                "3d6aa90a.1b02e6"
+            ]
+        ]
+    },
+    {
+        "id": "d29f14c4.2beeb8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2027.6389808654785,
+        "y": 3334.4168405532837,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "8e9195f9.2c7a68"
+            ]
+        ]
+    },
+    {
+        "id": "8e9195f9.2c7a68",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2188.639129638672,
+        "y": 3353.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "dbec3cb4.3579f",
+                "f755aa7.e876158",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "f755aa7.e876158",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2354.638885498047,
+        "y": 3319.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "dbec3cb4.3579f",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2404.638687133789,
+        "y": 3374.416645050049,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "69a0577b.0915c8",
+        "type": "execute",
+        "name": "printContext",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2402.638961791992,
+        "y": 3460.4171328544617,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fa22ec90.e399d",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2383.6387481689453,
+        "y": 3417.416889190674,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "43e42fa1.89d73",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2186.6388397216797,
+        "y": 3399.4170718193054,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "fa22ec90.e399d",
+                "69a0577b.0915c8"
+            ]
+        ]
+    },
+    {
+        "id": "3d6aa90a.1b02e6",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2028.6390533447266,
+        "y": 3389.416949748993,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "43e42fa1.89d73"
+            ]
+        ]
+    },
+    {
+        "id": "9315bfdb.a2f6b",
+        "type": "execute",
+        "name": "read rrmpolicyratio list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1765.6389923095703,
+        "y": 3387.416645050049,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7bcfae2a.8d80b",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1703.6390838623047,
+        "y": 3431.416706085205,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1f2613d5.3c5b6c",
+        "type": "for",
+        "name": "for each rrmpolicyratio",
+        "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1745.3055267333984,
+        "y": 3481.750202178955,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "4ed20655.2841a8"
+            ]
+        ]
+    },
+    {
+        "id": "4ed20655.2841a8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1944.305564880371,
+        "y": 3507.7501430511475,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "96d6c20a.f3dc3",
+                "35604442.22acbc",
+                "e0ad1a99.4afc98",
+                "c436bb12.fb3218",
+                "680e2356.45dadc",
+                "a2f2dac8.2bb8b8",
+                "a0d3e29.b99a22",
+                "7545b5bb.fec49c"
+            ]
+        ]
+    },
+    {
+        "id": "3c7beedb.e32b72",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2740.3054428100586,
+        "y": 3741.7503910064697,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "d35a8344.134aa"
+            ]
+        ]
+    },
+    {
+        "id": "d35a8344.134aa",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - CUUP RRMpolicyRatio\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2934.305595397949,
+        "y": 3771.750207901001,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c3e90459.cc53b8",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3000.305414199829,
+        "y": 3828.7500853538513,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "fcc67fd8.ef1ad",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing RRMPolicyRatio. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3015.305534362793,
+        "y": 3876.7500853538513,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "8e1e0f62.d4b88",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2737.3059616088867,
+        "y": 3803.750024795532,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "fcc67fd8.ef1ad",
+                "c3e90459.cc53b8"
+            ]
+        ]
+    },
+    {
+        "id": "2b3faeb4.a48ed2",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2516.3054733276367,
+        "y": 3780.750024318695,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "8e1e0f62.d4b88"
+            ]
+        ]
+    },
+    {
+        "id": "9e05d876.aa5098",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1699.9723052978516,
+        "y": 3940.083523750305,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "d25784cf.08f9d8",
+                "a79aaedd.650cb",
+                "7d8bd7ea.d3c8b8",
+                "bc9e3843.b4d938"
+            ]
+        ]
+    },
+    {
+        "id": "d25784cf.08f9d8",
+        "type": "execute",
+        "name": "Update gNBCUUP in ConfigDB",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBCUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2032.9722595214844,
+        "y": 3941.0834102630615,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "3358e0fe.e1dbd",
+                "b415d4aa.816a48"
+            ]
+        ]
+    },
+    {
+        "id": "3358e0fe.e1dbd",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2319.9722595214844,
+        "y": 3912.0836544036865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "8e8b459c.ef1818"
+            ]
+        ]
+    },
+    {
+        "id": "b415d4aa.816a48",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2268.9722595214844,
+        "y": 4013.0834102630615,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f4a060e7.e58e1"
+            ]
+        ]
+    },
+    {
+        "id": "f4a060e7.e58e1",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2390.9721298217773,
+        "y": 4060.0834016799927,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f31d2512.795d88"
+            ]
+        ]
+    },
+    {
+        "id": "8e8b459c.ef1818",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2511.9722595214844,
+        "y": 4028.0834102630615,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "5bb3484c.ee7918",
+                "ec6bbc89.9e9f6",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "f31d2512.795d88",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2530.9723739624023,
+        "y": 4064.083462715149,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5bb3484c.ee7918",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2682.971893310547,
+        "y": 4089.083471298218,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "ec6bbc89.9e9f6",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2677.9720611572266,
+        "y": 3996.0833988189697,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "76794f83.cd47d",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2720.9720611572266,
+        "y": 4140.08339881897,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "2fd9f56c.66bcea",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2725.971939086914,
+        "y": 4235.083459854126,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "8983cfa0.bd2f5",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2554.9723052978516,
+        "y": 4174.08339881897,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "2fd9f56c.66bcea",
+                "76794f83.cd47d",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "5dc273f7.d271ec",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2698.9723052978516,
+        "y": 4282.08339881897,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "16ac4386.c47f7c",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2532.9723052978516,
+        "y": 4281.08339881897,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "5dc273f7.d271ec"
+            ]
+        ]
+    },
+    {
+        "id": "710a2275.57653c",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2351.9723052978516,
+        "y": 4287.083154678345,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "16ac4386.c47f7c"
+            ]
+        ]
+    },
+    {
+        "id": "b816bbbf.a9bc48",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2351.9723052978516,
+        "y": 4177.08339881897,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "8983cfa0.bd2f5"
+            ]
+        ]
+    },
+    {
+        "id": "a79aaedd.650cb",
+        "type": "execute",
+        "name": "Update RRMPolicy for gNBCUUP in ConfigDB",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2051.472396850586,
+        "y": 4210.833646774292,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "b816bbbf.a9bc48",
+                "710a2275.57653c"
+            ]
+        ]
+    },
+    {
+        "id": "1faf1601.2669fa",
+        "type": "block",
+        "name": "Process gNBDU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1064.389060974121,
+        "y": 4212.167390823364,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "2ff42930.53a7a6",
+                "a21f2124.e5ed3",
+                "d0a914ba.b40bb8"
+            ]
+        ]
+    },
+    {
+        "id": "2ff42930.53a7a6",
+        "type": "execute",
+        "name": "read DUlist size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1393.389060974121,
+        "y": 4243.167390823364,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a21f2124.e5ed3",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1351.389045715332,
+        "y": 4304.167390823364,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d0a914ba.b40bb8",
+        "type": "for",
+        "name": "foreach DU",
+        "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1363.3890914916992,
+        "y": 4374.167390823364,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "4558ce70.982c6"
+            ]
+        ]
+    },
+    {
+        "id": "4558ce70.982c6",
+        "type": "block",
+        "name": "block : process gNBDU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1644.389060974121,
+        "y": 4375.167360305786,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "8ca51e33.1c76f",
+                "322ebbf8.73f024",
+                "7457cf96.44126",
+                "5d860438.a120dc"
+            ]
+        ]
+    },
+    {
+        "id": "8ca51e33.1c76f",
+        "type": "execute",
+        "name": "read DU id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1923.3888854980469,
+        "y": 4371.1666622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "322ebbf8.73f024",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1896.3888854980469,
+        "y": 4422.1666622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7457cf96.44126",
+        "type": "execute",
+        "name": "read cellDU list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1937.3888854980469,
+        "y": 4471.1666622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5d860438.a120dc",
+        "type": "for",
+        "name": "for cellDUList",
+        "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1927.3888854980469,
+        "y": 4515.1666622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "2bf11eaa.4763e2",
+                "172ed894.1d8ac7"
+            ]
+        ]
+    },
+    {
+        "id": "4b99aec5.45498",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2954.138885498047,
+        "y": 4569.1666622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "4445cd18.9600c4",
+                "872e480f.b465f8",
+                "f5d4c601.354688",
+                "11a0d679.90098a",
+                "f2dcbb4e.8038e8",
+                "726f7922.b45ba8",
+                "a10594b5.5c8fb8",
+                "b0e28d4e.4976b",
+                "b7827b8b.3a1708",
+                "8c35785a.ba3828",
+                "ef4ec23.31a6e4",
+                "f5f4e46a.0c8e38"
+            ]
+        ]
+    },
+    {
+        "id": "b0e28d4e.4976b",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3149.138885498047,
+        "y": 4564.1666622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a10594b5.5c8fb8",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3177.138885498047,
+        "y": 4632.1666622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "95d9cd08.e7de8",
+                "a61d5125.dc085"
+            ]
+        ]
+    },
+    {
+        "id": "95d9cd08.e7de8",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3385.138885498047,
+        "y": 4597.1664180755615,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "69b5d8b5.7904c8"
+            ]
+        ]
+    },
+    {
+        "id": "a61d5125.dc085",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3380.1389350891113,
+        "y": 4666.166986465454,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "92f49b5d.cdaff8"
+            ]
+        ]
+    },
+    {
+        "id": "69b5d8b5.7904c8",
+        "type": "execute",
+        "name": "generate terminate PLMNInfoListEntry ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3705.138885498047,
+        "y": 4612.1666622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4445cd18.9600c4",
+        "type": "execute",
+        "name": "read cellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3174.1390380859375,
+        "y": 4720.1669063568115,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "11a0d679.90098a",
+        "type": "execute",
+        "name": "prepare idGNBDUFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3229.1390991210938,
+        "y": 4785.166844367981,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f2dcbb4e.8038e8",
+        "type": "execute",
+        "name": "prepare idNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3202.1392822265625,
+        "y": 4840.16684627533,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "726f7922.b45ba8",
+        "type": "execute",
+        "name": "prepare mcc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n   ",
+        "comments": "",
+        "outputs": 1,
+        "x": 3187.1390838623047,
+        "y": 4884.417345523834,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "872e480f.b465f8",
+        "type": "execute",
+        "name": "prepare mnc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3187.8893280029297,
+        "y": 4928.666919708252,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f5d4c601.354688",
+        "type": "record",
+        "name": "record API params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3189.1388549804688,
+        "y": 5029.167276382446,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b7827b8b.3a1708",
+        "type": "execute",
+        "name": "terminate PLMNInfoListEntry ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3246.138885498047,
+        "y": 5104.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f7556fcd.b1055",
+                "a60331c9.05575"
+            ]
+        ]
+    },
+    {
+        "id": "a60331c9.05575",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3513.138885498047,
+        "y": 5004.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "885e3fb2.8834"
+            ]
+        ]
+    },
+    {
+        "id": "f7556fcd.b1055",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3512.138885498047,
+        "y": 5103.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "48a43a70.160724"
+            ]
+        ]
+    },
+    {
+        "id": "885e3fb2.8834",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3671.139129638672,
+        "y": 4952.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "e016f82d.0fc048",
+                "4100e640.65c688",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "48a43a70.160724",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3680.138885498047,
+        "y": 5100.416664838791,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "bec552fc.bfa94"
+            ]
+        ]
+    },
+    {
+        "id": "bec552fc.bfa94",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully deleted - cellDU PLMNInfo List\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3826.1387634277344,
+        "y": 5099.4169063568115,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e016f82d.0fc048",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error deleting NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3842.1387634277344,
+        "y": 5013.416723251343,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "4100e640.65c688",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error deleting cellDU PLMNInfoList. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3837.138885498047,
+        "y": 4918.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "8c35785a.ba3828",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3047.388885498047,
+        "y": 5377.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "12e635c0.94b48a",
+                "44ed566.8d86fa8",
+                "b4de1e89.82b6e",
+                "91d81242.ff2b8",
+                "315ed92f.8f67d6",
+                "78564a5d.1a40a4",
+                "b38ec85.557de38",
+                "9ff095d2.ab37b8"
+            ]
+        ]
+    },
+    {
+        "id": "12e635c0.94b48a",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3269.388885498047,
+        "y": 5283.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "428d1db9.79b144",
+                "4bd777f4.13f2a8"
+            ]
+        ]
+    },
+    {
+        "id": "428d1db9.79b144",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3452.3891220092773,
+        "y": 5221.4169921875,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f40b7948.cce758"
+            ]
+        ]
+    },
+    {
+        "id": "f40b7948.cce758",
+        "type": "execute",
+        "name": "fetch RRMPolicyRatio NRCellDU - URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3752.3889923095703,
+        "y": 5222.4171142578125,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "44ed566.8d86fa8",
+        "type": "execute",
+        "name": "prepare idGNBDUFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3304.388885498047,
+        "y": 5355.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b4de1e89.82b6e",
+        "type": "execute",
+        "name": "prepare idNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3269.388885498047,
+        "y": 5407.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "91d81242.ff2b8",
+        "type": "execute",
+        "name": "fetch RRMPolicyRatio - NRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3304.388885498047,
+        "y": 5482.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "adf4c60.a7c5138",
+                "ef578ee8.b1e35"
+            ]
+        ]
+    },
+    {
+        "id": "adf4c60.a7c5138",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3551.388885498047,
+        "y": 5455.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "28d06dec.581572"
+            ]
+        ]
+    },
+    {
+        "id": "ef578ee8.b1e35",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3555.388885498047,
+        "y": 5534.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "23a1a2a3.4c62ee"
+            ]
+        ]
+    },
+    {
+        "id": "28d06dec.581572",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3709.389129638672,
+        "y": 5403.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "de4b3cb4.b5216",
+                "acd2a528.0b0078",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "acd2a528.0b0078",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3875.388885498047,
+        "y": 5369.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "de4b3cb4.b5216",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3880.3887634277344,
+        "y": 5464.416723251343,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "23a1a2a3.4c62ee",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3700.6390991210938,
+        "y": 5469.1668176651,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "c17f1a79.6a7608",
+                "6741f30b.d7331c"
+            ]
+        ]
+    },
+    {
+        "id": "c17f1a79.6a7608",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3866.88916015625,
+        "y": 5509.166816711426,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6741f30b.d7331c",
+        "type": "execute",
+        "name": "printContext",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3869.3894081115723,
+        "y": 5544.666696548462,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "315ed92f.8f67d6",
+        "type": "execute",
+        "name": "read rrmpolicyratio list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 3283.388885498047,
+        "y": 5536.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "78564a5d.1a40a4",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3223.388885498047,
+        "y": 5590.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b38ec85.557de38",
+        "type": "block",
+        "name": "rrmPolicyDedicatedRatio",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3828.3889236450195,
+        "y": 5167.416751861572,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "634bf489.b3040c",
+                "159ece06.ffdd02",
+                "a88709b8.2aa6a8",
+                "498fe9d5.172a38",
+                "51c45b62.47d2c4",
+                "2582027c.6df7ee",
+                "754e9802.9ca7c8",
+                "666ba66d.e7bd28",
+                "a2c01564.2784e8",
+                "24ca79c1.9e86e6",
+                "325e0169.75ff7e"
+            ]
+        ]
+    },
+    {
+        "id": "a88709b8.2aa6a8",
+        "type": "set",
+        "name": "Calculate RRM Parms1",
+        "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
+        "comments": "",
+        "x": 4272.378692626953,
+        "y": 4947.739415168762,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "498fe9d5.172a38",
+        "type": "set",
+        "name": "Calculate RRM Parms2",
+        "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
+        "comments": "",
+        "x": 4280.919952392578,
+        "y": 4992.759434640408,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "51c45b62.47d2c4",
+        "type": "set",
+        "name": "Calculate RRM Parms3",
+        "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
+        "comments": "",
+        "x": 4270.920074462891,
+        "y": 5047.759312570095,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "2582027c.6df7ee",
+        "type": "set",
+        "name": "Calculate RRM Parms4",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
+        "comments": "",
+        "x": 4270.919952392578,
+        "y": 5098.7593126297,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "754e9802.9ca7c8",
+        "type": "set",
+        "name": "Calculate RRM Parms5",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+        "comments": "",
+        "x": 4258.920074462891,
+        "y": 5158.759434640408,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "666ba66d.e7bd28",
+        "type": "set",
+        "name": "Calculate RRM Parms6",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
+        "comments": "",
+        "x": 4296.919952392578,
+        "y": 5208.759434640408,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "a2c01564.2784e8",
+        "type": "set",
+        "name": "Calculate RRM Parms7",
+        "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+        "comments": "",
+        "x": 4283.919891357422,
+        "y": 5278.75980091095,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "24ca79c1.9e86e6",
+        "type": "set",
+        "name": "calculation8",
+        "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
+        "comments": "",
+        "x": 4254.919891357422,
+        "y": 5342.75882434845,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "325e0169.75ff7e",
+        "type": "set",
+        "name": "calculation9",
+        "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+        "comments": "",
+        "x": 4242.920440673828,
+        "y": 5393.758702278137,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "159ece06.ffdd02",
+        "type": "set",
+        "name": "calculation10",
+        "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
+        "comments": "",
+        "x": 4218.378753662109,
+        "y": 5459.739171028137,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "634bf489.b3040c",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4044.3886795043945,
+        "y": 5471.86047744751,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9ff095d2.ab37b8",
+        "type": "for",
+        "name": "for each rrmpolicyratio",
+        "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3264.638885498047,
+        "y": 5661.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "20d39fe.6a4076"
+            ]
+        ]
+    },
+    {
+        "id": "20d39fe.6a4076",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3485.638885498047,
+        "y": 5681.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "39858349.b73dac",
+                "ab6c8152.d016f",
+                "a3778dfc.3c17b",
+                "1dbf0a7e.210a96",
+                "5daf7f84.24d9d",
+                "f64e2531.bfe9d8",
+                "bb5ea2d5.54a8",
+                "2c3ebac3.2ff846"
+            ]
+        ]
+    },
+    {
+        "id": "39858349.b73dac",
+        "type": "set",
+        "name": "RRMPolicyRatio id",
+        "xml": "<set>\n<parameter name='tmp.cellDURRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />",
+        "comments": "",
+        "x": 3762.6390380859375,
+        "y": 5584.916941642761,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "e7e90fb8.db687",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4079.639045715332,
+        "y": 5883.666942596436,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "825d74b8.e0d108"
+            ]
+        ]
+    },
+    {
+        "id": "825d74b8.e0d108",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4271.889114379883,
+        "y": 5897.416942596436,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "511b666a.0d43b8"
+            ]
+        ]
+    },
+    {
+        "id": "511b666a.0d43b8",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - cellDU RRMpolicyRatio\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4469.38948059082,
+        "y": 5888.416704177856,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a478b6ee.d92258",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4537.638885498047,
+        "y": 5916.416433334351,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "64d7d924.040e98",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4542.638763427734,
+        "y": 6011.416494369507,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "bdfeaafa.e54c48",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4297.639129638672,
+        "y": 5965.416433334351,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "64d7d924.040e98",
+                "a478b6ee.d92258",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "a22a04f6.640d18",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4078.638885498047,
+        "y": 5960.416433334351,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "bdfeaafa.e54c48"
+            ]
+        ]
+    },
+    {
+        "id": "ef4ec23.31a6e4",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3000.1389770507812,
+        "y": 5965.416759490967,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "1a309b6e.c21b05",
+                "70d76cd.3265c94",
+                "490de212.f261fc",
+                "2798ec67.4d5e74"
+            ]
+        ]
+    },
+    {
+        "id": "1a309b6e.c21b05",
+        "type": "execute",
+        "name": "Update cellDU for gNBDU in ConfigDB",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removegNBDU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3385.639392852783,
+        "y": 6067.166706085205,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "4ee14cb4.fb81e4",
+                "31e628cb.3dc4a8"
+            ]
+        ]
+    },
+    {
+        "id": "4ee14cb4.fb81e4",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3718.888973236084,
+        "y": 6048.167682647705,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "e1bf2b3d.d3b538"
+            ]
+        ]
+    },
+    {
+        "id": "31e628cb.3dc4a8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3650.3891563415527,
+        "y": 6135.416828155518,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "4e838663.bb3798"
+            ]
+        ]
+    },
+    {
+        "id": "4e838663.bb3798",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3785.138870239258,
+        "y": 6126.416723251343,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "fa9fe57c.0337a8"
+            ]
+        ]
+    },
+    {
+        "id": "e1bf2b3d.d3b538",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3942.138885498047,
+        "y": 6060.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "ec043b60.9fe7e8",
+                "a6de0614.1f1bc8",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "a6de0614.1f1bc8",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4108.138687133789,
+        "y": 6028.416650772095,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "fa9fe57c.0337a8",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3949.138885498047,
+        "y": 6132.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ec043b60.9fe7e8",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4113.138519287109,
+        "y": 6121.416723251343,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "48ca54bd.5a394c",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4151.138687133789,
+        "y": 6172.416650772095,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "f8f5aab8.7e3878",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4156.138565063477,
+        "y": 6267.416711807251,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "ce49ccfd.1e8be",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3985.138931274414,
+        "y": 6206.416650772095,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f8f5aab8.7e3878",
+                "48ca54bd.5a394c",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "af583334.1944",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3782.138931274414,
+        "y": 6209.416650772095,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "ce49ccfd.1e8be"
+            ]
+        ]
+    },
+    {
+        "id": "70d76cd.3265c94",
+        "type": "execute",
+        "name": "Update RRMPolicy for gNBDU in ConfigDB",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBDU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3352.8890380859375,
+        "y": 6294.417080402374,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "af583334.1944",
+                "64e93d9a.136f54"
+            ]
+        ]
+    },
+    {
+        "id": "64e93d9a.136f54",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3782.138931274414,
+        "y": 6319.41640663147,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "db60e771.2ddaa8"
+            ]
+        ]
+    },
+    {
+        "id": "db60e771.2ddaa8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3963.138931274414,
+        "y": 6313.416650772095,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "c990aeec.68c73"
+            ]
+        ]
+    },
+    {
+        "id": "c990aeec.68c73",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4129.138931274414,
+        "y": 6314.416650772095,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "64e216ec.bfca58",
+        "type": "block",
+        "name": "block : SO Response",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4622.123260498047,
+        "y": 2865.416664838791,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "7e38f9a7.15f508",
+                "bab3223.d7f4fe",
+                "928303ce.8f62"
+            ]
+        ]
+    },
+    {
+        "id": "7e38f9a7.15f508",
+        "type": "set",
+        "name": "set tmp variables for SO response",
+        "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$terminateRANSlice-input.action`\"/>\n",
+        "comments": "",
+        "x": 5284.124237060547,
+        "y": 2657.316323041916,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "bab3223.d7f4fe",
+        "type": "record",
+        "name": "record configdb RestAPI parms",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 5259.123123168945,
+        "y": 2754.4170005321503,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "928303ce.8f62",
+        "type": "execute",
+        "name": "Send to SO",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 5174.123134613037,
+        "y": 2851.4168784618378,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "cd9528a9.ad16b8",
+                "e7a3b171.83c7a"
+            ]
+        ]
+    },
+    {
+        "id": "cd9528a9.ad16b8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5400.123143196106,
+        "y": 2828.4168474674225,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f8e2ec4a.dfccb"
+            ]
+        ]
+    },
+    {
+        "id": "e7a3b171.83c7a",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5390.122997283936,
+        "y": 2936.4167869091034,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "3a2d6420.fda44c"
+            ]
+        ]
+    },
+    {
+        "id": "3a2d6420.fda44c",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 5540.122783660889,
+        "y": 2955.4168479442596,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "fbfe90f9.d6f22"
+            ]
+        ]
+    },
+    {
+        "id": "f8e2ec4a.dfccb",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 5551.123012542725,
+        "y": 2823.416969537735,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "7ff5477a.f56748"
+            ]
+        ]
+    },
+    {
+        "id": "7ff5477a.f56748",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
+        "comments": "",
+        "x": 5717.122692108154,
+        "y": 2826.4167869091034,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "fbfe90f9.d6f22",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 5704.122798919678,
+        "y": 2961.4167869091034,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4f957f97.ee3ed",
+        "type": "block",
+        "name": "SO Response",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 704.1232604980469,
+        "y": 4547.416664838791,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "25656d42.c8b032",
+                "22d1099c.43c226",
+                "ca075afd.0fd808",
+                "3fe55660.cbf3ea"
+            ]
+        ]
+    },
+    {
+        "id": "ca075afd.0fd808",
+        "type": "set",
+        "name": "set tmp variables for SO response",
+        "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
+        "comments": "",
+        "x": 984.1244049072266,
+        "y": 4397.31614947319,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "25656d42.c8b032",
+        "type": "record",
+        "name": "record SO reply parms",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 981.1232376098633,
+        "y": 4551.41684794426,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "22d1099c.43c226",
+        "type": "execute",
+        "name": "Send to SO",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 850.1233367919922,
+        "y": 4668.416552305222,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "bc258777.679b68",
+                "e00f36fe.17df48"
+            ]
+        ]
+    },
+    {
+        "id": "bc258777.679b68",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1015.1233367919922,
+        "y": 4648.416551351547,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "cff1dd31.41661"
+            ]
+        ]
+    },
+    {
+        "id": "e00f36fe.17df48",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1007.1232299804688,
+        "y": 4721.416501760483,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "8ec407a6.4e6bf8"
+            ]
+        ]
+    },
+    {
+        "id": "8ec407a6.4e6bf8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1153.1230735778809,
+        "y": 4726.416610479355,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "53cd4c85.4aa104"
+            ]
+        ]
+    },
+    {
+        "id": "cff1dd31.41661",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1164.1232376098633,
+        "y": 4644.4166867733,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "de73ae6a.42914",
+                "5c2df1a3.ca7d1"
+            ]
+        ]
+    },
+    {
+        "id": "de73ae6a.42914",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
+        "comments": "",
+        "x": 1311.1228561401367,
+        "y": 4655.41642832756,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "53cd4c85.4aa104",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1314.1229934692383,
+        "y": 4732.416502714157,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5c2df1a3.ca7d1",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 1298.6334648132324,
+        "y": 4559.405919790268,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "3fe55660.cbf3ea",
+        "type": "execute",
+        "name": "generate URL for SO Callback",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n    <parameter name=\"target\" value=\"{requestId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1003.4628601074219,
+        "y": 4487.402002096176,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "910f0fe5.fe248",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2405.638885498047,
+        "y": 1862.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "14202f76.802311"
+            ]
+        ]
+    },
+    {
+        "id": "14202f76.802311",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2598.6285438537598,
+        "y": 1862.416784286499,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "114a5f29.b92ff1",
+                "42d91e90.23ffa"
+            ]
+        ]
+    },
+    {
+        "id": "114a5f29.b92ff1",
+        "type": "execute",
+        "name": "generate fetchRRMPolicyRatio.ToNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2905.628730773926,
+        "y": 1829.4168853759766,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "42d91e90.23ffa",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2849.6291313171387,
+        "y": 1882.4170789718628,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f574854d.da65d8",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2833.138885498047,
+        "y": 1246.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f009c4f0.43b2a8",
+                "7d64db96.14d294"
+            ]
+        ]
+    },
+    {
+        "id": "7d64db96.14d294",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3084.139316558838,
+        "y": 1269.4167947769165,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f009c4f0.43b2a8",
+        "type": "execute",
+        "name": "generate TERMINATEPLMNInfoList.ToNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3140.138916015625,
+        "y": 1216.4166011810303,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "15d65f32.603751",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2910.638900756836,
+        "y": 2911.4170055389404,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8b1d30dd.fa96b",
+        "type": "execute",
+        "name": "generate terminatePLMNInfoList.TogNBCUUP",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2984.6386108398438,
+        "y": 2860.416759490967,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2649f371.df5dbc",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2664.6385650634766,
+        "y": 2898.416750907898,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "8b1d30dd.fa96b",
+                "15d65f32.603751"
+            ]
+        ]
+    },
+    {
+        "id": "e085629b.c369c",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2152.638885498047,
+        "y": 3243.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "ded9797.34dca88",
+                "49310d49.69ecd4"
+            ]
+        ]
+    },
+    {
+        "id": "ded9797.34dca88",
+        "type": "execute",
+        "name": "fetch RRMPolicyRatio.TogNBCUUP",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2454.6388206481934,
+        "y": 3203.416723251343,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "49310d49.69ecd4",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2398.6392211914062,
+        "y": 3256.416916847229,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7575da63.dd4fa4",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1925.1388854980469,
+        "y": 3252.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "e085629b.c369c"
+            ]
+        ]
+    },
+    {
+        "id": "92f49b5d.cdaff8",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3575.138885498047,
+        "y": 4681.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "399ca7bd.018e18",
+                "8be46c41.8c25c"
+            ]
+        ]
+    },
+    {
+        "id": "399ca7bd.018e18",
+        "type": "execute",
+        "name": "generate patchPLMNInfoList.ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3882.138916015625,
+        "y": 4651.41660118103,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8be46c41.8c25c",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3826.139316558838,
+        "y": 4704.4167947769165,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4bd777f4.13f2a8",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3471.888885498047,
+        "y": 5304.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "47171b0f.01aa44"
+            ]
+        ]
+    },
+    {
+        "id": "47171b0f.01aa44",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3638.88911819458,
+        "y": 5302.666259765625,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "b563af73.92284",
+                "52090741.a98b48"
+            ]
+        ]
+    },
+    {
+        "id": "b563af73.92284",
+        "type": "execute",
+        "name": "generate getRRMPolicyRatio.ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3885.8889350891113,
+        "y": 5269.666259765625,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "52090741.a98b48",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3828.8894233703613,
+        "y": 5330.6666259765625,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fa8b103b.c90c4",
+        "type": "comment",
+        "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate",
+        "info": "",
+        "comments": "",
+        "x": 927.8889141082764,
+        "y": 136.66666221618652,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "7fa621ae.c91f3",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$terminate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$terminate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$terminate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$terminate-r-a-n-slice-input.payload`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 758.1388778686523,
+        "y": 238.9166464805603,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b7f191d.9954e7",
+        "type": "set",
+        "name": "set default status value",
+        "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of terminateRANSice RPC' />",
+        "comments": "",
+        "x": 807.1386337280273,
+        "y": 286.916663646698,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "485b1e79.bbde2",
+        "type": "execute",
+        "name": "execute jsonStringToCtx",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='terminate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 807.1386337280273,
+        "y": 327.91661405563354,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "3d0c87b9.c409a8"
+            ]
+        ]
+    },
+    {
+        "id": "30294ae6.eaaeb6",
+        "type": "execute",
+        "name": "printContext",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 769.1386108398438,
+        "y": 371.9062056541443,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "941bdbd9.3f4b08",
+        "type": "execute",
+        "name": "execute Properties",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 789.1385955810547,
+        "y": 412.9165711402893,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7597a7a3.d53198",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 800.1386642456055,
+        "y": 482.66665267944336,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3d0c87b9.c409a8",
+        "type": "other",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1092.3886260986328,
+        "y": 391.1666407585144,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "d21bad35.2f372"
+            ]
+        ]
+    },
+    {
+        "id": "d21bad35.2f372",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1272.3887939453125,
+        "y": 385.1666407585144,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "faedc62b.fa4868",
+                "b34d2337.c36bb",
+                "36a4dafe.d19156"
+            ]
+        ]
+    },
+    {
+        "id": "faedc62b.fa4868",
+        "type": "execute",
+        "name": "printContext",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1484.8888244628906,
+        "y": 384.16664573550224,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b34d2337.c36bb",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1481.6387977600098,
+        "y": 425.666672706604,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "36a4dafe.d19156",
+        "type": "switchNode",
+        "name": "check action",
+        "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`==deallocate'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1492.3891906738281,
+        "y": 319.4166603088379,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "a572b20.72c925",
+                "b0df7991.61e8d8"
+            ]
+        ]
+    },
+    {
+        "id": "a572b20.72c925",
+        "type": "success",
+        "name": "terminate",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1682.3888931274414,
+        "y": 350.16666746139526,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "9a4a274d.d94778"
+            ]
+        ]
+    },
+    {
+        "id": "9a4a274d.d94778",
+        "type": "execute",
+        "name": "read sNSSAI from input",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.NSSAI`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1950.6388931274414,
+        "y": 348.1666741371155,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e21c06e4.206928",
+        "type": "execute",
+        "name": "read sNSSAI from sliceProfile",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.sliceProfile.NSSAI`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1961.3889236450195,
+        "y": 417.1666626930237,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b0df7991.61e8d8",
+        "type": "failure",
+        "name": "modify-deallocate",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1709.3888931274414,
+        "y": 421.1666626930237,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "e21c06e4.206928"
+            ]
+        ]
+    },
+    {
+        "id": "9cee919c.bea0b",
+        "type": "execute",
+        "name": "get PLMNId URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n    <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n    <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 749.6388778686523,
+        "y": 733.9166860580444,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ba93432d.8ae6f",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 720.6389083862305,
+        "y": 795.6667108535767,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b2d5bb29.9e1f58",
+        "type": "execute",
+        "name": "Get PLMN from Sliceprofile id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 785.6388931274414,
+        "y": 855.4166650772095,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f014e0f.8062b2",
+        "type": "execute",
+        "name": "read PLMN Id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.pLMNId`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 738.6388854980469,
+        "y": 913.4167137145996,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "35f03911.133576",
+        "type": "execute",
+        "name": "find MCC",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mcc\"/>\n    <parameter name=\"begin-index\" value=\"0\" />\n    <parameter name=\"end-index\" value=\"3\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 731.8888931274414,
+        "y": 972.6667766571045,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "92345751.f84618",
+        "type": "execute",
+        "name": "find MNC",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mnc\"/>\n    <parameter name=\"begin-index\" value=\"4\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 731.8889465332031,
+        "y": 1023.666654586792,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "926f95e.bc62b68",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 728.8824157714844,
+        "y": 1080.6601696014404,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d38ca491.690178",
+        "type": "execute",
+        "name": "generate getNearRTRICById URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICById`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICById.url\"/>\n    <parameter name=\"target\" value=\"{nearRTRICId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1205.6389617919922,
+        "y": 841.1667003631592,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8318ccb3.e2df6",
+        "type": "record",
+        "name": "record configdb RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for NearRTRICId\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`\" />\n<parameter name='field3' value=\"`$nearRTRICId`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1201.638916015625,
+        "y": 891.1667766571045,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2c07f0f9.fb597",
+        "type": "execute",
+        "name": "Get nearRTRIC for nearRTRICId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNearRTRICById-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1200.6390228271484,
+        "y": 934.166898727417,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "ced9eac3.be2828",
+                "e6b6fe08.ea73d"
+            ]
+        ]
+    },
+    {
+        "id": "ced9eac3.be2828",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1476.3888854980469,
+        "y": 931.1666622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "35a5fa3c.604ff6"
+            ]
+        ]
+    },
+    {
+        "id": "e6b6fe08.ea73d",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1470.388931274414,
+        "y": 991.1665782928467,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "57c5d9c4.661078"
+            ]
+        ]
+    },
+    {
+        "id": "35a5fa3c.604ff6",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1646.0557708740234,
+        "y": 922.5000638961792,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "90069086.9bf3d",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "90069086.9bf3d",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 1850.3888339996338,
+        "y": 883.277738571167,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "6a0bff9f.e783a",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNearRTRICById-configdb-response`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1863.3886260986328,
+        "y": 937.1666774749756,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "dc10964c.5ef7f8",
+        "type": "execute",
+        "name": "printContext",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1859.1667671203613,
+        "y": 1008.1666851043701,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "57c5d9c4.661078",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1640.388828277588,
+        "y": 992.166693687439,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "dc10964c.5ef7f8",
+                "6a0bff9f.e783a"
+            ]
+        ]
+    },
+    {
+        "id": "8045c217.a14b",
+        "type": "execute",
+        "name": "remove sNSSAI from context",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$getNearRTRICById-configdb-response`\" />\n<parameter name=\"value\" value=\"`$getNearRTRICById-configdb-response.pLMNInfoList[0].sNSSAI.sNSSAI`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1187.1945037841797,
+        "y": 1073.3612518310547,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "dcc1e616.a66a58",
+        "type": "execute",
+        "name": "read PLMNList size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2243.166473388672,
+        "y": 859.8888301849365,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b7aab5d6.a5d488",
+        "type": "set",
+        "name": "Read RRMPolicy Member List Length",
+        "xml": "<set>\n<parameter name='tmp.NRCellCURRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
+        "comments": "",
+        "x": 2706.16650390625,
+        "y": 2266.722059249878,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "cac94f43.7988e",
+        "type": "for",
+        "name": "for each rrmpolicyMember",
+        "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2687.138687133789,
+        "y": 2309.499922275543,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "17d93ed6.5e1c41"
+            ]
+        ]
+    },
+    {
+        "id": "17d93ed6.5e1c41",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2903.805488586426,
+        "y": 2305.6110668182373,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "80a219a9.cb4fa8",
+                "1c636d7a.76bbd3",
+                "cfe4eb87.f9ce98",
+                "16d7a78b.89b958",
+                "61fb2172.2e08a"
+            ]
+        ]
+    },
+    {
+        "id": "80a219a9.cb4fa8",
+        "type": "switchNode",
+        "name": "if length > 0 ",
+        "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLeangth`>0'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3052.972480773926,
+        "y": 2270.7497453689575,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "90b11368.b8378",
+                "94d76e54.f4b62"
+            ]
+        ]
+    },
+    {
+        "id": "90b11368.b8378",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3204.6388969421387,
+        "y": 2246.3051433563232,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "928e9705.a89d38"
+            ]
+        ]
+    },
+    {
+        "id": "928e9705.a89d38",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3371.3053550720215,
+        "y": 2246.3056030273438,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "c8662394.eae76"
+            ]
+        ]
+    },
+    {
+        "id": "c8662394.eae76",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3219.083236694336,
+        "y": 2125.1943385601044,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "e677db79.580d78",
+                "dd2ac7e6.9925a8"
+            ]
+        ]
+    },
+    {
+        "id": "e677db79.580d78",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3462.416976928711,
+        "y": 2141.083017349243,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "5c1ef2cf.2bc89c"
+            ]
+        ]
+    },
+    {
+        "id": "dd2ac7e6.9925a8",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3453.260486602783,
+        "y": 2181.5273008346558,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "3feb197e.7eee96"
+            ]
+        ]
+    },
+    {
+        "id": "5c1ef2cf.2bc89c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3643.8053970336914,
+        "y": 2142.4166173934937,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "9ad9b7f2.be01a8"
+            ]
+        ]
+    },
+    {
+        "id": "3feb197e.7eee96",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3634.916473388672,
+        "y": 2184.6386556625366,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "71cc87aa.8b2aa8",
+                "cf5f7048.c50b9"
+            ]
+        ]
+    },
+    {
+        "id": "9ad9b7f2.be01a8",
+        "type": "execute",
+        "name": "delete RRMPolicyRatio NRCellCU - URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3929.083106994629,
+        "y": 2139.63889503479,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "71cc87aa.8b2aa8",
+        "type": "execute",
+        "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3940.194366455078,
+        "y": 2182.9722566604614,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cf5f7048.c50b9",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3864.63858795166,
+        "y": 2218.527738571167,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "94d76e54.f4b62",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3208.2499389648438,
+        "y": 2299.638776779175,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "43619232.8fe1fc"
+            ]
+        ]
+    },
+    {
+        "id": "43619232.8fe1fc",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3393.917022705078,
+        "y": 2287.972095489502,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "7b60a95a.311d38",
+                "4dd7b0ec.5f578"
+            ]
+        ]
+    },
+    {
+        "id": "7b60a95a.311d38",
+        "type": "set",
+        "name": "Read RRMPolicyMember-sNSSA",
+        "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`\" />",
+        "comments": "",
+        "x": 3686.305992126465,
+        "y": 2251.8614082336426,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "4dd7b0ec.5f578",
+        "type": "switchNode",
+        "name": "find matching RRMPolicyMember",
+        "xml": "<switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3685.1944274902344,
+        "y": 2291.860902786255,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "aeb12330.5d927"
+            ]
+        ]
+    },
+    {
+        "id": "aeb12330.5d927",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3916.0277709960938,
+        "y": 2296.305280685425,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "b5e8a0ad.669d3"
+            ]
+        ]
+    },
+    {
+        "id": "b5e8a0ad.669d3",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4139.638610839844,
+        "y": 2292.9720287323,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "182e3e07.d731f2",
+                "b41b6ede.e30bc",
+                "b0c9ebb0.f7a748"
+            ]
+        ]
+    },
+    {
+        "id": "182e3e07.d731f2",
+        "type": "set",
+        "name": "Read RRMPolicyMember-id",
+        "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].idx'`\" />",
+        "comments": "",
+        "x": 4405.30534362793,
+        "y": 2260.749915122986,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "c37eaedd.ad4e7",
+        "type": "execute",
+        "name": "generate deleteRRMPolicyMember.ToNRCellCU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4934.7492599487305,
+        "y": 2352.9721145629883,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b41b6ede.e30bc",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4362.5273513793945,
+        "y": 2356.30558013916,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "503f844f.64c01c",
+                "7161c9.ab814e38"
+            ]
+        ]
+    },
+    {
+        "id": "503f844f.64c01c",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4605.86141204834,
+        "y": 2355.5276041030884,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "c37eaedd.ad4e7"
+            ]
+        ]
+    },
+    {
+        "id": "7161c9.ab814e38",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4596.7048263549805,
+        "y": 2407.082998275757,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "88b74872.c635b8"
+            ]
+        ]
+    },
+    {
+        "id": "f6f7cf4d.7b0e",
+        "type": "execute",
+        "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 5063.916389465332,
+        "y": 2398.528039932251,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4767a964.7b9188",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4983.916107177734,
+        "y": 2457.416456222534,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "88b74872.c635b8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4763.6386795043945,
+        "y": 2404.638832092285,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f6f7cf4d.7b0e",
+                "4767a964.7b9188"
+            ]
+        ]
+    },
+    {
+        "id": "57aa1331.9d81bc",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2633.2498207092285,
+        "y": 2413.8058013916016,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e85a3a4.22a94c8",
+        "type": "execute",
+        "name": "Terminate NRCellCU - RRMPolicyRatio",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2728.027618408203,
+        "y": 2455.805618286133,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "dd522b09.1e1be8",
+                "3f291ef9.746d92"
+            ]
+        ]
+    },
+    {
+        "id": "dd522b09.1e1be8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3013.7777214050293,
+        "y": 2501.5555877685547,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "ff459b9.377d368"
+            ]
+        ]
+    },
+    {
+        "id": "ff459b9.377d368",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3217.2777786254883,
+        "y": 2504.055588722229,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "50a7a704.b2d218"
+            ]
+        ]
+    },
+    {
+        "id": "50a7a704.b2d218",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Deleted - cellCU RRMpolicyRatio/RRMPolicyMember\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3444.7775382995605,
+        "y": 2411.3058004379272,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8ace21ab.b1133",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Removing cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3458.0275268554688,
+        "y": 2454.30552482605,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "14c40d9e.470832",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3463.0274047851562,
+        "y": 2549.305585861206,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "57b4f994.258048",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3214.278205871582,
+        "y": 2555.8056201934814,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "14c40d9e.470832",
+                "8ace21ab.b1133",
+                "64e216ec.bfca58"
+            ]
+        ]
+    },
+    {
+        "id": "3f291ef9.746d92",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3009.0277214050293,
+        "y": 2540.8056201934814,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "57b4f994.258048"
+            ]
+        ]
+    },
+    {
+        "id": "b0c9ebb0.f7a748",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4356.965270996094,
+        "y": 2308.631940841675,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1063593f.f773f7",
+        "type": "execute",
+        "name": "prepare sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n    <parameter name=\"target\" value=\"{sNssai}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2408.5277709960938,
+        "y": 1535.8194408416748,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1c636d7a.76bbd3",
+        "type": "execute",
+        "name": "prepare idGNBCUCPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3170.7153930664062,
+        "y": 2349.882001876831,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cfe4eb87.f9ce98",
+        "type": "execute",
+        "name": "prepare idNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3143.21533203125,
+        "y": 2383.1319723129272,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "16d7a78b.89b958",
+        "type": "execute",
+        "name": "prepare RRMPolicyRatio id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3166.653274536133,
+        "y": 2417.6945037841797,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "61fb2172.2e08a",
+        "type": "execute",
+        "name": "prepare RRMPolicyMember id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idx}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3174.15283203125,
+        "y": 2453.4444732666016,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cab5cd7b.682a4",
+        "type": "execute",
+        "name": "remove sNSSAI from context",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2058.5279083251953,
+        "y": 2275.819499015808,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ae40960a.6e1e88",
+        "type": "execute",
+        "name": "prepare updated PLMNInfo list",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2067.9027709960938,
+        "y": 2334.256940841675,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "58a66c79.4d6444",
+        "type": "execute",
+        "name": "read gNBIdLength",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBIdLength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBIdLength'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1151.6527709960938,
+        "y": 1024.8819389343262,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "261c63a2.cfa8fc",
+        "type": "execute",
+        "name": "read NFType",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cucpNFType' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].nFType'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2435.4027709960938,
+        "y": 1280.5069408416748,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4c947865.0ffd58",
+        "type": "execute",
+        "name": "read RRMPolicyMembers List",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellCURRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2096.965560913086,
+        "y": 2516.1320066452026,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d93b6f67.8d487",
+        "type": "execute",
+        "name": "remove sNSSAI from context",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.NRCellCURRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2095.7154083251953,
+        "y": 2567.6945066452026,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "47c5c1a5.8d72c",
+        "type": "execute",
+        "name": "prepare updated RRMPolicyMember list",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellCURRMMembersList\" value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2103.8402709960938,
+        "y": 2620.194440841675,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2d906f67.af8d2",
+        "type": "execute",
+        "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI1' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1905.5279998779297,
+        "y": 2727.639169692993,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5f217c6b.8aad94",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI1`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1760.5279693603516,
+        "y": 2762.639108657837,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "59cd7c57.9edea4",
+        "type": "switchNode",
+        "name": "is NSSAI exists",
+        "xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1779.417007446289,
+        "y": 2798.194589614868,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "2fac8a53.516586"
+            ]
+        ]
+    },
+    {
+        "id": "2fac8a53.516586",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1983.638900756836,
+        "y": 2805.4171237945557,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "99583120.d2f27"
+            ]
+        ]
+    },
+    {
+        "id": "2fca4cb4.2738c4",
+        "type": "execute",
+        "name": "prepare mcc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n   ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1769.6388854980469,
+        "y": 2878.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ce6d719c.49011",
+        "type": "execute",
+        "name": "prepare mnc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1772.1389923095703,
+        "y": 2918.9171237945557,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "94dbe6eb.647a58",
+        "type": "execute",
+        "name": "prepare sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{sNssai}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1779.7778778076172,
+        "y": 2962.069528579712,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "10895895.6f3bd7",
+        "type": "execute",
+        "name": "terminate sNNSAI - CUUP",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfo-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1822.3889617919922,
+        "y": 3017.4166984558105,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "1f89eb4f.56d5b5",
+                "5c354916.643298"
+            ]
+        ]
+    },
+    {
+        "id": "831a8a0f.0dd228",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2526.305374145508,
+        "y": 3726.750623703003,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "3c7beedb.e32b72"
+            ]
+        ]
+    },
+    {
+        "id": "96d6c20a.f3dc3",
+        "type": "set",
+        "name": "Read RRMPolicy Member List Length",
+        "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
+        "comments": "",
+        "x": 2224.638885498047,
+        "y": 3502.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "35604442.22acbc",
+        "type": "for",
+        "name": "for each rrmpolicyMember",
+        "xml": "<for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2205.611068725586,
+        "y": 3545.194525241852,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "6aa3e792.bfbc28"
+            ]
+        ]
+    },
+    {
+        "id": "6aa3e792.bfbc28",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2422.2778701782227,
+        "y": 3541.305669784546,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "75f18c54.ee0f64",
+                "8034aed7.3787",
+                "4b872453.4a096c",
+                "6ee0d9b.b4d7928"
+            ]
+        ]
+    },
+    {
+        "id": "75f18c54.ee0f64",
+        "type": "switchNode",
+        "name": "if length > 0 ",
+        "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength`>0'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2571.4448623657227,
+        "y": 3506.444348335266,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "9acab90b.96f038",
+                "11fff539.623bab"
+            ]
+        ]
+    },
+    {
+        "id": "9acab90b.96f038",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2723.1112785339355,
+        "y": 3481.999746322632,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "7c331d2.e9232e4"
+            ]
+        ]
+    },
+    {
+        "id": "7c331d2.e9232e4",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2889.7777366638184,
+        "y": 3482.0002059936523,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "73ebd9de.505328"
+            ]
+        ]
+    },
+    {
+        "id": "73ebd9de.505328",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2737.555618286133,
+        "y": 3360.888941526413,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "249284a2.501abc",
+                "abc12033.dc74a"
+            ]
+        ]
+    },
+    {
+        "id": "249284a2.501abc",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2980.889358520508,
+        "y": 3376.7776203155518,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "a2511f33.47ad6"
+            ]
+        ]
+    },
+    {
+        "id": "abc12033.dc74a",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2971.73286819458,
+        "y": 3417.2219038009644,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "e4eac5db.1111a8"
+            ]
+        ]
+    },
+    {
+        "id": "a2511f33.47ad6",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3162.2777786254883,
+        "y": 3378.1112203598022,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f99d837e.53586"
+            ]
+        ]
+    },
+    {
+        "id": "e4eac5db.1111a8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3153.3888549804688,
+        "y": 3420.333258628845,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "71a434da.3555bc",
+                "fc619ae8.b470f8"
+            ]
+        ]
+    },
+    {
+        "id": "f99d837e.53586",
+        "type": "execute",
+        "name": "delete RRMPolicyRatio CUUP- URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3447.555488586426,
+        "y": 3375.3334980010986,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "71a434da.3555bc",
+        "type": "execute",
+        "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3458.666748046875,
+        "y": 3418.66685962677,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fc619ae8.b470f8",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3383.110969543457,
+        "y": 3454.2223415374756,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "11fff539.623bab",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2726.7223205566406,
+        "y": 3535.3333797454834,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "89395cb.12860a"
+            ]
+        ]
+    },
+    {
+        "id": "89395cb.12860a",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2912.389404296875,
+        "y": 3523.6666984558105,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "2bdede66.398562",
+                "d94a3ff4.3581a"
+            ]
+        ]
+    },
+    {
+        "id": "2bdede66.398562",
+        "type": "set",
+        "name": "Read RRMPolicyMember-sNSSAI",
+        "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`\" />",
+        "comments": "",
+        "x": 3204.7783737182617,
+        "y": 3487.556011199951,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "d94a3ff4.3581a",
+        "type": "switchNode",
+        "name": "find matching RRMPolicyMember",
+        "xml": "<switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3203.6668090820312,
+        "y": 3527.5555057525635,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "3fdd739b.53f96c"
+            ]
+        ]
+    },
+    {
+        "id": "3fdd739b.53f96c",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3434.5001525878906,
+        "y": 3531.9998836517334,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "54981564.c9bc7c"
+            ]
+        ]
+    },
+    {
+        "id": "54981564.c9bc7c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3658.1109924316406,
+        "y": 3528.6666316986084,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "2547429c.dedc5e",
+                "b70b28af.06b758",
+                "c512fb69.d615e8"
+            ]
+        ]
+    },
+    {
+        "id": "2547429c.dedc5e",
+        "type": "set",
+        "name": "Read RRMPolicyMember-id",
+        "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].idx'`\" />",
+        "comments": "",
+        "x": 3923.7777252197266,
+        "y": 3496.4445180892944,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "c512fb69.d615e8",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3875.4376525878906,
+        "y": 3544.3265438079834,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b70b28af.06b758",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3880.9997329711914,
+        "y": 3592.0001831054688,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "d2220340.a5b14",
+                "5cfd8274.4c38ec"
+            ]
+        ]
+    },
+    {
+        "id": "d2220340.a5b14",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4124.333793640137,
+        "y": 3591.222207069397,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "a1b0d65f.3c6f48"
+            ]
+        ]
+    },
+    {
+        "id": "5cfd8274.4c38ec",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4115.177207946777,
+        "y": 3642.7776012420654,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "2cf453a4.45fdac"
+            ]
+        ]
+    },
+    {
+        "id": "a1b0d65f.3c6f48",
+        "type": "execute",
+        "name": "generate deleteRRMPolicyMember.CUUP URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToCUUP`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4453.221641540527,
+        "y": 3588.666717529297,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2cf453a4.45fdac",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4282.111061096191,
+        "y": 3640.3334350585938,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "996750a.9bd63b",
+                "e2f9738f.5395b"
+            ]
+        ]
+    },
+    {
+        "id": "996750a.9bd63b",
+        "type": "execute",
+        "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.CUUP.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4582.388771057129,
+        "y": 3634.2226428985596,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e2f9738f.5395b",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4502.388488769531,
+        "y": 3693.111059188843,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8034aed7.3787",
+        "type": "execute",
+        "name": "prepare idGNBCUUPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2670.8888778686523,
+        "y": 3583.6667671203613,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4b872453.4a096c",
+        "type": "execute",
+        "name": "prepare RRMPolicyRatio id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2667.8268661499023,
+        "y": 3623.479389190674,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6ee0d9b.b4d7928",
+        "type": "execute",
+        "name": "prepare RRMPolicyMember id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idx}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2676.3264694213867,
+        "y": 3667.229389190674,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c436bb12.fb3218",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2177.42329788208,
+        "y": 3615.590717315674,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "680e2356.45dadc",
+        "type": "execute",
+        "name": "Terminate NRCellCU - RRMPolicyRatio",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-CUUP.ur`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2263.2012519836426,
+        "y": 3669.590229034424,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "831a8a0f.0dd228",
+                "2b3faeb4.a48ed2"
+            ]
+        ]
+    },
+    {
+        "id": "e0ad1a99.4afc98",
+        "type": "set",
+        "name": "RRMPolicyRatio id",
+        "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />",
+        "comments": "",
+        "x": 2182.138885498047,
+        "y": 3457.6666622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "7d8bd7ea.d3c8b8",
+        "type": "execute",
+        "name": "remove sNSSAI from context",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUUPList['+$id-cuup+'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2042.1388854980469,
+        "y": 3815.4166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bc9e3843.b4d938",
+        "type": "execute",
+        "name": "prepare updated PLMNInfo list",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList-CUUP\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $id-cuup +'].pLMNInfoList'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2051.5137481689453,
+        "y": 3873.854104042053,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a2f2dac8.2bb8b8",
+        "type": "execute",
+        "name": "read RRMPolicyMembers List",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2041.638931274414,
+        "y": 4053.6668968200684,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a0d3e29.b99a22",
+        "type": "execute",
+        "name": "remove sNSSAI from context",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.CUUPRRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2040.388931274414,
+        "y": 4099.229335784912,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7545b5bb.fec49c",
+        "type": "execute",
+        "name": "prepare updated RRMPolicyMember list",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellCURRMMembersList\" value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2074.5137481689453,
+        "y": 4150.729274749756,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2bf11eaa.4763e2",
+        "type": "execute",
+        "name": "read PLMNList size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2179.8266372680664,
+        "y": 4437.291784286499,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "172ed894.1d8ac7",
+        "type": "for",
+        "name": "foreach PLMNInfo",
+        "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2158.160011291504,
+        "y": 4507.291784286499,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "b8f3e108.9f7ed"
+            ]
+        ]
+    },
+    {
+        "id": "b8f3e108.9f7ed",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2343.548797607422,
+        "y": 4501.3194942474365,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "ae6bd32.040153",
+                "3750602f.1207f",
+                "2a92610b.738c3e"
+            ]
+        ]
+    },
+    {
+        "id": "2a92610b.738c3e",
+        "type": "execute",
+        "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2709.6878051757812,
+        "y": 4386.541969299316,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ae6bd32.040153",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2579.4378051757812,
+        "y": 4454.541847229004,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3750602f.1207f",
+        "type": "switchNode",
+        "name": "is NSSAI exists",
+        "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2574.5767211914062,
+        "y": 4527.8475131988525,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "f7a5a594.2f2708"
+            ]
+        ]
+    },
+    {
+        "id": "f7a5a594.2f2708",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2744.048858642578,
+        "y": 4554.319683074951,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "4b99aec5.45498"
+            ]
+        ]
+    },
+    {
+        "id": "f5f4e46a.0c8e38",
+        "type": "execute",
+        "name": "prepare sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{sNssai}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3203.576385498047,
+        "y": 4976.9791622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ab6c8152.d016f",
+        "type": "set",
+        "name": "Read RRMPolicy Member List Length",
+        "xml": "<set>\n<parameter name='tmp.DURRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
+        "comments": "",
+        "x": 3813.888885498047,
+        "y": 5635.1041622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "a3778dfc.3c17b",
+        "type": "for",
+        "name": "for each rrmpolicyMember",
+        "xml": "<for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3794.861068725586,
+        "y": 5677.882025241852,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "1c11.362913efca"
+            ]
+        ]
+    },
+    {
+        "id": "1c11.362913efca",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4011.5278701782227,
+        "y": 5673.993169784546,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "d788c4ea.2680a8",
+                "d9589d3.9d1046",
+                "90cbedb9.56af4",
+                "a2f1007f.bb643",
+                "81d17f68.5545a"
+            ]
+        ]
+    },
+    {
+        "id": "d788c4ea.2680a8",
+        "type": "switchNode",
+        "name": "if length > 0 ",
+        "xml": "<switch test='`$tmp.DURRMPolicyMembersLength`>0'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4169.445022583008,
+        "y": 5656.632030487061,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "1c239ad.9353065",
+                "eadfadc4.ac4f5"
+            ]
+        ]
+    },
+    {
+        "id": "1c239ad.9353065",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4312.361278533936,
+        "y": 5614.687246322632,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "7837475d.836b28"
+            ]
+        ]
+    },
+    {
+        "id": "7837475d.836b28",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4479.027736663818,
+        "y": 5614.687705993652,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "5230b458.39bbcc"
+            ]
+        ]
+    },
+    {
+        "id": "5230b458.39bbcc",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4326.805618286133,
+        "y": 5493.576441526413,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "5f6410eb.6889d",
+                "41dae099.daaa5"
+            ]
+        ]
+    },
+    {
+        "id": "5f6410eb.6889d",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4570.139358520508,
+        "y": 5509.465120315552,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "2487d875.4dc6b8"
+            ]
+        ]
+    },
+    {
+        "id": "41dae099.daaa5",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4560.98286819458,
+        "y": 5549.909403800964,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "7c49ff75.eeeb6"
+            ]
+        ]
+    },
+    {
+        "id": "2487d875.4dc6b8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4751.527778625488,
+        "y": 5510.798720359802,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "76804628.441888"
+            ]
+        ]
+    },
+    {
+        "id": "76804628.441888",
+        "type": "execute",
+        "name": "delete RRMPolicyRatio DU- URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5036.805488586426,
+        "y": 5508.020998001099,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b221c7c0.9abf48",
+        "type": "execute",
+        "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 5047.916748046875,
+        "y": 5551.35435962677,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "74ddc161.83683",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4972.360969543457,
+        "y": 5586.909841537476,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7c49ff75.eeeb6",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4742.638854980469,
+        "y": 5553.020758628845,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "b221c7c0.9abf48",
+                "74ddc161.83683"
+            ]
+        ]
+    },
+    {
+        "id": "eadfadc4.ac4f5",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4316.076385498047,
+        "y": 5686.3541622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "3b76515c.851ade"
+            ]
+        ]
+    },
+    {
+        "id": "3b76515c.851ade",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4501.743469238281,
+        "y": 5674.687480926514,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "c172d021.f515f",
+                "a91c78a6.87ed58"
+            ]
+        ]
+    },
+    {
+        "id": "c172d021.f515f",
+        "type": "set",
+        "name": "Read RRMPolicyMember-sNSSA",
+        "xml": "<set>\n<parameter name='tmp.cellDURRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`\" />",
+        "comments": "",
+        "x": 4795.382843017578,
+        "y": 5633.577220916748,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "a91c78a6.87ed58",
+        "type": "switchNode",
+        "name": "find matching RRMPolicyMember",
+        "xml": "<switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4793.0208740234375,
+        "y": 5678.576288223267,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "bbd935a7.b37938"
+            ]
+        ]
+    },
+    {
+        "id": "bbd935a7.b37938",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5023.854217529297,
+        "y": 5683.0206661224365,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "26b29c69.c8fda4"
+            ]
+        ]
+    },
+    {
+        "id": "26b29c69.c8fda4",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 5247.465057373047,
+        "y": 5679.6874141693115,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "15f75912.238567",
+                "f030a787.47d218",
+                "265be62b.1619fa"
+            ]
+        ]
+    },
+    {
+        "id": "15f75912.238567",
+        "type": "set",
+        "name": "Read RRMPolicyMember-id",
+        "xml": "<set>\n<parameter name='tmp.CellDURRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].idx'`\" />",
+        "comments": "",
+        "x": 5513.131790161133,
+        "y": 5647.465300559998,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
+    },
+    {
+        "id": "265be62b.1619fa",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CellDURRMPolicyMember_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5464.791717529297,
+        "y": 5695.3473262786865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f030a787.47d218",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5470.353797912598,
+        "y": 5743.020965576172,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "a4376ce5.14551",
+                "b578a560.c8ff98"
+            ]
+        ]
+    },
+    {
+        "id": "a4376ce5.14551",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5713.687858581543,
+        "y": 5742.2429895401,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "e46c3cff.35fe7"
+            ]
+        ]
+    },
+    {
+        "id": "b578a560.c8ff98",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5704.531272888184,
+        "y": 5793.798383712769,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "3399b4c5.e6721c"
+            ]
+        ]
+    },
+    {
+        "id": "e46c3cff.35fe7",
+        "type": "execute",
+        "name": "generate deleteRRMPolicyMember.ToNRCellDU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 6042.575706481934,
+        "y": 5739.6875,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3399b4c5.e6721c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 5871.465126037598,
+        "y": 5791.354217529297,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "a5ed56e4.8b7cf8",
+                "412dffaf.717f3"
+            ]
+        ]
+    },
+    {
+        "id": "a5ed56e4.8b7cf8",
+        "type": "execute",
+        "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 6171.742835998535,
+        "y": 5785.243425369263,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "412dffaf.717f3",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 6091.7425537109375,
+        "y": 5844.131841659546,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d9589d3.9d1046",
+        "type": "execute",
+        "name": "prepare idGNBDUFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4345.139030456543,
+        "y": 5728.8549284935,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "90cbedb9.56af4",
+        "type": "execute",
+        "name": "prepare idNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4317.638969421387,
+        "y": 5762.104898929596,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a2f1007f.bb643",
+        "type": "execute",
+        "name": "prepare RRMPolicyRatio id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n    <parameter name=\"target\" value=\"{id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4341.0769119262695,
+        "y": 5796.667430400848,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "81d17f68.5545a",
+        "type": "execute",
+        "name": "prepare RRMPolicyMember id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n    <parameter name=\"target\" value=\"{idx}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyMember_sNSSAI`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4348.576469421387,
+        "y": 5832.41739988327,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1dbf0a7e.210a96",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3711.424075126648,
+        "y": 5825.279491424561,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5daf7f84.24d9d",
+        "type": "execute",
+        "name": "Terminate NRCellDU - RRMPolicyRatio",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3783.701416015625,
+        "y": 5898.529005050659,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            [
+                "e7e90fb8.db687",
+                "a22a04f6.640d18"
+            ]
+        ]
+    },
+    {
+        "id": "490de212.f261fc",
+        "type": "execute",
+        "name": "remove sNSSAI from context",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3363.576385498047,
+        "y": 5933.8541622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2798ec67.4d5e74",
+        "type": "execute",
+        "name": "prepare updated PLMNInfo list",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.ceLLDUpLMNInfoList\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3372.9512481689453,
+        "y": 5992.291604042053,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f64e2531.bfe9d8",
+        "type": "execute",
+        "name": "read RRMPolicyMembers List",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellDURRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3363.576385498047,
+        "y": 6136.3541622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bb5ea2d5.54a8",
+        "type": "execute",
+        "name": "remove sNSSAI from context",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.NRCellDURRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3362.3262329101562,
+        "y": 6187.9166622161865,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2c3ebac3.2ff846",
+        "type": "execute",
+        "name": "prepare updated RRMPolicyMember list",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellDURRMMembersList\" value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3370.4510955810547,
+        "y": 6240.416596412659,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a0ff73b.d53929",
+        "type": "execute",
+        "name": "prepare updated PLMNInfo list",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList-RIC\" value=\"`'$getNearRTRICById-configdb-response.pLMNInfoList'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1199.826416015625,
+        "y": 1118.8541870117188,
+        "z": "5d875c6b.4b4c54",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fa5127b8.c6a188",
+        "type": "returnSuccess",
+        "name": "return success",
+        "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
+        "comments": "",
+        "x": 353.4722194671631,
+        "y": 1762.5000267028809,
+        "z": "5d875c6b.4b4c54",
+        "wires": []
     }
 ]
\ No newline at end of file