summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-11-09 12:45:17 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-09 12:45:17 +0000
commitf471275bd9933cbb297e77f3ea224147daf00e44 (patch)
treef3803ee410878dc458b8c92c943f2e4910474bc7 /platform-logic/restapi-templates
parentea487b181b377bd95f99f961dfb7cbeaea42e26d (diff)
parentaef48f9b29b90e5d9ee35fc0c2527af8375fdcc8 (diff)
Merge "DG's, templates, properties for ranSlice feature"
Diffstat (limited to 'platform-logic/restapi-templates')
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-GNBCUUPFn.json22
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRCellCU.json22
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRCellDU.json22
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-RRMPolicyRatio-NRRIC.json22
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-GNBCUUPFn.json28
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-NRCellCU.json28
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json28
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-GNBCUUPFn.json22
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-NRCellCU.json22
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-nSSAIEntry-NRCellDU.json22
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-add-sliceProfile-NRRIC.json18
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRANSliceInventory.json31
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"
+}