diff options
author | Sandeep Shah <sandeeplinux1068@gmail.com> | 2020-10-18 16:45:52 -0500 |
---|---|---|
committer | Sandeep Shah <sandeeplinux1068@gmail.com> | 2020-11-07 12:01:31 -0600 |
commit | aef48f9b29b90e5d9ee35fc0c2527af8375fdcc8 (patch) | |
tree | c567df6414f41d11a845464e05a8d4f034311118 /platform-logic/restapi-templates | |
parent | 5d536189b39adb7c01ebdd5b4c096d2f8b5150ad (diff) |
DG's, templates, properties for ranSlice feature
This commit includes DG for instantiateRANSlice RPC,
templates, and proerty file updates
Issue-ID: CCSDK-2857
Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com>
Change-Id: Ib6e6199940e18f7358116818f410bea09184bc42
Diffstat (limited to 'platform-logic/restapi-templates')
12 files changed, 287 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-GNBCUUPFn.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-GNBCUUPFn.json new file mode 100644 index 00000000..12c9aa4b --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-GNBCUUPFn.json @@ -0,0 +1,22 @@ +{ + "ran-network:RRMPolicyRatio": [ + { + "ran-network:id": "0", + "ran-network:attributes": { + "ran-network:quotaType": "STRICT", + "ran-network:rRMPolicyMaxRatio": "0", + "ran-network:rRMPolicyMinRatio": "0", + "ran-network:rRMPolicyDedicatedRatio": ${tmp.rRMPolicyDedicatedRatio.CUUP}, + "ran-network:resourceType": "DRB", + "ran-network:rRMPolicyMemberList": [ + { + "ran-network:idx": "0", + "ran-network:sNSSAI": ${payloadJson.input.sliceProfile.sNSSAI}, + "ran-network:mcc": ${tmp.mcc}, + "ran-network:mnc": ${tmp.mnc} + } + ] + } + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRCellCU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRCellCU.json new file mode 100644 index 00000000..edfac668 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRCellCU.json @@ -0,0 +1,22 @@ +{ + "ran-network:RRMPolicyRatio": [ + { + "ran-network:id": "0", + "ran-network:attributes": { + "ran-network:quotaType": "STRICT", + "ran-network:rRMPolicyMaxRatio": "0", + "ran-network:rRMPolicyMinRatio": "0", + "ran-network:rRMPolicyDedicatedRatio": ${tmp.rRMPolicyDedicatedRatio.CellCU}, + "ran-network:resourceType": "RRC Connected Users", + "ran-network:rRMPolicyMemberList": [ + { + "ran-network:idx": "0", + "ran-network:sNSSAI": ${payloadJson.input.sliceProfile.sNSSAI}, + "ran-network:mcc": ${tmp.mcc}, + "ran-network:mnc": ${tmp.mnc} + } + ] + } + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRCellDU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRCellDU.json new file mode 100644 index 00000000..c1a219b8 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRCellDU.json @@ -0,0 +1,22 @@ +{ + "ran-network:RRMPolicyRatio": [ + { + "ran-network:id": "0", + "ran-network:attributes": { + "ran-network:quotaType": "STRICT", + "ran-network:rRMPolicyMaxRatio": "0", + "ran-network:rRMPolicyMinRatio": "0", + "ran-network:rRMPolicyDedicatedRatio": ${tmp.rRMPolicyDedicatedRatio.CellDU}, + "ran-network:resourceType": "PRB", + "ran-network:rRMPolicyMemberList": [ + { + "ran-network:idx": "0", + "ran-network:sNSSAI": ${payloadJson.input.sliceProfile.sNSSAI}, + "ran-network:mcc": ${tmp.mcc}, + "ran-network:mnc": ${tmp.mnc} + } + ] + } + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRRIC.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRRIC.json new file mode 100644 index 00000000..8f7de779 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRRIC.json @@ -0,0 +1,22 @@ +{ + "ran-network:RRMPolicyRatio": [ + { + "ran-network:id": "0", + "ran-network:attributes": { + "ran-network:quotaType": "STRICT", + "ran-network:rRMPolicyMaxRatio": "0", + "ran-network:rRMPolicyMinRatio": "0", + "ran-network:rRMPolicyDedicatedRatio": ${tmp.rRMPolicyDedicatedRatio.CellDU}, + "ran-network:resourceType": "NRRIC", + "ran-network:rRMPolicyMemberList": [ + { + "ran-network:idx": "0", + "ran-network:sNSSAI": ${payloadJson.input.sliceProfile.sNSSAI}, + "ran-network:mcc": ${tmp.mcc}, + "ran-network:mnc": ${tmp.mnc} + } + ] + } + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-GNBCUUPFn.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-GNBCUUPFn.json new file mode 100644 index 00000000..625fe8d4 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-GNBCUUPFn.json @@ -0,0 +1,28 @@ +{ + "pLMNInfoList": [ + { + "mcc": ${tmp.mcc}, + "mnc": ${tmp.mnc}, + "sNSSAIList": [ + { + "sNssai": ${payloadJson.input.sliceProfile.sNSSAI}, + "status": "INACTIVE", + "configData": [ + { + "ran-network:configParameter": "maxNumberOfConns", + "ran-network:configValue": ${tmp.maxNumberOfConns} + }, + { + "ran-network:configParameter": "uLThptPerSlice", + "ran-network:configValue": ${tmp.uLThptPerSlice} + }, + { + "ran-network:configParameter": "dLThptPerSlice", + "ran-network:configValue": ${tmp.dLThptPerSlice} + } + ] + } + ] + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-NRCellCU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-NRCellCU.json new file mode 100644 index 00000000..625fe8d4 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-NRCellCU.json @@ -0,0 +1,28 @@ +{ + "pLMNInfoList": [ + { + "mcc": ${tmp.mcc}, + "mnc": ${tmp.mnc}, + "sNSSAIList": [ + { + "sNssai": ${payloadJson.input.sliceProfile.sNSSAI}, + "status": "INACTIVE", + "configData": [ + { + "ran-network:configParameter": "maxNumberOfConns", + "ran-network:configValue": ${tmp.maxNumberOfConns} + }, + { + "ran-network:configParameter": "uLThptPerSlice", + "ran-network:configValue": ${tmp.uLThptPerSlice} + }, + { + "ran-network:configParameter": "dLThptPerSlice", + "ran-network:configValue": ${tmp.dLThptPerSlice} + } + ] + } + ] + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json new file mode 100644 index 00000000..625fe8d4 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json @@ -0,0 +1,28 @@ +{ + "pLMNInfoList": [ + { + "mcc": ${tmp.mcc}, + "mnc": ${tmp.mnc}, + "sNSSAIList": [ + { + "sNssai": ${payloadJson.input.sliceProfile.sNSSAI}, + "status": "INACTIVE", + "configData": [ + { + "ran-network:configParameter": "maxNumberOfConns", + "ran-network:configValue": ${tmp.maxNumberOfConns} + }, + { + "ran-network:configParameter": "uLThptPerSlice", + "ran-network:configValue": ${tmp.uLThptPerSlice} + }, + { + "ran-network:configParameter": "dLThptPerSlice", + "ran-network:configValue": ${tmp.dLThptPerSlice} + } + ] + } + ] + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-GNBCUUPFn.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-GNBCUUPFn.json new file mode 100644 index 00000000..3e66a3a3 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-GNBCUUPFn.json @@ -0,0 +1,22 @@ +{ + "ran-network:sNSSAIList": [ + { + "ran-network:sNssai": ${payloadJson.input.sliceProfile.sNSSAI}, + "ran-network:status": "Active", + "ran-network:configData": [ + { + "ran-network:configParameter": "maxNumberOfConns", + "ran-network:configValue": ${tmp.maxNumberOfConns} + }, + { + "ran-network:configParameter": "uLThptPerSlice", + "ran-network:configValue": ${tmp.uLThptPerSlice} + }, + { + "ran-network:configParameter": "dLThptPerSlice", + "ran-network:configValue": ${tmp.dLThptPerSlice} + } + ] + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-NRCellCU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-NRCellCU.json new file mode 100644 index 00000000..3e66a3a3 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-NRCellCU.json @@ -0,0 +1,22 @@ +{ + "ran-network:sNSSAIList": [ + { + "ran-network:sNssai": ${payloadJson.input.sliceProfile.sNSSAI}, + "ran-network:status": "Active", + "ran-network:configData": [ + { + "ran-network:configParameter": "maxNumberOfConns", + "ran-network:configValue": ${tmp.maxNumberOfConns} + }, + { + "ran-network:configParameter": "uLThptPerSlice", + "ran-network:configValue": ${tmp.uLThptPerSlice} + }, + { + "ran-network:configParameter": "dLThptPerSlice", + "ran-network:configValue": ${tmp.dLThptPerSlice} + } + ] + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-NRCellDU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-NRCellDU.json new file mode 100644 index 00000000..3e66a3a3 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-NRCellDU.json @@ -0,0 +1,22 @@ +{ + "ran-network:sNSSAIList": [ + { + "ran-network:sNssai": ${payloadJson.input.sliceProfile.sNSSAI}, + "ran-network:status": "Active", + "ran-network:configData": [ + { + "ran-network:configParameter": "maxNumberOfConns", + "ran-network:configValue": ${tmp.maxNumberOfConns} + }, + { + "ran-network:configParameter": "uLThptPerSlice", + "ran-network:configValue": ${tmp.uLThptPerSlice} + }, + { + "ran-network:configParameter": "dLThptPerSlice", + "ran-network:configValue": ${tmp.dLThptPerSlice} + } + ] + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-add-sliceProfile-NRRIC.json b/platform-logic/restapi-templates/src/main/json/ranSlice-add-sliceProfile-NRRIC.json new file mode 100644 index 00000000..3997af76 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-add-sliceProfile-NRRIC.json @@ -0,0 +1,18 @@ +{ + "ran-network:sliceProfilesList": [ + { + "ran-network:sliceProfileId": ${tmp.sliceProfileId}, + "ran-network:sNSSAI": ${tmp.sNSSAI}, + "ran-network:maxNumberofUEs": ${tmp.maxNumberofUEs}, + "ran-network:latency": ${tmp.latency}, + "ran-network:uLThptPerSlice": ${tmp.uLThptPerSlice}, + "ran-network:dLThptPerSlice": ${tmp.dLThptPerSlice}, + "ran-network:maxNumberofConns": ${tmp.maxNumberofConns}, + "ran-network:uEMobilityLevel": ${tmp.uEMobilityLevel}, + "ran-network:coverageAreaList": [ + ${tmp.trackingArea} + ], + "ran-network:resourceSharingLevel": ${tmp.resourceSharingLevel} + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRANSliceInventory.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRANSliceInventory.json new file mode 100644 index 00000000..0a455167 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRANSliceInventory.json @@ -0,0 +1,31 @@ +{ + "isShareable": "string", + "nSSAIList": [ + "string" + ], + "nsstId": "string", + "ranNFNSSIId": "string", + "ranNSSIList": [ + "string" + ], + "sliceProfilesList": [ + { + "coverageAreaList": [ + "string" + ], + "dLThptPerSlice": 0, + "latency": 0, + "maxNumberofConns": 0, + "maxNumberofUEs": 0, + "pLMNIdList": "string", + "resourceSharingLevel": "string", + "sNSSAI": "string", + "sliceProfileId": "string", + "uEMobilityLevel": "string", + "uLThptPerSlice": 0 + } + ], + "sliceType": "string", + "subnetStatus": "string", + "trackingAreaList": "string" +} |