This page describes how to get the release A version of NonRTRIC up and running locally. All four components of the NonRTRIC repo run inside docker containers, and communicate via a docker network. Details of the architecture can be found in the link: Release B.
git clone "https://gerrit.o-ran-sc.org/r/nonrtric" -b Amber
cd nonrtric/policy-agent/config
vi application.yaml
cd ../..
mvn clean install
cd nonrtric/sdnc-a1-controller/oam/installation/src/main/yaml
docker-compose up a1-controller
docker exec -it a1-controller-container sh
cd opt/opendaylight/data/log/
tail -f karaf.log
Run Near-RT-RIC Simulator Docker Container
docker run -p 8181:8085 --network=nonrtric-docker-net --name=ric1 o-ran-sc/near-rt-ric-simulator:1.0.0-SNAPSHOT
cd nonrtric/near-rt-ric-simulator/ric-plt/a1
curl -X PUT -v "http://localhost:8181/policytypes/STD_QoSNudging_0.2.0" -H "accept: application/json"
-H "Content-Type: application/json" --data-binary @policy_type_STD_QoSNudging_0.2.0.json
docker run -p 8081:8081 --network=nonrtric-docker-net --name=policy-agent-container o-ran-sc/nonrtric-policy-agent:1.0.0-SNAPSHOT
docker run -p 8080:8080 --network=nonrtric-docker-net o-ran-sc/nonrtric-dashboard:1.0.0-SNAPSHOT
http://localhost:8080/