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
changes/49/27449/1
Oliver Smith 12 months ago
parent d264ec6310
commit 0d9bacc91f
  1. 1
      net/config_2g3g
  2. 6
      net/templates/run.sh

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

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

Loading…
Cancel
Save