Closed werefin closed 4 months ago
Do you know how to start it manually inside docker?
Then, you can just add a RUN
command here: https://github.com/srsran/oran-sc-ric/blob/main/ric/images/rtmgr_sim/Dockerfile
Hi @pgawlowicz, thanks for the answer.
Should I follow something like this? In which the rmr
package is first taken from packagecloud.io
and then run it?
Thanks in advance.
wait, do you want RMR in Routing Manager Simulator or do you want to use the real Routing Manager?
No, I want to use the Routing Manager Simulator and just activate the rmr
library internally.
I was thinking that I only need to copy/paste the lines below to solve the issue.
RUN apt update && apt install ca-certificates libgnutls30 -y
# Install rmr shared library
ARG RMRVERSION=4.9.4
RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr_${RMRVERSION}_amd64.deb && rm -rf rmr_${RMRVERSION}_amd64.deb
# Install rmr development header files
RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr-dev_${RMRVERSION}_amd64.deb && rm -rf rmr-dev_${RMRVERSION}_amd64.deb
I'm sorry for the misunderstanding.
no problem, but why do you need RMR in the simulator?
I think you need L8-L13, L31,L33, L34, L60 from: https://github.com/srsran/oran-sc-ric/blob/main/ric/images/ric-plt-xapp-frame-py/Dockerfile
no problem, but why do you need RMR in the simulator?
The main reason is that I want to retrieve first the routing table using RMR library, and after that manipulate it to perform some tests.
I think you need L8-L13, L31,L33, L34, L60 from: https://github.com/srsran/oran-sc-ric/blob/main/ric/images/ric-plt-xapp-frame-py/Dockerfile
That seems that it is not activated properly, since there's no RMR [info]
message displayed.
could you enter the docker container and try to run /opt/e2/rmr_probe
?
That's the result:
Did you copy the lines listed above and rebuild the docker image?
could you check if there is rmr_probe
inside this container?
hmm, the each docker container in this repo uses this route table https://github.com/srsran/oran-sc-ric/blob/main/ric/configs/routes.rtg, so you do not have to get it thought the RMR. Since this file is linked to each container it is enough to manipulate this file on your local machine as you initially tested. Or do you want to do sth more?
hmm, the each docker container in this repo uses this route table https://github.com/srsran/oran-sc-ric/blob/main/ric/configs/routes.rtg, so you do not have to get it thought the RMR. Since this file is linked to each container it is enough to manipulate this file on your local machine as you initially tested. Or do you want to do sth more?
Ok thanks a lot, I'll close the issue.
Hi @pgawlowicz.
Sorry to bother you again. However, I noticed that regarding the route manager simulator,
rmr.init()
is not called to initialize the RMR library provided to send/receive messages via the xApp, as you can see below.Obviously this I don't think can be done at the xApp level, but I should do it directly from the
docker-compose.yml
file or from thertmng.yaml
.Do you have any ideas on how to solve this issue? Would it be possible to start the RMR library for the route manager somehow from the docker files?
Thanks in advance.
Best regards, David