RAN Slice allocate - CPS Integration 92/127892/2
authorAhila <ahila.pandaram@wipro.com>
Sat, 19 Mar 2022 19:15:59 +0000 (00:45 +0530)
committerAhila <ahila.pandaram@wipro.com>
Sun, 20 Mar 2022 06:00:53 +0000 (11:30 +0530)
Issue-ID: CCSDK-3600

Signed-off-by: Ahila <ahila.pandaram@wipro.com>
Change-Id: I32c896ee01fbe4f97a3a28fbf8f10667339179c1

14 files changed:
odlsli/src/main/properties/ran-slice-api-dg.properties
platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate-CPS.json [new file with mode: 0644]
platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate-CPS.xml [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-cuup-rrm-policy.json [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcellcu.json [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json [new file with mode: 0644]

index d2cbb25..46027d0 100644 (file)
@@ -209,6 +209,17 @@ inventory.schemaset=ran-inventory
 
 #CPS-TBDMT xpath template ids
 
 
 #CPS-TBDMT xpath template ids
 
+#allocate templates
+tbdmt.template.get-ric-from-cell-id=get-ric-from-cell-id
+tbdmt.template.add-nearrtric=add-nearrtric
+tbdmt.template.add-snssai-nrcellcu=add-snssai-nrcellcu
+tbdmt.template.add-nrcellcu-rrm-policy=add-nrcellcu-rrm-policy
+tbdmt.template.add-snssai-cuup=add-snssai-cuup
+tbdmt.template.add-cuup-rrm-policy=add-cuup-rrm-policy
+tbdmt.template.add-nrcelldu-snssai=add-nrcelldu-snssai
+tbdmt.template.add-nrcelldu-rrm-policy=add-nrcelldu-rrm-policy
+tbdmt.template.ran-inventory-new-slice=ran-inventory-new-slice
+
 #modify-allocate
 tbdmt.template.get-nearrtric-by-rannfnssi=get-nearrtric-by-rannfnssi
 tbdmt.template.get-cells-list=get-cells-list
 #modify-allocate
 tbdmt.template.get-nearrtric-by-rannfnssi=get-nearrtric-by-rannfnssi
 tbdmt.template.get-cells-list=get-cells-list
index 79a2cec..f2f683f 100644 (file)
@@ -1,36 +1,36 @@
 [
     {
 [
     {
-        "id": "3f941b4b.2702e4",
+        "id": "d60eeaa7.04d628",
         "type": "method",
         "name": "method",
         "xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
         "comments": "",
         "outputs": 1,
         "type": "method",
         "name": "method",
         "xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 124,
-        "y": 204.9895896911621,
-        "z": "f9d3d04a.3c65",
+        "x": 259.75,
+        "y": 271.9895896911621,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "7a80f952.c6a8b8"
+                "5ccc911e.9e81e"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "1d8737b8.63b7f8",
+        "id": "68f9691c.2f0b48",
         "type": "dgstart",
         "name": "DGSTART",
         "outputs": 1,
         "type": "dgstart",
         "name": "DGSTART",
         "outputs": 1,
-        "x": 127,
-        "y": 54.989585876464844,
-        "z": "f9d3d04a.3c65",
+        "x": 262.75,
+        "y": 121.98958587646484,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "ce2733d8.99f52"
+                "bac83608.c50d68"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "ce2733d8.99f52",
+        "id": "bac83608.c50d68",
         "type": "service-logic",
         "name": "ran-slice-api ${project.version}",
         "module": "ran-slice-api",
         "type": "service-logic",
         "name": "ran-slice-api ${project.version}",
         "module": "ran-slice-api",
         "comments": "",
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
         "outputs": 1,
         "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": 184.99998474121094,
-        "y": 115.98968124389648,
-        "z": "f9d3d04a.3c65",
+        "x": 320.74998474121094,
+        "y": 182.98968124389648,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "3f941b4b.2702e4"
+                "d60eeaa7.04d628"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "7a80f952.c6a8b8",
+        "id": "5ccc911e.9e81e",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 133.48959732055664,
-        "y": 369.9896306991577,
-        "z": "f9d3d04a.3c65",
+        "x": 269.23959732055664,
+        "y": 436.9896306991577,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "41563eb1.4e85c",
-                "31a05301.7c3e2c",
-                "ccadd09.547343",
-                "20cbc620.3646ca",
-                "fbc241df.458d3",
-                "c2591232.df978",
-                "81c6b27a.38845",
-                "d0bde4c8.642a28",
-                "a9edd79d.7f4d18"
+                "3e824a73.fb5b16",
+                "465caed8.63362",
+                "8db8495d.07c488",
+                "5e42bc49.a8d8d4",
+                "5cbd768d.c29ac8",
+                "d2a66fa0.e0a1a",
+                "394724fc.0853fc",
+                "1a6e0bf9.bb51e4",
+                "28dcefbc.9b39e"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "d0bde4c8.642a28",
+        "id": "1a6e0bf9.bb51e4",
         "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": "",
         "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": 393.48958587646484,
-        "y": 915.9899969100952,
-        "z": "f9d3d04a.3c65",
+        "x": 529.2395858764648,
+        "y": 982.9899969100952,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "c9ac38c7.5934a8",
+        "id": "1d70acb8.86b953",
         "type": "comment",
         "name": "instantiateRANSlice",
         "info": "",
         "comments": "",
         "type": "comment",
         "name": "instantiateRANSlice",
         "info": "",
         "comments": "",
-        "x": 409,
-        "y": 48,
-        "z": "f9d3d04a.3c65",
+        "x": 544.75,
+        "y": 115,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "41563eb1.4e85c",
+        "id": "3e824a73.fb5b16",
         "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=\"RPC to handle instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$instantiate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$instantiate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$instantiate-r-a-n-slice-input.payload`\"/>",
         "comments": "",
         "outputs": 1,
         "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=\"RPC to handle instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$instantiate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$instantiate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$instantiate-r-a-n-slice-input.payload`\"/>",
         "comments": "",
         "outputs": 1,
-        "x": 467.0003356933594,
-        "y": 99.01045989990234,
-        "z": "f9d3d04a.3c65",
+        "x": 602.7503356933594,
+        "y": 166.01045989990234,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "ccadd09.547343",
+        "id": "8db8495d.07c488",
         "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,
         "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": 516.0000915527344,
-        "y": 188.0104274749756,
-        "z": "f9d3d04a.3c65",
+        "x": 651.7500915527344,
+        "y": 255.0104274749756,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "1bc972ad.8fa63d"
+                "3eb1671b.d7c9a8"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "1bc972ad.8fa63d",
+        "id": "3eb1671b.d7c9a8",
         "type": "other",
         "name": "success",
         "xml": "<outcome value='success'>\n",
         "comments": "",
         "outputs": 1,
         "type": "other",
         "name": "success",
         "xml": "<outcome value='success'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 744.0001029968262,
-        "y": 168.01044273376465,
-        "z": "f9d3d04a.3c65",
+        "x": 879.7501029968262,
+        "y": 235.01044273376465,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "e67c32ca.22c34"
+                "8a88e17c.c4fc"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "34a92a48.207396",
+        "id": "44706bef.adc7d4",
         "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=\"Payload for instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.NSSAI`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field9\" value=\"`$payloadJson.input.sliceProfile.coverageAreaList[0]`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.RANNSSIId`\"/>\n<parameter name=\"field13\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field14\" value=\"`$payloadJson.input.callbackURL`\"/>\n\n\n",
         "comments": "",
         "outputs": 1,
         "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=\"Payload for instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.NSSAI`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field9\" value=\"`$payloadJson.input.sliceProfile.coverageAreaList[0]`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.RANNSSIId`\"/>\n<parameter name=\"field13\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field14\" value=\"`$payloadJson.input.callbackURL`\"/>\n\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 1087.0002765655518,
-        "y": 175.01047134399414,
-        "z": "f9d3d04a.3c65",
+        "x": 1222.7502765655518,
+        "y": 242.01047134399414,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "20cbc620.3646ca",
+        "id": "5e42bc49.a8d8d4",
         "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,
         "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": 498.0000534057617,
-        "y": 273.01038455963135,
-        "z": "f9d3d04a.3c65",
+        "x": 633.7500534057617,
+        "y": 340.01038455963135,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "fbc241df.458d3",
+        "id": "5cbd768d.c29ac8",
         "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=\"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,
         "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=\"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": 477.00009536743164,
-        "y": 322.0104274749756,
-        "z": "f9d3d04a.3c65",
+        "x": 612.7500953674316,
+        "y": 389.0104274749756,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "c2591232.df978",
+        "id": "d2a66fa0.e0a1a",
         "type": "switchNode",
         "name": "switch configdb deployed",
         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
         "comments": "",
         "outputs": 1,
         "type": "switchNode",
         "name": "switch configdb deployed",
         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 370.00011444091797,
-        "y": 689.8993291854858,
-        "z": "f9d3d04a.3c65",
+        "x": 505.75011444091797,
+        "y": 756.8993291854858,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "73aff694.f5c308",
-                "17edd644.4e6b2a"
+                "ff2e1ee2.6b53c",
+                "508daf40.6a247"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "73aff694.f5c308",
+        "id": "ff2e1ee2.6b53c",
         "type": "outcome",
         "name": "ConfigDB Deployed",
         "xml": "<outcome value='true'>\n",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "ConfigDB Deployed",
         "xml": "<outcome value='true'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 590.0001449584961,
-        "y": 675.8992986679077,
-        "z": "f9d3d04a.3c65",
+        "x": 725.7501449584961,
+        "y": 742.8992986679077,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "ac3dcb7.c4e2a38"
+                "e2df999c.fb98b8"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "31a05301.7c3e2c",
+        "id": "465caed8.63362",
         "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 instantiateRANSice RPC' />",
         "comments": "",
         "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 instantiateRANSice RPC' />",
         "comments": "",
-        "x": 516.0000915527344,
-        "y": 147.01047706604004,
-        "z": "f9d3d04a.3c65",
+        "x": 651.7500915527344,
+        "y": 214.01047706604004,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "b2d8bfe1.fb9e3",
+        "id": "72f39797.900278",
         "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-context.log' />\n\n\n",
         "comments": "",
         "outputs": 1,
         "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-context.log' />\n\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 1105.0002746582031,
-        "y": 109.01044368743896,
-        "z": "f9d3d04a.3c65",
+        "x": 1240.7502746582031,
+        "y": 176.01044368743896,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "e67c32ca.22c34",
+        "id": "8a88e17c.c4fc",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 913.0001907348633,
-        "y": 143.0104410648346,
-        "z": "f9d3d04a.3c65",
+        "x": 1048.7501907348633,
+        "y": 210.0104410648346,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "b2d8bfe1.fb9e3",
-                "34a92a48.207396"
+                "72f39797.900278",
+                "44706bef.adc7d4"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "b7d815c7.418ce8",
+        "id": "a63852bc.e0784",
         "type": "set",
         "name": "set Temp Variables",
         "xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaTAList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
         "comments": "",
         "type": "set",
         "name": "set Temp Variables",
         "xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaTAList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
         "comments": "",
-        "x": 1357.0003280639648,
-        "y": 349.01045751571655,
-        "z": "f9d3d04a.3c65",
+        "x": 1492.7503280639648,
+        "y": 416.01045751571655,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "ac3dcb7.c4e2a38",
+        "id": "e2df999c.fb98b8",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 676.0001678466797,
-        "y": 782.0000066757202,
-        "z": "f9d3d04a.3c65",
+        "x": 811.7501678466797,
+        "y": 849.0000066757202,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "b41e996d.bd8628"
+                "77fa640f.db377c"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "81c6b27a.38845",
+        "id": "394724fc.0853fc",
         "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-context.log' />\n\n\n",
         "comments": "",
         "outputs": 1,
         "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-context.log' />\n\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 490.00001525878906,
-        "y": 232.00002670288086,
-        "z": "f9d3d04a.3c65",
+        "x": 625.7500152587891,
+        "y": 299.00002670288086,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "c9f45086.19038",
+        "id": "acf82cef.15006",
         "type": "execute",
         "name": "SliStringUtils - substring MCC",
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.payload.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mcc\"/>\n    <parameter name=\"begin-index\" value=\"0\" />\n    <parameter name=\"end-index\" value=\"3\" />",
         "comments": "",
         "outputs": 1,
         "type": "execute",
         "name": "SliStringUtils - substring MCC",
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.payload.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mcc\"/>\n    <parameter name=\"begin-index\" value=\"0\" />\n    <parameter name=\"end-index\" value=\"3\" />",
         "comments": "",
         "outputs": 1,
-        "x": 1908.2835540771484,
-        "y": 489.01049613952637,
-        "z": "f9d3d04a.3c65",
+        "x": 2044.0335540771484,
+        "y": 556.0104961395264,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "f455a778.da6da8",
+        "id": "e5a10ee0.56f6f",
         "type": "execute",
         "name": "SliStringUtils - substring MNC",
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.payload.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mnc\"/>\n    <parameter name=\"begin-index\" value=\"4\" />",
         "comments": "",
         "outputs": 1,
         "type": "execute",
         "name": "SliStringUtils - substring MNC",
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.payload.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mnc\"/>\n    <parameter name=\"begin-index\" value=\"4\" />",
         "comments": "",
         "outputs": 1,
-        "x": 1902.2835311889648,
-        "y": 525.101318359375,
-        "z": "f9d3d04a.3c65",
+        "x": 2038.0335311889648,
+        "y": 592.101318359375,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "f80cc38b.62487",
+        "id": "ad3e31c9.21307",
         "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=\"PLMNID from Payload: MCC-MNC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
         "comments": "",
         "outputs": 1,
         "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=\"PLMNID from Payload: MCC-MNC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1310.004295349121,
-        "y": 540.003885269165,
-        "z": "f9d3d04a.3c65",
+        "x": 1445.754295349121,
+        "y": 607.003885269165,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "faaa89ed.ed2b88",
+        "id": "dd6df52c.086ec8",
         "type": "comment",
         "name": "TO DO",
         "info": "- Use \"List of Cells for Tracking Area\" everywhere list\nof cells are sequenced for Restconf transactions...\nNo need to go through all cells as captured in the configDB\nresponse....localID will be the actual value returned \nin \n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $ids + ']'`\" />\n\t\n\ttmp.trackingarea.cell would be cellLocalID",
         "comments": "",
         "type": "comment",
         "name": "TO DO",
         "info": "- Use \"List of Cells for Tracking Area\" everywhere list\nof cells are sequenced for Restconf transactions...\nNo need to go through all cells as captured in the configDB\nresponse....localID will be the actual value returned \nin \n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $ids + ']'`\" />\n\t\n\ttmp.trackingarea.cell would be cellLocalID",
         "comments": "",
-        "x": 764,
-        "y": 87,
-        "z": "f9d3d04a.3c65",
+        "x": 899.75,
+        "y": 154,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "b41e996d.bd8628",
+        "id": "77fa640f.db377c",
         "type": "switchNode",
         "name": "switch action",
         "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
         "comments": "",
         "outputs": 1,
         "type": "switchNode",
         "name": "switch action",
         "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
         "comments": "",
         "outputs": 1,
-        "x": 867.0104866027832,
-        "y": 787.0104658603668,
-        "z": "f9d3d04a.3c65",
+        "x": 1002.7604866027832,
+        "y": 854.0104658603668,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "67a2e052.c60c6",
-                "5cab371e.d1a488",
-                "fd1feb8c.2f22b8",
-                "98376a73.6f9498"
+                "ccfa22cd.0ed35",
+                "1ebffd4c.610c73",
+                "4f55213a.d1da1",
+                "2616c4f0.d24a2c"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "67a2e052.c60c6",
+        "id": "ccfa22cd.0ed35",
         "type": "outcome",
         "name": "allocate",
         "xml": "<outcome value='allocate'>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "allocate",
         "xml": "<outcome value='allocate'>",
         "comments": "",
         "outputs": 1,
-        "x": 1095.010498046875,
-        "y": 660.8993492126465,
-        "z": "f9d3d04a.3c65",
+        "x": 1230.760498046875,
+        "y": 727.8993492126465,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "60ab4a0b.a74734"
+                "df92716d.c3adb"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "5cab371e.d1a488",
+        "id": "1ebffd4c.610c73",
         "type": "outcome",
         "name": "modify-allocate",
         "xml": "<outcome value='modify-allocate'>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "modify-allocate",
         "xml": "<outcome value='modify-allocate'>",
         "comments": "",
         "outputs": 1,
-        "x": 1104.7247695922852,
-        "y": 736.3993918895721,
-        "z": "f9d3d04a.3c65",
+        "x": 1240.4747695922852,
+        "y": 803.3993918895721,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "2e8f21ac.f86bde"
+                "9bdccac5.142a98"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "fd1feb8c.2f22b8",
+        "id": "4f55213a.d1da1",
         "type": "outcome",
         "name": "modify-deallocate",
         "xml": "<outcome value='modify-deallocate'>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "modify-deallocate",
         "xml": "<outcome value='modify-deallocate'>",
         "comments": "",
         "outputs": 1,
-        "x": 1112.0818710327148,
-        "y": 826.54221534729,
-        "z": "f9d3d04a.3c65",
+        "x": 1247.8318710327148,
+        "y": 893.54221534729,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "eae960f2.ee2d4"
+                "42701c43.6bec84"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "98376a73.6f9498",
+        "id": "2616c4f0.d24a2c",
         "type": "outcome",
         "name": "reconfigure",
         "xml": "<outcome value='reconfigure'>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "reconfigure",
         "xml": "<outcome value='reconfigure'>",
         "comments": "",
         "outputs": 1,
-        "x": 1084.0818710327148,
-        "y": 909.5780248641968,
-        "z": "f9d3d04a.3c65",
+        "x": 1219.8318710327148,
+        "y": 976.5780248641968,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "bd0a83e6.a0943"
+                "f8fbc979.71a5d8"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "60ab4a0b.a74734",
+        "id": "df92716d.c3adb",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1307.999864578247,
-        "y": 645.000039100647,
-        "z": "f9d3d04a.3c65",
+        "x": 1443.749864578247,
+        "y": 712.000039100647,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "ca82d73a.f7bce8",
-                "336d4a7.45bf6b6"
+                "dbfe2ec3.0f4f2",
+                "2c2a7f07.c79a5"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "2e8f21ac.f86bde",
+        "id": "9bdccac5.142a98",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1328.2143173217773,
-        "y": 740.5001220703125,
-        "z": "f9d3d04a.3c65",
+        "x": 1463.9643173217773,
+        "y": 807.5001220703125,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "b5579662.017518",
-                "66b05fb8.b1648"
+                "98a0a599.493ae8",
+                "91d6c7b8.3a66e8"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "bd0a83e6.a0943",
+        "id": "f8fbc979.71a5d8",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1315.821418762207,
-        "y": 936.4286909103394,
-        "z": "f9d3d04a.3c65",
+        "x": 1451.571418762207,
+        "y": 1003.4286909103394,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "6a839601.d3fdc8",
-                "57a6446.a7ba7bc"
+                "f502b37e.b3048",
+                "ab4681ea.759cc"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "eae960f2.ee2d4",
+        "id": "42701c43.6bec84",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1328.7499084472656,
-        "y": 838.643012046814,
-        "z": "f9d3d04a.3c65",
+        "x": 1464.4999084472656,
+        "y": 905.643012046814,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "791ddd11.703704",
-                "411cb249.f2fa5c"
+                "4cc453.ef653bac",
+                "cf8018e5.2a7cf8"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "ca82d73a.f7bce8",
+        "id": "dbfe2ec3.0f4f2",
         "type": "call",
         "name": "call instantiateRANSliceAllocate",
         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
         "type": "call",
         "name": "call instantiateRANSliceAllocate",
         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
-        "x": 1596.2498474121094,
-        "y": 633.7500152587891,
-        "z": "f9d3d04a.3c65",
+        "x": 1731.9998474121094,
+        "y": 700.7500152587891,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "17a1a43.2200f5c"
+                "2842f37.121e50c"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "17a1a43.2200f5c",
+        "id": "2842f37.121e50c",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1862.1069793701172,
-        "y": 642.321457862854,
-        "z": "f9d3d04a.3c65",
+        "x": 1997.8569793701172,
+        "y": 709.321457862854,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "84f6a89e.970988"
+                "56544d1f.05ec54"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "84f6a89e.970988",
+        "id": "56544d1f.05ec54",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
-        "x": 2034.1069869995117,
-        "y": 642.4286108016968,
-        "z": "f9d3d04a.3c65",
+        "x": 2169.8569869995117,
+        "y": 709.4286108016968,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "b5579662.017518",
+        "id": "98a0a599.493ae8",
         "type": "call",
         "name": "call instantiateRANSliceModifyAllocate",
         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-configDB' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
         "type": "call",
         "name": "call instantiateRANSliceModifyAllocate",
         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-configDB' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
-        "x": 1616.9287414550781,
-        "y": 743.7500645518303,
-        "z": "f9d3d04a.3c65",
+        "x": 1752.6787414550781,
+        "y": 810.7500645518303,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "3b14b216.30136e"
+                "ed4e6047.8890d"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "3b14b216.30136e",
+        "id": "ed4e6047.8890d",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1881.9644050598145,
-        "y": 740.7500839233398,
-        "z": "f9d3d04a.3c65",
+        "x": 2017.7144050598145,
+        "y": 807.7500839233398,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "510851bf.455d7"
+                "a718f5a6.44fc68"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "510851bf.455d7",
+        "id": "a718f5a6.44fc68",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
-        "x": 2050.535846710205,
-        "y": 740.4286289215088,
-        "z": "f9d3d04a.3c65",
+        "x": 2186.285846710205,
+        "y": 807.4286289215088,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "6a839601.d3fdc8",
+        "id": "f502b37e.b3048",
         "type": "call",
         "name": "call instantiateRANSliceReconfigure",
         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
         "type": "call",
         "name": "call instantiateRANSliceReconfigure",
         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
-        "x": 1608.8213424682617,
-        "y": 936.0357494354248,
-        "z": "f9d3d04a.3c65",
+        "x": 1744.5713424682617,
+        "y": 1003.0357494354248,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "5da642cc.fd8b0c"
+                "627dca61.6ccd44"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "5da642cc.fd8b0c",
+        "id": "627dca61.6ccd44",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1865.1070671081543,
-        "y": 936.0357751846313,
-        "z": "f9d3d04a.3c65",
+        "x": 2000.8570671081543,
+        "y": 1003.0357751846313,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "accf4d38.2835a"
+                "4b46c3b9.289b3c"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "accf4d38.2835a",
+        "id": "4b46c3b9.289b3c",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
-        "x": 2033.678508758545,
-        "y": 935.7143201828003,
-        "z": "f9d3d04a.3c65",
+        "x": 2169.428508758545,
+        "y": 1002.7143201828003,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "791ddd11.703704",
+        "id": "4cc453.ef653bac",
         "type": "call",
         "name": "call instantiateRANSliceModifyDeallocate",
         "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-configDB' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
         "type": "call",
         "name": "call instantiateRANSliceModifyDeallocate",
         "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-configDB' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
-        "x": 1601.9642028808594,
-        "y": 837.0358219146729,
-        "z": "f9d3d04a.3c65",
+        "x": 1737.7142028808594,
+        "y": 904.0358219146729,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "69fe5d78.ef50f4"
+                "c82e4906.80a888"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "69fe5d78.ef50f4",
+        "id": "c82e4906.80a888",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1880.5355796813965,
-        "y": 835.6072387695312,
-        "z": "f9d3d04a.3c65",
+        "x": 2016.2855796813965,
+        "y": 902.6072387695312,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "49ca4eb3.09c31"
+                "3e8c87ee.9e50e8"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "49ca4eb3.09c31",
+        "id": "3e8c87ee.9e50e8",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
-        "x": 2049.107021331787,
-        "y": 835.2857837677002,
-        "z": "f9d3d04a.3c65",
+        "x": 2184.857021331787,
+        "y": 902.2857837677002,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "e9985b93.6f1848",
+        "id": "169e8dc1.61d252",
         "type": "set",
         "name": "set RRMPolicyRatio IDs",
         "xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />",
         "comments": "",
         "type": "set",
         "name": "set RRMPolicyRatio IDs",
         "xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />",
         "comments": "",
-        "x": 1380.0003280639648,
-        "y": 395.0000009536743,
-        "z": "f9d3d04a.3c65",
+        "x": 1515.7503280639648,
+        "y": 462.0000009536743,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "b98adc33.f7a72",
-        "type": "execute",
-        "name": "execute concat customer-id and @test.com",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n    <parameter name=\"source\" value='`$prop.customer-id`'/>\n    <parameter name=\"outputPath\" value=\"tmp.userAccountEmail\"/>\n    <parameter name=\"target\" value=\"@test.com\"/>\n\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 343.0000228881836,
-        "y": 1031.0000104904175,
-        "z": "f9d3d04a.3c65",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "336d4a7.45bf6b6",
+        "id": "2c2a7f07.c79a5",
         "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=\"Calling instantiateRANSliceAllocate \"/>",
         "comments": "",
         "outputs": 1,
         "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=\"Calling instantiateRANSliceAllocate \"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1544.000015258789,
-        "y": 574.0000410079956,
-        "z": "f9d3d04a.3c65",
+        "x": 1679.750015258789,
+        "y": 641.0000410079956,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "66b05fb8.b1648",
+        "id": "91d6c7b8.3a66e8",
         "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=\"Calling instantiateRANSliceModifyAllocate \"/>",
         "comments": "",
         "outputs": 1,
         "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=\"Calling instantiateRANSliceModifyAllocate \"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1525.9999694824219,
-        "y": 685.0000429153442,
-        "z": "f9d3d04a.3c65",
+        "x": 1661.7499694824219,
+        "y": 752.0000429153442,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "411cb249.f2fa5c",
+        "id": "cf8018e5.2a7cf8",
         "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=\"Calling instantiateRANSliceModifyDeallocate \"/>",
         "comments": "",
         "outputs": 1,
         "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=\"Calling instantiateRANSliceModifyDeallocate \"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1519.9999694824219,
-        "y": 785.0000429153442,
-        "z": "f9d3d04a.3c65",
+        "x": 1655.7499694824219,
+        "y": 852.0000429153442,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "57a6446.a7ba7bc",
+        "id": "ab4681ea.759cc",
         "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=\"Calling instantiateRANSliceReconfigure \"/>",
         "comments": "",
         "outputs": 1,
         "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=\"Calling instantiateRANSliceReconfigure \"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1519.9999694824219,
-        "y": 886.0000429153442,
-        "z": "f9d3d04a.3c65",
+        "x": 1655.7499694824219,
+        "y": 953.0000429153442,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "3740e6e7.14e4ca",
+        "id": "a54f6583.6e4e18",
         "type": "execute",
         "name": "payload has dLThptPerSlice",
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n    <parameter name='target' value='dLThptPerSlice' />\n",
         "comments": "",
         "outputs": 1,
         "type": "execute",
         "name": "payload has dLThptPerSlice",
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n    <parameter name='target' value='dLThptPerSlice' />\n",
         "comments": "",
         "outputs": 1,
-        "x": 959.0003509521484,
-        "y": 244.66679668426514,
-        "z": "f9d3d04a.3c65",
+        "x": 1094.7503509521484,
+        "y": 311.66679668426514,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "bf5a631b.0296f",
-                "a9791043.1e2a2"
+                "d4b121b5.9cd4c",
+                "8043abe3.fb6a88"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "bf5a631b.0296f",
+        "id": "d4b121b5.9cd4c",
         "type": "failure",
         "name": "true",
         "xml": "<outcome value='true'>\n",
         "comments": "",
         "outputs": 1,
         "type": "failure",
         "name": "true",
         "xml": "<outcome value='true'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1178.0003623962402,
-        "y": 223.66673374176025,
-        "z": "f9d3d04a.3c65",
+        "x": 1313.7503623962402,
+        "y": 290.66673374176025,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "b4fb03b1.01a16"
+                "104d80c7.75d61f"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "a9791043.1e2a2",
+        "id": "8043abe3.fb6a88",
         "type": "failure",
         "name": "false",
         "xml": "<outcome value='false'>\n",
         "comments": "",
         "outputs": 1,
         "type": "failure",
         "name": "false",
         "xml": "<outcome value='false'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1137.0002746582031,
-        "y": 317.66671562194824,
-        "z": "f9d3d04a.3c65",
+        "x": 1272.7502746582031,
+        "y": 384.66671562194824,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "c5d96ba8.2e4e18"
+                "f34d034f.8bf98"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "c5d96ba8.2e4e18",
+        "id": "f34d034f.8bf98",
         "type": "execute",
         "name": "payload contains maxNumberofConns",
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n    <parameter name='target' value='maxNumberofConns' />\n",
         "comments": "",
         "outputs": 1,
         "type": "execute",
         "name": "payload contains maxNumberofConns",
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n    <parameter name='target' value='maxNumberofConns' />\n",
         "comments": "",
         "outputs": 1,
-        "x": 1358.0000457763672,
-        "y": 282.66671562194824,
-        "z": "f9d3d04a.3c65",
+        "x": 1493.7500457763672,
+        "y": 349.66671562194824,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "3a0ae807.f1d658"
+                "80776f07.5b43e"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "b4fb03b1.01a16",
+        "id": "104d80c7.75d61f",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1613.0000457763672,
-        "y": 118.6667308807373,
-        "z": "f9d3d04a.3c65",
+        "x": 1748.7500457763672,
+        "y": 185.6667308807373,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "8d6407f8.ff4a98",
-                "846d4889.d79ec8"
+                "135733e1.9c2c9c",
+                "b2327da6.630c8"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "8d6407f8.ff4a98",
+        "id": "135733e1.9c2c9c",
         "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=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n",
         "comments": "",
         "outputs": 1,
         "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=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1836.0000534057617,
-        "y": 77.66672992706299,
-        "z": "f9d3d04a.3c65",
+        "x": 1971.7500534057617,
+        "y": 144.666729927063,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "3a0ae807.f1d658",
+        "id": "80776f07.5b43e",
         "type": "failure",
         "name": "true",
         "xml": "<outcome value='true'>\n",
         "comments": "",
         "outputs": 1,
         "type": "failure",
         "name": "true",
         "xml": "<outcome value='true'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1520.0000457763672,
-        "y": 204.66671323776245,
-        "z": "f9d3d04a.3c65",
+        "x": 1655.7500457763672,
+        "y": 271.66671323776245,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "23d71f2a.4f7fb"
+                "2634316b.02143e"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "23d71f2a.4f7fb",
+        "id": "2634316b.02143e",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1627.000373840332,
-        "y": 319.6667175292969,
-        "z": "f9d3d04a.3c65",
+        "x": 1762.750373840332,
+        "y": 386.6667175292969,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "e31431f5.b0804",
-                "846d4889.d79ec8"
+                "470ce3c3.58d01c",
+                "b2327da6.630c8"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "e31431f5.b0804",
+        "id": "470ce3c3.58d01c",
         "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=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n\n\n",
         "comments": "",
         "outputs": 1,
         "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=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 1684.000373840332,
-        "y": 208.6667127609253,
-        "z": "f9d3d04a.3c65",
+        "x": 1819.750373840332,
+        "y": 275.6667127609253,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "846d4889.d79ec8",
+        "id": "b2327da6.630c8",
         "type": "set",
         "name": "set Temp Variables",
         "xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>",
         "comments": "",
         "type": "set",
         "name": "set Temp Variables",
         "xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>",
         "comments": "",
-        "x": 1940.0003814697266,
-        "y": 231.0000457763672,
-        "z": "f9d3d04a.3c65",
+        "x": 2075.7503814697266,
+        "y": 298.0000457763672,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "a9edd79d.7f4d18",
+        "id": "28dcefbc.9b39e",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 360.00008392333984,
-        "y": 386.00006103515625,
-        "z": "f9d3d04a.3c65",
+        "x": 495.75008392333984,
+        "y": 453.00006103515625,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "fe88f514.8c8188"
+                "b7f24e5a.81302"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "fe88f514.8c8188",
+        "id": "b7f24e5a.81302",
         "type": "switchNode",
         "name": "switch action",
         "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
         "comments": "",
         "outputs": 1,
         "type": "switchNode",
         "name": "switch action",
         "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
         "comments": "",
         "outputs": 1,
-        "x": 518.0106964111328,
-        "y": 439.0104389190674,
-        "z": "f9d3d04a.3c65",
+        "x": 653.7606964111328,
+        "y": 506.0104389190674,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "60031c86.71d7c4",
-                "ad47916a.0739f",
-                "867e03c7.57509",
-                "1df6e46e.80d00c"
+                "12e72b1c.80a355",
+                "9e00e577.108c78",
+                "3fc2bc26.e14f94",
+                "be3f3e40.3c2fc"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "60031c86.71d7c4",
+        "id": "12e72b1c.80a355",
         "type": "outcome",
         "name": "reconfigure",
         "xml": "<outcome value='reconfigure'>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "reconfigure",
         "xml": "<outcome value='reconfigure'>",
         "comments": "",
         "outputs": 1,
-        "x": 735.0819129943848,
-        "y": 298.5779733657837,
-        "z": "f9d3d04a.3c65",
+        "x": 870.8319129943848,
+        "y": 365.5779733657837,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "b8589e4d.ee186"
+                "3f523535.4eb3ba"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "b8589e4d.ee186",
+        "id": "3f523535.4eb3ba",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 841.821662902832,
-        "y": 404.4286584854126,
-        "z": "f9d3d04a.3c65",
+        "x": 977.571662902832,
+        "y": 471.4286584854126,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "3740e6e7.14e4ca"
+                "a54f6583.6e4e18"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "d1ca9a13.511f18",
+        "id": "97857774.c97998",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1030.6666793823242,
-        "y": 498.00002098083496,
-        "z": "f9d3d04a.3c65",
+        "x": 1166.4166793823242,
+        "y": 565.000020980835,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "b7d815c7.418ce8",
-                "e9985b93.6f1848",
-                "f80cc38b.62487",
-                "fc21e8cf.566358"
+                "a63852bc.e0784",
+                "169e8dc1.61d252",
+                "ad3e31c9.21307",
+                "452de98a.5b2898"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "c8574743.c29878",
+        "id": "b2d2c634.58cda8",
         "type": "set",
         "name": "Original set Temp Variables",
         "xml": "<set>\n<parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
         "comments": "",
         "type": "set",
         "name": "Original set Temp Variables",
         "xml": "<set>\n<parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
         "comments": "",
-        "x": 2330,
-        "y": 239,
-        "z": "f9d3d04a.3c65",
+        "x": 2465.75,
+        "y": 306,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "ad47916a.0739f",
+        "id": "9e00e577.108c78",
         "type": "outcome",
         "name": "allocate",
         "xml": "<outcome value='allocate'>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "allocate",
         "xml": "<outcome value='allocate'>",
         "comments": "",
         "outputs": 1,
-        "x": 796.6667098999023,
-        "y": 465.3333568572998,
-        "z": "f9d3d04a.3c65",
+        "x": 932.4167098999023,
+        "y": 532.3333568572998,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "d1ca9a13.511f18"
+                "97857774.c97998"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "867e03c7.57509",
+        "id": "3fc2bc26.e14f94",
         "type": "outcome",
         "name": "modify-allocate",
         "xml": "<outcome value='modify-allocate'>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "modify-allocate",
         "xml": "<outcome value='modify-allocate'>",
         "comments": "",
         "outputs": 1,
-        "x": 786.3810653686523,
-        "y": 510.8333988189697,
-        "z": "f9d3d04a.3c65",
+        "x": 922.1310653686523,
+        "y": 577.8333988189697,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "d1ca9a13.511f18"
+                "97857774.c97998"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "1df6e46e.80d00c",
+        "id": "be3f3e40.3c2fc",
         "type": "outcome",
         "name": "modify-deallocate",
         "xml": "<outcome value='modify-deallocate'>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "modify-deallocate",
         "xml": "<outcome value='modify-deallocate'>",
         "comments": "",
         "outputs": 1,
-        "x": 770.7381629943848,
-        "y": 575.9761924743652,
-        "z": "f9d3d04a.3c65",
+        "x": 906.4881629943848,
+        "y": 642.9761924743652,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "d1ca9a13.511f18"
+                "97857774.c97998"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "fc21e8cf.566358",
+        "id": "452de98a.5b2898",
         "type": "switchNode",
         "name": "check PLMNId",
         "xml": "<switch test='`$tmp.payload.pLMNId`'>",
         "comments": "",
         "outputs": 1,
         "type": "switchNode",
         "name": "check PLMNId",
         "xml": "<switch test='`$tmp.payload.pLMNId`'>",
         "comments": "",
         "outputs": 1,
-        "x": 1273.75,
-        "y": 478.75,
-        "z": "f9d3d04a.3c65",
+        "x": 1409.5,
+        "y": 545.75,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "18448523.ce63fb",
-                "619f621a.39ba0c"
+                "d791309d.d59a6",
+                "3ca7ea6f.7d16f6"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "75167d2a.0cec34",
+        "id": "dc6a004f.14eac",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1647.500114440918,
-        "y": 459.7500066757202,
-        "z": "f9d3d04a.3c65",
+        "x": 1783.250114440918,
+        "y": 526.7500066757202,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "b38f4398.feb6",
-                "85d1a250.a945f"
+                "2c6aeebd.268e62",
+                "e33a7f03.8688f"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "18448523.ce63fb",
+        "id": "d791309d.d59a6",
         "type": "outcome",
         "name": "not null",
         "xml": "<outcome value=''>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "not null",
         "xml": "<outcome value=''>",
         "comments": "",
         "outputs": 1,
-        "x": 1468.5,
-        "y": 468.75,
-        "z": "f9d3d04a.3c65",
+        "x": 1604.25,
+        "y": 535.75,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "1e493cd0.0784c3"
+                "4ee4414c.56f81"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "619f621a.39ba0c",
+        "id": "3ca7ea6f.7d16f6",
         "type": "other",
         "name": "other",
         "xml": "<outcome value='Other'>\n",
         "comments": "",
         "outputs": 1,
         "type": "other",
         "name": "other",
         "xml": "<outcome value='Other'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1462.25,
-        "y": 518.75,
-        "z": "f9d3d04a.3c65",
+        "x": 1598,
+        "y": 585.75,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "75167d2a.0cec34"
+                "dc6a004f.14eac"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "1e493cd0.0784c3",
+        "id": "4ee4414c.56f81",
         "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=\"It is allocate-modify flow. PLMNId is null\"/>",
         "comments": "",
         "outputs": 1,
         "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=\"It is allocate-modify flow. PLMNId is null\"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1601.25,
-        "y": 403.75,
-        "z": "f9d3d04a.3c65",
+        "x": 1737,
+        "y": 470.75,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "b38f4398.feb6",
+        "id": "2c6aeebd.268e62",
         "type": "execute",
         "name": "split pLMNId",
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.payload.pLMNId`\" />\n    <parameter name=\"regex\" value=\"-\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
         "comments": "",
         "outputs": 1,
         "type": "execute",
         "name": "split pLMNId",
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.payload.pLMNId`\" />\n    <parameter name=\"regex\" value=\"-\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
         "comments": "",
         "outputs": 1,
-        "x": 1908.7726135253906,
-        "y": 342.2623100280762,
-        "z": "f9d3d04a.3c65",
+        "x": 2044.5226135253906,
+        "y": 409.2623100280762,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "85d1a250.a945f",
+        "id": "e33a7f03.8688f",
         "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": "",
         "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": 1939.2272033691406,
-        "y": 389.3077507019043,
-        "z": "f9d3d04a.3c65",
+        "x": 2074.9772033691406,
+        "y": 456.3077507019043,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "17edd644.4e6b2a",
+        "id": "508daf40.6a247",
         "type": "outcome",
         "name": "CPS Deployed",
         "xml": "<outcome value='false'>\n",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "CPS Deployed",
         "xml": "<outcome value='false'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 583.5000152587891,
-        "y": 937.7500982284546,
-        "z": "f9d3d04a.3c65",
+        "x": 719.2500152587891,
+        "y": 1004.7500982284546,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "c11522a6.912a3"
+                "8b35b871.792d48"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "c11522a6.912a3",
+        "id": "8b35b871.792d48",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 758.5001239776611,
-        "y": 1106.7501668930054,
-        "z": "f9d3d04a.3c65",
+        "x": 894.2501239776611,
+        "y": 1173.7501668930054,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "9a5be299.ac9e8"
+                "4451c940.8f1548"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "9a5be299.ac9e8",
+        "id": "4451c940.8f1548",
         "type": "switchNode",
         "name": "switch action",
         "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
         "comments": "",
         "outputs": 1,
         "type": "switchNode",
         "name": "switch action",
         "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
         "comments": "",
         "outputs": 1,
-        "x": 972.5002155303955,
-        "y": 1106.7501668930054,
-        "z": "f9d3d04a.3c65",
+        "x": 1108.2502155303955,
+        "y": 1173.7501668930054,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "c8c0e2dd.5b24e",
-                "44e41709.edbb68",
-                "ae5c8c29.c4bdb"
+                "b9cdf9e2.1e3428",
+                "3eab4825.ef6688",
+                "9e135e5e.4c115",
+                "788f6003.551ee"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "3c7fdccf.25e304",
+        "id": "95ab96b6.095518",
         "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=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>",
         "comments": "",
         "outputs": 1,
         "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=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1578.5002098083496,
-        "y": 1049.750069618225,
-        "z": "f9d3d04a.3c65",
+        "x": 1711.2502689361572,
+        "y": 1187.7501711845398,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "ae0a8810.afc028",
+        "id": "bffd62dc.4eadb",
         "type": "call",
         "name": "call instantiateRANSliceModifyAllocate-cps",
         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-cps' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
         "type": "call",
         "name": "call instantiateRANSliceModifyAllocate-cps",
         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-cps' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
-        "x": 1664.179183959961,
-        "y": 1104.5001239776611,
-        "z": "f9d3d04a.3c65",
+        "x": 1796.9292430877686,
+        "y": 1242.5002255439758,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "7f7eb2b.fdf5d4c"
+                "f9e3c3a7.7061d"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "7f7eb2b.fdf5d4c",
+        "id": "f9e3c3a7.7061d",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1934.4644298553467,
-        "y": 1105.5000553131104,
-        "z": "f9d3d04a.3c65",
+        "x": 2067.2144889831543,
+        "y": 1243.500156879425,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "a1a6a811.1598f8"
+                "b0c21fee.08792"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "a1a6a811.1598f8",
+        "id": "b0c21fee.08792",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
-        "x": 2103.0358963012695,
-        "y": 1105.1786031723022,
-        "z": "f9d3d04a.3c65",
+        "x": 2235.785955429077,
+        "y": 1243.178704738617,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "c8c0e2dd.5b24e",
+        "id": "b9cdf9e2.1e3428",
         "type": "outcome",
         "name": "modify-allocate",
         "xml": "<outcome value='modify-allocate'>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "modify-allocate",
         "xml": "<outcome value='modify-allocate'>",
         "comments": "",
         "outputs": 1,
-        "x": 1174.750144958496,
-        "y": 1106.7502574920654,
-        "z": "f9d3d04a.3c65",
+        "x": 1307.5002040863037,
+        "y": 1244.7503590583801,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "68fddc03.ce46b4"
+                "2190a852.1d0538"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "68fddc03.ce46b4",
+        "id": "2190a852.1d0538",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1386.7503185272217,
-        "y": 1106.7501702308655,
-        "z": "f9d3d04a.3c65",
+        "x": 1519.5003776550293,
+        "y": 1244.7502717971802,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "ae0a8810.afc028",
-                "3c7fdccf.25e304"
+                "bffd62dc.4eadb",
+                "95ab96b6.095518"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "a393354.fe81dc8",
+        "id": "e64b26fc.462ba8",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1393.25,
-        "y": 1228.75,
-        "z": "f9d3d04a.3c65",
+        "x": 1526.0000591278076,
+        "y": 1366.7501015663147,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "35ed7ed2.b66562",
-                "57224a6c.760664"
+                "15e7425.351bcbe",
+                "f50e6665.b607c8"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "57224a6c.760664",
+        "id": "f50e6665.b607c8",
         "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=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>",
         "comments": "",
         "outputs": 1,
         "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=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1587.999891281128,
-        "y": 1167.7499012947083,
-        "z": "f9d3d04a.3c65",
+        "x": 1720.7499504089355,
+        "y": 1305.750002861023,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
     },
     {
         "wires": [
             []
         ]
     },
     {
-        "id": "35ed7ed2.b66562",
+        "id": "15e7425.351bcbe",
         "type": "call",
         "type": "call",
-        "name": "call instantiateRANSliceModifyAllocate-cps",
+        "name": "call terminateRANSliceInstance-cps",
         "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-cps' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
         "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-cps' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
-        "x": 1673.6788654327393,
-        "y": 1222.4999556541443,
-        "z": "f9d3d04a.3c65",
+        "x": 1806.4289245605469,
+        "y": 1360.500057220459,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "e988a316.a5c4e"
+                "a2710aac.a05478"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "e988a316.a5c4e",
+        "id": "a2710aac.a05478",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1943.964111328125,
-        "y": 1223.4998869895935,
-        "z": "f9d3d04a.3c65",
+        "x": 2076.7141704559326,
+        "y": 1361.4999885559082,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "29f59beb.f65aa4"
+                "8e4d5c5b.36997"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "29f59beb.f65aa4",
+        "id": "8e4d5c5b.36997",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
-        "x": 2112.535577774048,
-        "y": 1223.1784348487854,
-        "z": "f9d3d04a.3c65",
+        "x": 2245.2856369018555,
+        "y": 1361.1785364151,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "44e41709.edbb68",
+        "id": "3eab4825.ef6688",
         "type": "outcome",
         "type": "outcome",
-        "name": "modify-allocate",
+        "name": "modify-deallocate",
         "xml": "<outcome value='modify-deallocate'>",
         "comments": "",
         "outputs": 1,
         "xml": "<outcome value='modify-deallocate'>",
         "comments": "",
         "outputs": 1,
-        "x": 1176.2500076293945,
-        "y": 1227.7500104904175,
-        "z": "f9d3d04a.3c65",
+        "x": 1309.0000667572021,
+        "y": 1365.7501120567322,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "a393354.fe81dc8"
+                "e64b26fc.462ba8"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "ae5c8c29.c4bdb",
+        "id": "9e135e5e.4c115",
         "type": "outcome",
         "name": "reconfigure",
         "xml": "<outcome value='reconfigure'>",
         "comments": "",
         "outputs": 1,
         "type": "outcome",
         "name": "reconfigure",
         "xml": "<outcome value='reconfigure'>",
         "comments": "",
         "outputs": 1,
-        "x": 1170,
-        "y": 1338,
-        "z": "f9d3d04a.3c65",
+        "x": 1302.7500591278076,
+        "y": 1476.0001015663147,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "38f25902.34b756"
+                "70e0f7a1.408248"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "38f25902.34b756",
+        "id": "70e0f7a1.408248",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic=\"true\">",
         "atomic": "true",
         "outputs": 1,
-        "x": 1392.7395477294922,
-        "y": 1355.8506660461426,
-        "z": "f9d3d04a.3c65",
+        "x": 1525.4896068572998,
+        "y": 1493.8507676124573,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "ed9c90f6.76807",
-                "e9652107.897be"
+                "379745b3.919f0a",
+                "1fb84203.c4df2e"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "ed9c90f6.76807",
+        "id": "379745b3.919f0a",
         "type": "call",
         "name": "call instantiateRANSliceReconfigure-cps",
         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure-cps' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
         "type": "call",
         "name": "call instantiateRANSliceReconfigure-cps",
         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure-cps' mode='sync' >\n",
         "comments": "",
         "outputs": 1,
-        "x": 1685.7394714355469,
-        "y": 1355.457724571228,
-        "z": "f9d3d04a.3c65",
+        "x": 1818.4895305633545,
+        "y": 1493.4578261375427,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "2d10f5f1.cf9c1a"
+                "10ba8f.ce459571"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "2d10f5f1.cf9c1a",
+        "id": "10ba8f.ce459571",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1942.0251960754395,
-        "y": 1355.4577503204346,
-        "z": "f9d3d04a.3c65",
+        "x": 2074.775255203247,
+        "y": 1493.4578518867493,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             [
         "wires": [
             [
-                "47cc910f.395bf"
+                "1edabc53.9bd694"
             ]
         ]
     },
     {
             ]
         ]
     },
     {
-        "id": "47cc910f.395bf",
+        "id": "1edabc53.9bd694",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
         "type": "returnFailure",
         "name": "return failure",
         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
         "comments": "",
-        "x": 2110.59663772583,
-        "y": 1355.1362953186035,
-        "z": "f9d3d04a.3c65",
+        "x": 2243.3466968536377,
+        "y": 1493.1363968849182,
+        "z": "333bf34c.dd3dfc",
         "wires": []
     },
     {
         "wires": []
     },
     {
-        "id": "e9652107.897be",
+        "id": "1fb84203.c4df2e",
         "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=\"Calling instantiateRANSliceReconfigure-cps \"/>",
         "comments": "",
         "outputs": 1,
         "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=\"Calling instantiateRANSliceReconfigure-cps \"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1596.918098449707,
-        "y": 1305.4220180511475,
-        "z": "f9d3d04a.3c65",
+        "x": 1729.6681575775146,
+        "y": 1443.4221196174622,
+        "z": "333bf34c.dd3dfc",
         "wires": [
             []
         ]
         "wires": [
             []
         ]
+    },
+    {
+        "id": "788f6003.551ee",
+        "type": "outcome",
+        "name": "allocate",
+        "xml": "<outcome value='allocate'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1314.75,
+        "y": 1155.75,
+        "z": "333bf34c.dd3dfc",
+        "wires": [
+            [
+                "1ec05895.88f2b7"
+            ]
+        ]
+    },
+    {
+        "id": "1ec05895.88f2b7",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 1527.7393703460693,
+        "y": 1135.8506779670715,
+        "z": "333bf34c.dd3dfc",
+        "wires": [
+            [
+                "6b8f3bbc.892804",
+                "a8b5639e.4c1af"
+            ]
+        ]
+    },
+    {
+        "id": "a8b5639e.4c1af",
+        "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=\"Calling instantiateRANSliceAllocate \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1763.7395210266113,
+        "y": 1064.8506798744202,
+        "z": "333bf34c.dd3dfc",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6b8f3bbc.892804",
+        "type": "call",
+        "name": "call instantiateRANSliceAllocate",
+        "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate-CPS' mode='sync' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1815.9893531799316,
+        "y": 1124.6006541252136,
+        "z": "333bf34c.dd3dfc",
+        "wires": [
+            [
+                "535d0521.7b1bfc"
+            ]
+        ]
+    },
+    {
+        "id": "535d0521.7b1bfc",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2081.8464851379395,
+        "y": 1133.1720967292786,
+        "z": "333bf34c.dd3dfc",
+        "wires": [
+            [
+                "57badcdf.7a4194"
+            ]
+        ]
+    },
+    {
+        "id": "57badcdf.7a4194",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
+        "comments": "",
+        "x": 2253.846492767334,
+        "y": 1133.2792496681213,
+        "z": "333bf34c.dd3dfc",
+        "wires": []
     }
     }
-]
+]
\ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate-CPS.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate-CPS.json
new file mode 100644 (file)
index 0000000..e02dbe4
--- /dev/null
@@ -0,0 +1,7530 @@
+[
+    {
+        "id": "4b871a4f.8a0bf4",
+        "type": "method",
+        "name": "method",
+        "xml": "<method rpc='instantiateRANSliceAllocate-CPS' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 441.0000305175781,
+        "y": 221.9999885559082,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "12ae3866.47ce98"
+            ]
+        ]
+    },
+    {
+        "id": "cc7bd657.3310e8",
+        "type": "dgstart",
+        "name": "DGSTART",
+        "outputs": 1,
+        "x": 112.0000228881836,
+        "y": 119.99996185302734,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "51124fae.8c6ea"
+            ]
+        ]
+    },
+    {
+        "id": "51124fae.8c6ea",
+        "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": 198,
+        "y": 224.00004196166992,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "4b871a4f.8a0bf4"
+            ]
+        ]
+    },
+    {
+        "id": "b6ec0e57.54c6",
+        "type": "returnSuccess",
+        "name": "return success",
+        "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"N\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
+        "comments": "",
+        "x": 242.43433380126953,
+        "y": 2781.5286540985107,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "a224208c.12012",
+        "type": "comment",
+        "name": "instantiateRANSliceAllocate-CPS",
+        "info": "",
+        "comments": "",
+        "x": 410.0000305175781,
+        "y": 164.01036071777344,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "87588f27.99fed",
+        "type": "for",
+        "name": "For CPS Response Entries",
+        "xml": "<for index='id1' start='0' end=\"`$getNearRTRIC-cps-response._length`\" >",
+        "comments": "",
+        "outputs": 1,
+        "x": 1207.0001182556152,
+        "y": 2083.01060295105,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "a75b9904.a6ecc8",
+                "cb3673c2.d108a",
+                "c9017063.20104",
+                "9e41f192.d847",
+                "6511f915.2bf8e8",
+                "76dd264a.93e678",
+                "88782b9e.a2bae8"
+            ]
+        ]
+    },
+    {
+        "id": "a75b9904.a6ecc8",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload Entry# \"/>\n<parameter name=\"field2\" value=\"`$id1`\"/>\n<parameter name=\"field3\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1582.000400543213,
+        "y": 898.3439292907715,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "12ae3866.47ce98",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 76,
+        "y": 344.0103645324707,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "cf902d02.bd5b5",
+                "5babe467.37ec7c",
+                "a7723108.a7e47",
+                "1070fbb2.25f074",
+                "b6ec0e57.54c6",
+                "7b63836c.1e212c"
+            ]
+        ]
+    },
+    {
+        "id": "38d6411b.0e9ebe",
+        "type": "block",
+        "name": "Instantiate RAN Slice",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 993.8889007568359,
+        "y": 537.2326574325562,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "87588f27.99fed",
+                "241a5494.cd57fc",
+                "1cc675c1.22f72a"
+            ]
+        ]
+    },
+    {
+        "id": "cb3673c2.d108a",
+        "type": "block",
+        "name": "DU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1783.0000610351562,
+        "y": 5826.0105583667755,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "63a2dd14.ac6dd4",
+                "ce9e98af.fbd408",
+                "c0b936db.499288",
+                "52670b3b.2fc8c4"
+            ]
+        ]
+    },
+    {
+        "id": "81f8a6e4.afe348",
+        "type": "block",
+        "name": "Add RRM Policy Ratio",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3285.0004653930664,
+        "y": 6709.01035118103,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "1969c3f9.e1d33c",
+                "bb6b2faa.b9af4",
+                "5faf65a.d97e39c",
+                "17a64753.57dd89",
+                "fc2fe457.50d438",
+                "5d0bc6ef.398fc8",
+                "28959e11.962232"
+            ]
+        ]
+    },
+    {
+        "id": "19e78ea7.3915f1",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3491.000778198242,
+        "y": 6463.01072883606,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "be4fd44c.e31028",
+                "27343902.112be6"
+            ]
+        ]
+    },
+    {
+        "id": "be4fd44c.e31028",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3734.000862121582,
+        "y": 6467.010730743408,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "2dd2a43e.ca117c"
+            ]
+        ]
+    },
+    {
+        "id": "27343902.112be6",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3719.000862121582,
+        "y": 6541.010732650757,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e6439ba5.30cd78"
+            ]
+        ]
+    },
+    {
+        "id": "ce9e98af.fbd408",
+        "type": "for",
+        "name": "For DUList Entries",
+        "xml": "<for index='id2' start='0' end='`$tmp.DUListEntries`' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 1883.0004425048828,
+        "y": 6140.010553359985,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "7de609de.117f48"
+            ]
+        ]
+    },
+    {
+        "id": "63a2dd14.ac6dd4",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUListEntries`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2076.000617980957,
+        "y": 5522.011340141296,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c0b936db.499288",
+        "type": "execute",
+        "name": "set DU Level parms",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUListEntries' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2078.000373840332,
+        "y": 5456.012316703796,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "77f56daa.65ba44",
+        "type": "execute",
+        "name": "cellDUListEntries",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUListEntries' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].NRCellDU_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3840.999824523926,
+        "y": 5877.011071562767,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "329d2d0c.6fbe52",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof cellDU of Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDUListEntries`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBDUName`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field8\" value=\"`$tmp.pLMNId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3454.0001258850098,
+        "y": 6077.010553359985,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c94efb18.83e308",
+        "type": "block",
+        "name": "cellDUList Level Parms",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3479.0001220703125,
+        "y": 6016.010552406311,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "77f56daa.65ba44",
+                "c353b271.3cdfc",
+                "bc8caf6d.6739c",
+                "34c97a96.f7e716",
+                "7ecdff78.057e7",
+                "ef17c7f1.0e81e8",
+                "ac904cb6.3ba9f"
+            ]
+        ]
+    },
+    {
+        "id": "c353b271.3cdfc",
+        "type": "execute",
+        "name": "cellDUListEntries-gNBDUId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUList.gNBDUId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].attributes.gNBDUId'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3871.000259399414,
+        "y": 5932.010339140892,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bc8caf6d.6739c",
+        "type": "execute",
+        "name": "cellDUListEntries-gNBDUName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUName' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].attributes.gNBDUName'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3877.000015258789,
+        "y": 6093.010583281517,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "34c97a96.f7e716",
+        "type": "execute",
+        "name": "cellDUListEntries-gNBId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].attributes.gNBId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3856.999988555908,
+        "y": 6131.010598540306,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "edb570cb.f40cc",
+        "type": "execute",
+        "name": "cellDUListEntries-pLMNId",
+        "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=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].pLMNId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 4239.000137329102,
+        "y": 6239.01069355011,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "13707b1.958bc85",
+        "type": "for",
+        "name": "For List of Cells",
+        "xml": "<for index='id3' start='0' end='`$tmp.cellListSize`' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 2306.9910736083984,
+        "y": 6113.010664463043,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e87c125a.d40ad"
+            ]
+        ]
+    },
+    {
+        "id": "76552f36.3806e",
+        "type": "block",
+        "name": "pLMNInfoList Level Parms",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3625.9899826049805,
+        "y": 6236.010786533356,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "97aa33c1.f897a",
+                "291a68e5.74cb98"
+            ]
+        ]
+    },
+    {
+        "id": "97aa33c1.f897a",
+        "type": "execute",
+        "name": "pLMNInfoListEntries",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3946.9896392822266,
+        "y": 6262.010394513607,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7557ef29.dbae1",
+        "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=\"Numberof pLMNInfoList Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoListEntries`\"/>\n<parameter name=\"field3\" value=\"cellLocalId for TA \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3636.9899826049805,
+        "y": 6288.011152267456,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4a055152.a7f46",
+        "type": "for",
+        "name": "For pLMNInfoListEntries",
+        "xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 3694.990119934082,
+        "y": 6410.011377334595,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c0998d83.4097b"
+            ]
+        ]
+    },
+    {
+        "id": "4b1c44e9.52ae0c",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3405.9897079467773,
+        "y": 6135.010555267334,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c0998d83.4097b",
+        "type": "block",
+        "name": "pLMNInfoList Parms",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3935.9898071289062,
+        "y": 6404.011377334595,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "f77766f9.ee5d58",
+                "9255c61e.730408"
+            ]
+        ]
+    },
+    {
+        "id": "f77766f9.ee5d58",
+        "type": "execute",
+        "name": "sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 4098.989562988281,
+        "y": 6348.0107254981995,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6a2042bc.3343cc",
+        "type": "comment",
+        "name": "Check if sNSSAI already exists in YANG tree",
+        "info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
+        "comments": "",
+        "x": 3736.9899826049805,
+        "y": 6362.011152267456,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "9255c61e.730408",
+        "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=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4119.9895668029785,
+        "y": 6426.01072883606,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c9017063.20104",
+        "type": "execute",
+        "name": "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=\"`'getNearRTRIC-cps-response.[' + $id1 + '].idNearRTRIC'`\" />\n\t",
+        "comments": "",
+        "outputs": 1,
+        "x": 1547.9897232055664,
+        "y": 695.0105381011963,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "291a68e5.74cb98",
+        "type": "execute",
+        "name": "cellLocalId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].cellLocalId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3923.9898071289062,
+        "y": 6326.010559082031,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f2e63e26.07c7",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3874.001537322998,
+        "y": 6910.344172477722,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "122ad994.9b9a46",
+        "type": "block",
+        "name": "Add PLMNInfoList Entry",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3462.0007705688477,
+        "y": 6569.3544816970825,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "f2e63e26.07c7",
+                "285b8242.dec98e",
+                "5182fca8.c62d34",
+                "d367395e.9b58a8",
+                "b48f486d.210a68",
+                "767cc223.b284cc",
+                "19e78ea7.3915f1",
+                "1b72cdf8.614172",
+                "fd278e1c.281cb",
+                "b5039f8d.80675"
+            ]
+        ]
+    },
+    {
+        "id": "1b72cdf8.614172",
+        "type": "execute",
+        "name": "add PLMNInfoListEntry ToNRCellDU using PUT",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3954.000862121582,
+        "y": 6989.354494094849,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "dde359f.4ddf2a8",
+                "c759097a.302d18"
+            ]
+        ]
+    },
+    {
+        "id": "285b8242.dec98e",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToNRCellDU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3872.000986099243,
+        "y": 6873.354914665222,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2dd2a43e.ca117c",
+        "type": "execute",
+        "name": "generate addPLMNInfoListEntry.ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4005.0008697509766,
+        "y": 6469.010730266571,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5182fca8.c62d34",
+        "type": "execute",
+        "name": "Populate idGNBDUFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3840.9904556274414,
+        "y": 6626.010734081268,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d367395e.9b58a8",
+        "type": "execute",
+        "name": "Populate idNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3849.9904556274414,
+        "y": 6675.01073551178,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b48f486d.210a68",
+        "type": "execute",
+        "name": "Populate mcc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3850.9904556274414,
+        "y": 6725.010736465454,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "767cc223.b284cc",
+        "type": "execute",
+        "name": "Populate mnc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3852.990550994873,
+        "y": 6768.010676383972,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "dde359f.4ddf2a8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4252.000602722168,
+        "y": 6926.343751907349,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "fc88006c.222bf"
+            ]
+        ]
+    },
+    {
+        "id": "c759097a.302d18",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4291.000717163086,
+        "y": 7010.3437621593475,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "63b53eb1.649fa"
+            ]
+        ]
+    },
+    {
+        "id": "fc88006c.222bf",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4514.000499725342,
+        "y": 6811.343833684921,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "9747dca5.fffff",
+                "efa5b4cd.0af608"
+            ]
+        ]
+    },
+    {
+        "id": "63b53eb1.649fa",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4473.000228881836,
+        "y": 6965.3437621593475,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "bf02c62b.59b168"
+            ]
+        ]
+    },
+    {
+        "id": "9747dca5.fffff",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfo List Entry to NRCellCUr\" />",
+        "comments": "",
+        "x": 4679.000499725342,
+        "y": 6894.344321966171,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "bf02c62b.59b168",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLDU Executed Successfully \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4640.000228881836,
+        "y": 6976.3442504405975,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8bcacf47.93b8b",
+        "type": "execute",
+        "name": "generate addPLMNInfoListEntry.ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4165.990219116211,
+        "y": 6528.0107316970825,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e6439ba5.30cd78",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3882.9901275634766,
+        "y": 6530.01073217392,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "8bcacf47.93b8b",
+                "98fd9feb.50fe4"
+            ]
+        ]
+    },
+    {
+        "id": "98fd9feb.50fe4",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4129.990219116211,
+        "y": 6585.010732650757,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7de9b007.312cb",
+        "type": "comment",
+        "name": "Connect to AddPLMNInfoList Entry",
+        "info": "when able to talk to latest SDNC",
+        "comments": "",
+        "x": 3892.9901275634766,
+        "y": 6949.344075202942,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "1969c3f9.e1d33c",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3744.9898681640625,
+        "y": 7098.677267074585,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "5a05427d.b0023c",
+                "7045dc66.e2b2a4"
+            ]
+        ]
+    },
+    {
+        "id": "5a05427d.b0023c",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3939.9898948669434,
+        "y": 7058.677174568176,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "927e71ca.144d"
+            ]
+        ]
+    },
+    {
+        "id": "7045dc66.e2b2a4",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3919.9898681640625,
+        "y": 7137.677266120911,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e48be396.33e31"
+            ]
+        ]
+    },
+    {
+        "id": "5d0bc6ef.398fc8",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3896.9909706115723,
+        "y": 7410.011414527893,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8a82cb50.0f0c18",
+        "type": "execute",
+        "name": "add RRM Policy ToNRCellDU using PUT",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3956.9899368286133,
+        "y": 7649.020848035812,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c3044a31.1dc658"
+            ]
+        ]
+    },
+    {
+        "id": "fc2fe457.50d438",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToNRCellDU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3888.9899940490723,
+        "y": 7369.021668434143,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "927e71ca.144d",
+        "type": "execute",
+        "name": "generate addRRMPolicy.ToNRCellDU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4225.989860534668,
+        "y": 7056.677248001099,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bb6b2faa.b9af4",
+        "type": "execute",
+        "name": "Populate idGNBDUFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 3917.9796447753906,
+        "y": 7191.677251815796,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5faf65a.d97e39c",
+        "type": "execute",
+        "name": "Populate idNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3910.9796447753906,
+        "y": 7245.6772537231445,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "17a64753.57dd89",
+        "type": "execute",
+        "name": "Populate id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.NRCellDU`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3889.9796447753906,
+        "y": 7282.677255630493,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ccd205bd.50a928",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4292.98974609375,
+        "y": 7396.010592460632,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "21118c5e.6e7684"
+            ]
+        ]
+    },
+    {
+        "id": "c3044a31.1dc658",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4293.989814758301,
+        "y": 7675.010349988937,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c0b4fc45.81e15"
+            ]
+        ]
+    },
+    {
+        "id": "21118c5e.6e7684",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4662.989776611328,
+        "y": 7344.01021194458,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "84582ecc.76043",
+                "efa5b4cd.0af608"
+            ]
+        ]
+    },
+    {
+        "id": "c0b4fc45.81e15",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4473.989570617676,
+        "y": 7672.010349988937,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "73f9a66e.b6b3b8"
+            ]
+        ]
+    },
+    {
+        "id": "84582ecc.76043",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRM Policy\" />",
+        "comments": "",
+        "x": 4784.989776611328,
+        "y": 7399.01070022583,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "73f9a66e.b6b3b8",
+        "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=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4622.98987197876,
+        "y": 7698.010542631149,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5c7e6558.62ae0c",
+        "type": "execute",
+        "name": "generate RRMPolicy Ratio URL ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4417.97957611084,
+        "y": 7104.6775579452515,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e48be396.33e31",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4112.979518890381,
+        "y": 7132.677266120911,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "5c7e6558.62ae0c",
+                "2f376730.5643e8"
+            ]
+        ]
+    },
+    {
+        "id": "2f376730.5643e8",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4354.979553222656,
+        "y": 7166.677205085754,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e0111c57.7be95",
+        "type": "comment",
+        "name": "Connect to RRM P{olicy Ratio",
+        "info": "when able to talk to latest SDNC",
+        "comments": "",
+        "x": 3953.9799842834473,
+        "y": 7443.011170387268,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "52670b3b.2fc8c4",
+        "type": "block",
+        "name": "rrmPolicyDedicatedRatio",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2121.000312805176,
+        "y": 5651.689319610596,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "51d956f.d298ba8",
+                "1fb75cdb.018953",
+                "845fac96.0dc0b",
+                "3a5b1e66.46b702",
+                "cbba5928.6a59f8",
+                "c0e75462.4bf078",
+                "dbc387ab.afb758",
+                "38bc61.ba2853a",
+                "2a8281e3.c92d1e",
+                "4ea56ac8.efdec4",
+                "e82eeb18.2a3578"
+            ]
+        ]
+    },
+    {
+        "id": "51d956f.d298ba8",
+        "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/instantiateRANSliceAllocate-cps.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": 2254.000129699707,
+        "y": 5960.132922172546,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9e41f192.d847",
+        "type": "block",
+        "name": "CUCP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1561.9895324707031,
+        "y": 2055.3438301086426,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "450a6af0.077264",
+                "f1abe0ce.a780e",
+                "22eaad2d.740fe2",
+                "52d9aa63.07fba4"
+            ]
+        ]
+    },
+    {
+        "id": "37119559.6466ba",
+        "type": "block",
+        "name": "Add RRM Policy Ratio",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3046.989757537842,
+        "y": 3047.3439598083496,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "7c40a293.96bedc",
+                "3f353e95.f8c492",
+                "3c7990a9.7c87d",
+                "75c6c4ed.9f102c",
+                "22bee22b.25b93e",
+                "a2b6f57.2246308",
+                "3db1aaaa.8fcc26",
+                "574be0db.cf3bb"
+            ]
+        ]
+    },
+    {
+        "id": "6b52160.c36d3ec",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3046.9897117614746,
+        "y": 2416.344165802002,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "55e090c9.3297a",
+                "c307ad20.e1626"
+            ]
+        ]
+    },
+    {
+        "id": "55e090c9.3297a",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3236.9896926879883,
+        "y": 2386.343949317932,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "16f8bcf.2cd9443"
+            ]
+        ]
+    },
+    {
+        "id": "c307ad20.e1626",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3216.9896659851074,
+        "y": 2465.3440408706665,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "cca2ea7b.38df78"
+            ]
+        ]
+    },
+    {
+        "id": "f1abe0ce.a780e",
+        "type": "for",
+        "name": "For CUCPList Entries",
+        "xml": "<for index='id2' start='0' end='`$tmp.CUCPListEntries`' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 1831.9895248413086,
+        "y": 2050.343952178955,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "cc58c96d.ad11e8",
+                "583a1999.80b308",
+                "1633cee4.fbe6d1",
+                "7c6edc86.2aebf4",
+                "3f4a4532.bd222a"
+            ]
+        ]
+    },
+    {
+        "id": "450a6af0.077264",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPListEntries`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1746.989658355713,
+        "y": 1958.344087600708,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "22eaad2d.740fe2",
+        "type": "execute",
+        "name": "set CUCP Level parms",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPListEntries' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1711.9896392822266,
+        "y": 1907.343698501587,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "580eec80.842194",
+        "type": "execute",
+        "name": "cellCUList Entries",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUListEntries' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].NRCellCU_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2511.9893112182617,
+        "y": 1768.3442080020905,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cc58c96d.ad11e8",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof cellCU of Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCUListEntries`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBCUCPList.gNBIdLength`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2109.989797592163,
+        "y": 1974.3440713882446,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "583a1999.80b308",
+        "type": "block",
+        "name": "cellCUCPList Level Parms",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2178.989532470703,
+        "y": 1871.3438911437988,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "580eec80.842194",
+                "dcfa2e91.546e5",
+                "77d625e6.b4cb4c",
+                "6e43c18b.70fb2"
+            ]
+        ]
+    },
+    {
+        "id": "dcfa2e91.546e5",
+        "type": "execute",
+        "name": "gNBCUCPList.gNBCUName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBCUName' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].attributes.gNBCUName'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2540.9893493652344,
+        "y": 1811.343831062317,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "77d625e6.b4cb4c",
+        "type": "execute",
+        "name": "gNBCUCPList-gNBId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].attributes.gNBId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2555.9896507263184,
+        "y": 1860.3439531326294,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6e43c18b.70fb2",
+        "type": "execute",
+        "name": "gNBCUCPList-gNBIdLength",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBIdLength' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].attributes.gNBIdLength'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2581.989532470703,
+        "y": 1909.3440742492676,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a793028.cf38",
+        "type": "for",
+        "name": "For List of Cells ",
+        "xml": "<for index='id3' start='0' end='`$tmp.cellListSize`' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 2160.979606628418,
+        "y": 2256.34402179718,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "acd85ee9.0324e",
+                "7651a599.a9b0dc",
+                "1927dd97.e904d2",
+                "4a58c74c.318ed8",
+                "edece7a3.dd49d8"
+            ]
+        ]
+    },
+    {
+        "id": "1633cee4.fbe6d1",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"Calculated maxNumberOfConns \"/>\n<parameter name=\"field10\" value=\"`$tmp.maxNumberOfConns`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2108.979331970215,
+        "y": 2015.3438272476196,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "223a43d.d0860bc",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3387.9905395507812,
+        "y": 2756.6775465011597,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f46479c0.f3cda8",
+        "type": "block",
+        "name": "Add PLMNInfoList Entry",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3092.9893836975098,
+        "y": 2692.687921524048,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "223a43d.d0860bc",
+                "44e9c024.f4327",
+                "7a08b87f.a399e8",
+                "e80deb26.edbc88",
+                "e4c4b39.845665",
+                "5d716177.03f33",
+                "6b52160.c36d3ec",
+                "a2911caa.0ae37",
+                "a08d08c0.2cad78"
+            ]
+        ]
+    },
+    {
+        "id": "a2911caa.0ae37",
+        "type": "execute",
+        "name": "add PLMNInfoListEntry ToNRCellCU using PUT",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3494.990074157715,
+        "y": 2831.6878814697266,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "cb47bd31.2a362",
+                "4d3537b6.ba0c78"
+            ]
+        ]
+    },
+    {
+        "id": "44e9c024.f4327",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToNRCellCU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3381.989501953125,
+        "y": 2724.688105583191,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "16f8bcf.2cd9443",
+        "type": "execute",
+        "name": "generate addPLMNInfoListEntry.ToNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3521.9896202087402,
+        "y": 2386.3440990448,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7a08b87f.a399e8",
+        "type": "execute",
+        "name": "Populate idGNBCUCPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3403.9794120788574,
+        "y": 2522.34392118454,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e80deb26.edbc88",
+        "type": "execute",
+        "name": "Populate idNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3391.97940826416,
+        "y": 2568.343982219696,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e4c4b39.845665",
+        "type": "execute",
+        "name": "Populate mcc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3378.979410171509,
+        "y": 2609.3440437316895,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5d716177.03f33",
+        "type": "execute",
+        "name": "Populate mnc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3386.97940826416,
+        "y": 2650.343921661377,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cb47bd31.2a362",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3610.989734649658,
+        "y": 2629.6772241592407,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "a7629a42.794538"
+            ]
+        ]
+    },
+    {
+        "id": "4d3537b6.ba0c78",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3903.989776611328,
+        "y": 2851.677315711975,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "6ce2050d.fed9ec"
+            ]
+        ]
+    },
+    {
+        "id": "a7629a42.794538",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3744.989734649658,
+        "y": 2636.677346229553,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "5a4a1124.3b8d5",
+                "efa5b4cd.0af608"
+            ]
+        ]
+    },
+    {
+        "id": "6ce2050d.fed9ec",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4078.989456176758,
+        "y": 2848.677315711975,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "39bee01e.f42"
+            ]
+        ]
+    },
+    {
+        "id": "5a4a1124.3b8d5",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfoList Entry to NRCellCU\" />",
+        "comments": "",
+        "x": 3890.9894104003906,
+        "y": 2736.677426338196,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "39bee01e.f42",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4233.99010848999,
+        "y": 2840.677641391754,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "52d9aa63.07fba4",
+        "type": "set",
+        "name": "Calculate RRM Parms",
+        "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNearRTRIC-cps-response._length`' />\n",
+        "comments": "",
+        "x": 1816.9792442321777,
+        "y": 2005.3440895080566,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "a3f9f991.991298",
+        "type": "execute",
+        "name": "generate addPLMNInfoListEntry.ToNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3716.979347229004,
+        "y": 2430.3439798355103,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cca2ea7b.38df78",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3409.979316711426,
+        "y": 2460.3440408706665,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "a3f9f991.991298",
+                "df8ea361.cb7f8"
+            ]
+        ]
+    },
+    {
+        "id": "df8ea361.cb7f8",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3660.979747772217,
+        "y": 2483.3441734313965,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7ff3c2a.9ef9e3c",
+        "type": "comment",
+        "name": "Connect to AddPLMNInfoList Entry",
+        "info": "when able to talk to latest SDNC",
+        "comments": "",
+        "x": 3390.979106903076,
+        "y": 2790.6771392822266,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "7c40a293.96bedc",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3245.979106903076,
+        "y": 2948.010513305664,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c24148bc.f295c8",
+                "637c4fbb.9878f"
+            ]
+        ]
+    },
+    {
+        "id": "c24148bc.f295c8",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3458.9790115356445,
+        "y": 2888.0106468200684,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "57101a90.e7ab14"
+            ]
+        ]
+    },
+    {
+        "id": "637c4fbb.9878f",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3438.9790115356445,
+        "y": 2932.010585784912,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "1a059aaf.e5b465"
+            ]
+        ]
+    },
+    {
+        "id": "a2b6f57.2246308",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3451.980541229248,
+        "y": 3169.3448753356934,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3db1aaaa.8fcc26",
+        "type": "execute",
+        "name": "add RRM Policy ToNRCellCU using PUT",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3519.9790077209473,
+        "y": 3208.354217529297,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "4ccbe20b.9c592c",
+                "90e3a354.4c4ea"
+            ]
+        ]
+    },
+    {
+        "id": "22bee22b.25b93e",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToNRCellCU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3425.9792556762695,
+        "y": 3134.3542137145996,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "57101a90.e7ab14",
+        "type": "execute",
+        "name": "generate addRRMPolicy.ToNRCellDU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3749.9790115356445,
+        "y": 2894.0106468200684,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3f353e95.f8c492",
+        "type": "execute",
+        "name": "Populate idGNBCUCPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3467.96883392334,
+        "y": 2971.010917186737,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3c7990a9.7c87d",
+        "type": "execute",
+        "name": "Populate idNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3442.9688148498535,
+        "y": 3017.0105686187744,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "75c6c4ed.9f102c",
+        "type": "execute",
+        "name": "Populate id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.NRCellCU`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3423.968822479248,
+        "y": 3057.0109519958496,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4ccbe20b.9c592c",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3808.9794425964355,
+        "y": 3185.3441467285156,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "a8f00aea.075af8"
+            ]
+        ]
+    },
+    {
+        "id": "90e3a354.4c4ea",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3811.979503631592,
+        "y": 3236.343780517578,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "3ba9ae08.388d82"
+            ]
+        ]
+    },
+    {
+        "id": "a8f00aea.075af8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3904.979320526123,
+        "y": 3105.343963623047,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "417eb5a5.0d331c",
+                "efa5b4cd.0af608"
+            ]
+        ]
+    },
+    {
+        "id": "3ba9ae08.388d82",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3963.979196548462,
+        "y": 3221.343780517578,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e914c527.9eb328"
+            ]
+        ]
+    },
+    {
+        "id": "417eb5a5.0d331c",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRMPolicyr\" />",
+        "comments": "",
+        "x": 4031.979076385498,
+        "y": 3169.344085216522,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "e914c527.9eb328",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLCU Executed Successfully \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4151.979503631592,
+        "y": 3206.344085216522,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a46ea418.649278",
+        "type": "execute",
+        "name": "generate RRMPolicy Ratio URL ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3923.9687576293945,
+        "y": 2941.0106468200684,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1a059aaf.e5b465",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3630.969005584717,
+        "y": 2929.010585784912,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "a46ea418.649278",
+                "a66bee30.5ab37"
+            ]
+        ]
+    },
+    {
+        "id": "a66bee30.5ab37",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3880.9688816070557,
+        "y": 2976.010585784912,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4932e5eb.706bec",
+        "type": "comment",
+        "name": "Connect to RRM P{olicy Ratio",
+        "info": "when able to talk to latest SDNC",
+        "comments": "",
+        "x": 3583.968574523926,
+        "y": 3184.3436584472656,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "6511f915.2bf8e8",
+        "type": "block",
+        "name": "CUUP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1840.0207481384277,
+        "y": 3640.08872795105,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "dc5c6dc2.7e02e",
+                "5ca6d07f.f52b4",
+                "1af7cb34.ff75b5",
+                "4678f7d1.100228"
+            ]
+        ]
+    },
+    {
+        "id": "16250274.f5ebfe",
+        "type": "block",
+        "name": "Add RRM Policy Ratio",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3202.0210342407227,
+        "y": 5107.089056253433,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c3717ea9.66b86",
+                "3dc915f1.8d560a",
+                "551df6bd.2cded8",
+                "3de9f0fc.c46c6",
+                "bffb3e1c.245f6",
+                "fc13c405.a48398",
+                "592c5104.20cc5"
+            ]
+        ]
+    },
+    {
+        "id": "3c75509f.46af7",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3398.0207710266113,
+        "y": 4352.089798927307,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "2d98452.10adaba",
+                "61d78cbf.94b6b4"
+            ]
+        ]
+    },
+    {
+        "id": "2d98452.10adaba",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3639.0207710266113,
+        "y": 4284.089799404144,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "2d976c78.6ad2a4"
+            ]
+        ]
+    },
+    {
+        "id": "61d78cbf.94b6b4",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3620.020893096924,
+        "y": 4378.089676856995,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "bc2abc2d.1a778"
+            ]
+        ]
+    },
+    {
+        "id": "5ca6d07f.f52b4",
+        "type": "for",
+        "name": "For List of CUUP's",
+        "xml": "<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 2486.020782470703,
+        "y": 3734.089557647705,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "b3014ceb.a2114",
+                "397cc721.daab88",
+                "49c41044.d34c9",
+                "61a2a179.7d6c2",
+                "16250274.f5ebfe",
+                "b3cc6806.d35378",
+                "1fe961c1.d43d0e",
+                "b097f039.b4c79",
+                "762e809.6b8078",
+                "a400f228.4762e",
+                "7be55c1b.5675b4",
+                "fda0004a.7f313",
+                "6cfc902.0edcc7",
+                "df8b0c49.e9e65",
+                "9a49851c.9c7ca8"
+            ]
+        ]
+    },
+    {
+        "id": "dc5c6dc2.7e02e",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"No. of CUUPs\"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPListEntries`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2909.0206336975098,
+        "y": 3487.089030265808,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1af7cb34.ff75b5",
+        "type": "execute",
+        "name": "set CUUP Level parms",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPListEntries' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUUPFunction_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2912.020538330078,
+        "y": 3444.0891132354736,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b3014ceb.a2114",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP Details \"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3396.020538330078,
+        "y": 3900.0896015167236,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "397cc721.daab88",
+        "type": "block",
+        "name": "cellCUUPList Level Parms",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3362.0206756591797,
+        "y": 3829.0892322063446,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "69e2b5c7.d513bc",
+                "b0adcfc0.b67d1"
+            ]
+        ]
+    },
+    {
+        "id": "69e2b5c7.d513bc",
+        "type": "execute",
+        "name": "gNBCUUPList.gNBCUUPId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBCUUPId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUUPFunction[' + $id2 + '].attributes.gNBCUUPId.value'`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3799.020782470703,
+        "y": 3748.089069366455,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b0adcfc0.b67d1",
+        "type": "execute",
+        "name": "gNBCUUPList-gNBId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUUPFunction[' + $id2 + '].attributes.gNBId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3820.0208702087402,
+        "y": 3843.0892162323,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "db676204.7581b",
+        "type": "for",
+        "name": "For pLMNInfoListEntries",
+        "xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 3401.0103874206543,
+        "y": 4138.089226961136,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e96c539.5d65ab"
+            ]
+        ]
+    },
+    {
+        "id": "49c41044.d34c9",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3401.010509490967,
+        "y": 3992.089104413986,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e96c539.5d65ab",
+        "type": "block",
+        "name": "pLMNInfoList Parms",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3652.0105628967285,
+        "y": 4137.089178085327,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "9ebc6db4.3e7a5",
+                "221fee53.ba20f2"
+            ]
+        ]
+    },
+    {
+        "id": "9ebc6db4.3e7a5",
+        "type": "execute",
+        "name": "sNSSAI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNInfoList[' + $id3 + '].sNSSAI'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3866.010528564453,
+        "y": 4088.0893001556396,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "95cda60c.38bfb8",
+        "type": "comment",
+        "name": "Check if sNSSAI already exists in YANG tree",
+        "info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
+        "comments": "",
+        "x": 3469.0105476379395,
+        "y": 4193.089178085327,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "221fee53.ba20f2",
+        "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=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3870.0105895996094,
+        "y": 4172.08881187439,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ffd2a690.0197a8",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3747.021739959717,
+        "y": 4727.422569274902,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "61a2a179.7d6c2",
+        "type": "block",
+        "name": "Add PLMNInfoList Entry",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3341.0205268859863,
+        "y": 4537.433418273926,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "ffd2a690.0197a8",
+                "cc468ef0.27175",
+                "9fc77afc.8e0988",
+                "97241c4b.51837",
+                "4e03e28e.72fcec",
+                "3c75509f.46af7",
+                "da1ddc89.010aa",
+                "d3141bb1.ef1998"
+            ]
+        ]
+    },
+    {
+        "id": "da1ddc89.010aa",
+        "type": "execute",
+        "name": "add PLMNInfoListEntry ToGNBCUUPFn using PUT",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-GNBCUUPFn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3739.020824432373,
+        "y": 4786.433128356934,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "eebfac6f.41bca",
+                "ec4b749a.0288b8"
+            ]
+        ]
+    },
+    {
+        "id": "cc468ef0.27175",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToGNBCUUPFn URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3749.0207023620605,
+        "y": 4679.433128356934,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2d976c78.6ad2a4",
+        "type": "execute",
+        "name": "generate addPLMNInfoListEntry.ToGNBCUUPFn",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3951.020580291748,
+        "y": 4284.089436531067,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9fc77afc.8e0988",
+        "type": "execute",
+        "name": "Populate idGNBCUUPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3801.010326385498,
+        "y": 4471.089359283447,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "97241c4b.51837",
+        "type": "execute",
+        "name": "Populate mcc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3767.010326385498,
+        "y": 4533.089361190796,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4e03e28e.72fcec",
+        "type": "execute",
+        "name": "Populate mnc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3764.010326385498,
+        "y": 4582.0893630981445,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "eebfac6f.41bca",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4000.0213928222656,
+        "y": 4563.422077178955,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "7fd80efa.d9d68"
+            ]
+        ]
+    },
+    {
+        "id": "ec4b749a.0288b8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4041.021759033203,
+        "y": 4721.423175811768,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "b46da250.48b65"
+            ]
+        ]
+    },
+    {
+        "id": "7fd80efa.d9d68",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4214.021026611328,
+        "y": 4489.42280960083,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "5ee16b2b.4a6364",
+                "efa5b4cd.0af608"
+            ]
+        ]
+    },
+    {
+        "id": "b46da250.48b65",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4055.0211486816406,
+        "y": 4784.42329788208,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "1d502ff0.9bd78"
+            ]
+        ]
+    },
+    {
+        "id": "5ee16b2b.4a6364",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfoList Entry to GNBCUUPFn\" />",
+        "comments": "",
+        "x": 4201.020660400391,
+        "y": 4618.42280960083,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "1d502ff0.9bd78",
+        "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=\"PLMNInfo List Entry Add Executed Successfully \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4202.021514892578,
+        "y": 4772.42329788208,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b71197e9.8ad448",
+        "type": "execute",
+        "name": "generate addPLMNInfoListEntry ToGNBCUUPFn",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4146.010334014893,
+        "y": 4347.089437484741,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bc2abc2d.1a778",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3801.010166168213,
+        "y": 4379.08943939209,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "b71197e9.8ad448",
+                "f97c87e4.95d698"
+            ]
+        ]
+    },
+    {
+        "id": "f97c87e4.95d698",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4065.0106620788574,
+        "y": 4411.08943939209,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6e98a658.2ee568",
+        "type": "comment",
+        "name": "Connect to AddPLMNInfoList Entry",
+        "info": "when able to talk to latest SDNC",
+        "comments": "",
+        "x": 3493.0103912353516,
+        "y": 4684.42281627655,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "c3717ea9.66b86",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3434.010284423828,
+        "y": 4934.755329847336,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "f33184bd.bce378",
+                "4138cee3.af21"
+            ]
+        ]
+    },
+    {
+        "id": "f33184bd.bce378",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3629.010311126709,
+        "y": 4894.755237340927,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "f8450873.8673e8"
+            ]
+        ]
+    },
+    {
+        "id": "4138cee3.af21",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3609.010284423828,
+        "y": 4973.7553288936615,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e575678b.570e48"
+            ]
+        ]
+    },
+    {
+        "id": "bffb3e1c.245f6",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to GNBCUUPFn\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3534.0119705200195,
+        "y": 5181.089304924011,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fc13c405.a48398",
+        "type": "execute",
+        "name": "add RRM Policy ToGNBCUUPFn using PUT",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-GNBCUUPFn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3644.011428833008,
+        "y": 5260.099558830261,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "f0424ecb.810ba",
+                "f3ac82ad.f3241"
+            ]
+        ]
+    },
+    {
+        "id": "3de9f0fc.c46c6",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToGNBCUUPFn URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3544.011054992676,
+        "y": 5147.099070549011,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f8450873.8673e8",
+        "type": "execute",
+        "name": "generate addRRMPolicy.ToNRCellDU URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3912.010284423828,
+        "y": 4889.75532913208,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3dc915f1.8d560a",
+        "type": "execute",
+        "name": "Populate idGNBCUUPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3625.000198364258,
+        "y": 5025.755868911743,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "551df6bd.2cded8",
+        "type": "execute",
+        "name": "Populate id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.GNBCUUPFunction`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3582.0002517700195,
+        "y": 5066.7561140060425,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f0424ecb.810ba",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3909.0106887817383,
+        "y": 5115.088666200638,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "6eeb80a.f9fc88"
+            ]
+        ]
+    },
+    {
+        "id": "f3ac82ad.f3241",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3972.01065826416,
+        "y": 5302.089076280594,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "6e9acb38.427b94"
+            ]
+        ]
+    },
+    {
+        "id": "6eeb80a.f9fc88",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4129.010444641113,
+        "y": 5104.089154481888,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "986627e0.8c5bc8",
+                "efa5b4cd.0af608"
+            ]
+        ]
+    },
+    {
+        "id": "6e9acb38.427b94",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4134.010047912598,
+        "y": 5286.089442491531,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "51805b4f.a81924"
+            ]
+        ]
+    },
+    {
+        "id": "986627e0.8c5bc8",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRMPolicy\" />",
+        "comments": "",
+        "x": 4138.010414123535,
+        "y": 5182.089442491531,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "51805b4f.a81924",
+        "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=\"addRRMPolicyRatio Executed Successfully \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4287.01065826416,
+        "y": 5268.090052843094,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "716b6d71.a97f04",
+        "type": "execute",
+        "name": "generate RRMPolicy Ratio URL ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4026.0000228881836,
+        "y": 4940.755449056625,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e575678b.570e48",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3755.0000076293945,
+        "y": 4939.755448579788,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "716b6d71.a97f04",
+                "73342bce.e1a1d4"
+            ]
+        ]
+    },
+    {
+        "id": "73342bce.e1a1d4",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3979.000015258789,
+        "y": 5021.755776643753,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "dd67b696.6ffc18",
+        "type": "comment",
+        "name": "Connect to RRM P{olicy Ratio",
+        "info": "when able to talk to latest SDNC",
+        "comments": "",
+        "x": 3577.0004959106445,
+        "y": 5217.089182853699,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "4678f7d1.100228",
+        "type": "block",
+        "name": "rrmPolicyDedicatedRatio",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2878.021125793457,
+        "y": 3588.7663984298706,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "5576efdc.d5703",
+                "6d61f19c.788f2",
+                "a8505ab1.84aa88",
+                "65fa62bc.74c76c",
+                "b6bea85b.8c8a58",
+                "f6f86965.f95248",
+                "8fdb21d4.09527"
+            ]
+        ]
+    },
+    {
+        "id": "b6bea85b.8c8a58",
+        "type": "set",
+        "name": "calculation rrm5",
+        "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+        "comments": "",
+        "x": 3136.0215492248535,
+        "y": 3699.5439863204956,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "a8505ab1.84aa88",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"tmp.TotalNumberOfDRBForNSSAI \"/>\n<parameter name=\"field4\" value=\"`$tmp.TotalNumberOfDRBForNSSAI`\"/>\n<parameter name=\"field5\" value=\"tmp.DRBPerCUUPForSNSSAI \"/>\n<parameter name=\"field6\" value=\"`$tmp.DRBPerCUUPForSNSSAI`\"/>\n<parameter name=\"field7\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP1 \"/>\n<parameter name=\"field8\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP1`\"/>\n<parameter name=\"field9\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP\"/>\n<parameter name=\"field10\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field11\" value=\"tmp.maxNumberOfConns\"/>\n<parameter name=\"field12\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3096.021308898926,
+        "y": 3748.211099624634,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "753382d8.45cb3c",
+        "type": "execute",
+        "name": "gNBCUUPList-pLMNInfoList_length",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNInfoList_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3854.020637512207,
+        "y": 3928.0891420841217,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "df35f604.cd4b98",
+        "type": "execute",
+        "name": "gNBCUUPList-pLMNId",
+        "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=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3860.243564605713,
+        "y": 4015.765079498291,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "17de597c.9912d7",
+        "type": "comment",
+        "name": "Assumption pLMNId in configDB resp",
+        "info": "Assumed that configDB responnse will include pLMNId...currently, it is not there",
+        "comments": "",
+        "x": 3881.243408203125,
+        "y": 3973.764797449112,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "1070fbb2.25f074",
+        "type": "block",
+        "name": "SO Response",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 269.9939651489258,
+        "y": 2557.7650756835938,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "cf92e38f.eec56",
+                "d2eccc0a.b3fbe",
+                "183d3040.0ee51",
+                "b8c43a79.25b008",
+                "f2179ecd.60fe3",
+                "28d03768.f261b8"
+            ]
+        ]
+    },
+    {
+        "id": "183d3040.0ee51",
+        "type": "set",
+        "name": "set tmp variables for SO response",
+        "xml": "<set>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
+        "comments": "",
+        "x": 694.9951324462891,
+        "y": 2566.664430618286,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "cf92e38f.eec56",
+        "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`\" />\n<parameter name='field7' value=\"`$prop.restapi.so.user`\" />\n<parameter name='field8' value=\"`$prop.restapi.so.password`\" />\n<parameter name='field9' value=\"`$tmp.DUList.response_length`\" />\n<parameter name='field10' value=\"`$tmp.CUCPList.response`\" />\n<parameter name='field11' value=\"`$tmp.CUUPList.response`\" />\n<parameter name='field12' value=\"`$tmp.DUList.response`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 662.9939384460449,
+        "y": 2671.765007376671,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d2eccc0a.b3fbe",
+        "type": "execute",
+        "name": "Send to SO",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 540.9940423965454,
+        "y": 2748.764630317688,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "b74f2354.aab59",
+                "d8dca77b.261908"
+            ]
+        ]
+    },
+    {
+        "id": "b74f2354.aab59",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 705.9940423965454,
+        "y": 2728.7646293640137,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "ecf30157.22e9a"
+            ]
+        ]
+    },
+    {
+        "id": "d8dca77b.261908",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 697.993935585022,
+        "y": 2801.764579772949,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "9fa86be0.d807f8"
+            ]
+        ]
+    },
+    {
+        "id": "9fa86be0.d807f8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 843.9937791824341,
+        "y": 2806.7646884918213,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "722d70ca.e540f"
+            ]
+        ]
+    },
+    {
+        "id": "ecf30157.22e9a",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 854.9939432144165,
+        "y": 2724.7647647857666,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "fbf5cd11.61469",
+                "3f7d8949.eaec56"
+            ]
+        ]
+    },
+    {
+        "id": "fbf5cd11.61469",
+        "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": 1001.9935617446899,
+        "y": 2735.764506340027,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "722d70ca.e540f",
+        "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/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1004.9936990737915,
+        "y": 2812.7645807266235,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "efa5b4cd.0af608",
+        "type": "block",
+        "name": "block : SO Response",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 5580.490123748779,
+        "y": 3422.010543823242,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e6b578f6.952e98",
+                "5ee17ab0.8482c4",
+                "b4b8a81a.253448"
+            ]
+        ]
+    },
+    {
+        "id": "e6b578f6.952e98",
+        "type": "set",
+        "name": "set tmp variables for SO response",
+        "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
+        "comments": "",
+        "x": 5898.491100311279,
+        "y": 3345.910202026367,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "5ee17ab0.8482c4",
+        "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`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 5873.489986419678,
+        "y": 3443.0108795166016,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b4b8a81a.253448",
+        "type": "execute",
+        "name": "Send to SO",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 5788.4899978637695,
+        "y": 3540.010757446289,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "64761b1c.fb0334",
+                "c9028c33.cfac"
+            ]
+        ]
+    },
+    {
+        "id": "64761b1c.fb0334",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 6014.490006446838,
+        "y": 3517.010726451874,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "f739331d.1e6a9"
+            ]
+        ]
+    },
+    {
+        "id": "c9028c33.cfac",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 6004.489860534668,
+        "y": 3625.0106658935547,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "b0b1523b.da75e"
+            ]
+        ]
+    },
+    {
+        "id": "b0b1523b.da75e",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 6154.489646911621,
+        "y": 3644.010726928711,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "9a56bf4a.282d8"
+            ]
+        ]
+    },
+    {
+        "id": "f739331d.1e6a9",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 6165.489875793457,
+        "y": 3512.0108485221863,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c98ed11c.4398b"
+            ]
+        ]
+    },
+    {
+        "id": "c98ed11c.4398b",
+        "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": 6331.489555358887,
+        "y": 3515.0106658935547,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "9a56bf4a.282d8",
+        "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=\"SO Response Sent \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 6318.48966217041,
+        "y": 3650.0106658935547,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "76dd264a.93e678",
+        "type": "block",
+        "name": "nearRTRIC",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1659.9899673461914,
+        "y": 999.3438243865967,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "276095ff.91e16a",
+                "ee4e10f.bbb88f",
+                "bd9deee9.19178",
+                "19047f12.40ea01",
+                "14a74d61.687653",
+                "6f8d204e.ab77d",
+                "9e34a190.b4509",
+                "9cc7de8e.f6eaa",
+                "250bac43.046f44"
+            ]
+        ]
+    },
+    {
+        "id": "aee17e85.26423",
+        "type": "execute",
+        "name": "ranNFNSSIListEntry",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ranNFNSSIListEntry' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].ranNFNSSIList[0]'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1610.9898681640625,
+        "y": 858.6771078109741,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "276095ff.91e16a",
+        "type": "set",
+        "name": "Calculate SliceProfile - NEarRTRIC part 1",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n",
+        "comments": "",
+        "x": 2011.3233489990234,
+        "y": 766.6772222518921,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "ee4e10f.bbb88f",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"Calculated dLThptPerSlice  for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"Calculated maxNumberOfConns  for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC1.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2015.6564674377441,
+        "y": 1007.3440437316895,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c2fc9fd7.2f032",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3988.9897651672363,
+        "y": 3421.899688720703,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "7f64c367.7a523c",
+                "efa5b4cd.0af608",
+                "99b4e6ea.678d68"
+            ]
+        ]
+    },
+    {
+        "id": "7f64c367.7a523c",
+        "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 RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4297.989910125732,
+        "y": 3533.89919757843,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "f2abe69e.751e08",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy CUCP info in CPS\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3881.989818572998,
+        "y": 3567.8993759155273,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "baaa686f.0f6c28",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3722.9904022216797,
+        "y": 3523.8999547958374,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "f2abe69e.751e08",
+                "70d5f98d.0a1c68"
+            ]
+        ]
+    },
+    {
+        "id": "a3bd3fd7.d56cd",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3629.9900665283203,
+        "y": 3455.898377418518,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "baaa686f.0f6c28"
+            ]
+        ]
+    },
+    {
+        "id": "1555e419.70281c",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3479.9901847839355,
+        "y": 3392.8996410369873,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c2fc9fd7.2f032"
+            ]
+        ]
+    },
+    {
+        "id": "70d5f98d.0a1c68",
+        "type": "set",
+        "name": "Increment RRMPolicyID",
+        "xml": "<set>\n<parameter name='tmp.rrmPolicyMemberID' value='`$tmp.rrmPolicyMemberID + 1`' />",
+        "comments": "",
+        "x": 3934.2222328186035,
+        "y": 3519.4650592803955,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "5af0447f.85e61c",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3894.521026611328,
+        "y": 5432.54195022583,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "d224ee85.1f355"
+            ]
+        ]
+    },
+    {
+        "id": "caac4fc1.49221",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4043.5208702087402,
+        "y": 5596.541608810425,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c5cb37ba.c169d8"
+            ]
+        ]
+    },
+    {
+        "id": "d224ee85.1f355",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4209.521026611328,
+        "y": 5436.54195022583,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "a14d017a.8a3d8",
+                "12b762d5.c08d7d",
+                "efa5b4cd.0af608"
+            ]
+        ]
+    },
+    {
+        "id": "c5cb37ba.c169d8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4173.520832061768,
+        "y": 5634.541606903076,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "d993fd9d.1ecac"
+            ]
+        ]
+    },
+    {
+        "id": "d993fd9d.1ecac",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated gNBCUUP info in CPS\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4298.520835876465,
+        "y": 5604.5416078567505,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a14d017a.8a3d8",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4295.521026611328,
+        "y": 5516.54146194458,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "12b762d5.c08d7d",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4220.521026611328,
+        "y": 5336.65327835083,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "c5a464ec.f71908",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUUP info in CPS. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4294.490562438965,
+        "y": 5652.010521888733,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "28e73e00.bfb9b2",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4237.489582061768,
+        "y": 5714.899682998657,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "93d768fd.94b718",
+                "c5a464ec.f71908",
+                "efa5b4cd.0af608"
+            ]
+        ]
+    },
+    {
+        "id": "93d768fd.94b718",
+        "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 RRMPolicy CUUP info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4358.490238189697,
+        "y": 5778.899034500122,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "308a1d18.43a132",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3784.4900665283203,
+        "y": 5659.898377418518,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "3d97273e.566fb8"
+            ]
+        ]
+    },
+    {
+        "id": "3d97273e.566fb8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3754.490467071533,
+        "y": 5748.899684906006,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "26216457.52908c",
+                "ee0bd7eb.8d26c8"
+            ]
+        ]
+    },
+    {
+        "id": "26216457.52908c",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy CUUP info in CPS\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$tmp.rrmPolicyMemberID`' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3910.4904708862305,
+        "y": 5783.8996868133545,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ee0bd7eb.8d26c8",
+        "type": "set",
+        "name": "Increment RRMPolicyID",
+        "xml": "<set>\n<parameter name='tmp.rrmPolicyMemberID' value='`$prop.configDB.rrmPolicyID + 1`' />",
+        "comments": "",
+        "x": 3961.7228965759277,
+        "y": 5713.464787483215,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "d592083b.9c2d48",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3789.6563682556152,
+        "y": 5596.343854904175,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "28e73e00.bfb9b2"
+            ]
+        ]
+    },
+    {
+        "id": "e05bcfb7.a3bf6",
+        "type": "block",
+        "name": "block : SO Response",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2925.3247299194336,
+        "y": 7257.68115568161,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "6fc2b11f.077c9",
+                "955ff8c9.bdc148",
+                "37cfeb9b.6dee54"
+            ]
+        ]
+    },
+    {
+        "id": "6fc2b11f.077c9",
+        "type": "set",
+        "name": "set tmp variables for SO response",
+        "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
+        "comments": "",
+        "x": 3051.3253860473633,
+        "y": 7154.579591751099,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "955ff8c9.bdc148",
+        "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`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3213.324737548828,
+        "y": 7282.681156158447,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "37cfeb9b.6dee54",
+        "type": "execute",
+        "name": "Send to SO",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3032.3243370056152,
+        "y": 7445.680549144745,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "145af56e.8113fb",
+                "d3dc37e0.be9578"
+            ]
+        ]
+    },
+    {
+        "id": "145af56e.8113fb",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3142.3248252868652,
+        "y": 7357.680305480957,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "711f2048.1f71a"
+            ]
+        ]
+    },
+    {
+        "id": "d3dc37e0.be9578",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3084.3247032165527,
+        "y": 7531.680186748505,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "810b768d.9aa468"
+            ]
+        ]
+    },
+    {
+        "id": "810b768d.9aa468",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3215.324764251709,
+        "y": 7486.68116402626,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "77e7c799.ca48a8"
+            ]
+        ]
+    },
+    {
+        "id": "711f2048.1f71a",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3251.325008392334,
+        "y": 7426.681038379669,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "ca59a274.d0bfb"
+            ]
+        ]
+    },
+    {
+        "id": "ca59a274.d0bfb",
+        "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": 3340.3240928649902,
+        "y": 7358.6811599731445,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "77e7c799.ca48a8",
+        "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=\"SO Response Sent \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3248.3248863220215,
+        "y": 7568.680431842804,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "63b00bd4.017bd4",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2566.3237838745117,
+        "y": 7049.013158798218,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "6cbbfe07.4ea6"
+            ]
+        ]
+    },
+    {
+        "id": "c567324.fa000d",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2559.324333190918,
+        "y": 6955.01328086853,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "ecb28b18.d1ba18"
+            ]
+        ]
+    },
+    {
+        "id": "6cbbfe07.4ea6",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2722.3234252929688,
+        "y": 7047.0144810676575,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "a7c526ee.e79858",
+                "2aafc563.8ada7a",
+                "e05bcfb7.a3bf6"
+            ]
+        ]
+    },
+    {
+        "id": "ecb28b18.d1ba18",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2695.3234252929688,
+        "y": 6980.01317691803,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "3c306b79.368c44"
+            ]
+        ]
+    },
+    {
+        "id": "3c306b79.368c44",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated DU info in CPS\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2872.323429107666,
+        "y": 6998.010573387146,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a7c526ee.e79858",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2666.323257446289,
+        "y": 7132.013181686401,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "2aafc563.8ada7a",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2887.3234329223633,
+        "y": 7061.12385559082,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "c94eba88.7ef0b8",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2686.29314994812,
+        "y": 7298.482099533081,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "140989f0.bd05f6",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2554.292167663574,
+        "y": 7353.3699588775635,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "bbaf04ce.150308",
+                "c94eba88.7ef0b8",
+                "e05bcfb7.a3bf6"
+            ]
+        ]
+    },
+    {
+        "id": "bbaf04ce.150308",
+        "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 RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2711.292984008789,
+        "y": 7401.37012386322,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "19d4936d.cabecd",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2438.2928161621094,
+        "y": 7141.368650436401,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "d26ee2e0.57da1"
+            ]
+        ]
+    },
+    {
+        "id": "d26ee2e0.57da1",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2526.293468475342,
+        "y": 7244.369304656982,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "9808fca7.cdc88",
+                "3f60fcea.ce2e74"
+            ]
+        ]
+    },
+    {
+        "id": "9808fca7.cdc88",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy DU info in CPS\"/>\n<parameter name=\"field2\" value=\"Incremented CPS rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2670.293800354004,
+        "y": 7244.370119094849,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3f60fcea.ce2e74",
+        "type": "set",
+        "name": "Increment RRMPolicyID",
+        "xml": "<set>\n<parameter name='tmp.rrmPolicyMemberID' value='`$prop.configDB.rrmPolicyID + 1`' />",
+        "comments": "",
+        "x": 2696.5255699157715,
+        "y": 7189.93505859375,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "82f27e82.aa07a",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2395.458953857422,
+        "y": 7343.813970565796,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "140989f0.bd05f6"
+            ]
+        ]
+    },
+    {
+        "id": "ec462b24.75a1e8",
+        "type": "for",
+        "name": "For cellCU List",
+        "xml": "<for index='idCell' start='0' end='`$tmp.cellCUListEntries `' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 2356.989776611328,
+        "y": 2441.010456085205,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c8e479e7.263358"
+            ]
+        ]
+    },
+    {
+        "id": "deb41f60.22472",
+        "type": "execute",
+        "name": "NRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.cellLocalId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].NRCellCU[' + $idCell + '].attributes.cellLocalId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2672.989990234375,
+        "y": 2189.0106048583984,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cc5825fd.87b9b8",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test=\"`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`\">    \n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2604.990264892578,
+        "y": 2497.010456085205,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "204f422.cf8afbe"
+            ]
+        ]
+    },
+    {
+        "id": "204f422.cf8afbe",
+        "type": "outcomeTrue",
+        "name": "true",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2708.990264892578,
+        "y": 2406.010456085205,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "39971bf0.5dc314"
+            ]
+        ]
+    },
+    {
+        "id": "39971bf0.5dc314",
+        "type": "block",
+        "name": "UpdateCell",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2799.9901123046875,
+        "y": 2475.010543823242,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "f46479c0.f3cda8",
+                "37119559.6466ba",
+                "5b894103.55831",
+                "7d2e3cb0.3fe134",
+                "697cd0a0.4e002",
+                "af869d8d.bb8db",
+                "23751f71.cd222"
+            ]
+        ]
+    },
+    {
+        "id": "c8e479e7.263358",
+        "type": "block",
+        "name": "Block",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2470.989532470703,
+        "y": 2353.010456085205,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "deb41f60.22472",
+                "cc5825fd.87b9b8",
+                "e5a02ea0.1d7ed",
+                "eba61345.d0e9",
+                "dd848e3a.8f8ea"
+            ]
+        ]
+    },
+    {
+        "id": "e875400.da0b9c",
+        "type": "for",
+        "name": "For cellDU List",
+        "xml": "<for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 2455.2445106506348,
+        "y": 6329.017054080963,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "1c2e0e9e.d3b131"
+            ]
+        ]
+    },
+    {
+        "id": "454ceb07.19f764",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test=\"`$tmp.cellLocalId == $tmp.tacellLocalId`\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 2669.244384765625,
+        "y": 6546.014612197876,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "704aa877.922048"
+            ]
+        ]
+    },
+    {
+        "id": "704aa877.922048",
+        "type": "outcomeTrue",
+        "name": "true",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2891.24462890625,
+        "y": 6544.015100479126,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "22936030.07e02"
+            ]
+        ]
+    },
+    {
+        "id": "22936030.07e02",
+        "type": "block",
+        "name": "UpdateCell",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2933.2450256347656,
+        "y": 6635.015472412109,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "81f8a6e4.afe348",
+                "122ad994.9b9a46",
+                "e5c3fee0.cd9b2"
+            ]
+        ]
+    },
+    {
+        "id": "1c2e0e9e.d3b131",
+        "type": "block",
+        "name": "Block",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2447.2440452575684,
+        "y": 6446.0144901275635,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "454ceb07.19f764",
+                "a3371b66.8415f8",
+                "e1aedf7.cdd372",
+                "56407b31.2246a4",
+                "1973ed69.a326e3"
+            ]
+        ]
+    },
+    {
+        "id": "7c6edc86.2aebf4",
+        "type": "block",
+        "name": "rrmPolicyRatioPerCELLCU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2176.9897689819336,
+        "y": 2049.010456085205,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "386eb2b1.24326e",
+                "f2f48dfe.bc7e2",
+                "4e867752.5d0338",
+                "f5e5b693.383e68"
+            ]
+        ]
+    },
+    {
+        "id": "386eb2b1.24326e",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellCU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConnsPercellCU \"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field5\" value=\"rRMPolicyDedicatedRatio.CellCU1 \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2376.989616394043,
+        "y": 2068.4551334381104,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f6f86965.f95248",
+        "type": "set",
+        "name": "Calculate for RRM1",
+        "xml": "<set>\n<parameter name='tmp.maxNumberOfConns-CUUP' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`' />\n",
+        "comments": "",
+        "x": 3130.9902305603027,
+        "y": 3478.010199546814,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "845fac96.0dc0b",
+        "type": "set",
+        "name": "Calculate RRM Parms1",
+        "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
+        "comments": "",
+        "x": 2514.990119934082,
+        "y": 5436.012072563171,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "1fb75cdb.018953",
+        "type": "set",
+        "name": "calculation10",
+        "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
+        "comments": "",
+        "x": 2460.9901809692383,
+        "y": 5948.011828422546,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "3f7d8949.eaec56",
+        "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": 1025.5041618347168,
+        "y": 2684.7540607452393,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "28959e11.962232",
+        "type": "execute",
+        "name": "add RRM Policy ToNRCellDU using PUT",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3986.0011291503906,
+        "y": 7465.000177383423,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "dcd06996.9419f8",
+                "ccd205bd.50a928"
+            ]
+        ]
+    },
+    {
+        "id": "dcd06996.9419f8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4411.00016784668,
+        "y": 7454.989763259888,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "af4e8ab6.66bfb8"
+            ]
+        ]
+    },
+    {
+        "id": "af4e8ab6.66bfb8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4596.999523162842,
+        "y": 7447.989761352539,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "2be5c8b1.ca3f18"
+            ]
+        ]
+    },
+    {
+        "id": "2be5c8b1.ca3f18",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 4777.000183105469,
+        "y": 7464.989761352539,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b8c43a79.25b008",
+        "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": 679.3336486816406,
+        "y": 2606.7504596710205,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7de609de.117f48",
+        "type": "block",
+        "name": "Action Per DU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2028.500087738037,
+        "y": 6013.333628177643,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c94efb18.83e308",
+                "329d2d0c.6fbe52",
+                "4b1c44e9.52ae0c",
+                "13707b1.958bc85"
+            ]
+        ]
+    },
+    {
+        "id": "e87c125a.d40ad",
+        "type": "block",
+        "name": "Activies Per Call",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2256.1668014526367,
+        "y": 6281.3338260650635,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e875400.da0b9c",
+                "a3f31b0e.e39308",
+                "80b03848.2437a8",
+                "88189157.2f2e9",
+                "4664cedb.d83dd"
+            ]
+        ]
+    },
+    {
+        "id": "e5c3fee0.cd9b2",
+        "type": "block",
+        "name": "CPS DU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1602.8341598510742,
+        "y": 6851.001928329468,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "27dcaeab.b63122",
+                "1295fa84.c0b875",
+                "84df08f8.343c38"
+            ]
+        ]
+    },
+    {
+        "id": "2c352e43.e95302",
+        "type": "block",
+        "name": "Block",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2974.1669845581055,
+        "y": 6150.000532150269,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "76552f36.3806e",
+                "7557ef29.dbae1",
+                "4a055152.a7f46"
+            ]
+        ]
+    },
+    {
+        "id": "bd9deee9.19178",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload slice parameters - maxNumberofUEs \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field3\" value=\"Payload slice parameters - maxNumberofConns\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field5\" value=\"Payload slice parameters -  dLThptPerSlice\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Payload slice parameters -  uLThptPerSlice\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1864.5003204345703,
+        "y": 693.3334331512451,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "19047f12.40ea01",
+        "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-sliceparms-cps-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2045.1668510437012,
+        "y": 955.6667952537537,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "14a74d61.687653",
+        "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-sliceparms-context2.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2023.5001640319824,
+        "y": 1061.3334293365479,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f2f48dfe.bc7e2",
+        "type": "set",
+        "name": "calculation1",
+        "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />",
+        "comments": "",
+        "x": 2412.833396911621,
+        "y": 1944.0000553131104,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "4e867752.5d0338",
+        "type": "set",
+        "name": "calculation2",
+        "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />",
+        "comments": "",
+        "x": 2415.833366394043,
+        "y": 1985.666711807251,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "f5e5b693.383e68",
+        "type": "set",
+        "name": "calculation3",
+        "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+        "comments": "",
+        "x": 2402.8332748413086,
+        "y": 2029.6666202545166,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "5576efdc.d5703",
+        "type": "set",
+        "name": "Calculate for RRM2",
+        "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' />",
+        "comments": "",
+        "x": 3157.031681060791,
+        "y": 3551.531657218933,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "6d61f19c.788f2",
+        "type": "set",
+        "name": "Calculate for RRM3",
+        "xml": "<set>\n<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />",
+        "comments": "",
+        "x": 3171.031806945801,
+        "y": 3604.5315341949463,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "65fa62bc.74c76c",
+        "type": "set",
+        "name": "calculation rrm4",
+        "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />",
+        "comments": "",
+        "x": 3143.0313148498535,
+        "y": 3642.531413078308,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "3a5b1e66.46b702",
+        "type": "set",
+        "name": "Calculate RRM Parms2",
+        "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
+        "comments": "",
+        "x": 2523.531379699707,
+        "y": 5481.032092034817,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "cbba5928.6a59f8",
+        "type": "set",
+        "name": "Calculate RRM Parms3",
+        "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
+        "comments": "",
+        "x": 2513.5315017700195,
+        "y": 5536.031969964504,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "c0e75462.4bf078",
+        "type": "set",
+        "name": "Calculate RRM Parms4",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
+        "comments": "",
+        "x": 2513.531379699707,
+        "y": 5587.031970024109,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "dbc387ab.afb758",
+        "type": "set",
+        "name": "Calculate RRM Parms5",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+        "comments": "",
+        "x": 2501.5315017700195,
+        "y": 5647.032092034817,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "38bc61.ba2853a",
+        "type": "set",
+        "name": "Calculate RRM Parms6",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
+        "comments": "",
+        "x": 2539.531379699707,
+        "y": 5697.032092034817,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "2a8281e3.c92d1e",
+        "type": "set",
+        "name": "Calculate RRM Parms7",
+        "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+        "comments": "",
+        "x": 2526.531318664551,
+        "y": 5767.032458305359,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "4ea56ac8.efdec4",
+        "type": "set",
+        "name": "calculation8",
+        "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n",
+        "comments": "",
+        "x": 2497.531318664551,
+        "y": 5831.031481742859,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "e82eeb18.2a3578",
+        "type": "set",
+        "name": "calculation9",
+        "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+        "comments": "",
+        "x": 2485.531867980957,
+        "y": 5882.031359672546,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "ae80d410.678c98",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2257.697765350342,
+        "y": 1049.189266204834,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "ee17ef51.85ce5",
+                "cd871f1a.52813"
+            ]
+        ]
+    },
+    {
+        "id": "ee17ef51.85ce5",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2479.920177459717,
+        "y": 1046.9668283462524,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "7179ef79.125f3"
+            ]
+        ]
+    },
+    {
+        "id": "cd871f1a.52813",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2459.920150756836,
+        "y": 1125.9669198989868,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "2683dd2d.044e62"
+            ]
+        ]
+    },
+    {
+        "id": "8507994d.a9ea58",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for ADD SliceProfile ToNearRTRIC\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$tmp.trackingArea`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2236.47615814209,
+        "y": 1171.1891136169434,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6f8d204e.ab77d",
+        "type": "block",
+        "name": "Add sliceprofile NRTRIC",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1891.0308990478516,
+        "y": 1255.4219074249268,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "8507994d.a9ea58",
+                "9da3378c.da5c38",
+                "ae80d410.678c98",
+                "3415c5be.09fdfa"
+            ]
+        ]
+    },
+    {
+        "id": "3415c5be.09fdfa",
+        "type": "execute",
+        "name": "add addSliceProfile.ToNearRTRIC using PUT",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-sliceProfile-NRRIC.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addSliceProfile-NRTRIC-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2280.9211959838867,
+        "y": 1249.9777088165283,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "62daeb93.eb3e34",
+                "e765db66.dbd9c8"
+            ]
+        ]
+    },
+    {
+        "id": "9da3378c.da5c38",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add SliceProfile ToNearRTRIC url:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2235.3650283813477,
+        "y": 1119.644229888916,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "36de853f.99695a",
+        "type": "execute",
+        "name": "generate addSliceProfile.ToNearRTRIC URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2867.9201431274414,
+        "y": 946.9671695530415,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "62daeb93.eb3e34",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2609.697914123535,
+        "y": 1207.4114456176758,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "aba84522.849158"
+            ]
+        ]
+    },
+    {
+        "id": "e765db66.dbd9c8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2591.921188354492,
+        "y": 1277.9668951034546,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e63cdec7.211cc"
+            ]
+        ]
+    },
+    {
+        "id": "e63cdec7.211cc",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2740.2531814575195,
+        "y": 1282.3003072738647,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "dc73ccad.787bb"
+            ]
+        ]
+    },
+    {
+        "id": "6ce520dc.0b66b",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding slice proficle to NearRTRIC\" />",
+        "comments": "",
+        "x": 2924.6983757019043,
+        "y": 1211.3005781173706,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "dc73ccad.787bb",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Slice Profile Entry Added to NearRTRIC Executed Successfully \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2920.9207725524902,
+        "y": 1258.967450618744,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2683dd2d.044e62",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2652.9098014831543,
+        "y": 1120.9669198989868,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "6d12a3b.84cd85c",
+                "5c2064d0.70accc",
+                "66902079.5bf7a"
+            ]
+        ]
+    },
+    {
+        "id": "3d173590.919bba",
+        "type": "execute",
+        "name": "Populate addSliceProfile.ToNearRTRIC URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n    <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2868.454917907715,
+        "y": 1002.566130399704,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6d12a3b.84cd85c",
+        "type": "execute",
+        "name": "generate addSliceProfile.ToNearRTRIC URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2932.454750061035,
+        "y": 1049.5662400722504,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5c2064d0.70accc",
+        "type": "execute",
+        "name": "Populate addSliceProfile.ToNearRTRIC URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n    <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2947.9897499084473,
+        "y": 1101.165064573288,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "66902079.5bf7a",
+        "type": "execute",
+        "name": "Populate MOUNT NAME",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2966.4550704956055,
+        "y": 1154.5660531520844,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "aba84522.849158",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2748.010612487793,
+        "y": 1216.6772713661194,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "6ce520dc.0b66b"
+            ]
+        ]
+    },
+    {
+        "id": "7179ef79.125f3",
+        "type": "block",
+        "name": "URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2603.010669708252,
+        "y": 979.2326898574829,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "36de853f.99695a",
+                "3d173590.919bba"
+            ]
+        ]
+    },
+    {
+        "id": "5b894103.55831",
+        "type": "execute",
+        "name": "prepare gNBCUCPList for SO callback",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n    <parameter name='prefixKey' value='tmp.CUCPList.response' />\n\t<parameter name='keyName' value='gNBCUName' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3126.5003051757812,
+        "y": 2208.000198364258,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7d2e3cb0.3fe134",
+        "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/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPList length\"/>\n<parameter name=\"field2\" value=\"`$CUCPListEntries_size`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3040.5000610351562,
+        "y": 2343.000015258789,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "697cd0a0.4e002",
+        "type": "execute",
+        "name": "CUCP List size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='CUCPListEntries_size' />\n\t<parameter name='source' value=\"`tmp.CUCPList.response_length`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3064.750244140625,
+        "y": 2288.500045776367,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9a49851c.9c7ca8",
+        "type": "execute",
+        "name": "prepare gNBCUUPList for SO callback",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n    <parameter name='prefixKey' value='tmp.CUUPList.response' />\n\t<parameter name='keyName' value='gNBCUUPId' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3354.7507095336914,
+        "y": 5349.000314712524,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fd278e1c.281cb",
+        "type": "execute",
+        "name": "prepare gNBDUList for SO callback",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n    <parameter name='prefixKey' value='tmp.DUList.response' />\n\t<parameter name='keyName' value='gNBDUId' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3686.250198364258,
+        "y": 7026.250059127808,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5413ea67.a791e4",
+        "type": "set",
+        "name": "callback payload",
+        "xml": "<set>\n<parameter name='tmp.CUCPList.response' value='`$tmp.CUCPList.response`' />\n<parameter name='tmp.CUUPList.response' value='`$tmp.CUUPList.response`' />\n<parameter name='tmp.DUList.response' value='`$tmp.DUList.response`' />\n",
+        "comments": "",
+        "x": 643.250171661377,
+        "y": 2636.499962210655,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "ab780004.ece9e",
+        "type": "execute",
+        "name": "gNBCUCPList",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList.response' />\n\t<parameter name='source' value=\"`$tmp.CUCPList.response`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3063.7500610351562,
+        "y": 2258.0000762939453,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a08d08c0.2cad78",
+        "type": "set",
+        "name": "set maxNumberOfConns",
+        "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns/$tmp.cellCUListEntries`'/>",
+        "comments": "",
+        "x": 3426.5000648498535,
+        "y": 2684.2501745224,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "d3141bb1.ef1998",
+        "type": "set",
+        "name": "set maxNumberOfConns",
+        "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns/$tmp.cellCUListEntries`'/>",
+        "comments": "",
+        "x": 3788.250026702881,
+        "y": 4622.249960899353,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "b5039f8d.80675",
+        "type": "set",
+        "name": "set throughput",
+        "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice/$tmp.cellDUListEntries`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice/$tmp.cellDUListEntries`'/>",
+        "comments": "",
+        "x": 3893.000026702881,
+        "y": 6811.999960899353,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "8fdb21d4.09527",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"maxNumberOfConns.CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3110.000026702881,
+        "y": 3510.499960899353,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "574be0db.cf3bb",
+        "type": "set",
+        "name": "set resourceID",
+        "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellLocalId`'/>",
+        "comments": "",
+        "x": 3429.999973297119,
+        "y": 3097.7501707077026,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "592c5104.20cc5",
+        "type": "set",
+        "name": "set resourceID",
+        "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.gNBCUUPList.gNBCUUPId`'/>",
+        "comments": "",
+        "x": 3571.7501907348633,
+        "y": 5106.50013256073,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "2ec7b719.1b3348",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 873.0006980895996,
+        "y": 2266.000232696533,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "6629d929.41c148"
+            ]
+        ]
+    },
+    {
+        "id": "96cf2a1b.7b9f88",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 878.0006370544434,
+        "y": 2386.9999570846558,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "b755261f.047948"
+            ]
+        ]
+    },
+    {
+        "id": "b755261f.047948",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1036.0004272460938,
+        "y": 2386.000202178955,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "acbf111a.9d5ce"
+            ]
+        ]
+    },
+    {
+        "id": "acbf111a.9d5ce",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory in CPS\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1222.000675201416,
+        "y": 2370.00044631958,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5ec5448b.00375c",
+        "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 inventory in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 1218.0003700256348,
+        "y": 2270.000231742859,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "6629d929.41c148",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1032.0009803771973,
+        "y": 2264.0003242492676,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "5ec5448b.00375c",
+                "bcb0267.433c4d8",
+                "efa5b4cd.0af608"
+            ]
+        ]
+    },
+    {
+        "id": "bcb0267.433c4d8",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory info in CPS. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 1208.0006103515625,
+        "y": 2184.111346244812,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "241a5494.cd57fc",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Update inventory in CPS\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 749.2500801086426,
+        "y": 2058.5000286102295,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2d1fb406.70ca6c",
+        "type": "execute",
+        "name": "set trackingArea",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'payloadJson.input.sliceProfile.coverageAreaTAList[' + $ta + ']'`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1082.5762023925781,
+        "y": 143.48923301696777,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a213d956.8a66b8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 894.9650268554688,
+        "y": 446.6002793312073,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "2d1fb406.70ca6c",
+                "ecc5a6c7.a652c8",
+                "4ef31d96.a96d54"
+            ]
+        ]
+    },
+    {
+        "id": "ecc5a6c7.a652c8",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Tracking Area\"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1069.1871719360352,
+        "y": 192.4892110824585,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cf902d02.bd5b5",
+        "type": "for",
+        "name": "For coverageAreaTAList",
+        "xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 661.0000076293945,
+        "y": 497.8332977294922,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "a213d956.8a66b8"
+            ]
+        ]
+    },
+    {
+        "id": "a7723108.a7e47",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 633.2222595214844,
+        "y": 442.55550956726074,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5babe467.37ec7c",
+        "type": "execute",
+        "name": "set trackingArea size",
+        "xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$payloadJson.input.sliceProfile.coverageAreaTAList_length`\"/>\n\t",
+        "comments": "",
+        "outputs": 1,
+        "x": 664.3333435058594,
+        "y": 392.55550956726074,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1cc675c1.22f72a",
+        "type": "set",
+        "name": "set RRMPolicyRatio IDs",
+        "xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.rrmPolicyMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID`' />",
+        "comments": "",
+        "x": 1375.1365509033203,
+        "y": 532.959644317627,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "88782b9e.a2bae8",
+        "type": "execute",
+        "name": "tmp.ranNFNSSIListEntry",
+        "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value='`$tmp.payload.RANNFNSSIId`'/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1591.6365051269531,
+        "y": 801.931812286377,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f2179ecd.60fe3",
+        "type": "switchNode",
+        "name": "check status",
+        "xml": "<switch test='`$error-code`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 597.5000915527344,
+        "y": 2530.7500873804092,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e05fee9.c6e761",
+                "eddf8caf.68f58"
+            ]
+        ]
+    },
+    {
+        "id": "e05fee9.c6e761",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='200'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 780.500072479248,
+        "y": 2487.7501544952393,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "cb76d66e.fe19a8"
+            ]
+        ]
+    },
+    {
+        "id": "cb76d66e.fe19a8",
+        "type": "set",
+        "name": "status",
+        "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+        "comments": "",
+        "x": 956.500072479248,
+        "y": 2490.75030708313,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "71026d69.714c54",
+        "type": "set",
+        "name": "failure status",
+        "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+        "comments": "",
+        "x": 957.500057220459,
+        "y": 2534.7500324249268,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "eddf8caf.68f58",
+        "type": "other",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 796.500057220459,
+        "y": 2539.7500324249268,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "71026d69.714c54"
+            ]
+        ]
+    },
+    {
+        "id": "28d03768.f261b8",
+        "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=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 641.5000510215759,
+        "y": 2474.0000718832016,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7ecdff78.057e7",
+        "type": "set",
+        "name": "set plmn id",
+        "xml": "<set>\n<parameter name=\"tmp.pLMNId\" value=\"`$tmp.payload.pLMNId`\"/>\n",
+        "comments": "",
+        "x": 3874.500015258789,
+        "y": 6201.749950408936,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "9e34a190.b4509",
+        "type": "set",
+        "name": "Calculate SliceProfile - NEarRTRIC part 2",
+        "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNearRTRIC-cps-response._length`' />",
+        "comments": "",
+        "x": 2029.75390625,
+        "y": 840.2499885559082,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "7c754b3f.d09204",
+        "type": "execute",
+        "name": "generate getListOfCells URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getListOfCells.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.cavsta.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1626.5000839233398,
+        "y": 70,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2f8c167f.d5f98a",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.getListOfCells.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getListOfCells.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-cells-list`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1593.131965637207,
+        "y": 112.22213554382324,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "31d69ac5.2e0646",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get List of cells of TAC\"/>\n<parameter name='field2' value=\"`$tmp.cps.getListOfCells.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1624.381965637207,
+        "y": 153.47213554382324,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "63599afa.a2d924",
+        "type": "execute",
+        "name": "Get ListOfCells for TrackingArea",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getListOfCells.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-cells-list.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1625.631980895996,
+        "y": 195.97214889526367,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "921dbc77.dde2d",
+                "d71ca418.0dba98"
+            ]
+        ]
+    },
+    {
+        "id": "e756f56b.cc6118",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1333.131965637207,
+        "y": 145.65963768959045,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "7c754b3f.d09204",
+                "2f8c167f.d5f98a",
+                "31d69ac5.2e0646",
+                "63599afa.a2d924",
+                "5244ce64.96b6e",
+                "e0a436c4.3c7f68",
+                "df6af0db.35377"
+            ]
+        ]
+    },
+    {
+        "id": "4ef31d96.a96d54",
+        "type": "block",
+        "name": "Get Cells List in TA",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1118.6943664550781,
+        "y": 231.97236442565918,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "e756f56b.cc6118"
+            ]
+        ]
+    },
+    {
+        "id": "921dbc77.dde2d",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1875.4999237060547,
+        "y": 163.9999918937683,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "202030cb.21f4"
+            ]
+        ]
+    },
+    {
+        "id": "d71ca418.0dba98",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1882.7497215270996,
+        "y": 239.25008916854858,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "f9d95a1d.d19148"
+            ]
+        ]
+    },
+    {
+        "id": "202030cb.21f4",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2033.7495803833008,
+        "y": 162.74983596801758,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "79d09740.d95208"
+            ]
+        ]
+    },
+    {
+        "id": "f9d95a1d.d19148",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2034.2495193481445,
+        "y": 237.75020503997803,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "b35eaa66.faef98",
+                "d0ee2834.eff2c8"
+            ]
+        ]
+    },
+    {
+        "id": "79d09740.d95208",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Cells from CPS. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2187.7500534057617,
+        "y": 159.9999876022339,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "b35eaa66.faef98",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully fetched the cells for the TA: \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2186.750045776367,
+        "y": 204.9999828338623,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d0ee2834.eff2c8",
+        "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-CPS-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2200.000141143799,
+        "y": 239.99999904632568,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5244ce64.96b6e",
+        "type": "execute",
+        "name": "set response size",
+        "xml": "<set>\n\t<parameter name='tmp.cellsListEntries' value=\"`$getListofCells-cps-response._length`\"/>\n\t",
+        "comments": "",
+        "outputs": 1,
+        "x": 1586.5000762939453,
+        "y": 264.999990940094,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e0a436c4.3c7f68",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Response List size\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellsListEntries`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1564.3890190124512,
+        "y": 298.9999952316284,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "df6af0db.35377",
+        "type": "for",
+        "name": "For response List size",
+        "xml": "<for index='idx' start='0' end='`$tmp.cellsListEntries`'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1611.1667289733887,
+        "y": 335.27778577804565,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "516cb4dd.f36d6c"
+            ]
+        ]
+    },
+    {
+        "id": "516cb4dd.f36d6c",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1828.131633758545,
+        "y": 336.04476499557495,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "31c32233.f41b3e",
+                "793d6dee.fda084",
+                "d6f296d4.5fd188"
+            ]
+        ]
+    },
+    {
+        "id": "793d6dee.fda084",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Cell list size\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellListSize`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2001.250015258789,
+        "y": 326.9999952316284,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "31c32233.f41b3e",
+        "type": "execute",
+        "name": "cell list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellListSize' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.['+ $idx +'].taCellsList_length'`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2013.7500762939453,
+        "y": 286.00000286102295,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9ae5a5a4.9cb668",
+        "type": "execute",
+        "name": "Cells in TrackingArea",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[' + $idx + '].taCellsList[' + $idy + '].cellLocalId'`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2430.7500228881836,
+        "y": 129.00000190734863,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "260c0f1b.2fae6",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Cell id\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellId[0]`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2392.2500801086426,
+        "y": 262.0000009536743,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d6f296d4.5fd188",
+        "type": "for",
+        "name": "For cell List size",
+        "xml": "<for index='idy' start='0' end='`$tmp.cellListSize`'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2042.5000762939453,
+        "y": 367.99997901916504,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "5dd42d5a.f7c584"
+            ]
+        ]
+    },
+    {
+        "id": "5dd42d5a.f7c584",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2202.4648971557617,
+        "y": 299.7669925689697,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "9ae5a5a4.9cb668",
+                "260c0f1b.2fae6",
+                "7276d7f3.2ddd18",
+                "d2c7cbfa.f78568",
+                "11162364.3dc7dd",
+                "23a059c1.c00106",
+                "d9e4ed0a.94ad8",
+                "26a8704.7d7be9"
+            ]
+        ]
+    },
+    {
+        "id": "7276d7f3.2ddd18",
+        "type": "execute",
+        "name": "generate getNearRTRIC URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2447.000030517578,
+        "y": 296.75000190734863,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d2c7cbfa.f78568",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-ric-from-cell-id`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2413.6319122314453,
+        "y": 338.9721374511719,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "11162364.3dc7dd",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC of TA\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRIC.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2444.8819122314453,
+        "y": 380.2221374511719,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "23a059c1.c00106",
+        "type": "execute",
+        "name": "Get NearRTRIC of a Cell",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRIC.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-ric-from-cell-id.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNearRTRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2446.1319274902344,
+        "y": 422.7221508026123,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "817aab68.181678",
+                "be31d43a.18bdc8"
+            ]
+        ]
+    },
+    {
+        "id": "817aab68.181678",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2769.72931098938,
+        "y": 305.5109615325928,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "6e252a3.934c5d4"
+            ]
+        ]
+    },
+    {
+        "id": "be31d43a.18bdc8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2751.840717315674,
+        "y": 366.6220660209656,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "3aa4d00c.a4bce"
+            ]
+        ]
+    },
+    {
+        "id": "3aa4d00c.a4bce",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2903.3885459899902,
+        "y": 365.2222566604614,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "f95e86fb.9e2288",
+                "38d6411b.0e9ebe",
+                "5a31d8ef.1ba148"
+            ]
+        ]
+    },
+    {
+        "id": "f95e86fb.9e2288",
+        "type": "record",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRTRIC from CPS\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3039.388427734375,
+        "y": 362.2221794128418,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7c461b7f.fc1274",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3059.0002479553223,
+        "y": 256.75000762939453,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "2be9755e.b76b1a",
+        "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 Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3080.9998168945312,
+        "y": 303.63894271850586,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "6e252a3.934c5d4",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2918.000030517578,
+        "y": 288.75000190734863,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "7c461b7f.fc1274",
+                "2be9755e.b76b1a",
+                "efa5b4cd.0af608"
+            ]
+        ]
+    },
+    {
+        "id": "5a31d8ef.1ba148",
+        "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-CPS-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3048.035675048828,
+        "y": 419.7857074737549,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d9e4ed0a.94ad8",
+        "type": "execute",
+        "name": "split cellLocalId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.trackingarea.cell`\" />\n    <parameter name=\"regex\" value=\"\\.\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellId\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2432.500030517578,
+        "y": 169.9999885559082,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "26a8704.7d7be9",
+        "type": "execute",
+        "name": "CellLocalId",
+        "xml": "<set>\n\t<parameter name='tmp.cellLocalId' value=\"`$tmp.cellId[0]`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2410.5000534057617,
+        "y": 214.9999876022339,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9cc7de8e.f6eaa",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1956.0000305175781,
+        "y": 1371.9999885559082,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "bf6af843.d07278",
+                "49f352d5.72d86c",
+                "a47902a6.1d2dd",
+                "6121d719.f6c128"
+            ]
+        ]
+    },
+    {
+        "id": "bf6af843.d07278",
+        "type": "execute",
+        "name": "generate update NearRTRIC URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.updatenearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2368.229278564453,
+        "y": 1335.0903034210205,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "49f352d5.72d86c",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.updatenearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.updatenearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-nearrtric`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2334.1111450195312,
+        "y": 1385.3126192092896,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a47902a6.1d2dd",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update NearRTRIC in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updatenearRTRIC.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2355.111129760742,
+        "y": 1425.8126344680786,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6121d719.f6c128",
+        "type": "execute",
+        "name": "Update nearRT RIC Details in CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updatenearRTRIC.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-nearrtric.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"allocate-nearRTRIC-cps-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": 2328.4793090820312,
+        "y": 1466.0903477668762,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "54192d23.2f1b24",
+                "3d098211.25bbbe"
+            ]
+        ]
+    },
+    {
+        "id": "54192d23.2f1b24",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2636.5473289489746,
+        "y": 1356.1752672195435,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "6b4bbe05.4affa"
+            ]
+        ]
+    },
+    {
+        "id": "3d098211.25bbbe",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2613.115566253662,
+        "y": 1423.5845546722412,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "49fd6c40.34f8b4"
+            ]
+        ]
+    },
+    {
+        "id": "6b4bbe05.4affa",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2776.0474548339844,
+        "y": 1325.6753120422363,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "cb68c4ad.0af9d8",
+                "cf77d7aa.2e3d68"
+            ]
+        ]
+    },
+    {
+        "id": "49fd6c40.34f8b4",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2764.6154174804688,
+        "y": 1428.3346157073975,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "52746ce2.32eab4"
+            ]
+        ]
+    },
+    {
+        "id": "52746ce2.32eab4",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in CPS\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2907.1154193878174,
+        "y": 1414.5846920013428,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cf77d7aa.2e3d68",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2953.7972450256348,
+        "y": 1296.536364555359,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "cb68c4ad.0af9d8",
+        "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": 2936.797088623047,
+        "y": 1350.1753587722778,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "250bac43.046f44",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1990.0000305175781,
+        "y": 1541.4999885559082,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "117753ff.1720fc",
+                "a472df20.78026",
+                "829da66f.ae4288",
+                "15bd9267.90335e"
+            ]
+        ]
+    },
+    {
+        "id": "117753ff.1720fc",
+        "type": "execute",
+        "name": "generate add Slice Profile URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.addSliceProfile.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2267.500030517578,
+        "y": 1527.7499885559082,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a472df20.78026",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.addSliceProfile.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.addSliceProfile.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-slice-profile`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2221.88191986084,
+        "y": 1563.2224426269531,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "829da66f.ae4288",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update Slice Profile in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.addSliceProfile.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2240.3818435668945,
+        "y": 1593.7223224639893,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "15bd9267.90335e",
+        "type": "execute",
+        "name": "Add Slice Profile Details in CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.addSliceProfile.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-sliceprofile.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"allocate-sliceprofile-cps-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": 2222.50008392334,
+        "y": 1625.2500343322754,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "8f003e9e.9d5c4",
+                "d5abe285.418e5"
+            ]
+        ]
+    },
+    {
+        "id": "d5abe285.418e5",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2461.2501640319824,
+        "y": 1558.027738571167,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "8a45ea5.16bb318"
+            ]
+        ]
+    },
+    {
+        "id": "8f003e9e.9d5c4",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2447.818328857422,
+        "y": 1602.9370470046997,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "1979a537.97ed5b"
+            ]
+        ]
+    },
+    {
+        "id": "8a45ea5.16bb318",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2583.7501831054688,
+        "y": 1515.5277633666992,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "43d73eaf.fa9af",
+                "1cec5337.73f55d"
+            ]
+        ]
+    },
+    {
+        "id": "1cec5337.73f55d",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating Slice Profile in CPS. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2791.4998817443848,
+        "y": 1496.3888120651245,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "43d73eaf.fa9af",
+        "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": 2774.499725341797,
+        "y": 1550.0278062820435,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "c1f6693d.d85fe8",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated Slice Profile in CPS\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2741.818181991577,
+        "y": 1593.9371843338013,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1979a537.97ed5b",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2598.068344116211,
+        "y": 1601.4370985031128,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c1f6693d.d85fe8"
+            ]
+        ]
+    },
+    {
+        "id": "acd85ee9.0324e",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cell id from TA \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2420.750026702881,
+        "y": 2200.9999923706055,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e5a02ea0.1d7ed",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"NRCellCU \"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUCPList.cellLocalId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2651.250186920166,
+        "y": 2319.0001125335693,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "eba61345.d0e9",
+        "type": "execute",
+        "name": "split cellLocalId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.gNBCUCPList.cellLocalId`\" />\n    <parameter name=\"regex\" value=\"\\.\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellCUId\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2708.250030517578,
+        "y": 2227.499988555908,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "dd848e3a.8f8ea",
+        "type": "execute",
+        "name": "CellLocalId",
+        "xml": "<set>\n\t<parameter name='tmp.gNBCUCPList.cellLocalId' value=\"`$tmp.cellCUId[0]`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2686.2500534057617,
+        "y": 2272.499987602234,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "af869d8d.bb8db",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Applicable cell found\"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUCPList.cellLocalId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3035.000030517578,
+        "y": 2153.999988555908,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "816a9de7.50045",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCP - CPS update\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2663.2500610351562,
+        "y": 2974.0001006126404,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7a1fb6aa.6d2368",
+        "type": "set",
+        "name": "set API params",
+        "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.gNBCUCPList.cellLocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.gNBCUCPList.gNBCUName`'/>\n<parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.status' value='INACTIVE'/>\n<parameter name='tmp.sNSSAI' value='`$tmp.payload.sNSSAI`'/>\n    ",
+        "comments": "",
+        "x": 2690.9237060546875,
+        "y": 3021.9730014801025,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "f0a70c17.b40ee",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"gNBCUName\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2664.4237022399902,
+        "y": 3065.194375514984,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d22a12b1.53b0c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2668.562744140625,
+        "y": 3131.5002841949463,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "bb9e4f32.6ae37",
+                "1fbd10ec.f3361f",
+                "fbc2a4bf.c79038",
+                "a888d69a.4598b8"
+            ]
+        ]
+    },
+    {
+        "id": "bb9e4f32.6ae37",
+        "type": "execute",
+        "name": "generate update CUCP URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.updateCUCP.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3025.3404846191406,
+        "y": 3098.4723920822144,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1fbd10ec.f3361f",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.updateCUCP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.updateCUCP.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-snssai-nrcellcu`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3011.972442626953,
+        "y": 3138.1946210861206,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fbc2a4bf.c79038",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUCP.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3043.222442626953,
+        "y": 3179.4446210861206,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a888d69a.4598b8",
+        "type": "execute",
+        "name": "Update cellCU for gNBCUCP in CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-snssai-nrcellcu.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-cps-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": 3051.4515991210938,
+        "y": 3219.5836057662964,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "144ed28e.f4c36d",
+                "ea693f77.70f97"
+            ]
+        ]
+    },
+    {
+        "id": "144ed28e.f4c36d",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3336.8687782287598,
+        "y": 3246.389434814453,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "61fe05bb.0ec18c"
+            ]
+        ]
+    },
+    {
+        "id": "61fe05bb.0ec18c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3516.8681640625,
+        "y": 3261.500274658203,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "7db0a060.f75aa",
+                "2c7406b4.5d627a"
+            ]
+        ]
+    },
+    {
+        "id": "2c7406b4.5d627a",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating NRCellCU. Aborting RPC exception'/>",
+        "comments": "",
+        "x": 3679.312258720398,
+        "y": 3250.611297607422,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "7db0a060.f75aa",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3680.6455116271973,
+        "y": 3287.0557556152344,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "ea693f77.70f97",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3336.312931060791,
+        "y": 3282.833709716797,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "54cc3786.d6fa48"
+            ]
+        ]
+    },
+    {
+        "id": "54cc3786.d6fa48",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3472.5349159240723,
+        "y": 3298.944793701172,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "cfc12ee2.f9317"
+            ]
+        ]
+    },
+    {
+        "id": "cfc12ee2.f9317",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3634.9791259765625,
+        "y": 3320.7223205566406,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "23751f71.cd222",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2477.2501525878906,
+        "y": 3149.0000262260437,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "816a9de7.50045",
+                "7a1fb6aa.6d2368",
+                "f0a70c17.b40ee",
+                "d22a12b1.53b0c",
+                "a37b589a.44b8f8"
+            ]
+        ]
+    },
+    {
+        "id": "99b4e6ea.678d68",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 4224.989765167236,
+        "y": 3399.0105895996094,
+        "z": "ac8379ea.703fd8",
+        "wires": []
+    },
+    {
+        "id": "7651a599.a9b0dc",
+        "type": "execute",
+        "name": "Cells in TrackingArea",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[' + $idx + '].taCellsList[' + $id3 + '].cellLocalId'`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2467.000057220459,
+        "y": 2160.2500228881836,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4a58c74c.318ed8",
+        "type": "execute",
+        "name": "split cellLocalId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.cellLocalId`\" />\n    <parameter name=\"regex\" value=\"\\.\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellId\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2445.750068664551,
+        "y": 2234.2498960494995,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "edece7a3.dd49d8",
+        "type": "execute",
+        "name": "CellLocalId",
+        "xml": "<set>\n\t<parameter name='tmp.cellLocalId' value=\"`$tmp.cellId[0]`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2423.7500915527344,
+        "y": 2279.249895095825,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3f4a4532.bd222a",
+        "type": "for",
+        "name": "For response List size",
+        "xml": "<for index='idx' start='0' end='`$tmp.cellsListEntries`'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1953.0001220703125,
+        "y": 2165.7499980926514,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "caad35d9.b6cf58"
+            ]
+        ]
+    },
+    {
+        "id": "1927dd97.e904d2",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2123.9648666381836,
+        "y": 2442.5170879364014,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "ec462b24.75a1e8"
+            ]
+        ]
+    },
+    {
+        "id": "caad35d9.b6cf58",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2140.000030517578,
+        "y": 2165.75,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "a793028.cf38"
+            ]
+        ]
+    },
+    {
+        "id": "7486614e.a53b8",
+        "type": "execute",
+        "name": "generate putRRMPolicyRatio URL - CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUCP.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3059.7500610351562,
+        "y": 3285.50004196167,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "de88bec1.68e1f",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUCP.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-nrcellcu-rrm-policy`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2991.604248046875,
+        "y": 3327.6661801338196,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3a782721.b2e308",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3022.0764923095703,
+        "y": 3367.027442932129,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d5f71262.39fcd",
+        "type": "execute",
+        "name": "Update RRMPolicy for gNBCUCP in CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-nrcellcu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-cps-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": 3070.97216796875,
+        "y": 3400.055223464966,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "a3bd3fd7.d56cd",
+                "1555e419.70281c"
+            ]
+        ]
+    },
+    {
+        "id": "a37b589a.44b8f8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2693.750030517578,
+        "y": 3329.5,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "7486614e.a53b8",
+                "de88bec1.68e1f",
+                "3a782721.b2e308",
+                "d5f71262.39fcd"
+            ]
+        ]
+    },
+    {
+        "id": "7be55c1b.5675b4",
+        "type": "execute",
+        "name": "generate putRRMPolicyRatio URL - CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUUP.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3477.750701904297,
+        "y": 5529.750196456909,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fda0004a.7f313",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUUP.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-cuup-rrm-policy`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3386.6047439575195,
+        "y": 5572.916090965271,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6cfc902.0edcc7",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3420.0768814086914,
+        "y": 5605.27747631073,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "df8b0c49.e9e65",
+        "type": "execute",
+        "name": "Update RRMPolicy for gNBCUUP in CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-cuup-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-cps-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": 3468.972557067871,
+        "y": 5638.305256843567,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "d592083b.9c2d48",
+                "308a1d18.43a132"
+            ]
+        ]
+    },
+    {
+        "id": "2279d1f7.58767e",
+        "type": "execute",
+        "name": "generate update CUUP URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.updateCUUP.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3544.750030517578,
+        "y": 5323.75,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c5cd8a70.b884e8",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.updateCUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.updateCUUP.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-snssai-cuup`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3531.3819885253906,
+        "y": 5363.472229003906,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "50f5d36f.33002c",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUCP.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3562.6319885253906,
+        "y": 5404.722229003906,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "af66de75.0e34e",
+        "type": "execute",
+        "name": "Update cellCU for gNBCUCP in CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-snssai-cuup.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-cps-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": 3570.8611450195312,
+        "y": 5444.861213684082,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "5af0447f.85e61c",
+                "caac4fc1.49221"
+            ]
+        ]
+    },
+    {
+        "id": "1fe961c1.d43d0e",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3192.9722290039062,
+        "y": 5421.77783203125,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "2279d1f7.58767e",
+                "c5cd8a70.b884e8",
+                "50f5d36f.33002c",
+                "af66de75.0e34e"
+            ]
+        ]
+    },
+    {
+        "id": "b3cc6806.d35378",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - CPS update\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3291.3273391723633,
+        "y": 5304.056957244873,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b097f039.b4c79",
+        "type": "execute",
+        "name": "split CUUPId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\" />\n    <parameter name=\"regex\" value=\"\\.\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.gNBCUUPId\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3259.5000076293945,
+        "y": 5168.750194549561,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "762e809.6b8078",
+        "type": "execute",
+        "name": "gNBCUUPId",
+        "xml": "<set>\n\t<parameter name='tmp.gNBCUUPList.gNBCUUPId' value=\"`$tmp.gNBCUUPId[0]`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3292.500068664551,
+        "y": 5213.750194549561,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a400f228.4762e",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP id\"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUUPId[0]`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3278.250129699707,
+        "y": 5265.750316619873,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "80b03848.2437a8",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cell id from TA \"/>\n<parameter name=\"field2\" value=\"`$tmp.tacellLocalId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2651.0003662109375,
+        "y": 6301.749964237213,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a3f31b0e.e39308",
+        "type": "execute",
+        "name": "Cells in TrackingArea",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[' + $idx + '].taCellsList[' + $id3 + '].cellLocalId'`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2728.2500610351562,
+        "y": 6165.000030517578,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "88189157.2f2e9",
+        "type": "execute",
+        "name": "split cellLocalId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.cellLocalId`\" />\n    <parameter name=\"regex\" value=\"\\.\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellId\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2710.0001831054688,
+        "y": 6226.000330448151,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4664cedb.d83dd",
+        "type": "execute",
+        "name": "CellLocalId",
+        "xml": "<set>\n\t<parameter name='tmp.tacellLocalId' value=\"`$tmp.cellId[0]`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2690.000244140625,
+        "y": 6261.000330448151,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "56407b31.2246a4",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"NRCellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2698.0000343322754,
+        "y": 6504.750331878662,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a3371b66.8415f8",
+        "type": "execute",
+        "name": "split cellLocalId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.cellLocalId`\" />\n    <parameter name=\"regex\" value=\"\\.\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellDUId\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2754.9998779296875,
+        "y": 6413.250207901001,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e1aedf7.cdd372",
+        "type": "execute",
+        "name": "CellLocalId",
+        "xml": "<set>\n\t<parameter name='tmp.cellLocalId' value=\"`$tmp.cellDUId[0]`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2732.999900817871,
+        "y": 6458.250206947327,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1973ed69.a326e3",
+        "type": "execute",
+        "name": "NRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].NRCellDU[' + $idCell + '].attributes.cellLocalId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2734.750030517578,
+        "y": 6366.75,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ef17c7f1.0e81e8",
+        "type": "execute",
+        "name": "split gNBDUId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.gNBDUList.gNBDUId`\" />\n    <parameter name=\"regex\" value=\"\\.\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.gNBDUId\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3862.750030517578,
+        "y": 5981.750001311302,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ac904cb6.3ba9f",
+        "type": "execute",
+        "name": "gNBDUId",
+        "xml": "<set>\n\t<parameter name='tmp.gNBDUList.gNBDUId' value=\"`$tmp.gNBDUId[0]`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3842.7500915527344,
+        "y": 6016.750001311302,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "27dcaeab.b63122",
+        "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DU - CPS update\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1972.2499809265137,
+        "y": 6842.75009727478,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1295fa84.c0b875",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1939.2501068115234,
+        "y": 6897.750219345093,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "c1a3ca40.88fcf8",
+                "77060d48.e9a234",
+                "84300865.a6f838",
+                "d0b8d847.4c90c8"
+            ]
+        ]
+    },
+    {
+        "id": "c1a3ca40.88fcf8",
+        "type": "execute",
+        "name": "generate update CUCP URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.updateDU.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2311.027656555176,
+        "y": 6923.722070217133,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "77060d48.e9a234",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.updateDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.updateDU.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-nrcelldu-snssai`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2297.6596145629883,
+        "y": 6963.444299221039,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "84300865.a6f838",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUCP.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2328.9096145629883,
+        "y": 7004.694299221039,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d0b8d847.4c90c8",
+        "type": "execute",
+        "name": "Update cellCU for gNBCUCP in CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-snssai-nrcelldu.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-cps-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": 2337.138771057129,
+        "y": 7044.833283901215,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "63b00bd4.017bd4",
+                "c567324.fa000d"
+            ]
+        ]
+    },
+    {
+        "id": "cc514531.e72d78",
+        "type": "execute",
+        "name": "generate putRRMPolicyRatio URL - CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putDU.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2185.75,
+        "y": 7165.75,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "20edec78.e810a4",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putDU.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-nrcelldu-rrm-policy`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2117.6041870117188,
+        "y": 7207.91613817215,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4c73e542.5200cc",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putDU.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2148.076431274414,
+        "y": 7247.277400970459,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b3701fc0.28d19",
+        "type": "execute",
+        "name": "Update RRMPolicy for gNBCUCP in CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-nrcelldu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-cps-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": 2196.9721069335938,
+        "y": 7280.305181503296,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "19d4936d.cabecd",
+                "82f27e82.aa07a"
+            ]
+        ]
+    },
+    {
+        "id": "84df08f8.343c38",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1844.75,
+        "y": 7219.75,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "cc514531.e72d78",
+                "20edec78.e810a4",
+                "4c73e542.5200cc",
+                "b3701fc0.28d19"
+            ]
+        ]
+    },
+    {
+        "id": "42056975.b361b8",
+        "type": "execute",
+        "name": "generate update RAN inventory URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.updateInventory-newslice.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 613.5,
+        "y": 2229.75,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f40c4927.1e8e38",
+        "type": "execute",
+        "name": "prepare tbdmt template",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.updateInventory-newslice.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.updateInventory-newslice.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.ran-inventory-new-slice`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 603.8819580078125,
+        "y": 2266.972596645355,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b13e560e.bd1c68",
+        "type": "record",
+        "name": "record TBDMT RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateInventory-newslice.url`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 628.8820190429688,
+        "y": 2313.2225971221924,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7f917075.c70a6",
+        "type": "execute",
+        "name": "Update inventory in CPS",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateInventory-newslice.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-update-ran-inventory-new-slice.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-cps-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": 541.0000839233398,
+        "y": 2355.9998869895935,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "2ec7b719.1b3348",
+                "96cf2a1b.7b9f88"
+            ]
+        ]
+    },
+    {
+        "id": "7b63836c.1e212c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 317.5,
+        "y": 2264.75,
+        "z": "ac8379ea.703fd8",
+        "wires": [
+            [
+                "42056975.b361b8",
+                "f40c4927.1e8e38",
+                "b13e560e.bd1c68",
+                "7f917075.c70a6"
+            ]
+        ]
+    }
+]
\ No newline at end of file
index 1af8ce3..9cfa3ee 100644 (file)
                 <outcome value='false'>
                     <block atomic='true'>
                         <switch test='`$instantiate-r-a-n-slice-input.action`'>
                 <outcome value='false'>
                     <block atomic='true'>
                         <switch test='`$instantiate-r-a-n-slice-input.action`'>
