ttcn3-bts: Add osmux configurations

Requires: osmo-ttcn3-hacks.git I1af23c7a60b05edc3b544f1fea0023f48e89f7a7
Requires: osmo-bts.git Ib80be434c06d07b3611bd18ae25dff8b14a7aad9
Related: SYS#5987
Change-Id: I185b77eb4fa05501f098d89b80b66168349175bb
This commit is contained in:
Pau Espin 2022-08-12 15:52:33 +02:00 committed by pespin
parent e5f5f273cf
commit 5226db6c01
3 changed files with 23 additions and 0 deletions

View File

@ -16,6 +16,7 @@ BTS_Tests.mp_pcu_socket := "/data/unix/pcu_sock"
L1CTL_PortType.m_l1ctl_sock_path := "/data/unix/osmocom_l2"
BTS_Tests.mp_ctrl_ip := "172.18.9.20"
BTS_Tests.mp_rtpem_bind_ip := "172.18.9.10"
BTS_Tests.mp_osmuxem_bind_ip := "172.18.9.10"
[MAIN_CONTROLLER]

View File

@ -7,5 +7,7 @@ bts 0
oml remote-ip 172.18.9.11
gsmtap-remote-host 172.18.9.10
pcu-socket /data/unix/pcu_sock
osmux
local-ip 172.18.9.20
ctrl
bind 0.0.0.0

View File

@ -144,6 +144,11 @@ cp generic/osmo-bsc.gen.cfg $VOL_BASE_DIR/bsc/
mkdir $VOL_BASE_DIR/bts
mkdir $VOL_BASE_DIR/bts/unix
cp generic/osmo-bts.gen.cfg $VOL_BASE_DIR/bts/
# Disable until osmo-bts release > 1.5.0
if ! image_suffix_is_master; then
sed -i "/^ logging level osmux info/d" $VOL_BASE_DIR/bts/osmo-bts.gen.cfg
sed -i "/^ osmux/{N;N;N;N;d;}" $VOL_BASE_DIR/bts/osmo-bts.gen.cfg
fi
mkdir $VOL_BASE_DIR/unix
@ -165,6 +170,11 @@ docker container kill ${BUILD_TAG}-trxcon
docker container kill ${BUILD_TAG}-fake_trx
docker container kill ${BUILD_TAG}-bts
cp virtphy/osmo-bts.gen.cfg $VOL_BASE_DIR/bts/
# Disable until osmo-bts release > 1.5.0
if ! image_suffix_is_master; then
sed -i "/^ logging level osmux info/d" $VOL_BASE_DIR/bts/osmo-bts.gen.cfg
sed -i "/^ osmux/{N;N;N;N;d;}" $VOL_BASE_DIR/bts/osmo-bts.gen.cfg
fi
start_bts virtual 0
start_virtphy
# ... and execute the testsuite again with different cfg
@ -177,6 +187,11 @@ docker container kill ${BUILD_TAG}-virtphy
docker container kill ${BUILD_TAG}-bts
cp oml/osmo-bts.gen.cfg $VOL_BASE_DIR/bts/
# Disable until osmo-bts release > 1.5.0
if ! image_suffix_is_master; then
sed -i "/^ logging level osmux info/d" $VOL_BASE_DIR/bts/osmo-bts.gen.cfg
sed -i "/^ osmux/{N;N;N;N;d;}" $VOL_BASE_DIR/bts/osmo-bts.gen.cfg
fi
start_bts trx 1
start_fake_trx
start_trxcon
@ -186,6 +201,11 @@ start_testsuite oml
# 4) Frequency hopping tests require different configuration files
cp fh/osmo-bsc.gen.cfg $VOL_BASE_DIR/bsc/
cp generic/osmo-bts.gen.cfg $VOL_BASE_DIR/bts/
# Disable until osmo-bts release > 1.5.0
if ! image_suffix_is_master; then
sed -i "/^ logging level osmux info/d" $VOL_BASE_DIR/bts/osmo-bts.gen.cfg
sed -i "/^ osmux/{N;N;N;N;d;}" $VOL_BASE_DIR/bts/osmo-bts.gen.cfg
fi
# restart the BSC/BTS and run the testsuite again
docker container kill ${BUILD_TAG}-bts
start_bsc