bts: Run everything over 127.0.0.1

When the test is executed outside of docker, having to manage all
those different IP addresses while manually starting programs can be
quite cumbersome.  Let's just run everything over localhost, like
we always do with other tests.

Now the only cumbersome command to start is trxcon, as it defaults to
only one TRX and adding additional TRX is rather complicated:

./fake_trx.py --trx TRX1@127.0.0.1:5700/1 --trx TRX2@127.0.0.1:5700/2 --trx TRX3@127.0.0.1:5700/3

Change-Id: Iea8519685da7d73696ce9cc2541e93c45c099828
This commit is contained in:
Harald Welte 2020-10-20 18:02:49 +02:00
parent 629fb2ab68
commit 5ebf798131
3 changed files with 13 additions and 13 deletions

View File

@ -12,17 +12,17 @@
#*.BTSVTY.CTRL_HOSTNAME := "10.9.1.191" # sysmoBTS Max #*.BTSVTY.CTRL_HOSTNAME := "10.9.1.191" # sysmoBTS Max
#*.BTSVTY.CTRL_HOSTNAME := "10.9.1.162" # sysmoBTS Pau #*.BTSVTY.CTRL_HOSTNAME := "10.9.1.162" # sysmoBTS Pau
#*.BTSVTY.CTRL_HOSTNAME := "192.168.100.130" # sysmoBTS home #*.BTSVTY.CTRL_HOSTNAME := "192.168.100.130" # sysmoBTS home
*.BTSVTY.CTRL_HOSTNAME := "127.0.0.20" # osmo-bts-trx #*.BTSVTY.CTRL_HOSTNAME := "127.0.0.20" # osmo-bts-trx
*.BSCVTY.CTRL_HOSTNAME := "127.0.0.11" # osmo-bsc #*.BSCVTY.CTRL_HOSTNAME := "127.0.0.11" # osmo-bsc
[MODULE_PARAMETERS] [MODULE_PARAMETERS]
L1CTL_PortType.m_l1ctl_sock_path := "/tmp/osmocom_l2" L1CTL_PortType.m_l1ctl_sock_path := "/tmp/osmocom_l2"
#BTS_Tests.mp_rsl_ip := "10.9.1.2" # office #BTS_Tests.mp_rsl_ip := "10.9.1.2" # office
#BTS_Tests.mp_rsl_ip := "192.168.100.2" # home #BTS_Tests.mp_rsl_ip := "192.168.100.2" # home
BTS_Tests.mp_rsl_ip := "127.0.0.10" #BTS_Tests.mp_rsl_ip := "127.0.0.10"
BTS_Tests.mp_pcu_socket := "/tmp/pcu_sock" BTS_Tests.mp_pcu_socket := "/tmp/pcu_sock"
BTS_Tests.mp_bts_trxc_ip := "127.0.0.21" #BTS_Tests.mp_bts_trxc_ip := "127.0.0.21"
BTS_Tests.mp_ctrl_ip := "127.0.0.20" #BTS_Tests.mp_ctrl_ip := "127.0.0.20"
#BTS_Tests_OML.mp_oml_ip := "192.168.102.239" # home #BTS_Tests_OML.mp_oml_ip := "192.168.102.239" # home
#BTS_Tests_OML.mp_oml_port := 3002 #BTS_Tests_OML.mp_oml_port := 3002

View File

@ -3,7 +3,7 @@
!! !!
password foo password foo
! !
log gsmtap 127.0.0.10 log gsmtap 127.0.0.1
logging level set-all debug logging level set-all debug
logging filter all 1 logging filter all 1
! !
@ -27,7 +27,7 @@ stats interval 5
! !
line vty line vty
no login no login
bind 127.0.0.11 bind 127.0.0.1
! !
e1_input e1_input
e1_line 0 driver ipa e1_line 0 driver ipa
@ -75,7 +75,7 @@ network
early-classmark-sending forbidden early-classmark-sending forbidden
early-classmark-sending-3g allowed early-classmark-sending-3g allowed
ip.access unit_id 1234 0 ip.access unit_id 1234 0
ip.access rsl-ip 127.0.0.10 ip.access rsl-ip 127.0.0.2
oml ip.access stream_id 255 line 0 oml ip.access stream_id 255 line 0
neighbor-list mode manual-si5 neighbor-list mode manual-si5
neighbor-list add arfcn 100 neighbor-list add arfcn 100

View File

@ -2,7 +2,7 @@
! OsmoBTS (0.4.0.446-e0fb) configuration saved from vty ! OsmoBTS (0.4.0.446-e0fb) configuration saved from vty
!! !!
! !
log gsmtap 127.0.0.10 log gsmtap 127.0.0.1
logging level set-all debug logging level set-all debug
logging filter all 1 logging filter all 1
! !
@ -25,15 +25,15 @@ log stderr
! !
line vty line vty
no login no login
bind 127.0.0.20 bind 127.0.0.1
! !
e1_input e1_input
e1_line 0 driver ipa e1_line 0 driver ipa
e1_line 0 port 0 e1_line 0 port 0
no e1_line 0 keepalive no e1_line 0 keepalive
phy 0 phy 0
osmotrx ip local 127.0.0.20 osmotrx ip local 127.0.0.1
osmotrx ip remote 127.0.0.21 osmotrx ip remote 127.0.0.1
osmotrx fn-advance 20 osmotrx fn-advance 20
osmotrx rts-advance 5 osmotrx rts-advance 5
instance 0 instance 0
@ -85,4 +85,4 @@ bts 0
power-ramp step-interval 1 power-ramp step-interval 1
phy 0 instance 3 phy 0 instance 3
ctrl ctrl
bind 127.0.0.20 bind 127.0.0.1