Versions Compared

Key

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

...

An SDNC stub is provided for the O-RU O-DU Closed Loop Recovery usecase. The stub listens to port 3905, can be changed with the flag "--port". When it recieves receives a REST call it prints the body of the call to the console.

...

Run SDNC stub for O-DU Slice Assurance usecase

This stub has been coded on Go, similar to the simulator used in O-RU O-DU Closed loop recovery use case previously described. However,  this stub simulates both Dmaap VES messages and also SDNC. By default, the stub listens to port 3905, can be changed with the flag "--sdnr-port". 

To run the stub, follow the steps below. If you follow the instructions for "Run SDNC stub for O-RU O-DU Closed Loop Recovery usecase", go to step 3 instead.

  1. Go must be installed, see https://go.dev/doc/install.
  2. Pull the nonrtric repo, https://gerrit.o-ran-sc.org/r/admin/repos/nonrtric.
  3. Goto "test/usecases/odusliceassurance/goversion/stub" in the repo.
  4. Build the stub, "go build".
  5. Start the stub, "./stub"
Code Block
languagebash
titleRun SDNC stub
cd nonrtric/test/usecases/odusliceassurance/goversion/stub
go build
./stub [--sdnr-port <portNo>] [--dmaap-port <portNo>]

Example:
└─ $ ▶ ./sdnr --sdnr-port 3906
Starting DmaapMR stub on port:  3905
Starting SDNR stub on port:  3606