Versions Compared

Key

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

...

This page describes how to build release

...

F version of Non-RT RIC. 

Note: In general, there is no need to build the images manually. All images for the release are available in nexus image repositories.  Please refer to the page  Release E F - Run in Docker for running the release E F Non-RT RIC.  

Details of the architecture can be found from Release E page. F page. 

(Note: The actual docker image version numbers/tags may be different from the instructions below as development continues in the relevant repositories)

Table of Contents

Project Requirements

  • Java 11 (make sure that JAVA_HOME environment variable points to correct Java version).
  • Docker and docker-compose (latest).
  • git (latest) -  for downloading code repos.
  • Maven 3.6.

Build Code

Build nonrtric Docker containers

Download the nonrtric repo::following repos:

     git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/a1policymanagemntservice" -b f-release
     git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/dmaapadapter" -b f-release
     git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/dmaapmediatorproducer -b f-release
     git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/helmmanager" -b f-release
     git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/informationcoordinatorservice" -b f-release
     git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/rappcatalogue" -b f-release
     git clone "https://gerrit.o-ran-sc.org/r/nonrtric/rapp/ransliceassurance" -b e-release

...

f-release
     git clone "https://gerrit.o-ran-sc.org/r/nonrtric/rapp/orufhrecovery" -b f-release

To build docker images of r-app-catalogue,  information-coordinator-service, policy-management-service, helm-manager, and dmaap-adaptor, -adapter, go into the repo of each product and run the following command:

Code Block
languagebash
mvn clean install -Dmaven.test.skip=true

After build, you should be able to see logs like this:

Image Added

To build docker images of dmaap-mediator-producer as well as images for the use casesocases o-du-slice-assurance andoand o-ru-closed-loop-consumer, go into the repo of each product and run the command below. Note! The use cases have more than one implementation, in subfolders. Choose the version needed and perform the build in the corresponding subfolder.

Code Block
languagebash
cddocker nonrtric
mvn clean install -Dmaven.test.skip=true

After build, you should be able to see logs like this:

Image Removed

build -t <image-name>:<image-version> .

If the build was successful images with following name and tag shall be built, use . Use the command 'docker images' to view newly built images in the local docker registry.

Code Block
languagebash
themeEmacs
$ docker images
o-ran-sc/nonrtric-rplt-app-cataloguerappcatalogue                   1.1.0.2-SNAPSHOT 
o-ran-sc/nonrtric-informationplt-coordinator-serviceinformationcoordinatorservice   1.23.10-SNAPSHOT 
o-ran-sc/a1nonrtric-policy-management-service        plt-a1policymanagementservice       2.34.10-SNAPSHOT 
o-ran-sc/nonrtric-helmplt-managerhelmmanager                      1.12.10-SNAPSHOT
o-ran-sc/nonrtric-dmaapplt-adaptordmaapadapter                     1.1.0.1-SNAPSHOT
o-ran-sc/nonrtric-dmaapplt-mediator-producerdmaapmediatorproducer           1.1.0.1-SNAPSHOT
o-ran-sc/nonrtric-o-du-slice-assurancerapp-ransliceassurance              1.1.0.2
o-ran-sc/nonrtric-o-ru-closed-loop-consumerrapp-orufhrecovery                  1.1.0.1 

Build near-rt-ric-simulator container

 

(Note: The actual docker image version numbers/tags may be different as development continues in the relevant repositories. Use the latest version numbers in the instructions below)

Build A1 simulator (previously called Near-RT RIC A1 Interface) container

Download the A1 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" -b f-release

Create docker image

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

Code Block
languagebash
cd a1-interface/near-rt-ric-simulator
docker build -t near-rt-ric-simulator:latest .

You Using the command below you can check that the image name below is in docker using:the list of available images.

Code Block
languagebash
themeEmacs
$ docker images
o-ran-sc/nonrtric-r-app-catalogue                   1.0.2-SNAPSHOT 
o-ran-sc/nonrtric-information-coordinator-service   1.2.1-SNAPSHOT 
o-ran-sc/a1-policy-management-service               2.3.1-SNAPSHOT 
o-ran-sc/nonrtric-helm-manager                      1.1.1-SNAPSHOT
o-ran-sc/nonrtric-dmaap-adaptor                     1.0.1-SNAPSHOT
o-ran-sc/nonrtric-dmaap-mediator-producer           1.0.1-SNAPSHOT
o-ran-sc/nonrtric-o-du-slice-assurance              1.0.2
o-ran-sc/nonrtric-o-ru-closed-loop-consumer         1.0.1 
near-rt-ric-simulator                               latest           

...

Download the nonrtric repo:  

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

Build the code and create docker images

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

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

You Using the command below you can check that the image is in docker using:names below are in the list of available images.

Code Block
languagebash
themeEmacs
$ docker images
o-ran-sc/nonrtric-r-app-catalogue                   1.0.2-SNAPSHOT 
o-ran-sc/nonrtric-information-coordinator-service   1.2.1-SNAPSHOT 
o-ran-sc/a1-policy-management-service               2.3.1-SNAPSHOT 
o-ran-sc/nonrtric-helm-manager                      1.1.1-SNAPSHOT
o-ran-sc/nonrtric-dmaap-adaptor                     1.0.1-SNAPSHOT
o-ran-sc/nonrtric-dmaap-mediator-producer           1.0.1-SNAPSHOT
o-ran-sc/nonrtric-o-du-slice-assurance              1.0.2
o-ran-sc/nonrtric-o-ru-closed-loop-consumer         1.0.1 
near-rt-ric-simulator                               latest  
o-ran-sc/nonrtric-gateway                           1.1.0-SNAPSHOT
o-ran-sc/nonrtric-controlpanel                      2.3.0-SNAPSHOT

(Note: The actual docker image version numbers/tags may be different as development continues in the relevant repositories)