From 5115e8e2183d52b16630149ffb1f615d9fbda19f Mon Sep 17 00:00:00 2001 From: Ahila Date: Thu, 18 Feb 2021 19:10:24 +0530 Subject: RAN Slice DG implementation of ran-slice-api_instantiateRANSliceModifyAllocate Issue-ID: CCSDK-3112 Signed-off-by: Ahila Change-Id: I50ecc0f3c4109a0ae01b1589b7f0038e86f1c7d9 --- .../ranSlice-patch-RRMPolicyRatio-NRCellCU.json | 35 ++++++++++++++++++++++ .../main/json/ranSlice-patch-sNSSAI-NRCellCU.json | 27 +++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 platform-logic/restapi-templates/src/main/json/ranSlice-patch-RRMPolicyRatio-NRCellCU.json create mode 100644 platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-NRCellCU.json (limited to 'platform-logic/restapi-templates/src/main/json') 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 -- cgit 1.2.3-korg