srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
523 stars 178 forks source link

Fix missing gnb command line parameters #908

Open mickaelbaron opened 3 weeks ago

mickaelbaron commented 3 weeks ago

Hi,

Since the latest version of gnb, amf parameter is no longer supported.

In the current docker-compose.yaml to execute gnb program, amf --addr ${OPEN5GS_IP:-10.53.1.2} --bind_addr ${GNB_IP:-10.53.1.3} throw an error.

I propose a fix in this PR. Both addr and bind_addr options must be specified in the desired the configuration file.

Best