...
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.
- 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
|