summaryrefslogtreecommitdiffstats
path: root/platform-logic
diff options
context:
space:
mode:
authorAhila <ahila.pandaram@wipro.com>2021-07-21 18:00:21 +0530
committerAhila P <ahila.pandaram@wipro.com>2021-07-31 08:55:44 +0000
commita6e92d163cc81a268771cc5da4952a9aefc8c4e3 (patch)
treea4f6afc36b5e09a7a84b0dad23db7cc4232b526b /platform-logic
parent5019487d208bcb9184ca541c3c01fa9895db4ad6 (diff)
CPS Integration - RANSlice-modify allocate scenario
Issue-ID: CCSDK-3340 Signed-off-by: Ahila <ahila.pandaram@wipro.com> Change-Id: I4a318dee0740ebe7bce4cae1bea4faed5e6e28da
Diffstat (limited to 'platform-logic')
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json904
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json7999
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml22
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.xml3454
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json6
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json5
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json7
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json7
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json35
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json43
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json34
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json47
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json43
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json42
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json27
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json42
17 files changed, 12343 insertions, 382 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
index 76ae3b60..947b946f 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
@@ -1,36 +1,36 @@
[
{
- "id": "f1148ca3.5ca0a",
+ "id": "7f46c45e.5a835c",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 126.75,
- "y": 215.7395896911621,
- "z": "da691f27.3219f",
+ "x": 214.75,
+ "y": 249.9895887374878,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "156d6531.efde9b"
+ "6570a9b8.4d3798"
]
]
},
{
- "id": "b069cd36.782c9",
+ "id": "7a271176.5f5e3",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 129.75,
- "y": 65.73958587646484,
- "z": "da691f27.3219f",
+ "x": 217.75,
+ "y": 99.98958492279053,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "3d8648fa.b8cda8"
+ "c48eb384.1a395"
]
]
},
{
- "id": "3d8648fa.b8cda8",
+ "id": "c48eb384.1a395",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,1127 +38,1267 @@
"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": 187.74998474121094,
- "y": 126.73968124389648,
- "z": "da691f27.3219f",
+ "x": 275.74998474121094,
+ "y": 160.98968029022217,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "f1148ca3.5ca0a"
+ "7f46c45e.5a835c"
]
]
},
{
- "id": "156d6531.efde9b",
+ "id": "6570a9b8.4d3798",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 136.23959732055664,
- "y": 380.7396306991577,
- "z": "da691f27.3219f",
+ "x": 224.23959732055664,
+ "y": 414.9896297454834,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "6888726f.11571c",
- "b5226aca.7abca8",
- "2477e49c.ec529c",
- "99154e95.c5f0b",
- "eb38c86e.9a1d48",
- "e09d3b25.806ca8",
- "16edce4c.6783d2",
- "5d4374eb.f3572c",
- "748c3b31.9647a4"
+ "3a47a900.d69e36",
+ "66be0312.7e570c",
+ "4847bb93.d457c4",
+ "e54ff524.7f2aa8",
+ "5d33a8fc.1e4c08",
+ "43670bf6.f2acf4",
+ "4f1b2458.4b515c",
+ "1c19b41.7de184c",
+ "2bac4fb4.fedab"
]
]
},
{
- "id": "5d4374eb.f3572c",
+ "id": "1c19b41.7de184c",
"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": 396.23958587646484,
- "y": 926.7399969100952,
- "z": "da691f27.3219f",
+ "x": 484.23958587646484,
+ "y": 960.9899959564209,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "2f7c696.b0eec96",
+ "id": "bb8e1dbe.c2ac",
"type": "comment",
"name": "instantiateRANSlice",
"info": "",
"comments": "",
- "x": 411.75,
- "y": 58.75,
- "z": "da691f27.3219f",
+ "x": 499.75,
+ "y": 92.99999904632568,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "6888726f.11571c",
+ "id": "3a47a900.d69e36",
"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": 469.7503356933594,
- "y": 109.76045989990234,
- "z": "da691f27.3219f",
+ "x": 557.7503356933594,
+ "y": 144.01045894622803,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "2477e49c.ec529c",
+ "id": "4847bb93.d457c4",
"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": 518.7500915527344,
- "y": 198.7604274749756,
- "z": "da691f27.3219f",
+ "x": 606.7500915527344,
+ "y": 233.01042652130127,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "96d5e7b4.bdd878"
+ "b2bc0181.c598"
]
]
},
{
- "id": "96d5e7b4.bdd878",
+ "id": "b2bc0181.c598",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 746.7501029968262,
- "y": 178.76044273376465,
- "z": "da691f27.3219f",
+ "x": 834.7501029968262,
+ "y": 213.01044178009033,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "8843ee24.fbfd7"
+ "372ce630.f60a6a"
]
]
},
{
- "id": "456f43f0.54c41c",
+ "id": "c5c1f27e.aea88",
"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": 1089.7502765655518,
- "y": 185.76047134399414,
- "z": "da691f27.3219f",
+ "x": 1177.7502765655518,
+ "y": 220.01047039031982,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "99154e95.c5f0b",
+ "id": "e54ff524.7f2aa8",
"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": 500.7500534057617,
- "y": 283.76038455963135,
- "z": "da691f27.3219f",
+ "x": 588.7500534057617,
+ "y": 318.01038360595703,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "eb38c86e.9a1d48",
+ "id": "5d33a8fc.1e4c08",
"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": 479.75009536743164,
- "y": 332.7604274749756,
- "z": "da691f27.3219f",
+ "x": 567.7500953674316,
+ "y": 367.01042652130127,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "e09d3b25.806ca8",
+ "id": "43670bf6.f2acf4",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 469.75008392333984,
- "y": 623.6492719650269,
- "z": "da691f27.3219f",
+ "x": 460.75011444091797,
+ "y": 734.8993282318115,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "30a8d676.e998ca"
+ "ad2bf567.5186a8",
+ "f86173fb.997e5"
]
]
},
{
- "id": "30a8d676.e998ca",
+ "id": "ad2bf567.5186a8",
"type": "outcome",
- "name": "Deployed",
+ "name": "ConfigDB Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 541.7501487731934,
- "y": 820.6492958068848,
- "z": "da691f27.3219f",
+ "x": 680.7501449584961,
+ "y": 720.8992977142334,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "a2d30976.7f48e8"
+ "797e36a8.7c27e8"
]
]
},
{
- "id": "b5226aca.7abca8",
+ "id": "66be0312.7e570c",
"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": 518.7500915527344,
- "y": 157.76047706604004,
- "z": "da691f27.3219f",
+ "x": 606.7500915527344,
+ "y": 192.01047611236572,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "2f23e956.230a16",
+ "id": "49846904.da70d8",
"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": 1107.7502746582031,
- "y": 119.76044368743896,
- "z": "da691f27.3219f",
+ "x": 1195.7502746582031,
+ "y": 154.01044273376465,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "8843ee24.fbfd7",
+ "id": "372ce630.f60a6a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 915.7501907348633,
- "y": 153.7604410648346,
- "z": "da691f27.3219f",
+ "x": 1003.7501907348633,
+ "y": 188.01044011116028,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "2f23e956.230a16",
- "456f43f0.54c41c"
+ "49846904.da70d8",
+ "c5c1f27e.aea88"
]
]
},
{
- "id": "9181e66e.31e328",
+ "id": "1da816c6.e3a539",
"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": 1359.7503280639648,
- "y": 359.76045751571655,
- "z": "da691f27.3219f",
+ "x": 1447.7503280639648,
+ "y": 394.01045656204224,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "a2d30976.7f48e8",
+ "id": "797e36a8.7c27e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 684.7500381469727,
- "y": 725.7500190734863,
- "z": "da691f27.3219f",
+ "x": 766.7501678466797,
+ "y": 827.0000057220459,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "5206f412.8f596c"
+ "7c743813.a4c478"
]
]
},
{
- "id": "16edce4c.6783d2",
+ "id": "4f1b2458.4b515c",
"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": 492.75001525878906,
- "y": 242.75002670288086,
- "z": "da691f27.3219f",
+ "x": 580.7500152587891,
+ "y": 277.00002574920654,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "a3c71830.4f42f8",
+ "id": "15cbbc48.479f64",
"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": 1911.0335540771484,
- "y": 499.76049613952637,
- "z": "da691f27.3219f",
+ "x": 1999.0335540771484,
+ "y": 534.010495185852,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "9097e44b.ea3938",
+ "id": "771c5e5c.22b9e",
"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": 1905.0335311889648,
- "y": 535.851318359375,
- "z": "da691f27.3219f",
+ "x": 1993.0335311889648,
+ "y": 570.1013174057007,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "555f8ecc.c976b",
+ "id": "375b9cab.e143e4",
"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": 1312.754295349121,
- "y": 550.753885269165,
- "z": "da691f27.3219f",
+ "x": 1400.754295349121,
+ "y": 585.0038843154907,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "fa9e795.b435d88",
+ "id": "42bf0206.af02ac",
"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": 766.75,
- "y": 97.75,
- "z": "da691f27.3219f",
+ "x": 854.75,
+ "y": 131.99999904632568,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "5206f412.8f596c",
+ "id": "7c743813.a4c478",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 869.7604866027832,
- "y": 797.7604658603668,
- "z": "da691f27.3219f",
+ "x": 957.7604866027832,
+ "y": 832.0104649066925,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "919bed98.d805c",
- "3623bdec.476752",
- "50de09ef.7b3688",
- "45399248.42f0bc"
+ "c00fc5fd.c9b158",
+ "1a30df4d.7cc871",
+ "e0e45a75.d57758",
+ "bdb4388f.03cd88"
]
]
},
{
- "id": "919bed98.d805c",
+ "id": "c00fc5fd.c9b158",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 1097.760498046875,
- "y": 671.6493492126465,
- "z": "da691f27.3219f",
+ "x": 1185.760498046875,
+ "y": 705.8993482589722,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "5e6fee97.b28fc"
+ "f022395a.f4c808"
]
]
},
{
- "id": "3623bdec.476752",
+ "id": "1a30df4d.7cc871",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1107.4747695922852,
- "y": 747.1493918895721,
- "z": "da691f27.3219f",
+ "x": 1195.4747695922852,
+ "y": 781.3993909358978,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "b9467d44.66d1d"
+ "cfd7dd04.b41c6"
]
]
},
{
- "id": "50de09ef.7b3688",
+ "id": "e0e45a75.d57758",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1114.8318710327148,
- "y": 837.29221534729,
- "z": "da691f27.3219f",
+ "x": 1202.8318710327148,
+ "y": 871.5422143936157,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "6c05b635.efe6c8"
+ "1e162d32.1c9ce3"
]
]
},
{
- "id": "45399248.42f0bc",
+ "id": "bdb4388f.03cd88",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 1086.8318710327148,
- "y": 920.3280248641968,
- "z": "da691f27.3219f",
+ "x": 1174.8318710327148,
+ "y": 954.5780239105225,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "cfee0651.bfde68"
+ "495ceaee.08c604"
]
]
},
{
- "id": "5e6fee97.b28fc",
+ "id": "f022395a.f4c808",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1310.749864578247,
- "y": 655.750039100647,
- "z": "da691f27.3219f",
+ "x": 1398.749864578247,
+ "y": 690.0000381469727,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "7e8525bb.5f033c",
- "8f621f0d.2ed87"
+ "12edfe8c.3b37e1",
+ "fa60c034.00281"
]
]
},
{
- "id": "b9467d44.66d1d",
+ "id": "cfd7dd04.b41c6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1330.9643173217773,
- "y": 751.2501220703125,
- "z": "da691f27.3219f",
+ "x": 1418.9643173217773,
+ "y": 785.5001211166382,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "d27a2b0c.4e3cb8",
- "f7291513.43ee78"
+ "a2bcf3d7.2d872",
+ "6942388f.9360f8"
]
]
},
{
- "id": "cfee0651.bfde68",
+ "id": "495ceaee.08c604",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1318.571418762207,
- "y": 947.1786909103394,
- "z": "da691f27.3219f",
+ "x": 1406.571418762207,
+ "y": 981.428689956665,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "8f2f7bab.04ef18",
- "14b85ae4.5ec4a5"
+ "2a7c879f.bab448",
+ "2d8735fb.af0fba"
]
]
},
{
- "id": "6c05b635.efe6c8",
+ "id": "1e162d32.1c9ce3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1331.4999084472656,
- "y": 849.393012046814,
- "z": "da691f27.3219f",
+ "x": 1419.4999084472656,
+ "y": 883.6430110931396,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "d2b76ffc.1bd3e",
- "9228c3d5.35c2e"
+ "b7f29e67.5f2d4",
+ "b9ab2e55.59939"
]
]
},
{
- "id": "7e8525bb.5f033c",
+ "id": "12edfe8c.3b37e1",
"type": "call",
"name": "call instantiateRANSliceAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1598.9998474121094,
- "y": 644.5000152587891,
- "z": "da691f27.3219f",
+ "x": 1686.9998474121094,
+ "y": 678.7500143051147,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "17bb380b.5f8a78"
+ "dc1511a2.0173b"
]
]
},
{
- "id": "17bb380b.5f8a78",
+ "id": "dc1511a2.0173b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1864.8569793701172,
- "y": 653.071457862854,
- "z": "da691f27.3219f",
+ "x": 1952.8569793701172,
+ "y": 687.3214569091797,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "43d16256.9ac58c"
+ "95c1e4b6.dd17b8"
]
]
},
{
- "id": "43d16256.9ac58c",
+ "id": "95c1e4b6.dd17b8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2036.8569869995117,
- "y": 653.1786108016968,
- "z": "da691f27.3219f",
+ "x": 2124.8569869995117,
+ "y": 687.4286098480225,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "d27a2b0c.4e3cb8",
+ "id": "a2bcf3d7.2d872",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1623.4287719726562,
- "y": 754.5000581741333,
- "z": "da691f27.3219f",
+ "x": 1711.4287719726562,
+ "y": 788.750057220459,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "e5f27ae8.cd0428"
+ "cccd61f7.940ca"
]
]
},
{
- "id": "e5f27ae8.cd0428",
+ "id": "cccd61f7.940ca",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1884.7144050598145,
- "y": 751.5000839233398,
- "z": "da691f27.3219f",
+ "x": 1972.7144050598145,
+ "y": 785.7500829696655,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "bf972310.7f3af"
+ "29c30c90.3b9034"
]
]
},
{
- "id": "bf972310.7f3af",
+ "id": "29c30c90.3b9034",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2053.285846710205,
- "y": 751.1786289215088,
- "z": "da691f27.3219f",
+ "x": 2141.285846710205,
+ "y": 785.4286279678345,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "8f2f7bab.04ef18",
+ "id": "2a7c879f.bab448",
"type": "call",
"name": "call instantiateRANSliceReconfigure",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1611.5713424682617,
- "y": 946.7857494354248,
- "z": "da691f27.3219f",
+ "x": 1699.5713424682617,
+ "y": 981.0357484817505,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "63c6f8a7.99a9c8"
+ "642d1acf.c0f2f4"
]
]
},
{
- "id": "63c6f8a7.99a9c8",
+ "id": "642d1acf.c0f2f4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1867.8570671081543,
- "y": 946.7857751846313,
- "z": "da691f27.3219f",
+ "x": 1955.8570671081543,
+ "y": 981.035774230957,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "4c86c541.91d97c"
+ "e054495c.2b9228"
]
]
},
{
- "id": "4c86c541.91d97c",
+ "id": "e054495c.2b9228",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2036.428508758545,
- "y": 946.4643201828003,
- "z": "da691f27.3219f",
+ "x": 2124.428508758545,
+ "y": 980.714319229126,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "d2b76ffc.1bd3e",
+ "id": "b7f29e67.5f2d4",
"type": "call",
"name": "call instantiateRANSliceModifyDeallocate",
"xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1604.7141571044922,
- "y": 847.7857847213745,
- "z": "da691f27.3219f",
+ "x": 1692.7141571044922,
+ "y": 882.0357837677002,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "80e5183e.291638"
+ "683e2a3.43b8dd4"
]
]
},
{
- "id": "80e5183e.291638",
+ "id": "683e2a3.43b8dd4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1883.2855796813965,
- "y": 846.3572387695312,
- "z": "da691f27.3219f",
+ "x": 1971.2855796813965,
+ "y": 880.6072378158569,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "5e15f619.313ba8"
+ "e326d6a4.ccbed8"
]
]
},
{
- "id": "5e15f619.313ba8",
+ "id": "e326d6a4.ccbed8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2051.857021331787,
- "y": 846.0357837677002,
- "z": "da691f27.3219f",
+ "x": 2139.857021331787,
+ "y": 880.2857828140259,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "f8ebb84c.3d8648",
+ "id": "37c14ba5.905944",
"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": 1382.7503280639648,
- "y": 405.7500009536743,
- "z": "da691f27.3219f",
+ "x": 1470.7503280639648,
+ "y": 440,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "f1d6beae.5f70b",
+ "id": "d45cbe01.a2363",
"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": 345.7500228881836,
- "y": 1041.7500104904175,
- "z": "da691f27.3219f",
+ "x": 433.7500228881836,
+ "y": 1076.0000095367432,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "8f621f0d.2ed87",
+ "id": "fa60c034.00281",
"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": 1546.750015258789,
- "y": 584.7500410079956,
- "z": "da691f27.3219f",
+ "x": 1634.750015258789,
+ "y": 619.0000400543213,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "f7291513.43ee78",
+ "id": "6942388f.9360f8",
"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": 1528.7499694824219,
- "y": 695.7500429153442,
- "z": "da691f27.3219f",
+ "x": 1616.7499694824219,
+ "y": 730.0000419616699,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "9228c3d5.35c2e",
+ "id": "b9ab2e55.59939",
"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": 1522.7499694824219,
- "y": 795.7500429153442,
- "z": "da691f27.3219f",
+ "x": 1610.7499694824219,
+ "y": 830.0000419616699,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "14b85ae4.5ec4a5",
+ "id": "2d8735fb.af0fba",
"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": 1522.7499694824219,
- "y": 896.7500429153442,
- "z": "da691f27.3219f",
+ "x": 1610.7499694824219,
+ "y": 931.0000419616699,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "e2d984c8.afe3d8",
+ "id": "4e688fb5.3b537",
"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": 961.7503509521484,
- "y": 255.41679668426514,
- "z": "da691f27.3219f",
+ "x": 1049.7503509521484,
+ "y": 289.6667957305908,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "42c57d6a.06eb14",
- "32922f25.ea7b"
+ "b20d25a4.134ee8",
+ "819e82fc.750f6"
]
]
},
{
- "id": "42c57d6a.06eb14",
+ "id": "b20d25a4.134ee8",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1180.7503623962402,
- "y": 234.41673374176025,
- "z": "da691f27.3219f",
+ "x": 1268.7503623962402,
+ "y": 268.66673278808594,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "70cee1ea.ee005"
+ "41c3b991.74c7e8"
]
]
},
{
- "id": "32922f25.ea7b",
+ "id": "819e82fc.750f6",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1139.7502746582031,
- "y": 328.41671562194824,
- "z": "da691f27.3219f",
+ "x": 1227.7502746582031,
+ "y": 362.6667146682739,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "b773eb8e.918fd8"
+ "8063a78.2303458"
]
]
},
{
- "id": "b773eb8e.918fd8",
+ "id": "8063a78.2303458",
"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": 1360.7500457763672,
- "y": 293.41671562194824,
- "z": "da691f27.3219f",
+ "x": 1448.7500457763672,
+ "y": 327.6667146682739,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "14e9d702.caa349"
+ "36655c01.ad7094"
]
]
},
{
- "id": "70cee1ea.ee005",
+ "id": "41c3b991.74c7e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1615.7500457763672,
- "y": 129.4167308807373,
- "z": "da691f27.3219f",
+ "x": 1703.7500457763672,
+ "y": 163.666729927063,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "e4c8ba47.06df08",
- "79c1f05d.80009"
+ "77d7147c.ad8fbc",
+ "67d5474a.d1b088"
]
]
},
{
- "id": "e4c8ba47.06df08",
+ "id": "77d7147c.ad8fbc",
"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": 1838.7500534057617,
- "y": 88.41672992706299,
- "z": "da691f27.3219f",
+ "x": 1926.7500534057617,
+ "y": 122.66672897338867,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "14e9d702.caa349",
+ "id": "36655c01.ad7094",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1522.7500457763672,
- "y": 215.41671323776245,
- "z": "da691f27.3219f",
+ "x": 1610.7500457763672,
+ "y": 249.66671228408813,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "c275ee64.e7807"
+ "119d30a1.4d12df"
]
]
},
{
- "id": "c275ee64.e7807",
+ "id": "119d30a1.4d12df",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1629.750373840332,
- "y": 330.4167175292969,
- "z": "da691f27.3219f",
+ "x": 1717.750373840332,
+ "y": 364.66671657562256,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "95c8d487.134458",
- "79c1f05d.80009"
+ "966c33be.c45f5",
+ "67d5474a.d1b088"
]
]
},
{
- "id": "95c8d487.134458",
+ "id": "966c33be.c45f5",
"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": 1686.750373840332,
- "y": 219.4167127609253,
- "z": "da691f27.3219f",
+ "x": 1774.750373840332,
+ "y": 253.66671180725098,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "79c1f05d.80009",
+ "id": "67d5474a.d1b088",
"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": 1942.7503814697266,
- "y": 241.7500457763672,
- "z": "da691f27.3219f",
+ "x": 2030.7503814697266,
+ "y": 276.00004482269287,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "748c3b31.9647a4",
+ "id": "2bac4fb4.fedab",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 362.75008392333984,
- "y": 396.75006103515625,
- "z": "da691f27.3219f",
+ "x": 450.75008392333984,
+ "y": 431.00006008148193,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "bda99f9f.492b4"
+ "68675448.d48dac"
]
]
},
{
- "id": "bda99f9f.492b4",
+ "id": "68675448.d48dac",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 520.7606964111328,
- "y": 449.7604389190674,
- "z": "da691f27.3219f",
+ "x": 608.7606964111328,
+ "y": 484.01043796539307,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "55d75944.0ffeb8",
- "29f7dca.fe73424",
- "f4d2ce1c.ca64a",
- "b23fb089.32b0d"
+ "f661e96b.5f44e8",
+ "5ee89201.bd294c",
+ "5b4bbc24.5c5ac4",
+ "d2f8f9ae.e4b198"
]
]
},
{
- "id": "55d75944.0ffeb8",
+ "id": "f661e96b.5f44e8",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 737.8319129943848,
- "y": 309.3279733657837,
- "z": "da691f27.3219f",
+ "x": 825.8319129943848,
+ "y": 343.5779724121094,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "712c2533.34035c"
+ "433921bb.3c6e2"
]
]
},
{
- "id": "712c2533.34035c",
+ "id": "433921bb.3c6e2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 844.571662902832,
- "y": 415.1786584854126,
- "z": "da691f27.3219f",
+ "x": 932.571662902832,
+ "y": 449.4286575317383,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "e2d984c8.afe3d8"
+ "4e688fb5.3b537"
]
]
},
{
- "id": "1f8dd277.cdeaee",
+ "id": "4a1e6dff.43e0b4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1033.4166793823242,
- "y": 508.75002098083496,
- "z": "da691f27.3219f",
+ "x": 1121.4166793823242,
+ "y": 543.0000200271606,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "9181e66e.31e328",
- "f8ebb84c.3d8648",
- "555f8ecc.c976b",
- "9a28fbb9.f123e8"
+ "1da816c6.e3a539",
+ "37c14ba5.905944",
+ "375b9cab.e143e4",
+ "a2f78056.e60ae"
]
]
},
{
- "id": "f812552d.6f1818",
+ "id": "1478d83b.aaa918",
"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": 2332.75,
- "y": 249.75,
- "z": "da691f27.3219f",
+ "x": 2420.75,
+ "y": 283.9999990463257,
+ "z": "bf8d77f5.5e0988",
"wires": []
},
{
- "id": "29f7dca.fe73424",
+ "id": "5ee89201.bd294c",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 799.4167098999023,
- "y": 476.0833568572998,
- "z": "da691f27.3219f",
+ "x": 887.4167098999023,
+ "y": 510.3333559036255,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "1f8dd277.cdeaee"
+ "4a1e6dff.43e0b4"
]
]
},
{
- "id": "f4d2ce1c.ca64a",
+ "id": "5b4bbc24.5c5ac4",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 789.1310653686523,
- "y": 521.5833988189697,
- "z": "da691f27.3219f",
+ "x": 877.1310653686523,
+ "y": 555.8333978652954,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "1f8dd277.cdeaee"
+ "4a1e6dff.43e0b4"
]
]
},
{
- "id": "b23fb089.32b0d",
+ "id": "d2f8f9ae.e4b198",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 773.4881629943848,
- "y": 586.7261924743652,
- "z": "da691f27.3219f",
+ "x": 861.4881629943848,
+ "y": 620.9761915206909,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "1f8dd277.cdeaee"
+ "4a1e6dff.43e0b4"
]
]
},
{
- "id": "9a28fbb9.f123e8",
+ "id": "a2f78056.e60ae",
"type": "switchNode",
"name": "check PLMNId",
"xml": "<switch test='`$tmp.payload.pLMNId`'>",
"comments": "",
"outputs": 1,
- "x": 1276.5,
- "y": 489.5,
- "z": "da691f27.3219f",
+ "x": 1364.5,
+ "y": 523.7499990463257,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "cd4091b5.b0b0a",
- "a9a165d2.c4f938"
+ "dd99d276.5a486",
+ "72fd63d6.af5cac"
]
]
},
{
- "id": "8dd6994b.f5b608",
+ "id": "4475d069.b0ada",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1650.250114440918,
- "y": 470.5000066757202,
- "z": "da691f27.3219f",
+ "x": 1738.250114440918,
+ "y": 504.7500057220459,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "f4c86a5d.3a9cb8",
- "2359e549.badf4a"
+ "10dace49.f36a12",
+ "15735087.02ccef"
]
]
},
{
- "id": "cd4091b5.b0b0a",
+ "id": "dd99d276.5a486",
"type": "outcome",
"name": "not null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1471.25,
- "y": 479.5,
- "z": "da691f27.3219f",
+ "x": 1559.25,
+ "y": 513.7499990463257,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "73fed02e.ca2d5"
+ "46a595d4.3c421c"
]
]
},
{
- "id": "a9a165d2.c4f938",
+ "id": "72fd63d6.af5cac",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1465,
- "y": 529.5,
- "z": "da691f27.3219f",
+ "x": 1553,
+ "y": 563.7499990463257,
+ "z": "bf8d77f5.5e0988",
"wires": [
[
- "8dd6994b.f5b608"
+ "4475d069.b0ada"
]
]
},
{
- "id": "73fed02e.ca2d5",
+ "id": "46a595d4.3c421c",
"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": 1604,
- "y": 414.5,
- "z": "da691f27.3219f",
+ "x": 1692,
+ "y": 448.7499990463257,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "f4c86a5d.3a9cb8",
+ "id": "10dace49.f36a12",
"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": 1911.5226135253906,
- "y": 353.0123100280762,
- "z": "da691f27.3219f",
+ "x": 1999.5226135253906,
+ "y": 387.26230907440186,
+ "z": "bf8d77f5.5e0988",
"wires": [
[]
]
},
{
- "id": "2359e549.badf4a",
+ "id": "15735087.02ccef",
"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": 1941.9772033691406,
- "y": 400.0577507019043,
- "z": "da691f27.3219f",
+ "x": 2029.9772033691406,
+ "y": 434.30774974823,
+ "z": "bf8d77f5.5e0988",
"wires": []
+ },
+ {
+ "id": "f86173fb.997e5",
+ "type": "outcome",
+ "name": "CPS Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 674.2500152587891,
+ "y": 982.7500972747803,
+ "z": "bf8d77f5.5e0988",
+ "wires": [
+ [
+ "819586d9.8e1098"
+ ]
+ ]
+ },
+ {
+ "id": "819586d9.8e1098",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 849.2500076293945,
+ "y": 1151.7500381469727,
+ "z": "bf8d77f5.5e0988",
+ "wires": [
+ [
+ "8082bbf3.6c6158"
+ ]
+ ]
+ },
+ {
+ "id": "8082bbf3.6c6158",
+ "type": "switchNode",
+ "name": "switch action",
+ "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1063.250099182129,
+ "y": 1151.7500381469727,
+ "z": "bf8d77f5.5e0988",
+ "wires": [
+ [
+ "8a616b6c.893e48"
+ ]
+ ]
+ },
+ {
+ "id": "2d2618aa.be42d8",
+ "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": 1669.25004196167,
+ "y": 1094.7499866485596,
+ "z": "bf8d77f5.5e0988",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc0a6211.1e6c9",
+ "type": "call",
+ "name": "call instantiateRANSliceModifyAllocate-cps",
+ "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-CPS' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1754.928939819336,
+ "y": 1149.499994277954,
+ "z": "bf8d77f5.5e0988",
+ "wires": [
+ [
+ "5cc3475c.81c738"
+ ]
+ ]
+ },
+ {
+ "id": "5cc3475c.81c738",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2025.2144775390625,
+ "y": 1150.5000276565552,
+ "z": "bf8d77f5.5e0988",
+ "wires": [
+ [
+ "60abfdc1.6485f4"
+ ]
+ ]
+ },
+ {
+ "id": "60abfdc1.6485f4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
+ "comments": "",
+ "x": 2193.785919189453,
+ "y": 1150.1785726547241,
+ "z": "bf8d77f5.5e0988",
+ "wires": []
+ },
+ {
+ "id": "8a616b6c.893e48",
+ "type": "outcome",
+ "name": "modify-allocate",
+ "xml": "<outcome value='modify-allocate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1265.5000534057617,
+ "y": 1151.7500557899475,
+ "z": "bf8d77f5.5e0988",
+ "wires": [
+ [
+ "5ffde36b.0e031c"
+ ]
+ ]
+ },
+ {
+ "id": "5ffde36b.0e031c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1477.5,
+ "y": 1151.75,
+ "z": "bf8d77f5.5e0988",
+ "wires": [
+ [
+ "dc0a6211.1e6c9",
+ "2d2618aa.be42d8"
+ ]
+ ]
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json
new file mode 100644
index 00000000..d444e7ed
--- /dev/null
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json
@@ -0,0 +1,7999 @@
+[
+ {
+ "id": "19ec700d.6cdc2",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 161.75,
+ "y": 171.74999392032623,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d6fca9.bee54358"
+ ]
+ ]
+ },
+ {
+ "id": "d6fca9.bee54358",
+ "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": 246.7500228881836,
+ "y": 238.7499634027481,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d00cab92.9c4aa8"
+ ]
+ ]
+ },
+ {
+ "id": "d00cab92.9c4aa8",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='instantiateRANSliceModifyAllocate-CPS' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 180.75,
+ "y": 298.7499290704727,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "66d1076c.af9f08"
+ ]
+ ]
+ },
+ {
+ "id": "66d1076c.af9f08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 176.74999237060547,
+ "y": 359.74996531009674,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e22e0c4c.d5556",
+ "bf968fde.5a03c",
+ "f6e46dad.569ee",
+ "3e120068.88b83",
+ "4c61e3ca.3e341c",
+ "a55a4b1e.803eb8",
+ "8a51c492.d53608",
+ "27a58a37.b0d516",
+ "db0a0ae7.99aea8"
+ ]
+ ]
+ },
+ {
+ "id": "2903995b.5e4666",
+ "type": "for",
+ "name": "foreach NearRTRIC",
+ "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 303.75003814697266,
+ "y": 1460.5682631134987,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "32e1faab.5aa326",
+ "9bf2fef4.4ea0f",
+ "8d18d60.089e928",
+ "d095f7c9.e586e8"
+ ]
+ ]
+ },
+ {
+ "id": "32e1faab.5aa326",
+ "type": "block",
+ "name": "Process NearRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 538.4090805053711,
+ "y": 1278.2273217439651,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cf5175a9.96e5c8",
+ "c39abc7c.91006",
+ "15172e34.a4ac32",
+ "2ad233f9.94c3ac",
+ "17c9b275.b24efe",
+ "8b33f4d.cc63408"
+ ]
+ ]
+ },
+ {
+ "id": "cf5175a9.96e5c8",
+ "type": "execute",
+ "name": "read nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1083.2955169677734,
+ "y": 1085.4772993326187,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c39abc7c.91006",
+ "type": "execute",
+ "name": "read gNBId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1054.2955017089844,
+ "y": 1128.477360367775,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "15172e34.a4ac32",
+ "type": "set",
+ "name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />",
+ "comments": "",
+ "x": 1184.6591339111328,
+ "y": 1203.2954622507095,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "2ad233f9.94c3ac",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1030.568130493164,
+ "y": 1244.2955385446548,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d41ea7d7.e32d38",
+ "type": "execute",
+ "name": "Update nearRT RIC Details in ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1342.8182373046875,
+ "y": 1268.9546300172806,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "32e44f99.1e657",
+ "9c8b7e53.bb44"
+ ]
+ ]
+ },
+ {
+ "id": "32e44f99.1e657",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1620.0681076049805,
+ "y": 1197.5225917100906,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ca709c59.499e2"
+ ]
+ ]
+ },
+ {
+ "id": "ca709c59.499e2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1759.5682334899902,
+ "y": 1167.0226365327835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a4a372fe.fbc1a",
+ "1183b1d3.1cb91e"
+ ]
+ ]
+ },
+ {
+ "id": "1183b1d3.1cb91e",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1937.3180236816406,
+ "y": 1137.883689045906,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a4a372fe.fbc1a",
+ "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": 1941.5680236816406,
+ "y": 1197.7727605104446,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "9c8b7e53.bb44",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1596.636344909668,
+ "y": 1264.9318791627884,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "eea70dad.2f935"
+ ]
+ ]
+ },
+ {
+ "id": "eea70dad.2f935",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1748.1361961364746,
+ "y": 1269.6819401979446,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c30ba562.8cd3b8"
+ ]
+ ]
+ },
+ {
+ "id": "c30ba562.8cd3b8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1890.6361980438232,
+ "y": 1255.93201649189,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "17c9b275.b24efe",
+ "type": "execute",
+ "name": "set params",
+ "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1086.750015258789,
+ "y": 1166.7500215768814,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f5ce7442.2243e8",
+ "type": "execute",
+ "name": "read CUCP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 909.0000457763672,
+ "y": 1467.5000916719437,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9bf2fef4.4ea0f",
+ "type": "block",
+ "name": "Process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 589.0000228881836,
+ "y": 1454.0000277757645,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f5ce7442.2243e8",
+ "a55c0c9.c8a4bf",
+ "f7e580cc.8e06c"
+ ]
+ ]
+ },
+ {
+ "id": "a55c0c9.c8a4bf",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 888.5000305175781,
+ "y": 1516.2500916719437,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7e580cc.8e06c",
+ "type": "for",
+ "name": "foreach CUCP",
+ "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 909,
+ "y": 1567.500246167183,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "408fdf4.6d7d22"
+ ]
+ ]
+ },
+ {
+ "id": "408fdf4.6d7d22",
+ "type": "block",
+ "name": "block : process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1138.7500457763672,
+ "y": 1543.2500630617142,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "dc4f9c5f.68e18",
+ "172acb9f.c46174",
+ "d86a58bf.54ffb8",
+ "5b59f11d.eef5d"
+ ]
+ ]
+ },
+ {
+ "id": "dc4f9c5f.68e18",
+ "type": "execute",
+ "name": "read CUCP name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1558.5,
+ "y": 1483.7500010728836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "172acb9f.c46174",
+ "type": "for",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1562.5,
+ "y": 1627.7500010728836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6a9c0d77.8182b4"
+ ]
+ ]
+ },
+ {
+ "id": "c8ed2807.4747b8",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2232.75,
+ "y": 1526.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "56a4a713.6fb208",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2261.750015258789,
+ "y": 1601.7500420808792,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "486beee8.2d926",
+ "c6df77b5.f694f8"
+ ]
+ ]
+ },
+ {
+ "id": "fb57ecca.4101e",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2226.75008392334,
+ "y": 1563.7501031160355,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c086e0db.2b74a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2097.75,
+ "y": 1109.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c8ed2807.4747b8",
+ "fb57ecca.4101e",
+ "56a4a713.6fb208",
+ "c2a66c8b.edf75",
+ "8a6a4ac2.a05aa8",
+ "d96e48b.a8361b8",
+ "59ed0fb6.63e22",
+ "25329798.250fb8",
+ "bc14f401.6d9738",
+ "b481d2c4.5dffe",
+ "2ce9fc18.f66724"
+ ]
+ ]
+ },
+ {
+ "id": "486beee8.2d926",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2517.750114440918,
+ "y": 1651.7502113580704,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1b106328.df428d"
+ ]
+ ]
+ },
+ {
+ "id": "1b106328.df428d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2690.749900817871,
+ "y": 1650.7502723932266,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "711a0a9.ccf7ff4"
+ ]
+ ]
+ },
+ {
+ "id": "711a0a9.ccf7ff4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2888.7499618530273,
+ "y": 1647.7503944635391,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c6df77b5.f694f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2482.75008392334,
+ "y": 1534.7499672174454,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5b815535.44449c"
+ ]
+ ]
+ },
+ {
+ "id": "5b815535.44449c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2632.750358581543,
+ "y": 1493.7501503229141,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "aea75068.43d16",
+ "29d931ba.d4c36e",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "aea75068.43d16",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2803.7499923706055,
+ "y": 1554.7502113580704,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "29d931ba.d4c36e",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2798.750114440918,
+ "y": 1459.7501503229141,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "c2a66c8b.edf75",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2314.75,
+ "y": 1336.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a6a4ac2.a05aa8",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2275.75,
+ "y": 1404.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d96e48b.a8361b8",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2242.75,
+ "y": 1462.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d86a58bf.54ffb8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1531.5,
+ "y": 1534.7500010728836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b59f11d.eef5d",
+ "type": "execute",
+ "name": "read cellCU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1572.5,
+ "y": 1583.7500010728836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "59ed0fb6.63e22",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2320.75,
+ "y": 1172.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a9dd6757.2953f8",
+ "b417b68e.e1a6a8"
+ ]
+ ]
+ },
+ {
+ "id": "a9dd6757.2953f8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2528.75,
+ "y": 1137.7497497797012,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5a807756.064e88"
+ ]
+ ]
+ },
+ {
+ "id": "5a807756.064e88",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2848.75,
+ "y": 1152.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b417b68e.e1a6a8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2516.75,
+ "y": 1239.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7879486d.e43fa8"
+ ]
+ ]
+ },
+ {
+ "id": "25329798.250fb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1875.75,
+ "y": 1923.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6218a5e7.19801c",
+ "d7ed5721.b6a058",
+ "847e0a63.92c6c8",
+ "74620174.3854b",
+ "cde60f46.242d2",
+ "bb944ddc.6b08d",
+ "4dd5c0ad.ffb3b",
+ "d61c7133.88a1b",
+ "80aeccba.14133",
+ "fd415f84.f4c55",
+ "ed8d5920.d85c48"
+ ]
+ ]
+ },
+ {
+ "id": "6218a5e7.19801c",
+ "type": "set",
+ "name": "Calculate maxNumberOfConnsPercellCU",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n",
+ "comments": "",
+ "x": 2131.75013923645,
+ "y": 1694.750101685524,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "d7ed5721.b6a058",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio temp1 - \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio temp2 - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio_SliceProfile`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2074.7500743865967,
+ "y": 1822.7500711679459,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "847e0a63.92c6c8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2095.7500743865967,
+ "y": 1858.7500406503677,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "bc41bbdf.e95d28",
+ "470c5ace.e7b614"
+ ]
+ ]
+ },
+ {
+ "id": "bc41bbdf.e95d28",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2275.75,
+ "y": 1796.7497497797012,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1b7d3039.94cbe"
+ ]
+ ]
+ },
+ {
+ "id": "1b7d3039.94cbe",
+ "type": "execute",
+ "name": "fetch RRMPolicyRatio NRCellCU - URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2553.75,
+ "y": 1788.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74620174.3854b",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2132.75,
+ "y": 1901.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cde60f46.242d2",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2131.7500400543213,
+ "y": 1941.7500139474869,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ace9b02b.2edc2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2388.749979019165,
+ "y": 2044.7501055002213,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "40132242.f947dc"
+ ]
+ ]
+ },
+ {
+ "id": "40132242.f947dc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2547.7498779296875,
+ "y": 2081.7501159906387,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ce858e45.304ef",
+ "a0e7445d.246698"
+ ]
+ ]
+ },
+ {
+ "id": "ce858e45.304ef",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2698.7499866485596,
+ "y": 2049.7503196001053,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7f902f2.e7da1",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2385.749952316284,
+ "y": 1951.7500139474869,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "58a27ec4.653b6"
+ ]
+ ]
+ },
+ {
+ "id": "58a27ec4.653b6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2537.750244140625,
+ "y": 1949.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6096c1a0.3b3d6",
+ "3511e81b.158498",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "6096c1a0.3b3d6",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2708.7498779296875,
+ "y": 2010.7500549554825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3511e81b.158498",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2703.75,
+ "y": 1915.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "bb944ddc.6b08d",
+ "type": "execute",
+ "name": "fetch RRMPolicyRatio - NRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2170.3056640625,
+ "y": 1978.97232067585,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f7f902f2.e7da1",
+ "ace9b02b.2edc2"
+ ]
+ ]
+ },
+ {
+ "id": "a0e7445d.246698",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2724.7499256134033,
+ "y": 2082.750044465065,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4dd5c0ad.ffb3b",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2102.19441986084,
+ "y": 2112.3059092760086,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8fe136c6.17a838"
+ ]
+ ]
+ },
+ {
+ "id": "8fe136c6.17a838",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2298.749969482422,
+ "y": 2096.750191807747,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2ce5e5de.75ff2a",
+ "80a7ac47.c5b5f",
+ "f0e4d0b9.5cb97",
+ "4ec432c0.d80f7c",
+ "817d9a40.4d7588",
+ "913f52a7.91d36",
+ "113eac04.d40744",
+ "64d19144.0eb6c",
+ "fbccd084.f1d7d",
+ "6fcd9fe2.31558",
+ "f0cbaac9.a493b8"
+ ]
+ ]
+ },
+ {
+ "id": "2ce5e5de.75ff2a",
+ "type": "set",
+ "name": "Calculate updated RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />",
+ "comments": "",
+ "x": 2606.7500171661377,
+ "y": 2166.750291466713,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "80a7ac47.c5b5f",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Existing RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatiocellCU_old`\"/>\n<parameter name=\"field3\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellCU_new`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2531.750047683716,
+ "y": 2200.749987244606,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0e4d0b9.5cb97",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2581.75,
+ "y": 2234.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "825507e4.aa30f8",
+ "f00e0383.441b5"
+ ]
+ ]
+ },
+ {
+ "id": "825507e4.aa30f8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2862.8610458374023,
+ "y": 2162.861032128334,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ac824bbc.bac8e8"
+ ]
+ ]
+ },
+ {
+ "id": "ac824bbc.bac8e8",
+ "type": "execute",
+ "name": "fetch RRMPolicyRatio NRCellCU - URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3107.75040435791,
+ "y": 2164.6388832330704,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4ec432c0.d80f7c",
+ "type": "execute",
+ "name": "patch NRCellCU - RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2619.6387786865234,
+ "y": 2412.4167066812515,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "566a5169.0247f",
+ "f8f81676.3a6628"
+ ]
+ ]
+ },
+ {
+ "id": "566a5169.0247f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2882.75,
+ "y": 2397.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "df046f8f.74fc5"
+ ]
+ ]
+ },
+ {
+ "id": "df046f8f.74fc5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3073.75,
+ "y": 2397.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1ce5b72b.fab4d9"
+ ]
+ ]
+ },
+ {
+ "id": "1ce5b72b.fab4d9",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3258.749755859375,
+ "y": 2398.7502380609512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8f81676.3a6628",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2881.75,
+ "y": 2485.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "bf50a8b6.dba708"
+ ]
+ ]
+ },
+ {
+ "id": "bf50a8b6.dba708",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3100.750244140625,
+ "y": 2490.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "48451220.92d92c",
+ "7f61be2.bfbf84",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "48451220.92d92c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3345.7498779296875,
+ "y": 2536.7500549554825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "7f61be2.bfbf84",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3340.75,
+ "y": 2441.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "d61c7133.88a1b",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2108.416831970215,
+ "y": 2067.8612834215164,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a9c0d77.8182b4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1778.7500648498535,
+ "y": 1624.250123143196,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "71fa8a11.f27964"
+ ]
+ ]
+ },
+ {
+ "id": "bc14f401.6d9738",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field2\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.75,
+ "y": 1104.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b481d2c4.5dffe",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1402.750129699707,
+ "y": 2329.8612920045853,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8f88d421.8dd488",
+ "51a0c05e.7561a",
+ "34dc53d6.b374fc",
+ "3b328437.5c249c",
+ "4553a6ba.147f48",
+ "58ac14e8.eb98dc",
+ "bada65e4.1da208",
+ "4eb1dd56.c808d4",
+ "87a7e402.af5cf8",
+ "3c6081eb.b1579e",
+ "1fcbf748.f9d299",
+ "ee277e46.997ce"
+ ]
+ ]
+ },
+ {
+ "id": "deee5e5b.eab8c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2335.305585861206,
+ "y": 2501.305521130562,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4efc3e8f.b9f52"
+ ]
+ ]
+ },
+ {
+ "id": "92ca3817.cb4e68",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2444.972381591797,
+ "y": 2455.3058758974075,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5196063c.12f678"
+ ]
+ ]
+ },
+ {
+ "id": "5196063c.12f678",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2600.305732727051,
+ "y": 2465.750041127205,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1a1539cb.644be6",
+ "aebc70dc.11a22",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "aebc70dc.11a22",
+ "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 executiopn'/>",
+ "comments": "",
+ "x": 2740.749801635742,
+ "y": 2474.8612662553787,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "1a1539cb.644be6",
+ "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": 2759.0828552246094,
+ "y": 2522.3055497407913,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "136d7b50.756295",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2598.4165420532227,
+ "y": 2509.972101330757,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4efc3e8f.b9f52",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.9723358154297,
+ "y": 2506.194364666939,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "136d7b50.756295"
+ ]
+ ]
+ },
+ {
+ "id": "c3541b36.ca9228",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2433.9724349975586,
+ "y": 2680.8614164590836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5595137c.47760c"
+ ]
+ ]
+ },
+ {
+ "id": "2b0ff9fe.3fd566",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2449.7500228881836,
+ "y": 2752.7497901916504,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2ce6a12a.e113ce"
+ ]
+ ]
+ },
+ {
+ "id": "5595137c.47760c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2637.7499465942383,
+ "y": 2681.749987244606,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "534ab7d9.974d98",
+ "eaaab728.761b28",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "eaaab728.761b28",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2819.305244445801,
+ "y": 2675.5279327630997,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "534ab7d9.974d98",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2814.30509185791,
+ "y": 2713.861215233803,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "2ce6a12a.e113ce",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2588.7501106262207,
+ "y": 2756.749973297119,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8bbfc7e8.9c1db8"
+ ]
+ ]
+ },
+ {
+ "id": "8bbfc7e8.9c1db8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - NRCellCU RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2724.750202178955,
+ "y": 2749.7500953674316,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d18d60.089e928",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 588.75,
+ "y": 1568.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "fd24acfc.982b4",
+ "b3f6888c.53b148",
+ "fb05ab6b.b44b08"
+ ]
+ ]
+ },
+ {
+ "id": "fd24acfc.982b4",
+ "type": "execute",
+ "name": "read CUUP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 907.2500152587891,
+ "y": 1640.000095486641,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b3f6888c.53b148",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUUP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 883,
+ "y": 1686.250095486641,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb05ab6b.b44b08",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 898.5000457763672,
+ "y": 1733.7500973939896,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e9262143.c127a"
+ ]
+ ]
+ },
+ {
+ "id": "e9262143.c127a",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.75,
+ "y": 1725.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a8bdc975.93d718",
+ "df26693d.9c1d68",
+ "b854d19f.e63f8"
+ ]
+ ]
+ },
+ {
+ "id": "a8bdc975.93d718",
+ "type": "execute",
+ "name": "read CUUP id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1396.0000305175781,
+ "y": 1695.0277124643326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df26693d.9c1d68",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1380.3334636688232,
+ "y": 1736.8056679964066,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b854d19f.e63f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1373.75,
+ "y": 2809.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7e729ad2.08cec4",
+ "43d320b7.13252",
+ "b20337ab.3175f8",
+ "aa323d75.37c99",
+ "7506de9c.a252e",
+ "7a48dd4b.7e5964",
+ "73762e8c.ada86",
+ "64c40584.9db1cc",
+ "2c6e3557.445b6a",
+ "ce1d73c1.a526f",
+ "c6febfd4.7ba2f",
+ "44079d40.b3e3e4",
+ "a7c61b4d.7c7ac8",
+ "2b2dcf92.ad428",
+ "76809bf5.5f9204",
+ "c91f3329.9b73d",
+ "74fa9997.55e2c8",
+ "17f442ac.e65c0d",
+ "a69e803e.2d92c"
+ ]
+ ]
+ },
+ {
+ "id": "b20337ab.3175f8",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry gNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1688.4167785644531,
+ "y": 3012.1945120096207,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f12d3ff7.048c4",
+ "8d7a8d7c.4ceb3"
+ ]
+ ]
+ },
+ {
+ "id": "f12d3ff7.048c4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1984.8612480163574,
+ "y": 3043.083513855934,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "831cd380.e2d81"
+ ]
+ ]
+ },
+ {
+ "id": "831cd380.e2d81",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2174.0835189819336,
+ "y": 3029.8613945245743,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "122e9c3.0b3de64",
+ "63387a22.b02654",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "63387a22.b02654",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2405.0835304260254,
+ "y": 2991.6393200159073,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "122e9c3.0b3de64",
+ "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 patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2432.306022644043,
+ "y": 3032.306075692177,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "ab5c1b92.e216d8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2347.4164237976074,
+ "y": 3073.9724136590958,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9bcbbc63.ce6a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2161.083240509033,
+ "y": 3079.527982354164,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ab5c1b92.e216d8"
+ ]
+ ]
+ },
+ {
+ "id": "8d7a8d7c.4ceb3",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1975.5277481079102,
+ "y": 3083.416991829872,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9bcbbc63.ce6a8"
+ ]
+ ]
+ },
+ {
+ "id": "7e729ad2.08cec4",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1640.75,
+ "y": 2811.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "389ee51f.2b170a",
+ "c5b1dc9e.1d94d"
+ ]
+ ]
+ },
+ {
+ "id": "389ee51f.2b170a",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1881.7501068115234,
+ "y": 2912.749912261963,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "dd498c40.f04d3"
+ ]
+ ]
+ },
+ {
+ "id": "c5b1dc9e.1d94d",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1871.3057403564453,
+ "y": 2952.638889312744,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3ea81489.2ed41c"
+ ]
+ ]
+ },
+ {
+ "id": "dd498c40.f04d3",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry CUUP URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2187.749984741211,
+ "y": 2880.750217437744,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "43d320b7.13252",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1652.4166259765625,
+ "y": 2856.305708527565,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "817d9a40.4d7588",
+ "type": "set",
+ "name": "RRMPolicyRatio id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />\n",
+ "comments": "",
+ "x": 2583.5281677246094,
+ "y": 2310.5274807214737,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "913f52a7.91d36",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>\n",
+ "comments": "",
+ "x": 2594.5279083251953,
+ "y": 2346.417045235634,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "aa323d75.37c99",
+ "type": "set",
+ "name": "Calculate rRMPolicyDedicatedRatio Temp",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n",
+ "comments": "",
+ "x": 1710.3058013916016,
+ "y": 3121.9731270074844,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "7506de9c.a252e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1614.0835304260254,
+ "y": 3186.1949521303177,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a48dd4b.7e5964",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1631.75,
+ "y": 3226.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e0d5f9df.572568",
+ "f0c6590e.ff84c8"
+ ]
+ ]
+ },
+ {
+ "id": "e0d5f9df.572568",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1809.75,
+ "y": 3193.7497497797012,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d5b3429e.86a3b"
+ ]
+ ]
+ },
+ {
+ "id": "d5b3429e.86a3b",
+ "type": "execute",
+ "name": "fetch RRMPolicyRatio CUUP - URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2104.750030517578,
+ "y": 3139.750050187111,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73762e8c.ada86",
+ "type": "execute",
+ "name": "prepare idGNBCUUPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1668.7500839233398,
+ "y": 3281.7500072717667,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64c40584.9db1cc",
+ "type": "execute",
+ "name": "fetch RRMPolicyRatio - CUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1657.7503204345703,
+ "y": 3387.750035881996,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "fa1727db.4ff6f8",
+ "2caf3fc.d12ffc"
+ ]
+ ]
+ },
+ {
+ "id": "fa1727db.4ff6f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1914.7500953674316,
+ "y": 3328.7501722574234,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "95863617.152ff8"
+ ]
+ ]
+ },
+ {
+ "id": "95863617.152ff8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2075.750244140625,
+ "y": 3347.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1d3ed326.676d6d",
+ "1a7af4ec.bd2a9b",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "1a7af4ec.bd2a9b",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2241.75,
+ "y": 3313.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "1d3ed326.676d6d",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2297.860809326172,
+ "y": 3357.6390167474747,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "14ba2028.e74e7",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2282.9721069335938,
+ "y": 3453.305573105812,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7abf90e6.fc0eb",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2277.9719161987305,
+ "y": 3396.9723316431046,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "859ce1d7.ad2f3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2085.305465698242,
+ "y": 3395.1946407556534,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7abf90e6.fc0eb",
+ "14ba2028.e74e7"
+ ]
+ ]
+ },
+ {
+ "id": "2caf3fc.d12ffc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1905.7500953674316,
+ "y": 3398.7501751184464,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "859ce1d7.ad2f3"
+ ]
+ ]
+ },
+ {
+ "id": "2c6e3557.445b6a",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1592.750228881836,
+ "y": 3523.7500969171524,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ce1d73c1.a526f",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1632.4167175292969,
+ "y": 3606.0835955142975,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c15c3846.9cc378"
+ ]
+ ]
+ },
+ {
+ "id": "c15c3846.9cc378",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1848.4166259765625,
+ "y": 3622.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8c306307.562dc",
+ "16688c58.f027d4",
+ "432ce41d.3e06ac",
+ "72b5092b.75c418",
+ "f1a9ca03.a0eb48",
+ "993dd44a.170258",
+ "a427632f.d869c",
+ "268bc997.735946",
+ "eb350ab1.e1b0a8"
+ ]
+ ]
+ },
+ {
+ "id": "8c306307.562dc",
+ "type": "set",
+ "name": "Calculate updated RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
+ "comments": "",
+ "x": 2173.4166259765625,
+ "y": 3599.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "432ce41d.3e06ac",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2141.416603088379,
+ "y": 3641.1944819688797,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3ba2ebea.4073e4",
+ "7b24440a.b6717c"
+ ]
+ ]
+ },
+ {
+ "id": "3ba2ebea.4073e4",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2358.4167251586914,
+ "y": 3637.0830656290054,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cbc21366.cc7fa"
+ ]
+ ]
+ },
+ {
+ "id": "cbc21366.cc7fa",
+ "type": "execute",
+ "name": "patch RRMPolicyRatio CUUP- URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2631.4165954589844,
+ "y": 3607.083615899086,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1a9ca03.a0eb48",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.rrmPolicyMembers-CUUP+1`\" />",
+ "comments": "",
+ "x": 2145.3055267333984,
+ "y": 3792.8612962961197,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "16688c58.f027d4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CUUP is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyMember_id CUUP is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field7\" value=\"Existing RRMPolicyMembers Length\"/>\n<parameter name=\"field8\" value=\"`$tmp.rrmPolicyMembers-CUUP`\"/>\n<parameter name=\"field9\" value=\"Update RRMPolicyRatio URL - \"/>\n<parameter name=\"field10\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2106.7502670288086,
+ "y": 3825.7502485513687,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "72b5092b.75c418",
+ "type": "execute",
+ "name": "patch CUUP- RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2169.305534362793,
+ "y": 3862.194244980812,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "354622a4.01e51e",
+ "5fbbff2d.baa83"
+ ]
+ ]
+ },
+ {
+ "id": "354622a4.01e51e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2442.4166259765625,
+ "y": 3813.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "69f07a5c.9cf3c4"
+ ]
+ ]
+ },
+ {
+ "id": "69f07a5c.9cf3c4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2633.4166259765625,
+ "y": 3813.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a9cd31eb.4cc17"
+ ]
+ ]
+ },
+ {
+ "id": "a9cd31eb.4cc17",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2818.4163818359375,
+ "y": 3814.0834900140762,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e783d84f.9663b8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2900.4166259765625,
+ "y": 3857.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "ba52afe8.7e6ff",
+ "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": 2905.41650390625,
+ "y": 3952.0833069086075,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "7364065d.f75a68",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2660.4168701171875,
+ "y": 3906.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ba52afe8.7e6ff",
+ "e783d84f.9663b8",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "5fbbff2d.baa83",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2441.4166259765625,
+ "y": 3901.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7364065d.f75a68"
+ ]
+ ]
+ },
+ {
+ "id": "c6febfd4.7ba2f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1314.861328125,
+ "y": 3853.3057500123978,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "28f5dfd.9a4812",
+ "50bcf572.bcf0cc",
+ "47702ad.848f4d4",
+ "c914f18c.7a4f1",
+ "104eb87.a376648",
+ "45595c3c.0be1a4",
+ "a051c642.6a7bc8",
+ "87a1a22f.c133b",
+ "908953b0.a03cd",
+ "37b9229.a3546de",
+ "295de976.356436",
+ "d5b4aac3.9ea238"
+ ]
+ ]
+ },
+ {
+ "id": "1538fb5f.4f3bb5",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2207.0833740234375,
+ "y": 3906.4169861078262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e156ed41.b239e"
+ ]
+ ]
+ },
+ {
+ "id": "ddfd7b68.8530b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2193.58345413208,
+ "y": 3956.1669107675552,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9c627ea9.b2d31"
+ ]
+ ]
+ },
+ {
+ "id": "9c627ea9.b2d31",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2352.0832748413086,
+ "y": 3984.6669729948044,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6cd70f8.ecedff"
+ ]
+ ]
+ },
+ {
+ "id": "e156ed41.b239e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2395.333641052246,
+ "y": 3943.6669107675552,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7bf34b39.555734",
+ "cda14761.70e308",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "6cd70f8.ecedff",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2488.5835189819336,
+ "y": 3998.1670347452164,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bf34b39.555734",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2653.833122253418,
+ "y": 3987.166973233223,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "cda14761.70e308",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating CUUP. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2562.5833053588867,
+ "y": 3952.9167886972427,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a29bc829.f0a308",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2616.833339691162,
+ "y": 4188.167035698891,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "9b0063e8.dab5c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2613.083053588867,
+ "y": 4229.416791558266,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "f24c3597.bcb938",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2433.3335189819336,
+ "y": 4222.166974663734,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9b0063e8.dab5c",
+ "a29bc829.f0a308",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "39ab04a2.95217c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2586.0834197998047,
+ "y": 4276.416730523109,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecf4a24e.3af86",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2420.0834197998047,
+ "y": 4275.416730523109,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "39ab04a2.95217c"
+ ]
+ ]
+ },
+ {
+ "id": "cafa563f.803a28",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2239.0834197998047,
+ "y": 4281.416486382484,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ecf4a24e.3af86"
+ ]
+ ]
+ },
+ {
+ "id": "1368906b.b985c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2232.8335494995117,
+ "y": 4233.916852593422,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f24c3597.bcb938"
+ ]
+ ]
+ },
+ {
+ "id": "d095f7c9.e586e8",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1052.5002212524414,
+ "y": 3897.5005947351456,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cdee6074.ed50f",
+ "1a25480f.a37d28",
+ "f62b0243.ca58b"
+ ]
+ ]
+ },
+ {
+ "id": "cdee6074.ed50f",
+ "type": "execute",
+ "name": "read DUlist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1358.8335876464844,
+ "y": 3988.61228954792,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a25480f.a37d28",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1350.166847229004,
+ "y": 4040.8340245485306,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f62b0243.ca58b",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1382.2781066894531,
+ "y": 4101.612041592598,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7d091122.91519"
+ ]
+ ]
+ },
+ {
+ "id": "7d091122.91519",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1550.6114044189453,
+ "y": 4620.612058639526,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5da8a3ad.b841dc",
+ "6195dc83.0766b4",
+ "d1ec1bdb.d109c8",
+ "d6c90ccd.8a5e2"
+ ]
+ ]
+ },
+ {
+ "id": "5da8a3ad.b841dc",
+ "type": "execute",
+ "name": "read DU id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1832.5000762939453,
+ "y": 4555.5,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6195dc83.0766b4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1805.5000762939453,
+ "y": 4606.5,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1ec1bdb.d109c8",
+ "type": "execute",
+ "name": "read cellDU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1846.5000762939453,
+ "y": 4655.5,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d6c90ccd.8a5e2",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1836.5000762939453,
+ "y": 4699.5,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ca950d87.43a8c"
+ ]
+ ]
+ },
+ {
+ "id": "43075f86.beee5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2841.25,
+ "y": 4563.499993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "62039c3b.2e06f4",
+ "605d907e.3b9d9",
+ "4dd74a3.63a31b4",
+ "61d3b400.5ce54c",
+ "6b24ccd2.7ea0f4",
+ "35b48e7f.5233d2",
+ "8bd207bb.4a89a8",
+ "15be5ec0.1c4b61",
+ "5937227c.16b29c",
+ "54889c38.a9cd24",
+ "dfb56ac0.269c28",
+ "8666c4e7.b8a108"
+ ]
+ ]
+ },
+ {
+ "id": "15be5ec0.1c4b61",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3036.25,
+ "y": 4558.499993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8bd207bb.4a89a8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3064.25,
+ "y": 4626.499993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5154bb9f.200654",
+ "83449ab4.0152e8"
+ ]
+ ]
+ },
+ {
+ "id": "5154bb9f.200654",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3272.25,
+ "y": 4591.499749779701,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "fc0f3c5c.42d97"
+ ]
+ ]
+ },
+ {
+ "id": "83449ab4.0152e8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3267.2500495910645,
+ "y": 4660.500318169594,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ef44957a.a99338"
+ ]
+ ]
+ },
+ {
+ "id": "fc0f3c5c.42d97",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3592.25,
+ "y": 4606.499993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62039c3b.2e06f4",
+ "type": "execute",
+ "name": "read cellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3061.2501525878906,
+ "y": 4714.500238060951,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61d3b400.5ce54c",
+ "type": "execute",
+ "name": "prepare idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3116.250213623047,
+ "y": 4779.500176072121,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b24ccd2.7ea0f4",
+ "type": "execute",
+ "name": "prepare idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3089.2503967285156,
+ "y": 4834.500177979469,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35b48e7f.5233d2",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 3069.2500915527344,
+ "y": 4897.500484108925,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "605d907e.3b9d9",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3071.2503356933594,
+ "y": 4955.500116944313,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4dd74a3.63a31b4",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3075.250213623047,
+ "y": 5001.500733971596,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5937227c.16b29c",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3130.250213623047,
+ "y": 5047.750002026558,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "17e4fa67.e67316",
+ "7dace641.0f9008"
+ ]
+ ]
+ },
+ {
+ "id": "7dace641.0f9008",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3378.8215656280518,
+ "y": 4888.750117897987,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "868005da.09d9a8"
+ ]
+ ]
+ },
+ {
+ "id": "17e4fa67.e67316",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3384.964256286621,
+ "y": 4944.892823815346,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a0ccbc63.af49d"
+ ]
+ ]
+ },
+ {
+ "id": "868005da.09d9a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3555.3931732177734,
+ "y": 4888.178340554237,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5ad31e38.d519e",
+ "15a48f53.e9cc91",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "a0ccbc63.af49d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3538.6785583496094,
+ "y": 4944.749949097633,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e6087780.a3b1e8"
+ ]
+ ]
+ },
+ {
+ "id": "e6087780.a3b1e8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3576.107250213623,
+ "y": 5010.892745614052,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ad31e38.d519e",
+ "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 NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3742.1069869995117,
+ "y": 4964.89268553257,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "15a48f53.e9cc91",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3724.25,
+ "y": 4912.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "54889c38.a9cd24",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2934.5,
+ "y": 5371.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8f65cb9d.048b28",
+ "f9f106.3ad64ef8",
+ "3a4622d9.5f175e",
+ "b986af06.b93c6",
+ "7fae1a9.e7695e4",
+ "b0e07a56.eb0968",
+ "b7d983c1.d239f",
+ "4af7254c.0f94ec",
+ "9bbde133.9199d",
+ "a7792ca5.50c21"
+ ]
+ ]
+ },
+ {
+ "id": "8f65cb9d.048b28",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3156.5,
+ "y": 5277.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "73b1b3f4.19640c",
+ "d4970e1f.1fd1b"
+ ]
+ ]
+ },
+ {
+ "id": "d4970e1f.1fd1b",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3405.2147064208984,
+ "y": 5290.0367695093155,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "56f3561a.ac8948"
+ ]
+ ]
+ },
+ {
+ "id": "56f3561a.ac8948",
+ "type": "execute",
+ "name": "fetch RRMPolicyRatio NRCellDU - URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3599.4999084472656,
+ "y": 5228.179366707802,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9f106.3ad64ef8",
+ "type": "execute",
+ "name": "prepare idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3191.5,
+ "y": 5349.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a4622d9.5f175e",
+ "type": "execute",
+ "name": "prepare idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3156.5,
+ "y": 5401.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b986af06.b93c6",
+ "type": "execute",
+ "name": "fetch RRMPolicyRatio - NRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3191.5,
+ "y": 5476.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c269d283.8fd35",
+ "bd0e158e.059d78"
+ ]
+ ]
+ },
+ {
+ "id": "c269d283.8fd35",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3438.5,
+ "y": 5449.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "857415f4.a266a8"
+ ]
+ ]
+ },
+ {
+ "id": "bd0e158e.059d78",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3442.5,
+ "y": 5528.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "be81b143.1fc7b"
+ ]
+ ]
+ },
+ {
+ "id": "857415f4.a266a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3606.500473022461,
+ "y": 5460.607347130775,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a82d6535.8cffe8",
+ "b7c3ff1f.bc02f",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "b7c3ff1f.bc02f",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3762.5,
+ "y": 5363.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a82d6535.8cffe8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3767.4998779296875,
+ "y": 5458.7500549554825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "be81b143.1fc7b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3606.4998779296875,
+ "y": 5529.750115990639,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4fda18b3.9db558",
+ "9c5722da.7d9"
+ ]
+ ]
+ },
+ {
+ "id": "4fda18b3.9db558",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3763.643051147461,
+ "y": 5501.892781853676,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c5722da.7d9",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3771.5000915527344,
+ "y": 5539.178704857826,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7fae1a9.e7695e4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioDUList_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3129.0714111328125,
+ "y": 5609.035392403603,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0e07a56.eb0968",
+ "type": "block",
+ "name": "rrmPolicyDedicatedRatio",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3191.214096546173,
+ "y": 5156.0356212854385,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f883b03a.ef216",
+ "af9f11f4.78c62",
+ "b10b5e0c.72314",
+ "9db8c539.0a0aa8",
+ "6bc2b88f.76a8c8",
+ "3f062193.b947de",
+ "a6a8b9e5.316c68",
+ "949f4c1a.ce91d",
+ "9d1ae75e.bcfc48",
+ "1fe4082d.a36b08",
+ "4a6f0191.d8f03"
+ ]
+ ]
+ },
+ {
+ "id": "b10b5e0c.72314",
+ "type": "set",
+ "name": "Calculate RRM Parms1",
+ "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4159.489807128906,
+ "y": 4942.072746872902,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "9db8c539.0a0aa8",
+ "type": "set",
+ "name": "Calculate RRM Parms2",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4168.031066894531,
+ "y": 4987.092766344547,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "6bc2b88f.76a8c8",
+ "type": "set",
+ "name": "Calculate RRM Parms3",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
+ "comments": "",
+ "x": 4158.031188964844,
+ "y": 5042.092644274235,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3f062193.b947de",
+ "type": "set",
+ "name": "Calculate RRM Parms4",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4158.031066894531,
+ "y": 5093.092644333839,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a6a8b9e5.316c68",
+ "type": "set",
+ "name": "Calculate RRM Parms5",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+ "comments": "",
+ "x": 4146.031188964844,
+ "y": 5153.092766344547,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "949f4c1a.ce91d",
+ "type": "set",
+ "name": "Calculate RRM Parms6",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
+ "comments": "",
+ "x": 4184.031066894531,
+ "y": 5203.092766344547,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "9d1ae75e.bcfc48",
+ "type": "set",
+ "name": "Calculate RRM Parms7",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+ "comments": "",
+ "x": 4171.031005859375,
+ "y": 5273.093132615089,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "1fe4082d.a36b08",
+ "type": "set",
+ "name": "calculation8",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
+ "comments": "",
+ "x": 4142.031005859375,
+ "y": 5337.092156052589,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "4a6f0191.d8f03",
+ "type": "set",
+ "name": "calculation9",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+ "comments": "",
+ "x": 4130.031555175781,
+ "y": 5388.092033982277,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "af9f11f4.78c62",
+ "type": "set",
+ "name": "calculation10",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
+ "comments": "",
+ "x": 4105.4898681640625,
+ "y": 5454.072502732277,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "f883b03a.ef216",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3931.4997940063477,
+ "y": 5466.1938091516495,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b7d983c1.d239f",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3151.75,
+ "y": 5655.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a53a21d5.1b313"
+ ]
+ ]
+ },
+ {
+ "id": "a53a21d5.1b313",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3372.75,
+ "y": 5675.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1b550014.5201b",
+ "b46625d1.c5da98",
+ "642c3db5.225a44",
+ "df6bb9e7.91aa48",
+ "98b50177.a679d",
+ "2e984400.7745bc",
+ "77b3e185.b47fc",
+ "62f38bf.033d574",
+ "55f4d449.7a769c",
+ "a0f19fe6.b3c43"
+ ]
+ ]
+ },
+ {
+ "id": "1b550014.5201b",
+ "type": "set",
+ "name": "Calculate updated RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
+ "comments": "",
+ "x": 3699.178512573242,
+ "y": 5615.60748398304,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "642c3db5.225a44",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3644.321762084961,
+ "y": 5659.464260697365,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e744ad30.9419b",
+ "686d6df8.9e5f14"
+ ]
+ ]
+ },
+ {
+ "id": "e744ad30.9419b",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3840.035758972168,
+ "y": 5650.749746918678,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c46e2a8e.4988d8"
+ ]
+ ]
+ },
+ {
+ "id": "c46e2a8e.4988d8",
+ "type": "execute",
+ "name": "patchRRMPolicyRatio NRCellDU - URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4157.750217437744,
+ "y": 5620.036683678627,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "98b50177.a679d",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.RRMPolicyMembersDU_Length+1`\" />",
+ "comments": "",
+ "x": 3629.321533203125,
+ "y": 5827.321384072304,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "b46625d1.c5da98",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioid - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMemberid- \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"Updated RRMPolicyRatio for CellDU is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3604.893051147461,
+ "y": 5867.036262154579,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df6bb9e7.91aa48",
+ "type": "execute",
+ "name": "patch NRCellDU - RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3689.0357971191406,
+ "y": 5903.32148706913,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "657e941d.80fc9c",
+ "b3dedf75.05c98"
+ ]
+ ]
+ },
+ {
+ "id": "657e941d.80fc9c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3966.75,
+ "y": 5866.74976503849,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cedf2ee9.c5dcd"
+ ]
+ ]
+ },
+ {
+ "id": "cedf2ee9.c5dcd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4157.75,
+ "y": 5866.74976503849,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c572acdd.e114e"
+ ]
+ ]
+ },
+ {
+ "id": "c572acdd.e114e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU RRMpolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4342.749755859375,
+ "y": 5867.750009179115,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bf367b69.78c2f8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4424.75,
+ "y": 5910.74976503849,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "df3b4f0.60c8eb",
+ "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 RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4429.7498779296875,
+ "y": 6005.749826073647,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "471bb6e.63e9548",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4162.2502784729,
+ "y": 5908.500407338142,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "df3b4f0.60c8eb",
+ "bf367b69.78c2f8",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "b3dedf75.05c98",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3975.7500915527344,
+ "y": 5914.75040781498,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "471bb6e.63e9548"
+ ]
+ ]
+ },
+ {
+ "id": "dfb56ac0.269c28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2520.583610534668,
+ "y": 5927.527860760689,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "db6539b9.fface8",
+ "6b14b248.70683c",
+ "b0323c91.c5946",
+ "bd600a84.5b8d28",
+ "3f889fa8.24ada",
+ "36523ebf.3db352",
+ "cc745824.7b3288",
+ "556e9c3.d416364",
+ "c8a9b003.4e213",
+ "34c419f3.4189d6",
+ "2afc55d4.0fdf1a"
+ ]
+ ]
+ },
+ {
+ "id": "67aafde3.1e6b44",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3536.1392211914062,
+ "y": 6017.639016747475,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "81ce4a95.e18528"
+ ]
+ ]
+ },
+ {
+ "id": "cb54d9cb.7a7378",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3539.7228775024414,
+ "y": 6077.250904202461,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2b5f5a.aa2f10a6"
+ ]
+ ]
+ },
+ {
+ "id": "2b5f5a.aa2f10a6",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3688.777786254883,
+ "y": 6086.027271389961,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3fe6db33.905464"
+ ]
+ ]
+ },
+ {
+ "id": "81ce4a95.e18528",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3714.9446563720703,
+ "y": 6019.8900891542435,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2d614c6c.612744",
+ "2740df4e.23d3c",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "2740df4e.23d3c",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating NRCellDU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3921.7779960632324,
+ "y": 6005.111600995064,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3fe6db33.905464",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3838.194797515869,
+ "y": 6094.389980435371,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d614c6c.612744",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3924.5556983947754,
+ "y": 6045.471927762032,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "13b72a03.4db0f6",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4048.249786376953,
+ "y": 6264.250532746315,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "f79a6d92.a08eb",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4068.249912261963,
+ "y": 6305.500533699989,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "d3e1f66f.c5a5a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3858.500274658203,
+ "y": 6297.000167489052,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f79a6d92.a08eb",
+ "13b72a03.4db0f6",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "9f649d76.9ec46",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3672.500217437744,
+ "y": 6391.250084519386,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d3e1f66f.c5a5a8"
+ ]
+ ]
+ },
+ {
+ "id": "40529f96.2b4fa",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3682.250156402588,
+ "y": 6433.7494732141495,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cbb88d3d.07a53"
+ ]
+ ]
+ },
+ {
+ "id": "cbb88d3d.07a53",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3851.500213623047,
+ "y": 6357.750290513039,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c2e36292.4f889"
+ ]
+ ]
+ },
+ {
+ "id": "c2e36292.4f889",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4016.250274658203,
+ "y": 6362.500046372414,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "479d909e.4559c",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4509.234375,
+ "y": 2859.7499965429306,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d13464a8.c473a8",
+ "1442c906.c2a9d7",
+ "96caf0a7.e1b47",
+ "34f9cdd8.73fce2",
+ "3aa7172f.242b68"
+ ]
+ ]
+ },
+ {
+ "id": "d13464a8.c473a8",
+ "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.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": 5162.2354736328125,
+ "y": 2683.649747490883,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "1442c906.c2a9d7",
+ "type": "record",
+ "name": "record configdb RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 5146.234237670898,
+ "y": 2748.75033223629,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "96caf0a7.e1b47",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5061.23424911499,
+ "y": 2845.7502101659775,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7f6e9ffc.4e5fd",
+ "b48234ba.97dc18"
+ ]
+ ]
+ },
+ {
+ "id": "7f6e9ffc.4e5fd",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5287.234257698059,
+ "y": 2822.750179171562,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "867b195e.6bc338"
+ ]
+ ]
+ },
+ {
+ "id": "b48234ba.97dc18",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5277.234111785889,
+ "y": 2930.750118613243,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9c0026b0.3dd038"
+ ]
+ ]
+ },
+ {
+ "id": "9c0026b0.3dd038",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5427.233898162842,
+ "y": 2949.7501796483994,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "74f1f284.a869bc"
+ ]
+ ]
+ },
+ {
+ "id": "867b195e.6bc338",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5438.234127044678,
+ "y": 2817.7503012418747,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "b0845d56.4e5b1"
+ ]
+ ]
+ },
+ {
+ "id": "b0845d56.4e5b1",
+ "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": 5604.233806610107,
+ "y": 2820.750118613243,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "74f1f284.a869bc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5591.233913421631,
+ "y": 2955.750118613243,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e22e0c4c.d5556",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 591.234375,
+ "y": 4541.749996542931,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8cb8bc7d.7e74a",
+ "476fc738.416598",
+ "50137f8e.4980a",
+ "849286c2.be2068",
+ "846f8159.327a4",
+ "a265251b.3b1538"
+ ]
+ ]
+ },
+ {
+ "id": "50137f8e.4980a",
+ "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": 868.2355804443359,
+ "y": 4489.649533867836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "8cb8bc7d.7e74a",
+ "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/instantiateRANSliceModifyAllocate.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`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 866.2344131469727,
+ "y": 4581.750181794167,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "476fc738.416598",
+ "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": 737.2344512939453,
+ "y": 4662.749884009361,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f9853664.aacc68",
+ "e53dccb7.c9878"
+ ]
+ ]
+ },
+ {
+ "id": "f9853664.aacc68",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 902.2344512939453,
+ "y": 4642.749883055687,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3420f22.697f30e"
+ ]
+ ]
+ },
+ {
+ "id": "e53dccb7.c9878",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.2343444824219,
+ "y": 4715.7498334646225,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "76c9ead5.6b72d4"
+ ]
+ ]
+ },
+ {
+ "id": "76c9ead5.6b72d4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1040.234188079834,
+ "y": 4720.749942183495,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "413a0051.38f5a"
+ ]
+ ]
+ },
+ {
+ "id": "3420f22.697f30e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1051.2343521118164,
+ "y": 4638.75001847744,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6a452c40.33a0e4",
+ "a489ad20.48a"
+ ]
+ ]
+ },
+ {
+ "id": "6a452c40.33a0e4",
+ "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": 1198.2339706420898,
+ "y": 4649.7497600317,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "413a0051.38f5a",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.2341079711914,
+ "y": 4726.749834418297,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a489ad20.48a",
+ "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": 1185.7445793151855,
+ "y": 4553.739251494408,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "849286c2.be2068",
+ "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": 888.5740203857422,
+ "y": 4535.735594391823,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "470c5ace.e7b614",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.75,
+ "y": 1856.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f9257a75.7e69c8"
+ ]
+ ]
+ },
+ {
+ "id": "f9257a75.7e69c8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2485.739658355713,
+ "y": 1856.7501159906387,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a80d922c.a1cde",
+ "e6daa16f.fde87"
+ ]
+ ]
+ },
+ {
+ "id": "a80d922c.a1cde",
+ "type": "execute",
+ "name": "generate fetchRRMPolicyRatio.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2792.739845275879,
+ "y": 1823.7502170801163,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6daa16f.fde87",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2736.740245819092,
+ "y": 1876.7504106760025,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7879486d.e43fa8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2720.25,
+ "y": 1240.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "82157520.f495d8",
+ "6a5761ea.7f37e"
+ ]
+ ]
+ },
+ {
+ "id": "6a5761ea.7f37e",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2971.250431060791,
+ "y": 1263.7501264810562,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82157520.f495d8",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3027.250030517578,
+ "y": 1210.74993288517,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddfeee6b.9b1e5",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3208.806022644043,
+ "y": 2246.6388803720474,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4dca9024.f47ec",
+ "type": "execute",
+ "name": "generate patchRRMPolicyRatio.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3267.0279998779297,
+ "y": 2203.638970017433,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c5e9fd9.58f49",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2983.3607330322266,
+ "y": 2205.5273166894913,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4dca9024.f47ec",
+ "ddfeee6b.9b1e5"
+ ]
+ ]
+ },
+ {
+ "id": "f00e0383.441b5",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2819.2601470947266,
+ "y": 2205.527939915657,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7c5e9fd9.58f49"
+ ]
+ ]
+ },
+ {
+ "id": "f843b4e8.2e9988",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2270.750045776367,
+ "y": 2957.7500343322754,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82dd2315.9e43a",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2364.749526977539,
+ "y": 2920.7498512268066,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3ea81489.2ed41c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2026.083236694336,
+ "y": 2959.3059425354004,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "82dd2315.9e43a",
+ "f843b4e8.2e9988"
+ ]
+ ]
+ },
+ {
+ "id": "14b26f52.795b81",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2039.75,
+ "y": 3237.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f944afa6.c43e3",
+ "8efae8c6.89c2f8"
+ ]
+ ]
+ },
+ {
+ "id": "f944afa6.c43e3",
+ "type": "execute",
+ "name": "fetch RRMPolicyRatio.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2341.7499351501465,
+ "y": 3197.7500549554825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8efae8c6.89c2f8",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2285.7503356933594,
+ "y": 3250.7502485513687,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0c6590e.ff84c8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1812.25,
+ "y": 3246.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "14b26f52.795b81"
+ ]
+ ]
+ },
+ {
+ "id": "7b24440a.b6717c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2357.0279502868652,
+ "y": 3670.5277220010757,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "637945d1.d2c12c"
+ ]
+ ]
+ },
+ {
+ "id": "637945d1.d2c12c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2572.305606842041,
+ "y": 3648.19445002079,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f55e49da.112a18",
+ "a7569e63.3c5be"
+ ]
+ ]
+ },
+ {
+ "id": "f55e49da.112a18",
+ "type": "execute",
+ "name": "patch RRMPolicyRatio.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2878.7499351501465,
+ "y": 3643.7500549554825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a7569e63.3c5be",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2822.7503356933594,
+ "y": 3696.7502485513687,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ef44957a.a99338",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3462.25,
+ "y": 4675.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8927c582.e2ad88",
+ "92020df.7d663f"
+ ]
+ ]
+ },
+ {
+ "id": "8927c582.e2ad88",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3769.250030517578,
+ "y": 4645.74993288517,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "92020df.7d663f",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3713.250431060791,
+ "y": 4698.750126481056,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73b1b3f4.19640c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3400.4287185668945,
+ "y": 5344.464416146278,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1b55a289.002ffd"
+ ]
+ ]
+ },
+ {
+ "id": "1b55a289.002ffd",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3531.714797973633,
+ "y": 5371.285113930702,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "37385ac0.81c706",
+ "a3561b1e.d49408"
+ ]
+ ]
+ },
+ {
+ "id": "37385ac0.81c706",
+ "type": "execute",
+ "name": "generate patchRRMPolicyRatio.ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3773.0000495910645,
+ "y": 5263.999591469765,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a3561b1e.d49408",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3716.0005378723145,
+ "y": 5324.999957680702,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "686d6df8.9e5f14",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3834.7144165039062,
+ "y": 5690.893161416054,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "324935f3.b203ea"
+ ]
+ ]
+ },
+ {
+ "id": "324935f3.b203ea",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3993.1436729431152,
+ "y": 5702.000008225441,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6ce8d66e.2c5e18",
+ "336826dc.606bea"
+ ]
+ ]
+ },
+ {
+ "id": "6ce8d66e.2c5e18",
+ "type": "execute",
+ "name": "generate patchRRMPolicyRatio.ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4242.999771118164,
+ "y": 5664.714660286903,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "336826dc.606bea",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4181.714820861816,
+ "y": 5714.285739541054,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63f24c79.8133b4",
+ "type": "comment",
+ "name": "instantiateRANSlice-ModifyAllocate",
+ "info": "",
+ "comments": "",
+ "x": 729.5,
+ "y": 82.99999868869781,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "bf968fde.5a03c",
+ "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": 239.77081298828125,
+ "y": 1543.1041198968887,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "80aeccba.14133",
+ "type": "set",
+ "name": "Calculate maxNumberOfConnsPercellCU * 100",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n",
+ "comments": "",
+ "x": 2156.250078201294,
+ "y": 1732.2500101327896,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "fd415f84.f4c55",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+ "comments": "",
+ "x": 2108.250078201294,
+ "y": 1770.2500101327896,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "ed8d5920.d85c48",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 2148.0557250976562,
+ "y": 2025.9168092012405,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "113eac04.d40744",
+ "type": "execute",
+ "name": "read rrmPolicyDedicatedRatio_cellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2608.4999866485596,
+ "y": 2132.0000787973404,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4146177c.a9f1e8",
+ "type": "block",
+ "name": "Get Cells List in TA",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 592.9999618530273,
+ "y": 877.5002336502075,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c7ce326f.111f"
+ ]
+ ]
+ },
+ {
+ "id": "c7fdb989.03f1d8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1510.9999809265137,
+ "y": 883.7502498626709,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a221419c.a4f89"
+ ]
+ ]
+ },
+ {
+ "id": "df033120.0b194",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1508.2498588562012,
+ "y": 962.7503108978271,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "69e52ce2.cd6b44"
+ ]
+ ]
+ },
+ {
+ "id": "69e52ce2.cd6b44",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1644.2496147155762,
+ "y": 1006.2503719329834,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a121602f.ed2c1",
+ "e257733.3ac959",
+ "36202bfe.91e6c4"
+ ]
+ ]
+ },
+ {
+ "id": "a121602f.ed2c1",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained List of Cells from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-cps-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1832.4995422363281,
+ "y": 937.7501150369644,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36202bfe.91e6c4",
+ "type": "for",
+ "name": "For list of cells",
+ "xml": "<for index='idx' start='0' end='`$getListofCells-cps-response._length `' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1841.5206451416016,
+ "y": 975.4163442850113,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f2daa995.ccf808",
+ "9ed852c4.b10bf"
+ ]
+ ]
+ },
+ {
+ "id": "e257733.3ac959",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1812.2778625488281,
+ "y": 1022.7501302957535,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f2daa995.ccf808",
+ "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 + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2046.520492553711,
+ "y": 925.0828787088394,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9ed852c4.b10bf",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.trackingarea.cell`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1999.520492553711,
+ "y": 968.4162536859512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a221419c.a4f89",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1660.4997100830078,
+ "y": 947.7500530481339,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3f6f57b7.940a38",
+ "4627d8f6.778418"
+ ]
+ ]
+ },
+ {
+ "id": "4627d8f6.778418",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting List of cells for the Tracking Area. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1876.9999084472656,
+ "y": 832.6111451387405,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3f6f57b7.940a38",
+ "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": 1904.4995880126953,
+ "y": 887.7501302957535,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "71fa8a11.f27964",
+ "type": "for",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2030.833381652832,
+ "y": 1008.361206650734,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6dfddcd9.3dfe74"
+ ]
+ ]
+ },
+ {
+ "id": "2bad52cb.45a31e",
+ "type": "switchNode",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2511.0001068115234,
+ "y": 901.0000630617142,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2a0570e1.7b04c"
+ ]
+ ]
+ },
+ {
+ "id": "2a0570e1.7b04c",
+ "type": "outcome",
+ "name": "Applicable",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2220.75,
+ "y": 1016.4999939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c086e0db.2b74a"
+ ]
+ ]
+ },
+ {
+ "id": "6dfddcd9.3dfe74",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2256.5002517700195,
+ "y": 861.0000611543655,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2bad52cb.45a31e",
+ "1803f8c0.deeac7",
+ "dd6bcf51.4e37c"
+ ]
+ ]
+ },
+ {
+ "id": "1803f8c0.deeac7",
+ "type": "execute",
+ "name": "read Cell from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2567.000228881836,
+ "y": 806.000020980835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd6bcf51.4e37c",
+ "type": "execute",
+ "name": "read cellCU from getListofCells-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[' + $id-ta + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2555.0000762939453,
+ "y": 850.2500158548355,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64d19144.0eb6c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMember_id - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio update URL is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2553.944496154785,
+ "y": 2376.611140847206,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fbccd084.f1d7d",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2838.666549682617,
+ "y": 2242.4443088769913,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6fcd9fe2.31558",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2833.222007751465,
+ "y": 2272.444549202919,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0cbaac9.a493b8",
+ "type": "execute",
+ "name": "read rrmPolicyMemberListLength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2843.944625854492,
+ "y": 2305.7778927087784,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f88d421.8dd488",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>\n<parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>\n ",
+ "comments": "",
+ "x": 1620.361328125,
+ "y": 2195.2227479219437,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "51a0c05e.7561a",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\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`\"/>\n<parameter name=\"field11\" value=\"nFType\"/>\n<parameter name=\"field12\" value=\"`$tmp.gNBCUCPList.nFType`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1596.8611869812012,
+ "y": 2247.44432079792,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34dc53d6.b374fc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config DB update\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1591.6876678466797,
+ "y": 2154.2499161958694,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63a80c0e.45b254",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>",
+ "comments": "",
+ "x": 2090.3128204345703,
+ "y": 2673.063262939453,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3703eec1.b83182",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2067.5628509521484,
+ "y": 2713.035125732422,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3b328437.5c249c",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1745.2777938842773,
+ "y": 2412.2221677303314,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d419ccae.d0886",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2330.8333587646484,
+ "y": 2544.0556354522705,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2e920223.93347e"
+ ]
+ ]
+ },
+ {
+ "id": "ebeb3209.942f3",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2314.944320678711,
+ "y": 2576.2778034210205,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9eafa3ac.e2fde"
+ ]
+ ]
+ },
+ {
+ "id": "2e920223.93347e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2473.833543777466,
+ "y": 2579.0553938150406,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "115ec44a.2d2f9c",
+ "1b539bbd.3a3ea4"
+ ]
+ ]
+ },
+ {
+ "id": "1b539bbd.3a3ea4",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2639.833299636841,
+ "y": 2545.0553938150406,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "115ec44a.2d2f9c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2668.166763305664,
+ "y": 2577.8334118127823,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "cfbfb18b.96174",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2643.7222442626953,
+ "y": 2609.0557647943497,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8750e0b3.dca38",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2741.9444122314453,
+ "y": 2635.388860344887,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9eafa3ac.e2fde",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2480.4999084472656,
+ "y": 2629.9441925287247,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cfbfb18b.96174",
+ "8750e0b3.dca38"
+ ]
+ ]
+ },
+ {
+ "id": "4553a6ba.147f48",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1720.7222137451172,
+ "y": 2448.3886737823486,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44079d40.b3e3e4",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerNSSAI",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />",
+ "comments": "",
+ "x": 1703.222183227539,
+ "y": 3049.666862130165,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a7c61b4d.7c7ac8",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerCUUP",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />",
+ "comments": "",
+ "x": 1712.1110382080078,
+ "y": 3084.110854744911,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "2b2dcf92.ad428",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+ "comments": "",
+ "x": 1663.2221755981445,
+ "y": 3155.2222534418106,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "76809bf5.5f9204",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1649.611083984375,
+ "y": 2900.4997497797012,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c91f3329.9b73d",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1658.5000762939453,
+ "y": 2936.7222286462784,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74fa9997.55e2c8",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch CUUP NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1661.3890838623047,
+ "y": 2972.7222229242325,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "993dd44a.170258",
+ "type": "execute",
+ "name": "read existing rrmPolicyDedicatedRatio ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2185.4442749023438,
+ "y": 3554.944211602211,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "268bc997.735946",
+ "type": "execute",
+ "name": "read rrmPolicyMemberListLength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2186.0000762939453,
+ "y": 3754.9441620111465,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a427632f.d869c",
+ "type": "execute",
+ "name": "prepare idGNBCUUPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2189.055419921875,
+ "y": 3684.9443298578262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "17f442ac.e65c0d",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 1646.4999542236328,
+ "y": 3465.9444938898087,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "eb350ab1.e1b0a8",
+ "type": "execute",
+ "name": "read RRMPolicyRatio_id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2168.2222061157227,
+ "y": 3721.6107441186905,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28f5dfd.9a4812",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config DB update\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1463.9516258239746,
+ "y": 3677.305416226387,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "50bcf572.bcf0cc",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>\n<parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n ",
+ "comments": "",
+ "x": 1488.1807479858398,
+ "y": 3711.611381649971,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "47702ad.848f4d4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI\"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field5\" value=\"gNBCUUPId\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field7\" value=\"pLMNId\"/>\n<parameter name=\"field8\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1486.9027976989746,
+ "y": 3746.05569088459,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c914f18c.7a4f1",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1789.3612213134766,
+ "y": 3954.5631036758423,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "104eb87.a376648",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1771.694564819336,
+ "y": 4015.062798500061,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecfa9234.bd62b",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>\n<parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>",
+ "comments": "",
+ "x": 1973.3963203430176,
+ "y": 4252.291495919228,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "be212b4b.230ff8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1924.4236907958984,
+ "y": 4287.041496872902,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63dc4c62.abdc64",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2220.361072540283,
+ "y": 4045.8124351501465,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4953f72a.14a9c8"
+ ]
+ ]
+ },
+ {
+ "id": "4953f72a.14a9c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2381.61141204834,
+ "y": 4073.8124824762344,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "38e20140.f6bd9e",
+ "d1a675f6.821158"
+ ]
+ ]
+ },
+ {
+ "id": "d1a675f6.821158",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2568.8612308502197,
+ "y": 4053.5625425577164,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "38e20140.f6bd9e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2587.1946334838867,
+ "y": 4096.340558648109,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a466929a.a0be7",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2650.9722213745117,
+ "y": 4160.14579641819,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6c1fef4.a3848",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2592.750087738037,
+ "y": 4126.312787652016,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "567bc22a.62a28c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2397.027671813965,
+ "y": 4154.70146048069,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e6c1fef4.a3848",
+ "a466929a.a0be7"
+ ]
+ ]
+ },
+ {
+ "id": "5f69d5e0.47f8bc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2220.9167671203613,
+ "y": 4089.2849082946777,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "567bc22a.62a28c"
+ ]
+ ]
+ },
+ {
+ "id": "ca950d87.43a8c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2033.4999256134033,
+ "y": 4690.944519042969,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5df9b990.ac5c48"
+ ]
+ ]
+ },
+ {
+ "id": "5df9b990.ac5c48",
+ "type": "for",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2190.4722747802734,
+ "y": 4678.8892822265625,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e01310ef.1fcba"
+ ]
+ ]
+ },
+ {
+ "id": "e01310ef.1fcba",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2390.277557373047,
+ "y": 4511.69435274601,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a7867a5a.e2cb28",
+ "35c87d11.0f4cc2",
+ "bf0b6ad5.e1d028"
+ ]
+ ]
+ },
+ {
+ "id": "35c87d11.0f4cc2",
+ "type": "execute",
+ "name": "read Cell from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2671.833282470703,
+ "y": 4338.027561426163,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bf0b6ad5.e1d028",
+ "type": "execute",
+ "name": "read cellCU from getListofCells-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2675.1666107177734,
+ "y": 4379.694230675697,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a7867a5a.e2cb28",
+ "type": "switchNode",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2635.0553665161133,
+ "y": 4422.805630162358,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "48dc6ea1.5a081"
+ ]
+ ]
+ },
+ {
+ "id": "48dc6ea1.5a081",
+ "type": "outcome",
+ "name": "Applicable",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2872.722137451172,
+ "y": 4426.916242241859,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "43075f86.beee5"
+ ]
+ ]
+ },
+ {
+ "id": "4af7254c.0f94ec",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated RRMPolicyRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3168.142822265625,
+ "y": 5207.643060326576,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9bbde133.9199d",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 3182.428810119629,
+ "y": 5551.571227669716,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "2e984400.7745bc",
+ "type": "execute",
+ "name": "Set existing RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n\t\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 3689.9288177490234,
+ "y": 5576.214139580727,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "77b3e185.b47fc",
+ "type": "execute",
+ "name": "Read RRMPolicyRatioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3653.143264770508,
+ "y": 5699.785705208778,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62f38bf.033d574",
+ "type": "execute",
+ "name": "Read RRMPolicyMembers Length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3658.857208251953,
+ "y": 5792.285478234291,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "55f4d449.7a769c",
+ "type": "execute",
+ "name": "set gNBDUId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3825.642822265625,
+ "y": 5731.928704857826,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a0f19fe6.b3c43",
+ "type": "execute",
+ "name": "set NRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3818.5,
+ "y": 5763.356927514076,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a7792ca5.50c21",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3149.25,
+ "y": 5439.999993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db6539b9.fface8",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>\n<parameter name='tmp.pLMNId' value='`$tmp.payload.pLMNId`'/>\n ",
+ "comments": "",
+ "x": 2844.430934906006,
+ "y": 5775.785066723824,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "6b14b248.70683c",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2950.9305725097656,
+ "y": 6091.103967666626,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0323c91.c5946",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2900.3751525878906,
+ "y": 6127.714807510376,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e87c44a7.c11038",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3386.9306640625,
+ "y": 6175.159601330757,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7e25eb3c.0855f4"
+ ]
+ ]
+ },
+ {
+ "id": "7e25eb3c.0855f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3794.4863300323486,
+ "y": 6160.937265992165,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "b4d29111.bb08b",
+ "424089a8.f09978"
+ ]
+ ]
+ },
+ {
+ "id": "424089a8.f09978",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3960.4860858917236,
+ "y": 6126.937265992165,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "b4d29111.bb08b",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3988.819549560547,
+ "y": 6159.715283989906,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "f1e8460f.026358",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3964.375030517578,
+ "y": 6190.937636971474,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "105f5aab.bafec5",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4062.597198486328,
+ "y": 6217.270732522011,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66f5530f.1d898c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3801.1526947021484,
+ "y": 6211.826064705849,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f1e8460f.026358",
+ "105f5aab.bafec5"
+ ]
+ ]
+ },
+ {
+ "id": "1ff2b2d3.910dbd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3418.819320678711,
+ "y": 6217.048490643501,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "66f5530f.1d898c"
+ ]
+ ]
+ },
+ {
+ "id": "5b70e245.930d4c",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>",
+ "comments": "",
+ "x": 3457.9662857055664,
+ "y": 6330.944786667824,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a41ce1c1.99092",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3420.2155532836914,
+ "y": 6366.916954159737,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd600a84.5b8d28",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"GNBDUId\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"dLThptPerSlice\"/>\n<parameter name=\"field12\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field13\" value=\"uLThptPerSlice\"/>\n<parameter name=\"field14\" value=\"`$tmp.uLThptPerSlice`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2836.4858722686768,
+ "y": 5825.7844849824905,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "15c4f61a.5a5e9a",
+ "type": "execute",
+ "name": "Update RAN Inventory ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 825,
+ "y": 4268.249993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a5169bf9.c22f38",
+ "cbeb3d9c.a1de7"
+ ]
+ ]
+ },
+ {
+ "id": "4c61e3ca.3e341c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Update inventory in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 779.8055419921875,
+ "y": 3886.416729092598,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a5169bf9.c22f38",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1061.0006580352783,
+ "y": 4222.250352501869,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "b7dddebd.9dc65"
+ ]
+ ]
+ },
+ {
+ "id": "b7dddebd.9dc65",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.0009765625,
+ "y": 4230.250230431557,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "127c4b5b.882045",
+ "8ec8435.46a3ec"
+ ]
+ ]
+ },
+ {
+ "id": "8ec8435.46a3ec",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1336.0006713867188,
+ "y": 4196.361741662025,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "127c4b5b.882045",
+ "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": 1390.0003967285156,
+ "y": 4233.250291466713,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "c3c785b2.eac798",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1409.0006484985352,
+ "y": 4285.250479340553,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c61a5e2f.7dd5f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1223.000400543213,
+ "y": 4301.250235199928,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c3c785b2.eac798",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "cbeb3d9c.a1de7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065.0006103515625,
+ "y": 4302.249990105629,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c61a5e2f.7dd5f"
+ ]
+ ]
+ },
+ {
+ "id": "3e120068.88b83",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>",
+ "comments": "",
+ "x": 788.3333702087402,
+ "y": 3950.8333369493484,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "8666c4e7.b8a108",
+ "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.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3141.75,
+ "y": 5098.499993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a69e803e.2d92c",
+ "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.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1696,
+ "y": 3324.2499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ce9fc18.f66724",
+ "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.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2221,
+ "y": 1648.4999939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6e46dad.569ee",
+ "type": "for",
+ "name": "For coverageAreaTAList",
+ "xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 440.69447326660156,
+ "y": 619.6667137145996,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "57aa9b6c.389994"
+ ]
+ ]
+ },
+ {
+ "id": "57aa9b6c.389994",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 451.8816680908203,
+ "y": 686.9892539978027,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "79f4cbb1.fae6b4",
+ "4146177c.a9f1e8",
+ "f8a02bae.043858",
+ "4c6cbf53.9e01",
+ "66242df2.a00cf4",
+ "2903995b.5e4666"
+ ]
+ ]
+ },
+ {
+ "id": "79f4cbb1.fae6b4",
+ "type": "execute",
+ "name": "read 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+']'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 678.8056716918945,
+ "y": 755.9444618225098,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8a02bae.043858",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"trackingArea \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 648.6944808959961,
+ "y": 814.2778062820435,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a051c642.6a7bc8",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_configdb_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1559.000228881836,
+ "y": 4220.750726699829,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "78ef433c.56685c"
+ ]
+ ]
+ },
+ {
+ "id": "45595c3c.0be1a4",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_configdb_length' value='`$get-rrmpolicy-gNBCUCP-cps-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 1804.000114440918,
+ "y": 4233.7501745224,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "78ef433c.56685c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1712.0001754760742,
+ "y": 4289.750115394592,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "71812e98.fcdd8",
+ "ecfa9234.bd62b",
+ "be212b4b.230ff8",
+ "6b9cc38e.d152bc",
+ "12eccffa.4bf35",
+ "70a4dc14.3934d4",
+ "f6199128.ad4e6"
+ ]
+ ]
+ },
+ {
+ "id": "71812e98.fcdd8",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'get-rrmpolicy-gNBCUCP-cps-response.['+$idcuup-rrm1+'].rrmPolicyID'`\" />\n\n ",
+ "comments": "",
+ "x": 2061.000015258789,
+ "y": 4219.750175118446,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3f144a6d.b53276",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-cps-response.['+$idcu-rrm1+'].rrmPolicyID'`\" />\n",
+ "comments": "",
+ "x": 2103.2504119873047,
+ "y": 2627.750762939453,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "139a6abb.0ab7a5",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'get-gNBDU-cps-response.['+$iddu-rrm1+'].rrmPolicyID'`\" />\n",
+ "comments": "",
+ "x": 3471.25040435791,
+ "y": 6293.750327706337,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "58ac14e8.eb98dc",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioConfigDB_length' value='`$getrrmpolicyratioinfo-cps-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 1753.500473022461,
+ "y": 2668.2500324249268,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "bada65e4.1da208",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioConfigDB_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1674.500259399414,
+ "y": 2705.4722003936768,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "56e09769.d64e48"
+ ]
+ ]
+ },
+ {
+ "id": "56e09769.d64e48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1869.833480834961,
+ "y": 2702.5837745666504,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3f144a6d.b53276",
+ "63a80c0e.45b254",
+ "3703eec1.b83182",
+ "3cb5d2ed.cb76ae",
+ "d0c14773.4cae68",
+ "96d28ef5.b6083",
+ "5f353650.dbdb48"
+ ]
+ ]
+ },
+ {
+ "id": "3f889fa8.24ada",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-gNBDU-cps-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 2928.111297607422,
+ "y": 6409.138879776001,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "36523ebf.3db352",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2908.1114807128906,
+ "y": 6443.4734745025635,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d34bc5b5.4f74c8"
+ ]
+ ]
+ },
+ {
+ "id": "d34bc5b5.4f74c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3134.3611755371094,
+ "y": 6431.028284072876,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "139a6abb.0ab7a5",
+ "5b70e245.930d4c",
+ "a41ce1c1.99092",
+ "1486a5d2.c25d8a",
+ "8a15962e.8cfdb8",
+ "66402a68.4e3114",
+ "ab24e08f.3731"
+ ]
+ ]
+ },
+ {
+ "id": "4c6cbf53.9e01",
+ "type": "execute",
+ "name": "set params",
+ "xml": "<set>\n<parameter name='tmp.RICEntries' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 334.75,
+ "y": 1350.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66242df2.a00cf4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 314.75,
+ "y": 1400.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a55a4b1e.803eb8",
+ "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": 497.75,
+ "y": 477.75002002716064,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a51c492.d53608",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 439.75000762939453,
+ "y": 542.7499895095825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a265251b.3b1538",
+ "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": 757.5,
+ "y": 4365.249996781349,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "846f8159.327a4",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 782.4999961853027,
+ "y": 4418.999970436096,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ac785715.394888",
+ "b2820735.7908a8"
+ ]
+ ]
+ },
+ {
+ "id": "ac785715.394888",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 965.5000114440918,
+ "y": 4376.000092506409,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4802e6ae.a970c8"
+ ]
+ ]
+ },
+ {
+ "id": "b2820735.7908a8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 981.4999961853027,
+ "y": 4427.999970436096,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e58ace3e.2f1b1"
+ ]
+ ]
+ },
+ {
+ "id": "4802e6ae.a970c8",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 1141.5000114440918,
+ "y": 4379.000245094299,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "e58ace3e.2f1b1",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 1142.4999961853027,
+ "y": 4422.999970436096,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3aa7172f.242b68",
+ "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": 4727.000240325928,
+ "y": 2630.749999165535,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34f9cdd8.73fce2",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4743.000240325928,
+ "y": 2686.499999165535,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "459b0098.461f9",
+ "187e33d5.1a66bc"
+ ]
+ ]
+ },
+ {
+ "id": "459b0098.461f9",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4914.000011444092,
+ "y": 2558.5000925064087,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8634cbef.264748"
+ ]
+ ]
+ },
+ {
+ "id": "8634cbef.264748",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 5090.000011444092,
+ "y": 2561.5002450942993,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "7453f370.845fcc",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 5090.999996185303,
+ "y": 2605.499970436096,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "187e33d5.1a66bc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4929.999996185303,
+ "y": 2610.499970436096,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7453f370.845fcc"
+ ]
+ ]
+ },
+ {
+ "id": "db0a0ae7.99aea8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 431.99993896484375,
+ "y": 356.850736618042,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d19fd8fc.d53d88",
+ "24900504.6e385a",
+ "660f3126.9b1d7",
+ "a98eddd6.7a026"
+ ]
+ ]
+ },
+ {
+ "id": "d19fd8fc.d53d88",
+ "type": "execute",
+ "name": "generate getNearRTRICsFromRANNFNSSI URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 776.5000534057617,
+ "y": 272.7499942779541,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "24900504.6e385a",
+ "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.getNearRTRICByNSSI.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-rannfnssi`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 694.5000762939453,
+ "y": 312.7500009536743,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "660f3126.9b1d7",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByNSSI.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 715.5000457763672,
+ "y": 351.75000190734863,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a98eddd6.7a026",
+ "type": "execute",
+ "name": "Get nearRTRIC for RANNFNSSIId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-rannfnssi.json'`\" />\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-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": 726.5000381469727,
+ "y": 394.74999141693115,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "b60cc8f3.647b08",
+ "6493baf6.beacb4"
+ ]
+ ]
+ },
+ {
+ "id": "b60cc8f3.647b08",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 973.5000381469727,
+ "y": 379.74999141693115,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4d205b40.316074"
+ ]
+ ]
+ },
+ {
+ "id": "6493baf6.beacb4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 963.0001792907715,
+ "y": 431.24994945526123,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4fe45ecd.5f733"
+ ]
+ ]
+ },
+ {
+ "id": "4d205b40.316074",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1132.2501182556152,
+ "y": 353.7500629425049,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3b9c8473.75655c",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "4fe45ecd.5f733",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.9999809265137,
+ "y": 420.2500219345093,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7bdcb81f.ccd468",
+ "b98f07f3.e4a838"
+ ]
+ ]
+ },
+ {
+ "id": "3b9c8473.75655c",
+ "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": 1304.999755859375,
+ "y": 366.3610887527466,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "7bdcb81f.ccd468",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1336.7497100830078,
+ "y": 420.0000467300415,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b98f07f3.e4a838",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1372.5279235839844,
+ "y": 463.25005531311035,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7158a43e.6416cc",
+ "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=\"`$cavsta.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1176.8055267333984,
+ "y": 760.0277919769287,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6f0c824.c84d28",
+ "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": 1163.437484741211,
+ "y": 799.750020980835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d5456a86.055578",
+ "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.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": 1194.687484741211,
+ "y": 841.000020980835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "25e7562d.7ff36a",
+ "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=\"GET\"/>\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": 1195.9375,
+ "y": 883.5000343322754,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "df033120.0b194",
+ "c7fdb989.03f1d8"
+ ]
+ ]
+ },
+ {
+ "id": "c7ce326f.111f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 892.1875,
+ "y": 870.687520980835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7158a43e.6416cc",
+ "e6f0c824.c84d28",
+ "d5456a86.055578",
+ "25e7562d.7ff36a"
+ ]
+ ]
+ },
+ {
+ "id": "8b33f4d.cc63408",
+ "type": "switchNode",
+ "name": "cps deployed",
+ "xml": "<switch test='`$prop.cps-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 698.2500152587891,
+ "y": 1361.1875249147415,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "11d92210.21aece",
+ "14b594eb.0ddf2b"
+ ]
+ ]
+ },
+ {
+ "id": "14b594eb.0ddf2b",
+ "type": "outcome",
+ "name": "CPS Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 879.5,
+ "y": 1383.6875268220901,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2f57e3e.e4c1b1c"
+ ]
+ ]
+ },
+ {
+ "id": "2f57e3e.e4c1b1c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1078.7708892822266,
+ "y": 1378.5973473787308,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d5b51ace.ffe998",
+ "e62c2882.df2d08",
+ "e4ca3d86.7fbb7",
+ "72fbcd46.9a9074"
+ ]
+ ]
+ },
+ {
+ "id": "11d92210.21aece",
+ "type": "outcome",
+ "name": "ConfigDB Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 890.7500152587891,
+ "y": 1318.6875249147415,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c02441a6.5003c"
+ ]
+ ]
+ },
+ {
+ "id": "c02441a6.5003c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1090.7500305175781,
+ "y": 1306.1875258684158,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d41ea7d7.e32d38"
+ ]
+ ]
+ },
+ {
+ "id": "72fbcd46.9a9074",
+ "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.put-nearrtric.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-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": 1324.5000381469727,
+ "y": 1456.1876202821732,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "32e44f99.1e657",
+ "9c8b7e53.bb44"
+ ]
+ ]
+ },
+ {
+ "id": "d5b51ace.ffe998",
+ "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=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1307.0000076293945,
+ "y": 1327.437589764595,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e62c2882.df2d08",
+ "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.put-nearrtric`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1293.631965637207,
+ "y": 1367.1598187685013,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4ca3d86.7fbb7",
+ "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.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": 1324.881965637207,
+ "y": 1408.4098187685013,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d0e06f9.40bb58",
+ "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=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2037.777816772461,
+ "y": 2212.7221660614014,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d9965b25.bd6718",
+ "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.put-gnbcucpfunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2024.4097747802734,
+ "y": 2252.4443950653076,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3981bf1a.f9efb",
+ "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.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": 2055.6597747802734,
+ "y": 2293.6943950653076,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4fa16b60.1e5d54",
+ "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-put-gnbcucpfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\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": 2063.888931274414,
+ "y": 2333.8333797454834,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "92ca3817.cb4e68",
+ "deee5e5b.eab8c"
+ ]
+ ]
+ },
+ {
+ "id": "d5b4aac3.9ea238",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1532.7988739013672,
+ "y": 3814.35484790802,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "24ce5ade.6eeee6",
+ "c2d46ef3.8fef9",
+ "bba732bb.bf442",
+ "47266fa.fd99d9"
+ ]
+ ]
+ },
+ {
+ "id": "24ce5ade.6eeee6",
+ "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=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1816.166748046875,
+ "y": 3750.9443370103836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2d46ef3.8fef9",
+ "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.put-gnbcuupfunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1810.5761032104492,
+ "y": 3786.222549557686,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bba732bb.bf442",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUUP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUUP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1832.9373779296875,
+ "y": 3824.1388446092606,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "47266fa.fd99d9",
+ "type": "execute",
+ "name": "Update cellCU for gNBCUUP 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-put-gnbcuupfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\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": 1847.8333435058594,
+ "y": 3862.0555535554886,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1538fb5f.4f3bb5",
+ "ddfd7b68.8530b8"
+ ]
+ ]
+ },
+ {
+ "id": "2afc55d4.0fdf1a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3043.4101943969727,
+ "y": 5886.131675720215,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "223d9167.c3a9be",
+ "b6c065e1.ffe978",
+ "8918e03c.41a4f",
+ "b5d14914.5dd4b8"
+ ]
+ ]
+ },
+ {
+ "id": "223d9167.c3a9be",
+ "type": "execute",
+ "name": "generate update DU 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=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3358.6668090820312,
+ "y": 5795.388969540596,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b6c065e1.ffe978",
+ "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.put-gnbdufunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3375.29825592041,
+ "y": 5831.777155041695,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8918e03c.41a4f",
+ "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.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.updateDU.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3369.881790161133,
+ "y": 5876.360839962959,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b5d14914.5dd4b8",
+ "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-put-gnbdufunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\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": 3373.6667098999023,
+ "y": 5928.721833348274,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "67aafde3.1e6b44",
+ "cb54d9cb.7a7378"
+ ]
+ ]
+ },
+ {
+ "id": "27a58a37.b0d516",
+ "type": "switchNode",
+ "name": "cps deployed",
+ "xml": "<switch test='`$prop.cps-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 546.4444351196289,
+ "y": 4086.9166766405106,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "12a4ac70.2f1874",
+ "3d39115f.5dfd7e"
+ ]
+ ]
+ },
+ {
+ "id": "3d39115f.5dfd7e",
+ "type": "outcome",
+ "name": "CPS Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 700.4723587036133,
+ "y": 4050.11095058918,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3cbc984d.036028"
+ ]
+ ]
+ },
+ {
+ "id": "3cbc984d.036028",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 838.9100494384766,
+ "y": 4120.5766488313675,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2c55de4f.66c952",
+ "bb0d930c.3eef2",
+ "d03ef48e.fda598",
+ "2db70a8d.dafa36"
+ ]
+ ]
+ },
+ {
+ "id": "19b8f831.612ad8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 877.277717590332,
+ "y": 4189.2784959077835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "15c4f61a.5a5e9a"
+ ]
+ ]
+ },
+ {
+ "id": "12a4ac70.2f1874",
+ "type": "outcome",
+ "name": "ConfigDB Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 687.2779846191406,
+ "y": 4185.111073613167,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "19b8f831.612ad8"
+ ]
+ ]
+ },
+ {
+ "id": "2c55de4f.66c952",
+ "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.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$inventory.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1094.8125076293945,
+ "y": 4037.4376088380814,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bb0d930c.3eef2",
+ "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.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateInventory.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.update-ran-inventory`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085.194465637207,
+ "y": 4074.6602054834366,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d03ef48e.fda598",
+ "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.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.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1110.1945266723633,
+ "y": 4120.910205960274,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2db70a8d.dafa36",
+ "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.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-update-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\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": 1107.3125228881836,
+ "y": 4166.187612652779,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a5169bf9.c22f38",
+ "cbeb3d9c.a1de7"
+ ]
+ ]
+ },
+ {
+ "id": "4eb1dd56.c808d4",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio 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.getCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1847.0001068115234,
+ "y": 2515.750823736191,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "87a7e402.af5cf8",
+ "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.getCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nrcellcu-rrm-policy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1797.6322174072266,
+ "y": 2552.4722900390625,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c6081eb.b1579e",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1830.8821258544922,
+ "y": 2591.7223834991455,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1fcbf748.f9d299",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcellcu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-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": 1826.25,
+ "y": 2625.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d419ccae.d0886",
+ "ebeb3209.942f3"
+ ]
+ ]
+ },
+ {
+ "id": "55fa16ed.4ce918",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 1640.2500457763672,
+ "y": 2515.750062942505,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3cb5d2ed.cb76ae",
+ "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=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2133.25,
+ "y": 2748.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0c14773.4cae68",
+ "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.put-nrcellcu-rrm-policy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2085.882080078125,
+ "y": 2782.471649169922,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "96d28ef5.b6083",
+ "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.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": 2117.1320190429688,
+ "y": 2813.7217712402344,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f353650.dbdb48",
+ "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/put-nrcellcu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2168.25,
+ "y": 2846.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c3541b36.ca9228",
+ "2b0ff9fe.3fd566"
+ ]
+ ]
+ },
+ {
+ "id": "cf30b6e4.307858",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 1944.25,
+ "y": 2756.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "87a1a22f.c133b",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio 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.rrmpolicy.getCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1863.75,
+ "y": 4083.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "908953b0.a03cd",
+ "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.getCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-cuup-rrm-policy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1858.1593551635742,
+ "y": 4119.028212547302,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37b9229.a3546de",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get CUUP-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1880.5206298828125,
+ "y": 4156.944507598877,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "295de976.356436",
+ "type": "execute",
+ "name": "get 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.getCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/get-cuup-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicy-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": 1895.4165954589844,
+ "y": 4194.861216545105,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "63dc4c62.abdc64",
+ "5f69d5e0.47f8bc"
+ ]
+ ]
+ },
+ {
+ "id": "85df0b60.6ceb28",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 1668.25,
+ "y": 4076.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "6b9cc38e.d152bc",
+ "type": "execute",
+ "name": "generate update CUUP rrmpolicy 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.rrmpolicy.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2066.25,
+ "y": 4364.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "12eccffa.4bf35",
+ "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.put-cuup-rrm-policy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2060.659355163574,
+ "y": 4400.028212547302,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70a4dc14.3934d4",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUUP-rrmpolicy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2083.0206298828125,
+ "y": 4437.944507598877,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6199128.ad4e6",
+ "type": "execute",
+ "name": "Update cellCU 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/put-cuup-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\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": 2097.9165954589844,
+ "y": 4475.861216545105,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cafa563f.803a28",
+ "1368906b.b985c"
+ ]
+ ]
+ },
+ {
+ "id": "284e755e.bea78a",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 1813,
+ "y": 4341.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "cc745824.7b3288",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio 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.rrmpolicy.getDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2941.25,
+ "y": 6229.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "556e9c3.d416364",
+ "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.getDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nrcelldu-rrm-policy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2935.659355163574,
+ "y": 6265.028212547302,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c8a9b003.4e213",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get DU-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getDU.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2958.0206298828125,
+ "y": 6302.944507598877,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34c419f3.4189d6",
+ "type": "execute",
+ "name": "get RRMPolicy for DU in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/get-nrcelldu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"get-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": 2972.9165954589844,
+ "y": 6340.861216545105,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e87c44a7.c11038",
+ "1ff2b2d3.910dbd"
+ ]
+ ]
+ },
+ {
+ "id": "1486a5d2.c25d8a",
+ "type": "execute",
+ "name": "generate putRRMPolicyRatio 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.rrmpolicy.putDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3429.25,
+ "y": 6470.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a15962e.8cfdb8",
+ "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.put-nrcelldu-rrm-policy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3423.659355163574,
+ "y": 6506.028212547302,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66402a68.4e3114",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update DU-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putDU.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3446.0206298828125,
+ "y": 6543.944507598877,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ab24e08f.3731",
+ "type": "execute",
+ "name": "update RRMPolicy for DU 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/put-nrcelldu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\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": 3460.9165954589844,
+ "y": 6581.861216545105,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9f649d76.9ec46",
+ "40529f96.2b4fa"
+ ]
+ ]
+ },
+ {
+ "id": "ee277e46.997ce",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1686.000015258789,
+ "y": 2310.7499980926514,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6d0e06f9.40bb58",
+ "d9965b25.bd6718",
+ "3981bf1a.f9efb",
+ "4fa16b60.1e5d54"
+ ]
+ ]
+ }
+] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
index 88338538..7c3aa9fc 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
@@ -360,6 +360,28 @@
</switch>
</block>
</outcome>
+ <outcome value='false'>
+ <block atomic='true'>
+ <switch test='`$instantiate-r-a-n-slice-input.action`'>
+ <outcome value='modify-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 instantiateRANSliceModifyAllocate-CPS "/>
+ </record>
+ <call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-CPS' mode='sync' >
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y' />
+ </return>
+ </outcome>
+ </call>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
</switch>
<return status='success'>
<parameter name="ack-final" value="Y" />
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.xml
new file mode 100644
index 00000000..78064d0a
--- /dev/null
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.xml
@@ -0,0 +1,3454 @@
+<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='instantiateRANSliceModifyAllocate-CPS' mode='sync'>
+ <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.getNearRTRICByNSSI.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.getNearRTRICByNSSI.url`"/>
+ <parameter name="outputPath" value="tmp.cps.getNearRTRICByNSSI.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-nearrtric-by-rannfnssi`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to Get NearRTRIC for RANNFNSSI"/>
+ <parameter name='field2' value="`$tmp.cps.getNearRTRICByNSSI.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.getNearRTRICByNSSI.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-rannfnssi.json'`" />
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getNFNSSIRIC-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 Getting Info from CPS. Aborting RPC executiopn'/>
+ </set>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained NearRT RIC info from CPS"/>
+ <parameter name="field2" value="`$getNFNSSIRIC-configdb-response._length`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <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/instantiateRANSliceModifyAllocate.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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="trackingArea "/>
+ <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="`$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/instantiateRANSliceModifyAllocate.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="GET"/>
+ <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>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting List of cells for the Tracking Area. 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>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained List of Cells from ConfigDB"/>
+ <parameter name="field2" value="`$getListofCells-cps-response._length`"/>
+ <parameter name="field3" value="List of Cells in the Tracking Area Relevant for RAN Slice Instantiation "/>
+ </record>
+ <for index='idx' start='0' end='`$getListofCells-cps-response._length `' >
+ <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 + ']'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="`$tmp.trackingarea.cell`"/>
+ </record>
+ </for>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ <set>
+ <parameter name='tmp.RICEntries' value="`$getNFNSSIRIC-configdb-response._length`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.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="dLThptPerSlice for nearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
+ <parameter name="field5" value="maxNumberOfConn for nearRTRIC"/>
+ <parameter name="field6" value="`$tmp.nearRTRIC.maxNumberOfConns`"/>
+ <parameter name="field7" value="nearRTRICId"/>
+ <parameter name="field8" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBId`"/>
+ <parameter name="field11" value="RANNFNSSI"/>
+ <parameter name="field12" value="`$tmp.ranNFNSSIListEntry`"/>
+ <parameter name="field13" value="NSSAI"/>
+ <parameter name="field14" value="`$tmp.payload.sNSSAI`"/>
+ </record>
+ <for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.nearRTRICId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.gNBId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.ranNFNSSIListEntry' value="`$payloadJson.input.RANNFNSSIId`"/>
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />
+ <parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />
+ <parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />
+ <parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />
+ <parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />
+ <parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.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="dLThptPerSlice for nearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
+ <parameter name="field5" value="maxNumberOfConn for nearRTRIC"/>
+ <parameter name="field6" value="`$tmp.nearRTRIC.maxNumberOfConns`"/>
+ <parameter name="field7" value="nearRTRICId"/>
+ <parameter name="field8" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBId`"/>
+ <parameter name="field11" value="RANNFNSSI"/>
+ <parameter name="field12" value="`$tmp.ranNFNSSIListEntry`"/>
+ <parameter name="field13" value="NSSAI"/>
+ <parameter name="field14" value="`$tmp.payload.sNSSAI`"/>
+ </record>
+ <switch test='`$prop.cps-deployed`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="modify-allocate-nearRTRIC-configdb-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 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 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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated NearRT RIC info in ConfigDB"/>
+ </record>
+ </block>
+ </outcome>
+ </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.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.updatenearRTRIC.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$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.put-nearrtric`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.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.put-nearrtric.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="modify-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 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 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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated NearRT RIC info in ConfigDB"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUCPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of CUCP List Entries "/>
+ <parameter name="field2" value="`$tmp.CUCPList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ </record>
+ <for index='idz' start='0' end='`$tmp.CUCPList_length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUCPName' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUCPName "/>
+ <parameter name="field2" value="`$tmp.CUCPName`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`" />
+ </execute>
+ <for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
+ <block atomic='true'>
+ <for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCU2' />
+ <parameter name='source' value="`'getListofCells-cps-response.[' + $id-ta + ']'`" />
+ </execute>
+ <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="`$tmp.cellCULocalId`"/>
+ <parameter name="field2" value="CellCU is applicable for the NSSAI "/>
+ </record>
+ <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.patchPLMNInfoListEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.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.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.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.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.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.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellCU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.CUCPName`"/>
+ <parameter name="field4" value="`$tmp.cellCULocalId`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellCU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU PLMNInfoList. 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 NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <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.CUCPName`"/>
+ </execute>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' 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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatio temp1 - "/>
+ <parameter name="field2" value="`$tmp.maxNumberOfConnsPercellCU`"/>
+ <parameter name="field3" value="RRMPolicyRatio temp2 - "/>
+ <parameter name="field4" value="`$tmp.rRMPolicyDedicatedRatio.CellCU1`"/>
+ <parameter name="field5" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field6" value="`$tmp.rRMPolicyDedicatedRatio_SliceProfile`"/>
+ </record>
+ <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.RRMPolicyRatioEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.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.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.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.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-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 retrieving RRMPolicyRatio. 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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioList_length`"/>
+ </record>
+ <for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Existing RRMPolicyRatio for CellCU is - "/>
+ <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatiocellCU_old`"/>
+ <parameter name="field3" value="Updated RRMPolicyRatio for CellCU is - "/>
+ <parameter name="field4" value="`$tmp.rrmPolicyDedicatedRatio_CellCU_new`"/>
+ </record>
+ <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.RRMPolicyRatioEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.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.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.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.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyMembers' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatio_id is - "/>
+ <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field3" value="RRMPolicyMember_id - "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field5" value="RRMPolicyRatio update URL is - "/>
+ <parameter name="field6" value="`$tmp.getRRMPolicyRatio.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellCU-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. 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 NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>
+ </return>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Config DB update"/>
+ </record>
+ <set>
+ <parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ <parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>
+ <parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="cellLocalId"/>
+ <parameter name="field2" value="`$tmp.cellLocalId`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <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`"/>
+ <parameter name="field11" value="nFType"/>
+ <parameter name="field12" value="`$tmp.gNBCUCPList.nFType`"/>
+ </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="`$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.put-gnbcucpfunction`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.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-put-gnbcucpfunction.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <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 executiopn'/>
+ </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 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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceId}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ </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.rrmpolicy.getCUCP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.getCUCP.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.getCUCP.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-nrcellcu-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to get rrm policy in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.getCUCP.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.getCUCP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcellcu-rrm-policy.json'`" />
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getrrmpolicyratioinfo-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 in retrieving RRMPolicyRatio. 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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioConfigDB_length' value='`$getrrmpolicyratioinfo-cps-response._length`'/>
+ </set>
+ <for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioConfigDB_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='prop.configDB.rrmPolicyID' />
+ <parameter name='source' value="`'getrrmpolicyratioinfo-cps-response.['+$idcu-rrm1+'].rrmPolicyID'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>
+ <parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellCU`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.payload.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
+ <parameter name="field9" value="resourceID"/>
+ <parameter name="field10" value="`$tmp.resourceID`"/>
+ </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.rrmpolicy.putCUCP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$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.put-nrcellcu-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.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/put-nrcellcu-rrm-policy.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-gNBCUCP-rrmpolicy-configdb-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 RRMPolicyRatio - NRCellCU. 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 NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated CPS - NRCellCU RRMPolicyRatio "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUUPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of CUUP List Entries "/>
+ <parameter name="field2" value="`$tmp.CUUPList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ </record>
+ <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="idGNBCUUPFunction "/>
+ <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
+ </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.patchPLMNInfoListEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.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.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.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.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.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.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch CUUP NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.idGNBCUUPFunction`"/>
+ <parameter name="field4" value="`$tmp.mcc`"/>
+ <parameter name="field5" value="`$tmp.mnc`"/>
+ <parameter name="field6" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-gNBCUUP-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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 patching CUUP PLMNInfoList. 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 patching CUUP PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />
+ </set>
+ <set>
+ <parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
+ </record>
+ <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.RRMPolicyRatioEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.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.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.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.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <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.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-cuup-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'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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 in retrieving RRMPolicyRatio. 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 in fetching RRMPolicyRatio. Aborting RPC executiopn'/>
+ </return>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP - RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioList_CUUP_length`"/>
+ </record>
+ <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value="`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`" />
+ </set>
+ <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.RRMPolicyRatioEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.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.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.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.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.rrmPolicyMembers-CUUP+1`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Updated RRMPolicyRatio for CUUP is - "/>
+ <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`"/>
+ <parameter name="field3" value="RRMPolicyRatio_id is - "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field5" value="RRMPolicyMember_id CUUP is - "/>
+ <parameter name="field6" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field7" value="Existing RRMPolicyMembers Length"/>
+ <parameter name="field8" value="`$tmp.rrmPolicyMembers-CUUP`"/>
+ <parameter name="field9" value="Update RRMPolicyRatio URL - "/>
+ <parameter name="field10" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-CUUP-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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 patching cellCU RRMPolicyRatio. 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>
+ </execute>
+ </block>
+ </for>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Config DB update"/>
+ </record>
+ <set>
+ <parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>
+ <parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI"/>
+ <parameter name="field2" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+ <parameter name="field3" value="maxNumberOfConns"/>
+ <parameter name="field4" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field5" value="gNBCUUPId"/>
+ <parameter name="field6" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
+ <parameter name="field7" value="pLMNId"/>
+ <parameter name="field8" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBCUUPList.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.updateCUUP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$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.put-gnbcuupfunction`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update CUUP in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.updateCUUP.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-put-gnbcuupfunction.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <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'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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 in updating CUUP. 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-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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceId}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ </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.rrmpolicy.getCUUP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.getCUUP.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.getCUUP.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-cuup-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to get CUUP-rrmolicy from CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.getCUUP.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.getCUUP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/get-cuup-rrm-policy.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="get-rrmpolicy-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 retrieving RRMPolicyRatio. 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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_configdb_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='prop.configDB.rrmPolicyID' />
+ <parameter name='source' value="`'get-rrmpolicy-gNBCUCP-cps-response.['+$idcuup-rrm1+'].rrmPolicyID'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>
+ <parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
+ <parameter name="field9" value="resourceID"/>
+ <parameter name="field10" value="`$tmp.resourceID`"/>
+ </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.rrmpolicy.putCUUP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$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.put-cuup-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update CUUP-rrmpolicy 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/put-cuup-rrm-policy.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <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 atomic='true'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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 in updating RRMPolicyRatio - CUUP. 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-RRMPolicyRatio 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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - CUUP RRMPolicyRatio "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ <set>
+ <parameter name='tmp.rrmPolicyRatio_configdb_length' value='`$get-rrmpolicy-gNBCUCP-cps-response._length`'/>
+ </set>
+ </block>
+ </block>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.DUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of DU List Entries "/>
+ <parameter name="field2" value="`$tmp.DUList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ </record>
+ <for index='id-du' start='0' end='`$tmp.DUList_length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.GNBDUId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="GNBDUId "/>
+ <parameter name="field2" value="`$tmp.GNBDUId`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellDUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`" />
+ </execute>
+ <for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
+ <block atomic='true'>
+ <for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCU2' />
+ <parameter name='source' value="`'getListofCells-configdb-response.[' + $id-ta + ']'`" />
+ </execute>
+ <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CellDU is applicable for the NSSAI "/>
+ </record>
+ <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.patchPLMNInfoListEntry.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.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.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.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.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellDULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.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.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellCU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.GNBDUId`"/>
+ <parameter name="field4" value="`$tmp.cellDULocalId`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellDU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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 patching cellDU PLMNInfoList. 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 NECellDU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
+ </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.GNBDUId`"/>
+ </execute>
+ <block atomic='true'>
+ <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.cellDUList_length`' />
+ </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/instantiateRANSlice.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>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Calculated RRMPolicyRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ </record>
+ <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.RRMPolicyRatioEntry.ToGNBDU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.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.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.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.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="idNRCellDU"/>
+ <parameter name="field2" value="`$tmp.cellDULocalId`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-du-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'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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 in retrieving RRMPolicyRatio. 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 in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>
+ </return>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioDUList_length`"/>
+ </record>
+ <for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`" />
+ </set>
+ <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.RRMPolicyRatioEntry.ToGNBDU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.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.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.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.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.RRMPolicyMembersDU_Length+1`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatioid - "/>
+ <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field3" value="RRMPolicyMemberid- "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field5" value="Updated RRMPolicyRatio for CellDU is - "/>
+ <parameter name="field6" value="`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellDU-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellDU RRMpolicyRatio"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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 patching cellDU RRMPolicyRatio. 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 RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
+ <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
+ <parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>
+ <parameter name='tmp.pLMNId' value='`$tmp.payload.pLMNId`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="cellLocalId"/>
+ <parameter name="field2" value="`$tmp.cellLocalId`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.pLMNId`"/>
+ <parameter name="field5" value="maxNumberOfConns"/>
+ <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field7" value="GNBDUId"/>
+ <parameter name="field8" value="`$tmp.gNBDUList.gNBDUId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBId`"/>
+ <parameter name="field11" value="dLThptPerSlice"/>
+ <parameter name="field12" value="`$tmp.dLThptPerSlice`"/>
+ <parameter name="field13" value="uLThptPerSlice"/>
+ <parameter name="field14" value="`$tmp.uLThptPerSlice`"/>
+ </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="`$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.put-gnbdufunction`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.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.updateDU.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-put-gnbdufunction.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <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'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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 in updating NRCellDU. 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 NRCellDU-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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceId}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ </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.rrmpolicy.getDU.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.getDU.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.getDU.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-nrcelldu-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to get DU-rrmolicy from CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.getDU.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.getDU.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/get-nrcelldu-rrm-policy.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="get-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='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. 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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-gNBDU-cps-response._length`'/>
+ </set>
+ <for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='prop.configDB.rrmPolicyID' />
+ <parameter name='source' value="`'get-gNBDU-cps-response.['+$iddu-rrm1+'].rrmPolicyID'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
+ <parameter name="field9" value="resourceID"/>
+ <parameter name="field10" value="`$tmp.resourceID`"/>
+ </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.rrmpolicy.putDU.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$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.put-nrcelldu-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update DU-rrmolicy from 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/put-nrcelldu-rrm-policy.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <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='failure'>
+ <block atomic='true'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.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 in updating RRMPolicyRatio - NRCellDU. 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 NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellDU RRMPolicyRatio "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ <return status='success'>
+ <parameter name="ack-final" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="SUCCESSFUL Execution" />
+ </return>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Update inventory in ConfigDB"/>
+ </record>
+ <set>
+ <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
+ <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>
+ </set>
+ <switch test='`$prop.cps-deployed`'>
+ <outcome value='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.updateInventory.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$inventory.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.updateInventory.url`"/>
+ <parameter name="outputPath" value="tmp.cps.updateInventory.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.update-ran-inventory`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.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.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.updateInventory.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-update-ran-inventory.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <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 RAN Inventory. 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>
+ </outcome>
+ <outcome value='success'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </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 Updated inventory"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-inventory-configdb-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 RAN Inventory. 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>
+ </outcome>
+ <outcome value='success'>
+ <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>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <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>
+ <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>
+ <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`" />
+ </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-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </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 Updated inventory"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <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/instantiateRANSliceModifyAllocate.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`" />
+ </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/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json
new file mode 100644
index 00000000..b33fd781
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json
@@ -0,0 +1,8 @@
+{
+"inputParameters": {
+"mcc": ${tmp.mcc},
+"mnc": ${tmp.mnc},
+"coverageArea": ${tmp.payload.coverageArea},
+"nRTAC": ${tmp.payload.trackingArea}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json
new file mode 100644
index 00000000..98fbe426
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json
@@ -0,0 +1,6 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json
new file mode 100644
index 00000000..83b6f4af
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json
@@ -0,0 +1,5 @@
+{
+"inputParameters": {
+"ranNFNSSIId": ${tmp.payload.RANNFNSSIId}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json
new file mode 100644
index 00000000..15ac5409
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json
@@ -0,0 +1,7 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction": ${tmp.CUCPName},
+"idNRCellCU": ${tmp.cellCULocalId}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json
new file mode 100644
index 00000000..1a01eb3a
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json
@@ -0,0 +1,7 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction": ${tmp.GNBDUId},
+"idNRCellCU": ${tmp.cellDULocalId}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json
new file mode 100644
index 00000000..9f8842ca
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json
@@ -0,0 +1,35 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction}
+},
+"payload":{
+"GNBCUUPFunction": [
+{
+"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction},
+"attributes": {
+"gNBCUUPId": ${tmp.idGNBCUUPFunction},
+"RRMPolicyRatio":[
+"id":${tmp.RRMPolicyRatio_id},
+"attributes": {
+"resourceType":"PRB",
+"quotaType":"STRICT",
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CUUP},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CUUP},
+"rRMPolicyDedicatedRatio":{tmp.rRMPolicyDedicatedRatio.CUUP},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.RRMPolicyMember_id},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+
+}
+]
+}
+]
+}
+}
+]
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json
new file mode 100644
index 00000000..f137e5f9
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json
@@ -0,0 +1,43 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId}
+},
+"payload":{
+"GNBCUCPFunction": [
+{
+"idGNBCUCPFunction": ${tmp.gNBCUCPList.gNBCUName},
+"attributes": {
+"gNBCUName": ${tmp.gNBCUCPList.gNBCUName},
+"gNBIdLength": ${tmp.gNBCUCPList.gNBIdLength},
+"gNBId": ${tmp.gNBCUCPList.gNBId}
+},
+"NRCellCU": [
+{
+"idNRCellCU": ${tmp.cellLocalId},
+"attributes": {
+"cellLocalId": ${tmp.cellLocalId}
+"pLMNInfoList":[
+{
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAIList":[
+{
+"sNssai":${tmp.payload.sNSSAI},
+"status":"ACTIVE",
+"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-put-gnbcuupfunction.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json
new file mode 100644
index 00000000..7a9139f3
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json
@@ -0,0 +1,34 @@
+{
+"inputParameters":{
+"idNearRTRIC": "11"
+},
+"payload":{
+"GNBCUUPFunction": [
+{
+"idGNBCUUPFunction": ${tmp.gNBCUUPList.gNBCUUPId},
+"attributes": {
+"gNBId": ${tmp.gNBCUUPList.gNBId},
+"gNBCUUPId": ${tmp.gNBCUUPList.gNBCUUPId},
+"pLMNInfoList":[
+{
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAIList":[
+{
+"sNssai":${tmp.payload.sNSSAI},
+"status":"ACTIVE",
+"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-put-gnbdufunction.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json
new file mode 100644
index 00000000..059d2234
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json
@@ -0,0 +1,47 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId}
+},
+"payload":{
+"GNBDUFunction": [
+{
+"idGNBDUFunction": ${tmp.gNBDUList.gNBDUId},
+"attributes": {
+"gNBDUId": ${tmp.gNBDUList.gNBDUId},
+"gNBIdLength": ${tmp.gNBIdLength},
+"gNBId": ${tmp.gNBId}
+},
+"NRCellCU": [
+{
+"idNRCellCU": ${tmp.cellLocalId},
+"attributes": {
+"cellLocalId": ${tmp.cellLocalId}
+"pLMNInfoList":[
+{
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAIList":[
+{
+"sNssai":${tmp.payload.sNSSAI},
+"status":"ACTIVE",
+"configData": [
+{
+"configParameter":dLThptPerSlice,
+"configValue":${tmp.dLThptPerSlice}
+},
+{
+"configParameter":uLThptPerSlice,
+"configValue":${tmp.uLThptPerSlice}
+}
+]
+}
+]
+}
+]
+}
+}
+]
+}
+]
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json
new file mode 100644
index 00000000..efe55e26
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json
@@ -0,0 +1,43 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction": ${tmp.CUCPName},
+"idNRCellCU": ${tmp.cellCULocalId}
+},
+"payload":{
+"GNBCUCPFunction": [
+{
+"idGNBCUCPFunction": ${tmp.CUCPName},
+"attributes": {
+"gNBCUName": ${tmp.CUCPName
+},
+"NRCellCU": [
+{
+"idNRCellCU": ${tmp.cellCULocalId},
+"attributes": {
+"cellLocalId": ${tmp.cellCULocalId},
+"RRMPolicyRatio":[
+"id":${tmp.RRMPolicyRatio_id},
+"attributes": {
+"resourceType":"RRC Connected Users",
+"quotaType":"STRICT",
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyDedicatedRatio":{tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.RRMPolicyMember_id},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+}
+]
+}
+}
+]
+}
+]
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json
new file mode 100644
index 00000000..79f0be52
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json
@@ -0,0 +1,42 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction": ${tmp.GNBDUId},
+"idNRCellCU": ${tmp.cellDULocalId}
+},
+"payload":{
+"GNBDUFunction": [
+{
+"idGNBDUFunction": ${tmp.GNBDUId},
+"attributes": {
+"gNBDUId": ${tmp.GNBDUId},
+},
+"NRCellDU": [
+{
+"idNRCellDU": ${tmp.cellDULocalId},
+"attributes": {
+"cellLocalId": ${tmp.cellDULocalId}
+"RRMPolicyRatio":[
+"id":${tmp.RRMPolicyRatio_id},
+"attributes": {
+"resourceType":"DRB",
+"quotaType":"STRICT",
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyDedicatedRatio":{tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.RRMPolicyMember_id},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}}
+]
+}
+]
+}
+}
+]
+}
+]
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json
new file mode 100644
index 00000000..45632ff2
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json
@@ -0,0 +1,27 @@
+{
+"payload":{
+"ran-slices":[
+{
+"rannfnssiid":${tmp.payload.RANNFNSSIId},
+"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},
+
+}
+]
+}
+],
+"subnetStatus":"ACTIVE",
+"sliceType":"eMBB"
+}
+]
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json
new file mode 100644
index 00000000..9296b7fb
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json
@@ -0,0 +1,42 @@
+{
+"payload": {
+"NearRTRIC": [
+{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"attributes":{
+"ranNFNSSIIdList":[
+${tmp.ranNFNSSIListEntry}
+],
+"pLMNInfoList":[
+{
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAIList":[
+{
+"sNssai":${tmp.payload.sNSSAI},
+"status":"ACTIVE",
+"configData": [
+{
+"configParameter":dLThptPerSlice,
+"configValue":${tmp.dLThptPerSlice}
+},
+{
+"configParameter":uLThptPerSlice,
+"configValue":${tmp.uLThptPerSlice}
+},
+
+{
+"configParameter":maxNumberOfConns,
+"configValue":${tmp.maxNumberOfConns}
+}
+]
+}
+]
+}
+]
+}
+}
+]
+}
+
+} \ No newline at end of file