Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update for maintenance release

...

  • Download the nonrtric repo: 
     git clone "https://gerrit.o-ran-sc.org/r/nonrtric" -b Amber
  • Build the code and create docker images. 
    cd nonrtric../..
    mvn clean install

Run A1 Controller Docker Container

  • Change directory to: 
    cd 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'. 
    docker-compose up a1-controller

...

  • The Karaf logs of A1 controller can be seen using the following commands: 
    docker exec -it a1-controller-container sh
    cd opt/opendaylight/data/log/
    tail -f karaf.log


Run Near-RT-RIC Simulator Docker Container

  • Run docker container using this command: 
    docker run -p 80808181:80808085 --network=nonrtric-docker-net nonrtric-dashboard --name=ric1 o-ran-sc/near-rt-ric-simulator:1.0.0-SNAPSHOT
  • Change directory to:  
    cd nonrtric/near-rt-ric-simulator/ric-plt/a1
  • Put an example policy_type inside the near-rt-ric-simulator by running this curl command:

...

Run Policy-agent Docker Container

  • Run docker container using this command: 
    docker run -p 81818081:80808081 --network=nonrtric-docker-net --name=nearRtRicpolicy-agent-sim1 nearric-simulatorcontainer o-ran-sc/nonrtric-policy-agent:1.0.0-SNAPSHOT

Run Non-RT-RIC Dashboard Docker Container

  • Run docker container using this command: 
    docker run -p 8080:8080 --network=nonrtric-docker-net o-ran-sc/nonrtric-dashboard:1.0.0-SNAPSHOT
  • Change directory to:  
    cd nonrtric/near-rt-ric-simulator/nearric-service/test
  • Put some example policy_types and policy_instances inside the nearric-simulator by running this test script:
    ./populate.sh localhost:8181

Open Dashboard UI