Versions Compared

Key

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

UPDATE IN PROGRESS

This page describes how to run various NONRTRIC functions in Docker.

...

Start the container with the following command. Replace "<absolute-path-to-file>" with the the path to the created configuration file in the command. The configuration file is mounted to the container. There will be WARN messages appearing in the log until the simulators are started.

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-plt-a1policymanagementservice:2.

...

9.

...

0


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.

...

Start the SNDC A1 controller with the following command, using the created docker-compose file.

docker

-

compose up

Open this url URL below in a web browser to verify that the SDNC A1 Controller is up and running. It may take a few minutes until the endpoint is available.

...

docker run --rm --network=nonrtric-docker-net -p 8085:8085 -p 8185:8185 -e A1_VERSION=OSC_2.1.0 -e ALLOW_HTTP=true--name=ric1 nexus3.o-ran-sc.org:10002/o-ran-sc/a1-simulator:2.78.0

ric2

docker run --rm --network=nonrtric-docker-net -p 8086:8085 -p 8186:8185 -e A1_VERSION=STD_1.1.3 -e ALLOW_HTTP=true--name=ric2 nexus3.o-ran-sc.org:10002/o-ran-sc/a1-simulator:2.78.0

ric3

docker run --rm --network=nonrtric-docker-net -p 8087:8085 -p 8187:8185 -e A1_VERSION=STD_2.0.0 -e ALLOW_HTTP=true --name=ric3 nexus3.o-ran-sc.org:10002/o-ran-sc/a1-simulator:2.78.0

Wait at least one minute to let the policy management service synchronise the rics. Then run the command below another terminal. The output should match the configuration in the file. Note that each ric now has the state "AVAILABLE".

...

docker run --rm --network=nonrtric-docker-net -p 8083:8083 -p 8434:8434 --name=information-service-container nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-plt-informationcoordinatorservice:1.76.0

Verify that the Information Coordinator Service is started and responding (response is an empty array).

...

Check that the component has started.

curl localhost:8090
Hello, World!


Note: an updated staged image is available at "nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-plt-capifcore:1.4.0"