This page describes how to get the release A version of NonRTRIC up and running. Details of the architecture can be found in the link: Release A.
Procedure to establish the End to End call
...
Build Code
- Download the SDNC nonrtric repo:
git clone "https://gerrit.o-ran-sc.org/r/nonrtric"
...
- Build
...
- Enter into the sdnc-a1-controller project, northbound and oam project will be listedthe code and create docker images.
near-rt-ric-simulator sdnc-a1-controller
Build northbound project with command:cd nonrtric
mvn clean install -Dmaven.test.skip=true- Build oam project with command:
mvn clean install -Dmaven.test.skip=true -P docker
Run A1 Controller Docker Container
- Change directory to:
Enter into the directory of
cdnonrtric/sdnc-a1-controller/oam/installation/src/main/yaml
- Run docker container using the command below and wait until this message appears 'Healthcheck Passed in XX seconds.'
and run the command:MTU=1500 docker-compose up sdnc
Start Simulator:
a1-controller
Run NONRTRIC Dashboard Docker Container
- Run docker container using this Build Simulator project with command:
docker run -p mvn clean install8080:8080 --network=nonrtric-docker-net nonrtric-dashboard:1.0.0-SNAPSHOT
Run NearRIC Simulator Docker Container
- Run docker container using this command:
Run the Simulator in a docker container with a nearric-sim as name and attach to a 'yaml_default' network, which SDCN is also attached.docker run -p 80808181:8080 --network=yaml_defaultnonrtric-docker-net --name=nearRtRic-sim1 nearric-simulator:1.0.0-SNAPSHOT
Make to 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:
check file: nonrtric/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/resources
NearRtRic1 = nearRtRic-sim1:8080
NearRtRic2 = nearRtRic-sim2:8080
update value:
"A1-ADAPTER-API:near-rt-ric-id": "NearRtRic1"
For example:
...
- Change directory to:
cd near-rt-ric-simulator/nearric-service/test - Put some example policy_types and policy_instances inside the nearric-simulator by running the script:
./populate.sh localhost:8181
Open Dashboard UI
- Dashboard UI can be accessed by pointing the web-browser to this URL:
http://localhost:8080/