aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-ran/osmocom
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-11-18 16:48:07 +0100
committerlaforge <laforge@osmocom.org>2020-12-18 11:45:33 +0000
commitd3bd2c2ba90f7bee0467a399187189b2207d52c4 (patch)
tree7dbf0b806611d7d59eb8d80895a7486c4f87d0ba /osmo-ran/osmocom
parent10c2ba7ea4b7d3d4e3966a04d80fb3b4104e1a14 (diff)
Introduce osmo-ran docker image set up
See osmo-ran/README.md in this commit for a description. Related: SYS#4889 Change-Id: If5d22e9fa818310cbb4adc34bd7aceb4416ec969
Diffstat (limited to 'osmo-ran/osmocom')
-rw-r--r--osmo-ran/osmocom/osmo-bsc.cfg123
-rw-r--r--osmo-ran/osmocom/osmo-bts-trx.cfg36
-rw-r--r--osmo-ran/osmocom/osmo-mgw.cfg22
-rw-r--r--osmo-ran/osmocom/osmo-pcu.cfg11
-rw-r--r--osmo-ran/osmocom/osmo-trx-ipc.cfg33
-rw-r--r--osmo-ran/osmocom/osmo-trx-uhd.cfg22
6 files changed, 247 insertions, 0 deletions
diff --git a/osmo-ran/osmocom/osmo-bsc.cfg b/osmo-ran/osmocom/osmo-bsc.cfg
new file mode 100644
index 0000000..af53647
--- /dev/null
+++ b/osmo-ran/osmocom/osmo-bsc.cfg
@@ -0,0 +1,123 @@
+line vty
+ no login
+ bind 0.0.0.0
+!
+e1_input
+ e1_line 0 driver ipa
+network
+ network country code 234
+ mobile network code 70
+ encryption a5 0
+ neci 1
+ paging any use tch 0
+ handover 0
+ handover algorithm 1
+ 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 5
+ 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-description attach 1
+ channel-description bs-pa-mfrms 5
+ channel-description bs-ag-blks-res 1
+ early-classmark-sending forbidden
+ ip.access unit_id 6969 0
+ oml ip.access stream_id 255 line 0
+ codec-support fr amr
+ gprs mode egprs
+ gprs routing area 0
+ gprs network-control-order nc1
+ gprs cell bvci 1800
+ gprs nsei 1800
+ gprs nsvc 0 nsvci 1800
+ gprs nsvc 0 local udp port 23020
+ gprs nsvc 0 remote udp port 23000
+ gprs nsvc 0 remote ip $SGSN_IP
+ trx 0
+ rf_locked 0
+ arfcn 871
+ nominal power 23
+ ! to use full TRX power, set max_power_red 0
+ max_power_red 4
+ 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
+ hopping enabled 0
+ timeslot 4
+ phys_chan_config TCH/F
+ hopping enabled 0
+ timeslot 5
+ phys_chan_config PDCH
+ hopping enabled 0
+ timeslot 6
+ phys_chan_config PDCH
+ !phys_chan_config TCH/F
+ hopping enabled 0
+ timeslot 7
+ phys_chan_config PDCH
+ !phys_chan_config TCH/F
+ hopping enabled 0
+!
+cs7 instance 0
+ point-code 0.0.2
+ asp asp0 2905 0 m3ua
+ local-ip $DOCKER_IN_IP
+ remote-ip $STP_IP
+ as as0 m3ua
+ asp asp0
+ routing-key 30 0.0.2
+ traffic-mode loadshare
+ sccp-address bsc_local
+ point-code 0.0.2
+ routing-indicator PC
+ sccp-address msc_remote
+ point-code 0.23.1
+ routing-indicator PC
+!
+msc 0
+ no bsc-welcome-text
+ no bsc-msc-lost-text
+ no bsc-grace-text
+ type normal
+ allow-emergency allow
+ codec-list hr3 fr3
+ !mgw remote-ip 192.168.30.1
+ mgw remote-ip 127.0.0.1
+ mgw remote-port 2427
+ 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
+ msc-addr msc_remote
+ bsc-addr bsc_local
+bsc
+ mid-call-timeout 0
+ no missing-msc-text
diff --git a/osmo-ran/osmocom/osmo-bts-trx.cfg b/osmo-ran/osmocom/osmo-bts-trx.cfg
new file mode 100644
index 0000000..20aeae0
--- /dev/null
+++ b/osmo-ran/osmocom/osmo-bts-trx.cfg
@@ -0,0 +1,36 @@
+!
+! OsmoBTS () configuration saved from vty
+!!
+!
+log stderr
+ logging color 1
+ logging timestamp 0
+ logging level rsl notice
+ logging level oml notice
+ logging level rll notice
+ logging level rr notice
+ logging level meas error
+ logging level pag error
+ logging level l1c error
+ logging level l1p error
+ logging level dsp error
+ logging level abis error
+!
+line vty
+ no login
+ bind 0.0.0.0
+!
+phy 0
+ instance 0
+ osmotrx ip local $DOCKER_IN_IP
+ osmotrx ip remote $TRX_IP
+bts 0
+ band 1800
+ ipa unit-id 6969 0
+ oml remote-ip 127.0.0.1
+ gsmtap-sapi ccch
+ gsmtap-sapi pdtch
+ trx 0
+ phy 0 instance 0
+cpu-sched
+ policy rr 1
diff --git a/osmo-ran/osmocom/osmo-mgw.cfg b/osmo-ran/osmocom/osmo-mgw.cfg
new file mode 100644
index 0000000..421816f
--- /dev/null
+++ b/osmo-ran/osmocom/osmo-mgw.cfg
@@ -0,0 +1,22 @@
+!
+! MGCP configuration example
+!
+line vty
+ no login
+ bind 0.0.0.0
+!
+mgcp
+ bind ip 127.0.0.1
+ rtp port-range 4002 16000
+ rtp bind-ip $DOCKER_IN_IP
+ rtp ip-probing
+ rtp ip-tos 184
+ bind port 2427
+ sdp audio payload number 98
+ sdp audio payload name GSM
+ number endpoints 31
+ loop 0
+ force-realloc 1
+ rtcp-omit
+ rtp-patch ssrc
+ rtp-patch timestamp
diff --git a/osmo-ran/osmocom/osmo-pcu.cfg b/osmo-ran/osmocom/osmo-pcu.cfg
new file mode 100644
index 0000000..2e31cbc
--- /dev/null
+++ b/osmo-ran/osmocom/osmo-pcu.cfg
@@ -0,0 +1,11 @@
+!
+line vty
+ no login
+ bind 0.0.0.0
+!
+pcu
+ flow-control-interval 10
+ cs 2
+ alloc-algorithm dynamic
+ alpha 0
+ gamma 0
diff --git a/osmo-ran/osmocom/osmo-trx-ipc.cfg b/osmo-ran/osmocom/osmo-trx-ipc.cfg
new file mode 100644
index 0000000..3241950
--- /dev/null
+++ b/osmo-ran/osmocom/osmo-trx-ipc.cfg
@@ -0,0 +1,33 @@
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category 1
+ logging timestamp 1
+ logging print file basename
+ logging level set-all notice
+!
+line vty
+no login
+bind 0.0.0.0
+!
+cpu-sched
+ policy rr 18
+trx
+ bind-ip 127.0.0.1
+ remote-ip 127.0.0.1
+ ! 28 dB offset below is valid only for the B2xx in 1800 MHz band, see
+ ! https://osmocom.org/issues/4468 for more details
+ rssi-offset 28.000000
+ tx-sps 4
+ rx-sps 4
+ clock-ref external
+ egprs disable
+ ext-rach disable
+ dev-args ipc_msock=/tmp/ipc_sock0
+ multi-arfcn disable
+ chan 0
+ tx-path TX/RX
+ rx-path RX2
+ chan 1
+ tx-path TX/RX
+ rx-path RX2
diff --git a/osmo-ran/osmocom/osmo-trx-uhd.cfg b/osmo-ran/osmocom/osmo-trx-uhd.cfg
new file mode 100644
index 0000000..234a2ee
--- /dev/null
+++ b/osmo-ran/osmocom/osmo-trx-uhd.cfg
@@ -0,0 +1,22 @@
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category 1
+ logging timestamp 1
+ logging print file basename
+ logging level set-all notice
+!
+line vty
+no login
+bind 0.0.0.0
+!
+cpu-sched
+ policy rr 18
+trx
+ bind-ip 127.0.0.1
+ remote-ip 127.0.0.1
+ egprs disable
+ tx-sps 4
+ rx-sps 4
+ clock-ref external
+ chan 0