This page is out of date.
Please see the relevant page for the latest release: e.g. Release I - Run in Docker
This is a brief instruction on how to deploy pm-mapper in docker env and how to configure filters in pm-mapperoru-app along with ics, producer, sdnr simulators, and check logs etc.
Prerequisite
- Docker
- make
- bash
- linux(ubuntu 18+)
...
Code Block |
---|
language | bash |
---|
title | clone pm-mapper nonrtric repo |
---|
|
git clone "https://gerrit.o-ran-sc.org/r/nonrtric" |
...
Code Block |
---|
language | bash |
---|
title | cd tools/developmentgo to subfolder |
---|
|
cd test/usecases/oruclosedlooprecovery/goversion/docker-compose |
run script "start.sh", it will build images of oru-app, sdnr-sim, producer-sim and ics-sim, then it will run "docker-compose up -d" , this docker-compose file is to build all images needed and make all these components up & running:
Code Block |
---|
language | bash |
---|
title | install dmapporu-drapp, cbsics, consul, files-publisher and dmaap-mrproducer, sdnr sims |
---|
|
docker-compose up -dbash start.sh |
After successful run, we should see the docker containers up & running:
Trigger the job:
Code Block |
---|
language | bash |
---|
title | trigger the job |
---|
|
curl -X POST http://localhost:8086/admin/start -d "" |
Check logs on oru-app:
Code Block |
---|
language | bash |
---|
title | check logs |
---|
|
docker logs oru-app |
...
Code Block |
---|
language | bash |
---|
title | clean env |
---|
|
docker stop $(docker ps -aq)
docker system prune -f-compose down |