summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src
diff options
context:
space:
mode:
authorAhila <ahila.pandaram@wipro.com>2021-02-18 19:10:24 +0530
committerAhila <ahila.pandaram@wipro.com>2021-02-22 12:09:57 +0530
commit5115e8e2183d52b16630149ffb1f615d9fbda19f (patch)
treeb6796a2931751a5013f29c9d2929e4eb5adcf4af /platform-logic/restapi-templates/src
parent6460c29f5778a917f8d2a1798416cfcb69c19c8c (diff)
RAN Slice DG implementation of ran-slice-api_instantiateRANSliceModifyAllocate
Issue-ID: CCSDK-3112 Signed-off-by: Ahila <ahila.pandaram@wipro.com> Change-Id: I50ecc0f3c4109a0ae01b1589b7f0038e86f1c7d9
Diffstat (limited to 'platform-logic/restapi-templates/src')
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-patch-RRMPolicyRatio-NRCellCU.json35
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-NRCellCU.json27
2 files changed, 62 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-patch-RRMPolicyRatio-NRCellCU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-patch-RRMPolicyRatio-NRCellCU.json
new file mode 100644
index 00000000..a5dbfe87
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-patch-RRMPolicyRatio-NRCellCU.json
@@ -0,0 +1,35 @@
+{
+ "ietf-yang-patch:yang-patch" : {
+ "patch-id" : "patch-2",
+ "comment" : "Patch NRCellCU RRMPolicyRatio",
+ "edit" : [
+ {
+ "edit-id" : "edit2",
+ "operation" : "merge",
+ "target" : "/ran-network:RRMPolicyRatio[ran-network:id='${"tmp.RRMPolicyRatio_id}']",
+ "value" : {
+ "ran-network:RRMPolicyRatio": [
+ {
+ "ran-network:id": ${tmp.RRMPolicyRatio_id},
+ "ran-network:attributes": {
+ "ran-network:quotaType": "STRICT",
+ "ran-network:rRMPolicyMaxRatio": ${tmp.rrmPolicyDedicatedRatio_CellCU_updated},
+ "ran-network:rRMPolicyMinRatio": ${tmp.rrmPolicyDedicatedRatio_CellCU_updated},
+ "ran-network:rRMPolicyDedicatedRatio": ${tmp.rrmPolicyDedicatedRatio_CellCU_updated},
+ "ran-network:resourceType": "RRC Connected Users",
+ "ran-network:rRMPolicyMemberList": [
+ {
+ "ran-network:idx": ${tmp.RRMPolicyMember_id},
+ "ran-network:sNSSAI": ${tmp.payload.sNSSAI},
+ "ran-network:mcc": ${tmp.mcc},
+ "ran-network:mnc": ${tmp.mnc}
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ } \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-NRCellCU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-NRCellCU.json
new file mode 100644
index 00000000..b2a22288
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-NRCellCU.json
@@ -0,0 +1,27 @@
+{
+ "ietf-yang-patch:yang-patch": {
+ "patch-id": "Patch 1",
+ "comment": "patch for NSSAIList",
+ "edit": [
+ {
+ "edit-id": "edit1",
+ "operation": "merge",
+ "target": "/ran-network:sNSSAIList[ran-network:sNssai='${"tmp.payload.sNSSAI}']",
+ "value": {
+ "ran-network:sNSSAIList": [
+ {
+ "ran-network:sNssai": ${tmp.payload.sNSSAI},
+ "ran-network:status": "INACTIVE",
+ "ran-network:configData": [
+ {
+ "ran-network:configParameter": "maxNumberOfConns",
+ "ran-network:configValue": ${tmp.nearRTRIC.maxNumberOfConns}
+ }
+ ]
+ }
+ ]
+}
+}
+]
+}
+} \ No newline at end of file