summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/cps-templates
diff options
context:
space:
mode:
authorAhila <ahila.pandaram@wipro.com>2021-07-21 18:00:21 +0530
committerAhila P <ahila.pandaram@wipro.com>2021-07-31 08:55:44 +0000
commita6e92d163cc81a268771cc5da4952a9aefc8c4e3 (patch)
treea4f6afc36b5e09a7a84b0dad23db7cc4232b526b /platform-logic/restapi-templates/src/main/json/cps-templates
parent5019487d208bcb9184ca541c3c01fa9895db4ad6 (diff)
CPS Integration - RANSlice-modify allocate scenario
Issue-ID: CCSDK-3340 Signed-off-by: Ahila <ahila.pandaram@wipro.com> Change-Id: I4a318dee0740ebe7bce4cae1bea4faed5e6e28da
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/cps-templates')
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json6
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json5
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json7
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json7
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json35
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json43
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json34
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json47
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json43
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json42
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json27
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json42
13 files changed, 346 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json
new file mode 100644
index 00000000..b33fd781
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json
@@ -0,0 +1,8 @@
+{
+"inputParameters": {
+"mcc": ${tmp.mcc},
+"mnc": ${tmp.mnc},
+"coverageArea": ${tmp.payload.coverageArea},
+"nRTAC": ${tmp.payload.trackingArea}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json
new file mode 100644
index 00000000..98fbe426
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json
@@ -0,0 +1,6 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json
new file mode 100644
index 00000000..83b6f4af
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json
@@ -0,0 +1,5 @@
+{
+"inputParameters": {
+"ranNFNSSIId": ${tmp.payload.RANNFNSSIId}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json
new file mode 100644
index 00000000..15ac5409
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json
@@ -0,0 +1,7 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction": ${tmp.CUCPName},
+"idNRCellCU": ${tmp.cellCULocalId}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json
new file mode 100644
index 00000000..1a01eb3a
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json
@@ -0,0 +1,7 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction": ${tmp.GNBDUId},
+"idNRCellCU": ${tmp.cellDULocalId}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json
new file mode 100644
index 00000000..9f8842ca
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json
@@ -0,0 +1,35 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction}
+},
+"payload":{
+"GNBCUUPFunction": [
+{
+"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction},
+"attributes": {
+"gNBCUUPId": ${tmp.idGNBCUUPFunction},
+"RRMPolicyRatio":[
+"id":${tmp.RRMPolicyRatio_id},
+"attributes": {
+"resourceType":"PRB",
+"quotaType":"STRICT",
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CUUP},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CUUP},
+"rRMPolicyDedicatedRatio":{tmp.rRMPolicyDedicatedRatio.CUUP},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.RRMPolicyMember_id},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+
+}
+]
+}
+]
+}
+}
+]
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json
new file mode 100644
index 00000000..f137e5f9
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json
@@ -0,0 +1,43 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId}
+},
+"payload":{
+"GNBCUCPFunction": [
+{
+"idGNBCUCPFunction": ${tmp.gNBCUCPList.gNBCUName},
+"attributes": {
+"gNBCUName": ${tmp.gNBCUCPList.gNBCUName},
+"gNBIdLength": ${tmp.gNBCUCPList.gNBIdLength},
+"gNBId": ${tmp.gNBCUCPList.gNBId}
+},
+"NRCellCU": [
+{
+"idNRCellCU": ${tmp.cellLocalId},
+"attributes": {
+"cellLocalId": ${tmp.cellLocalId}
+"pLMNInfoList":[
+{
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAIList":[
+{
+"sNssai":${tmp.payload.sNSSAI},
+"status":"ACTIVE",
+"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-put-gnbcuupfunction.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json
new file mode 100644
index 00000000..7a9139f3
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json
@@ -0,0 +1,34 @@
+{
+"inputParameters":{
+"idNearRTRIC": "11"
+},
+"payload":{
+"GNBCUUPFunction": [
+{
+"idGNBCUUPFunction": ${tmp.gNBCUUPList.gNBCUUPId},
+"attributes": {
+"gNBId": ${tmp.gNBCUUPList.gNBId},
+"gNBCUUPId": ${tmp.gNBCUUPList.gNBCUUPId},
+"pLMNInfoList":[
+{
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAIList":[
+{
+"sNssai":${tmp.payload.sNSSAI},
+"status":"ACTIVE",
+"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-put-gnbdufunction.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json
new file mode 100644
index 00000000..059d2234
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json
@@ -0,0 +1,47 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId}
+},
+"payload":{
+"GNBDUFunction": [
+{
+"idGNBDUFunction": ${tmp.gNBDUList.gNBDUId},
+"attributes": {
+"gNBDUId": ${tmp.gNBDUList.gNBDUId},
+"gNBIdLength": ${tmp.gNBIdLength},
+"gNBId": ${tmp.gNBId}
+},
+"NRCellCU": [
+{
+"idNRCellCU": ${tmp.cellLocalId},
+"attributes": {
+"cellLocalId": ${tmp.cellLocalId}
+"pLMNInfoList":[
+{
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAIList":[
+{
+"sNssai":${tmp.payload.sNSSAI},
+"status":"ACTIVE",
+"configData": [
+{
+"configParameter":dLThptPerSlice,
+"configValue":${tmp.dLThptPerSlice}
+},
+{
+"configParameter":uLThptPerSlice,
+"configValue":${tmp.uLThptPerSlice}
+}
+]
+}
+]
+}
+]
+}
+}
+]
+}
+]
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json
new file mode 100644
index 00000000..efe55e26
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json
@@ -0,0 +1,43 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction": ${tmp.CUCPName},
+"idNRCellCU": ${tmp.cellCULocalId}
+},
+"payload":{
+"GNBCUCPFunction": [
+{
+"idGNBCUCPFunction": ${tmp.CUCPName},
+"attributes": {
+"gNBCUName": ${tmp.CUCPName
+},
+"NRCellCU": [
+{
+"idNRCellCU": ${tmp.cellCULocalId},
+"attributes": {
+"cellLocalId": ${tmp.cellCULocalId},
+"RRMPolicyRatio":[
+"id":${tmp.RRMPolicyRatio_id},
+"attributes": {
+"resourceType":"RRC Connected Users",
+"quotaType":"STRICT",
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyDedicatedRatio":{tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.RRMPolicyMember_id},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+}
+]
+}
+}
+]
+}
+]
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json
new file mode 100644
index 00000000..79f0be52
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json
@@ -0,0 +1,42 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction": ${tmp.GNBDUId},
+"idNRCellCU": ${tmp.cellDULocalId}
+},
+"payload":{
+"GNBDUFunction": [
+{
+"idGNBDUFunction": ${tmp.GNBDUId},
+"attributes": {
+"gNBDUId": ${tmp.GNBDUId},
+},
+"NRCellDU": [
+{
+"idNRCellDU": ${tmp.cellDULocalId},
+"attributes": {
+"cellLocalId": ${tmp.cellDULocalId}
+"RRMPolicyRatio":[
+"id":${tmp.RRMPolicyRatio_id},
+"attributes": {
+"resourceType":"DRB",
+"quotaType":"STRICT",
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyDedicatedRatio":{tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.RRMPolicyMember_id},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}}
+]
+}
+]
+}
+}
+]
+}
+]
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json
new file mode 100644
index 00000000..45632ff2
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json
@@ -0,0 +1,27 @@
+{
+"payload":{
+"ran-slices":[
+{
+"rannfnssiid":${tmp.payload.RANNFNSSIId},
+"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},
+
+}
+]
+}
+],
+"subnetStatus":"ACTIVE",
+"sliceType":"eMBB"
+}
+]
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json
new file mode 100644
index 00000000..9296b7fb
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json
@@ -0,0 +1,42 @@
+{
+"payload": {
+"NearRTRIC": [
+{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"attributes":{
+"ranNFNSSIIdList":[
+${tmp.ranNFNSSIListEntry}
+],
+"pLMNInfoList":[
+{
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAIList":[
+{
+"sNssai":${tmp.payload.sNSSAI},
+"status":"ACTIVE",
+"configData": [
+{
+"configParameter":dLThptPerSlice,
+"configValue":${tmp.dLThptPerSlice}
+},
+{
+"configParameter":uLThptPerSlice,
+"configValue":${tmp.uLThptPerSlice}
+},
+
+{
+"configParameter":maxNumberOfConns,
+"configValue":${tmp.maxNumberOfConns}
+}
+]
+}
+]
+}
+]
+}
+}
+]
+}
+
+} \ No newline at end of file