TerminateRANSliceInstance - CPS Integration
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_terminateRANSliceInstance-configDb.json
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-configDb.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-configDb.json
new file mode 100644 (file)
index 0000000..7b515c4
--- /dev/null
@@ -0,0 +1,8932 @@
+[
+    {
+        "id": "2e018cae.b35a74",
+        "type": "dgstart",
+        "name": "DGSTART",
+        "outputs": 1,
+        "x": 131,
+        "y": 78,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "fdc5afb4.7b9b1"
+            ]
+        ]
+    },
+    {
+        "id": "fdc5afb4.7b9b1",
+        "type": "service-logic",
+        "name": "ran-slice-api ${project.version}",
+        "module": "ran-slice-api",
+        "version": "${project.version}",
+        "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": 186.0000228881836,
+        "y": 164.99996852874756,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "e18d9064.b227b"
+            ]
+        ]
+    },
+    {
+        "id": "e18d9064.b227b",
+        "type": "method",
+        "name": "method",
+        "xml": "<method rpc='terminateRANSliceInstance-configDb' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 120,
+        "y": 224.99993419647217,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f289a27.b22f36"
+            ]
+        ]
+    },
+    {
+        "id": "f289a27.b22f36",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 125.99999237060547,
+        "y": 319.7499647140503,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4941bd5.5e39644",
+                "c6862120.d9296",
+                "c6816aa0.2a2318",
+                "98773d2d.d6f83"
+            ]
+        ]
+    },
+    {
+        "id": "4941bd5.5e39644",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 339.99999618530273,
+        "y": 342.99999713897705,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8e03c10b.f0868",
+                "5b1b29a3.be50f8",
+                "9327988c.eb0dd8",
+                "29e00485.3212dc",
+                "86c6b7a3.dd4128",
+                "60eceda0.332524",
+                "e105720e.7db1",
+                "b9c07470.9995d8",
+                "52f3d815.1af068",
+                "36cd41bc.c6635e",
+                "70f7dd72.4d7324",
+                "83702985.d50d18",
+                "8f7a86fa.6a9d48",
+                "725d2a35.1ec024",
+                "10226f17.8ebf61",
+                "6762ecfb.cef0a4"
+            ]
+        ]
+    },
+    {
+        "id": "8e03c10b.f0868",
+        "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": "",
+        "outputs": 1,
+        "x": 724.25,
+        "y": 486.2500071525574,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5b1b29a3.be50f8",
+        "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/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": 664.2500152587891,
+        "y": 537.2500262260437,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9327988c.eb0dd8",
+        "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": "",
+        "outputs": 1,
+        "x": 654.2500915527344,
+        "y": 589.2500567436218,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "27f58fe0.6ac",
+                "f7b3a7e6.7563e8"
+            ]
+        ]
+    },
+    {
+        "id": "27f58fe0.6ac",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 953.0680961608887,
+        "y": 607.0680804252625,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8c3bf072.473e9"
+            ]
+        ]
+    },
+    {
+        "id": "8c3bf072.473e9",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1123.0679931640625,
+        "y": 608.0681958198547,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "16e7a97b.3c1e77",
+                "12628712.6ac459"
+            ]
+        ]
+    },
+    {
+        "id": "16e7a97b.3c1e77",
+        "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=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1352.0677604675293,
+        "y": 508.0681757926941,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "12628712.6ac459",
+        "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": 1356.8459777832031,
+        "y": 548.0681977272034,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f7b3a7e6.7563e8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 959.0680503845215,
+        "y": 547.0681643486023,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "9d25f6f2.4c23a8"
+            ]
+        ]
+    },
+    {
+        "id": "9d25f6f2.4c23a8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1239.0681266784668,
+        "y": 453.0682182312012,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "cbec2b43.28b248",
+                "8f46169a.4ebf98"
+            ]
+        ]
+    },
+    {
+        "id": "cbec2b43.28b248",
+        "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": 1417.06791305542,
+        "y": 407.1792449951172,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "c6862120.d9296",
+        "type": "for",
+        "name": "foreach NearRTRIC",
+        "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 321.25,
+        "y": 930.0681796073914,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "cbd8298d.9872a8",
+                "3b3de46a.c91f9c",
+                "c855e8de.7d9518",
+                "71e9f766.6e75d8"
+            ]
+        ]
+    },
+    {
+        "id": "cbd8298d.9872a8",
+        "type": "block",
+        "name": "Process NearRTRIC",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 641.6035614013672,
+        "y": 1068.643973827362,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "dbc6b5ad.55b078",
+                "6058f66e.9e2f28",
+                "e3ee986a.003218",
+                "bfd5daae.fcaf68",
+                "4705045c.022f3c",
+                "39afb101.1f51ee",
+                "69f78430.48a3fc",
+                "9dd16454.4c7f18"
+            ]
+        ]
+    },
+    {
+        "id": "dbc6b5ad.55b078",
+        "type": "execute",
+        "name": "read nearRTRICId-PLMN",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RICPLMNEntries' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList_length'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 921.7955627441406,
+        "y": 1066.4773683547974,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a0da22.7bfb95e",
+        "type": "execute",
+        "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'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1768.7960052490234,
+        "y": 818.9775466918945,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "588f2308.79b34c",
+        "type": "execute",
+        "name": "Update nearRT RIC Details in ConfigDB",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.configdb.getNearRTRICNSSAIRemoval.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\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": 1694.5129089355469,
+        "y": 1001.4824094772339,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "9703d79e.c10198",
+                "a1da21f8.8c4fb"
+            ]
+        ]
+    },
+    {
+        "id": "9703d79e.c10198",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1750.0682220458984,
+        "y": 954.52272605896,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8bcdd488.f6c208"
+            ]
+        ]
+    },
+    {
+        "id": "8bcdd488.f6c208",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1886.0682830810547,
+        "y": 916.5226955413818,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "60297dac.a0ff74",
+                "3de46643.16f1ba"
+            ]
+        ]
+    },
+    {
+        "id": "3de46643.16f1ba",
+        "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": 2035.0679740905762,
+        "y": 879.6336736679077,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "60297dac.a0ff74",
+        "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": 2049.0679779052734,
+        "y": 954.5227422714233,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "a1da21f8.8c4fb",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1730.8863067626953,
+        "y": 1068.4317893981934,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "6eb3995f.129818"
+            ]
+        ]
+    },
+    {
+        "id": "6eb3995f.129818",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1880.886215209961,
+        "y": 1083.431926727295,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "7a211f6b.175fa"
+            ]
+        ]
+    },
+    {
+        "id": "7a211f6b.175fa",
+        "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 NearRT RIC info in ConfigDB\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2027.8861541748047,
+        "y": 1111.4320030212402,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "741ed2c1.a49e6c",
+        "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": 995.25,
+        "y": 1293.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3b3de46a.c91f9c",
+        "type": "block",
+        "name": "Process CUCP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 622.2500228881836,
+        "y": 1206.2500567436218,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "741ed2c1.a49e6c",
+                "281a50cf.4a69a",
+                "a86e5776.eb6638"
+            ]
+        ]
+    },
+    {
+        "id": "281a50cf.4a69a",
+        "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.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 967.25,
+        "y": 1358.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a86e5776.eb6638",
+        "type": "for",
+        "name": "foreach CUCP",
+        "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 995.25,
+        "y": 1433.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "e0d94cc1.793d8"
+            ]
+        ]
+    },
+    {
+        "id": "e0d94cc1.793d8",
+        "type": "block",
+        "name": "block : process CUCP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1216.25,
+        "y": 1440.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "73c2c277.78387c",
+                "96f9a00c.2dd4b",
+                "6bd26475.319b6c",
+                "940a43d5.75216"
+            ]
+        ]
+    },
+    {
+        "id": "73c2c277.78387c",
+        "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": 1524.2500762939453,
+        "y": 1280.8499941825867,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "96f9a00c.2dd4b",
+        "type": "for",
+        "name": "for cellCUList",
+        "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1571.25,
+        "y": 1437.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "cd4aad2b.8b949"
+            ]
+        ]
+    },
+    {
+        "id": "63dacf0e.5fe4c",
+        "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": 2283.750274658203,
+        "y": 1046.0000162124634,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5ffc5756.5e8958",
+        "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": "",
+        "outputs": 1,
+        "x": 2283.50008392334,
+        "y": 1286.500020980835,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "76324694.b34f48",
+        "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": 2238.2500762939453,
+        "y": 1430.2499732971191,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "be520a6.e0d9bf8",
+                "1aa9a5a.6a2f25a"
+            ]
+        ]
+    },
+    {
+        "id": "b737813e.3bd08",
+        "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/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": 2287.25008392334,
+        "y": 1378.749972820282,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ee24d25e.54c5e",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2085.25,
+        "y": 1044.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "63dacf0e.5fe4c",
+                "5ffc5756.5e8958",
+                "b737813e.3bd08",
+                "76324694.b34f48",
+                "c5a4151a.bc5a18",
+                "44c0777f.0a1f48",
+                "155c8d29.5c0343",
+                "7f7ae901.c5e7e8",
+                "74893626.9121f8",
+                "bfb88471.c7e148",
+                "c9597d62.890ed",
+                "8ab466e2.c019c8",
+                "674b7fe9.46fa7",
+                "28c4cba1.abbf94",
+                "e2bf4b5a.7ef268"
+            ]
+        ]
+    },
+    {
+        "id": "be520a6.e0d9bf8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2483.2499389648438,
+        "y": 1452.250069618225,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "c7c00844.3b50a8"
+            ]
+        ]
+    },
+    {
+        "id": "c7c00844.3b50a8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2666.2499389648438,
+        "y": 1445.2500705718994,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "eadf684e.096da8"
+            ]
+        ]
+    },
+    {
+        "id": "eadf684e.096da8",
+        "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 Patched - cellCU PLMNInfo List\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2919.2499465942383,
+        "y": 1442.2503623962402,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1aa9a5a.6a2f25a",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2465.25008392334,
+        "y": 1400.2499713897705,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "6a4ab503.141a9c"
+            ]
+        ]
+    },
+    {
+        "id": "6a4ab503.141a9c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2608.2501373291016,
+        "y": 1361.2500686645508,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "76a7be3b.18a15",
+                "3e437046.1ea6b",
+                "8f46169a.4ebf98"
+            ]
+        ]
+    },
+    {
+        "id": "76a7be3b.18a15",
+        "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": 2868.2499389648438,
+        "y": 1381.2501678466797,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "3e437046.1ea6b",
+        "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": 2792.249942779541,
+        "y": 1343.2500686645508,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "c5a4151a.bc5a18",
+        "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": 2350.25008392334,
+        "y": 1149.2501153945923,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "44c0777f.0a1f48",
+        "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": 2324.25008392334,
+        "y": 1199.000018119812,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "155c8d29.5c0343",
+        "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": 2292.0000801086426,
+        "y": 1242.0000190734863,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6bd26475.319b6c",
+        "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=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1574.2500457763672,
+        "y": 1335.2499713897705,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "940a43d5.75216",
+        "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": 1581.25,
+        "y": 1393.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7f7ae901.c5e7e8",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2374.2503547668457,
+        "y": 991.2500201761723,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "e3f1fa11.1e58c8",
+                "4ba63d09.a8f4f4"
+            ]
+        ]
+    },
+    {
+        "id": "e3f1fa11.1e58c8",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2609.2503547668457,
+        "y": 993.2498256266117,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "2c2ded62.213222"
+            ]
+        ]
+    },
+    {
+        "id": "2c2ded62.213222",
+        "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": 2931.250270843506,
+        "y": 1077.2500082552433,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4ba63d09.a8f4f4",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2621.2503547668457,
+        "y": 1062.2500216066837,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "d5546fdc.4cbb1"
+            ]
+        ]
+    },
+    {
+        "id": "74893626.9121f8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1863.25,
+        "y": 1858.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "86d04374.77df6",
+                "d7a4904c.23939",
+                "d1b9c5f8.003388",
+                "1d5ceb40.ba7135",
+                "b7555125.6d5b6",
+                "e5553137.c1896",
+                "88ba782b.d80da8",
+                "f3c99a06.662a38",
+                "c35eabd3.6ba9a8"
+            ]
+        ]
+    },
+    {
+        "id": "86d04374.77df6",
+        "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": 2045.25,
+        "y": 1641.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "d7a4904c.23939",
+        "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_SliceProfile`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2044.25,
+        "y": 1702.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d1b9c5f8.003388",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2085.25,
+        "y": 1764.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ba2cbde0.41323",
+                "a7822539.bf4d08"
+            ]
+        ]
+    },
+    {
+        "id": "ba2cbde0.41323",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2263.25,
+        "y": 1731.249759197235,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "389bf0a6.e4dee"
+            ]
+        ]
+    },
+    {
+        "id": "389bf0a6.e4dee",
+        "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": 2541.25,
+        "y": 1723.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1d5ceb40.ba7135",
+        "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": 2120.25,
+        "y": 1836.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b7555125.6d5b6",
+        "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": 2085.25,
+        "y": 1888.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fe5376a8.b6dfb8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2371.25,
+        "y": 2015.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "7a3b6067.008b4"
+            ]
+        ]
+    },
+    {
+        "id": "7a3b6067.008b4",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2535.2498779296875,
+        "y": 2016.2501254081726,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1b5cfb3f.4e02b5",
+                "785f6397.3df3ec"
+            ]
+        ]
+    },
+    {
+        "id": "1b5cfb3f.4e02b5",
+        "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": 2685.2498779296875,
+        "y": 2011.250247478485,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c09d8344.33b3d",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2367.25,
+        "y": 1936.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "250289fe.623616"
+            ]
+        ]
+    },
+    {
+        "id": "250289fe.623616",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2525.250244140625,
+        "y": 1884.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "28d7439b.67a07c",
+                "565122b7.b38b3c",
+                "8f46169a.4ebf98"
+            ]
+        ]
+    },
+    {
+        "id": "28d7439b.67a07c",
+        "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": 2696.2498779296875,
+        "y": 1945.2500643730164,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "565122b7.b38b3c",
+        "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": 2691.25,
+        "y": 1850.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "e5553137.c1896",
+        "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": 2120.25,
+        "y": 1963.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "c09d8344.33b3d",
+                "fe5376a8.b6dfb8"
+            ]
+        ]
+    },
+    {
+        "id": "785f6397.3df3ec",
+        "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": 2708.2499656677246,
+        "y": 2048.249942302704,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "88ba782b.d80da8",
+        "type": "for",
+        "name": "for each rrmpolicyratio",
+        "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2055.25,
+        "y": 2121.250232219696,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f6a9db1b.bd5f88"
+            ]
+        ]
+    },
+    {
+        "id": "f3c99a06.662a38",
+        "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": 2099.25,
+        "y": 2017.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f6a9db1b.bd5f88",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2276.25,
+        "y": 2141.250232219696,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "dc60e1b2.24e36",
+                "c1c0f0c3.6cb7c",
+                "26e1eeb8.ead262",
+                "453b3bec.ed3c24",
+                "598a18b4.512898",
+                "8125e8cb.8661d8",
+                "e9307863.569858",
+                "6321d537.1c1adc",
+                "7dd69cb4.70b534",
+                "5963b2e3.24363c",
+                "558bf697.a3d4e8",
+                "b3960d7f.4908c"
+            ]
+        ]
+    },
+    {
+        "id": "dc60e1b2.24e36",
+        "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": 2497.2498664855957,
+        "y": 2058.250138759613,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "c35eabd3.6ba9a8",
+        "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": 2039.25,
+        "y": 2071.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9bb84509.704938",
+        "type": "for",
+        "name": "foreach PLMNInfo",
+        "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2560.3611221313477,
+        "y": 573.472261428833,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1966dcbb.653793"
+            ]
+        ]
+    },
+    {
+        "id": "cd4aad2b.8b949",
+        "type": "block",
+        "name": "block",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1787.2499771118164,
+        "y": 1313.2499742507935,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "2f2d1a47.203916",
+                "f2db2f86.725a9",
+                "bd730031.beff3"
+            ]
+        ]
+    },
+    {
+        "id": "8d1d63b8.52245",
+        "type": "switchNode",
+        "name": "is NSSAI exists",
+        "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2796.0274810791016,
+        "y": 831.0277628898621,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "a666895.58a5978"
+            ]
+        ]
+    },
+    {
+        "id": "a666895.58a5978",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2458.25,
+        "y": 948.2500033378601,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ee24d25e.54c5e"
+            ]
+        ]
+    },
+    {
+        "id": "bfb88471.c7e148",
+        "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 for cucp plmninfo \"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2248.2500801086426,
+        "y": 930.2500143051147,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3cf3a513.1d32ba",
+        "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": 2835.1388092041016,
+        "y": 766.4722437858582,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "71e6f9e5.e94b58",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2644.2501373291016,
+        "y": 740.2500758171082,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3cf3a513.1d32ba",
+                "8d1d63b8.52245",
+                "d691b737.3308e8"
+            ]
+        ]
+    },
+    {
+        "id": "d691b737.3308e8",
+        "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['+ $id-cusnssai +'].sNSSAI'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3015.1386108398438,
+        "y": 690.472291469574,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c855e8de.7d9518",
+        "type": "block",
+        "name": "Process CUUP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 576.25,
+        "y": 1503.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8bcabb2a.920c68",
+                "d76c3d2a.0f322",
+                "43c0923f.88b41c"
+            ]
+        ]
+    },
+    {
+        "id": "8bcabb2a.920c68",
+        "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": 907.25,
+        "y": 1513.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d76c3d2a.0f322",
+        "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": 879.25,
+        "y": 1578.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "43c0923f.88b41c",
+        "type": "for",
+        "name": "foreach CUUP",
+        "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 907.25,
+        "y": 1653.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "9f3e5617.862828"
+            ]
+        ]
+    },
+    {
+        "id": "9f3e5617.862828",
+        "type": "block",
+        "name": "block : process CUUP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 772.250129699707,
+        "y": 2013.2502059936523,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "25d875f3.27e68a",
+                "2cbabb2d.8cd0a4",
+                "6509e1f.5e5852",
+                "c6a1a3d8.d0859",
+                "bd2c41d8.5af7f",
+                "28791fbb.46c25",
+                "958427ee.1068f8",
+                "90b3aa5b.0ce5f8",
+                "ab7f6ff.f21ff9",
+                "942881ef.bc1db",
+                "35fa46a4.53dfea",
+                "595a98b5.81e1d8",
+                "730e9c3f.e9da34"
+            ]
+        ]
+    },
+    {
+        "id": "25d875f3.27e68a",
+        "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": 1189.2500457763672,
+        "y": 2066.250024795532,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2cbabb2d.8cd0a4",
+        "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": 1173.2501411437988,
+        "y": 2116.2500743865967,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6509e1f.5e5852",
+        "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": 1169.2500457763672,
+        "y": 2170.2500762939453,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c6a1a3d8.d0859",
+        "type": "for",
+        "name": "foreach pLMNInfo",
+        "xml": "<for index='id-plmn' start='0' end='1'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1013.2499923706055,
+        "y": 2305.250228881836,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "36280dee.7c78b2"
+            ]
+        ]
+    },
+    {
+        "id": "36280dee.7c78b2",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1135.2499923706055,
+        "y": 2377.2502315044403,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "9a96a4b2.4746f8",
+                "ea26dc5f.4fcf4",
+                "e44d33a9.14a2b"
+            ]
+        ]
+    },
+    {
+        "id": "66a70b2c.f71394",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2263.250270843506,
+        "y": 2885.250334739685,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "cebfa53c.925798"
+            ]
+        ]
+    },
+    {
+        "id": "cebfa53c.925798",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2420.250274658203,
+        "y": 2878.2501397132874,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "25911507.0dd0aa",
+                "68375380.f71bfc",
+                "8f46169a.4ebf98"
+            ]
+        ]
+    },
+    {
+        "id": "68375380.f71bfc",
+        "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": 2665.2502822875977,
+        "y": 2879.25053024292,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "25911507.0dd0aa",
+        "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": 2653.2502822875977,
+        "y": 2914.2505311965942,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "1123ccb9.fa35f3",
+        "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": 2643.25008392334,
+        "y": 2962.2503356933594,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4cbd1ef0.d2fd",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2487.2500762939453,
+        "y": 2955.250141143799,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1123ccb9.fa35f3"
+            ]
+        ]
+    },
+    {
+        "id": "ab1ecbed.555028",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2327.2500762939453,
+        "y": 2955.2503356933594,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4cbd1ef0.d2fd"
+            ]
+        ]
+    },
+    {
+        "id": "de312c73.46e3f",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2009.2500267028809,
+        "y": 2676.2503805160522,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "137e4acd.8fb195",
+                "47385315.a76dbc"
+            ]
+        ]
+    },
+    {
+        "id": "137e4acd.8fb195",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2329.250129699707,
+        "y": 2726.250137835741,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "be6107d4.900768"
+            ]
+        ]
+    },
+    {
+        "id": "47385315.a76dbc",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2362.250015258789,
+        "y": 2825.250346660614,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "244e108b.98cbb"
+            ]
+        ]
+    },
+    {
+        "id": "be6107d4.900768",
+        "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": 2694.250015258789,
+        "y": 2738.250346660614,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4b2fff65.a27e4",
+        "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": 2025.2499694824219,
+        "y": 2780.250138282776,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "28791fbb.46c25",
+        "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": 1385.2501373291016,
+        "y": 3155.250389099121,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "958427ee.1068f8",
+        "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": 1343.2501411437988,
+        "y": 3220.250389099121,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "90b3aa5b.0ce5f8",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1409.2500457763672,
+        "y": 3266.2501945495605,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1cfec234.759bae",
+                "bdc105e6.3e86f8"
+            ]
+        ]
+    },
+    {
+        "id": "1cfec234.759bae",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1718.2499771118164,
+        "y": 3222.2497539520264,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "693765cb.8b5f9c"
+            ]
+        ]
+    },
+    {
+        "id": "693765cb.8b5f9c",
+        "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": 1977.2497863769531,
+        "y": 3224.249948978424,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ab7f6ff.f21ff9",
+        "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": 1456.2501430511475,
+        "y": 3315.2503910064697,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "942881ef.bc1db",
+        "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": 1475.2501419782639,
+        "y": 3363.250343322754,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "aaf87e69.2393a",
+                "a2e70427.57cd28"
+            ]
+        ]
+    },
+    {
+        "id": "aaf87e69.2393a",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1881.2501754760742,
+        "y": 3328.2501459121704,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "95cafb56.9e6c28"
+            ]
+        ]
+    },
+    {
+        "id": "95cafb56.9e6c28",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2055.250175476074,
+        "y": 3339.2499504089355,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "16274ba1.66af14",
+                "53d3b8da.6e70f8",
+                "8f46169a.4ebf98"
+            ]
+        ]
+    },
+    {
+        "id": "53d3b8da.6e70f8",
+        "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": 2247.249984741211,
+        "y": 3284.2499504089355,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "16274ba1.66af14",
+        "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": 2291.249984741211,
+        "y": 3328.2499504089355,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "4158100a.182b",
+        "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": 2278.249984741211,
+        "y": 3407.2503423690796,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d191190e.0b40f8",
+        "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": 2270.249984741211,
+        "y": 3363.2503414154053,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "600b1fe2.24b24",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2061.2499809265137,
+        "y": 3385.2503414154053,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "d191190e.0b40f8",
+                "4158100a.182b"
+            ]
+        ]
+    },
+    {
+        "id": "a2e70427.57cd28",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1880.2501754760742,
+        "y": 3384.2501468658447,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "600b1fe2.24b24"
+            ]
+        ]
+    },
+    {
+        "id": "35fa46a4.53dfea",
+        "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": 1474.2501411437988,
+        "y": 3410.2503929138184,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "595a98b5.81e1d8",
+        "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.rrmPolicyRatioList_CUUP_length`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1437.2501430511475,
+        "y": 3459.2503929138184,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "730e9c3f.e9da34",
+        "type": "for",
+        "name": "for each rrmpolicyratio",
+        "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1492.9166469573975,
+        "y": 3503.5835971832275,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "b4ad473e.3dffb8"
+            ]
+        ]
+    },
+    {
+        "id": "b4ad473e.3dffb8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1818.9166793823242,
+        "y": 3436.583484172821,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "fc663dd6.36133",
+                "1fb5b4aa.078f6b",
+                "c28d92c1.96ba8",
+                "198f83f1.77fbdc",
+                "ee9e0cf.4a229f",
+                "6c3d34f7.4a7bbc",
+                "bfb3d534.017f38",
+                "7cd330e2.d77cb",
+                "fae94f2e.f92bf",
+                "114043a5.304f6c",
+                "a805d7.02515a28"
+            ]
+        ]
+    },
+    {
+        "id": "77340d61.b83724",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2614.9165573120117,
+        "y": 3670.5837321281433,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ec0d2a5f.3bf678"
+            ]
+        ]
+    },
+    {
+        "id": "ec0d2a5f.3bf678",
+        "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": 2808.9167098999023,
+        "y": 3700.5835490226746,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "62d31df4.721bb4",
+        "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": 2874.916528701782,
+        "y": 3757.583426475525,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "e379302.c5901d",
+        "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": 2889.916648864746,
+        "y": 3805.583426475525,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "3fa07ea7.49ebc2",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2611.91707611084,
+        "y": 3732.583365917206,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "e379302.c5901d",
+                "62d31df4.721bb4"
+            ]
+        ]
+    },
+    {
+        "id": "fcb9c79a.5fac28",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2394.9165382385254,
+        "y": 3731.5831604003906,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3fa07ea7.49ebc2"
+            ]
+        ]
+    },
+    {
+        "id": "71e9f766.6e75d8",
+        "type": "block",
+        "name": "Process gNBDU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 939.0001754760742,
+        "y": 4141.000731945038,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "28ad074c.d234f8",
+                "d05b4312.6ee3e",
+                "51613b53.dca544"
+            ]
+        ]
+    },
+    {
+        "id": "28ad074c.d234f8",
+        "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": 1268.0001754760742,
+        "y": 4172.000731945038,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d05b4312.6ee3e",
+        "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 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": 1226.0001602172852,
+        "y": 4233.000731945038,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "51613b53.dca544",
+        "type": "for",
+        "name": "foreach DU",
+        "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1241.0001907348633,
+        "y": 4299.000356674194,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3240f167.c3525e"
+            ]
+        ]
+    },
+    {
+        "id": "3240f167.c3525e",
+        "type": "block",
+        "name": "block : process gNBDU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1519.0001754760742,
+        "y": 4304.00070142746,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "e2fac503.d38288",
+                "18d33391.ba0bec",
+                "ac5b5cad.3952f",
+                "ee02f2b5.278cd"
+            ]
+        ]
+    },
+    {
+        "id": "e2fac503.d38288",
+        "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": 1798,
+        "y": 4300.00000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "18d33391.ba0bec",
+        "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=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1771,
+        "y": 4351.00000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ac5b5cad.3952f",
+        "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": 1780,
+        "y": 4410.000358581543,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ee02f2b5.278cd",
+        "type": "for",
+        "name": "for cellDUList",
+        "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1816.9999771118164,
+        "y": 4489.000261306763,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "b9d032fc.fe759"
+            ]
+        ]
+    },
+    {
+        "id": "5d1f423f.307b1c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2773.750087738037,
+        "y": 4614.000261306763,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "2d4a3a2f.092936",
+                "51a5f12a.1d985",
+                "f6ce7f88.21256",
+                "d56fb202.9b47b",
+                "a67262bd.08bb",
+                "63606e21.97ae",
+                "b83a2fa5.94757",
+                "37830f0a.06492",
+                "863e7e43.25085",
+                "65aae22a.00decc",
+                "331af4f0.8180cc",
+                "c29779b1.b1aa18",
+                "2e2fb2d2.df408e",
+                "ca1dda20.5e3b98",
+                "50278368.db0bdc"
+            ]
+        ]
+    },
+    {
+        "id": "37830f0a.06492",
+        "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=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3023.75,
+        "y": 4493.00000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b83a2fa5.94757",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3051.75,
+        "y": 4561.00000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "e61804d3.5caf08",
+                "c34ca73b.19fa18"
+            ]
+        ]
+    },
+    {
+        "id": "e61804d3.5caf08",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3259.75,
+        "y": 4525.999759197235,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f91db9b8.98f3d8"
+            ]
+        ]
+    },
+    {
+        "id": "c34ca73b.19fa18",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3254.7500495910645,
+        "y": 4595.000327587128,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f80fe2bf.0cff6"
+            ]
+        ]
+    },
+    {
+        "id": "f91db9b8.98f3d8",
+        "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": 3579.75,
+        "y": 4541.00000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2d4a3a2f.092936",
+        "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 +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3055.750141143799,
+        "y": 4600.000655174255,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d56fb202.9b47b",
+        "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": 3103.750213623047,
+        "y": 4714.0001854896545,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a67262bd.08bb",
+        "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.cellDULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3076.7503967285156,
+        "y": 4769.000187397003,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "63606e21.97ae",
+        "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": 3061.750198364258,
+        "y": 4813.250686645508,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "51a5f12a.1d985",
+        "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": 3062.500442504883,
+        "y": 4857.5002608299255,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f6ce7f88.21256",
+        "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": 3070.7499465942383,
+        "y": 4946.0003662109375,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "863e7e43.25085",
+        "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": 3118.7499465942383,
+        "y": 4985.249977111816,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "bad70294.5c425",
+                "76e2880c.ae80a8"
+            ]
+        ]
+    },
+    {
+        "id": "76e2880c.ae80a8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3371.749954223633,
+        "y": 4851.249975204468,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "a647dad5.3e2518"
+            ]
+        ]
+    },
+    {
+        "id": "bad70294.5c425",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3398.749954223633,
+        "y": 4982.249977111816,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "e8919fe8.1a01f"
+            ]
+        ]
+    },
+    {
+        "id": "a647dad5.3e2518",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3535.750343322754,
+        "y": 4825.249975204468,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "bcca2568.e04d18",
+                "cdd3bb22.4b36e8",
+                "8f46169a.4ebf98"
+            ]
+        ]
+    },
+    {
+        "id": "e8919fe8.1a01f",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3542.749954223633,
+        "y": 4980.249977111816,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "e015355d.a69928"
+            ]
+        ]
+    },
+    {
+        "id": "e015355d.a69928",
+        "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": 3714.7495651245117,
+        "y": 4959.250367164612,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bcca2568.e04d18",
+        "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": 3717.749954223633,
+        "y": 4886.249975204468,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "cdd3bb22.4b36e8",
+        "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": 3716.7499561309814,
+        "y": 4820.2499742507935,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "65aae22a.00decc",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2922,
+        "y": 5306.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "a261b45.b406b48",
+                "84f004cb.996128",
+                "23d7df6a.d91ba",
+                "d9ab6cfd.401e1",
+                "b2a1a5be.88e288",
+                "9f2f5206.95a47",
+                "4aeb76cf.8043a8",
+                "c74da107.4dd28"
+            ]
+        ]
+    },
+    {
+        "id": "a261b45.b406b48",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3145.9999465942383,
+        "y": 5279.249979972839,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f2a6b53a.625068",
+                "865f8c11.612f2"
+            ]
+        ]
+    },
+    {
+        "id": "f2a6b53a.625068",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3338.000144958496,
+        "y": 5233.250370025635,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "13d9e9d7.9e9db6"
+            ]
+        ]
+    },
+    {
+        "id": "13d9e9d7.9e9db6",
+        "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": 3668.0003509521484,
+        "y": 5257.250370025635,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "84f004cb.996128",
+        "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": 3170.9999465942383,
+        "y": 5346.249980926514,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "23d7df6a.d91ba",
+        "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": 3146.9999465942383,
+        "y": 5403.249981880188,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d9ab6cfd.401e1",
+        "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": 3181.9999465942383,
+        "y": 5450.249982833862,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "6476593c.b0b8e8",
+                "d3c89edc.58233"
+            ]
+        ]
+    },
+    {
+        "id": "6476593c.b0b8e8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3405.9999504089355,
+        "y": 5436.249981880188,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ad8ef7b.c20df08"
+            ]
+        ]
+    },
+    {
+        "id": "d3c89edc.58233",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3433.999954223633,
+        "y": 5496.249982833862,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "5abb3b66.20d854"
+            ]
+        ]
+    },
+    {
+        "id": "ad8ef7b.c20df08",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3570.000343322754,
+        "y": 5420.249980926514,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "96810bc6.262678",
+                "7e878d4f.b09934",
+                "8f46169a.4ebf98"
+            ]
+        ]
+    },
+    {
+        "id": "7e878d4f.b09934",
+        "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": 3770.000347137451,
+        "y": 5384.249980926514,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "96810bc6.262678",
+        "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": 3786.999954223633,
+        "y": 5420.249982833862,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "5abb3b66.20d854",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3597.250343322754,
+        "y": 5485.999982833862,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4328811e.e286e",
+                "2e94d06e.e038c"
+            ]
+        ]
+    },
+    {
+        "id": "4328811e.e286e",
+        "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": 3765.500347137451,
+        "y": 5465.999982833862,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2e94d06e.e038c",
+        "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": 3780.0003509521484,
+        "y": 5510.499982833862,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b2a1a5be.88e288",
+        "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": 3153.9999465942383,
+        "y": 5506.249982833862,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9f2f5206.95a47",
+        "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.rrmPolicyRatioDUList_length`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3109.9999465942383,
+        "y": 5548.249983787537,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4aeb76cf.8043a8",
+        "type": "block",
+        "name": "rrmPolicyDedicatedRatio",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3725.000343322754,
+        "y": 5209.249979019165,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "899949b.30539b8",
+                "4c5e87e8.e6c358",
+                "927bd08f.ecc19",
+                "ff8ff24e.3ee0d",
+                "b4638db3.7acfd",
+                "ad2183cd.ee925",
+                "ee4a4fee.224fe",
+                "ae39dbda.f63308",
+                "8468fd88.b22a5",
+                "b19c0c00.da754",
+                "9db473d.479499"
+            ]
+        ]
+    },
+    {
+        "id": "927bd08f.ecc19",
+        "type": "set",
+        "name": "Calculate RRM Parms1",
+        "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
+        "comments": "",
+        "x": 4146.989807128906,
+        "y": 4876.572756290436,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "ff8ff24e.3ee0d",
+        "type": "set",
+        "name": "Calculate RRM Parms2",
+        "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
+        "comments": "",
+        "x": 4155.531066894531,
+        "y": 4921.592775762081,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "b4638db3.7acfd",
+        "type": "set",
+        "name": "Calculate RRM Parms3",
+        "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
+        "comments": "",
+        "x": 4145.531188964844,
+        "y": 4976.592653691769,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "ad2183cd.ee925",
+        "type": "set",
+        "name": "Calculate RRM Parms4",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
+        "comments": "",
+        "x": 4145.531066894531,
+        "y": 5027.592653751373,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "ee4a4fee.224fe",
+        "type": "set",
+        "name": "Calculate RRM Parms5",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+        "comments": "",
+        "x": 4133.531188964844,
+        "y": 5087.592775762081,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "ae39dbda.f63308",
+        "type": "set",
+        "name": "Calculate RRM Parms6",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
+        "comments": "",
+        "x": 4171.531066894531,
+        "y": 5137.592775762081,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "8468fd88.b22a5",
+        "type": "set",
+        "name": "Calculate RRM Parms7",
+        "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+        "comments": "",
+        "x": 4158.531005859375,
+        "y": 5207.593142032623,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "b19c0c00.da754",
+        "type": "set",
+        "name": "calculation8",
+        "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
+        "comments": "",
+        "x": 4129.531005859375,
+        "y": 5271.592165470123,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "9db473d.479499",
+        "type": "set",
+        "name": "calculation9",
+        "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+        "comments": "",
+        "x": 4117.531555175781,
+        "y": 5322.592043399811,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "4c5e87e8.e6c358",
+        "type": "set",
+        "name": "calculation10",
+        "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
+        "comments": "",
+        "x": 4092.9898681640625,
+        "y": 5388.572512149811,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "899949b.30539b8",
+        "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": 3918.9997940063477,
+        "y": 5400.693818569183,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c74da107.4dd28",
+        "type": "for",
+        "name": "for each rrmpolicyratio",
+        "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3139.25,
+        "y": 5590.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "63b01159.64d62"
+            ]
+        ]
+    },
+    {
+        "id": "63b01159.64d62",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3350.250343322754,
+        "y": 5592.249984741211,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "e02caafe.7e2178",
+                "c01029e4.8b89b8",
+                "ced0a425.87c638",
+                "5ba55daa.5d5c44",
+                "b30f0018.e67aa",
+                "f4262947.ab62c8",
+                "a9a5d540.0562d8",
+                "4de47bd7.839ef4",
+                "c87a723b.288cf",
+                "98e6e0f9.b5916",
+                "1b9e6496.ea1deb"
+            ]
+        ]
+    },
+    {
+        "id": "10d97d69.386523",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3954.250160217285,
+        "y": 5812.500283718109,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "418cc666.899af8"
+            ]
+        ]
+    },
+    {
+        "id": "418cc666.899af8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4146.500228881836,
+        "y": 5826.250283718109,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "53acea06.9f4674"
+            ]
+        ]
+    },
+    {
+        "id": "53acea06.9f4674",
+        "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": 4344.000595092773,
+        "y": 5817.25004529953,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b3928b43.b1c9b8",
+        "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": 4412.25,
+        "y": 5845.249774456024,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "8b7ccad6.fa3a78",
+        "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": 4417.2498779296875,
+        "y": 5940.24983549118,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "b584011b.1f35b",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4172.250244140625,
+        "y": 5894.249774456024,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8b7ccad6.fa3a78",
+                "b3928b43.b1c9b8",
+                "8f46169a.4ebf98"
+            ]
+        ]
+    },
+    {
+        "id": "762d7492.35129c",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3953.25,
+        "y": 5889.249774456024,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "b584011b.1f35b"
+            ]
+        ]
+    },
+    {
+        "id": "8f46169a.4ebf98",
+        "type": "block",
+        "name": "block : SO Response",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4496.734375,
+        "y": 2794.2500059604645,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "713a1911.30d4f8",
+                "f13c9c1e.909cc",
+                "6525b1ca.e1c44"
+            ]
+        ]
+    },
+    {
+        "id": "713a1911.30d4f8",
+        "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=\"success\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$terminate-r-a-n-slice-instance-input.action`\"/>\n\n\n\n",
+        "comments": "",
+        "x": 5158.7353515625,
+        "y": 2586.1496641635895,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "f13c9c1e.909cc",
+        "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": 5133.734237670898,
+        "y": 2683.250341653824,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6525b1ca.e1c44",
+        "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-terminate-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\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 5048.73424911499,
+        "y": 2780.2502195835114,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "68f5b9fa.70c6b8",
+                "a7e22354.bc79"
+            ]
+        ]
+    },
+    {
+        "id": "68f5b9fa.70c6b8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5274.734257698059,
+        "y": 2757.250188589096,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ceeb9e6b.0527f"
+            ]
+        ]
+    },
+    {
+        "id": "a7e22354.bc79",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5264.734111785889,
+        "y": 2865.250128030777,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "5c63c927.8c0488"
+            ]
+        ]
+    },
+    {
+        "id": "5c63c927.8c0488",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 5414.733898162842,
+        "y": 2884.2501890659332,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "62c4a28f.c31c5c"
+            ]
+        ]
+    },
+    {
+        "id": "ceeb9e6b.0527f",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 5425.734127044678,
+        "y": 2752.2503106594086,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ebbddef2.7fc3b"
+            ]
+        ]
+    },
+    {
+        "id": "ebbddef2.7fc3b",
+        "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": 5591.733806610107,
+        "y": 2755.250128030777,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "62c4a28f.c31c5c",
+        "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": 5578.733913421631,
+        "y": 2890.250128030777,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c6816aa0.2a2318",
+        "type": "block",
+        "name": "SO Response",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 578.734375,
+        "y": 4476.2500059604645,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4a535730.5738b8",
+                "85ba33aa.51f85",
+                "1b02957f.731c5b",
+                "346ef174.0740ae"
+            ]
+        ]
+    },
+    {
+        "id": "1b02957f.731c5b",
+        "type": "set",
+        "name": "set tmp variables for SO response",
+        "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$tmp.action`\"/>\n\n\n",
+        "comments": "",
+        "x": 858.7355194091797,
+        "y": 4326.149490594864,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "4a535730.5738b8",
+        "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": 855.7343521118164,
+        "y": 4480.250189065933,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "85ba33aa.51f85",
+        "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-termi-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": 724.7344512939453,
+        "y": 4597.249893426895,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8a3cce8c.215ee",
+                "ba61876c.1499c8"
+            ]
+        ]
+    },
+    {
+        "id": "8a3cce8c.215ee",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 889.7344512939453,
+        "y": 4577.249892473221,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "2256b439.d4335c"
+            ]
+        ]
+    },
+    {
+        "id": "ba61876c.1499c8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 881.7343444824219,
+        "y": 4650.249842882156,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "844c6968.9e24a8"
+            ]
+        ]
+    },
+    {
+        "id": "844c6968.9e24a8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1027.734188079834,
+        "y": 4655.249951601028,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "82acce1b.3def2"
+            ]
+        ]
+    },
+    {
+        "id": "2256b439.d4335c",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1038.7343521118164,
+        "y": 4573.250027894974,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ad9a7017.54621",
+                "f5fae41.c2b0318"
+            ]
+        ]
+    },
+    {
+        "id": "ad9a7017.54621",
+        "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": 1185.7339706420898,
+        "y": 4584.249769449234,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "82acce1b.3def2",
+        "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": 1188.7341079711914,
+        "y": 4661.249843835831,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f5fae41.c2b0318",
+        "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": 1173.2445793151855,
+        "y": 4488.2392609119415,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "346ef174.0740ae",
+        "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": 878.073974609375,
+        "y": 4416.23534321785,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a7822539.bf4d08",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2280.25,
+        "y": 1791.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "92cb0c02.bc581"
+            ]
+        ]
+    },
+    {
+        "id": "92cb0c02.bc581",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2473.239658355713,
+        "y": 1791.2501254081726,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4cf60af4.317c84",
+                "77b37f53.a479d"
+            ]
+        ]
+    },
+    {
+        "id": "4cf60af4.317c84",
+        "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": 2780.239845275879,
+        "y": 1758.2502264976501,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "77b37f53.a479d",
+        "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": 2724.240245819092,
+        "y": 1811.2504200935364,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d5546fdc.4cbb1",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2707.75,
+        "y": 1175.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "262a7d90.0ff0d2",
+                "34e56f2c.cf785"
+            ]
+        ]
+    },
+    {
+        "id": "34e56f2c.cf785",
+        "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": 2958.750431060791,
+        "y": 1198.25013589859,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "262a7d90.0ff0d2",
+        "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": 3014.750030517578,
+        "y": 1145.2499423027039,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2dae447f.95111c",
+        "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": 2785.250015258789,
+        "y": 2840.250346660614,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4cbee88f.28ea78",
+        "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": 2859.249725341797,
+        "y": 2789.2501006126404,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "244e108b.98cbb",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2539.2496795654297,
+        "y": 2827.2500920295715,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4cbee88f.28ea78",
+                "2dae447f.95111c"
+            ]
+        ]
+    },
+    {
+        "id": "c6ebcb5c.6f2288",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2050.2499809265137,
+        "y": 3271.2499494552612,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "55733570.57cc7c",
+                "1a4c3314.8ebdbd"
+            ]
+        ]
+    },
+    {
+        "id": "55733570.57cc7c",
+        "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": 2317.249984741211,
+        "y": 3204.249948501587,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1a4c3314.8ebdbd",
+        "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": 2291.2501792907715,
+        "y": 3243.250144958496,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bdc105e6.3e86f8",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1841.7499771118164,
+        "y": 3277.2499504089355,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "c6ebcb5c.6f2288"
+            ]
+        ]
+    },
+    {
+        "id": "f80fe2bf.0cff6",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3449.75,
+        "y": 4610.25000333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "cc9fa93.01b4258",
+                "82e5f6ec.c44348"
+            ]
+        ]
+    },
+    {
+        "id": "cc9fa93.01b4258",
+        "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": 3756.750030517578,
+        "y": 4580.249942302704,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "82e5f6ec.c44348",
+        "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": 3700.750431060791,
+        "y": 4633.25013589859,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "865f8c11.612f2",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3340.4999504089355,
+        "y": 5300.249979019165,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "786fbafa.331534"
+            ]
+        ]
+    },
+    {
+        "id": "786fbafa.331534",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3501.500343322754,
+        "y": 5356.499589920044,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "d8b8404d.375b",
+                "1559536c.0899ad"
+            ]
+        ]
+    },
+    {
+        "id": "d8b8404d.375b",
+        "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": 3751.5003509521484,
+        "y": 5300.49958896637,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1559536c.0899ad",
+        "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": 3742.500343322754,
+        "y": 5341.499980926514,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7e949b67.6d48c4",
+        "type": "comment",
+        "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate-ConfigDb",
+        "info": "",
+        "comments": "",
+        "x": 802.5000286102295,
+        "y": 65.50000333786011,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "29e00485.3212dc",
+        "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-instance-input.action`\"/>\n<parameter name=\"field3\" value=\"`$terminate-r-a-n-slice-instance-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$terminate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$terminate-r-a-n-slice-instance-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$terminate-r-a-n-slice-instance-input.payload`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 502.75000762939453,
+        "y": 102.74999284744263,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "86c6b7a3.dd4128",
+        "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": 608.7497634887695,
+        "y": 156.75000619888306,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "60eceda0.332524",
+        "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": 643.7497253417969,
+        "y": 300.73954677581787,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e105720e.7db1",
+        "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": 663.7497100830078,
+        "y": 341.7499122619629,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b9c07470.9995d8",
+        "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": 674.7497787475586,
+        "y": 411.49999380111694,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "52f3d815.1af068",
+        "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=\"`$tmp.sliceprofileid`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 599.2499923706055,
+        "y": 630.2500286102295,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "36cd41bc.c6635e",
+        "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": 560.2500305175781,
+        "y": 662.0000600814819,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "70f7dd72.4d7324",
+        "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": 600.2500457763672,
+        "y": 704.2500448226929,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "83702985.d50d18",
+        "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": 549.5000457763672,
+        "y": 756.0000767707825,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8f7a86fa.6a9d48",
+        "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=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 507.24359130859375,
+        "y": 876.9935789108276,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2f2d1a47.203916",
+        "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": 2089.7776947021484,
+        "y": 572.7221846580505,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c1c0f0c3.6cb7c",
+        "type": "for",
+        "name": "for each rrmpolicyMember",
+        "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2558.749767303467,
+        "y": 2286.333149433136,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "d8a07c6c.c322d"
+            ]
+        ]
+    },
+    {
+        "id": "d8a07c6c.c322d",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2788.416763305664,
+        "y": 2286.444282054901,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "908d821.c7a738",
+                "98a857a2.b89188",
+                "9c2da79c.1d1d58",
+                "680068d9.a33498",
+                "939114cf.e5b1e8"
+            ]
+        ]
+    },
+    {
+        "id": "908d821.c7a738",
+        "type": "switchNode",
+        "name": "if length > 0 ",
+        "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLength > 0`'>\n\n    \n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2927.583595275879,
+        "y": 2199.583086490631,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8057c8a4.7db0a8",
+                "2d77f59.3673e0a"
+            ]
+        ]
+    },
+    {
+        "id": "8057c8a4.7db0a8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3079.250068664551,
+        "y": 2174.1385684013367,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8f4fb20c.927c5"
+            ]
+        ]
+    },
+    {
+        "id": "8f4fb20c.927c5",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3245.9164695739746,
+        "y": 2175.1389441490173,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "b506e974.8821f8"
+            ]
+        ]
+    },
+    {
+        "id": "b506e974.8821f8",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3093.694351196289,
+        "y": 2054.027679681778,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "9066f554.ceff48",
+                "d59da51.664fe58"
+            ]
+        ]
+    },
+    {
+        "id": "9066f554.ceff48",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3337.028091430664,
+        "y": 2069.9163584709167,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "dc4db22.e9b095"
+            ]
+        ]
+    },
+    {
+        "id": "d59da51.664fe58",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3327.8716011047363,
+        "y": 2110.3606419563293,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8c8f7b18.9864c8"
+            ]
+        ]
+    },
+    {
+        "id": "dc4db22.e9b095",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3518.4165115356445,
+        "y": 2071.2499585151672,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "c1ffe081.a6009"
+            ]
+        ]
+    },
+    {
+        "id": "8c8f7b18.9864c8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3509.527587890625,
+        "y": 2113.47199678421,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ed7cbf40.2a87e",
+                "43b732df.253f8c"
+            ]
+        ]
+    },
+    {
+        "id": "c1ffe081.a6009",
+        "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": 3803.694221496582,
+        "y": 2068.4722361564636,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ed7cbf40.2a87e",
+        "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": 3814.8054809570312,
+        "y": 2111.805597782135,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "43b732df.253f8c",
+        "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": 3739.2497024536133,
+        "y": 2147.3610796928406,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2d77f59.3673e0a",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3082.861053466797,
+        "y": 2228.4721179008484,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "9e8091c0.23788"
+            ]
+        ]
+    },
+    {
+        "id": "9e8091c0.23788",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3268.5281372070312,
+        "y": 2216.8054366111755,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1e5e9104.f4053f",
+                "26e36b4d.5373c4"
+            ]
+        ]
+    },
+    {
+        "id": "1e5e9104.f4053f",
+        "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": 3560.917106628418,
+        "y": 2180.694749355316,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "26e36b4d.5373c4",
+        "type": "switchNode",
+        "name": "find matching RRMPolicyMember",
+        "xml": "<switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3559.8055419921875,
+        "y": 2220.6942439079285,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "5fd5d6cf.708bc8"
+            ]
+        ]
+    },
+    {
+        "id": "5fd5d6cf.708bc8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3790.638885498047,
+        "y": 2225.1386218070984,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f65a231e.e2ea"
+            ]
+        ]
+    },
+    {
+        "id": "f65a231e.e2ea",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4014.249725341797,
+        "y": 2221.8053698539734,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "24383d1c.4b0022",
+                "24a2ac7a.dd9614",
+                "80d992c8.49cba"
+            ]
+        ]
+    },
+    {
+        "id": "24383d1c.4b0022",
+        "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": 4279.916458129883,
+        "y": 2189.5832562446594,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "3d9b81e0.b6523e",
+        "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": 4809.360374450684,
+        "y": 2281.805455684662,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "24a2ac7a.dd9614",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4237.138465881348,
+        "y": 2285.1389212608337,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ea91230.11bd1e",
+                "7545f2bf.276ddc"
+            ]
+        ]
+    },
+    {
+        "id": "ea91230.11bd1e",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4480.472526550293,
+        "y": 2284.360945224762,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3d9b81e0.b6523e"
+            ]
+        ]
+    },
+    {
+        "id": "7545f2bf.276ddc",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4471.315940856934,
+        "y": 2335.9163393974304,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "95c3b77d.a0d298"
+            ]
+        ]
+    },
+    {
+        "id": "c472577f.78a1a8",
+        "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": 4938.527503967285,
+        "y": 2327.3613810539246,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ef2abebc.4b5ce",
+        "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": 4858.5272216796875,
+        "y": 2386.2497973442078,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "95c3b77d.a0d298",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4638.249794006348,
+        "y": 2333.4721732139587,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "c472577f.78a1a8",
+                "ef2abebc.4b5ce"
+            ]
+        ]
+    },
+    {
+        "id": "26e1eeb8.ead262",
+        "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": 2507.8609352111816,
+        "y": 2342.639142513275,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "453b3bec.ed3c24",
+        "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": 2602.6387329101562,
+        "y": 2384.6389594078064,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4650484b.cf0978",
+                "f8a9e793.40e5b8"
+            ]
+        ]
+    },
+    {
+        "id": "4650484b.cf0978",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2888.3888359069824,
+        "y": 2430.3889288902283,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4e4b2c9a.f27204"
+            ]
+        ]
+    },
+    {
+        "id": "4e4b2c9a.f27204",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3091.8888931274414,
+        "y": 2432.8889298439026,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "75cd84fc.37fadc"
+            ]
+        ]
+    },
+    {
+        "id": "75cd84fc.37fadc",
+        "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": 3319.3886528015137,
+        "y": 2340.139141559601,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "58f507d.0e3c2f8",
+        "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": 3332.638641357422,
+        "y": 2383.1388659477234,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "2aa06eb6.9a63b2",
+        "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": 3337.6385192871094,
+        "y": 2478.1389269828796,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "1b95566a.59691a",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3088.889320373535,
+        "y": 2484.638961315155,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "2aa06eb6.9a63b2",
+                "58f507d.0e3c2f8",
+                "8f46169a.4ebf98"
+            ]
+        ]
+    },
+    {
+        "id": "f8a9e793.40e5b8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2883.6388359069824,
+        "y": 2469.638961315155,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1b95566a.59691a"
+            ]
+        ]
+    },
+    {
+        "id": "80d992c8.49cba",
+        "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": 4231.576385498047,
+        "y": 2237.4652819633484,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c9597d62.890ed",
+        "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": 2297.138946533203,
+        "y": 1331.652853012085,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "98a857a2.b89188",
+        "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": 3045.3265075683594,
+        "y": 2278.7153429985046,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9c2da79c.1d1d58",
+        "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": 3017.826446533203,
+        "y": 2311.965313434601,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "680068d9.a33498",
+        "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": 3041.264389038086,
+        "y": 2346.5278449058533,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "939114cf.e5b1e8",
+        "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": 3048.763946533203,
+        "y": 2382.277814388275,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8ab466e2.c019c8",
+        "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": 2300.013946533203,
+        "y": 1096.3403491973877,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d10c9390.82cd8",
+        "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    <parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+ $id-snssai +'].sNSSAI'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1574.13916015625,
+        "y": 2621.4726457595825,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "63fe6671.297f68",
+        "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.configDBSNSSAI1`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from Request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1428.1390838623047,
+        "y": 2671.472743988037,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "484a93f6.28344c",
+        "type": "switchNode",
+        "name": "is NSSAI exists",
+        "xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1435.0282440185547,
+        "y": 2715.0276279449463,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4e8220cb.1efee",
+                "6f4bd7b5.908f38"
+            ]
+        ]
+    },
+    {
+        "id": "4e8220cb.1efee",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1608.2500228881836,
+        "y": 2669.250478744507,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f576c333.0806f"
+            ]
+        ]
+    },
+    {
+        "id": "cb4c199b.3e0788",
+        "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": 1970.2499771118164,
+        "y": 2820.250334739685,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e57630c1.8b205",
+        "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": 1975.7501678466797,
+        "y": 2855.75053024292,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9155057f.4d20f8",
+        "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": 1964.3891372680664,
+        "y": 2890.9028749465942,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8bf3be00.15712",
+        "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": 1977.0001678466797,
+        "y": 2929.2503356933594,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "66a70b2c.f71394",
+                "ab1ecbed.555028"
+            ]
+        ]
+    },
+    {
+        "id": "9c8cb70c.b77938",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2399.9165382385254,
+        "y": 3671.5839405059814,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "77340d61.b83724"
+            ]
+        ]
+    },
+    {
+        "id": "fc663dd6.36133",
+        "type": "for",
+        "name": "for each rrmpolicyMember",
+        "xml": "<for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2092.2222442626953,
+        "y": 3608.027786254883,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "d13b6763.d28078"
+            ]
+        ]
+    },
+    {
+        "id": "d13b6763.d28078",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2317.888900756836,
+        "y": 3498.1390647888184,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4888a54.a70465c",
+                "f35fb2ec.0cdc5",
+                "f6b2e0f3.7d366",
+                "bd94d371.35727",
+                "a4f4cb8c.9b68b8"
+            ]
+        ]
+    },
+    {
+        "id": "4888a54.a70465c",
+        "type": "switchNode",
+        "name": "if length > 0 ",
+        "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength > 0`'>\n  \n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2456.055892944336,
+        "y": 3399.277886867523,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "5e683718.58f9b8",
+                "5eebdf7f.60905"
+            ]
+        ]
+    },
+    {
+        "id": "5e683718.58f9b8",
+        "type": "success",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2604.722499847412,
+        "y": 3353.8329634666443,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "264a8b2.060c774"
+            ]
+        ]
+    },
+    {
+        "id": "264a8b2.060c774",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2764.3888511657715,
+        "y": 3410.833547115326,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3e3204c5.3f38bc",
+                "9bfca7b0.f4f088"
+            ]
+        ]
+    },
+    {
+        "id": "3e3204c5.3f38bc",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2812.1669311523438,
+        "y": 3226.722415447235,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "97b5eb58.2efc18",
+                "266fb720.a9a918"
+            ]
+        ]
+    },
+    {
+        "id": "97b5eb58.2efc18",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2855.500473022461,
+        "y": 3305.6109614372253,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f11c1f12.ddfee"
+            ]
+        ]
+    },
+    {
+        "id": "266fb720.a9a918",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2846.343982696533,
+        "y": 3346.055244922638,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "6e2c24d5.1fc9cc"
+            ]
+        ]
+    },
+    {
+        "id": "f11c1f12.ddfee",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3036.8888931274414,
+        "y": 3306.944561481476,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "55d63d3a.e975d4",
+                "f201d6da.714358",
+                "1662cdcf.6a2522"
+            ]
+        ]
+    },
+    {
+        "id": "6e2c24d5.1fc9cc",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3027.999969482422,
+        "y": 3349.166599750519,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "44ca97b2.898c88",
+                "a57e8627.c5b9e8"
+            ]
+        ]
+    },
+    {
+        "id": "f201d6da.714358",
+        "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": 3358.1665000915527,
+        "y": 3206.167140483856,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "44ca97b2.898c88",
+        "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": 3333.277862548828,
+        "y": 3347.5002007484436,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a57e8627.c5b9e8",
+        "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": 3257.72208404541,
+        "y": 3383.055682659149,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5eebdf7f.60905",
+        "type": "failure",
+        "name": "False",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2604.3336296081543,
+        "y": 3444.166949748993,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "c018dc77.5bd9"
+            ]
+        ]
+    },
+    {
+        "id": "c018dc77.5bd9",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2787.000518798828,
+        "y": 3452.500039577484,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "d5ac128.45bfff",
+                "a80aaaca.e997c8",
+                "f1c3a8f8.c94528"
+            ]
+        ]
+    },
+    {
+        "id": "d5ac128.45bfff",
+        "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": 3083.3894958496094,
+        "y": 3450.3896050453186,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "a80aaaca.e997c8",
+        "type": "switchNode",
+        "name": "find matching RRMPolicyMember",
+        "xml": "<switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3078.2777786254883,
+        "y": 3493.389214992523,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "6a712b9e.d7b4b4"
+            ]
+        ]
+    },
+    {
+        "id": "6a712b9e.d7b4b4",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3309.1112670898438,
+        "y": 3460.833224773407,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "d128da26.d54bc8"
+            ]
+        ]
+    },
+    {
+        "id": "d128da26.d54bc8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3532.7221069335938,
+        "y": 3457.499972820282,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "544297de.e23558",
+                "e211444f.c5e5a8",
+                "91804a2a.430a98"
+            ]
+        ]
+    },
+    {
+        "id": "544297de.e23558",
+        "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": 3798.3888397216797,
+        "y": 3425.277859210968,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "91804a2a.430a98",
+        "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": 3750.0487670898438,
+        "y": 3473.159884929657,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e211444f.c5e5a8",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3755.6108474731445,
+        "y": 3520.8335242271423,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "37d54489.5110ec",
+                "a51e80e2.10b71"
+            ]
+        ]
+    },
+    {
+        "id": "37d54489.5110ec",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3998.94490814209,
+        "y": 3520.0555481910706,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "52518d81.e1afb4"
+            ]
+        ]
+    },
+    {
+        "id": "a51e80e2.10b71",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3989.7883224487305,
+        "y": 3571.610942363739,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "5b9d9e6.e7a486"
+            ]
+        ]
+    },
+    {
+        "id": "52518d81.e1afb4",
+        "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": 4327.8327560424805,
+        "y": 3517.5000586509705,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5b9d9e6.e7a486",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4156.7221755981445,
+        "y": 3569.1667761802673,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f90b0f5d.cdd68",
+                "7c54e102.503ed"
+            ]
+        ]
+    },
+    {
+        "id": "f90b0f5d.cdd68",
+        "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": 4456.999885559082,
+        "y": 3563.055984020233,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7c54e102.503ed",
+        "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": 4376.999603271484,
+        "y": 3621.9444003105164,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f35fb2ec.0cdc5",
+        "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": 2550.5001373291016,
+        "y": 3516.5003447532654,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f6b2e0f3.7d366",
+        "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": 2539.4380264282227,
+        "y": 3549.3128452301025,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bd94d371.35727",
+        "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": 2549.9376373291016,
+        "y": 3586.062846183777,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1fb5b4aa.078f6b",
+        "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": 2038.0343551635742,
+        "y": 3652.4242725372314,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c28d92c1.96ba8",
+        "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.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-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2114.812286376953,
+        "y": 3698.423490524292,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "9c8cb70c.b77938",
+                "fcb9c79a.5fac28"
+            ]
+        ]
+    },
+    {
+        "id": "40e94d3c.6122a4",
+        "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": 2166.437728881836,
+        "y": 4221.125453948975,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d40620ac.f176c",
+        "type": "for",
+        "name": "foreach PLMNInfo",
+        "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2209.7713165283203,
+        "y": 4338.125455856323,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1a14cf2c.069a91"
+            ]
+        ]
+    },
+    {
+        "id": "ff36d37.28a253",
+        "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['+ $id-dusnssai +'].sNSSAI'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2831.29891204834,
+        "y": 4336.375453948975,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bd21b7.8f467e48",
+        "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": 2751.0487670898438,
+        "y": 4378.3750648498535,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e8d9adcf.46f42",
+        "type": "switchNode",
+        "name": "is NSSAI exists",
+        "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2749.1876335144043,
+        "y": 4434.680534362793,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ac193689.4f84b8"
+            ]
+        ]
+    },
+    {
+        "id": "ac193689.4f84b8",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2902.659900665283,
+        "y": 4438.152799606323,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "5d1f423f.307b1c"
+            ]
+        ]
+    },
+    {
+        "id": "331af4f0.8180cc",
+        "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": 3078.1875,
+        "y": 4905.81250333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e02caafe.7e2178",
+        "type": "for",
+        "name": "for each rrmpolicyMember",
+        "xml": "<for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3669.4722213745117,
+        "y": 5671.71551322937,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "817fa4a5.11a678"
+            ]
+        ]
+    },
+    {
+        "id": "817fa4a5.11a678",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3887.1390228271484,
+        "y": 5670.82684135437,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "221dca87.7bcad6",
+                "468c4071.ae0c3",
+                "98e30429.ae0468",
+                "f903664e.df9698",
+                "312beaa2.664426"
+            ]
+        ]
+    },
+    {
+        "id": "221dca87.7bcad6",
+        "type": "switchNode",
+        "name": "if length > 0 ",
+        "xml": "<switch test='`$tmp.DURRMPolicyMembersLength > 0`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4044.056137084961,
+        "y": 5585.465371608734,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "15f2476e.0aff99",
+                "207fa743.f2f8e8"
+            ]
+        ]
+    },
+    {
+        "id": "15f2476e.0aff99",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4186.972393035889,
+        "y": 5543.520587444305,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3d7b1415.eb88fc"
+            ]
+        ]
+    },
+    {
+        "id": "3d7b1415.eb88fc",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4353.6388511657715,
+        "y": 5543.521047115326,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f3fe13b6.faaaf"
+            ]
+        ]
+    },
+    {
+        "id": "f3fe13b6.faaaf",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4201.416732788086,
+        "y": 5422.409782648087,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "6ebb8341.0f0bac",
+                "f8898acb.a01f78"
+            ]
+        ]
+    },
+    {
+        "id": "6ebb8341.0f0bac",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4444.750473022461,
+        "y": 5438.298461437225,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "7cec6fd6.3f6e8"
+            ]
+        ]
+    },
+    {
+        "id": "f8898acb.a01f78",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4435.593982696533,
+        "y": 5478.742744922638,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8cbfe85a.8bd8d8"
+            ]
+        ]
+    },
+    {
+        "id": "7cec6fd6.3f6e8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4626.138893127441,
+        "y": 5439.632061481476,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "67de5fc8.10138"
+            ]
+        ]
+    },
+    {
+        "id": "67de5fc8.10138",
+        "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": 4911.416603088379,
+        "y": 5436.854339122772,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "acfa476f.e3fba8",
+        "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": 4922.527862548828,
+        "y": 5480.187700748444,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d49b38d.ce537c8",
+        "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": 4846.97208404541,
+        "y": 5515.743182659149,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8cbfe85a.8bd8d8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4617.249969482422,
+        "y": 5481.854099750519,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "acfa476f.e3fba8",
+                "d49b38d.ce537c8"
+            ]
+        ]
+    },
+    {
+        "id": "207fa743.f2f8e8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4190.6875,
+        "y": 5615.18750333786,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "547b81f2.22b58"
+            ]
+        ]
+    },
+    {
+        "id": "547b81f2.22b58",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4376.354583740234,
+        "y": 5603.520822048187,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f1f8a10c.0782b",
+                "c8c542da.c39c7"
+            ]
+        ]
+    },
+    {
+        "id": "f1f8a10c.0782b",
+        "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": 4669.993957519531,
+        "y": 5562.410562038422,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "c8c542da.c39c7",
+        "type": "switchNode",
+        "name": "find matching RRMPolicyMember",
+        "xml": "<switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4667.631988525391,
+        "y": 5607.40962934494,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "a492053b.bb6278"
+            ]
+        ]
+    },
+    {
+        "id": "a492053b.bb6278",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4898.46533203125,
+        "y": 5611.85400724411,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ea29430d.123c9"
+            ]
+        ]
+    },
+    {
+        "id": "ea29430d.123c9",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 5122.076171875,
+        "y": 5608.520755290985,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "91bed5be.79aaf8",
+                "191ead5f.6de843",
+                "27e3a0b9.c0342"
+            ]
+        ]
+    },
+    {
+        "id": "91bed5be.79aaf8",
+        "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": 5387.742904663086,
+        "y": 5576.298641681671,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "27e3a0b9.c0342",
+        "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": 5339.40283203125,
+        "y": 5624.18066740036,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "191ead5f.6de843",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5344.964912414551,
+        "y": 5671.8543066978455,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3d2c6808.65c8c8",
+                "1067f069.99e65"
+            ]
+        ]
+    },
+    {
+        "id": "3d2c6808.65c8c8",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5588.298973083496,
+        "y": 5671.076330661774,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "49381ec9.9de7e"
+            ]
+        ]
+    },
+    {
+        "id": "1067f069.99e65",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 5579.142387390137,
+        "y": 5722.631724834442,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "97a3719e.61c39"
+            ]
+        ]
+    },
+    {
+        "id": "49381ec9.9de7e",
+        "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": 5917.186820983887,
+        "y": 5668.520841121674,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "97a3719e.61c39",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 5746.076240539551,
+        "y": 5720.1875586509705,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "b43a42d5.8e4b9",
+                "cacc71d2.dfda8"
+            ]
+        ]
+    },
+    {
+        "id": "b43a42d5.8e4b9",
+        "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": 6046.353950500488,
+        "y": 5714.076766490936,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cacc71d2.dfda8",
+        "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": 5966.353668212891,
+        "y": 5772.9651827812195,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "468c4071.ae0c3",
+        "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": 4219.750144958496,
+        "y": 5657.688269615173,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "98e30429.ae0468",
+        "type": "execute",
+        "name": "prepare idNRCellDu",
+        "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": 4192.25008392334,
+        "y": 5690.9382400512695,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f903664e.df9698",
+        "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": 4215.688026428223,
+        "y": 5725.500771522522,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "312beaa2.664426",
+        "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": 4223.18758392334,
+        "y": 5761.250741004944,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c01029e4.8b89b8",
+        "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": 3586.035189628601,
+        "y": 5754.112832546234,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ced0a425.87c638",
+        "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": 3673.312454223633,
+        "y": 5820.362391471863,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "10d97d69.386523",
+                "762d7492.35129c"
+            ]
+        ]
+    },
+    {
+        "id": "98773d2d.d6f83",
+        "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": 228.0833339691162,
+        "y": 1691.3333678245544,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "6058f66e.9e2f28",
+        "type": "for",
+        "name": "foreach PLMNInfo",
+        "xml": "<for index='id-ric' start='0' end='`$tmp.RICPLMNEntries`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 913.7500686645508,
+        "y": 1183.0001211166382,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "51189fb.776bd6"
+            ]
+        ]
+    },
+    {
+        "id": "51189fb.776bd6",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1096.0000686645508,
+        "y": 1175.0000138282776,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8bea81d3.a0011",
+                "f46f76df.5b3c38"
+            ]
+        ]
+    },
+    {
+        "id": "7d4e8a30.923f74",
+        "type": "switchNode",
+        "name": "is NSSAI exists",
+        "xml": "<switch test='`$tmp.ric.sNSSAI == $tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1556.000114440918,
+        "y": 777.250075340271,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1d34e195.d87c6e"
+            ]
+        ]
+    },
+    {
+        "id": "aa5269a4.705a48",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1599.500259399414,
+        "y": 681.2500514984131,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "34a0cafb.039ed6",
+                "a0da22.7bfb95e",
+                "588f2308.79b34c",
+                "a0429884.cfd848",
+                "2f7ab827.e25118",
+                "918de726.1bb148",
+                "704ad19e.0b58b"
+            ]
+        ]
+    },
+    {
+        "id": "e3ee986a.003218",
+        "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=\"PLMNInfo List before removal\"/>\n<parameter name=\"field2\" value=\"`$tmp.RICPLMNEntries`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 898.7500648498535,
+        "y": 1134.5000591278076,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "34a0cafb.039ed6",
+        "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\"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAIremoved`\" />\n<parameter name=\"field3\" value=\"nearRTRICId\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\" />\n<parameter name=\"field5\" value=\"endpoint URL\"/>\n<parameter name=\"field6\" value=\"`$tmp.configdb.getNearRTRICNSSAIRemoval.url`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1677.4546966552734,
+        "y": 920.0228490829468,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1d34e195.d87c6e",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1525.0000762939453,
+        "y": 735.5000514984131,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "aa5269a4.705a48"
+            ]
+        ]
+    },
+    {
+        "id": "2cdd4c0b.660a04",
+        "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=\"plmninfolistlength in true \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2511.399990081787,
+        "y": 516.1999959945679,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f2db2f86.725a9",
+        "type": "switchNode",
+        "name": "check the action",
+        "xml": "<switch test='`$tmp.pLMNInfoList_length > 0`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2067.600082397461,
+        "y": 792.800060749054,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "b05aecdd.0965e",
+                "1735c8ac.511f67"
+            ]
+        ]
+    },
+    {
+        "id": "b05aecdd.0965e",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2202.5998573303223,
+        "y": 663.8000245094299,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "499e10b8.e6312"
+            ]
+        ]
+    },
+    {
+        "id": "1735c8ac.511f67",
+        "type": "outcome",
+        "name": "False",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2221.599884033203,
+        "y": 714.8000469207764,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ec537b4e.f6a2f8"
+            ]
+        ]
+    },
+    {
+        "id": "2bc354c.a3c8dac",
+        "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=\"plmninfolistlength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2396.400375366211,
+        "y": 793.6001257896423,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "499e10b8.e6312",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2372.599937438965,
+        "y": 656.0000739097595,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "2cdd4c0b.660a04",
+                "9bb84509.704938"
+            ]
+        ]
+    },
+    {
+        "id": "ec537b4e.f6a2f8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2357.600051879883,
+        "y": 704.0000491142273,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "2bc354c.a3c8dac"
+            ]
+        ]
+    },
+    {
+        "id": "bd730031.beff3",
+        "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=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2067.599868774414,
+        "y": 626.5001158714294,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bd2c41d8.5af7f",
+        "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_plmninfolength \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1140.8000411987305,
+        "y": 2223.8999786376953,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "598a18b4.512898",
+        "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=\"RRMPolicyMembersList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.NRCellCURRMPolicyMembersLength`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2514.999984741211,
+        "y": 2248.4999351501465,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8125e8cb.8661d8",
+        "type": "execute",
+        "name": "Read RRMPolicy Member List Length",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellCURRMPolicyMembersLength' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 2565.000129699707,
+        "y": 2135.6999340057373,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e9307863.569858",
+        "type": "execute",
+        "name": "RRMPolicyRatio id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 2509.400131225586,
+        "y": 2093.6999320983887,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "725d2a35.1ec024",
+        "type": "execute",
+        "name": "split pLMNId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"regex\" value=\"-\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 541.5000305175781,
+        "y": 804.2500467300415,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "10226f17.8ebf61",
+        "type": "set",
+        "name": "set mcc & mnc Variables",
+        "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
+        "comments": "",
+        "x": 570.70458984375,
+        "y": 838.795488357544,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "8bea81d3.a0011",
+        "type": "execute",
+        "name": "read sNSSAIList Length",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAILength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI_length'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1306.5002899169922,
+        "y": 1164.0000476837158,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f46f76df.5b3c38",
+        "type": "for",
+        "name": "foreach sNSSAI",
+        "xml": "<for index='id-ric-snssai' start='0' end='`$tmp.ric.sNSSAILength`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1293.5002899169922,
+        "y": 1206.0000476837158,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "13a3fad9.38c055"
+            ]
+        ]
+    },
+    {
+        "id": "13a3fad9.38c055",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1484.5002899169922,
+        "y": 1198.0000476837158,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f1d91e2c.39ea7",
+                "7d4e8a30.923f74"
+            ]
+        ]
+    },
+    {
+        "id": "f1d91e2c.39ea7",
+        "type": "execute",
+        "name": "read sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI['+$id-ric-snssai+'].sNSSAI'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1474.7502746582031,
+        "y": 1108.0000505447388,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a0429884.cfd848",
+        "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=\"Matching sNSSAI found in config DB\"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI List length before removal\"/>\n<parameter name=\"field4\" value=\"`$tmp.ric.sNSSAILength`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1743.7501068115234,
+        "y": 652.2500057220459,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "10d38283.7f860d",
+        "type": "execute",
+        "name": "set list prefix",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForRoot'>\n\n\t<parameter name='root' value=\"`'getNFNSSIRIC-configdb-response.['+idy+'].pLMNInfoList['+id-ric+'].sNSSAI'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1801.5,
+        "y": 597.2500042915344,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2c21c13a.34e51e",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI['+$id-ric-snssai+'].sNSSAI'`\"  value=\"\" />\n",
+        "comments": "",
+        "x": 1776.250015258789,
+        "y": 740.0001735687256,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "2f7ab827.e25118",
+        "type": "execute",
+        "name": "read sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAIremoved' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI['+$id-ric-snssai+'].sNSSAI'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1759.249984741211,
+        "y": 784.9999923706055,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "918de726.1bb148",
+        "type": "execute",
+        "name": "generate removesNSSAIFromRIC URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.configdb.url + $prop.restapi.configdb.removenSSAINearRTRIC`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICNSSAIRemoval.url\"/>\n    <parameter name=\"target\" value=\"{nearRTRICId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1824.2499771118164,
+        "y": 856.2501149177551,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "704ad19e.0b58b",
+        "type": "execute",
+        "name": "prepare sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.configdb.getNearRTRICNSSAIRemoval.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICNSSAIRemoval.url\"/>\n    <parameter name=\"target\" value=\"{sNSSAI}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ric.sNSSAIremoved`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1751.2500076293945,
+        "y": 892.7500548362732,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "198f83f1.77fbdc",
+        "type": "execute",
+        "name": "Read RRMPolicy Member List Length",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersLength' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 2055.0002517700195,
+        "y": 3518.199954032898,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ee9e0cf.4a229f",
+        "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 - RRMPolicyMembersList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPRRMPolicyMembersLength`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2040.0001754760742,
+        "y": 3566.2000522613525,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6c3d34f7.4a7bbc",
+        "type": "execute",
+        "name": "RRMPolicyRatio id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 2043.799934387207,
+        "y": 3477.1999530792236,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a4f4cb8c.9b68b8",
+        "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 first - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2487.0001335144043,
+        "y": 3480.899953842163,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "55d63d3a.e975d4",
+        "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=\"before setting url\" />\n<parameter name=\"field2\" value=\"ransimnot mounted\" />\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3202.199996948242,
+        "y": 3153.300099849701,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1662cdcf.6a2522",
+        "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 after setting - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3235.199951171875,
+        "y": 3266.300052165985,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9bfca7b0.f4f088",
+        "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=\"Success\" />\n<parameter name=\"field2\" value=\"Tocheck if ransim  mounted\" />\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2775.60009765625,
+        "y": 3176.10010099411,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f1c3a8f8.c94528",
+        "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=\"Failure\" />\n<parameter name=\"field2\" value=\"Tocheck if ransim  mounted\" />\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2991.00004196167,
+        "y": 3404.1001505851746,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d2de6771.efdbc8",
+        "type": "execute",
+        "name": "generate terminate PLMNInfoListEntry CUUP URL for configdb",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUP`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1988.0000305175781,
+        "y": 2983.8000440597534,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "93144760.801e58",
+        "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.configdb.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{sNSSAI}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1831.0000228881836,
+        "y": 3023.200240135193,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "79c43870.a2ad08",
+        "type": "execute",
+        "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 + $tmp.deletePLMNInfo-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-plmninfo-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": 1894.000015258789,
+        "y": 3071.8000450134277,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "681ef506.35dfcc",
+                "3d983c59.485b74"
+            ]
+        ]
+    },
+    {
+        "id": "681ef506.35dfcc",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2152.4000282287598,
+        "y": 3030.200044631958,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "25b3c6e1.44971a"
+            ]
+        ]
+    },
+    {
+        "id": "3d983c59.485b74",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2179.4000244140625,
+        "y": 3108.2000455856323,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "fe907bcd.788a58"
+            ]
+        ]
+    },
+    {
+        "id": "25b3c6e1.44971a",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2347.400032043457,
+        "y": 3023.200044631958,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "5f2ce104.fe78c",
+                "9d4aca47.87a8b8"
+            ]
+        ]
+    },
+    {
+        "id": "fe907bcd.788a58",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2353.400032043457,
+        "y": 3101.200044631958,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "40489737.9646c8"
+            ]
+        ]
+    },
+    {
+        "id": "40489737.9646c8",
+        "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 from configdb\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2532.4000358581543,
+        "y": 3120.2000455856323,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9d4aca47.87a8b8",
+        "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": 2578.6000366210938,
+        "y": 3047.200044631958,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "5f2ce104.fe78c",
+        "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": 2579.6000366210938,
+        "y": 3009.2000436782837,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "9a96a4b2.4746f8",
+        "type": "execute",
+        "name": "read snssailist size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNssaiListLength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1300.9999923706055,
+        "y": 2290.599838256836,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ea26dc5f.4fcf4",
+        "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_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLength`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1298.0000686645508,
+        "y": 2343.800033569336,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9ee2eddd.0677b",
+        "type": "for",
+        "name": "foreach snssai",
+        "xml": "<for index='id-snssai' start='0' end='`$tmp.sNssaiListLength`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1486.0000915527344,
+        "y": 2505.4004287719727,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "aed3b1b4.80a13"
+            ]
+        ]
+    },
+    {
+        "id": "aed3b1b4.80a13",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1232.0000915527344,
+        "y": 2590.400478363037,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "d10c9390.82cd8",
+                "63fe6671.297f68",
+                "484a93f6.28344c"
+            ]
+        ]
+    },
+    {
+        "id": "e44d33a9.14a2b",
+        "type": "switchNode",
+        "name": "check the action",
+        "xml": "<switch test='`$tmp.sNssaiListLength > 0`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1233.9999923706055,
+        "y": 2434.200428009033,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "5703963b.e35f08",
+                "bea8c01c.0dcfb"
+            ]
+        ]
+    },
+    {
+        "id": "5703963b.e35f08",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1407.9999961853027,
+        "y": 2380.4000358581543,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "69570102.8ef0b"
+            ]
+        ]
+    },
+    {
+        "id": "bea8c01c.0dcfb",
+        "type": "outcome",
+        "name": "False",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1402.799997329712,
+        "y": 2449.599841117859,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "be68ead3.701768"
+            ]
+        ]
+    },
+    {
+        "id": "69570102.8ef0b",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1505.9999980926514,
+        "y": 2311.0000343322754,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "9ee2eddd.0677b",
+                "8d0d6da5.340fb"
+            ]
+        ]
+    },
+    {
+        "id": "be68ead3.701768",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1548.0000953674316,
+        "y": 2451.000036239624,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "e105266c.9446e8"
+            ]
+        ]
+    },
+    {
+        "id": "e105266c.9446e8",
+        "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=\"plmninfolistnssailength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLength`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1625.599998474121,
+        "y": 2396.2000370025635,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8d0d6da5.340fb",
+        "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=\"plmninfolistnssailength in true \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLength`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1653.400074005127,
+        "y": 2290.200033187866,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f576c333.0806f",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1782.2000274658203,
+        "y": 2667.4002838134766,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "de312c73.46e3f",
+                "4b2fff65.a27e4",
+                "cb4c199b.3e0788",
+                "e57630c1.8b205",
+                "9155057f.4d20f8",
+                "8bf3be00.15712",
+                "d2de6771.efdbc8",
+                "93144760.801e58",
+                "79c43870.a2ad08",
+                "b24ac4f0.5bb718"
+            ]
+        ]
+    },
+    {
+        "id": "6f4bd7b5.908f38",
+        "type": "outcome",
+        "name": "False",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1600,
+        "y": 2720.800040245056,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "5e543a4c.27e614"
+            ]
+        ]
+    },
+    {
+        "id": "5e543a4c.27e614",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1750,
+        "y": 2719.800039291382,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "94199b4a.78c2b8"
+            ]
+        ]
+    },
+    {
+        "id": "94199b4a.78c2b8",
+        "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=\"nssaimatch in false \"/>\n<parameter name=\"field2\" value=\"`nssai deletion does not takes place`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1743.0000038146973,
+        "y": 2785.800039291382,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b24ac4f0.5bb718",
+        "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=\"nssaimatch in True \"/>\n<parameter name=\"field2\" value=\"`Proceeding for nssai deletion`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1953.0000267028809,
+        "y": 2629.8000869750977,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bfb3d534.017f38",
+        "type": "execute",
+        "name": "Read RRMPolicyResourcetype",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersResourceType' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.resourceType'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 2082.199981689453,
+        "y": 3747.3999576568604,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7cd330e2.d77cb",
+        "type": "execute",
+        "name": "generate terminate rrmpolicy CUUP URL for configdb",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUPRRMPOLICY`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2143.600128173828,
+        "y": 3788.3999576568604,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "114043a5.304f6c",
+        "type": "execute",
+        "name": "prepare sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{sNSSAI}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2017.6000061035156,
+        "y": 3879.3999586105347,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fae94f2e.f92bf",
+        "type": "execute",
+        "name": "prepare resourcetype",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{resourcetype}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyMembersResourceType`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2016.5999755859375,
+        "y": 3838.39990234375,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a805d7.02515a28",
+        "type": "execute",
+        "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 + $tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-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": 2071.600128173828,
+        "y": 3937.3999605178833,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4a33f761.9b4d78",
+                "ff522f6b.949ed"
+            ]
+        ]
+    },
+    {
+        "id": "4a33f761.9b4d78",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2317.60009765625,
+        "y": 3878.39990234375,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "90c6de4b.bdf2b"
+            ]
+        ]
+    },
+    {
+        "id": "ff522f6b.949ed",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2324.600128173828,
+        "y": 3950.6001567840576,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "70cdd3b9.9e906c"
+            ]
+        ]
+    },
+    {
+        "id": "90c6de4b.bdf2b",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2486.60009765625,
+        "y": 3877.39990234375,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "b741a079.6220d",
+                "1b0b8aea.238cb5"
+            ]
+        ]
+    },
+    {
+        "id": "1b0b8aea.238cb5",
+        "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": 2675.6001358032227,
+        "y": 3880.399959564209,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "b741a079.6220d",
+        "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": 2666.60009765625,
+        "y": 3830.3999013900757,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "70cdd3b9.9e906c",
+        "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 rrmpolicy Entry from configdb\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2567.60009765625,
+        "y": 3962.39990234375,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b9d032fc.fe759",
+        "type": "block",
+        "name": "block :  gNBDU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1985.1999778747559,
+        "y": 4296.2002601623535,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "40e94d3c.6122a4",
+                "d40620ac.f176c",
+                "57c3b73e.64a1f8",
+                "4deee348.ac344c"
+            ]
+        ]
+    },
+    {
+        "id": "57c3b73e.64a1f8",
+        "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=\"Iterating \"/>\n<parameter name=\"field2\" value=\"`CellDU`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2104.2000312805176,
+        "y": 4167.200061798096,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4deee348.ac344c",
+        "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=\"plmninfolengthcelldu \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2169.2000312805176,
+        "y": 4294.200063705444,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c29779b1.b1aa18",
+        "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=\"LocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3060.39990234375,
+        "y": 4660.2001953125,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5ba55daa.5d5c44",
+        "type": "execute",
+        "name": "RRMPolicyRatio id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDURRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 3583.199951171875,
+        "y": 5534.1998863220215,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e4e6c6fb.c47608",
+        "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": 3952.2503509521484,
+        "y": 5525.750373840332,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "b30f0018.e67aa",
+        "type": "execute",
+        "name": "Read RRMPolicy Member List Length",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DURRMPolicyMembersLength' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />\n                                                                                                ",
+        "comments": "",
+        "outputs": 1,
+        "x": 3645.999954223633,
+        "y": 5575.1998863220215,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f4262947.ab62c8",
+        "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=\"RRMPOLICYmemberslength\"/>\n<parameter name=\"field2\" value=\"`$tmp.DURRMPolicyMembersLength`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3673.7999572753906,
+        "y": 5622.800277709961,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2e2fb2d2.df408e",
+        "type": "execute",
+        "name": "generate terminate plmn GNBDU URL for configdb",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAINRCellDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteplmninfo-GNBDU.configdb.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3111.39990234375,
+        "y": 5026.39990234375,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ca1dda20.5e3b98",
+        "type": "execute",
+        "name": "prepare sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteplmninfo-GNBDU.configdb.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteplmninfo-GNBDU.configdb.url\"/>\n    <parameter name=\"target\" value=\"{sNSSAI}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3006.4000930786133,
+        "y": 5088.400075912476,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "50278368.db0bdc",
+        "type": "execute",
+        "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 + $tmp.deleteplmninfo-GNBDU.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-GNBDU-plmninfo-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": 3043.4002838134766,
+        "y": 5141.400075912476,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "298a8168.379fbe",
+                "3b081686.0f488a"
+            ]
+        ]
+    },
+    {
+        "id": "298a8168.379fbe",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3285.399871826172,
+        "y": 5116.39984703064,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "208e0a64.f89b86"
+            ]
+        ]
+    },
+    {
+        "id": "3b081686.0f488a",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3292.39990234375,
+        "y": 5188.600101470947,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f293c3d.3ba024"
+            ]
+        ]
+    },
+    {
+        "id": "208e0a64.f89b86",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3454.399871826172,
+        "y": 5115.39984703064,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "395b7663.cb608a",
+                "28572668.7a176a"
+            ]
+        ]
+    },
+    {
+        "id": "28572668.7a176a",
+        "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": 3643.3999099731445,
+        "y": 5118.399904251099,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "395b7663.cb608a",
+        "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": 3634.399871826172,
+        "y": 5068.399846076965,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "f293c3d.3ba024",
+        "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 - gNBDU pmmninfo Entry from configdb\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3515.4001502990723,
+        "y": 5174.4001750946045,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a9a5d540.0562d8",
+        "type": "execute",
+        "name": "Read RRMPolicyResourcetype",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DURRMPolicyMembersResourceType' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.resourceType'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 3545.400146484375,
+        "y": 5908.600184440613,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4de47bd7.839ef4",
+        "type": "execute",
+        "name": "generate terminate rrmpolicy CUUP URL for configdb",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUPRRMPOLICY`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3603.800148010254,
+        "y": 5951.600184440613,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "98e6e0f9.b5916",
+        "type": "execute",
+        "name": "prepare sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{sNSSAI}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3498.800148010254,
+        "y": 6036.600185394287,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c87a723b.288cf",
+        "type": "execute",
+        "name": "prepare resourcetype",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{resourcetype}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.DURRMPolicyMembersResourceType`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3508.800148010254,
+        "y": 5991.600185394287,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1b9e6496.ea1deb",
+        "type": "execute",
+        "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 + $tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-DU-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": 3559.800148010254,
+        "y": 6079.600186824799,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "fee8f85a.1a2508",
+                "cb6cfa5c.68bb28"
+            ]
+        ]
+    },
+    {
+        "id": "fee8f85a.1a2508",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3814.800151824951,
+        "y": 6037.600185394287,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "bf1e2915.754598"
+            ]
+        ]
+    },
+    {
+        "id": "cb6cfa5c.68bb28",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3827.800151824951,
+        "y": 6085.800578117371,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "47001e67.9eee5"
+            ]
+        ]
+    },
+    {
+        "id": "bf1e2915.754598",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3975.8001556396484,
+        "y": 6044.600185394287,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "47001e67.9eee5",
+        "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 - gNBDU rrmpolicy Entry from configdb\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3984.8001556396484,
+        "y": 6086.600187301636,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6321d537.1c1adc",
+        "type": "execute",
+        "name": "Read RRMPolicyResourcetype",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CURRMPolicyMembersResourceType' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.resourceType'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 2536.199951171875,
+        "y": 2456.60009765625,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7dd69cb4.70b534",
+        "type": "execute",
+        "name": "generate terminate rrmpolicy CUUP URL for configdb",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUPRRMPOLICY`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2594.599952697754,
+        "y": 2499.60009765625,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "558bf697.a3d4e8",
+        "type": "execute",
+        "name": "prepare sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{sNSSAI}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2489.599952697754,
+        "y": 2584.6000986099243,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5963b2e3.24363c",
+        "type": "execute",
+        "name": "prepare resourcetype",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n    <parameter name=\"target\" value=\"{resourcetype}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CURRMPolicyMembersResourceType`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2499.599952697754,
+        "y": 2539.6000986099243,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b3960d7f.4908c",
+        "type": "execute",
+        "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 + $tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CU-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": 2550.599952697754,
+        "y": 2627.600100040436,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "c23dfa51.ce2338",
+                "88b47df2.b6aff"
+            ]
+        ]
+    },
+    {
+        "id": "c23dfa51.ce2338",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2805.599956512451,
+        "y": 2585.6000986099243,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "cf99e8d.d37ef18"
+            ]
+        ]
+    },
+    {
+        "id": "88b47df2.b6aff",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2818.599956512451,
+        "y": 2633.800491333008,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "9fe58a37.b07148"
+            ]
+        ]
+    },
+    {
+        "id": "cf99e8d.d37ef18",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2966.5999603271484,
+        "y": 2592.6000986099243,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9fe58a37.b07148",
+        "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 - gNBCU rrmpolicy Entry from configdb\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2975.5999603271484,
+        "y": 2634.600100517273,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "674b7fe9.46fa7",
+        "type": "execute",
+        "name": "generate terminate PLMNInfoListEntry CellCU URL for configdb",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAINRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CellCU.configdb.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2293.800048828125,
+        "y": 1487.5999755859375,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "28c4cba1.abbf94",
+        "type": "execute",
+        "name": "prepare sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CellCU.configdb.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CellCU.configdb.url\"/>\n    <parameter name=\"target\" value=\"{sNSSAI}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2136.8000411987305,
+        "y": 1527.000171661377,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e2bf4b5a.7ef268",
+        "type": "execute",
+        "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 + $tmp.deletePLMNInfo-CellCU.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CELLCU-plmninfo-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": 2199.800033569336,
+        "y": 1575.5999765396118,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "a056981.f313868",
+                "c4838e58.af2e2"
+            ]
+        ]
+    },
+    {
+        "id": "a056981.f313868",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2458.2000465393066,
+        "y": 1533.999976158142,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "729d4f78.c5025"
+            ]
+        ]
+    },
+    {
+        "id": "c4838e58.af2e2",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2485.2000427246094,
+        "y": 1611.9999771118164,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "aa482839.031be8"
+            ]
+        ]
+    },
+    {
+        "id": "729d4f78.c5025",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2653.200050354004,
+        "y": 1526.999976158142,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "4e5bf54.b88e70c",
+                "8b61600f.5b1a3"
+            ]
+        ]
+    },
+    {
+        "id": "aa482839.031be8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2659.200050354004,
+        "y": 1604.999976158142,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "265a33fd.f817bc"
+            ]
+        ]
+    },
+    {
+        "id": "265a33fd.f817bc",
+        "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 - CEllCU PLMNInfo Entry from configdb\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2838.200054168701,
+        "y": 1623.9999771118164,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8b61600f.5b1a3",
+        "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": 2884.4000549316406,
+        "y": 1550.999976158142,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "4e5bf54.b88e70c",
+        "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": 2885.4000549316406,
+        "y": 1512.9999752044678,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "1a14cf2c.069a91",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2331.3999366760254,
+        "y": 4110.000060081482,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "6ef50ae0.99f6b4",
+                "2e5e54b6.50f7cc",
+                "6aee5b68.e95934"
+            ]
+        ]
+    },
+    {
+        "id": "6ef50ae0.99f6b4",
+        "type": "execute",
+        "name": "read snssailist size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNssaiListLengthDU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2582.14990234375,
+        "y": 4042.3496067523956,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2e5e54b6.50f7cc",
+        "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=\"DU_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2579.1500358581543,
+        "y": 4092.550060272217,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1c6ba8ba.6541b7",
+        "type": "for",
+        "name": "foreach snssai",
+        "xml": "<for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2767.150001525879,
+        "y": 4257.150197267532,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "47d28d8e.7e6534"
+            ]
+        ]
+    },
+    {
+        "id": "47d28d8e.7e6534",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2513.150001525879,
+        "y": 4342.150246858597,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "ff36d37.28a253",
+                "bd21b7.8f467e48",
+                "e8d9adcf.46f42"
+            ]
+        ]
+    },
+    {
+        "id": "6aee5b68.e95934",
+        "type": "switchNode",
+        "name": "check the action",
+        "xml": "<switch test='`$tmp.sNssaiListLengthDU > 0`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2515.14990234375,
+        "y": 4185.950196504593,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "96de2b78.2ef7f8",
+                "710d8b1b.09fce4"
+            ]
+        ]
+    },
+    {
+        "id": "96de2b78.2ef7f8",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2689.1499061584473,
+        "y": 4132.149804353714,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8f9b2ad1.025768"
+            ]
+        ]
+    },
+    {
+        "id": "710d8b1b.09fce4",
+        "type": "outcome",
+        "name": "False",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2683.9499073028564,
+        "y": 4201.349609613419,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "76adef10.ffb57"
+            ]
+        ]
+    },
+    {
+        "id": "8f9b2ad1.025768",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2787.149908065796,
+        "y": 4062.749802827835,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1c6ba8ba.6541b7",
+                "50212c66.98be54"
+            ]
+        ]
+    },
+    {
+        "id": "76adef10.ffb57",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2829.150005340576,
+        "y": 4202.749804735184,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "14789ddb.87d092"
+            ]
+        ]
+    },
+    {
+        "id": "14789ddb.87d092",
+        "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=\"plmninfolistnssailength in false in DU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2906.7499084472656,
+        "y": 4147.949805498123,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "50212c66.98be54",
+        "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=\"plmninfolistnssailength in true in DU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2934.5499839782715,
+        "y": 4041.949801683426,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1966dcbb.653793",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2613.199951171875,
+        "y": 420.3999938964844,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "85f0f199.e85ad",
+                "654785f4.3e85ec",
+                "35093caa.7bdfb4"
+            ]
+        ]
+    },
+    {
+        "id": "85f0f199.e85ad",
+        "type": "execute",
+        "name": "read snssailist size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNssaiListLengthCU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2863.9499168395996,
+        "y": 352.74954056739807,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "654785f4.3e85ec",
+        "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=\"CU_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2860.950050354004,
+        "y": 402.94999408721924,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "496fdc9.3f5cc24",
+        "type": "for",
+        "name": "foreach snssai",
+        "xml": "<for index='id-cusnssai' start='0' end='`$tmp.sNssaiListLengthCU`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3048.9500160217285,
+        "y": 567.5501310825348,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "71e6f9e5.e94b58"
+            ]
+        ]
+    },
+    {
+        "id": "35093caa.7bdfb4",
+        "type": "switchNode",
+        "name": "check the action",
+        "xml": "<switch test='`$tmp.sNssaiListLengthCU > 0`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2796.9499168395996,
+        "y": 496.35013031959534,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8cdcdb7a.f928d8",
+                "899c5061.0a3aa"
+            ]
+        ]
+    },
+    {
+        "id": "8cdcdb7a.f928d8",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2970.949920654297,
+        "y": 442.54973816871643,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1859cc3b.1a3174"
+            ]
+        ]
+    },
+    {
+        "id": "899c5061.0a3aa",
+        "type": "outcome",
+        "name": "False",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2966.7500915527344,
+        "y": 492.74956130981445,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "aac3ec76.61ada"
+            ]
+        ]
+    },
+    {
+        "id": "1859cc3b.1a3174",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3068.9499225616455,
+        "y": 373.1497366428375,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "496fdc9.3f5cc24",
+                "39a27b61.3b1f64"
+            ]
+        ]
+    },
+    {
+        "id": "aac3ec76.61ada",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3119.950096130371,
+        "y": 505.1497564315796,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "235bb324.60385c"
+            ]
+        ]
+    },
+    {
+        "id": "235bb324.60385c",
+        "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=\"plmninfolistnssailength in false in CU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3296.5499000549316,
+        "y": 502.3497314453125,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "39a27b61.3b1f64",
+        "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=\"plmninfolistnssailength in true in CU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3216.349998474121,
+        "y": 352.34973549842834,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6762ecfb.cef0a4",
+        "type": "switchNode",
+        "name": "check the action for terminate",
+        "xml": "<switch test='`$terminate-r-a-n-slice-instance-input.action == deallocate`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 632,
+        "y": 227.5000033378601,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "256e54f8.3869cc",
+                "cbc969e.5362998"
+            ]
+        ]
+    },
+    {
+        "id": "256e54f8.3869cc",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 842,
+        "y": 146.5000033378601,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f01bc06c.e1c8b"
+            ]
+        ]
+    },
+    {
+        "id": "cbc969e.5362998",
+        "type": "outcome",
+        "name": "False",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 860.9999885559082,
+        "y": 300.50002670288086,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "63117eb4.27b71"
+            ]
+        ]
+    },
+    {
+        "id": "cacfc7c6.6f52b8",
+        "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=\"modify deallocate called\" />\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1191.8007507324219,
+        "y": 266.3001022338867,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f01bc06c.e1c8b",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1012.0000801086426,
+        "y": 138.7000527381897,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "bc3f9e5e.ae929",
+                "834f7993.c76608"
+            ]
+        ]
+    },
+    {
+        "id": "63117eb4.27b71",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1022.0001831054688,
+        "y": 300.700026512146,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "cacfc7c6.6f52b8",
+                "ec3388e.f323578"
+            ]
+        ]
+    },
+    {
+        "id": "bc3f9e5e.ae929",
+        "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=\"deallocate called\" />\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1182.7999687194824,
+        "y": 72.50000667572021,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8ce4a4a8.077338",
+        "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": 3274.800048828125,
+        "y": 165.50000190734863,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bc8ed918.ef6878",
+        "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": 3293.549945831299,
+        "y": 210.00000190734863,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f84f8790.5374d8",
+        "type": "switchNode",
+        "name": "check action",
+        "xml": "<switch test='`$tmp.action`'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3294.300247192383,
+        "y": 96.75,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "5218202e.60a1d",
+                "a40fb251.03696"
+            ]
+        ]
+    },
+    {
+        "id": "5218202e.60a1d",
+        "type": "success",
+        "name": "deallocate",
+        "xml": "<outcome value='deallocate'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3481.300048828125,
+        "y": 107.50002574920654,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3d2d19c3.709246"
+            ]
+        ]
+    },
+    {
+        "id": "de4468e8.48f068",
+        "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.sNSSAI`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3892.3002548217773,
+        "y": 181.50000286102295,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a40fb251.03696",
+        "type": "failure",
+        "name": "modify-deallocate",
+        "xml": "<outcome value='modify-deallocate'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3476.300048828125,
+        "y": 205.50000190734863,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "d95a2e19.c845f"
+            ]
+        ]
+    },
+    {
+        "id": "78741a05.078744",
+        "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: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3853.5500526428223,
+        "y": 135.50000190734863,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3d2d19c3.709246",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3653.550048828125,
+        "y": 107.50000190734863,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "78741a05.078744",
+                "c803791a.ecad78"
+            ]
+        ]
+    },
+    {
+        "id": "c803791a.ecad78",
+        "type": "set",
+        "name": "read sNSSAI from input",
+        "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>",
+        "comments": "",
+        "x": 3855.5500564575195,
+        "y": 86.50000095367432,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "1d89edd2.326562",
+        "type": "set",
+        "name": "read action from input",
+        "xml": "<set>\n<parameter name='tmp.action' value=\"`$terminate-r-a-n-slice-instance-input.action`\"/>",
+        "comments": "",
+        "x": 3313.050048828125,
+        "y": 50,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "d95a2e19.c845f",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3670.100051879883,
+        "y": 202.00000190734863,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "de4468e8.48f068",
+                "ddf22632.651d18"
+            ]
+        ]
+    },
+    {
+        "id": "ddf22632.651d18",
+        "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=\"modify-deallocate-sNSSAI: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3912.10005569458,
+        "y": 250.00000381469727,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8a178b1d.f4eb18",
+        "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-instance-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2706.199951171875,
+        "y": 137,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "eba8eb3.af56018"
+            ]
+        ]
+    },
+    {
+        "id": "eba8eb3.af56018",
+        "type": "other",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2907.4497604370117,
+        "y": 126.25,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "47796188.60d39"
+            ]
+        ]
+    },
+    {
+        "id": "47796188.60d39",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3073.4498596191406,
+        "y": 120.25,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "1d89edd2.326562",
+                "f84f8790.5374d8",
+                "8ce4a4a8.077338",
+                "bc8ed918.ef6878"
+            ]
+        ]
+    },
+    {
+        "id": "ec3388e.f323578",
+        "type": "execute",
+        "name": "execute jsonStringToCtx",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='instantiate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1305.2001647949219,
+        "y": 347.00000381469727,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "551c7a39.f6f354"
+            ]
+        ]
+    },
+    {
+        "id": "551c7a39.f6f354",
+        "type": "other",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1566.1999740600586,
+        "y": 295,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "bb9cc7c0.cbb448"
+            ]
+        ]
+    },
+    {
+        "id": "bb9cc7c0.cbb448",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1737.1999740600586,
+        "y": 296.0000009536743,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "81a058de.bf8438",
+                "d8587bc4.f19b48",
+                "c84b5f23.9e568",
+                "82a15925.e24a98",
+                "3cc3117e.14214e",
+                "3dff9dd4.ab6852"
+            ]
+        ]
+    },
+    {
+        "id": "81a058de.bf8438",
+        "type": "set",
+        "name": "read action from input",
+        "xml": "<set>\n<parameter name='tmp.action' value=\"`$instantiate-r-a-n-slice-input.action`\"/>",
+        "comments": "",
+        "x": 1957.2000732421875,
+        "y": 278.00000381469727,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "d8587bc4.f19b48",
+        "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": 1927.1999816894531,
+        "y": 315,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c84b5f23.9e568",
+        "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 modifyallocateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1925.9497833251953,
+        "y": 361.5000009536743,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "82a15925.e24a98",
+        "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=\"modify-deallocate-sNSSAI: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$tmp.sliceprofileid`\"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1917.4000778198242,
+        "y": 495.50000762939453,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "834f7993.c76608",
+        "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-instance-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1400.8000679016113,
+        "y": 150,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "9457812.4d6b68"
+            ]
+        ]
+    },
+    {
+        "id": "9457812.4d6b68",
+        "type": "other",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1602.8000259399414,
+        "y": 75.99999809265137,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "bc6e886d.0d2b48"
+            ]
+        ]
+    },
+    {
+        "id": "bc6e886d.0d2b48",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1773.8000259399414,
+        "y": 76.99999904632568,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "f6fc1e87.b86c6",
+                "c9836f06.5a35c",
+                "2effe823.d20c68",
+                "e8c85559.410848",
+                "6aa3771c.546398",
+                "d57471a8.bc86b"
+            ]
+        ]
+    },
+    {
+        "id": "f6fc1e87.b86c6",
+        "type": "set",
+        "name": "read action from input",
+        "xml": "<set>\n<parameter name='tmp.action' value=\"`$terminate-r-a-n-slice-instance-input.action`\"/>",
+        "comments": "",
+        "x": 1993.8000259399414,
+        "y": 53.99999809265137,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "c9836f06.5a35c",
+        "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": 1963.800033569336,
+        "y": 95.99999809265137,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2effe823.d20c68",
+        "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": 1956.800048828125,
+        "y": 133,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6aa3771c.546398",
+        "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=\"DEallocate sNSSAI: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$tmp.sliceprofileid`\"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1958.8000793457031,
+        "y": 241.00000381469727,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e8c85559.410848",
+        "type": "set",
+        "name": "read sNSSAI from input",
+        "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>",
+        "comments": "",
+        "x": 2023.8000793457031,
+        "y": 171.00000190734863,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "3cc3117e.14214e",
+        "type": "set",
+        "name": "read sNSSAI from input sliceprofile",
+        "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>",
+        "comments": "",
+        "x": 1982.4000244140625,
+        "y": 406,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "3dff9dd4.ab6852",
+        "type": "set",
+        "name": "read SpId from input sliceprofile",
+        "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+        "comments": "",
+        "x": 2009.800048828125,
+        "y": 451,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "d57471a8.bc86b",
+        "type": "set",
+        "name": "read SpId from input ",
+        "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfileId`\"/>",
+        "comments": "",
+        "x": 2047.8000793457031,
+        "y": 205.00000190734863,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "bfd5daae.fcaf68",
+        "type": "execute",
+        "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'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 852.5625305175781,
+        "y": 729.374997138977,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4705045c.022f3c",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 835.3750305175781,
+        "y": 782.187497138977,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3465b99a.35d066",
+                "a1e8ada5.6e6b"
+            ]
+        ]
+    },
+    {
+        "id": "3465b99a.35d066",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1052.8750610351562,
+        "y": 697.9373302459717,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "157d64ca.012ddb"
+            ]
+        ]
+    },
+    {
+        "id": "a1e8ada5.6e6b",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1042.3750305175781,
+        "y": 739.4375009536743,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "14dccd03.8e4ad3"
+            ]
+        ]
+    },
+    {
+        "id": "14dccd03.8e4ad3",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1191.3746948242188,
+        "y": 752.4376063346863,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "85667e11.d1145",
+                "fb4888d6.ac6bb8"
+            ]
+        ]
+    },
+    {
+        "id": "157d64ca.012ddb",
+        "type": "execute",
+        "name": "generate remove sliceProfile url",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.nearrtric.removeSliceProfile`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1323.6249618530273,
+        "y": 695.6875009536743,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "85667e11.d1145",
+        "type": "execute",
+        "name": "generate sliceprofile removal",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.nearrtric.removeSliceProfile.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1089.6246871948242,
+        "y": 817.43745470047,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fb4888d6.ac6bb8",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteSliceProfileEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1012.3751449584961,
+        "y": 857.9376392364502,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "69f78430.48a3fc",
+        "type": "execute",
+        "name": "Remove Slice Profile",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteSliceProfileEntry.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-slice-profile-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\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1012.8751449584961,
+        "y": 1012.1875162124634,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "66924de8.f37e54",
+                "b862d96e.55cb28"
+            ]
+        ]
+    },
+    {
+        "id": "66924de8.f37e54",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1214.1250305175781,
+        "y": 880.937497138977,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "d3e0ba8.90a2d48"
+            ]
+        ]
+    },
+    {
+        "id": "b862d96e.55cb28",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1197.4431686401367,
+        "y": 953.5965905189514,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "8d8ba70f.cba918"
+            ]
+        ]
+    },
+    {
+        "id": "d3e0ba8.90a2d48",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1381.0000305175781,
+        "y": 862.187497138977,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3e2ff250.a8d48e",
+                "14e27744.691bc9"
+            ]
+        ]
+    },
+    {
+        "id": "14e27744.691bc9",
+        "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": 1529.9997215270996,
+        "y": 825.2984752655029,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "3e2ff250.a8d48e",
+        "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": 1543.9997253417969,
+        "y": 900.1875438690186,
+        "z": "9f8808d.55bc2f8",
+        "wires": []
+    },
+    {
+        "id": "3408ca3e.56abe6",
+        "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 Slice Profile\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1458.5000610351562,
+        "y": 1022.1875200271606,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8d8ba70f.cba918",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1379.0000228881836,
+        "y": 967.9374116659164,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            [
+                "3408ca3e.56abe6"
+            ]
+        ]
+    },
+    {
+        "id": "39afb101.1f51ee",
+        "type": "execute",
+        "name": "prepare slice profile id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.deleteSliceProfileEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n    <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sliceprofileid`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 934.4375343322754,
+        "y": 918.4375171661377,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9dd16454.4c7f18",
+        "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=\"sliceprofileid\"/>\n<parameter name=\"field2\" value=\"`$tmp.sliceprofileid`\" />\n<parameter name=\"field3\" value=\"nearRTRICId\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\" />\n<parameter name=\"field5\" value=\"endpoint URL\"/>\n<parameter name=\"field6\" value=\"`$tmp.deleteSliceProfileEntry.url`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 914.1250305175781,
+        "y": 967.187497138977,
+        "z": "9f8808d.55bc2f8",
+        "wires": [
+            []
+        ]
+    }
+]
\ No newline at end of file