-
Task
-
Resolution: Done
-
High
-
None
-
NONRTRIC Rel-I Sprint 4, NONRTRIC Rel-J Dev Sprint #1
Attached a small resource definition for Kubernetes that allows spinning up an A1 mediator + Redis in one
pod. This can be used for basic testing. No magic. The two RMR-related environment variables basically make it
use an empty routing table (instead of waiting for one from the RMR routing manager). I.e., anything
that requires interaction with xApps will not work in this setup. Below a few commands to test how it works.
The near-RT RIC A1 mediator uses Redis to store the data related to polices. It could also be operated without
Redis, but then there’d not much functionality, other than first curl command below. The versions number in
the resource yaml for A1 mediator is the same as listed here
https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=78217449
The one for Redis is the same as here:
see line #81 in
$ kubectl apply -f ./a1_plus_redis.yaml
### after deploying use these commands to check what works### commands are taken from https://github.com/o-ran-sc/ric-plt-a1/blob/master/docs/user-guide-api.rst
$ kubectl get pods -o wideNAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATESmya1 2/2 Running 0 85s 10.244.0.147 osc3 <none> <none>
$ curl -s -X GET http://{*}10.244.0.147{*}:10000/a1-p/policytypes | jq .[]
$ curl -X PUT --header "Content-Type: application/json" --data-raw "`cat create.json`" http://10.244.0.147:10000/a1-p/policytypes/20008$ echo $?0
$ curl -s -X GET http://10.244.0.147:10000/a1-p/policytypes | jq .[{}}}{{{} 20008{}}}{{{}]
$ curl -s -X GET http://10.244.0.147:10000/a1-p/policytypes/20008 | jq .{}{ "create_schema": { "$schema": http://json-schema.org/draft-07/schema#, "additionalProperties": false, "properties": { "threshold": { "default": 0, "type": "integer" }}}{{ }, "type": "object" }, "description": "tsa parameters", "name": "tsapolicy", "policy_type_id": 20008}
- relates to
-
RIC-999 A1 alignment with A1AP
- Done
-
RIC-1031 Data model is not compliant to latest A1 specs
- To Do
-
NONRTRIC-892 A1-Simulator - Investigate changes in OSC Near-RT-RIC A1 Mediator
- Done
-
RIC-972 URL for A1 mediator to align with spec.
- Done
-
NONRTRIC-955 NONRTRIC - Demonstrate near-rt-ric A1mediator in integration test env.
- To Do
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
12018,2 | Creating an FTC for RICMEDIATOR | master | nonrtric | Status: MERGED | +2 | +1 |
12019,1 | Minor fix for a1pms_api_function | master | nonrtric | Status: MERGED | +2 | +1 |
12576,3 | Aligning FTC's for Mediator with Custom Adapter | master | nonrtric | Status: MERGED | +2 | +1 |