ttcn3-bts: Use PCUIF v11
Since osmo-bts 1.7.0 which was just released, PCUIF v11 is supported, so use it both in master and latest. Change-Id: I6c905d074ffc324dd72d6a5c9ce79f3c241ac780changes/98/34398/3
parent
6cae51d685
commit
e828340720
|
@ -18,7 +18,7 @@ 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"
|
||||
BTS_Tests.mp_l1_supports_gprs := true
|
||||
PCUIF_Types.mp_pcuif_version := 10;
|
||||
PCUIF_Types.mp_pcuif_version := 11;
|
||||
|
||||
[MAIN_CONTROLLER]
|
||||
|
||||
|
|
|
@ -121,31 +121,17 @@ start_testsuite() {
|
|||
$REPO_USER/ttcn3-bts-test
|
||||
}
|
||||
|
||||
set_pcuif_version() {
|
||||
# This changes the PCUIF module parameter of the TTCN3 testsuite when the testsuite is
|
||||
# executed for current master. For latest the PCUIF module parameter must stay at v.10
|
||||
# since in osmo-btw-latest PCUIF v.11 is not yet supported. After the next release PCUIF
|
||||
# v.11 will be supported in osmo-bts-latest as well and this function, including the
|
||||
# PCUIF_Types.mp_pcuif_version setting in the configuration files can be removed.
|
||||
if image_suffix_is_master; then
|
||||
sed -i 's/PCUIF_Types.mp_pcuif_version := 10/PCUIF_Types.mp_pcuif_version := 11/g' $1
|
||||
fi
|
||||
}
|
||||
|
||||
network_create
|
||||
|
||||
mkdir $VOL_BASE_DIR/bts-tester-generic
|
||||
cp generic/BTS_Tests.cfg $VOL_BASE_DIR/bts-tester-generic/
|
||||
write_mp_osmo_repo "$VOL_BASE_DIR/bts-tester-generic/BTS_Tests.cfg"
|
||||
set_pcuif_version "$VOL_BASE_DIR/bts-tester-generic/BTS_Tests.cfg"
|
||||
mkdir $VOL_BASE_DIR/bts-tester-virtphy
|
||||
cp virtphy/BTS_Tests.cfg $VOL_BASE_DIR/bts-tester-virtphy/
|
||||
write_mp_osmo_repo "$VOL_BASE_DIR/bts-tester-virtphy/BTS_Tests.cfg"
|
||||
set_pcuif_version "$VOL_BASE_DIR/bts-tester-virtphy/BTS_Tests.cfg"
|
||||
mkdir $VOL_BASE_DIR/bts-tester-oml
|
||||
cp oml/BTS_Tests.cfg $VOL_BASE_DIR/bts-tester-oml/
|
||||
write_mp_osmo_repo "$VOL_BASE_DIR/bts-tester-oml/BTS_Tests.cfg"
|
||||
set_pcuif_version "$VOL_BASE_DIR/bts-tester-oml/BTS_Tests.cfg"
|
||||
mkdir $VOL_BASE_DIR/bts-tester-hopping
|
||||
cp fh/BTS_Tests.cfg $VOL_BASE_DIR/bts-tester-hopping/
|
||||
write_mp_osmo_repo "$VOL_BASE_DIR/bts-tester-hopping/BTS_Tests.cfg"
|
||||
|
|
|
@ -19,7 +19,7 @@ BTS_Tests.mp_ctrl_ip := "172.18.9.20"
|
|||
BTS_Tests_OML.mp_oml_ip := "172.18.9.10"
|
||||
BTS_Tests_OML.mp_oml_port := 3002
|
||||
BTS_Tests_OML.mp_pcu_socket := "/data/unix/pcu_sock"
|
||||
PCUIF_Types.mp_pcuif_version := 10;
|
||||
PCUIF_Types.mp_pcuif_version := 11;
|
||||
|
||||
[MAIN_CONTROLLER]
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ L1CTL_PortType.m_l1ctl_sock_path := "/data/unix/osmocom_l2"
|
|||
BTS_Tests.mp_ctrl_ip := "172.18.9.20"
|
||||
BTS_Tests.mp_l1_supports_gprs := true
|
||||
BTS_Tests.mp_bts_trxc_port := -1;
|
||||
PCUIF_Types.mp_pcuif_version := 10;
|
||||
PCUIF_Types.mp_pcuif_version := 11;
|
||||
|
||||
[MAIN_CONTROLLER]
|
||||
|
||||
|
|
Loading…
Reference in New Issue