This page describes how to get the release C version of Non-RT RIC up and running locally with two separate Near-RT RIC simulator docker containers providing OSC_2.1.0 version of A1 interface.
...
- Download the nonrtric repo:
git clone "https://gerrit.o-ran-sc.org/r/nonrtric"
- Checkout cherry branch:
git checkout --track origin/cherry
Configure policy-agent
To support local test with two separate Near-RT RIC simulator instances:
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "config": { "//description": "Application configuration", "ric": [ { "name": "ric1", "baseUrl": "http://ric1:8085/", "managedElementIds": [ "kista_1", "kista_2" ] }, { "name": "ric2", "baseUrl": "http://ric2:8085/", "managedElementIds": [ "kista_3", "kista_4" ] } ] } } |
...
Download the nonrtric repo (defaults to master branch):
git clone "https://gerrit.o-ran-sc.org/r/portal/nonrtric-controlpanel"
Verify controlpanel configuration
...
- Run docker container using this command once A1 Controller and simulators have been fully started:
docker run -p 8081:8081 -p 8433:8433 --network=nonrtric-docker-net --name=policy-agent-container o-ran-sc/nonrtric-policy-agent:2.2.0-SNAPSHOT
- Once policy-agent is up and running, it establishes connections to all configured Near-RT RICs
- If policy-agent-container is configured to log at DEBUG level, the following logs should appear to log to show that connection to the configured RICs has been established successfully via A1 Controller.
...
For troubleshooting/verification purposes you can view/access the policy-agent swagger API from url: http://localhost:8081/swagger-ui.html
Run Enrichment Service Docker Container
- Run docker container using this command once A1 Controller and simulators have been fully started:
docker run -p 8083:8083 -p 8434:8434 --network=nonrtric-docker-net --name=enrichment-service-container o-ran-sc/nonrtric-enrichment-coordinator-service:1.1.0-SNAPSHOT
- Change directory:
cd nonrtric/docker-compose/data/testdata/ECS
- Put an example Enrichment information Producer by running these curl commands:
curl -X PUT -v "http://localhost:8083/ei-producer/v1/eiproducers/1" -H "accept: application/json" \
-H "Content-Type: application/json" --data-binary @EiProducer.json
- Put an example Enrichment information Job by running these curl commands:
curl -X PUT -v "http://localhost:8083/A1-EI/v1/eijobs/job1" -H "accept: application/json" \
-H "Content-Type: application/json" --data-binary @EiProducer.json
Run Non-RT RIC Control Panel Docker Container
...