...
- Run microservice script for O-RU & O-DU use case
- Run Apex Policy for O-RU & O-DU use case
- Run SDNC stubs for usecases
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 receives 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
SDNR received body: {"o-ran-sc-du-hello-world:du-to-ru-connection": [{"name":"ERICSSON-O-RU-11220","administrative-state":"UNLOCKED"}]} |
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.
- 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/odusliceassurance/goversion/stub" in the repo.
- Build the stub, "go build".
- Start the stub, "./stub"
Code Block | ||||
---|---|---|---|---|
| ||||
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
|