+                            <outcome value='allocate'>
+                                <block atomic="true">
+                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                        <parameter name="level" value="info" />
+                                        <parameter name="field1" value="Calling instantiateRANSliceAllocate "/>
+                                    </record>
+                                    <call module='ran-slice-api' rpc='instantiateRANSliceAllocate-CPS' mode='sync' >
+                                        <outcome value='failure'>
+                                            <return status='failure'>
+                                                <parameter name='ack-final' value='Y' />
+                                            </return>
+                                        </outcome>
+                                    </call>
+                                </block>
+                            </outcome>
                             <outcome value='modify-allocate'>
                                 <block atomic="true">
                                     <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
                             <outcome value='modify-allocate'>
                                 <block atomic="true">
                                     <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
             </return>
         </block>
     </method>
             </return>
         </block>
     </method>
-</service-logic>
+</service-logic>
\ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate-CPS.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate-CPS.xml
new file mode 100644 (file)
index 0000000..83beb8a
--- /dev/null
@@ -0,0 +1,2609 @@
+<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}'>
+    <method rpc='instantiateRANSliceAllocate-CPS' mode='sync'>
+        <block atomic='true'>
+            <set>
+                <parameter name='tmp.trackingAreaListEntries' value="`$payloadJson.input.sliceProfile.coverageAreaTAList_length`"/>
+            </set>
+            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                <parameter name="level" value="info" />
+                <parameter name="field1" value="Tracking Area size"/>
+                <parameter name="field2" value="`$tmp.trackingAreaListEntries`"/>
+            </record>
+            <for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>
+                <block atomic='true'>
+                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                        <parameter name='outputPath' value='tmp.payload.trackingArea' />
+                        <parameter name='source' value="`'payloadJson.input.sliceProfile.coverageAreaTAList[' + $ta + ']'`"/>
+                    </execute>
+                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                        <parameter name="level" value="info" />
+                        <parameter name="field1" value="Tracking Area"/>
+                        <parameter name="field2" value="`$tmp.payload.trackingArea`"/>
+                    </record>
+                    <block atomic='true'>
+                        <block atomic='true'>
+                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                                <parameter name="outputPath" value="tmp.cps.getListOfCells.url"/>
+                                <parameter name="target" value="{schemaSet}"/>
+                                <parameter name="replacement" value="`$prop.cavsta.schemaset`"/>
+                            </execute>
+                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                <parameter name="source" value="`$tmp.cps.getListOfCells.url`"/>
+                                <parameter name="outputPath" value="tmp.cps.getListOfCells.url"/>
+                                <parameter name="target" value="{templateId}"/>
+                                <parameter name="replacement" value="`$prop.tbdmt.template.get-cells-list`"/>
+                            </execute>
+                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                <parameter name="level" value="info" />
+                                <parameter name="field1" value="URL for CPS TDBMT to Get List of cells of TAC"/>
+                                <parameter name='field2' value="`$tmp.cps.getListOfCells.url`" />
+                            </record>
+                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                <parameter name="restapiUrl" value="`$tmp.cps.getListOfCells.url`"/>
+                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-cells-list.json'`" />
+                                <parameter name="httpMethod" value="POST"/>
+                                <parameter name="responsePrefix" value="getListofCells-cps-response"/>
+                                <parameter name='contentType' value='application/json' />
+                                <parameter name='format' value='json' />
+                                <parameter name='accept' value='application/json' />
+                                <outcome value='failure'>
+                                    <block atomic='true'>
+                                        <set>
+                                            <parameter name='error-code' value='500'/>
+                                            <parameter name='error-message' value='Error Getting Cells from CPS. Aborting RPC executiopn'/>
+                                        </set>
+                                    </block>
+                                </outcome>
+                                <outcome value='success'>
+                                    <block atomic='true'>
+                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                            <parameter name="level" value="info" />
+                                            <parameter name="field1" value="Successfully fetched the cells for the TA: "/>
+                                            <parameter name="field2" value="`$tmp.payload.trackingArea`"/>
+                                        </record>
+                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+                                            <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-CPS-context.log' />
+                                        </execute>
+                                    </block>
+                                </outcome>
+                            </execute>
+                            <set>
+                                <parameter name='tmp.cellsListEntries' value="`$getListofCells-cps-response._length`"/>
+                            </set>
+                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                <parameter name="level" value="info" />
+                                <parameter name="field1" value="Response List size"/>
+                                <parameter name="field2" value="`$tmp.cellsListEntries`"/>
+                            </record>
+                            <for index='idx' start='0' end='`$tmp.cellsListEntries`'>
+                                <block>
+                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                        <parameter name='outputPath' value='tmp.cellListSize' />
+                                        <parameter name='source' value="`'getListofCells-cps-response.['+ $idx +'].taCellsList_length'`"/>
+                                    </execute>
+                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                        <parameter name="level" value="info" />
+                                        <parameter name="field1" value="Cell list size"/>
+                                        <parameter name="field2" value="`$tmp.cellListSize`"/>
+                                    </record>
+                                    <for index='idy' start='0' end='`$tmp.cellListSize`'>
+                                        <block>
+                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                <parameter name='outputPath' value='tmp.trackingarea.cell' />
+                                                <parameter name='source' value="`'getListofCells-cps-response.[' + $idx + '].taCellsList[' + $idy + '].cellLocalId'`"/>
+                                            </execute>
+                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+                                                <parameter name="original_string" value="`$tmp.trackingarea.cell`" />
+                                                <parameter name="regex" value="\."/>
+                                                <parameter name="ctx_memory_result_key" value="tmp.cellId" />
+                                            </execute>
+                                            <set>
+                                                <parameter name='tmp.cellLocalId' value="`$tmp.cellId[0]`"/>
+                                            </set>
+                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                <parameter name="level" value="info" />
+                                                <parameter name="field1" value="Cell id"/>
+                                                <parameter name="field2" value="`$tmp.cellId[0]`"/>
+                                            </record>
+                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                                                <parameter name="outputPath" value="tmp.cps.getNearRTRIC.url"/>
+                                                <parameter name="target" value="{schemaSet}"/>
+                                                <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+                                            </execute>
+                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                <parameter name="source" value="`$tmp.cps.getNearRTRIC.url`"/>
+                                                <parameter name="outputPath" value="tmp.cps.getNearRTRIC.url"/>
+                                                <parameter name="target" value="{templateId}"/>
+                                                <parameter name="replacement" value="`$prop.tbdmt.template.get-ric-from-cell-id`"/>
+                                            </execute>
+                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+                                                <parameter name="level" value="info" />
+                                                <parameter name="field1" value="URL for CPS TDBMT to Get NearRTRIC of TA"/>
+                                                <parameter name='field2' value="`$tmp.cps.getNearRTRIC.url`" />
+                                            </record>
+                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                <parameter name="restapiUrl" value="`$tmp.cps.getNearRTRIC.url`"/>
+                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-ric-from-cell-id.json'`" />
+                                                <parameter name="httpMethod" value="POST"/>
+                                                <parameter name="responsePrefix" value="getNearRTRIC-cps-response"/>
+                                                <parameter name='contentType' value='application/json' />
+                                                <parameter name='format' value='json' />
+                                                <parameter name='accept' value='application/json' />
+                                                <outcome value='failure'>
+                                                    <block>
+                                                        <set>
+                                                            <parameter name='error-code' value='500'/>
+                                                            <parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>
+                                                        </set>
+                                                        <return status='failure'>
+                                                            <parameter name='ack-final' value='Y'/>
+                                                            <parameter name='error-code' value='500'/>
+                                                            <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
+                                                        </return>
+                                                        <block atomic='true'>
+                                                            <set>
+                                                                <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                <parameter name="tmp.status" value="`$error-code`"/>
+                                                                <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                            </set>
+                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                <parameter name="level" value="info" />
+                                                                <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                <parameter name='field3' value="`$tmp.status`" />
+                                                                <parameter name='field4' value="`$tmp.reason`" />
+                                                                <parameter name='field5' value="`$tmp.requestID`" />
+                                                                <parameter name='field6' value="`$tmp.action`" />
+                                                                <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                <parameter name='field9' value="`$tmp.DUList`" />
+                                                            </record>
+                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                                                <parameter name="httpMethod" value="POST"/>
+                                                                <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                <parameter name='contentType' value='application/json' />
+                                                                <parameter name='format' value='json' />
+                                                                <parameter name='accept' value='*/*' />
+                                                                <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                                                <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                                                <outcome value='failure'>
+                                                                    <block>
+                                                                        <return status='failure'>
+                                                                            <parameter name='ack-final' value='Y'/>
+                                                                            <parameter name="error-code" value="500" />
+                                                                            <parameter name="error-message" value="Error sending SO Response" />
+                                                                        </return>
+                                                                    </block>
+                                                                </outcome>
+                                                                <outcome value='success'>
+                                                                    <block>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="SO Response Sent "/>
+                                                                        </record>
+                                                                    </block>
+                                                                </outcome>
+                                                            </execute>
+                                                        </block>
+                                                    </block>
+                                                </outcome>
+                                                <outcome value='success'>
+                                                    <block>
+                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                            <parameter name="level" value="info" />
+                                                            <parameter name="field1" value="Successfully Obtained NearRTRIC from CPS"/>
+                                                            <parameter name="field2" value="`$getListofCells-configdb-response._length`"/>
+                                                            <parameter name="field3" value="List of Cells in the Tracking Area Relevant for RAN Slice Instantiation "/>
+                                                        </record>
+                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+                                                            <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-CPS-context.log' />
+                                                        </execute>
+                                                        <block atomic='true'>
+                                                            <set>
+                                                                <parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value="`'NearRTRIC-' + $tmp.payload.trackingArea`" />
+                                                                <parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value="`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $tmp.payload.trackingArea`" />
+                                                                <parameter name='tmp.RRMPolicyRatioID.NRCellDU' value="`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $tmp.payload.trackingArea`" />
+                                                                <parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value="`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $tmp.payload.trackingArea`" />
+                                                                <parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value="`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $tmp.payload.trackingArea`" />
+                                                                <parameter name='tmp.RRMPolicyRatioID.NRCellCU' value="`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $tmp.payload.trackingArea`" />
+                                                                <parameter name='tmp.rrmPolicyMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID`' />
+                                                            </set>
+                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                <parameter name="level" value="info" />
+                                                                <parameter name="field1" value="Update inventory in CPS"/>
+                                                            </record>
+                                                            <for index='id1' start='0' end="`$getNearRTRIC-cps-response._length`" >
+                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                    <parameter name='outputPath' value='tmp.nearRTRICId' />
+                                                                    <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].idNearRTRIC'`" />
+                                                                </execute>
+                                                                <set>
+                                                                    <parameter name='tmp.ranNFNSSIListEntry' value='`$tmp.payload.RANNFNSSIId`'/>
+                                                                </set>
+                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                    <parameter name="level" value="info" />
+                                                                    <parameter name="field1" value="Payload Entry# "/>
+                                                                    <parameter name="field2" value="`$id1`"/>
+                                                                    <parameter name="field3" value="`$tmp.nearRTRICId`"/>
+                                                                    <parameter name="field4" value="`$tmp.ranNFNSSIListEntry`"/>
+                                                                </record>
+                                                                <block atomic='true'>
+                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                        <parameter name="level" value="info" />
+                                                                        <parameter name="field1" value="Payload slice parameters - maxNumberofUEs "/>
+                                                                        <parameter name="field2" value="`$payloadJson.input.sliceProfile.maxNumberofUEs`"/>
+                                                                        <parameter name="field3" value="Payload slice parameters - maxNumberofConns"/>
+                                                                        <parameter name="field4" value="`$payloadJson.input.sliceProfile.maxNumberofConns`"/>
+                                                                        <parameter name="field5" value="Payload slice parameters -  dLThptPerSlice"/>
+                                                                        <parameter name="field6" value="`$payloadJson.input.sliceProfile.dLThptPerSlice`"/>
+                                                                        <parameter name="field7" value="Payload slice parameters -  uLThptPerSlice"/>
+                                                                        <parameter name="field8" value="`$payloadJson.input.sliceProfile.uLThptPerSlice`"/>
+                                                                    </record>
+                                                                    <set>
+                                                                        <parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />
+                                                                        <parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />
+                                                                        <parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />
+                                                                    </set>
+                                                                    <set>
+                                                                        <parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />
+                                                                        <parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />
+                                                                        <parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNearRTRIC-cps-response._length`' />
+                                                                    </set>
+                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+                                                                        <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-sliceparms-cps-context.log' />
+                                                                    </execute>
+                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                        <parameter name="level" value="info" />
+                                                                        <parameter name="field1" value="Calculated uLThptPerSlice for nearRTRIC "/>
+                                                                        <parameter name="field2" value="`$tmp.nearRTRIC.uLThptPerSlice`"/>
+                                                                        <parameter name="field3" value="Calculated dLThptPerSlice  for nearRTRIC"/>
+                                                                        <parameter name="field4" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
+                                                                        <parameter name="field5" value="Calculated maxNumberOfConns  for nearRTRIC"/>
+                                                                        <parameter name="field6" value="`$tmp.nearRTRIC1.maxNumberOfConns`"/>
+                                                                        <parameter name="field7" value="`$payloadJson.input.sliceProfile.maxNumberofConns`"/>
+                                                                    </record>
+                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+                                                                        <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-sliceparms-context2.log' />
+                                                                    </execute>
+                                                                    <block atomic='true'>
+                                                                        <switch test='`$prop.ransim-mounted`'>
+                                                                            <outcome value='false'>
+                                                                                <block atomic='true'>
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                        <parameter name="source" value="`$prop.restapi.addSliceProfile.ToNearRTRIC`"/>
+                                                                                        <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+                                                                                        <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                        <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                    </execute>
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                        <parameter name="source" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+                                                                                        <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+                                                                                        <parameter name="target" value="{sliceProfileId}"/>
+                                                                                        <parameter name="replacement" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+                                                                                    </execute>
+                                                                                </block>
+                                                                            </outcome>
+                                                                            <outcome value='true'>
+                                                                                <block atomic='true'>
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                        <parameter name="source" value="`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`"/>
+                                                                                        <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+                                                                                        <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                        <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                    </execute>
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                        <parameter name="source" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+                                                                                        <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+                                                                                        <parameter name="target" value="{sliceProfileId}"/>
+                                                                                        <parameter name="replacement" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+                                                                                    </execute>
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                        <parameter name="source" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+                                                                                        <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+                                                                                        <parameter name="target" value="{mountName}"/>
+                                                                                        <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                    </execute>
+                                                                                </block>
+                                                                            </outcome>
+                                                                        </switch>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="Add SliceProfile ToNearRTRIC url:"/>
+                                                                            <parameter name="field2" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+                                                                        </record>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="Setting variables for ADD SliceProfile ToNearRTRIC"/>
+                                                                            <parameter name="field2" value="`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+                                                                            <parameter name="field3" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+                                                                            <parameter name="field4" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+                                                                            <parameter name="field5" value="`$payloadJson.input.sliceProfile.maxNumberofUEs`"/>
+                                                                            <parameter name="field6" value="`$payloadJson.input.sliceProfile.latency`"/>
+                                                                            <parameter name="field7" value="`$tmp.nearRTRIC.uLThptPerSlice`"/>
+                                                                            <parameter name="field8" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
+                                                                            <parameter name="field9" value="`$tmp.nearRTRIC.maxNumberOfConns`"/>
+                                                                            <parameter name="field10" value="`$payloadJson.input.sliceProfile.uEMobilityLevel`"/>
+                                                                            <parameter name="field11" value="`$tmp.trackingArea`"/>
+                                                                            <parameter name="field12" value="`$payloadJson.input.sliceProfile.resourceSharingLevel`"/>
+                                                                        </record>
+                                                                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                            <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-sliceProfile-NRRIC.json'`" />
+                                                                            <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+                                                                            <parameter name="restapiUser" value="`$prop.controller.user`" />
+                                                                            <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+                                                                            <parameter name="httpMethod" value="PUT"/>
+                                                                            <parameter name="responsePrefix" value="addSliceProfile-NRTRIC-response"/>
+                                                                            <parameter name='contentType' value='application/json' />
+                                                                            <parameter name='format' value='json' />
+                                                                            <outcome value='failure'>
+                                                                                <block>
+                                                                                    <return status='failure'>
+                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                        <parameter name="error-code" value="500" />
+                                                                                        <parameter name="error-message" value="Error adding slice proficle to NearRTRIC" />
+                                                                                    </return>
+                                                                                </block>
+                                                                            </outcome>
+                                                                            <outcome value='success'>
+                                                                                <block>
+                                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                        <parameter name="level" value="info" />
+                                                                                        <parameter name="field1" value="Slice Profile Entry Added to NearRTRIC Executed Successfully "/>
+                                                                                    </record>
+                                                                                </block>
+                                                                            </outcome>
+                                                                        </execute>
+                                                                    </block>
+                                                                    <block atomic='true'>
+                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                            <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                                                                            <parameter name="outputPath" value="tmp.cps.updatenearRTRIC.url"/>
+                                                                            <parameter name="target" value="{schemaSet}"/>
+                                                                            <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+                                                                        </execute>
+                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                            <parameter name="source" value="`$tmp.cps.updatenearRTRIC.url`"/>
+                                                                            <parameter name="outputPath" value="tmp.cps.updatenearRTRIC.url"/>
+                                                                            <parameter name="target" value="{templateId}"/>
+                                                                            <parameter name="replacement" value="`$prop.tbdmt.template.add-nearrtric`"/>
+                                                                        </execute>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="URL for CPS TDBMT to update NearRTRIC in CPS"/>
+                                                                            <parameter name='field2' value="`$tmp.cps.updatenearRTRIC.url`" />
+                                                                        </record>
+                                                                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                            <parameter name="restapiUrl" value="`$tmp.cps.updatenearRTRIC.url`"/>
+                                                                            <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-add-nearrtric.json'`" />
+                                                                            <parameter name="httpMethod" value="POST"/>
+                                                                            <parameter name="responsePrefix" value="allocate-nearRTRIC-cps-response"/>
+                                                                            <parameter name='contentType' value='application/json' />
+                                                                            <parameter name='format' value='json' />
+                                                                            <parameter name='accept' value='application/json' />
+                                                                            <parameter name="convertResponse" value="true"/>
+                                                                            <outcome value='failure'>
+                                                                                <block>
+                                                                                    <set>
+                                                                                        <parameter name='error-code' value='500'/>
+                                                                                        <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>
+                                                                                    </set>
+                                                                                    <return status='failure'>
+                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                        <parameter name='error-code' value='500'/>
+                                                                                        <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                    </return>
+                                                                                </block>
+                                                                            </outcome>
+                                                                            <outcome value='success'>
+                                                                                <block>
+                                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                        <parameter name="level" value="info" />
+                                                                                        <parameter name="field1" value="Successfully Updated NearRT RIC info in CPS"/>
+                                                                                    </record>
+                                                                                </block>
+                                                                            </outcome>
+                                                                        </execute>
+                                                                    </block>
+                                                                    <block atomic='true'>
+                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                            <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                                                                            <parameter name="outputPath" value="tmp.cps.addSliceProfile.url"/>
+                                                                            <parameter name="target" value="{schemaSet}"/>
+                                                                            <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+                                                                        </execute>
+                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                            <parameter name="source" value="`$tmp.cps.addSliceProfile.url`"/>
+                                                                            <parameter name="outputPath" value="tmp.cps.addSliceProfile.url"/>
+                                                                            <parameter name="target" value="{templateId}"/>
+                                                                            <parameter name="replacement" value="`$prop.tbdmt.template.add-slice-profile`"/>
+                                                                        </execute>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="URL for CPS TDBMT to update Slice Profile in CPS"/>
+                                                                            <parameter name='field2' value="`$tmp.cps.addSliceProfile.url`" />
+                                                                        </record>
+                                                                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                            <parameter name="restapiUrl" value="`$tmp.cps.addSliceProfile.url`"/>
+                                                                            <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-add-sliceprofile.json'`" />
+                                                                            <parameter name="httpMethod" value="POST"/>
+                                                                            <parameter name="responsePrefix" value="allocate-sliceprofile-cps-response"/>
+                                                                            <parameter name='contentType' value='application/json' />
+                                                                            <parameter name='format' value='json' />
+                                                                            <parameter name='accept' value='application/json' />
+                                                                            <parameter name="convertResponse" value="true"/>
+                                                                            <outcome value='failure'>
+                                                                                <block>
+                                                                                    <set>
+                                                                                        <parameter name='error-code' value='500'/>
+                                                                                        <parameter name='error-message' value='Error updating Slice Profile in CPS. Aborting RPC executiopn'/>
+                                                                                    </set>
+                                                                                    <return status='failure'>
+                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                        <parameter name='error-code' value='500'/>
+                                                                                        <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                    </return>
+                                                                                </block>
+                                                                            </outcome>
+                                                                            <outcome value='success'>
+                                                                                <block>
+                                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                        <parameter name="level" value="info" />
+                                                                                        <parameter name="field1" value="Successfully Updated Slice Profile in CPS"/>
+                                                                                    </record>
+                                                                                </block>
+                                                                            </outcome>
+                                                                        </execute>
+                                                                    </block>
+                                                                </block>
+                                                                <block atomic='true'>
+                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                        <parameter name='outputPath' value='tmp.CUCPListEntries' />
+                                                                        <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction_length'`" />
+                                                                    </execute>
+                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                        <parameter name="level" value="info" />
+                                                                        <parameter name="field1" value="Number of CUCP List Entries "/>
+                                                                        <parameter name="field2" value="`$tmp.CUCPListEntries`"/>
+                                                                    </record>
+                                                                    <set>
+                                                                        <parameter name='tmp.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />
+                                                                        <parameter name='tmp.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />
+                                                                        <parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNearRTRIC-cps-response._length`' />
+                                                                    </set>
+                                                                    <for index='id2' start='0' end='`$tmp.CUCPListEntries`' >
+                                                                        <block atomic='true'>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                <parameter name='outputPath' value='tmp.cellCUListEntries' />
+                                                                                <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].NRCellCU_length'`" />
+                                                                            </execute>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                <parameter name='outputPath' value='tmp.gNBCUCPList.gNBCUName' />
+                                                                                <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].attributes.gNBCUName'`" />
+                                                                            </execute>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                <parameter name='outputPath' value='tmp.gNBCUCPList.gNBId' />
+                                                                                <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].attributes.gNBId'`" />
+                                                                            </execute>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                <parameter name='outputPath' value='tmp.gNBCUCPList.gNBIdLength' />
+                                                                                <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].attributes.gNBIdLength'`" />
+                                                                            </execute>
+                                                                        </block>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="Numberof cellCU of Entries "/>
+                                                                            <parameter name="field2" value="`$tmp.cellCUListEntries`"/>
+                                                                            <parameter name="field3" value="`$tmp.gNBCUCPList.gNBCUName`"/>
+                                                                            <parameter name="field4" value="`$tmp.gNBCUCPList.gNBId`"/>
+                                                                            <parameter name="field5" value="`$tmp.gNBCUCPList.gNBIdLength`"/>
+                                                                        </record>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="MCC "/>
+                                                                            <parameter name="field2" value="`$tmp.mcc`"/>
+                                                                            <parameter name="field3" value="MNC "/>
+                                                                            <parameter name="field4" value="`$tmp.mnc`"/>
+                                                                            <parameter name="field5" value="Calculated uLThptPerSlice "/>
+                                                                            <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+                                                                            <parameter name="field7" value="Calculated dLThptPerSlice "/>
+                                                                            <parameter name="field8" value="`$tmp.dLThptPerSlice`"/>
+                                                                            <parameter name="field9" value="Calculated maxNumberOfConns "/>
+                                                                            <parameter name="field10" value="`$tmp.maxNumberOfConns`"/>
+                                                                        </record>
+                                                                        <block atomic='true'>
+                                                                            <set>
+                                                                                <parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />
+                                                                            </set>
+                                                                            <set>
+                                                                                <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />
+                                                                            </set>
+                                                                            <set>
+                                                                                <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />
+                                                                            </set>
+                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                <parameter name="level" value="info" />
+                                                                                <parameter name="field1" value="rRMPolicyDedicatedRatio for CellCU "/>
+                                                                                <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellCU`"/>
+                                                                                <parameter name="field3" value="maxNumberOfConnsPercellCU "/>
+                                                                                <parameter name="field4" value="`$tmp.maxNumberOfConnsPercellCU`"/>
+                                                                                <parameter name="field5" value="rRMPolicyDedicatedRatio.CellCU1 "/>
+                                                                                <parameter name="field6" value="`$tmp.rRMPolicyDedicatedRatio.CellCU1`"/>
+                                                                            </record>
+                                                                        </block>
+                                                                        <for index='idx' start='0' end='`$tmp.cellsListEntries`'>
+                                                                            <block>
+                                                                                <for index='id3' start='0' end='`$tmp.cellListSize`' >
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                        <parameter name='outputPath' value='tmp.cellLocalId' />
+                                                                                        <parameter name='source' value="`'getListofCells-cps-response.[' + $idx + '].taCellsList[' + $id3 + '].cellLocalId'`"/>
+                                                                                    </execute>
+                                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                        <parameter name="level" value="info" />
+                                                                                        <parameter name="field1" value="cell id from TA "/>
+                                                                                        <parameter name="field2" value="`$tmp.cellLocalId`"/>
+                                                                                    </record>
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+                                                                                        <parameter name="original_string" value="`$tmp.cellLocalId`" />
+                                                                                        <parameter name="regex" value="\."/>
+                                                                                        <parameter name="ctx_memory_result_key" value="tmp.cellId" />
+                                                                                    </execute>
+                                                                                    <set>
+                                                                                        <parameter name='tmp.cellLocalId' value="`$tmp.cellId[0]`"/>
+                                                                                    </set>
+                                                                                    <block>
+                                                                                        <for index='idCell' start='0' end='`$tmp.cellCUListEntries `' >
+                                                                                            <block atomic='true'>
+                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                                    <parameter name='outputPath' value='tmp.gNBCUCPList.cellLocalId' />
+                                                                                                    <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].NRCellCU[' + $idCell + '].attributes.cellLocalId'`" />
+                                                                                                </execute>
+                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+                                                                                                    <parameter name="original_string" value="`$tmp.gNBCUCPList.cellLocalId`" />
+                                                                                                    <parameter name="regex" value="\."/>
+                                                                                                    <parameter name="ctx_memory_result_key" value="tmp.cellCUId" />
+                                                                                                </execute>
+                                                                                                <set>
+                                                                                                    <parameter name='tmp.gNBCUCPList.cellLocalId' value="`$tmp.cellCUId[0]`"/>
+                                                                                                </set>
+                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                    <parameter name="level" value="info" />
+                                                                                                    <parameter name="field1" value="NRCellCU "/>
+                                                                                                    <parameter name="field2" value="`$tmp.gNBCUCPList.cellLocalId`"/>
+                                                                                                </record>
+                                                                                                <switch test="`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`">
+                                                                                                    <outcome value='true'>
+                                                                                                        <block atomic='true'>
+                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                <parameter name="level" value="info" />
+                                                                                                                <parameter name="field1" value="Applicable cell found"/>
+                                                                                                                <parameter name="field2" value="`$tmp.gNBCUCPList.cellLocalId`"/>
+                                                                                                            </record>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+                                                                                                                <parameter name='prefixKey' value='tmp.CUCPList.response' />
+                                                                                                                <parameter name='keyName' value='gNBCUName' />
+                                                                                                                <parameter name='keyValue' value="`$tmp.gNBCUCPList.gNBCUName`"/>
+                                                                                                            </execute>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                                                <parameter name='outputPath' value='CUCPListEntries_size' />
+                                                                                                                <parameter name='source' value="`tmp.CUCPList.response_length`" />
+                                                                                                            </execute>
+                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                                <parameter name="level" value="info" />
+                                                                                                                <parameter name="field1" value="CUCPList length"/>
+                                                                                                                <parameter name="field2" value="`$CUCPListEntries_size`"/>
+                                                                                                            </record>
+                                                                                                            <block atomic='true'>
+                                                                                                                <switch test='`$prop.ransim-mounted`'>
+                                                                                                                    <outcome value='false'>
+                                                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                            <parameter name="source" value="`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU`"/>
+                                                                                                                            <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellCU.url"/>
+                                                                                                                            <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                                                            <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                                                        </execute>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='true'>
+                                                                                                                        <block atomic='true'>
+                                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                                <parameter name="source" value="`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
+                                                                                                                                <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellCU.url"/>
+                                                                                                                                <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                                                                <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                                                            </execute>
+                                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                                <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`"/>
+                                                                                                                                <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellCU.url"/>
+                                                                                                                                <parameter name="target" value="{mountName}"/>
+                                                                                                                                <parameter name="replacement" value="`$tmp.gNBCUCPList.gNBCUName`"/>
+                                                                                                                            </execute>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellCU.url"/>
+                                                                                                                    <parameter name="target" value="{idGNBCUCPFunction}"/>
+                                                                                                                    <parameter name="replacement" value="`$tmp.gNBCUCPList.gNBCUName`"/>
+                                                                                                                </execute>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellCU.url"/>
+                                                                                                                    <parameter name="target" value="{idNRCellCU}"/>
+                                                                                                                    <parameter name="replacement" value="`$tmp.cellLocalId`"/>
+                                                                                                                </execute>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellCU.url"/>
+                                                                                                                    <parameter name="target" value="{mcc}"/>
+                                                                                                                    <parameter name="replacement" value="`$tmp.mcc`"/>
+                                                                                                                </execute>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellCU.url"/>
+                                                                                                                    <parameter name="target" value="{mnc}"/>
+                                                                                                                    <parameter name="replacement" value="`$tmp.mnc`"/>
+                                                                                                                </execute>
+                                                                                                                <set>
+                                                                                                                    <parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns/$tmp.cellCUListEntries`'/>
+                                                                                                                </set>
+                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                    <parameter name="field1" value="Add PLMNInfoListEntry ToNRCellCU URL"/>
+                                                                                                                    <parameter name="field2" value="`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`"/>
+                                                                                                                </record>
+                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                    <parameter name="field1" value="Setting variables for PLMNInfoList Entry Add to NRCellCU"/>
+                                                                                                                    <parameter name="field2" value="`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="field3" value="`$tmp.mcc`"/>
+                                                                                                                    <parameter name="field4" value="`$tmp.mnc`"/>
+                                                                                                                    <parameter name="field5" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+                                                                                                                    <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+                                                                                                                    <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
+                                                                                                                </record>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellCU.json'`" />
+                                                                                                                    <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="restapiUser" value="`$prop.controller.user`" />
+                                                                                                                    <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+                                                                                                                    <parameter name="httpMethod" value="PUT"/>
+                                                                                                                    <parameter name="responsePrefix" value="PLMNInfoListEntry-response"/>
+                                                                                                                    <parameter name='contentType' value='application/json' />
+                                                                                                                    <parameter name='format' value='json' />
+                                                                                                                    <outcome value='failure'>
+                                                                                                                        <block>
+                                                                                                                            <return status='failure'>
+                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                <parameter name="error-message" value="Error adding PLMNInfoList Entry to NRCellCU" />
+                                                                                                                            </return>
+                                                                                                                            <block atomic='true'>
+                                                                                                                                <set>
+                                                                                                                                    <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                    <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                                                                    <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                                                                    <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                                                                    <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                                                                </set>
+                                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                                    <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                                                                    <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                                                                    <parameter name='field3' value="`$tmp.status`" />
+                                                                                                                                    <parameter name='field4' value="`$tmp.reason`" />
+                                                                                                                                    <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                                                                    <parameter name='field6' value="`$tmp.action`" />
+                                                                                                                                    <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                                                                    <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                                                                    <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                                                                </record>
+                                                                                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                                                                    <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                    <parameter name="httpMethod" value="POST"/>
+                                                                                                                                    <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                                                                    <parameter name='contentType' value='application/json' />
+                                                                                                                                    <parameter name='format' value='json' />
+                                                                                                                                    <parameter name='accept' value='*/*' />
+                                                                                                                                    <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                                                                                                                    <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                                                                                                                    <outcome value='failure'>
+                                                                                                                                        <block>
+                                                                                                                                            <return status='failure'>
+                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                                                            </return>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                    <outcome value='success'>
+                                                                                                                                        <block>
+                                                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                                                                <parameter name="level" value="info" />
+                                                                                                                                                <parameter name="field1" value="SO Response Sent "/>
+                                                                                                                                            </record>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </execute>
+                                                                                                                            </block>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block>
+                                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                                <parameter name="level" value="info" />
+                                                                                                                                <parameter name="field1" value="PLMNInfo List Entry Add to NRCELLCU Executed Successfully "/>
+                                                                                                                            </record>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </execute>
+                                                                                                            </block>
+                                                                                                            <block atomic='true'>
+                                                                                                                <switch test='`$prop.ransim-mounted`'>
+                                                                                                                    <outcome value='false'>
+                                                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                            <parameter name="source" value="`$prop.restapi.addRRMPolicyRatio.ToNRCellCU`"/>
+                                                                                                                            <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellCU.url"/>
+                                                                                                                            <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                                                            <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                                                        </execute>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='true'>
+                                                                                                                        <block atomic='true'>
+                                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                                <parameter name="source" value="`$prop.restapi.addRRMPolicyRatio.ToNRCellCU.ransim-mounted`"/>
+                                                                                                                                <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellCU.url"/>
+                                                                                                                                <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                                                                <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                                                            </execute>
+                                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                                <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellCU.url`"/>
+                                                                                                                                <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellCU.url"/>
+                                                                                                                                <parameter name="target" value="{mountName}"/>
+                                                                                                                                <parameter name="replacement" value="`$tmp.gNBCUCPList.gNBCUName`"/>
+                                                                                                                            </execute>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </switch>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellCU.url"/>
+                                                                                                                    <parameter name="target" value="{idGNBCUCPFunction}"/>
+                                                                                                                    <parameter name="replacement" value="`$tmp.gNBCUCPList.gNBCUName`"/>
+                                                                                                                </execute>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellCU.url"/>
+                                                                                                                    <parameter name="target" value="{idNRCellCU}"/>
+                                                                                                                    <parameter name="replacement" value="`$tmp.cellLocalId`"/>
+                                                                                                                </execute>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellCU.url"/>
+                                                                                                                    <parameter name="target" value="{id}"/>
+                                                                                                                    <parameter name="replacement" value="`$tmp.RRMPolicyRatioID.NRCellCU`"/>
+                                                                                                                </execute>
+                                                                                                                <set>
+                                                                                                                    <parameter name='tmp.resourceID' value='`$tmp.cellLocalId`'/>
+                                                                                                                </set>
+                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                    <parameter name="field1" value="addRRMPolicyRatio ToNRCellCU URL"/>
+                                                                                                                    <parameter name="field2" value="`$tmp.addRRMPolicyRatio.ToNRCellCU.url`"/>
+                                                                                                                </record>
+                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                    <parameter name="field1" value="Setting variables for addRRMPolicyRatio to NRCellCU"/>
+                                                                                                                    <parameter name="field2" value="`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="field3" value="`$tmp.mcc`"/>
+                                                                                                                    <parameter name="field4" value="`$tmp.mnc`"/>
+                                                                                                                    <parameter name="field5" value="`$tmp.payload.sNSSAI`"/>
+                                                                                                                    <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+                                                                                                                    <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
+                                                                                                                </record>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellCU.json'`" />
+                                                                                                                    <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`"/>
+                                                                                                                    <parameter name="restapiUser" value="`$prop.controller.user`" />
+                                                                                                                    <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+                                                                                                                    <parameter name="httpMethod" value="PUT"/>
+                                                                                                                    <parameter name="responsePrefix" value="addRRMPolicyRatio-response"/>
+                                                                                                                    <parameter name='contentType' value='application/json' />
+                                                                                                                    <parameter name='format' value='json' />
+                                                                                                                    <outcome value='failure'>
+                                                                                                                        <block>
+                                                                                                                            <return status='failure'>
+                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                <parameter name="error-message" value="Error adding RRMPolicyr" />
+                                                                                                                            </return>
+                                                                                                                            <block atomic='true'>
+                                                                                                                                <set>
+                                                                                                                                    <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                    <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                                                                    <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                                                                    <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                                                                    <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                                                                </set>
+                                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                                    <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                                                                    <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                                                                    <parameter name='field3' value="`$tmp.status`" />
+                                                                                                                                    <parameter name='field4' value="`$tmp.reason`" />
+                                                                                                                                    <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                                                                    <parameter name='field6' value="`$tmp.action`" />
+                                                                                                                                    <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                                                                    <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                                                                    <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                                                                </record>
+                                                                                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                                                                    <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                    <parameter name="httpMethod" value="POST"/>
+                                                                                                                                    <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                                                                    <parameter name='contentType' value='application/json' />
+                                                                                                                                    <parameter name='format' value='json' />
+                                                                                                                                    <parameter name='accept' value='*/*' />
+                                                                                                                                    <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                                                                                                                    <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                                                                                                                    <outcome value='failure'>
+                                                                                                                                        <block>
+                                                                                                                                            <return status='failure'>
+                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                                                            </return>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                    <outcome value='success'>
+                                                                                                                                        <block>
+                                                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                                                                <parameter name="level" value="info" />
+                                                                                                                                                <parameter name="field1" value="SO Response Sent "/>
+                                                                                                                                            </record>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </execute>
+                                                                                                                            </block>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block>
+                                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                                <parameter name="level" value="info" />
+                                                                                                                                <parameter name="field1" value="addRRMPolicyRatio to NRCELLCU Executed Successfully "/>
+                                                                                                                            </record>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </execute>
+                                                                                                            </block>
+                                                                                                            <block atomic='true'>
+                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                    <parameter name="field1" value="CUCP - CPS update"/>
+                                                                                                                </record>
+                                                                                                                <set>
+                                                                                                                    <parameter name='tmp.cellLocalId' value='`$tmp.gNBCUCPList.cellLocalId`'/>
+                                                                                                                    <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+                                                                                                                    <parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.gNBCUCPList.gNBCUName`'/>
+                                                                                                                    <parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>
+                                                                                                                    <parameter name='tmp.status' value='INACTIVE'/>
+                                                                                                                    <parameter name='tmp.sNSSAI' value='`$tmp.payload.sNSSAI`'/>
+                                                                                                                </set>
+                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                    <parameter name="field1" value="cellLocalId"/>
+                                                                                                                    <parameter name="field2" value="`$tmp.cellLocalId`"/>
+                                                                                                                    <parameter name="field5" value="maxNumberOfConns"/>
+                                                                                                                    <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
+                                                                                                                    <parameter name="field7" value="gNBCUName"/>
+                                                                                                                    <parameter name="field8" value="`$tmp.gNBCUCPList.gNBCUName`"/>
+                                                                                                                    <parameter name="field9" value="gNBId"/>
+                                                                                                                    <parameter name="field10" value="`$tmp.gNBCUCPList.gNBId`"/>
+                                                                                                                </record>
+                                                                                                                <block atomic='true'>
+                                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                        <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                                                                                                                        <parameter name="outputPath" value="tmp.cps.updateCUCP.url"/>
+                                                                                                                        <parameter name="target" value="{schemaSet}"/>
+                                                                                                                        <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+                                                                                                                    </execute>
+                                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                        <parameter name="source" value="`$tmp.cps.updateCUCP.url`"/>
+                                                                                                                        <parameter name="outputPath" value="tmp.cps.updateCUCP.url"/>
+                                                                                                                        <parameter name="target" value="{templateId}"/>
+                                                                                                                        <parameter name="replacement" value="`$prop.tbdmt.template.add-snssai-nrcellcu`"/>
+                                                                                                                    </execute>
+                                                                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+                                                                                                                        <parameter name="level" value="info" />
+                                                                                                                        <parameter name="field1" value="URL for CPS TDBMT to update CUCP in CPS"/>
+                                                                                                                        <parameter name='field2' value="`$tmp.cps.updateCUCP.url`" />
+                                                                                                                    </record>
+                                                                                                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                        <parameter name="restapiUrl" value="`$tmp.cps.updateCUCP.url`"/>
+                                                                                                                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-add-snssai-nrcellcu.json'`" />
+                                                                                                                        <parameter name="httpMethod" value="POST"/>
+                                                                                                                        <parameter name="responsePrefix" value="update-gNBCUCP-cps-response"/>
+                                                                                                                        <parameter name='contentType' value='application/json' />
+                                                                                                                        <parameter name='format' value='json' />
+                                                                                                                        <parameter name='accept' value='application/json' />
+                                                                                                                        <parameter name="convertResponse" value="true"/>
+                                                                                                                        <outcome value='failure'>
+                                                                                                                            <block atomic='true'>
+                                                                                                                                <set>
+                                                                                                                                    <parameter name='error-code' value='500'/>
+                                                                                                                                    <parameter name='error-message' value='Error in updating NRCellCU. Aborting RPC exception'/>
+                                                                                                                                </set>
+                                                                                                                                <return status='failure'>
+                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                    <parameter name='error-code' value='500'/>
+                                                                                                                                    <parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+                                                                                                                                </return>
+                                                                                                                            </block>
+                                                                                                                        </outcome>
+                                                                                                                        <outcome value='success'>
+                                                                                                                            <block>
+                                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                                    <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
+                                                                                                                                </record>
+                                                                                                                            </block>
+                                                                                                                        </outcome>
+                                                                                                                    </execute>
+                                                                                                                </block>
+                                                                                                                <block atomic='true'>
+                                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                        <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                                                                                                                        <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUCP.url"/>
+                                                                                                                        <parameter name="target" value="{schemaSet}"/>
+                                                                                                                        <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+                                                                                                                    </execute>
+                                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                        <parameter name="source" value="`$tmp.cps.rrmpolicy.putCUCP.url`"/>
+                                                                                                                        <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUCP.url"/>
+                                                                                                                        <parameter name="target" value="{templateId}"/>
+                                                                                                                        <parameter name="replacement" value="`$prop.tbdmt.template.add-nrcellcu-rrm-policy`"/>
+                                                                                                                    </execute>
+                                                                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                        <parameter name="level" value="info" />
+                                                                                                                        <parameter name="field1" value="URL for CPS TDBMT to update rrm policy in CPS"/>
+                                                                                                                        <parameter name='field2' value="`$tmp.cps.rrmpolicy.putCUCP.url`" />
+                                                                                                                    </record>
+                                                                                                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                        <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putCUCP.url`"/>
+                                                                                                                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-add-nrcellcu-rrm-policy.json'`" />
+                                                                                                                        <parameter name="httpMethod" value="POST"/>
+                                                                                                                        <parameter name="responsePrefix" value="update-gNBCUCP-rrmpolicy-cps-response"/>
+                                                                                                                        <parameter name='contentType' value='application/json' />
+                                                                                                                        <parameter name='format' value='json' />
+                                                                                                                        <parameter name='accept' value='application/json' />
+                                                                                                                        <parameter name="convertResponse" value="true"/>
+                                                                                                                        <outcome value='failure'>
+                                                                                                                            <block>
+                                                                                                                                <set>
+                                                                                                                                    <parameter name='error-code' value='500'/>
+                                                                                                                                    <parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                                                                </set>
+                                                                                                                                <block atomic='true'>
+                                                                                                                                    <set>
+                                                                                                                                        <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                        <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                                                                        <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                                                                        <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                                                                        <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                                                                    </set>
+                                                                                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                                                        <parameter name="level" value="info" />
+                                                                                                                                        <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                                                                        <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                                                                        <parameter name='field3' value="`$tmp.status`" />
+                                                                                                                                        <parameter name='field4' value="`$tmp.reason`" />
+                                                                                                                                        <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                                                                        <parameter name='field6' value="`$tmp.action`" />
+                                                                                                                                        <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                                                                        <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                                                                        <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                                                                    </record>
+                                                                                                                                    <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                        <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                                                                        <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                        <parameter name="httpMethod" value="POST"/>
+                                                                                                                                        <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                                                                        <parameter name='contentType' value='application/json' />
+                                                                                                                                        <parameter name='format' value='json' />
+                                                                                                                                        <parameter name='accept' value='*/*' />
+                                                                                                                                        <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                                                                                                                        <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                                                                                                                        <outcome value='failure'>
+                                                                                                                                            <block>
+                                                                                                                                                <return status='failure'>
+                                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                                    <parameter name="error-code" value="500" />
+                                                                                                                                                    <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                                                                </return>
+                                                                                                                                            </block>
+                                                                                                                                        </outcome>
+                                                                                                                                        <outcome value='success'>
+                                                                                                                                            <block>
+                                                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                                                    <parameter name="field1" value="SO Response Sent "/>
+                                                                                                                                                </record>
+                                                                                                                                            </block>
+                                                                                                                                        </outcome>
+                                                                                                                                    </execute>
+                                                                                                                                </block>
+                                                                                                                                <return status='failure'>
+                                                                                                                                    <parameter name='ack-final' value='Y'/>
+                                                                                                                                    <parameter name='error-code' value='500'/>
+                                                                                                                                    <parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                                                                </return>
+                                                                                                                            </block>
+                                                                                                                        </outcome>
+                                                                                                                        <outcome value='success'>
+                                                                                                                            <block>
+                                                                                                                                <set>
+                                                                                                                                    <parameter name='tmp.rrmPolicyMemberID' value='`$tmp.rrmPolicyMemberID + 1`' />
+                                                                                                                                </set>
+                                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                                    <parameter name="field1" value="Successfully Updated RRMPolicy CUCP info in CPS"/>
+                                                                                                                                    <parameter name="field2" value="Incremented ConfigDB rrmPolicyID"/>
+                                                                                                                                    <parameter name="field3" value='`$prop.configDB.rrmPolicyID`' />
+                                                                                                                                </record>
+                                                                                                                            </block>
+                                                                                                                        </outcome>
+                                                                                                                    </execute>
+                                                                                                                </block>
+                                                                                                            </block>
+                                                                                                        </block>
+                                                                                                    </outcome>
+                                                                                                </switch>
+                                                                                            </block>
+                                                                                        </for>
+                                                                                    </block>
+                                                                                </for>
+                                                                            </block>
+                                                                        </for>
+                                                                    </for>
+                                                                </block>
+                                                                <block atomic='true'>
+                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                        <parameter name='outputPath' value='tmp.CUUPListEntries' />
+                                                                        <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUUPFunction_length'`" />
+                                                                    </execute>
+                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                        <parameter name="level" value="info" />
+                                                                        <parameter name="field1" value="No. of CUUPs"/>
+                                                                        <parameter name="field2" value="`$tmp.CUUPListEntries`"/>
+                                                                    </record>
+                                                                    <block atomic='true'>
+                                                                        <set>
+                                                                            <parameter name='tmp.maxNumberOfConns-CUUP' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`' />
+                                                                        </set>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="maxNumberOfConns.CUUP "/>
+                                                                            <parameter name="field2" value="`$tmp.maxNumberOfConns-CUUP`"/>
+                                                                        </record>
+                                                                        <set>
+                                                                            <parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
+                                                                        </set>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="rRMPolicyDedicatedRatio for CUUP "/>
+                                                                            <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
+                                                                            <parameter name="field3" value="tmp.TotalNumberOfDRBForNSSAI "/>
+                                                                            <parameter name="field4" value="`$tmp.TotalNumberOfDRBForNSSAI`"/>
+                                                                            <parameter name="field5" value="tmp.DRBPerCUUPForSNSSAI "/>
+                                                                            <parameter name="field6" value="`$tmp.DRBPerCUUPForSNSSAI`"/>
+                                                                            <parameter name="field7" value="tmp.rRMPolicyDedicatedRatio.CUUP1 "/>
+                                                                            <parameter name="field8" value="`$tmp.rRMPolicyDedicatedRatio.CUUP1`"/>
+                                                                            <parameter name="field9" value="tmp.rRMPolicyDedicatedRatio.CUUP"/>
+                                                                            <parameter name="field10" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
+                                                                            <parameter name="field11" value="tmp.maxNumberOfConns"/>
+                                                                            <parameter name="field12" value="`$tmp.maxNumberOfConns-CUUP`"/>
+                                                                        </record>
+                                                                    </block>
+                                                                    <for index='id2' start='0' end='`$tmp.CUUPListEntries `' >
+                                                                        <block atomic='true'>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                <parameter name='outputPath' value='tmp.gNBCUUPList.gNBCUUPId' />
+                                                                                <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUUPFunction[' + $id2 + '].attributes.gNBCUUPId.value'`" />
+                                                                            </execute>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                <parameter name='outputPath' value='tmp.gNBCUUPList.gNBId' />
+                                                                                <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUUPFunction[' + $id2 + '].attributes.gNBId'`" />
+                                                                            </execute>
+                                                                        </block>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="CUUP Details "/>
+                                                                            <parameter name="field2" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
+                                                                            <parameter name="field3" value="`$tmp.gNBCUUPList.gNBId`"/>
+                                                                        </record>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="MCC "/>
+                                                                            <parameter name="field2" value="`$tmp.mcc`"/>
+                                                                            <parameter name="field3" value="MNC "/>
+                                                                            <parameter name="field4" value="`$tmp.mnc`"/>
+                                                                            <parameter name="field5" value="Calculated uLThptPerSlice "/>
+                                                                            <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+                                                                            <parameter name="field7" value="Calculated dLThptPerSlice "/>
+                                                                            <parameter name="field8" value="`$tmp.dLThptPerSlice`"/>
+                                                                        </record>
+                                                                        <block atomic='true'>
+                                                                            <switch test='`$prop.ransim-mounted`'>
+                                                                                <outcome value='false'>
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                        <parameter name="source" value="`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn`"/>
+                                                                                        <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url"/>
+                                                                                        <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                        <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                    </execute>
+                                                                                </outcome>
+                                                                                <outcome value='true'>
+                                                                                    <block atomic='true'>
+                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                            <parameter name="source" value="`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn.ransim-mounted`"/>
+                                                                                            <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url"/>
+                                                                                            <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                            <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                        </execute>
+                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                            <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`"/>
+                                                                                            <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url"/>
+                                                                                            <parameter name="target" value="{mountName}"/>
+                                                                                            <parameter name="replacement" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
+                                                                                        </execute>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                            </switch>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`"/>
+                                                                                <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url"/>
+                                                                                <parameter name="target" value="{idGNBCUUPFunction}"/>
+                                                                                <parameter name="replacement" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
+                                                                            </execute>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`"/>
+                                                                                <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url"/>
+                                                                                <parameter name="target" value="{mcc}"/>
+                                                                                <parameter name="replacement" value="`$tmp.mcc`"/>
+                                                                            </execute>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`"/>
+                                                                                <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url"/>
+                                                                                <parameter name="target" value="{mnc}"/>
+                                                                                <parameter name="replacement" value="`$tmp.mnc`"/>
+                                                                            </execute>
+                                                                            <set>
+                                                                                <parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns/$tmp.cellCUListEntries`'/>
+                                                                            </set>
+                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                <parameter name="level" value="info" />
+                                                                                <parameter name="field1" value="Add PLMNInfoListEntry ToGNBCUUPFn URL"/>
+                                                                                <parameter name="field2" value="`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`"/>
+                                                                            </record>
+                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                <parameter name="level" value="info" />
+                                                                                <parameter name="field1" value="Setting variables for PLMNInfoList Entry Add to NRCellCU"/>
+                                                                                <parameter name="field2" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+                                                                                <parameter name="field3" value="`$tmp.mcc`"/>
+                                                                                <parameter name="field4" value="`$tmp.mnc`"/>
+                                                                                <parameter name="field5" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+                                                                                <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+                                                                                <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
+                                                                            </record>
+                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-GNBCUUPFn.json'`" />
+                                                                                <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`"/>
+                                                                                <parameter name="restapiUser" value="`$prop.controller.user`" />
+                                                                                <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+                                                                                <parameter name="httpMethod" value="PUT"/>
+                                                                                <parameter name="responsePrefix" value="PLMNInfoListEntry-response"/>
+                                                                                <parameter name='contentType' value='application/json' />
+                                                                                <parameter name='format' value='json' />
+                                                                                <outcome value='failure'>
+                                                                                    <block>
+                                                                                        <block atomic='true'>
+                                                                                            <set>
+                                                                                                <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                                <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                                <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                                <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                            </set>
+                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                <parameter name="level" value="info" />
+                                                                                                <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                                <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                                <parameter name='field3' value="`$tmp.status`" />
+                                                                                                <parameter name='field4' value="`$tmp.reason`" />
+                                                                                                <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                                <parameter name='field6' value="`$tmp.action`" />
+                                                                                                <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                                <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                                <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                            </record>
+                                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                                <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                <parameter name="httpMethod" value="POST"/>
+                                                                                                <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                                <parameter name='contentType' value='application/json' />
+                                                                                                <parameter name='format' value='json' />
+                                                                                                <parameter name='accept' value='*/*' />
+                                                                                                <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                                                                                <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                                                                                <outcome value='failure'>
+                                                                                                    <block>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                        </return>
+                                                                                                    </block>
+                                                                                                </outcome>
+                                                                                                <outcome value='success'>
+                                                                                                    <block>
+                                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                            <parameter name="level" value="info" />
+                                                                                                            <parameter name="field1" value="SO Response Sent "/>
+                                                                                                        </record>
+                                                                                                    </block>
+                                                                                                </outcome>
+                                                                                            </execute>
+                                                                                        </block>
+                                                                                        <return status='failure'>
+                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                            <parameter name="error-code" value="500" />
+                                                                                            <parameter name="error-message" value="Error adding PLMNInfoList Entry to GNBCUUPFn" />
+                                                                                        </return>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                                <outcome value='success'>
+                                                                                    <block>
+                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                            <parameter name="level" value="info" />
+                                                                                            <parameter name="field1" value="PLMNInfo List Entry Add Executed Successfully "/>
+                                                                                        </record>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                            </execute>
+                                                                        </block>
+                                                                        <block atomic='true'>
+                                                                            <switch test='`$prop.ransim-mounted`'>
+                                                                                <outcome value='false'>
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                        <parameter name="source" value="`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn`"/>
+                                                                                        <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToGNBCUUPFn.url"/>
+                                                                                        <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                        <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                    </execute>
+                                                                                </outcome>
+                                                                                <outcome value='true'>
+                                                                                    <block atomic='true'>
+                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                            <parameter name="source" value="`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn.ransim-mounted`"/>
+                                                                                            <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToGNBCUUPFn.url"/>
+                                                                                            <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                            <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                        </execute>
+                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                            <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`"/>
+                                                                                            <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToGNBCUUPFn.url"/>
+                                                                                            <parameter name="target" value="{mountName}"/>
+                                                                                            <parameter name="replacement" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
+                                                                                        </execute>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                            </switch>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`"/>
+                                                                                <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToGNBCUUPFn.url"/>
+                                                                                <parameter name="target" value="{idGNBCUUPFunction}"/>
+                                                                                <parameter name="replacement" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
+                                                                            </execute>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`"/>
+                                                                                <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToGNBCUUPFn.url"/>
+                                                                                <parameter name="target" value="{id}"/>
+                                                                                <parameter name="replacement" value="`$tmp.RRMPolicyRatioID.GNBCUUPFunction`"/>
+                                                                            </execute>
+                                                                            <set>
+                                                                                <parameter name='tmp.resourceID' value='`$tmp.gNBCUUPList.gNBCUUPId`'/>
+                                                                            </set>
+                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                <parameter name="level" value="info" />
+                                                                                <parameter name="field1" value="addRRMPolicyRatio ToGNBCUUPFn URL"/>
+                                                                                <parameter name="field2" value="`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`"/>
+                                                                            </record>
+                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                <parameter name="level" value="info" />
+                                                                                <parameter name="field1" value="Setting variables for addRRMPolicyRatio to GNBCUUPFn"/>
+                                                                                <parameter name="field2" value="`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`"/>
+                                                                                <parameter name="field3" value="`$tmp.mcc`"/>
+                                                                                <parameter name="field4" value="`$tmp.mnc`"/>
+                                                                                <parameter name="field5" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+                                                                                <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+                                                                                <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
+                                                                            </record>
+                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-GNBCUUPFn.json'`" />
+                                                                                <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`"/>
+                                                                                <parameter name="restapiUser" value="`$prop.controller.user`" />
+                                                                                <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+                                                                                <parameter name="httpMethod" value="PUT"/>
+                                                                                <parameter name="responsePrefix" value="addRRMPolicyRatio-response"/>
+                                                                                <parameter name='contentType' value='application/json' />
+                                                                                <parameter name='format' value='json' />
+                                                                                <outcome value='failure'>
+                                                                                    <block>
+                                                                                        <block atomic='true'>
+                                                                                            <set>
+                                                                                                <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                                <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                                <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                                <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                            </set>
+                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                <parameter name="level" value="info" />
+                                                                                                <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                                <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                                <parameter name='field3' value="`$tmp.status`" />
+                                                                                                <parameter name='field4' value="`$tmp.reason`" />
+                                                                                                <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                                <parameter name='field6' value="`$tmp.action`" />
+                                                                                                <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                                <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                                <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                            </record>
+                                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                                <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                <parameter name="httpMethod" value="POST"/>
+                                                                                                <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                                <parameter name='contentType' value='application/json' />
+                                                                                                <parameter name='format' value='json' />
+                                                                                                <parameter name='accept' value='*/*' />
+                                                                                                <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                                                                                <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                                                                                <outcome value='failure'>
+                                                                                                    <block>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                        </return>
+                                                                                                    </block>
+                                                                                                </outcome>
+                                                                                                <outcome value='success'>
+                                                                                                    <block>
+                                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                            <parameter name="level" value="info" />
+                                                                                                            <parameter name="field1" value="SO Response Sent "/>
+                                                                                                        </record>
+                                                                                                    </block>
+                                                                                                </outcome>
+                                                                                            </execute>
+                                                                                        </block>
+                                                                                        <return status='failure'>
+                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                            <parameter name="error-code" value="500" />
+                                                                                            <parameter name="error-message" value="Error adding RRMPolicy" />
+                                                                                        </return>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                                <outcome value='success'>
+                                                                                    <block>
+                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                            <parameter name="level" value="info" />
+                                                                                            <parameter name="field1" value="addRRMPolicyRatio Executed Successfully "/>
+                                                                                        </record>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                            </execute>
+                                                                        </block>
+                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+                                                                            <parameter name="original_string" value="`$tmp.gNBCUUPList.gNBCUUPId`" />
+                                                                            <parameter name="regex" value="\."/>
+                                                                            <parameter name="ctx_memory_result_key" value="tmp.gNBCUUPId" />
+                                                                        </execute>
+                                                                        <set>
+                                                                            <parameter name='tmp.gNBCUUPList.gNBCUUPId' value="`$tmp.gNBCUUPId[0]`"/>
+                                                                        </set>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="CUUP id"/>
+                                                                            <parameter name="field2" value="`$tmp.gNBCUUPId[0]`"/>
+                                                                        </record>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="CUUP - CPS update"/>
+                                                                        </record>
+                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+                                                                            <parameter name='prefixKey' value='tmp.CUUPList.response' />
+                                                                            <parameter name='keyName' value='gNBCUUPId' />
+                                                                            <parameter name='keyValue' value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
+                                                                        </execute>
+                                                                        <block atomic='true'>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                                                                                <parameter name="outputPath" value="tmp.cps.updateCUUP.url"/>
+                                                                                <parameter name="target" value="{schemaSet}"/>
+                                                                                <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+                                                                            </execute>
+                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                <parameter name="source" value="`$tmp.cps.updateCUUP.url`"/>
+                                                                                <parameter name="outputPath" value="tmp.cps.updateCUUP.url"/>
+                                                                                <parameter name="target" value="{templateId}"/>
+                                                                                <parameter name="replacement" value="`$prop.tbdmt.template.add-snssai-cuup`"/>
+                                                                            </execute>
+                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+                                                                                <parameter name="level" value="info" />
+                                                                                <parameter name="field1" value="URL for CPS TDBMT to update CUCP in CPS"/>
+                                                                                <parameter name='field2' value="`$tmp.cps.updateCUCP.url`" />
+                                                                            </record>
+                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                <parameter name="restapiUrl" value="`$tmp.cps.updateCUUP.url`"/>
+                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-add-snssai-cuup.json'`" />
+                                                                                <parameter name="httpMethod" value="POST"/>
+                                                                                <parameter name="responsePrefix" value="update-gNBCUUP-cps-response"/>
+                                                                                <parameter name='contentType' value='application/json' />
+                                                                                <parameter name='format' value='json' />
+                                                                                <parameter name='accept' value='application/json' />
+                                                                                <parameter name="convertResponse" value="true"/>
+                                                                                <outcome value='failure'>
+                                                                                    <block>
+                                                                                        <block atomic='true'>
+                                                                                            <set>
+                                                                                                <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                                <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                                <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                                <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                            </set>
+                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                <parameter name="level" value="info" />
+                                                                                                <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                                <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                                <parameter name='field3' value="`$tmp.status`" />
+                                                                                                <parameter name='field4' value="`$tmp.reason`" />
+                                                                                                <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                                <parameter name='field6' value="`$tmp.action`" />
+                                                                                                <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                                <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                                <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                            </record>
+                                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                                <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                <parameter name="httpMethod" value="POST"/>
+                                                                                                <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                                <parameter name='contentType' value='application/json' />
+                                                                                                <parameter name='format' value='json' />
+                                                                                                <parameter name='accept' value='*/*' />
+                                                                                                <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                                                                                <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                                                                                <outcome value='failure'>
+                                                                                                    <block>
+                                                                                                        <return status='failure'>
+                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                            <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                        </return>
+                                                                                                    </block>
+                                                                                                </outcome>
+                                                                                                <outcome value='success'>
+                                                                                                    <block>
+                                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                            <parameter name="level" value="info" />
+                                                                                                            <parameter name="field1" value="SO Response Sent "/>
+                                                                                                        </record>
+                                                                                                    </block>
+                                                                                                </outcome>
+                                                                                            </execute>
+                                                                                        </block>
+                                                                                        <set>
+                                                                                            <parameter name='error-code' value='500'/>
+                                                                                            <parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                        </set>
+                                                                                        <return status='failure'>
+                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                            <parameter name='error-code' value='500'/>
+                                                                                            <parameter name='error-message' value='Error updating CUUP info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                        </return>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                                <outcome value='success'>
+                                                                                    <block>
+                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                            <parameter name="level" value="info" />
+                                                                                            <parameter name="field1" value="Successfully Updated gNBCUUP info in CPS"/>
+                                                                                        </record>
+                                                                                    </block>
+                                                                                </outcome>
+                                                                            </execute>
+                                                                        </block>
+                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                            <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                                                                            <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUUP.url"/>
+                                                                            <parameter name="target" value="{schemaSet}"/>
+                                                                            <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+                                                                        </execute>
+                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                            <parameter name="source" value="`$tmp.cps.rrmpolicy.putCUUP.url`"/>
+                                                                            <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUUP.url"/>
+                                                                            <parameter name="target" value="{templateId}"/>
+                                                                            <parameter name="replacement" value="`$prop.tbdmt.template.add-cuup-rrm-policy`"/>
+                                                                        </execute>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="URL for CPS TDBMT to update rrm policy in CPS"/>
+                                                                            <parameter name='field2' value="`$tmp.cps.rrmpolicy.putCUUP.url`" />
+                                                                        </record>
+                                                                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                            <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putCUUP.url`"/>
+                                                                            <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-add-cuup-rrm-policy.json'`" />
+                                                                            <parameter name="httpMethod" value="POST"/>
+                                                                            <parameter name="responsePrefix" value="update-gNBCUUP-rrmpolicy-cps-response"/>
+                                                                            <parameter name='contentType' value='application/json' />
+                                                                            <parameter name='format' value='json' />
+                                                                            <parameter name='accept' value='application/json' />
+                                                                            <parameter name="convertResponse" value="true"/>
+                                                                            <outcome value='failure'>
+                                                                                <block>
+                                                                                    <block atomic='true'>
+                                                                                        <set>
+                                                                                            <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                            <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                            <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                            <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                            <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                        </set>
+                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                            <parameter name="level" value="info" />
+                                                                                            <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                            <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                            <parameter name='field3' value="`$tmp.status`" />
+                                                                                            <parameter name='field4' value="`$tmp.reason`" />
+                                                                                            <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                            <parameter name='field6' value="`$tmp.action`" />
+                                                                                            <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                            <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                            <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                        </record>
+                                                                                        <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                            <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                            <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                                                                            <parameter name="httpMethod" value="POST"/>
+                                                                                            <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                            <parameter name='contentType' value='application/json' />
+                                                                                            <parameter name='format' value='json' />
+                                                                                            <parameter name='accept' value='*/*' />
+                                                                                            <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                                                                            <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                                                                            <outcome value='failure'>
+                                                                                                <block>
+                                                                                                    <return status='failure'>
+                                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                                        <parameter name="error-code" value="500" />
+                                                                                                        <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                    </return>
+                                                                                                </block>
+                                                                                            </outcome>
+                                                                                            <outcome value='success'>
+                                                                                                <block>
+                                                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                        <parameter name="level" value="info" />
+                                                                                                        <parameter name="field1" value="SO Response Sent "/>
+                                                                                                    </record>
+                                                                                                </block>
+                                                                                            </outcome>
+                                                                                        </execute>
+                                                                                    </block>
+                                                                                    <set>
+                                                                                        <parameter name='error-code' value='500'/>
+                                                                                        <parameter name='error-message' value='Error updating RRMPolicy CUUP info in CPS. Aborting RPC executiopn'/>
+                                                                                    </set>
+                                                                                    <return status='failure'>
+                                                                                        <parameter name='ack-final' value='Y'/>
+                                                                                        <parameter name='error-code' value='500'/>
+                                                                                        <parameter name='error-message' value='Error updating RRMPolicy CUUP info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                    </return>
+                                                                                </block>
+                                                                            </outcome>
+                                                                            <outcome value='success'>
+                                                                                <block>
+                                                                                    <set>
+                                                                                        <parameter name='tmp.rrmPolicyMemberID' value='`$prop.configDB.rrmPolicyID + 1`' />
+                                                                                    </set>
+                                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                        <parameter name="level" value="info" />
+                                                                                        <parameter name="field1" value="Successfully Updated RRMPolicy CUUP info in CPS"/>
+                                                                                        <parameter name="field2" value="Incremented ConfigDB rrmPolicyID"/>
+                                                                                        <parameter name="field3" value='`$tmp.rrmPolicyMemberID`' />
+                                                                                    </record>
+                                                                                </block>
+                                                                            </outcome>
+                                                                        </execute>
+                                                                    </for>
+                                                                </block>
+                                                                <block atomic='true'>
+                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                        <parameter name='outputPath' value='tmp.DUListEntries' />
+                                                                        <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction_length'`" />
+                                                                    </execute>
+                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                        <parameter name="level" value="info" />
+                                                                        <parameter name="field1" value="Number of DU List Entries "/>
+                                                                        <parameter name="field2" value="`$tmp.DUListEntries`"/>
+                                                                    </record>
+                                                                    <block atomic='true'>
+                                                                        <set>
+                                                                            <parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />
+                                                                        </set>
+                                                                        <set>
+                                                                            <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />
+                                                                        </set>
+                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                            <parameter name="level" value="info" />
+                                                                            <parameter name="field1" value="rRMPolicyDedicatedRatio for CellDU "/>
+                                                                            <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+                                                                            <parameter name="field3" value="tmp.nearRTRIC.trafficCapacity1 "/>
+                                                                            <parameter name="field4" value="`$tmp.nearRTRIC.trafficCapacity1`"/>
+                                                                            <parameter name="field5" value="tmp.nearRTRIC.trafficCapacity "/>
+                                                                            <parameter name="field6" value="`$tmp.nearRTRIC.trafficCapacity`"/>
+                                                                            <parameter name="field7" value="tmp.nearRTRIC.trafficCapacityBPS"/>
+                                                                            <parameter name="field8" value="`$tmp.nearRTRIC.trafficCapacityBPS`"/>
+                                                                            <parameter name="field9" value="tmp.nrcelldu.totalPRBForSNSSAI "/>
+                                                                            <parameter name="field10" value="`$tmp.nrcelldu.totalPRBForSNSSAI`"/>
+                                                                            <parameter name="field11" value="tmp.nrcelldu.PRBPerImpactedCell "/>
+                                                                            <parameter name="field12" value="`$tmp.nrcelldu.PRBPerImpactedCell`"/>
+                                                                            <parameter name="field13" value="tmp.rRMPolicyDedicatedRatio.CellDU1 "/>
+                                                                            <parameter name="field14" value="`$tmp.rRMPolicyDedicatedRatio.CellDU1`"/>
+                                                                        </record>
+                                                                    </block>
+                                                                    <for index='id2' start='0' end='`$tmp.DUListEntries`' >
+                                                                        <block atomic='true'>
+                                                                            <block atomic='true'>
+                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                    <parameter name='outputPath' value='tmp.cellDUListEntries' />
+                                                                                    <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].NRCellDU_length'`" />
+                                                                                </execute>
+                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                    <parameter name='outputPath' value='tmp.gNBDUList.gNBDUId' />
+                                                                                    <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].attributes.gNBDUId'`" />
+                                                                                </execute>
+                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+                                                                                    <parameter name="original_string" value="`$tmp.gNBDUList.gNBDUId`" />
+                                                                                    <parameter name="regex" value="\."/>
+                                                                                    <parameter name="ctx_memory_result_key" value="tmp.gNBDUId" />
+                                                                                </execute>
+                                                                                <set>
+                                                                                    <parameter name='tmp.gNBDUList.gNBDUId' value="`$tmp.gNBDUId[0]`"/>
+                                                                                </set>
+                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                    <parameter name='outputPath' value='tmp.gNBDUName' />
+                                                                                    <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].attributes.gNBDUName'`" />
+                                                                                </execute>
+                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                    <parameter name='outputPath' value='tmp.gNBId' />
+                                                                                    <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].attributes.gNBId'`" />
+                                                                                </execute>
+                                                                                <set>
+                                                                                    <parameter name="tmp.pLMNId" value="`$tmp.payload.pLMNId`"/>
+                                                                                </set>
+                                                                            </block>
+                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                <parameter name="level" value="info" />
+                                                                                <parameter name="field1" value="Numberof cellDU of Entries "/>
+                                                                                <parameter name="field2" value="`$tmp.cellDUListEntries`"/>
+                                                                                <parameter name="field3" value="`$tmp.gNBDUList.gNBDUId`"/>
+                                                                                <parameter name="field4" value="`$tmp.gNBDUName`"/>
+                                                                                <parameter name="field5" value="`$tmp.gNBId`"/>
+                                                                                <parameter name="field8" value="`$tmp.pLMNId`"/>
+                                                                            </record>
+                                                                            <for index='id3' start='0' end='`$tmp.cellListSize`' >
+                                                                                <block atomic='true'>
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                        <parameter name='outputPath' value='tmp.cellLocalId' />
+                                                                                        <parameter name='source' value="`'getListofCells-cps-response.[' + $idx + '].taCellsList[' + $id3 + '].cellLocalId'`"/>
+                                                                                    </execute>
+                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+                                                                                        <parameter name="original_string" value="`$tmp.cellLocalId`" />
+                                                                                        <parameter name="regex" value="\."/>
+                                                                                        <parameter name="ctx_memory_result_key" value="tmp.cellId" />
+                                                                                    </execute>
+                                                                                    <set>
+                                                                                        <parameter name='tmp.tacellLocalId' value="`$tmp.cellId[0]`"/>
+                                                                                    </set>
+                                                                                    <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                        <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                        <parameter name="level" value="info" />
+                                                                                        <parameter name="field1" value="cell id from TA "/>
+                                                                                        <parameter name="field2" value="`$tmp.tacellLocalId`"/>
+                                                                                    </record>
+                                                                                    <for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >
+                                                                                        <block atomic='true'>
+                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+                                                                                                <parameter name='outputPath' value='tmp.cellLocalId' />
+                                                                                                <parameter name='source' value="`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].NRCellDU[' + $idCell + '].attributes.cellLocalId'`" />
+                                                                                            </execute>
+                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+                                                                                                <parameter name="original_string" value="`$tmp.cellLocalId`" />
+                                                                                                <parameter name="regex" value="\."/>
+                                                                                                <parameter name="ctx_memory_result_key" value="tmp.cellDUId" />
+                                                                                            </execute>
+                                                                                            <set>
+                                                                                                <parameter name='tmp.cellLocalId' value="`$tmp.cellDUId[0]`"/>
+                                                                                            </set>
+                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                <parameter name="level" value="info" />
+                                                                                                <parameter name="field1" value="NRCellDU "/>
+                                                                                                <parameter name="field2" value="`$tmp.cellLocalId`"/>
+                                                                                            </record>
+                                                                                            <switch test="`$tmp.cellLocalId == $tmp.tacellLocalId`">
+                                                                                                <outcome value='true'>
+                                                                                                    <block atomic='true'>
+                                                                                                        <block atomic='true'>
+                                                                                                            <switch test='`$prop.ransim-mounted`'>
+                                                                                                                <outcome value='false'>
+                                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                        <parameter name="source" value="`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU`"/>
+                                                                                                                        <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+                                                                                                                        <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                                                        <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                                                    </execute>
+                                                                                                                </outcome>
+                                                                                                                <outcome value='true'>
+                                                                                                                    <block atomic='true'>
+                                                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                            <parameter name="source" value="`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
+                                                                                                                            <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+                                                                                                                            <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                                                            <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                                                        </execute>
+                                                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                            <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+                                                                                                                            <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+                                                                                                                            <parameter name="target" value="{mountName}"/>
+                                                                                                                            <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
+                                                                                                                        </execute>
+                                                                                                                    </block>
+                                                                                                                </outcome>
+                                                                                                            </switch>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+                                                                                                                <parameter name="target" value="{idGNBDUFunction}"/>
+                                                                                                                <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
+                                                                                                            </execute>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+                                                                                                                <parameter name="target" value="{idNRCellDU}"/>
+                                                                                                                <parameter name="replacement" value="`$tmp.cellLocalId`"/>
+                                                                                                            </execute>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+                                                                                                                <parameter name="target" value="{mcc}"/>
+                                                                                                                <parameter name="replacement" value="`$tmp.mcc`"/>
+                                                                                                            </execute>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+                                                                                                                <parameter name="target" value="{mnc}"/>
+                                                                                                                <parameter name="replacement" value="`$tmp.mnc`"/>
+                                                                                                            </execute>
+                                                                                                            <set>
+                                                                                                                <parameter name='tmp.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice/$tmp.cellDUListEntries`'/>
+                                                                                                                <parameter name='tmp.dLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice/$tmp.cellDUListEntries`'/>
+                                                                                                            </set>
+                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                <parameter name="level" value="info" />
+                                                                                                                <parameter name="field1" value="Add PLMNInfoListEntry ToNRCellDU URL"/>
+                                                                                                                <parameter name="field2" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+                                                                                                            </record>
+                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                <parameter name="level" value="info" />
+                                                                                                                <parameter name="field1" value="Setting variables for PLMNInfoList Entry Add to NRCellDU"/>
+                                                                                                                <parameter name="field2" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="field3" value="`$tmp.mcc`"/>
+                                                                                                                <parameter name="field4" value="`$tmp.mnc`"/>
+                                                                                                                <parameter name="field5" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+                                                                                                                <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+                                                                                                                <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
+                                                                                                            </record>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json'`" />
+                                                                                                                <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="restapiUser" value="`$prop.controller.user`" />
+                                                                                                                <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+                                                                                                                <parameter name="httpMethod" value="PUT"/>
+                                                                                                                <parameter name="responsePrefix" value="PLMNInfoListEntry-response"/>
+                                                                                                                <parameter name='contentType' value='application/json' />
+                                                                                                                <parameter name='format' value='json' />
+                                                                                                                <outcome value='failure'>
+                                                                                                                    <block>
+                                                                                                                        <block atomic='true'>
+                                                                                                                            <set>
+                                                                                                                                <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                                                                <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                                                                <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                                                                <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                                                            </set>
+                                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                                                <parameter name="level" value="info" />
+                                                                                                                                <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                                                                <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                                                                <parameter name='field3' value="`$tmp.status`" />
+                                                                                                                                <parameter name='field4' value="`$tmp.reason`" />
+                                                                                                                                <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                                                                <parameter name='field6' value="`$tmp.action`" />
+                                                                                                                                <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                                                                <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                                                                <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                                                            </record>
+                                                                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                                                                <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                <parameter name="httpMethod" value="POST"/>
+                                                                                                                                <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                                                                <parameter name='contentType' value='application/json' />
+                                                                                                                                <parameter name='format' value='json' />
+                                                                                                                                <parameter name='accept' value='*/*' />
+                                                                                                                                <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                                                                                                                <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                                                                                                                <outcome value='failure'>
+                                                                                                                                    <block>
+                                                                                                                                        <return status='failure'>
+                                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                                            <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                                                        </return>
+                                                                                                                                    </block>
+                                                                                                                                </outcome>
+                                                                                                                                <outcome value='success'>
+                                                                                                                                    <block>
+                                                                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                                                            <parameter name="level" value="info" />
+                                                                                                                                            <parameter name="field1" value="SO Response Sent "/>
+                                                                                                                                        </record>
+                                                                                                                                    </block>
+                                                                                                                                </outcome>
+                                                                                                                            </execute>
+                                                                                                                        </block>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="Error adding PLMNInfo List Entry to NRCellCUr" />
+                                                                                                                        </return>
+                                                                                                                    </block>
+                                                                                                                </outcome>
+                                                                                                                <outcome value='success'>
+                                                                                                                    <block>
+                                                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                            <parameter name="level" value="info" />
+                                                                                                                            <parameter name="field1" value="PLMNInfo List Entry Add to NRCELLDU Executed Successfully "/>
+                                                                                                                        </record>
+                                                                                                                    </block>
+                                                                                                                </outcome>
+                                                                                                            </execute>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+                                                                                                                <parameter name='prefixKey' value='tmp.DUList.response' />
+                                                                                                                <parameter name='keyName' value='gNBDUId' />
+                                                                                                                <parameter name='keyValue' value="`$tmp.gNBDUList.gNBDUId`"/>
+                                                                                                            </execute>
+                                                                                                        </block>
+                                                                                                        <block atomic='true'>
+                                                                                                            <switch test='`$prop.ransim-mounted`'>
+                                                                                                                <outcome value='false'>
+                                                                                                                    <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                        <parameter name="source" value="`$prop.restapi.addRRMPolicyRatio.ToNRCellDU`"/>
+                                                                                                                        <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+                                                                                                                        <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                                                        <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                                                    </execute>
+                                                                                                                </outcome>
+                                                                                                                <outcome value='true'>
+                                                                                                                    <block atomic='true'>
+                                                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                            <parameter name="source" value="`$prop.restapi.addRRMPolicyRatio.ToNRCellDU.ransim-mounted`"/>
+                                                                                                                            <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+                                                                                                                            <parameter name="target" value="{idNearRTRIC}"/>
+                                                                                                                            <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+                                                                                                                        </execute>
+                                                                                                                        <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                            <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+                                                                                                                            <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+                                                                                                                            <parameter name="target" value="{mountName}"/>
+                                                                                                                            <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
+                                                                                                                        </execute>
+                                                                                                                    </block>
+                                                                                                                </outcome>
+                                                                                                            </switch>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+                                                                                                                <parameter name="target" value="{idGNBDUFunction}"/>
+                                                                                                                <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
+                                                                                                            </execute>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+                                                                                                                <parameter name="target" value="{idNRCellDU}"/>
+                                                                                                                <parameter name="replacement" value="`$tmp.cellLocalId`"/>
+                                                                                                            </execute>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+                                                                                                                <parameter name="target" value="{id}"/>
+                                                                                                                <parameter name="replacement" value="`$tmp.RRMPolicyRatioID.NRCellDU`"/>
+                                                                                                            </execute>
+                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                <parameter name="level" value="info" />
+                                                                                                                <parameter name="field1" value="addRRMPolicyRatio ToNRCellDU URL"/>
+                                                                                                                <parameter name="field2" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+                                                                                                            </record>
+                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                <parameter name="level" value="info" />
+                                                                                                                <parameter name="field1" value="Setting variables for addRRMPolicyRatio to NRCellDU"/>
+                                                                                                                <parameter name="field2" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="field3" value="`$tmp.mcc`"/>
+                                                                                                                <parameter name="field4" value="`$tmp.mnc`"/>
+                                                                                                                <parameter name="field5" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+                                                                                                                <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+                                                                                                                <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
+                                                                                                            </record>
+                                                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`" />
+                                                                                                                <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+                                                                                                                <parameter name="restapiUser" value="`$prop.controller.user`" />
+                                                                                                                <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+                                                                                                                <parameter name="httpMethod" value="PUT"/>
+                                                                                                                <parameter name="responsePrefix" value="addRRMPolicyRatio-response"/>
+                                                                                                                <parameter name='contentType' value='application/json' />
+                                                                                                                <parameter name='format' value='json' />
+                                                                                                                <outcome value='failure'>
+                                                                                                                    <block>
+                                                                                                                        <block atomic='true'>
+                                                                                                                            <set>
+                                                                                                                                <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                                                                <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                                                                <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                                                                <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                                                            </set>
+                                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                                                <parameter name="level" value="info" />
+                                                                                                                                <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                                                                <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                                                                <parameter name='field3' value="`$tmp.status`" />
+                                                                                                                                <parameter name='field4' value="`$tmp.reason`" />
+                                                                                                                                <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                                                                <parameter name='field6' value="`$tmp.action`" />
+                                                                                                                                <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                                                                <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                                                                <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                                                            </record>
+                                                                                                                            <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                                                                <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                <parameter name="httpMethod" value="POST"/>
+                                                                                                                                <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                                                                <parameter name='contentType' value='application/json' />
+                                                                                                                                <parameter name='format' value='json' />
+                                                                                                                                <parameter name='accept' value='*/*' />
+                                                                                                                                <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                                                                                                                <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                                                                                                                <outcome value='failure'>
+                                                                                                                                    <block>
+                                                                                                                                        <return status='failure'>
+                                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                                            <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                                                        </return>
+                                                                                                                                    </block>
+                                                                                                                                </outcome>
+                                                                                                                                <outcome value='success'>
+                                                                                                                                    <block>
+                                                                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                                                            <parameter name="level" value="info" />
+                                                                                                                                            <parameter name="field1" value="SO Response Sent "/>
+                                                                                                                                        </record>
+                                                                                                                                    </block>
+                                                                                                                                </outcome>
+                                                                                                                            </execute>
+                                                                                                                        </block>
+                                                                                                                        <return status='failure'>
+                                                                                                                            <parameter name='ack-final' value='Y'/>
+                                                                                                                            <parameter name="error-code" value="500" />
+                                                                                                                            <parameter name="error-message" value="Error adding RRM Policy" />
+                                                                                                                        </return>
+                                                                                                                    </block>
+                                                                                                                </outcome>
+                                                                                                                <outcome value='success'>
+                                                                                                                    <block>
+                                                                                                                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                            <parameter name="level" value="info" />
+                                                                                                                            <parameter name="field1" value="addRRMPolicyRatio to NRCELLDU Executed Successfully "/>
+                                                                                                                        </record>
+                                                                                                                    </block>
+                                                                                                                </outcome>
+                                                                                                            </execute>
+                                                                                                        </block>
+                                                                                                        <block atomic='true'>
+                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                <parameter name="level" value="info" />
+                                                                                                                <parameter name="field1" value="DU - CPS update"/>
+                                                                                                            </record>
+                                                                                                            <block atomic='true'>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.cps.updateDU.url"/>
+                                                                                                                    <parameter name="target" value="{schemaSet}"/>
+                                                                                                                    <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+                                                                                                                </execute>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$tmp.cps.updateDU.url`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.cps.updateDU.url"/>
+                                                                                                                    <parameter name="target" value="{templateId}"/>
+                                                                                                                    <parameter name="replacement" value="`$prop.tbdmt.template.add-nrcelldu-snssai`"/>
+                                                                                                                </execute>
+                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                    <parameter name="field1" value="URL for CPS TDBMT to update CUCP in CPS"/>
+                                                                                                                    <parameter name='field2' value="`$tmp.cps.updateCUCP.url`" />
+                                                                                                                </record>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                    <parameter name="restapiUrl" value="`$tmp.cps.updateDU.url`"/>
+                                                                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-add-snssai-nrcelldu.json'`" />
+                                                                                                                    <parameter name="httpMethod" value="POST"/>
+                                                                                                                    <parameter name="responsePrefix" value="update-gNBDU-cps-response"/>
+                                                                                                                    <parameter name='contentType' value='application/json' />
+                                                                                                                    <parameter name='format' value='json' />
+                                                                                                                    <parameter name='accept' value='application/json' />
+                                                                                                                    <parameter name="convertResponse" value="true"/>
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block>
+                                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                                <parameter name="level" value="info" />
+                                                                                                                                <parameter name="field1" value="Successfully Updated DU info in CPS"/>
+                                                                                                                            </record>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='failure'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='error-code' value='500'/>
+                                                                                                                                <parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                                                            </set>
+                                                                                                                            <return status='failure'>
+                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                <parameter name='error-code' value='500'/>
+                                                                                                                                <parameter name='error-message' value='Error updating CUUP info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                                                            </return>
+                                                                                                                            <block atomic='true'>
+                                                                                                                                <set>
+                                                                                                                                    <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                    <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                                                                    <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                                                                    <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                                                                    <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                                                                </set>
+                                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                                    <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                                                                    <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                                                                    <parameter name='field3' value="`$tmp.status`" />
+                                                                                                                                    <parameter name='field4' value="`$tmp.reason`" />
+                                                                                                                                    <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                                                                    <parameter name='field6' value="`$tmp.action`" />
+                                                                                                                                    <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                                                                    <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                                                                    <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                                                                </record>
+                                                                                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                                                                    <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+                                                                                                                                    <parameter name="httpMethod" value="POST"/>
+                                                                                                                                    <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                                                                    <parameter name='contentType' value='application/json' />
+                                                                                                                                    <parameter name='format' value='json' />
+                                                                                                                                    <parameter name='accept' value='application/json' />
+                                                                                                                                    <outcome value='failure'>
+                                                                                                                                        <block>
+                                                                                                                                            <return status='failure'>
+                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                                                            </return>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                    <outcome value='success'>
+                                                                                                                                        <block>
+                                                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                                                                <parameter name="level" value="info" />
+                                                                                                                                                <parameter name="field1" value="SO Response Sent "/>
+                                                                                                                                            </record>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </execute>
+                                                                                                                            </block>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </execute>
+                                                                                                            </block>
+                                                                                                            <block atomic='true'>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.cps.rrmpolicy.putDU.url"/>
+                                                                                                                    <parameter name="target" value="{schemaSet}"/>
+                                                                                                                    <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+                                                                                                                </execute>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                                                                                                                    <parameter name="source" value="`$tmp.cps.rrmpolicy.putDU.url`"/>
+                                                                                                                    <parameter name="outputPath" value="tmp.cps.rrmpolicy.putDU.url"/>
+                                                                                                                    <parameter name="target" value="{templateId}"/>
+                                                                                                                    <parameter name="replacement" value="`$prop.tbdmt.template.add-nrcelldu-rrm-policy`"/>
+                                                                                                                </execute>
+                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                    <parameter name="field1" value="URL for CPS TDBMT to update rrm policy in CPS"/>
+                                                                                                                    <parameter name='field2' value="`$tmp.cps.rrmpolicy.putDU.url`" />
+                                                                                                                </record>
+                                                                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                    <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putDU.url`"/>
+                                                                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-add-nrcelldu-rrm-policy.json'`" />
+                                                                                                                    <parameter name="httpMethod" value="POST"/>
+                                                                                                                    <parameter name="responsePrefix" value="update-gNBDU-rrmpolicy-cps-response"/>
+                                                                                                                    <parameter name='contentType' value='application/json' />
+                                                                                                                    <parameter name='format' value='json' />
+                                                                                                                    <parameter name='accept' value='application/json' />
+                                                                                                                    <parameter name="convertResponse" value="true"/>
+                                                                                                                    <outcome value='success'>
+                                                                                                                        <block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='tmp.rrmPolicyMemberID' value='`$prop.configDB.rrmPolicyID + 1`' />
+                                                                                                                            </set>
+                                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                                                                <parameter name="level" value="info" />
+                                                                                                                                <parameter name="field1" value="Successfully Updated RRMPolicy DU info in CPS"/>
+                                                                                                                                <parameter name="field2" value="Incremented CPS rrmPolicyID"/>
+                                                                                                                                <parameter name="field3" value='`$prop.configDB.rrmPolicyID`' />
+                                                                                                                            </record>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                    <outcome value='failure'>
+                                                                                                                        <block>
+                                                                                                                            <block atomic='true'>
+                                                                                                                                <set>
+                                                                                                                                    <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                                                                                                                    <parameter name="tmp.status" value="`$error-code`"/>
+                                                                                                                                    <parameter name="tmp.reason" value="`$error-message`"/>
+                                                                                                                                    <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                                                                                                                    <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                                                                                                                </set>
+                                                                                                                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                    <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                                                                                                                    <parameter name="level" value="info" />
+                                                                                                                                    <parameter name="field1" value="URL for SO Callback Response"/>
+                                                                                                                                    <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                                                                                                                    <parameter name='field3' value="`$tmp.status`" />
+                                                                                                                                    <parameter name='field4' value="`$tmp.reason`" />
+                                                                                                                                    <parameter name='field5' value="`$tmp.requestID`" />
+                                                                                                                                    <parameter name='field6' value="`$tmp.action`" />
+                                                                                                                                    <parameter name='field7' value="`$tmp.CUCPList`" />
+                                                                                                                                    <parameter name='field8' value="`$tmp.CUUPList`" />
+                                                                                                                                    <parameter name='field9' value="`$tmp.DUList`" />
+                                                                                                                                </record>
+                                                                                                                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                                                                                                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                                                                                                                    <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+                                                                                                                                    <parameter name="httpMethod" value="POST"/>
+                                                                                                                                    <parameter name="responsePrefix" value="so-callback-response"/>
+                                                                                                                                    <parameter name='contentType' value='application/json' />
+                                                                                                                                    <parameter name='format' value='json' />
+                                                                                                                                    <parameter name='accept' value='application/json' />
+                                                                                                                                    <outcome value='failure'>
+                                                                                                                                        <block>
+                                                                                                                                            <return status='failure'>
+                                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                                <parameter name="error-code" value="500" />
+                                                                                                                                                <parameter name="error-message" value="Error sending SO Response" />
+                                                                                                                                            </return>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                    <outcome value='success'>
+                                                                                                                                        <block>
+                                                                                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                                                                                                                <parameter name="level" value="info" />
+                                                                                                                                                <parameter name="field1" value="SO Response Sent "/>
+                                                                                                                                            </record>
+                                                                                                                                        </block>
+                                                                                                                                    </outcome>
+                                                                                                                                </execute>
+                                                                                                                            </block>
+                                                                                                                            <set>
+                                                                                                                                <parameter name='error-code' value='500'/>
+                                                                                                                                <parameter name='error-message' value='Error updating RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                                                            </set>
+                                                                                                                            <return status='failure'>
+                                                                                                                                <parameter name='ack-final' value='Y'/>
+                                                                                                                                <parameter name='error-code' value='500'/>
+                                                                                                                                <parameter name='error-message' value='Error updating RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>
+                                                                                                                            </return>
+                                                                                                                        </block>
+                                                                                                                    </outcome>
+                                                                                                                </execute>
+                                                                                                            </block>
+                                                                                                        </block>
+                                                                                                    </block>
+                                                                                                </outcome>
+                                                                                            </switch>
+                                                                                        </block>
+                                                                                    </for>
+                                                                                </block>
+                                                                            </for>
+                                                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                                                                <parameter name="level" value="info" />
+                                                                                <parameter name="field1" value="MCC "/>
+                                                                                <parameter name="field2" value="`$tmp.mcc`"/>
+                                                                                <parameter name="field3" value="MNC "/>
+                                                                                <parameter name="field4" value="`$tmp.mnc`"/>
+                                                                                <parameter name="field5" value="Calculated uLThptPerSlice "/>
+                                                                                <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+                                                                                <parameter name="field7" value="Calculated dLThptPerSlice "/>
+                                                                                <parameter name="field8" value="`$tmp.dLThptPerSlice`"/>
+                                                                            </record>
+                                                                        </block>
+                                                                    </for>
+                                                                </block>
+                                                            </for>
+                                                        </block>
+                                                    </block>
+                                                </outcome>
+                                            </execute>
+                                        </block>
+                                    </for>
+                                </block>
+                            </for>
+                        </block>
+                    </block>
+                </block>
+            </for>
+            <block atomic='true'>
+                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                    <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+                    <parameter name="outputPath" value="tmp.cps.updateInventory-newslice.url"/>
+                    <parameter name="target" value="{schemaSet}"/>
+                    <parameter name="replacement" value="`$prop.inventory.schemaset`"/>
+                </execute>
+                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                    <parameter name="source" value="`$tmp.cps.updateInventory-newslice.url`"/>
+                    <parameter name="outputPath" value="tmp.cps.updateInventory-newslice.url"/>
+                    <parameter name="target" value="{templateId}"/>
+                    <parameter name="replacement" value="`$prop.tbdmt.template.ran-inventory-new-slice`"/>
+                </execute>
+                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                    <parameter name="level" value="info" />
+                    <parameter name="field1" value="URL for CPS TDBMT to update inventory in CPS"/>
+                    <parameter name='field2' value="`$tmp.cps.updateInventory-newslice.url`" />
+                </record>
+                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                    <parameter name="restapiUrl" value="`$tmp.cps.updateInventory-newslice.url`"/>
+                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-update-ran-inventory-new-slice.json'`" />
+                    <parameter name="httpMethod" value="POST"/>
+                    <parameter name="responsePrefix" value="update-inventory-cps-response"/>
+                    <parameter name='contentType' value='application/json' />
+                    <parameter name='format' value='json' />
+                    <parameter name='accept' value='application/json' />
+                    <parameter name="convertResponse" value="true"/>
+                    <outcome value='failure'>
+                        <block>
+                            <set>
+                                <parameter name='error-code' value='500'/>
+                                <parameter name='error-message' value='Error updating inventory info in CPS. Aborting RPC executiopn'/>
+                            </set>
+                            <return status='failure'>
+                                <parameter name='ack-final' value='Y'/>
+                                <parameter name='error-code' value='500'/>
+                                <parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>
+                            </return>
+                            <block atomic='true'>
+                                <set>
+                                    <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+                                    <parameter name="tmp.status" value="`$error-code`"/>
+                                    <parameter name="tmp.reason" value="`$error-message`"/>
+                                    <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+                                    <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+                                </set>
+                                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                    <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                    <parameter name="level" value="info" />
+                                    <parameter name="field1" value="URL for SO Callback Response"/>
+                                    <parameter name='field2' value="`$tmp.so.callbackURL`" />
+                                    <parameter name='field3' value="`$tmp.status`" />
+                                    <parameter name='field4' value="`$tmp.reason`" />
+                                    <parameter name='field5' value="`$tmp.requestID`" />
+                                    <parameter name='field6' value="`$tmp.action`" />
+                                    <parameter name='field7' value="`$tmp.CUCPList`" />
+                                    <parameter name='field8' value="`$tmp.CUUPList`" />
+                                    <parameter name='field9' value="`$tmp.DUList`" />
+                                </record>
+                                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                                    <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                                    <parameter name="httpMethod" value="POST"/>
+                                    <parameter name="responsePrefix" value="so-callback-response"/>
+                                    <parameter name='contentType' value='application/json' />
+                                    <parameter name='format' value='json' />
+                                    <parameter name='accept' value='*/*' />
+                                    <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                                    <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                                    <outcome value='failure'>
+                                        <block>
+                                            <return status='failure'>
+                                                <parameter name='ack-final' value='Y'/>
+                                                <parameter name="error-code" value="500" />
+                                                <parameter name="error-message" value="Error sending SO Response" />
+                                            </return>
+                                        </block>
+                                    </outcome>
+                                    <outcome value='success'>
+                                        <block>
+                                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                                                <parameter name="level" value="info" />
+                                                <parameter name="field1" value="SO Response Sent "/>
+                                            </record>
+                                        </block>
+                                    </outcome>
+                                </execute>
+                            </block>
+                        </block>
+                    </outcome>
+                    <outcome value='success'>
+                        <block>
+                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log" />
+                                <parameter name="level" value="info" />
+                                <parameter name="field1" value="Successfully Updated inventory in CPS"/>
+                            </record>
+                        </block>
+                    </outcome>
+                </execute>
+            </block>
+            <block atomic='true'>
+                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                    <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+                    <parameter name="level" value="info" />
+                    <parameter name="field1" value="Response code"/>
+                    <parameter name="field2" value="`$error-code`" />
+                </record>
+                <switch test='`$error-code`'>
+                    <outcome value='200'>
+                        <set>
+                            <parameter name="tmp.status" value="success"/>
+                        </set>
+                    </outcome>
+                    <outcome value='Other'>
+                        <set>
+                            <parameter name="tmp.status" value="`$error-code`"/>
+                        </set>
+                    </outcome>
+                </switch>
+                <set>
+                    <parameter name="tmp.reason" value="`$error-message`"/>
+                    <parameter name="tmp.requestID" value="`$instantiate-r-a-n-slice-input.common-header.request-id `"/>
+                    <parameter name="tmp.action" value="`$instantiate-r-a-n-slice-input.action`"/>
+                </set>
+                <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+                    <parameter name="source" value="`$prop.restapi.so.callbackURL`"/>
+                    <parameter name="outputPath" value="tmp.so.callbackURL"/>
+                    <parameter name="target" value="{requestId}"/>
+                    <parameter name="replacement" value="`$tmp.requestID`"/>
+                </execute>
+                <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                    <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                    <parameter name="level" value="info" />
+                    <parameter name="field1" value="URL for SO Callback Response"/>
+                    <parameter name='field2' value="`$payloadJson.input.callbackURL`" />
+                    <parameter name='field3' value="`$tmp.status`" />
+                    <parameter name='field4' value="`$tmp.reason`" />
+                    <parameter name='field5' value="`$tmp.requestID`" />
+                    <parameter name='field6' value="`$tmp.action`" />
+                    <parameter name='field7' value="`$prop.restapi.so.user`" />
+                    <parameter name='field8' value="`$prop.restapi.so.password`" />
+                    <parameter name='field9' value="`$tmp.DUList.response_length`" />
+                    <parameter name='field10' value="`$tmp.CUCPList.response`" />
+                    <parameter name='field11' value="`$tmp.CUUPList.response`" />
+                    <parameter name='field12' value="`$tmp.DUList.response`" />
+                </record>
+                <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+                    <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+                    <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+                    <parameter name="httpMethod" value="POST"/>
+                    <parameter name="responsePrefix" value="so-callback-response"/>
+                    <parameter name='contentType' value='application/json' />
+                    <parameter name='format' value='json' />
+                    <parameter name='accept' value='*/*' />
+                    <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+                    <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+                    <outcome value='failure'>
+                        <block>
+                            <set>
+                                <parameter name='error-code' value='500'/>
+                                <parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>
+                            </set>
+                            <return status='failure'>
+                                <parameter name='ack-final' value='Y'/>
+                                <parameter name="error-code" value="500" />
+                                <parameter name="error-message" value="Error sending SO Response" />
+                            </return>
+                        </block>
+                    </outcome>
+                    <outcome value='success'>
+                        <block>
+                            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+                                <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+                                <parameter name="level" value="info" />
+                                <parameter name="field1" value="SO Response Sent "/>
+                            </record>
+                        </block>
+                    </outcome>
+                </execute>
+            </block>
+            <return status='success'>
+                <parameter name="ack-final" value="N" />
+                <parameter name="error-code" value="200" />
+                <parameter name="error-message" value="SUCCESSFUL Execution" />
+            </return>
+        </block>
+    </method>
+</service-logic>
\ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-cuup-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-cuup-rrm-policy.json
new file mode 100644 (file)
index 0000000..21be4b0
--- /dev/null
@@ -0,0 +1,27 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUUPFunction": ${tmp.gNBCUUPList.gNBCUUPId}
+},
+"payload":{
+"RRMPolicyRatio":[{
+"id":${tmp.RRMPolicyRatioID.GNBCUUPFunction},
+"attributes":{
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.rrmPolicyMemberID},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+
+                           }
+}
+]
+}
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json
new file mode 100644 (file)
index 0000000..4ec7cbf
--- /dev/null
@@ -0,0 +1,37 @@
+{
+ "inputParameters":{
+   "idNearRTRIC":${tmp.nearRTRICId}
+   },
+"payload": {
+"attributes": {
+"pLMNInfoList": [{
+                                "mcc":${tmp.mcc},
+    "mnc":${tmp.mnc},
+"sNSSAIList":[
+{
+"sNssai":${tmp.payload.sNSSAI},
+"status":"ACTIVE",
+"configData": [
+{
+"configParameter":"dLThptPerSlice",
+"configValue":${tmp.nearRTRIC.dLThptPerSlice}
+},
+{
+"configParameter":"uLThptPerSlice",
+"configValue":${tmp.nearRTRIC.uLThptPerSlice}
+},
+
+{
+"configParameter":"maxNumberOfConns",
+"configValue":${tmp.nearRTRIC.maxNumberOfConns}
+}
+]
+}
+]
+}],
+                       "rANNFNSSIList": [
+                               ${tmp.ranNFNSSIListEntry}
+                       ]
+}
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json
new file mode 100644 (file)
index 0000000..cac92ae
--- /dev/null
@@ -0,0 +1,28 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction": ${tmp.gNBCUCPList.gNBCUName},
+"idNRCellCU": ${tmp.cellLocalId}
+},
+"payload":{
+"RRMPolicyRatio":[{
+"id":${tmp.RRMPolicyRatioID.NRCellCU},
+"attributes":{
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.rrmPolicyMemberID},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+
+                           }
+}
+]
+}
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json
new file mode 100644 (file)
index 0000000..77bf7fe
--- /dev/null
@@ -0,0 +1,29 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction":${tmp.gNBDUList.gNBDUId},
+"idNRCellDU":${tmp.cellLocalId}
+
+},
+"payload":{
+"RRMPolicyRatio":[{
+"id":${tmp.RRMPolicyRatioID.NRCellDU},
+"attributes":{
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.rrmPolicyMemberID},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+
+                           }
+}
+]
+}
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json
new file mode 100644 (file)
index 0000000..066c5e1
--- /dev/null
@@ -0,0 +1,30 @@
+{
+       "inputParameters":{
+               "idNearRTRIC": ${tmp.nearRTRICId},
+               "mcc":${tmp.mcc},
+               "mnc":${tmp.mnc},
+               "idGNBCUUPFunction":${tmp.gNBCUUPList.gNBCUUPId}
+       },
+       "payload":{
+       "attributes": {
+"pLMNInfoList": [{
+                                "mcc":${tmp.mcc},
+    "mnc":${tmp.mnc},
+               "sNSSAIList":[
+                       {
+                               "sNssai":${tmp.sNSSAI},
+                               "status":${tmp.status},
+                               "configData": [
+                                       {
+                                               "configParameter":"maxNumberOfConns",
+                                               "configValue":${tmp.maxNumberOfConns}
+                                       }
+                               ]
+                       }
+               ]
+
+       }
+]
+}
+}
+}
\ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcellcu.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcellcu.json
new file mode 100644 (file)
index 0000000..6fa972a
--- /dev/null
@@ -0,0 +1,32 @@
+{
+       "inputParameters":{
+               "idNearRTRIC": ${tmp.nearRTRICId},
+               "mcc":${tmp.mcc},
+               "mnc":${tmp.mnc},
+               "idGNBCUCPFunction":${tmp.gNBCUCPList.gNBCUName},
+               "idNRCellCU":${tmp.cellLocalId}
+       },
+       "payload":{
+       "attributes": {
+"pLMNInfoList": [{
+                                "mcc":${tmp.mcc},
+    "mnc":${tmp.mnc},
+               "sNSSAIList":[
+                       {
+                               "sNssai":${tmp.sNSSAI},
+                               "status":${tmp.status},
+                               "configData": [
+                                       {
+                                               "configParameter":"maxNumberOfConns",
+                                               "configValue":${tmp.maxNumberOfConns}
+                                       }
+                               ]
+                       }
+               ]
+
+       }
+]
+}
+}
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json
new file mode 100644 (file)
index 0000000..af1aa3a
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "inputParameters":{
+               "idNearRTRIC": ${tmp.nearRTRICId},
+               "mcc":${tmp.mcc},
+               "mnc":${tmp.mnc},
+               "idGNBDUFunction":${tmp.gNBDUList.gNBDUId},
+               "idNRCellDU":${tmp.cellLocalId}
+       },
+       "payload":{
+       "attributes": {
+"pLMNInfoList": [{
+                                "mcc":${tmp.mcc},
+    "mnc":${tmp.mnc},
+               "sNSSAIList":[
+                       {
+                               "sNssai":${tmp.sNSSAI},
+                               "status":${tmp.status},
+                               "configData": [
+                                       {
+                                               "configParameter":"dLThptPerSlice",
+                                               "configValue":${tmp.dLThptPerSlice}
+                                       },
+                                       {
+                                               "configParameter":"uLThptPerSlice",
+                                               "configValue":${tmp.uLThptPerSlice}
+                                       }
+                               ]
+
+                       }
+               ]
+
+       }
+]
+}
+}
+}
+
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json
new file mode 100644 (file)
index 0000000..4446a80
--- /dev/null
@@ -0,0 +1,5 @@
+{
+"inputParameters":{
+"idNRCellDU":${tmp.cellLocalId}
+}
+}'
\ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json
new file mode 100644 (file)
index 0000000..e59da38
--- /dev/null
@@ -0,0 +1,26 @@
+{
+"payload":{
+"ran-slices":[{
+"rannfnssiid": ${tmp.ranNFNSSIListEntry},
+"subnetStatus": "inactive",
+"slicetype": "embb",
+"isshareable": "Shareable",
+"sliceProfilesList":[
+{
+"sliceProfileId": ${tmp.payload.sliceProfileId},
+"dLThptPerSlice": ${tmp.dLThptPerSlice},
+"uLThptPerSlice": ${tmp.uLThptPerSlice},
+"maxNumberofConns":${tmp.maxNumberOfConns},
+"sNSSAI":${tmp.payload.sNSSAI},
+"pLMNIdList":[
+{
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc}
+}
+]
+}
+]
+}
+]
+}
+}
\ No newline at end of file