Versions Compared

Key

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

...

Run SDNC stub for O-RU O-DU Closed Loop Recovery usecase

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 a REST call it prints the body of the call to the console.

The stub is realized in Go. To run the stub, follow the steps below.

  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/oruclosedlooprecovery/goversion/stub/sdnr" in the repo.
  4. Build the stub, "go build".
  5. Start the stub, "./sdnr"
Code Block
languagebash
titleRun SDNC stub
cd nonrtric/test/usecases/oruclosedlooprecovery/goversion/stub/sdnr
go build
./sdnr [--port <portNo>]

Example:
└─ $ ▶ ./sdnr --port 3906
Starting SDNR on port:  3906


Run SDNC stub for O-DU Slice Assurance usecase