RAN Slice DG - Bug fixes
[ccsdk/distribution.git] / platform-logic / restapi-templates / src / main / json / ranSlice-closed-loop-nearRTRIC-config-patch.json
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-config-patch.json b/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-config-patch.json
new file mode 100644 (file)
index 0000000..d03fff3
--- /dev/null
@@ -0,0 +1,33 @@
+{
+        "ietf-yang-patch:yang-patch": {
+                "patch-id": "ClosedLoopPatch1",
+                "comment": "patch for configuring NearRTRIC SliceProfile ",
+                "edit": [{
+                        "edit-id": "edit1",
+                        "operation": "merge",
+                        "target": "/ran-network:sNSSAIList[ran-network:sNssai='${"tmp.payload.sNSSAI}']",
+                        "value": {
+  "ran-network:sNSSAIList": [
+    {
+      "ran-network:sNssai": ${tmp.payload.sNSSAI},
+      "ran-network:status": "INACTIVE",
+      "ran-network:configData": [
+        {
+          "ran-network:configParameter": "uLThptPerSlice",
+          "ran-network:configValue": ${tmp.uLThptPerSlice}
+        },
+        {
+          "ran-network:configParameter": "dLThptPerSlice",
+          "ran-network:configValue": ${tmp.dLThptPerSlice}
+        },
+         {
+          "ran-network:configParameter": ${tmp.cellLocalId},
+          "ran-network:configValue": ${tmp.predictedMaxNumberofConns}
+        }
+      ]
+    }
+  ]
+}
+                }]
+        }
+}
\ No newline at end of file