summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
authorSandeep Shah <sandeeplinux1068@gmail.com>2021-02-25 22:55:42 -0600
committerSandeep Shah <sandeep.shah@ibm.com>2021-03-01 14:07:22 +0000
commit19b4c5f779708ee06a2fe46dc998dbb39a9b2e76 (patch)
tree7e57911ac5e6b90550ecfd210f294e3d0241b7a7 /platform-logic/restapi-templates
parent17c06a988af5329b1a400436243523890bef0a5a (diff)
Intelligent slicing updates RANSlice feature
Includes code commit to support intelligent and closed loop RAN slicing for RANSlice feature. ALso includes bug fixes Issue-ID: CCSDK-3177 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: I9c404f11f879c4aa8857fee4e626b16579a1785b
Diffstat (limited to 'platform-logic/restapi-templates')
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-patch.json23
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updatenearRTRIC.json3
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-NRCellCU-configData.json18
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-nSSAIEntry-NRCellCU.json2
4 files changed, 43 insertions, 3 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-patch.json b/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-patch.json
new file mode 100644
index 00000000..54db6bbf
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-patch.json
@@ -0,0 +1,23 @@
+{
+ "ietf-yang-patch:yang-patch": {
+ "patch-id": "ClosedLoopPatch1",
+ "comment": "patch for configuring NearRTRIC SliceProfile ",
+ "edit": [{
+ "edit-id": "edit1",
+ "operation": "merge",
+ "target": "/ran-network:uLThptPerSlice",
+ "value": {
+ "uLThptPerSlice": ${tmp.uLThptPerSlice}
+ }
+ },
+ {
+ "edit-id": "edit2",
+ "operation": "merge",
+ "target": "/ran-network:dLThptPerSlice",
+ "value": {
+ "dLThptPerSlice": ${tmp.dLThptPerSlice}
+ }
+ }
+ ]
+ }
+}
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updatenearRTRIC.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updatenearRTRIC.json
index b3dd73d9..8b027529 100644
--- a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updatenearRTRIC.json
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updatenearRTRIC.json
@@ -5,13 +5,12 @@
{
"pLMNId": ${tmp.payload.pLMNId},
"sNSSAI": {
- "configData": [
+ "configData":
{
"dLThptPerSlice": ${tmp.nearRTRIC.dLThptPerSlice},
"maxNumberOfConns": ${tmp.nearRTRIC.maxNumberOfConns},
"uLThptPerSlice": ${tmp.nearRTRIC.uLThptPerSlice}
},
- ],
"globalSubscriberId": "",
"sNSSAI": ${payloadJson.input.sliceProfile.sNSSAI},
"status": "ACTIVE",
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-NRCellCU-configData.json b/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-NRCellCU-configData.json
new file mode 100644
index 00000000..0ad5a242
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-NRCellCU-configData.json
@@ -0,0 +1,18 @@
+{
+ "ran-network:sNSSAIList": [
+ {
+ "ran-network:sNssai": ${tmp.sNssai},
+ "ran-network:status": "Active",
+ "ran-network:configData": [
+ {
+ "ran-network:configParameter": "maxNumberOfConns",
+ "ran-network:configValue": ${tmp.maxNumberOfConns}
+ },
+ {
+ "ran-network:configParameter": "predictedMaxNumberofConns",
+ "ran-network:configValue": ${tmp.predictedMaxNumberofConns}
+ }
+ ]
+ }
+ ]
+}
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-nSSAIEntry-NRCellCU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-nSSAIEntry-NRCellCU.json
index c28a9149..4000ddf0 100644
--- a/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-nSSAIEntry-NRCellCU.json
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-nSSAIEntry-NRCellCU.json
@@ -1,7 +1,7 @@
{
"ran-network:sNSSAIList": [
{
- "ran-network:sNssai": ${payloadJson.input.sliceProfile.sNSSAI},
+ "ran-network:sNssai": ${tmp.sNSSAI},
"ran-network:status": "Active",
"ran-network:configData": [
{