net: don't run osmo-gbproxy by default

osmo-gbproxy is not part of any of the convenience make targets in
gen_makefile.py (cn, cn-bsc, usrp). When using the typical workflow of
building one of these convenience targets first, then attempting to run
the network, the osmo-gbproxy window just says command not found.

With the default config_2g3g, it is not needed when only using one BTS,
so add a new config variable GBPROXY_RUN_IN_OSMO_DEV=0 and use it in
run.sh.

Change-Id: Ib1349809997ea6062ec3c43df92abab9fbfad1ea
This commit is contained in:
Oliver Smith 2022-02-23 12:43:37 +01:00
parent d264ec6310
commit 0d9bacc91f
2 changed files with 6 additions and 1 deletions

View File

@ -79,6 +79,7 @@ SGSN_GB_PORT=23000
GBPROXY_IP="${TO_RAN_IP}" GBPROXY_IP="${TO_RAN_IP}"
GBPROXY_GB_PORT=7777 GBPROXY_GB_PORT=7777
GBPROXY_RUN_IN_OSMO_DEV=0
PCU_GB_LOCAL_PORT=23000 PCU_GB_LOCAL_PORT=23000

View File

@ -238,7 +238,11 @@ fi
term "$hlr" HLR term "$hlr" HLR
term "$sgsn" SGSN term "$sgsn" SGSN
term "$gbproxy" GBPROXY
if [ "${GBPROXY_RUN_IN_OSMO_DEV}" = 1 ]; then
term "$gbproxy" GBPROXY
fi
term "$mgw4msc" MGW4MSC term "$mgw4msc" MGW4MSC
term "$msc" MSC term "$msc" MSC
term "$hnbgw" HNBGW term "$hnbgw" HNBGW