From 2b91b0229dce35744d0604fdd129d4adff3637aa Mon Sep 17 00:00:00 2001 From: Ahila Date: Thu, 25 Feb 2021 15:49:47 +0530 Subject: DG Implementation - RAN Slice RPCS instantiateRANSlice-ModifyDeallocate terminateRANSlice activateRANSlice deactivateRANSlice Other Fixes Issue-ID: CCSDK-3191 Signed-off-by: Ahila Change-Id: Id970af03ce509daedf1f2eab62aef71394fe9fea --- .../ranSlice-configDB-removeRRMPolicy-CUUP.json | 8 ++++++++ .../json/ranSlice-configDB-removeRRMPolicy-DU.json | 8 ++++++++ ...anSlice-configDB-removeRRMPolicyMember-CUCP.json | 8 ++++++++ .../main/json/ranSlice-configDB-removegNBCUCP.json | 14 ++++++++++++++ .../main/json/ranSlice-configDB-removegNBCUUP.json | 8 ++++++++ .../main/json/ranSlice-configDB-removegNBDU.json | 13 +++++++++++++ .../ranSlice-configDB-removenearRTRIC-PLMNInfo.json | 9 +++++++++ .../json/ranSlice-configDB-updateRRMPolicy-DU.json | 2 +- .../src/main/json/ranSlice-patch-sNSSAI-status.json | 21 +++++++++++++++++++++ 9 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-CUUP.json create mode 100644 platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-DU.json create mode 100644 platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicyMember-CUCP.json create mode 100644 platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUCP.json create mode 100644 platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUUP.json create mode 100644 platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBDU.json create mode 100644 platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removenearRTRIC-PLMNInfo.json create mode 100644 platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json (limited to 'platform-logic/restapi-templates/src/main') diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-CUUP.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-CUUP.json new file mode 100644 index 00000000..86bbc38b --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-CUUP.json @@ -0,0 +1,8 @@ +{ + "quotaType": "STRICT", + "rRMPolicyMemberList": ${tmp.CellCURRMMembersList}, + "resourceID": ${tmp.idGNBCUUPFunction}, + "resourceType": "DRB", + "rrmPolicyID": ${tmp.CUUPRRMPolicyRatio_id}, + "sliceType": "eMBB" +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-DU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-DU.json new file mode 100644 index 00000000..476b42a7 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-DU.json @@ -0,0 +1,8 @@ +{ + "quotaType": "STRICT", + "rRMPolicyMemberList": ${tmp.CellDURRMMembersList}, + "resourceID": ${tmp.cellDULocalId}, + "resourceType": "PRB", + "rrmPolicyID": ${tmp.cellDURRMPolicyRatio_id}, + "sliceType": "eMBB" +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicyMember-CUCP.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicyMember-CUCP.json new file mode 100644 index 00000000..ba6aa675 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicyMember-CUCP.json @@ -0,0 +1,8 @@ +{ + "quotaType": "STRICT", + "rRMPolicyMemberList": ${tmp.CellCURRMMembersList}, + "resourceID": ${tmp.cellCULocalId}, + "resourceType": "RRC Connected Users", + "rrmPolicyID": ${tmp.RRMPolicyRatio_id}, + "sliceType": "eMBB" +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUCP.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUCP.json new file mode 100644 index 00000000..181095a5 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUCP.json @@ -0,0 +1,14 @@ +{ + "cellCUList": [ + { + "cellLocalId": ${tmp.cellLocalId} + "pLMNInfoList": ${tmp.pLMNInfoList}, + "resourceType": "RRC Connected Users" + } + ], + "gNBCUName": ${tmp.CUCPName}, + "gNBId": ${tmp.gNBId}, + "gNBIdLength": ${tmp.gNBIdLength}, + "nFType": ${tmp.cucpNFType}, + "nearRTRICId": ${tmp.nearRTRICId}, +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUUP.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUUP.json new file mode 100644 index 00000000..5f669826 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUUP.json @@ -0,0 +1,8 @@ +{ + "gNBCUUPId": ${tmp.idGNBCUUPFunction}, + "gNBId": ${tmp.gNBId}, + "gNBIdLength": ${tmp.gNBIdLength}, + "nearRTRICId": ${tmp.nearRTRICId}, + "pLMNInfoList": ${tmp.pLMNInfoList-CUUP}, + "resourceType": "DRB" +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBDU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBDU.json new file mode 100644 index 00000000..125454e4 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBDU.json @@ -0,0 +1,13 @@ +{ + "cellDUList": [ + { + "cellLocalId": ${tmp.cellDULocalId}, + "pLMNInfoList": ${tmp.ceLLDUpLMNInfoList}, + "resourceType": "PRB" + } + ], + "gNBDUId": ${tmp.gNBDUId}, + "gNBId": ${tmp.gNBId}, + "gNBIdLength": ${tmp.gNBIdLength}, + "nearRTRICId": ${tmp.nearRTRICId}, +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removenearRTRIC-PLMNInfo.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removenearRTRIC-PLMNInfo.json new file mode 100644 index 00000000..fc581529 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removenearRTRIC-PLMNInfo.json @@ -0,0 +1,9 @@ +{ + "gNBId": ${tmp.gNBId}, + "nearRTRICId": ${tmp.nearRTRICId}, + "pLMNInfoList": ${tmp.pLMNInfoList-RIC}, + "ranNFNSSIList": [ + ${payloadJson.input.RANNFNSSIId} + ], + "resourceType": "NearRTRIC" +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json index 42d66089..7eedf444 100644 --- a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json @@ -9,7 +9,7 @@ } ], "rRMPolicyMinRatio": 0, - "resourceID": "", + "resourceID": ${tmp.cellDULocalId}, "resourceType": "PRB", "rrmPolicyID": ${prop.configDB.rrmPolicyID}, "sliceType": "eMBB" diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json b/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json new file mode 100644 index 00000000..7854e1c2 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json @@ -0,0 +1,21 @@ +{ + "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.sNSSAI}']", + "value": { + "ran-network:sNSSAIList": [ + { + "ran-network:sNssai": ${tmp.sNSSAI}, + "ran-network:status": "INACTIVE" + } + ] +} +} +] +} +} \ No newline at end of file -- cgit 1.2.3-korg