Versions Compared

Key

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

This page describes how to get the release B version of NonRTRIC Non-RT RIC up and running locally with two separate NearRTNear-RT RIC simulator docker containers providing OSC_2.1.0 version of A1 interface.

All four components of the NonRTRIC 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 B page.

...

To support local test with two separate NearRTNear-RT RIC simulator instances:  

  • create a new nonrtric/policy-agent/config/application_configuration.json with the configuration below
  • The controller hostname and port values come from and must match those defined in nonrtric/sdnc-a1-controller/oam/installation/src/main/yaml/docker-compose.yml
  • any defined ric names must match the given docker container names in nearRTnear-RT RIC simulator startup - port is always the simulator's internal 8085

...

  • A1 Controller must be started first to set up docker network
  • Change directory: 
    cd nonrtric/sdnc-a1-controller/oam/installation/src/main/yaml
  • Run docker container using the command below  
    docker-compose up a1-controller
    • the container is ready once message "Healthcheck Passed in XX seconds." appears
    • note that certificate-related errors "cp: can't stat '/opt/opendaylight/current/certs/*': No such file or directory" and "Error: File not found in path entered" can be ignored 
  • The Karaf logs of A1 controller can be followed e.g. by using command 
    docker exec a1-controller-container sh -c "tail -f /opt/opendaylight/data/log/karaf.log"


Run Near-RT - RIC Simulator Docker Containers

...

  • Run docker container using this command once A1 Controller and simulators have been fully started: 
    docker run -p 8081:8081 --network=nonrtric-docker-net --name=policy-agent-container o-ran-sc/nonrtric-policy-agent:1.0.0-SNAPSHOT

  • Once policy-agent is up and running, it establishes connections to all configured NearRTNear-RT RICs
  • If policy-agent-container is configured to log at DEBUG level, the following logs should appear to log to show that connection to the configured RICs has been established successfully via A1 Controller.

...

Access policy-agent swagger API from url: http://localhost:8081/swagger-ui.html

Run Non-RT

...

RIC

...

Control Panel Docker Container

Run docker container using this command: 

...

Open

...

Control Panel UI

Dashboard UI can be accessed by pointing the web-browser to this URL: 

...