summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src
diff options
context:
space:
mode:
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