summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main')
-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