Versions Compared

Key

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

Copy of Release E - This page describes how to get the release E F version of Non-RT RIC up and running locally with three separate Near-RT RIC A1 simulator docker containers providing STD_1.1.3, STD_2.0.0 and OSC_2.1.0 versions of the A1 interface.

All components of the Non-RT RIC run as docker containers and communicate via a private docker network with container ports, ports also available on localhost. Details of the architecture can be found from Release EF page.

Table of Contents

Project Requirements

...

In general, there is no need to build the images manually unless there are code changes made by the user, so release images should be used. Instruction on how to build all components, see. Release E F - Build.


The run commands throughout this page uses the release images and tags. Replace the release images/tags in the container run commands in the instructions if snapshot images are desired. 

...

Component
(components marked with * is not released in E)
Release image and version tagManual snapshot (only available if manually built)
and version tag
Policy Management Service

nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-a1-policy-management-serviceplt-a1policymanagementservice:2.3.1

o-ran-sc/nonrtric-a1-policy-management-serviceplt-a1policymanagementservice:2.3.1-SNAPSHOT

Near-RT RIC A1 Simulator

nexus3.o-ran-sc.org:10002/o-ran-sc/a1-simulator:2.2.0

o-ran-sc/a1-simulator:latest

Information Coordinator Service

nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-informationplt-coordinator-serviceinformationcoordinatorservice:1.2.1

o-ran-sc/nonrtric-informationplt-coordinator-serviceinformationcoordinatorservice:1.2.1-SNAPSHOT

Non-RT RIC Control Panel

nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-controlpanel:2.3.0

o-ran-sc/nonrtric-controlpanel:2.3.0-SNAPSHOT

SDNC A1-Controller

nexus3.onap.org:10002/onap/sdnc-image:2.2.3

Use release version
Gateway*

nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-gateway:1.0.0

o-ran-sc/nonrtric-gateway:1.1.0-SNAPSHOT
App Catalogue Service*

nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-rplt-app-cataloguerappcatalogue:1.0.2

o-ran-sc/nonrtric-rplt-app-cataloguerappcatalogue:1.0.2-SNAPSHOT
Helm Manager

nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-helmplt-managerhelmmanager:1.1.1

o-ran-sc/nonrtric-helmplt-managerhelmmanager:1.1.1-SNAPSHOT
Dmaap Mediator Producer

nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-dmaapplt-mediator-producerdmaapmediatorproducer:1.0.1

Not applicable (Set as parameter for docker build)
Dmaap Adaptor Service

nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-dmaapplt-adaptordmaapadaptor:1.0.1

o-ran-sc/nonrtric-dmaapplt-adaptordmaapadaptor:1.0.1-SNAPSHOT

(*) Note: For images not released in E (components marked with *) the snap shot images built manually will get an image tag of one step above the release imaged tag. 

...

Code Block
languagebash
docker run --rm -v <absolute-path-to-file>/application_configuration.json:/opt/app/policy-agent/data/application_configuration.json -p 8081:8081 -p 8433:8433 --network=nonrtric-docker-net --name=policy-agent-container nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-a1-policy-management-serviceplt-a1policymanagementservice:2.3.1

Wait 1 minute to allow the container to start and to read the configuration. Then run the command below another terminal. The output should match the configuration in the file - all three rics (ric1, ric2 and ric3) should be included in the output. Note that each ric has the state "UNAVAILABLE" until the simulators are started.

...

Code Block
languagebash
docker run --rm -p 8680:8680 -p 8633:8633 --network=nonrtric-docker-net --name=rapp-catalogue-service nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-rplt-app-cataloguerappcatalogue:1.0.2


Verify that the service is up and running

...

Code Block
languagebash
docker run \
    --rm  \
    -it \
    -p 8112:8083  \
    --name helmmanagerservice \
    --network nonrtric-docker-net \
    -v $(pwd)/mnt/database:/var/helm-manager-service \
    -v ~/.kube:/root/.kube \
    -v ~/.helm:/root/.helm \
    -v ~/.config/helm:/root/.config/helm \
    -v ~/.cache/helm:/root/.cache/helm \
    -v $(pwd)/config/application.yaml:/etc/app/helm-manager/application.yaml \
    nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-helmplt-managerhelmmanager:1.1.1

Make sure the app has started by listing the current charts - response should be empty json array. 

...

Code Block
languagebash
docker run --rm \
-v <absolute-path-to-config-file>/application.yaml:/opt/app/dmaap-adaptor-service/config/application.yaml \
-v <absolute-path-to-config-file>/application_configuration.json:/opt/app/dmaap-adaptor-service/data/application_configuration.json \
-p 9086:8084 -p 9087:8435 --network=nonrtric-docker-net --name=dmaapadapterservice  nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-dmaapplt-adaptordmaapadaptor:1.0.1

Setup jobs to produce data according to the types in application_configuration.json

...

Code Block
languagebash
docker run --rm -v \
<absolute-path-to-config-file>/type_config.json:/configs/type_config.json \
-p 8085:8085 -p 8185:8185 --network=nonrtric-docker-net --name=dmaapmediatorservice \
-e "INFO_COORD_ADDR=https://informationservice:8434" \
-e "DMAAP_MR_ADDR=https://message-router:3905" \
-e "LOG_LEVEL=Debug" \
-e "INFO_PRODUCER_HOST=https://dmaapmediatorservice" \
-e "INFO_PRODUCER_PORT=8185" \
nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-dmaapplt-mediator-producerdmaapmediatorproducer:1.0.1

Setup jobs to produce data according to the types in type_config.json

...