This page describes how to test demonstrate the entire flow from Non-Rt RIC Controlpanel -> A1 controller in SDNC -> Near Realtime Ric Simulator
Overview of the End to End call
Details of the architecture can be found from the following link: Release A
Procedure to establish the End to End call
Preparation
- Download the SDNC repo:
git clone "https://gerrit.o-ran-sc.org/r/nonrtric"
- The SDNC A1 Controller could be found in this repo.
- Download the sim/a1-interface repo:
git clone "https://gerrit.o-ran-sc.org/r/sim/a1-interface"
- The near RT RIC simulator could be found in All the required components (NearRT-RIC simulator, SDNC A1 Controller, Policy Agent and Dashboard) are under this repo.
Build SDNC project
- Enter into the sdnc-a1-controller project, northbound and oam project will be listed.
...
- Build northbound project with command:
mvn clean install -Dmaven.test.skip=true
- Build oam project with command:
mvn clean install -Dmaven.test.skip=true -P docker
- Enter into the directory of
nonrtric/sdnc-a1-controller/oam/installation/src/main/yaml
- and run the command:
MTU=1500 docker-compose up a1-controller
Start Simulator:
- Go to the simulator project directory a1-interface/near-rt-ric-simulator/scripts
- Create a docker image called nearric-simulator:1.0.0-SNAPSHOT:
docker build -t nearric-simulator:1.0.0-SNAPSHOT .
- Run the Simulator in a docker container with a nearric-sim as name and attach to a 'yaml_default' network, to which SDNC is also attached.
Set the env '-e A1_VERSION=<a1-interface-version>' in the command below and replace '<a1-interface-version> with the desired A1 interface version. The simulator currently supports A1 yaml interface versions: 'OSC_2.1.0' and 'STD_1.1.3'docker run -p 8080:8085 --network=yaml_default -e A1_VERSION=<a1-interface-version> --name=nearRtRic-sim1 nearric-simulator:1.0.0-SNAPSHOT
Make a call from Open Daylight GUI to Simulator :
- Use browser to http://localhost:8282/apidoc/explorer/index.html#!/NONRT-RIC-API(2019-09-26)
- if password asked, find the related password and username at :
nonrtric/sdnc-a1-controller/oam/installation/sdnc/src/main/scripts/startODL.sh
check the username and passwordODL_ADMIN_USERNAME
ODL_ADMIN_PASSWORD - Make a call in the A1-ADAPTER-API:
...
"A1-ADAPTER-API:near-rt-ric-id": "NearRtRic1"
For example:
Start NonRt RIC Controlpanel: