Versions Compared

Key

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


This page describes how to test demonstrate the entire flow from Non-RT RIC Controlpanel → Policy Agent →  A1 controller in SDNC -> Near-Realtime RIC Simulator

Table of Contents

Overview of the End to End call

Details of the architecture can be found from the following link: Release B 


Image RemovedImage Added

...

End to End call from Dashboard to Near-RT RIC simulator

Preparation

  • Download the SDNC repo: 
       git clone "https://gerrit.o-ran-sc.org/r/nonrtric"
  • The SDNC A1 Controller could be found in this repo.
  • Download the sim/a1-interface repo:
       git clone "https://gerrit.o-ran-sc.org/r/sim/a1-interface"
  • The near RT RIC simulator could be found in this repo.

Build SDNC project 

  • Enter into the sdnc-a1-controller project, northbound and oam project will be listed. 
       near-rt-ric-simulator sdnc-a1-controller

...

  mvn clean install -Dmaven.test.skip=true

...

  mvn clean install -Dmaven.test.skip=true -P docker

...

  nonrtric/sdnc-a1-controller/oam/installation/src/main/yaml

...

Start Simulator:

  • Go to the simulator project directory  a1-interface/near-rt-ric-simulator/scripts
  • Create a docker image called nearric-simulator:1.0.0-SNAPSHOT: 
      docker build -t nearric-simulator:1.0.0-SNAPSHOT . 
  • Run the Simulator in a docker container with a nearric-sim as name and attach to a 'yaml_default' network, to which SDNC is also attached.
    Set the env '-e A1_VERSION=<a1-interface-version>' in the command below  and replace '<a1-interface-version> with the desired A1 interface version. The simulator currently supports A1 yaml interface versions: 'OSC_2.1.0' and 'STD_1.1.3'
      docker run -p 8080:8085 --network=yaml_default -e A1_VERSION=<a1-interface-version> --name=nearRtRic-sim1 nearric-simulator:1.0.0-SNAPSHOT

Make a call from Open Daylight GUI to Simulator :

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

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

update value:

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

For example:

Image Removed

...

See Release B - Build/Run for building and starting the environment.

Perform Policy Operations via Dashboard

Image Added

  • Click on Config and the screen below with STD_QosNudging_0.2.0 policy type should open

Image Added

  • Click on '+' icon to create new policy

Image Added

  • Choose your ric (ric1 or ric2) from drop-down menu and provide any arbitrary values for QoS Id, Ue Id and Priority

Image Added

  • Submit the policy (you then need to also press Close to return from creation view)
  • An entry to the chosen Near-RT RIC simulator console/log should appear (see, for example, docker logs ric1 in case ric1 policy was created):
172.18.0.6 - - [20/Apr/2020 07:56:04] "PUT /a1-p/policytypes/123/policies/58157215-6182-4fea-a9b4-f3814fbf91eb HTTP/1.1" 202 - 
  • You may repeat the creation process a few times for different rics - below we see one policy created to ric1 and two to ric2

Image Added

  • Click the pen icon to modify any policy

Image Added

  • Modifications are submitted in the same way as in creation, and the resulting simulator log should also be same as the one we saw in creation
172.18.0.6 - - [20/Apr/2020 07:58:12] "PUT /a1-p/policytypes/123/policies/377ac417-5e1e-4088-81cd-f4a5549f79fa HTTP/1.1" 202 -

Image Added

  • Delete any policy by clicking the red trashcan icon

Image Added

  • Confirm deletion and verify the log on simulator side:
172.18.0.6 - - [20/Apr/2020 08:02:19] "DELETE /a1-p/policytypes/123/policies/b204bd1d-f28c-4a05-bb4c-82d49a1b1e12 HTTP/1.1" 202 -