This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9391 )
Change subject: ttcn3-bsc-test: Add SCCPlite configs + jenkins-sccplite.sh
......................................................................
ttcn3-bsc-test: Add SCCPlite configs + jenkins-sccplite.sh
The existing dest config + jenkins.sh test 3GPP AoIP operation,
while the new set of configs + jenkins-sccplite.sh are testing
IPA/SCCPlite operation of osmo-bsc.
Change-Id: Ief0799a8f7d378dc3831e7988c9175166c82eace
---
A ttcn3-bsc-test/jenkins-sccplite.sh
A ttcn3-bsc-test/sccplite/BSC_Tests.cfg
A ttcn3-bsc-test/sccplite/osmo-bsc.cfg
3 files changed, 445 insertions(+), 0 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved; Verified
diff --git a/ttcn3-bsc-test/jenkins-sccplite.sh b/ttcn3-bsc-test/jenkins-sccplite.sh
new file mode 100755
index 0000000..2bf29f6
--- /dev/null
+++ b/ttcn3-bsc-test/jenkins-sccplite.sh
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+. ../jenkins-common.sh
+
+mkdir $VOL_BASE_DIR/bsc-tester
+cp sccplite/BSC_Tests.cfg $VOL_BASE_DIR/bsc-tester/
+
+mkdir $VOL_BASE_DIR/bsc
+cp sccplite/osmo-bsc.cfg $VOL_BASE_DIR/bsc/
+
+network_create 172.18.11.0/24
+
+echo Starting container with BSC
+docker run --rm \
+ --network $NET_NAME --ip 172.18.11.20 \
+ -v $VOL_BASE_DIR/bsc:/data \
+ --name ${BUILD_TAG}-bsc -d \
+ $REPO_USER/osmo-bsc-master
+
+for i in `seq 0 2`; do
+ echo Starting container with OML for BTS$i
+ docker run --rm \
+ --network $NET_NAME --ip 172.18.11.10$i \
+ --name ${BUILD_TAG}-bts$i -d \
+ $REPO_USER/osmo-bts-master /usr/local/bin/respawn.sh osmo-bts-omldummy 172.18.11.20 $((i + 1234)) 1
+done
+
+echo Starting container with BSC testsuite
+docker run --rm \
+ --network $NET_NAME --ip 172.18.11.203 \
+ -e "TTCN3_PCAP_PATH=/data" \
+ -v $VOL_BASE_DIR/bsc-tester:/data \
+ --name ${BUILD_TAG}-ttcn3-bsc-test \
+ $REPO_USER/ttcn3-bsc-test
+
+echo Stopping containers
+for i in `seq 0 2`; do
+ docker container kill ${BUILD_TAG}-bts$i
+done
+docker container kill ${BUILD_TAG}-bsc
+
+network_remove
+collect_logs
diff --git a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
new file mode 100644
index 0000000..a862bea
--- /dev/null
+++ b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
@@ -0,0 +1,29 @@
+[ORDERED_INCLUDE]
+"/osmo-ttcn3-hacks/Common.cfg"
+"/osmo-ttcn3-hacks/bsc/BSC_Tests.default"
+
+[LOGGING]
+*.JUnitLogger.testsuite_name := "BSC_Tests"
+
+[TESTPORT_PARAMETERS]
+*.BSCVTY.CTRL_HOSTNAME := "172.18.2.20"
+
+[MODULE_PARAMETERS]
+BSC_Tests.mp_bsc_ip := "172.18.2.20";
+BSC_Tests.mp_test_ip := "172.18.2.203";
+BSC_Tests.mp_bssap_cfg := {
+ transport := BSSAP_TRANSPORT_SCCPlite_SERVER,
+ sccp_service_type := "mtp3_itu",
+ sctp_addr := { 5000, "172.18.11.203", -1, "" },
+ own_pc := 185,
+ own_ssn := 254,
+ peer_pc := 187,
+ peer_ssn := 254,
+ sio := '83'O,
+ rctx := 0
+};
+
+[MAIN_CONTROLLER]
+
+[EXECUTE]
+BSC_Tests.control
diff --git a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
new file mode 100644
index 0000000..688943f
--- /dev/null
+++ b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
@@ -0,0 +1,373 @@
+!
+! OsmoBSC (1.0.1.122-630df) configuration saved from vty
+!!
+password foo
+!
+log file /data/osmo-bsc.log
+ logging filter all 1
+ logging color 0
+ logging print category 1
+ logging timestamp 1
+ logging level all everything
+ logging level rll notice
+ logging level cc notice
+ logging level mm notice
+ logging level rr notice
+ logging level rsl notice
+ logging level nm info
+ logging level pag notice
+ logging level meas notice
+ logging level msc notice
+ logging level mgcp notice
+ logging level ho notice
+ logging level ref notice
+ logging level nat notice
+ logging level ctrl notice
+ logging level filter debug
+ logging level pcu debug
+ logging level lglobal notice
+ logging level llapd notice
+ logging level linp notice
+ logging level lmux notice
+ logging level lmi notice
+ logging level lmib notice
+ logging level lsms notice
+ logging level lctrl notice
+ logging level lgtp notice
+ logging level lstats notice
+ logging level lgsup notice
+ logging level loap notice
+ logging level lss7 notice
+ logging level lsccp notice
+ logging level lsua notice
+ logging level lm3ua notice
+ logging level lmgcp notice
+!
+stats interval 5
+!
+line vty
+ no login
+ bind 0.0.0.0
+!
+e1_input
+ e1_line 0 driver ipa
+ e1_line 0 port 0
+ no e1_line 0 keepalive
+cs7 instance 0
+ point-code 0.23.3
+ asp asp-clnt-msc-0 5000 0 ipa
+ remote-ip 172.18.2.200
+ as as-clnt-msc-0 ipa
+ asp asp-clnt-msc-0
+ routing-key 0 0.23.3
+ point-code overried dpc 0.23.1
+network
+ network country code 1
+ mobile network code 1
+ encryption a5 0 1 3
+ neci 1
+ paging any use tch 0
+ handover 0
+ handover window rxlev averaging 10
+ handover window rxqual averaging 1
+ handover window rxlev neighbor averaging 10
+ handover power budget interval 6
+ handover power budget hysteresis 3
+ handover maximum distance 9999
+ dyn_ts_allow_tch_f 1
+ periodic location update 30
+ timer t3113 10
+ bts 0
+ type sysmobts
+ band DCS1800
+ cell_identity 0
+ location_area_code 1
+ dtx uplink force
+ dtx downlink
+ base_station_id_code 10
+ 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
+ ip.access unit_id 1234 0
+ 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 hr efr amr
+ 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 192.168.100.239
+ gprs nsvc 1 nsvci 0
+ gprs nsvc 1 local udp port 0
+ gprs nsvc 1 remote udp port 0
+ gprs nsvc 1 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
+ hopping enabled 0
+ timeslot 4
+ phys_chan_config TCH/F
+ hopping enabled 0
+ timeslot 5
+ phys_chan_config TCH/H
+ hopping enabled 0
+ timeslot 6
+ phys_chan_config PDCH
+ hopping enabled 0
+ timeslot 7
+ phys_chan_config PDCH
+ hopping enabled 0
+ bts 1
+ type sysmobts
+ band DCS1800
+ cell_identity 1
+ location_area_code 2
+ dtx uplink force
+ dtx downlink
+ base_station_id_code 11
+ 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
+ ip.access unit_id 1235 0
+ 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 hr efr amr
+ gprs mode gprs
+ gprs 11bit_rach_support_for_egprs 0
+ gprs routing area 0
+ gprs network-control-order nc0
+ gprs cell bvci 1235
+ 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 1235
+ 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 1235
+ gprs nsvc 0 local udp port 23000
+ gprs nsvc 0 remote udp port 23000
+ gprs nsvc 0 remote ip 192.168.100.239
+ gprs nsvc 1 nsvci 0
+ gprs nsvc 1 local udp port 0
+ gprs nsvc 1 remote udp port 0
+ gprs nsvc 1 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
+ hopping enabled 0
+ timeslot 4
+ phys_chan_config TCH/F
+ hopping enabled 0
+ timeslot 5
+ phys_chan_config TCH/H
+ hopping enabled 0
+ timeslot 6
+ phys_chan_config PDCH
+ hopping enabled 0
+ timeslot 7
+ phys_chan_config PDCH
+ hopping enabled 0
+ bts 2
+ type sysmobts
+ band DCS1800
+ cell_identity 1
+ location_area_code 1
+ dtx uplink force
+ dtx downlink
+ base_station_id_code 12
+ 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
+ ip.access unit_id 1236 0
+ 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 hr efr amr
+ gprs mode gprs
+ gprs 11bit_rach_support_for_egprs 0
+ gprs routing area 0
+ gprs network-control-order nc0
+ gprs cell bvci 1236
+ 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 1236
+ 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 1236
+ gprs nsvc 0 local udp port 23000
+ gprs nsvc 0 remote udp port 23000
+ gprs nsvc 0 remote ip 192.168.100.239
+ gprs nsvc 1 nsvci 0
+ gprs nsvc 1 local udp port 0
+ gprs nsvc 1 remote udp port 0
+ gprs nsvc 1 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
+ hopping enabled 0
+ timeslot 4
+ phys_chan_config TCH/F
+ hopping enabled 0
+ timeslot 5
+ phys_chan_config TCH/H
+ hopping enabled 0
+ timeslot 6
+ phys_chan_config PDCH
+ hopping enabled 0
+ timeslot 7
+ phys_chan_config PDCH
+ hopping enabled 0
+msc 0
+ ip.access rtp-base 4000
+ no bsc-welcome-text
+ no bsc-msc-lost-text
+ no bsc-grace-text
+ 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
+ codec-list fr1 fr2 fr3 hr1 hr3
+ mgw remote-ip 172.18.2.203
+ asp-protocol ipa
+bsc
+ mid-call-timeout 0
+ no missing-msc-text
+ access-list-name bsc-list
+ctrl
+ bind 0.0.0.0
--
To view, visit https://gerrit.osmocom.org/9391
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ief0799a8f7d378dc3831e7988c9175166c82eace
Gerrit-Change-Number: 9391
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180530/14aa5f65/attachment.htm>