...
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.
- Go must be installed, see https://go.dev/doc/install.
- Pull the nonrtric repo, https://gerrit.o-ran-sc.org/r/admin/repos/nonrtric.
- Goto "test/usecases/oruclosedlooprecovery/goversion/stub/sdnr" in the repo.
- Build the stub, "go build".
- Start the stub, "./sdnr"
Code Block | ||||
---|---|---|---|---|
| ||||
cd nonrtric/test/usecases/oruclosedlooprecovery/goversion/stub/sdnr
go build
./sdnr [--port <portNo>]
Example:
└─ $ ▶ ./sdnr --port 3906
Starting SDNR on port: 3906 |