From 48c98d49beadca974e7a2ea995037dc74dfb51ea Mon Sep 17 00:00:00 2001 From: Ahila Date: Sun, 20 Mar 2022 00:45:59 +0530 Subject: RAN Slice allocate - CPS Integration Issue-ID: CCSDK-3600 Signed-off-by: Ahila Change-Id: I32c896ee01fbe4f97a3a28fbf8f10667339179c1 --- .../cps-templates/cps-add-cuup-rrm-policy.json | 27 +++++++++++++++ .../main/json/cps-templates/cps-add-nearrtric.json | 37 +++++++++++++++++++++ .../cps-templates/cps-add-nrcellcu-rrm-policy.json | 28 ++++++++++++++++ .../cps-templates/cps-add-nrcelldu-rrm-policy.json | 29 +++++++++++++++++ .../json/cps-templates/cps-add-snssai-cuup.json | 30 +++++++++++++++++ .../cps-templates/cps-add-snssai-nrcellcu.json | 32 ++++++++++++++++++ .../cps-templates/cps-add-snssai-nrcelldu.json | 38 ++++++++++++++++++++++ .../cps-templates/cps-get-ric-from-cell-id.json | 5 +++ .../cps-update-ran-inventory-new-slice.json | 26 +++++++++++++++ 9 files changed, 252 insertions(+) create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-cuup-rrm-policy.json create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcellcu.json create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json (limited to 'platform-logic/restapi-templates/src') diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-cuup-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-cuup-rrm-policy.json new file mode 100644 index 00000000..21be4b04 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-cuup-rrm-policy.json @@ -0,0 +1,27 @@ +{ +"inputParameters":{ +"idNearRTRIC": ${tmp.nearRTRICId}, +"idGNBCUUPFunction": ${tmp.gNBCUUPList.gNBCUUPId} +}, +"payload":{ +"RRMPolicyRatio":[{ +"id":${tmp.RRMPolicyRatioID.GNBCUUPFunction}, +"attributes":{ +"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU}, +"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellCU}, +"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellCU}, +"rRMPolicyMemberList":[ +{ +"idx":${tmp.rrmPolicyMemberID}, +"mcc":${tmp.mcc}, +"mnc":${tmp.mnc}, +"sNSSAI":${tmp.payload.sNSSAI} +} +] + + } +} +] +} +} + diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json new file mode 100644 index 00000000..4ec7cbfd --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json @@ -0,0 +1,37 @@ +{ + "inputParameters":{ + "idNearRTRIC":${tmp.nearRTRICId} + }, +"payload": { +"attributes": { +"pLMNInfoList": [{ + "mcc":${tmp.mcc}, + "mnc":${tmp.mnc}, +"sNSSAIList":[ +{ +"sNssai":${tmp.payload.sNSSAI}, +"status":"ACTIVE", +"configData": [ +{ +"configParameter":"dLThptPerSlice", +"configValue":${tmp.nearRTRIC.dLThptPerSlice} +}, +{ +"configParameter":"uLThptPerSlice", +"configValue":${tmp.nearRTRIC.uLThptPerSlice} +}, + +{ +"configParameter":"maxNumberOfConns", +"configValue":${tmp.nearRTRIC.maxNumberOfConns} +} +] +} +] +}], + "rANNFNSSIList": [ + ${tmp.ranNFNSSIListEntry} + ] +} +} +} diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json new file mode 100644 index 00000000..cac92ae0 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json @@ -0,0 +1,28 @@ +{ +"inputParameters":{ +"idNearRTRIC": ${tmp.nearRTRICId}, +"idGNBCUCPFunction": ${tmp.gNBCUCPList.gNBCUName}, +"idNRCellCU": ${tmp.cellLocalId} +}, +"payload":{ +"RRMPolicyRatio":[{ +"id":${tmp.RRMPolicyRatioID.NRCellCU}, +"attributes":{ +"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU}, +"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellCU}, +"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellCU}, +"rRMPolicyMemberList":[ +{ +"idx":${tmp.rrmPolicyMemberID}, +"mcc":${tmp.mcc}, +"mnc":${tmp.mnc}, +"sNSSAI":${tmp.payload.sNSSAI} +} +] + + } +} +] +} +} + diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json new file mode 100644 index 00000000..77bf7fe3 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json @@ -0,0 +1,29 @@ +{ +"inputParameters":{ +"idNearRTRIC": ${tmp.nearRTRICId}, +"idGNBDUFunction":${tmp.gNBDUList.gNBDUId}, +"idNRCellDU":${tmp.cellLocalId} + +}, +"payload":{ +"RRMPolicyRatio":[{ +"id":${tmp.RRMPolicyRatioID.NRCellDU}, +"attributes":{ +"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellDU}, +"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellDU}, +"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellDU}, +"rRMPolicyMemberList":[ +{ +"idx":${tmp.rrmPolicyMemberID}, +"mcc":${tmp.mcc}, +"mnc":${tmp.mnc}, +"sNSSAI":${tmp.payload.sNSSAI} +} +] + + } +} +] +} +} + diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json new file mode 100644 index 00000000..066c5e14 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json @@ -0,0 +1,30 @@ +{ + "inputParameters":{ + "idNearRTRIC": ${tmp.nearRTRICId}, + "mcc":${tmp.mcc}, + "mnc":${tmp.mnc}, + "idGNBCUUPFunction":${tmp.gNBCUUPList.gNBCUUPId} + }, + "payload":{ + "attributes": { +"pLMNInfoList": [{ + "mcc":${tmp.mcc}, + "mnc":${tmp.mnc}, + "sNSSAIList":[ + { + "sNssai":${tmp.sNSSAI}, + "status":${tmp.status}, + "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-add-snssai-nrcellcu.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcellcu.json new file mode 100644 index 00000000..6fa972a5 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcellcu.json @@ -0,0 +1,32 @@ +{ + "inputParameters":{ + "idNearRTRIC": ${tmp.nearRTRICId}, + "mcc":${tmp.mcc}, + "mnc":${tmp.mnc}, + "idGNBCUCPFunction":${tmp.gNBCUCPList.gNBCUName}, + "idNRCellCU":${tmp.cellLocalId} + }, + "payload":{ + "attributes": { +"pLMNInfoList": [{ + "mcc":${tmp.mcc}, + "mnc":${tmp.mnc}, + "sNSSAIList":[ + { + "sNssai":${tmp.sNSSAI}, + "status":${tmp.status}, + "configData": [ + { + "configParameter":"maxNumberOfConns", + "configValue":${tmp.maxNumberOfConns} + } + ] + } + ] + + } +] +} +} +} + diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json new file mode 100644 index 00000000..af1aa3a9 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json @@ -0,0 +1,38 @@ +{ + "inputParameters":{ + "idNearRTRIC": ${tmp.nearRTRICId}, + "mcc":${tmp.mcc}, + "mnc":${tmp.mnc}, + "idGNBDUFunction":${tmp.gNBDUList.gNBDUId}, + "idNRCellDU":${tmp.cellLocalId} + }, + "payload":{ + "attributes": { +"pLMNInfoList": [{ + "mcc":${tmp.mcc}, + "mnc":${tmp.mnc}, + "sNSSAIList":[ + { + "sNssai":${tmp.sNSSAI}, + "status":${tmp.status}, + "configData": [ + { + "configParameter":"dLThptPerSlice", + "configValue":${tmp.dLThptPerSlice} + }, + { + "configParameter":"uLThptPerSlice", + "configValue":${tmp.uLThptPerSlice} + } + ] + + } + ] + + } +] +} +} +} + + diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json new file mode 100644 index 00000000..4446a809 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json @@ -0,0 +1,5 @@ +{ +"inputParameters":{ +"idNRCellDU":${tmp.cellLocalId} +} +}' \ No newline at end of file diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json new file mode 100644 index 00000000..e59da38b --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json @@ -0,0 +1,26 @@ +{ +"payload":{ +"ran-slices":[{ +"rannfnssiid": ${tmp.ranNFNSSIListEntry}, +"subnetStatus": "inactive", +"slicetype": "embb", +"isshareable": "Shareable", +"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} +} +] +} +] +} +] +} +} \ No newline at end of file -- cgit 1.2.3-korg