Versions Compared

Key

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

This page describes how to get the release A version of NonRTRIC up and running. Details of the architecture can be found in the link: Release A.

Procedure to establish the End to End call

...

Build Code

  • Download the SDNC nonrtric repo: 
       git clone "https://gerrit.o-ran-sc.org/r/nonrtric"

...


  • Build

...

  • Enter into the sdnc-a1-controller project, northbound and oam project will be listedthe code and create docker images
       near-rt-ric-simulator sdnc-a1-controller

  • Build northbound project with command: 
      cd nonrtric
    mvn clean install
    -Dmaven.test.skip=true
  • Build oam project with command: 
      mvn clean install -Dmaven.test.skip=true -P docker

Run A1 Controller Docker Container

  • Change directory to: 

    cd
    Enter into the directory of
      nonrtric/sdnc-a1-controller/oam/installation/src/main/yaml
  • Run docker container using the command below and wait until this message appears 'Healthcheck Passed in XX seconds.'

    and run the command: 
      MTU=1500 docker-compose up sdnc

Start Simulator:

  • a1-controller

Run NONRTRIC Dashboard Docker Container

  • Run docker container using this Build Simulator project with command: 

    docker run -p mvn clean install8080:8080 --network=nonrtric-docker-net nonrtric-dashboard:1.0.0-SNAPSHOT

Run NearRIC Simulator Docker Container

  • Run docker container using this command: 

    Run the Simulator in a docker container with a nearric-sim as name and attach to a 'yaml_default' network, which SDCN is also attached.
      docker run -p 80808181:8080 --network=yaml_defaultnonrtric-docker-net --name=nearRtRic-sim1 nearric-simulator:1.0.0-SNAPSHOT

Make to call from Open Daylight GUI to Simulator :

check file: nonrtric/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/resources

NearRtRic1 = nearRtRic-sim1:8080
NearRtRic2 = nearRtRic-sim2:8080

update value:

"A1-ADAPTER-API:near-rt-ric-id": "NearRtRic1"

For example:

...

  • Change directory to:  

    cd near-rt-ric-simulator/nearric-service/test
  • Put some example policy_types and policy_instances inside the nearric-simulator by running the script:

    ./populate.sh localhost:8181

Open Dashboard UI