summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
authorAhila <ahila.pandaram@wipro.com>2021-02-25 15:49:47 +0530
committerKAPIL SINGAL <ks220y@att.com>2021-03-09 15:22:10 +0000
commit2b91b0229dce35744d0604fdd129d4adff3637aa (patch)
tree8849b48b0174b9d48d202da635826cec60bc67f0 /platform-logic/restapi-templates
parent6c1df983ee0e29a10bfe94c761fb2fb0af2c28b3 (diff)
DG Implementation - RAN Slice RPCS
instantiateRANSlice-ModifyDeallocate terminateRANSlice activateRANSlice deactivateRANSlice Other Fixes Issue-ID: CCSDK-3191 Signed-off-by: Ahila <ahila.pandaram@wipro.com> Change-Id: Id970af03ce509daedf1f2eab62aef71394fe9fea
Diffstat (limited to 'platform-logic/restapi-templates')
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-CUUP.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-DU.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicyMember-CUCP.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUCP.json14
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUUP.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBDU.json13
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removenearRTRIC-PLMNInfo.json9
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json2
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json21
9 files changed, 90 insertions, 1 deletions
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