Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All components of the Non-RT RIC (from three different repos) run inside docker containers and communicate via a docker network. Details of the architecture can be found from Release D page.

Table of Contents

Project Requirements

  • Java 11 (make sure that JAVA_HOME environment variable points to correct Java version)
  • Docker and docker-compose (latest)
  • Maven 3.6

Build Code

Build nonrtric containers

Download the nonrtric repo (defaults to master branch): 

...

     git checkout dawn --track origin/dawn

Build the code and create docker images

To build docker images of sdnc-a1-controller, policy-agent, enrichment coordinator service and r-app-catalogue:

...

Code Block
languagebash
themeEmacs
$ docker images
o-ran-sc/nonrtric-r-app-catalogue                   1.0.1-SNAPSHOT 
o-ran-sc/nonrtric-enrichment-coordinator-service    1.1.0-SNAPSHOT 
o-ran-sc/nonrtric-policy-agent                      2.2.0-SNAPSHOT 
o-ran-sc/nonrtric-helm-manager                      1.0.0-SNAPSHOT

Build near-rt-ric-simulator container

Download the near-rt-ric-simulator repo (defaults to master branch - the simulator supports all available A1 versions): 

     git clone "https://gerrit.o-ran-sc.org/r/sim/a1-interface"

Create docker image

To create docker image near-rt-ric-simulator (note that the given image name must match the name given in docker startup later):

...

Code Block
languagebash
themeEmacs
$ docker images
o-ran-sc/nonrtric-r-app-catalogue                  1.0.1-SNAPSHOT   
o-ran-sc/nonrtric-enrichment-coordinator-service   1.1.0-SNAPSHOT   
o-ran-sc/nonrtric-policy-agent                     2.2.0-SNAPSHOT
o-ran-sc/nonrtric-helm-manager                     1.0.0-SNAPSHOT  
near-rt-ric-simulator                              latest           

Build NONRTRIC / Control panel and gateway containers

Download the nonrtric repo (defaults to master branch): 

     git clone "https://gerrit.o-ran-sc.org/r/portal/nonrtric-controlpanel"

git checkout dawn --track origin/dawn

Build the code and create docker images

Code Block
languagebash
cd nonrtric-controlpanel/nonrtric-gateway
mvn clean install
docker build --build-arg JAR=nonrtric-gateway-1.0.0-SNAPSHOT.jar -t o-ran-sc/nonrtric-gateway:1.0.0-SNAPSHOT .

cd nonrtric-controlpanel/webapp-frontend
docker build -t o-ran-sc/nonrtric-controlpanel:2.2.0-SNAPSHOT .

...

Code Block
languagebash
themeEmacs
$ docker images
o-ran-sc/nonrtric-r-app-catalogue                  1.0.1-SNAPSHOT   
o-ran-sc/nonrtric-enrichment-coordinator-service   1.1.0-SNAPSHOT   
o-ran-sc/nonrtric-policy-agent                     2.2.0-SNAPSHOT
o-ran-sc/nonrtric-helm-manager                     1.0.0-SNAPSHOT  
near-rt-ric-simulator                              latest      
o-ran-sc/nonrtric-gateway                          1.0.0-SNAPSHOT
o-ran-sc/nonrtric-controlpanel                     2.2.0-SNAPSHOT

Build the Helm Manager

See this sub-page:  Build/Run Helm Manager for building only the helm manager.