bts: add configs for running without docker
Base on docker-playground.git's ttcn3-bts-test/*.cfg files, change IPs
from 172.18.9.* to 127.0.0.* (last octet unchanged).
Change-Id: I9eb2bb4599a4e874424f73483d9658a4467b8b8c
diff --git a/bts/BTS_Tests.cfg b/bts/BTS_Tests.cfg
index 78a288d..ed04163 100644
--- a/bts/BTS_Tests.cfg
+++ b/bts/BTS_Tests.cfg
@@ -12,13 +12,17 @@
#*.BTSVTY.CTRL_HOSTNAME := "10.9.1.191" # sysmoBTS Max
#*.BTSVTY.CTRL_HOSTNAME := "10.9.1.162" # sysmoBTS Pau
#*.BTSVTY.CTRL_HOSTNAME := "192.168.100.130" # sysmoBTS home
-*.BTSVTY.CTRL_HOSTNAME := "127.0.0.1" # osmo-bts-trx
-*.BSCVTY.CTRL_HOSTNAME := "127.0.0.1" # osmo-bsc
+*.BTSVTY.CTRL_HOSTNAME := "127.0.0.20" # osmo-bts-trx
+*.BSCVTY.CTRL_HOSTNAME := "127.0.0.11" # osmo-bsc
[MODULE_PARAMETERS]
+L1CTL_PortType.m_l1ctl_sock_path := "/tmp/osmocom_l2"
#BTS_Tests.mp_rsl_ip := "10.9.1.2" # office
-BTS_Tests.mp_rsl_ip := "192.168.100.2" # home
-#BTS_Tests.mp_pcu_socket := ""
+#BTS_Tests.mp_rsl_ip := "192.168.100.2" # home
+BTS_Tests.mp_rsl_ip := "127.0.0.10"
+BTS_Tests.mp_pcu_socket := "/tmp/pcu_sock"
+BTS_Tests.mp_bts_trxc_ip := "127.0.0.21"
+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_port := 3002
diff --git a/bts/osmo-bsc.cfg b/bts/osmo-bsc.cfg
new file mode 100644
index 0000000..3b31eb7
--- /dev/null
+++ b/bts/osmo-bsc.cfg
@@ -0,0 +1,160 @@
+!
+! OsmoBSC (1.1.2.236-5f22) configuration saved from vty
+!!
+password foo
+!
+log gsmtap 127.0.0.10
+ logging level set-all debug
+!
+log stderr
+ logging filter all 1
+ logging color 0
+ logging print category 1
+ logging timestamp 1
+ logging print extended-timestamp 1
+ logging level set-all debug
+!
+stats interval 5
+!
+line vty
+ no login
+ bind 127.0.0.11
+!
+e1_input
+ e1_line 0 driver ipa
+ e1_line 0 port 0
+ no e1_line 0 keepalive
+ ipa bind 127.0.0.11
+cs7 instance 0
+ point-code 0.23.3
+ asp asp-clnt-msc-0 2905 0 m3ua
+ as as-clnt-msc-0 m3ua
+ asp asp-clnt-msc-0
+ routing-key 2 0.23.3
+network
+ network country code 1
+ mobile network code 1
+ encryption a5 0
+ neci 1
+ paging any use tch 0
+ handover 0
+ handover1 window rxlev averaging 10
+ handover1 window rxqual averaging 1
+ handover1 window rxlev neighbor averaging 10
+ handover1 power budget interval 6
+ handover1 power budget hysteresis 3
+ handover1 maximum distance 9999
+ periodic location update 30
+ bts 0
+ type sysmobts
+ band DCS1800
+ cell_identity 0
+ location_area_code 1
+ dtx uplink force
+ dtx downlink
+ base_station_id_code 63
+ ms max power 15
+ cell reselection hysteresis 4
+ rxlev access min 0
+ radio-link-timeout 32
+ channel allocator ascending
+ rach tx integer 9
+ rach max transmission 7
+ channel-descrption attach 1
+ channel-descrption bs-pa-mfrms 5
+ channel-descrption bs-ag-blks-res 1
+ early-classmark-sending forbidden
+ early-classmark-sending-3g allowed
+ ip.access unit_id 1234 0
+ ip.access rsl-ip 127.0.0.10
+ oml ip.access stream_id 255 line 0
+ neighbor-list mode manual-si5
+ neighbor-list add arfcn 100
+ neighbor-list add arfcn 200
+ si5 neighbor-list add arfcn 10
+ si5 neighbor-list add arfcn 20
+ codec-support fr
+ gprs mode gprs
+ gprs 11bit_rach_support_for_egprs 0
+ gprs routing area 0
+ gprs network-control-order nc0
+ gprs cell bvci 1234
+ gprs cell timer blocking-timer 3
+ gprs cell timer blocking-retries 3
+ gprs cell timer unblocking-retries 3
+ gprs cell timer reset-timer 3
+ gprs cell timer reset-retries 3
+ gprs cell timer suspend-timer 10
+ gprs cell timer suspend-retries 3
+ gprs cell timer resume-timer 10
+ gprs cell timer resume-retries 3
+ gprs cell timer capability-update-timer 10
+ gprs cell timer capability-update-retries 3
+ gprs nsei 1234
+ gprs ns timer tns-block 3
+ gprs ns timer tns-block-retries 3
+ gprs ns timer tns-reset 3
+ gprs ns timer tns-reset-retries 3
+ gprs ns timer tns-test 30
+ gprs ns timer tns-alive 3
+ gprs ns timer tns-alive-retries 10
+ gprs nsvc 0 nsvci 1234
+ gprs nsvc 0 local udp port 23000
+ gprs nsvc 0 remote udp port 23000
+ gprs nsvc 0 remote ip 0.0.0.0
+ no force-combined-si
+ trx 0
+ rf_locked 0
+ arfcn 871
+ nominal power 23
+ max_power_red 20
+ rsl e1 tei 0
+ timeslot 0
+ phys_chan_config CCCH+SDCCH4
+ hopping enabled 0
+ timeslot 1
+ phys_chan_config TCH/F
+ hopping enabled 0
+ timeslot 2
+ phys_chan_config TCH/F
+ hopping enabled 0
+ timeslot 3
+ phys_chan_config TCH/F_PDCH
+ hopping enabled 0
+ timeslot 4
+ phys_chan_config TCH/F_TCH/H_PDCH
+ hopping enabled 0
+ timeslot 5
+ phys_chan_config TCH/H
+ hopping enabled 0
+ timeslot 6
+ phys_chan_config SDCCH8
+ hopping enabled 0
+ timeslot 7
+ phys_chan_config PDCH
+ hopping enabled 0
+msc 0
+ core-location-area-code 666
+ core-cell-identity 333
+ ip.access rtp-base 4000
+ timeout-ping 12
+ timeout-pong 14
+ no timeout-ping advanced
+ no bsc-welcome-text
+ no bsc-msc-lost-text
+ no bsc-grace-text
+ codec-list fr1 fr2 fr3
+ type normal
+ allow-emergency allow
+ amr-config 12_2k forbidden
+ amr-config 10_2k forbidden
+ amr-config 7_95k forbidden
+ amr-config 7_40k forbidden
+ amr-config 6_70k forbidden
+ amr-config 5_90k allowed
+ amr-config 5_15k forbidden
+ amr-config 4_75k forbidden
+bsc
+ mid-call-timeout 0
+ no missing-msc-text
+ access-list-name bsc-list
diff --git a/bts/osmo-bts.cfg b/bts/osmo-bts.cfg
new file mode 100644
index 0000000..a9867bf
--- /dev/null
+++ b/bts/osmo-bts.cfg
@@ -0,0 +1,57 @@
+!
+! OsmoBTS (0.4.0.446-e0fb) configuration saved from vty
+!!
+!
+log gsmtap 127.0.0.10
+ logging level set-all debug
+!
+log stderr
+ logging filter all 1
+ logging color 0
+ logging print category 1
+ logging timestamp 1
+ logging print extended-timestamp 1
+ logging level set-all debug
+!
+line vty
+ no login
+ bind 127.0.0.20
+!
+e1_input
+ e1_line 0 driver ipa
+ e1_line 0 port 0
+ no e1_line 0 keepalive
+phy 0
+ osmotrx ip local 127.0.0.20
+ osmotrx ip remote 127.0.0.21
+ osmotrx fn-advance 20
+ osmotrx rts-advance 5
+ instance 0
+ osmotrx rx-gain 10
+ osmotrx tx-attenuation 0
+bts 0
+ band DCS1800
+ ipa unit-id 1234 0
+ oml remote-ip 127.0.0.11
+ rtp jitter-buffer 100
+ paging queue-size 200
+ paging lifetime 0
+ uplink-power-target -75
+ gsmtap-sapi rach
+ gsmtap-sapi agch
+ gsmtap-sapi bcch
+ gsmtap-sapi pch
+ gsmtap-sapi sdcch
+ gsmtap-sapi sacch
+ min-qual-rach 50
+ min-qual-norm -5
+ !settsc
+ pcu-socket /tmp/pcu_sock
+ trx 0
+ power-ramp max-initial 0 mdBm
+ power-ramp step-size 2000 mdB
+ power-ramp step-interval 1
+ ms-power-control dsp
+ phy 0 instance 0
+ctrl
+ bind 127.0.0.20