osmith has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/38537?usp=email )
Change subject: Remove ttcn3 testsuites ported to testenv, part 2 ......................................................................
Remove ttcn3 testsuites ported to testenv, part 2
Related: OS#6494 Change-Id: I61fd5523dbd5664763b006d5ba9a368cd9caf9b9 --- D ttcn3-bsc-test-sccplite/jenkins.sh D ttcn3-bsc-test-sccplite/sccplite D ttcn3-bsc-test-vamos/BSC_Tests.cfg D ttcn3-bsc-test-vamos/Dockerfile D ttcn3-bsc-test-vamos/Makefile D ttcn3-bsc-test-vamos/jenkins.sh D ttcn3-bsc-test-vamos/osmo-bsc.cfg D ttcn3-bsc-test-vamos/osmo-stp.cfg D ttcn3-bsc-test/BSC_Tests.cfg D ttcn3-bsc-test/Dockerfile D ttcn3-bsc-test/Makefile D ttcn3-bsc-test/jenkins-sccplite.sh D ttcn3-bsc-test/jenkins.sh D ttcn3-bsc-test/osmo-bsc.cfg D ttcn3-bsc-test/osmo-stp.cfg D ttcn3-bsc-test/sccplite/BSC_Tests.cfg D ttcn3-bsc-test/sccplite/osmo-bsc.cfg D ttcn3-ggsn-test/Dockerfile D ttcn3-ggsn-test/Makefile D ttcn3-ggsn-test/jenkins-ogs.sh D ttcn3-ggsn-test/jenkins.sh D ttcn3-ggsn-test/ogs/GGSN_Tests.cfg D ttcn3-ggsn-test/ogs/freediameter.conf D ttcn3-ggsn-test/ogs/open5gs-smf-latest.yaml D ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml D ttcn3-ggsn-test/ogs/open5gs-upf-latest.yaml D ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml D ttcn3-ggsn-test/ogs/upfd-setup.sh D ttcn3-ggsn-test/ogs/upfd.sh D ttcn3-ggsn-test/osmo-ggsn-kernel/fragment.config D ttcn3-ggsn-test/osmo-ggsn-kernel/initrd-ggsn.sh D ttcn3-ggsn-test/osmo-ggsn-kernel/v4_only/osmo-ggsn.cfg D ttcn3-ggsn-test/osmo-ggsn-kernel/v4v6_only/osmo-ggsn.cfg D ttcn3-ggsn-test/osmo-ggsn-kernel/v6_only/osmo-ggsn.cfg D ttcn3-ggsn-test/osmo-ggsn/all/osmo-ggsn.cfg D ttcn3-ggsn-test/osmo-ggsn/v4_only/osmo-ggsn.cfg D ttcn3-ggsn-test/osmo-ggsn/v4v6_only/osmo-ggsn.cfg D ttcn3-ggsn-test/osmo-ggsn/v6_only/osmo-ggsn.cfg D ttcn3-ggsn-test/ttcn3/all/GGSN_Tests.cfg D ttcn3-ggsn-test/ttcn3/v4_only/GGSN_Tests.cfg D ttcn3-ggsn-test/ttcn3/v4v6_only/GGSN_Tests.cfg D ttcn3-ggsn-test/ttcn3/v6_only/GGSN_Tests.cfg D ttcn3-hnbgw-test/Dockerfile D ttcn3-hnbgw-test/HNBGW_Tests.cfg D ttcn3-hnbgw-test/Makefile D ttcn3-hnbgw-test/jenkins.sh D ttcn3-hnbgw-test/osmo-hnbgw.cfg D ttcn3-hnbgw-test/osmo-stp.cfg D ttcn3-hnbgw-test/with-pfcp/HNBGW_Tests.cfg D ttcn3-hnbgw-test/with-pfcp/osmo-hnbgw.cfg 50 files changed, 0 insertions(+), 4,298 deletions(-)
Approvals: pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified osmith: Looks good to me, approved laforge: Looks good to me, but someone else must approve
diff --git a/ttcn3-bsc-test-sccplite/jenkins.sh b/ttcn3-bsc-test-sccplite/jenkins.sh deleted file mode 120000 index 9a6da0f..0000000 --- a/ttcn3-bsc-test-sccplite/jenkins.sh +++ /dev/null @@ -1 +0,0 @@ -../ttcn3-bsc-test/jenkins-sccplite.sh \ No newline at end of file diff --git a/ttcn3-bsc-test-sccplite/sccplite b/ttcn3-bsc-test-sccplite/sccplite deleted file mode 120000 index 9a5b492..0000000 --- a/ttcn3-bsc-test-sccplite/sccplite +++ /dev/null @@ -1 +0,0 @@ -../ttcn3-bsc-test/sccplite \ No newline at end of file diff --git a/ttcn3-bsc-test-vamos/BSC_Tests.cfg b/ttcn3-bsc-test-vamos/BSC_Tests.cfg deleted file mode 100644 index cbab789..0000000 --- a/ttcn3-bsc-test-vamos/BSC_Tests.cfg +++ /dev/null @@ -1,73 +0,0 @@ -[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.31.20" -*.STATSVTY.CTRL_HOSTNAME := "172.18.31.20" - -[MODULE_PARAMETERS] -BSC_Tests.mp_bsc_ip := "172.18.31.20"; -BSC_Tests.mp_test_ip := "172.18.31.203"; -BSC_Tests.mp_bssap_cfg := { - { - transport := BSSAP_TRANSPORT_AoIP, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23905, "172.18.31.203", 2905, "172.18.31.200" }, - own_pc := 185, /* 0.23.1 first MSC emulation */ - own_ssn := 254, - peer_pc := 187, /* 0.23.3 osmo-bsc */ - peer_ssn := 254, - sio := '83'O, - rctx := 1 - }, - { - transport := BSSAP_TRANSPORT_AoIP, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23906, "172.18.31.203", 2905, "172.18.31.200" }, - own_pc := 2, /* 0.0.2 second MSC emulation */ - own_ssn := 254, - peer_pc := 187, /* 0.23.3 osmo-bsc */ - peer_ssn := 254, - sio := '83'O, - rctx := 2 - }, - { - transport := BSSAP_TRANSPORT_AoIP, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23907, "172.18.31.203", 2905, "172.18.31.200" }, - own_pc := 3, /* 0.0.3 third MSC emulation */ - own_ssn := 254, - peer_pc := 187, /* 0.23.3 osmo-bsc */ - peer_ssn := 254, - sio := '83'O, - rctx := 3 - } -}; -BSC_Tests.mp_enable_lcs_tests := true; -BSC_Tests.mp_bssap_le_cfg := { - sccp_service_type := "mtp3_itu", - sctp_addr := { 23908, "172.18.31.203", 2905, "172.18.31.200" }, - own_pc := 190, /* 0.23.6 SMLC emulation */ - own_ssn := 252, /* SMLC side SSN */ - peer_pc := 187, /* 0.23.3 osmo-bsc */ - peer_ssn := 250, /* BSC side SSN */ - sio := '83'O, - rctx := 6 -}; -BSC_Tests_CBSP.mp_cgi_bts0 := { '001'H, '01'H, 1, 0 }; -BSC_Tests_CBSP.mp_cgi_bts1 := { '001'H, '01'H, 1, 1 }; -BSC_Tests_CBSP.mp_cgi_bts2 := { '001'H, '01'H, 2, 1 }; -BSC_Tests_CBSP.mp_cgi_bts3 := { '001'H, '01'H, 3, 3 }; -BSC_Tests_CBSP.mp_cbc_ip := "172.18.31.203"; -BSC_Tests_CBSP.mp_cbc_ip6 := "fd02:db8:31::203"; -BSC_Tests_CBSP.mp_bsc_cbsp_ip := "172.18.31.20"; -BSC_Tests_CBSP.mp_bsc_cbsp_ip6 := "fd02:db8:31::20"; - -[MAIN_CONTROLLER] - -[EXECUTE] -BSC_Tests_VAMOS.control diff --git a/ttcn3-bsc-test-vamos/Dockerfile b/ttcn3-bsc-test-vamos/Dockerfile deleted file mode 100644 index 963c8de..0000000 --- a/ttcn3-bsc-test-vamos/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -ARG REGISTRY -ARG USER -FROM $REGISTRY/$USER/debian-bookworm-titan -ARG OSMO_TTCN3_BRANCH="master" - -ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-ttcn3-hacks/+/$OSMO_TTCN3_BR... /tmp/commit -RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" bsc - -VOLUME /data - -COPY BSC_Tests.cfg /data/BSC_Tests.cfg - -CMD ttcn3-docker-run bsc BSC_Tests diff --git a/ttcn3-bsc-test-vamos/Makefile b/ttcn3-bsc-test-vamos/Makefile deleted file mode 100644 index 4e2e22b..0000000 --- a/ttcn3-bsc-test-vamos/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -RUN_ARGS?=-it --sysctl net.ipv6.conf.all.disable_ipv6=0 --network sigtran --ip 172.18.31.202 -v ggsn-test-vol:/data - -include ../make/Makefile diff --git a/ttcn3-bsc-test-vamos/jenkins.sh b/ttcn3-bsc-test-vamos/jenkins.sh deleted file mode 100755 index e9a130d..0000000 --- a/ttcn3-bsc-test-vamos/jenkins.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh - -. ../jenkins-common.sh -IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}" -docker_images_require \ - "osmo-stp-$IMAGE_SUFFIX" \ - "osmo-bsc-$IMAGE_SUFFIX" \ - "osmo-bts-$IMAGE_SUFFIX" \ - "ttcn3-bsc-test" - -set_clean_up_trap -set -e - -mkdir $VOL_BASE_DIR/bsc-tester -cp BSC_Tests.cfg $VOL_BASE_DIR/bsc-tester/ -write_mp_osmo_repo "$VOL_BASE_DIR/bsc-tester/BSC_Tests.cfg" - -mkdir $VOL_BASE_DIR/stp -cp osmo-stp.cfg $VOL_BASE_DIR/stp/ - -mkdir $VOL_BASE_DIR/bsc -cp osmo-bsc.cfg $VOL_BASE_DIR/bsc/ - -mkdir $VOL_BASE_DIR/bts-omldummy - -network_create -network_replace_subnet_in_configs - -echo Starting container with STP -docker run --rm \ - $(docker_network_params $SUBNET 200) \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/stp:/data \ - --name ${BUILD_TAG}-stp -d \ - --ulimit core=-1 \ - $DOCKER_ARGS \ - $REPO_USER/osmo-stp-$IMAGE_SUFFIX - -echo Starting container with BSC -docker run --rm \ - $(docker_network_params $SUBNET 20) \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/bsc:/data \ - --name ${BUILD_TAG}-bsc -d \ - $DOCKER_ARGS \ - $REPO_USER/osmo-bsc-$IMAGE_SUFFIX - -BTS_FEATURES="-fCCN,EGPRS,GPRS,IPv6_NSVC,PAGING_COORDINATION,VAMOS,OSMUX" - -for i in `seq 0 2`; do - echo Starting container with OML for BTS$i - docker run --rm \ - $(docker_network_params $SUBNET 10$i) \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/bts-omldummy:/data \ - --name ${BUILD_TAG}-bts$i -d \ - $DOCKER_ARGS \ - $REPO_USER/osmo-bts-$IMAGE_SUFFIX \ - /bin/sh -c "/usr/local/bin/respawn.sh \ - osmo-bts-omldummy \ - $BTS_FEATURES \ - $SUB4_PREFIX.$SUBNET.20 \ - $((i + 1234)) \ - 1 \ - >>/data/osmo-bts-omldummy-${i}.log 2>&1" -done - -echo Starting container with BSC testsuite -docker run --rm \ - $(docker_network_params $SUBNET 203) \ - --ulimit core=-1 \ - -e "TTCN3_PCAP_PATH=/data" \ - -e "OSMO_SUT_HOST=$SUB4_PREFIX.$SUBNET.20" \ - -e "OSMO_SUT_PORT=4242" \ - -v $VOL_BASE_DIR/bsc-tester:/data \ - --name ${BUILD_TAG}-ttcn3-bsc-test \ - $DOCKER_ARGS \ - $REPO_USER/ttcn3-bsc-test diff --git a/ttcn3-bsc-test-vamos/osmo-bsc.cfg b/ttcn3-bsc-test-vamos/osmo-bsc.cfg deleted file mode 100644 index 48f756a..0000000 --- a/ttcn3-bsc-test-vamos/osmo-bsc.cfg +++ /dev/null @@ -1,428 +0,0 @@ -! -! OsmoBSC (1.0.1.122-630df) configuration saved from vty -!! -password foo -! -log gsmtap 172.18.31.203 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print category 1 - logging print category-hex 0 - logging timestamp 1 - logging print extended-timestamp 1 - logging print file basename last - logging print level 1 - logging level set-all debug - 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 0 -stats reporter statsd - prefix TTCN3 - level subscriber - remote-ip 172.18.31.203 - remote-port 8125 - flush-period 1 - mtu 1024 - enable -! -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 - asp asp-clnt-msc-0 2905 2905 m3ua - local-ip 172.18.31.20 - local-ip fd02:db8:31::20 - remote-ip 172.18.31.200 - remote-ip fd02:db8:31::200 - role asp - sctp-role client - sccp-address msc2 - point-code 0.0.2 - sccp-address msc3 - point-code 0.0.3 -network - network country code 1 - mobile network code 1 - encryption a5 0 1 3 - neci 1 - paging any use tch 0 - handover 1 - 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 - timer t3113 10 - timer t3212 30 - mgw 0 - mgw remote-ip 172.18.31.203 - bts 0 - type osmo-bts - 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 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 - si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3 - 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+CBCH - 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 TCH/H - hopping enabled 0 - timeslot 7 - phys_chan_config PDCH - hopping enabled 0 - bts 1 - type osmo-bts - band DCS1800 - cell_identity 1 - location_area_code 1 - 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 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 - si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3 - 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+CBCH - 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 osmo-bts - band DCS1800 - cell_identity 1 - location_area_code 2 - 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 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 - si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3 - 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+CBCH - 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 3 - type osmo-bts - band DCS1800 - cell_identity 3 - location_area_code 3 - # re-use bts 2's ARFCN 871 and BSIC 12 (to test handover config) - base_station_id_code 12 - 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 - timeslot 1 - phys_chan_config TCH/F - timeslot 2 - phys_chan_config TCH/F - timeslot 3 - phys_chan_config TCH/F - timeslot 4 - phys_chan_config TCH/F - timeslot 5 - phys_chan_config TCH/H - timeslot 6 - phys_chan_config PDCH - timeslot 7 - phys_chan_config PDCH -msc 0 - 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 - lcls-mode mgw-loop -msc 1 - msc-addr msc2 -msc 2 - msc-addr msc3 - -network - nri bitlen 10 - # a NULL NRI that is outside the NRI ranges used by the MSCs: - nri null add 0 - # a NULL NRI that is also used by an MSC: - nri null add 1 -msc 0 - nri add 1 255 -msc 1 - nri add 256 511 -msc 2 - nri add 512 767 - # range 768-1024 is not assigned to any MSC on purpose - -bsc - mid-call-timeout 0 - no missing-msc-text -ctrl - bind 0.0.0.0 -cbc - mode disabled - client - remote-ip 172.18.31.203 - remote-port 48049 - server - local-ip 172.18.31.20 - local-port 48050 -smlc - enable diff --git a/ttcn3-bsc-test-vamos/osmo-stp.cfg b/ttcn3-bsc-test-vamos/osmo-stp.cfg deleted file mode 100644 index a6a920b..0000000 --- a/ttcn3-bsc-test-vamos/osmo-stp.cfg +++ /dev/null @@ -1,83 +0,0 @@ -! -! OsmoSTP (0.8.1) configuration saved from vty -!! -! -log gsmtap 172.18.31.203 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print category 1 - logging print category-hex 0 - logging timestamp 1 - logging print extended-timestamp 1 - logging print file basename last - logging print level 1 - logging level set-all notice -! -line vty - no login -! -cs7 instance 0 - xua rkm routing-key-allocation dynamic-permitted - asp virt-msc0-0 23905 2905 m3ua - local-ip 172.18.31.200 - local-ip fd02:db8:31::200 - remote-ip 172.18.31.203 - remote-ip fd02:db8:31::203 - role sg - sctp-role server - as mahlzeit ipa - routing-key 0 0.23.4 - point-code override dpc 0.23.1 - as virt-msc0 m3ua - asp virt-msc0-0 - routing-key 1 0.23.1 - - asp virt-msc1-0 23906 2905 m3ua - local-ip 172.18.31.200 - local-ip fd02:db8:31::200 - remote-ip 172.18.31.203 - remote-ip fd02:db8:31::203 - role sg - sctp-role server - as virt-msc1 m3ua - asp virt-msc1-0 - routing-key 2 0.0.2 - - asp virt-msc2-0 23907 2905 m3ua - local-ip 172.18.31.200 - local-ip fd02:db8:31::200 - remote-ip 172.18.31.203 - remote-ip fd02:db8:31::203 - role sg - sctp-role server - as virt-msc2 m3ua - asp virt-msc2-0 - routing-key 3 0.0.3 - - asp virt-smlc-0 23908 2905 m3ua - local-ip 172.18.31.200 - local-ip fd02:db8:31::200 - remote-ip 172.18.31.203 - remote-ip fd02:db8:31::203 - role sg - sctp-role server - as virt-smlc m3ua - asp virt-smlc-0 - routing-key 6 0.23.6 - - route-table system - update route 0.23.1 7.255.7 linkset virt-msc0 - update route 0.0.2 7.255.7 linkset virt-msc1 - update route 0.0.3 7.255.7 linkset virt-msc2 - update route 0.23.6 7.255.7 linkset virt-smlc - listen m3ua 2905 - accept-asp-connections dynamic-permitted - local-ip 172.18.31.200 - local-ip fd02:db8:31::200 - listen ipa 5000 - accept-asp-connections dynamic-permitted - local-ip 172.18.31.200 diff --git a/ttcn3-bsc-test/BSC_Tests.cfg b/ttcn3-bsc-test/BSC_Tests.cfg deleted file mode 100644 index 2eefc85..0000000 --- a/ttcn3-bsc-test/BSC_Tests.cfg +++ /dev/null @@ -1,76 +0,0 @@ -[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" -*.STATSVTY.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_AoIP, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23905, "172.18.2.203", 2905, "172.18.2.200" }, - own_pc := 185, /* 0.23.1 first MSC emulation */ - own_ssn := 254, - peer_pc := 187, /* 0.23.3 osmo-bsc */ - peer_ssn := 254, - sio := '83'O, - rctx := 1 - }, - { - transport := BSSAP_TRANSPORT_AoIP, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23906, "172.18.2.203", 2905, "172.18.2.200" }, - own_pc := 2, /* 0.0.2 second MSC emulation */ - own_ssn := 254, - peer_pc := 187, /* 0.23.3 osmo-bsc */ - peer_ssn := 254, - sio := '83'O, - rctx := 2 - }, - { - transport := BSSAP_TRANSPORT_AoIP, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23907, "172.18.2.203", 2905, "172.18.2.200" }, - own_pc := 3, /* 0.0.3 third MSC emulation */ - own_ssn := 254, - peer_pc := 187, /* 0.23.3 osmo-bsc */ - peer_ssn := 254, - sio := '83'O, - rctx := 3 - } -}; -BSC_Tests.mp_enable_lcs_tests := true; -BSC_Tests.mp_bssap_le_cfg := { - sccp_service_type := "mtp3_itu", - sctp_addr := { 23908, "172.18.2.203", 2905, "172.18.2.200" }, - own_pc := 190, /* 0.23.6 SMLC emulation */ - own_ssn := 252, /* SMLC side SSN */ - peer_pc := 187, /* 0.23.3 osmo-bsc */ - peer_ssn := 250, /* BSC side SSN */ - sio := '83'O, - rctx := 6 -}; -BSC_Tests_CBSP.mp_cgi_bts0 := { '001'H, '01'H, 1, 0 }; -BSC_Tests_CBSP.mp_cgi_bts1 := { '001'H, '01'H, 1, 1 }; -BSC_Tests_CBSP.mp_cgi_bts2 := { '001'H, '01'H, 2, 1 }; -BSC_Tests_CBSP.mp_cgi_bts3 := { '001'H, '01'H, 3, 3 }; -BSC_Tests_CBSP.mp_cbc_ip := "172.18.2.203"; -BSC_Tests_CBSP.mp_cbc_ip6 := "fd02:db8:2::203"; -BSC_Tests_CBSP.mp_bsc_cbsp_ip := "172.18.2.20"; -BSC_Tests_CBSP.mp_bsc_cbsp_ip6 := "fd02:db8:2::20"; - -[MAIN_CONTROLLER] - -[EXECUTE] -BSC_Tests.control -BSC_Tests_LCLS.control -BSC_Tests_CBSP.control -BSC_Tests_ASCI.control diff --git a/ttcn3-bsc-test/Dockerfile b/ttcn3-bsc-test/Dockerfile deleted file mode 100644 index 963c8de..0000000 --- a/ttcn3-bsc-test/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -ARG REGISTRY -ARG USER -FROM $REGISTRY/$USER/debian-bookworm-titan -ARG OSMO_TTCN3_BRANCH="master" - -ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-ttcn3-hacks/+/$OSMO_TTCN3_BR... /tmp/commit -RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" bsc - -VOLUME /data - -COPY BSC_Tests.cfg /data/BSC_Tests.cfg - -CMD ttcn3-docker-run bsc BSC_Tests diff --git a/ttcn3-bsc-test/Makefile b/ttcn3-bsc-test/Makefile deleted file mode 100644 index 4848603..0000000 --- a/ttcn3-bsc-test/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -RUN_ARGS?=-it --sysctl net.ipv6.conf.all.disable_ipv6=0 --network sigtran --ip 172.18.2.202 -v ggsn-test-vol:/data - -include ../make/Makefile diff --git a/ttcn3-bsc-test/jenkins-sccplite.sh b/ttcn3-bsc-test/jenkins-sccplite.sh deleted file mode 100755 index 0446046..0000000 --- a/ttcn3-bsc-test/jenkins-sccplite.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -. ../jenkins-common.sh -IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}" -docker_images_require \ - "osmo-bsc-$IMAGE_SUFFIX" \ - "osmo-bts-$IMAGE_SUFFIX" \ - "ttcn3-bsc-test" - -set_clean_up_trap -set -e - -mkdir $VOL_BASE_DIR/bsc-tester -cp sccplite/BSC_Tests.cfg $VOL_BASE_DIR/bsc-tester/ -write_mp_osmo_repo "$VOL_BASE_DIR/bsc-tester/BSC_Tests.cfg" - -mkdir $VOL_BASE_DIR/bsc -cp sccplite/osmo-bsc.cfg $VOL_BASE_DIR/bsc/ - -mkdir $VOL_BASE_DIR/bts-omldummy - -network_create -network_replace_subnet_in_configs - -echo Starting container with BSC -docker run --rm \ - $(docker_network_params $SUBNET 20) \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/bsc:/data \ - --name ${BUILD_TAG}-bsc -d \ - $DOCKER_ARGS \ - $REPO_USER/osmo-bsc-$IMAGE_SUFFIX - -BTS_FEATURES="-fCCN,EGPRS,GPRS,IPv6_NSVC,PAGING_COORDINATION,OSMUX" - -for i in "0 1" "1 1" "2 4"; do - set -- $i # convert the {BTS, TRXN} "tuple" into the param args $1 $2 - echo "Starting container with OML for BTS$1 (TRXN = $2)" - docker run --rm \ - $(docker_network_params $SUBNET 10$1) \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/bts-omldummy:/data \ - --name ${BUILD_TAG}-bts$1 -d \ - $DOCKER_ARGS \ - $REPO_USER/osmo-bts-$IMAGE_SUFFIX \ - /bin/sh -c "/usr/local/bin/respawn.sh \ - osmo-bts-omldummy \ - $BTS_FEATURES \ - 172.18.$SUBNET.20 \ - $(($1 + 1234)) \ - $2 \ - >>/data/osmo-bts-omldummy-$1.log 2>&1" -done - -echo Starting container with BSC testsuite -docker run --rm \ - $(docker_network_params $SUBNET 203) \ - --ulimit core=-1 \ - -e "TTCN3_PCAP_PATH=/data" \ - -e "OSMO_SUT_HOST=172.18.$SUBNET.20" \ - -e "OSMO_SUT_PORT=4242" \ - -v $VOL_BASE_DIR/bsc-tester:/data \ - --name ${BUILD_TAG}-ttcn3-bsc-test \ - $DOCKER_ARGS \ - $REPO_USER/ttcn3-bsc-test diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh deleted file mode 100755 index f0274ad..0000000 --- a/ttcn3-bsc-test/jenkins.sh +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -. ../jenkins-common.sh -IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}" -docker_images_require \ - "osmo-stp-$IMAGE_SUFFIX" \ - "osmo-bsc-$IMAGE_SUFFIX" \ - "osmo-bts-$IMAGE_SUFFIX" \ - "ttcn3-bsc-test" - -set_clean_up_trap -set -e - -mkdir $VOL_BASE_DIR/bsc-tester -cp BSC_Tests.cfg $VOL_BASE_DIR/bsc-tester/ -write_mp_osmo_repo "$VOL_BASE_DIR/bsc-tester/BSC_Tests.cfg" - -mkdir $VOL_BASE_DIR/stp -cp osmo-stp.cfg $VOL_BASE_DIR/stp/ - -mkdir $VOL_BASE_DIR/bsc -cp osmo-bsc.cfg $VOL_BASE_DIR/bsc/ - -mkdir $VOL_BASE_DIR/bts-omldummy - -network_create -network_replace_subnet_in_configs - -echo Starting container with STP -docker run --rm \ - $(docker_network_params $SUBNET 200) \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/stp:/data \ - --name ${BUILD_TAG}-stp -d \ - $DOCKER_ARGS \ - $REPO_USER/osmo-stp-$IMAGE_SUFFIX - -echo Starting container with BSC -docker run --rm \ - $(docker_network_params $SUBNET 20) \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/bsc:/data \ - --name ${BUILD_TAG}-bsc -d \ - $DOCKER_ARGS \ - $REPO_USER/osmo-bsc-$IMAGE_SUFFIX - -BTS_FEATURES="-fCCN,EGPRS,GPRS,IPv6_NSVC,PAGING_COORDINATION,OSMUX" - -for i in "0 1" "1 1" "2 4"; do - set -- $i # convert the {BTS, TRXN} "tuple" into the param args $1 $2 - echo "Starting container with OML for BTS$1 (TRXN = $2)" - docker run --rm \ - $(docker_network_params $SUBNET 10$1) \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/bts-omldummy:/data \ - --name ${BUILD_TAG}-bts$1 -d \ - $DOCKER_ARGS \ - $REPO_USER/osmo-bts-$IMAGE_SUFFIX \ - /bin/sh -c "/usr/local/bin/respawn.sh \ - osmo-bts-omldummy \ - $BTS_FEATURES \ - $SUB4_PREFIX.$SUBNET.20 \ - $(($1 + 1234)) \ - $2 \ - >>/data/osmo-bts-omldummy-$1.log 2>&1" -done - -# Give OsmoBSC time to connect to OsmoSTP, so BSSMAP RESET from the testsuite -# doesn't fail in OsmoSTP with "MTP-TRANSFER.req for DPC 187: no route!" -sleep 1 - -echo Starting container with BSC testsuite -docker run --rm \ - $(docker_network_params $SUBNET 203) \ - --ulimit core=-1 \ - -e "TTCN3_PCAP_PATH=/data" \ - -e "OSMO_SUT_HOST=$SUB4_PREFIX.$SUBNET.20" \ - -e "OSMO_SUT_PORT=4242" \ - -v $VOL_BASE_DIR/bsc-tester:/data \ - --name ${BUILD_TAG}-ttcn3-bsc-test \ - $DOCKER_ARGS \ - $REPO_USER/ttcn3-bsc-test diff --git a/ttcn3-bsc-test/osmo-bsc.cfg b/ttcn3-bsc-test/osmo-bsc.cfg deleted file mode 100644 index 7cd8e1d..0000000 --- a/ttcn3-bsc-test/osmo-bsc.cfg +++ /dev/null @@ -1,540 +0,0 @@ -! -! OsmoBSC (1.0.1.122-630df) configuration saved from vty -!! -password foo -! -log gsmtap 172.18.2.203 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print category 1 - logging timestamp 1 - logging print extended-timestamp 1 - logging level rll notice - logging level mm notice - logging level rr notice - logging level rsl notice - logging level nm notice - logging level pag notice - logging level meas notice - logging level msc notice - logging level ho notice - logging level ref 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 0 -stats reporter statsd - prefix TTCN3 - level subscriber - remote-ip 172.18.2.203 - remote-port 8125 - flush-period 1 - mtu 1024 - enable -! -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 - asp asp-clnt-msc-0 2905 2905 m3ua - local-ip 172.18.2.20 - local-ip fd02:db8:2::20 - remote-ip 172.18.2.200 - remote-ip fd02:db8:2::200 - role asp - sctp-role client - sccp-address msc2 - point-code 0.0.2 - sccp-address msc3 - point-code 0.0.3 -network - network country code 1 - mobile network code 1 - encryption a5 0 1 3 - neci 1 - paging any use tch 0 - handover 1 - 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 - timer t3113 10 - timer t3212 30 - mgw 0 - mgw remote-ip 172.18.2.203 - bts 0 - type osmo-bts - 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 - amr tch-f modes 0 2 4 7 - amr tch-f threshold ms 32 32 32 - amr tch-f hysteresis ms 8 8 8 - amr tch-f threshold bts 32 32 32 - amr tch-f hysteresis bts 8 8 8 - amr tch-f start-mode auto - amr tch-h modes 0 2 4 - amr tch-h threshold ms 32 32 - amr tch-h hysteresis ms 8 8 - amr tch-h threshold bts 32 32 - amr tch-h hysteresis bts 8 8 - amr tch-h start-mode auto - gprs mode gprs - 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 - si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3 - 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+CBCH - 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 osmo-bts - band DCS1800 - cell_identity 1 - location_area_code 1 - 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 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 - si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3 - 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+CBCH - 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 osmo-bts - band DCS1800 - cell_identity 1 - location_area_code 2 - 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 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 - si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3 - 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+CBCH - 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 - trx 1 - rf_locked 0 - arfcn 873 - nominal power 23 - max_power_red 20 - rsl e1 tei 0 - timeslot 0 - phys_chan_config TCH/F - 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 - trx 2 - rf_locked 0 - arfcn 875 - nominal power 23 - max_power_red 20 - rsl e1 tei 0 - timeslot 0 - phys_chan_config TCH/F - 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 - trx 3 - rf_locked 0 - arfcn 877 - nominal power 23 - max_power_red 20 - rsl e1 tei 0 - timeslot 0 - phys_chan_config TCH/F - 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 3 - type osmo-bts - band DCS1800 - cell_identity 3 - location_area_code 3 - # re-use bts 2's ARFCN 871 and BSIC 12 (to test handover config) - base_station_id_code 12 - 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 - timeslot 1 - phys_chan_config TCH/F - timeslot 2 - phys_chan_config TCH/F - timeslot 3 - phys_chan_config TCH/F - timeslot 4 - phys_chan_config TCH/F - timeslot 5 - phys_chan_config TCH/H - timeslot 6 - phys_chan_config PDCH - timeslot 7 - phys_chan_config PDCH -msc 0 - 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 - lcls-mode mgw-loop -msc 1 - msc-addr msc2 -msc 2 - msc-addr msc3 - -network - nri bitlen 10 - # a NULL NRI that is outside the NRI ranges used by the MSCs: - nri null add 0 - # a NULL NRI that is also used by an MSC: - nri null add 1 -msc 0 - nri add 1 255 -msc 1 - nri add 256 511 -msc 2 - nri add 512 767 - # range 768-1024 is not assigned to any MSC on purpose - -bsc - mid-call-timeout 0 - no missing-msc-text -ctrl - bind 0.0.0.0 -cbc - mode disabled - client - remote-ip 172.18.2.203 - remote-port 48049 - server - local-ip 172.18.2.20 - local-port 48050 -smlc - enable diff --git a/ttcn3-bsc-test/osmo-stp.cfg b/ttcn3-bsc-test/osmo-stp.cfg deleted file mode 100644 index 4137373..0000000 --- a/ttcn3-bsc-test/osmo-stp.cfg +++ /dev/null @@ -1,96 +0,0 @@ -! -! OsmoSTP (0.8.1) configuration saved from vty -!! -! -log gsmtap 172.18.2.203 - logging level set-all info - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print category 1 - logging timestamp 1 - logging print extended-timestamp 1 - 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 info - logging level lsccp info - logging level lsua info - logging level lm3ua info - logging level lmgcp notice -! -line vty - no login -! -cs7 instance 0 - xua rkm routing-key-allocation dynamic-permitted - asp virt-msc0-0 23905 2905 m3ua - local-ip 172.18.2.200 - local-ip fd02:db8:2::200 - remote-ip 172.18.2.203 - remote-ip fd02:db8:2::203 - role sg - sctp-role server - as mahlzeit ipa - routing-key 0 0.23.4 - point-code override dpc 0.23.1 - as virt-msc0 m3ua - asp virt-msc0-0 - routing-key 1 0.23.1 - - asp virt-msc1-0 23906 2905 m3ua - local-ip 172.18.2.200 - local-ip fd02:db8:2::200 - remote-ip 172.18.2.203 - remote-ip fd02:db8:2::203 - role sg - sctp-role server - as virt-msc1 m3ua - asp virt-msc1-0 - routing-key 2 0.0.2 - - asp virt-msc2-0 23907 2905 m3ua - local-ip 172.18.2.200 - local-ip fd02:db8:2::200 - remote-ip 172.18.2.203 - remote-ip fd02:db8:2::203 - role sg - sctp-role server - as virt-msc2 m3ua - asp virt-msc2-0 - routing-key 3 0.0.3 - - asp virt-smlc-0 23908 2905 m3ua - local-ip 172.18.2.200 - local-ip fd02:db8:2::200 - remote-ip 172.18.2.203 - remote-ip fd02:db8:2::203 - role sg - sctp-role server - as virt-smlc m3ua - asp virt-smlc-0 - routing-key 6 0.23.6 - - route-table system - update route 0.23.1 7.255.7 linkset virt-msc0 - update route 0.0.2 7.255.7 linkset virt-msc1 - update route 0.0.3 7.255.7 linkset virt-msc2 - update route 0.23.6 7.255.7 linkset virt-smlc - listen m3ua 2905 - accept-asp-connections dynamic-permitted - local-ip 172.18.2.200 - local-ip fd02:db8:2::200 - listen ipa 5000 - accept-asp-connections dynamic-permitted - local-ip 172.18.2.200 diff --git a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg deleted file mode 100644 index 5103e2e..0000000 --- a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg +++ /dev/null @@ -1,33 +0,0 @@ -[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.12.20" -*.STATSVTY.CTRL_HOSTNAME := "172.18.12.20" - -[MODULE_PARAMETERS] -BSC_Tests.mp_bsc_ip := "172.18.12.20"; -BSC_Tests.mp_test_ip := "172.18.12.203"; -BSC_Tests.mp_bssap_cfg := { - { - transport := BSSAP_TRANSPORT_SCCPlite_SERVER, - sccp_service_type := "mtp3_itu", - sctp_addr := { 5000, "172.18.12.203", -1, "" }, - own_pc := 185, /* 0.23.1 first MSC emulation */ - own_ssn := 254, - peer_pc := 187, /* 0.23.3 osmo-bsc */ - peer_ssn := 254, - sio := '83'O, - rctx := 0 - } -}; -BSC_Tests.mp_enable_lcs_tests := false; - -[MAIN_CONTROLLER] - -[EXECUTE] -BSC_Tests.control diff --git a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg deleted file mode 100644 index 10ed346..0000000 --- a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg +++ /dev/null @@ -1,488 +0,0 @@ -! -! OsmoBSC (1.0.1.122-630df) configuration saved from vty -!! -password foo -! -log gsmtap 172.18.12.203 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print category 1 - logging timestamp 1 - logging print extended-timestamp 1 - logging print category-hex 0 - logging print file basename last - logging print level 1 - logging level set-all debug - 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 0 -stats reporter statsd - prefix TTCN3 - level subscriber - remote-ip 172.18.12.203 - remote-port 8125 - flush-period 1 - mtu 1024 - enable -! -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 - local-ip 172.18.12.20 - remote-ip 172.18.12.203 - role asp - sctp-role client - as as-clnt-msc-0 ipa - asp asp-clnt-msc-0 - routing-key 0 0.23.3 - point-code override 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 1 - 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 - timer t3113 10 - timer t3212 30 - mgw 0 - mgw remote-ip 172.18.12.203 - bts 0 - type osmo-bts - 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 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 - si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3 - 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+CBCH - 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 osmo-bts - band DCS1800 - cell_identity 1 - location_area_code 1 - 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 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 - si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3 - 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+CBCH - 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 osmo-bts - band DCS1800 - cell_identity 1 - location_area_code 2 - 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 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 - si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 qrxlv 22 meas 3 - 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+CBCH - 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 - trx 1 - rf_locked 0 - arfcn 873 - nominal power 23 - max_power_red 20 - rsl e1 tei 0 - timeslot 0 - phys_chan_config TCH/F - 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 - trx 2 - rf_locked 0 - arfcn 875 - nominal power 23 - max_power_red 20 - rsl e1 tei 0 - timeslot 0 - phys_chan_config TCH/F - 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 - trx 3 - rf_locked 0 - arfcn 877 - nominal power 23 - max_power_red 20 - rsl e1 tei 0 - timeslot 0 - phys_chan_config TCH/F - 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 3 - type osmo-bts - band DCS1800 - cell_identity 3 - location_area_code 3 - # re-use bts 2's ARFCN 871 and BSIC 12 (to test handover config) - base_station_id_code 12 - 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 - timeslot 1 - phys_chan_config TCH/F - timeslot 2 - phys_chan_config TCH/F - timeslot 3 - phys_chan_config TCH/F - timeslot 4 - phys_chan_config TCH/F - timeslot 5 - phys_chan_config TCH/H - timeslot 6 - phys_chan_config PDCH - timeslot 7 - phys_chan_config PDCH -msc 0 - 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 - asp-protocol ipa -bsc - mid-call-timeout 0 - no missing-msc-text -ctrl - bind 0.0.0.0 diff --git a/ttcn3-ggsn-test/Dockerfile b/ttcn3-ggsn-test/Dockerfile deleted file mode 100644 index e1da704..0000000 --- a/ttcn3-ggsn-test/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -ARG REGISTRY -ARG USER -FROM $REGISTRY/$USER/debian-bookworm-titan -ARG OSMO_TTCN3_BRANCH="master" - -ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-ttcn3-hacks/+/$OSMO_TTCN3_BR... /tmp/commit -RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" ggsn_tests - -VOLUME /data - -COPY ttcn3/all/GGSN_Tests.cfg /data/GGSN_Tests.cfg - -CMD ttcn3-docker-run ggsn_tests GGSN_Tests diff --git a/ttcn3-ggsn-test/Makefile b/ttcn3-ggsn-test/Makefile deleted file mode 100644 index 8d0e10b..0000000 --- a/ttcn3-ggsn-test/Makefile +++ /dev/null @@ -1 +0,0 @@ -include ../make/Makefile diff --git a/ttcn3-ggsn-test/jenkins-ogs.sh b/ttcn3-ggsn-test/jenkins-ogs.sh deleted file mode 100755 index 07952bc..0000000 --- a/ttcn3-ggsn-test/jenkins-ogs.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -. ../jenkins-common.sh - -KERNEL_TEST="${KERNEL_TEST:-0}" -IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}" -docker_images_require \ - "open5gs-$IMAGE_SUFFIX" \ - "ttcn3-ggsn-test" - -set_clean_up_trap -set -e - -mkdir $VOL_BASE_DIR/ggsn-tester -cp ogs/GGSN_Tests.cfg $VOL_BASE_DIR/ggsn-tester/ -write_mp_osmo_repo "$VOL_BASE_DIR/ggsn-tester/GGSN_Tests.cfg" - -mkdir $VOL_BASE_DIR/ggsn -cp ogs/open5gs-*-$IMAGE_SUFFIX.yaml $VOL_BASE_DIR/ggsn/ -cp ogs/freediameter.conf $VOL_BASE_DIR/ggsn/ -cp ogs/upfd.sh $VOL_BASE_DIR/ggsn/ -cp ogs/upfd-setup.sh $VOL_BASE_DIR/ggsn/ - -network_create -network_replace_subnet_in_configs - -# start container with ggsn (smf+upf) in background -docker run --cap-add=NET_ADMIN \ - --device /dev/net/tun:/dev/net/tun \ - --sysctl net.ipv6.conf.all.disable_ipv6=0 \ - --rm \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/ggsn:/data \ - --name ${BUILD_TAG}-ggsn-ogs-smf -d \ - $DOCKER_ARGS \ - $(docker_network_params $SUBNET 201) \ - $REPO_USER/open5gs-$IMAGE_SUFFIX \ - /bin/sh -c "open5gs-smfd -c /data/open5gs-smf-$IMAGE_SUFFIX.yaml >/data/open5gs-smfd.out 2>&1" - #/bin/sh -c "gdb -ex 'handle SIG32 pass nostop noprint' -ex 'run' -ex 'bt' --arg open5gs-smfd -c /data/open5gs-smf-$IMAGE_SUFFIX.yaml >/data/open5gs-smfd.out 2>&1" - #/bin/sh -c "valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes open5gs-smfd -c /data/open5gs-smf-$IMAGE_SUFFIX.yaml >/data/open5gs-smfd.out 2>&1" - -docker run --cap-add=NET_ADMIN \ - --device /dev/net/tun:/dev/net/tun \ - --sysctl net.ipv6.conf.all.disable_ipv6=0 \ - --rm \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/ggsn:/data \ - --name ${BUILD_TAG}-ggsn-ogs-upf -d \ - $DOCKER_ARGS \ - $(docker_network_params $SUBNET 222) \ - $REPO_USER/open5gs-$IMAGE_SUFFIX \ - /bin/sh -c "/data/upfd.sh -c /data/open5gs-upf-$IMAGE_SUFFIX.yaml >/data/open5gs-upfd.out 2>&1" - -# start docker container with testsuite in foreground -docker run --rm \ - --sysctl net.ipv6.conf.all.disable_ipv6=0 \ - $(docker_network_params $SUBNET 202) \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/ggsn-tester:/data \ - -e "TTCN3_PCAP_PATH=/data" \ - --name ${BUILD_TAG}-ggsn-test \ - $DOCKER_ARGS \ - $REPO_USER/ttcn3-ggsn-test diff --git a/ttcn3-ggsn-test/jenkins.sh b/ttcn3-ggsn-test/jenkins.sh deleted file mode 100755 index 57ccfbb..0000000 --- a/ttcn3-ggsn-test/jenkins.sh +++ /dev/null @@ -1,132 +0,0 @@ -#!/bin/sh -# Environment variables: see README.md -# Possible test configurations: -# * v4_only: one APN with v4 -# * v6_only: one APN with v6 -# * v4v6_only: one APN with v4v6 -# * all: multiple APNs with all of the above -TEST_CONFIGS_ALL="all v4_only v6_only v4v6_only" -TEST_CONFIGS="${TEST_CONFIGS:-$TEST_CONFIGS_ALL}" -. ../jenkins-common.sh - -KERNEL_TEST="${KERNEL_TEST:-0}" -IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}" -docker_images_require \ - "osmo-ggsn-$IMAGE_SUFFIX" \ - "ttcn3-ggsn-test" - -set_clean_up_trap -set -e - -clean_up() { - local i - local log - - # Add a suffix to the class names in the junit-xml log - for i in $TEST_CONFIGS; do - if [ "$i" = "all" ]; then - continue - fi - - for log in "$VOL_BASE_DIR"/ggsn-tester-"$i"/junit-xml-*.log; do - if ! [ -e "$log" ]; then - continue - fi - sed -i "s/classname='([^']+)'/classname='\1_$i'/g" "$log" - done - done -} - -# Start container with ggsn in background -start_ggsn() { - local test_config="$1" - - GGSN_CMD="osmo-ggsn -c /data/osmo-ggsn.cfg" - GGSN_DOCKER_ARGS="" - if [ "$KERNEL_TEST" = "1" ]; then - cp osmo-ggsn-kernel/initrd-ggsn.sh $VOL_BASE_DIR/ggsn-"$test_config"/ - network_replace_subnet_in_configs - - kernel_test_prepare \ - "defconfig" \ - "osmo-ggsn-kernel/fragment.config" \ - "$VOL_BASE_DIR/ggsn-$test_config/initrd-ggsn.sh" \ - "$REPO_USER/osmo-ggsn-$IMAGE_SUFFIX" \ - -v $VOL_BASE_DIR/ggsn-"$test_config":/data - - GGSN_CMD="/kernel-test/run-qemu.sh" - GGSN_DOCKER_ARGS=" - $(docker_network_params $SUBNET 200) - $(docker_kvm_param) - -v "$KERNEL_TEST_DIR:/kernel-test:ro" - -v "$CACHE_DIR:/cache" - " - OSMO_SUT_HOST="$SUB4_PREFIX.$SUBNET.200" - else - - GGSN_DOCKER_ARGS=" - $(docker_network_params $SUBNET 201) - " - OSMO_SUT_HOST="$SUB4_PREFIX.$SUBNET.201" - fi - docker run --rm \ - --cap-add=NET_ADMIN \ - --device /dev/net/tun:/dev/net/tun \ - --sysctl net.ipv6.conf.all.disable_ipv6=0 \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/ggsn-"$test_config":/data \ - --name ${BUILD_TAG}-ggsn -d \ - $DOCKER_ARGS \ - $GGSN_DOCKER_ARGS \ - $REPO_USER/osmo-ggsn-$IMAGE_SUFFIX \ - /bin/sh -c "$GGSN_CMD >/data/osmo-ggsn.log 2>&1" - - kernel_test_wait_for_vm "$VOL_BASE_DIR/ggsn-$test_config/osmo-ggsn.log" -} - -# Start docker container with testsuite in foreground -start_testsuite() { - local test_config="$1" - - docker run --rm \ - --sysctl net.ipv6.conf.all.disable_ipv6=0 \ - $(docker_network_params $SUBNET 202) \ - --ulimit core=-1 \ - -v $VOL_BASE_DIR/ggsn-tester-"$test_config":/data \ - -e "TTCN3_PCAP_PATH=/data" \ - -e "OSMO_SUT_HOST=$OSMO_SUT_HOST" \ - -e "OSMO_SUT_PORT=4260" \ - --name ${BUILD_TAG}-ggsn-test \ - $DOCKER_ARGS \ - $REPO_USER/ttcn3-ggsn-test -} - -network_create - -if [ "$KERNEL_TEST" = 1 ]; then - CONFIGS_DIR="osmo-ggsn-kernel" -else - CONFIGS_DIR="osmo-ggsn" -fi - -for i in $TEST_CONFIGS; do - # OS#6106: Currently it is not possible to configure multiple APNs with - # gtpu-mode kernel-gtp in OsmoGGSN, because it cannot share the GTP-U - # bind socket between tunnels. - if [ "$i" = "all" ] && [ "$KERNEL_TEST" = "1" ]; then - continue - fi - - mkdir $VOL_BASE_DIR/ggsn-tester-"$i" - cp ttcn3/"$i"/GGSN_Tests.cfg $VOL_BASE_DIR/ggsn-tester-"$i"/GGSN_Tests.cfg - write_mp_osmo_repo "$VOL_BASE_DIR/ggsn-tester-$i/GGSN_Tests.cfg" - - mkdir $VOL_BASE_DIR/ggsn-"$i" - cp "$CONFIGS_DIR"/"$i"/osmo-ggsn.cfg "$VOL_BASE_DIR"/ggsn-"$i"/osmo-ggsn.cfg - network_replace_subnet_in_configs - - start_ggsn "$i" - start_testsuite "$i" - - docker_kill_wait "$BUILD_TAG"-ggsn || true -done diff --git a/ttcn3-ggsn-test/ogs/GGSN_Tests.cfg b/ttcn3-ggsn-test/ogs/GGSN_Tests.cfg deleted file mode 100644 index da69999..0000000 --- a/ttcn3-ggsn-test/ogs/GGSN_Tests.cfg +++ /dev/null @@ -1,24 +0,0 @@ -[ORDERED_INCLUDE] -"/osmo-ttcn3-hacks/Common.cfg" -"/osmo-ttcn3-hacks/ggsn_tests/GGSN_Tests.default" - -[LOGGING] -*.JUnitLogger.testsuite_name := "GGSN_Tests" - -[TESTPORT_PARAMETERS] -*.GGSNVTY.CTRL_HOSTNAME := "172.18.3.201" - -[MODULE_PARAMETERS] -# our Own IP address -GGSN_Tests.m_bind_ip_gtpc := "172.18.3.202" -GGSN_Tests.m_bind_ip_gtpu := "172.18.3.202" -# GGSN IP address -GGSN_Tests.m_ggsn_ip_gtpc := "172.18.3.201" -GGSN_Tests.m_ggsn_ip_gtpu := "172.18.3.222" -# GGSN announced DNS address -GGSN_Tests.m_ggsn_ip4_dns1 := "172.18.3.222" -GGSN_Tests.m_ggsn_ip6_dns1 := "fd02:db8:3::222" -GGSN_Tests.m_ggsn_impl := GGSN_IMPL_OPEN5GS - -[EXECUTE] -GGSN_Tests.control diff --git a/ttcn3-ggsn-test/ogs/freediameter.conf b/ttcn3-ggsn-test/ogs/freediameter.conf deleted file mode 100644 index 63d61e5..0000000 --- a/ttcn3-ggsn-test/ogs/freediameter.conf +++ /dev/null @@ -1,266 +0,0 @@ -# This is a sample configuration file for freeDiameter daemon. - -# Most of the options can be omitted, as they default to reasonable values. -# Only TLS-related options must be configured properly in usual setups. - -# It is possible to use "include" keyword to import additional files -# e.g.: include "/etc/freeDiameter.d/*.conf" -# This is exactly equivalent as copy & paste the content of the included file(s) -# where the "include" keyword is found. - - -############################################################## -## Peer identity and realm - -# The Diameter Identity of this daemon. -# This must be a valid FQDN that resolves to the local host. -# Default: hostname's FQDN -#Identity = "aaa.koganei.freediameter.net"; -Identity = "smf.localdomain"; - -# The Diameter Realm of this daemon. -# Default: the domain part of Identity (after the first dot). -#Realm = "koganei.freediameter.net"; -Realm = "localdomain"; - -############################################################## -## Transport protocol configuration - -# The port this peer is listening on for incoming connections (TCP and SCTP). -# Default: 3868. Use 0 to disable. -Port = 3868; - -# The port this peer is listening on for incoming TLS-protected connections (TCP and SCTP). -# See TLS_old_method for more information about TLS flavours. -# Note: we use TLS/SCTP instead of DTLS/SCTP at the moment. This will change in future version of freeDiameter. -# Default: 5868. Use 0 to disable. -SecPort = 0; - -# Use RFC3588 method for TLS protection, where TLS is negociated after CER/CEA exchange is completed -# on the unsecure connection. The alternative is RFC6733 mechanism, where TLS protects also the -# CER/CEA exchange on a dedicated secure port. -# This parameter only affects outgoing connections. -# The setting can be also defined per-peer (see Peers configuration section). -# Default: use RFC6733 method with separate port for TLS. -#TLS_old_method; - -# Disable use of TCP protocol (only listen and connect over SCTP) -# Default : TCP enabled -#No_TCP; - -# Disable use of SCTP protocol (only listen and connect over TCP) -# Default : SCTP enabled -#No_SCTP; -# This option is ignored if freeDiameter is compiled with DISABLE_SCTP option. - -# Prefer TCP instead of SCTP for establishing new connections. -# This setting may be overwritten per peer in peer configuration blocs. -# Default : SCTP is attempted first. -#Prefer_TCP; - -# Default number of streams per SCTP associations. -# This setting may be overwritten per peer basis. -# Default : 30 streams -#SCTP_streams = 30; - -############################################################## -## Endpoint configuration - -# Disable use of IP addresses (only IPv6) -# Default : IP enabled -#No_IP; - -# Disable use of IPv6 addresses (only IP) -# Default : IPv6 enabled -#No_IPv6; - -# Specify local addresses the server must bind to -# Default : listen on all addresses available. -#ListenOn = "202.249.37.5"; -#ListenOn = "2001:200:903:2::202:1"; -#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0"; -ListenOn = "172.18.3.201"; - - -############################################################## -## Server configuration - -# How many Diameter peers are allowed to be connecting at the same time ? -# This parameter limits the number of incoming connections from the time -# the connection is accepted until the first CER is received. -# Default: 5 unidentified clients in paralel. -#ThreadsPerServer = 5; - -############################################################## -## TLS Configuration - -# TLS is managed by the GNUTLS library in the freeDiameter daemon. -# You may find more information about parameters and special behaviors -# in the relevant documentation. -# http://www.gnu.org/software/gnutls/manual/ - -# Credentials of the local peer -# The X509 certificate and private key file to use for the local peer. -# The files must contain PKCS-1 encoded RSA key, in PEM format. -# (These parameters are passed to gnutls_certificate_set_x509_key_file function) -# Default : NO DEFAULT -#TLS_Cred = "<x509 certif file.PEM>" , "<x509 private key file.PEM>"; -#TLS_Cred = "/etc/ssl/certs/freeDiameter.pem", "/etc/ssl/private/freeDiameter.key"; - -# Certificate authority / trust anchors -# The file containing the list of trusted Certificate Authorities (PEM list) -# (This parameter is passed to gnutls_certificate_set_x509_trust_file function) -# The directive can appear several times to specify several files. -# Default : GNUTLS default behavior -#TLS_CA = "<file.PEM>"; - -# Certificate Revocation List file -# The information about revoked certificates. -# The file contains a list of trusted CRLs in PEM format. They should have been verified before. -# (This parameter is passed to gnutls_certificate_set_x509_crl_file function) -# Note: openssl CRL format might have interoperability issue with GNUTLS format. -# Default : GNUTLS default behavior -#TLS_CRL = "<file.PEM>"; - -# GNU TLS Priority string -# This string allows to configure the behavior of GNUTLS key exchanges -# algorithms. See gnutls_priority_init function documentation for information. -# You should also refer to the Diameter required TLS support here: -# http://tools.ietf.org/html/rfc6733#section-13.1 -# Default : "NORMAL" -# Example: TLS_Prio = "NONE:+VERS-TLS1.1:+AES-128-CBC:+RSA:+SHA1:+COMP-NULL"; -#TLS_Prio = "NORMAL"; - -# Diffie-Hellman parameters size -# Set the number of bits for generated DH parameters -# Valid value should be 768, 1024, 2048, 3072 or 4096. -# (This parameter is passed to gnutls_dh_params_generate2 function, -# it usually should match RSA key size) -# Default : 1024 -#TLS_DH_Bits = 1024; - -# Alternatively, you can specify a file to load the PKCS#3 encoded -# DH parameters directly from. This accelerates the daemon start -# but is slightly less secure. If this file is provided, the -# TLS_DH_Bits parameters has no effect. -# Default : no default. -#TLS_DH_File = "<file.PEM>"; - - -############################################################## -## Timers configuration - -# The Tc timer of this peer. -# It is the delay before a new attempt is made to reconnect a disconnected peer. -# The value is expressed in seconds. The recommended value is 30 seconds. -# Default: 30 -#TcTimer = 30; - -# The Tw timer of this peer. -# It is the delay before a watchdog message is sent, as described in RFC 3539. -# The value is expressed in seconds. The default value is 30 seconds. Value must -# be greater or equal to 6 seconds. See details in the RFC. -# Default: 30 -#TwTimer = 30; - -############################################################## -## Applications configuration - -# Disable the relaying of Diameter messages? -# For messages not handled locally, the default behavior is to forward the -# message to another peer if any is available, according to the routing -# algorithms. In addition the "0xffffff" application is advertised in CER/CEA -# exchanges. -# Default: Relaying is enabled. -#NoRelay; -NoRelay; - -# Number of server threads that can handle incoming messages at the same time. -# Default: 4 -#AppServThreads = 4; - -# Other applications are configured by loaded extensions. - -############################################################## -## Extensions configuration - -# The freeDiameter framework merely provides support for -# Diameter Base Protocol. The specific application behaviors, -# as well as advanced functions, are provided -# by loadable extensions (plug-ins). -# These extensions may in addition receive the name of a -# configuration file, the format of which is extension-specific. -# -# Format: -#LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ; -# -# Examples: -#LoadExtension = "extensions/sample.fdx"; -#LoadExtension = "extensions/sample.fdx":"conf/sample.conf"; - -# Extensions are named as follow: -# dict_* for extensions that add content to the dictionary definitions. -# dbg_* for extensions useful only to retrieve more information on the framework execution. -# acl_* : Access control list, to control which peers are allowed to connect. -# rt_* : routing extensions that impact how messages are forwarded to other peers. -# app_* : applications, these extensions usually register callbacks to handle specific messages. -# test_* : dummy extensions that are useful only in testing environments. - - -# The dbg_msg_dump.fdx extension allows you to tweak the way freeDiameter displays some -# information about some events. This extension does not actually use a configuration file -# but receives directly a parameter in the string passed to the extension. Here are some examples: -## LoadExtension = "dbg_msg_dumps.fdx" : "0x1111"; # Removes all default hooks, very quiet even in case of errors. -## LoadExtension = "dbg_msg_dumps.fdx" : "0x2222"; # Display all events with few details. -## LoadExtension = "dbg_msg_dumps.fdx" : "0x0080"; # Dump complete information about sent and received messages. -# The four digits respectively control: connections, routing decisions, sent/received messages, errors. -# The values for each digit are: -# 0 - default - keep the default behavior -# 1 - quiet - remove any specific log -# 2 - compact - display only a summary of the information -# 4 - full - display the complete information on a single long line -# 8 - tree - display the complete information in an easier to read format spanning several lines. - -LoadExtension = "/usr/lib/x86_64-linux-gnu/freeDiameter/dbg_msg_dumps.fdx" : "0x8888"; -LoadExtension = "/usr/lib/x86_64-linux-gnu/freeDiameter/dict_rfc5777.fdx"; -LoadExtension = "/usr/lib/x86_64-linux-gnu/freeDiameter/dict_mip6i.fdx"; -LoadExtension = "/usr/lib/x86_64-linux-gnu/freeDiameter/dict_nasreq.fdx"; -LoadExtension = "/usr/lib/x86_64-linux-gnu/freeDiameter/dict_nas_mipv6.fdx"; -LoadExtension = "/usr/lib/x86_64-linux-gnu/freeDiameter/dict_dcca.fdx"; -LoadExtension = "/usr/lib/x86_64-linux-gnu/freeDiameter/dict_dcca_3gpp.fdx"; - - -############################################################## -## Peers configuration - -# The local server listens for incoming connections. By default, -# all unknown connecting peers are rejected. Extensions can override this behavior (e.g., acl_wl). -# -# In addition to incoming connections, the local peer can -# be configured to establish and maintain connections to some -# Diameter nodes and allow connections from these nodes. -# This is achieved with the ConnectPeer directive described below. -# -# Note that the configured Diameter Identity MUST match -# the information received inside CEA, or the connection will be aborted. -# -# Format: -#ConnectPeer = "diameterid" [ { parameter1; parameter2; ...} ] ; -# Parameters that can be specified in the peer's parameter list: -# No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method; -# No_TLS; # assume transparent security instead of TLS. DTLS is not supported yet (will change in future versions). -# Port = 5868; # The port to connect to -# TcTimer = 30; -# TwTimer = 30; -# ConnectTo = "202.249.37.5"; -# ConnectTo = "2001:200:903:2::202:1"; -# TLS_Prio = "NORMAL"; -# Realm = "realm.net"; # Reject the peer if it does not advertise this realm. -# Examples: -#ConnectPeer = "aaa.wide.ad.jp"; -#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ; -ConnectPeer = "pcrf.localdomain" { ConnectTo = "172.18.3.202"; Port = 3868; No_TLS; TcTimer = 2; }; -ConnectPeer = "ocs.localdomain" { ConnectTo = "172.18.3.202"; Port = 3869; No_TLS; TcTimer = 2; }; - - -############################################################## diff --git a/ttcn3-ggsn-test/ogs/open5gs-smf-latest.yaml b/ttcn3-ggsn-test/ogs/open5gs-smf-latest.yaml deleted file mode 100644 index afb5cf2..0000000 --- a/ttcn3-ggsn-test/ogs/open5gs-smf-latest.yaml +++ /dev/null @@ -1,74 +0,0 @@ -# See https://github.com/open5gs/open5gs/blob/main/configs/open5gs/smf.yaml.in - -logger: - level: info - -sbi: - server: - no_tls: true - cacert: /etc/open5gs/tls/ca.crt - key: /etc/open5gs/tls/smf.key - cert: /etc/open5gs/tls/smf.crt - client: - no_tls: true - cacert: /etc/open5gs/tls/ca.crt - key: /etc/open5gs/tls/smf.key - cert: /etc/open5gs/tls/smf.crt - -smf: - sbi: - - addr: 172.18.3.201 - port: 7777 - pfcp: - - addr: 172.18.3.201 - gtpc: - - addr: 172.18.3.201 - option: - so_bindtodevice: eth0 - gtpu: - - addr: 172.18.3.201 - port: 2152 - option: - so_bindtodevice: eth0 - metrics: - addr: 172.18.3.201 - port: 9090 - subnet: - - addr: 176.16.16.1/20 - dnn: internet - - addr: 2001:780:44:2000:0:0:0:1/56 - dnn: inet6 - - addr: 176.16.32.1/20 - dnn: inet46 - - addr: 2001:780:44:2100:0:0:0:1/56 - dnn: inet46 - dns: - - 172.18.3.222 - - 8.8.8.8 - - fd02:db8:3::222 - - 2001:4860:4860::8844 - mtu: 1400 - ctf: - enabled: auto - freeDiameter: /data/freediameter.conf - -scp: - sbi: - - addr: 127.0.1.10 - port: 7777 - -nrf: - sbi: - - addr: - - 172.18.3.201 - port: 7777 - -upf: - pfcp: - - addr: 172.18.3.222 - -parameter: - -max: - -time: diff --git a/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml b/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml deleted file mode 100644 index 76c71b6..0000000 --- a/ttcn3-ggsn-test/ogs/open5gs-smf-master.yaml +++ /dev/null @@ -1,55 +0,0 @@ -# See https://github.com/open5gs/open5gs/blob/main/configs/open5gs/smf.yaml.in - -logger: - level: info - -global: - max: - ue: 1024 - -smf: - pfcp: - server: - - address: 172.18.3.201 - client: - upf: - - address: 172.18.3.222 - gtpc: - server: - - address: 172.18.3.201 - option: - so_bindtodevice: eth0 - gtpu: - server: - - address: 172.18.3.201 - port: 2152 - option: - so_bindtodevice: eth0 - metrics: - server: - - address: 172.18.3.201 - port: 9090 - session: - - subnet: 176.16.16.1/20 - dnn: internet - - subnet: 2001:780:44:2000:0:0:0:1/56 - dnn: inet6 - - subnet: 176.16.32.1/20 - dnn: inet46 - - subnet: 2001:780:44:2100:0:0:0:1/56 - dnn: inet46 - dns: - - 172.18.3.222 - - 8.8.8.8 - - fd02:db8:3::222 - - 2001:4860:4860::8844 - mtu: 1400 - ctf: - enabled: auto - freeDiameter: /data/freediameter.conf - -parameter: - -max: - -time: diff --git a/ttcn3-ggsn-test/ogs/open5gs-upf-latest.yaml b/ttcn3-ggsn-test/ogs/open5gs-upf-latest.yaml deleted file mode 100644 index 73e1bac..0000000 --- a/ttcn3-ggsn-test/ogs/open5gs-upf-latest.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# See https://github.com/open5gs/open5gs/blob/main/configs/open5gs/upf.yaml.in - -logger: - level: info - -upf: - pfcp: - - addr: 172.18.3.222 - gtpu: - - addr: 172.18.3.222 - port: 2152 - option: - so_bindtodevice: eth0 - subnet: - - addr: 176.16.16.1/20 - dnn: internet - dev: ogstun4 - - addr: 2001:780:44:2000:0:0:0:1/56 - dnn: inet6 - dev: ogstun6 - - addr: 176.16.32.1/20 - dnn: inet46 - dev: ogstun46 - - addr: 2001:780:44:2100:0:0:0:1/56 - dnn: inet46 - dev: ogstun46 - -smf: - pfcp: - - addr: 172.18.3.201 - -parameter: - -max: - -time: diff --git a/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml b/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml deleted file mode 100644 index 81afc6e..0000000 --- a/ttcn3-ggsn-test/ogs/open5gs-upf-master.yaml +++ /dev/null @@ -1,42 +0,0 @@ -# See https://github.com/open5gs/open5gs/blob/main/configs/open5gs/upf.yaml.in - -logger: - level: info - -global: - max: - ue: 1024 - -upf: - pfcp: - server: - - address: 172.18.3.222 - gtpu: - server: - - address: 172.18.3.222 - port: 2152 - option: - so_bindtodevice: eth0 - session: - - subnet: 176.16.16.1/20 - dnn: internet - dev: ogstun4 - - subnet: 2001:780:44:2000:0:0:0:1/56 - dnn: inet6 - dev: ogstun6 - - subnet: 176.16.32.1/20 - dnn: inet46 - dev: ogstun46 - - subnet: 2001:780:44:2100:0:0:0:1/56 - dnn: inet46 - dev: ogstun46 - -smf: - pfcp: - - address: 172.18.3.201 - -parameter: - -max: - -time: diff --git a/ttcn3-ggsn-test/ogs/upfd-setup.sh b/ttcn3-ggsn-test/ogs/upfd-setup.sh deleted file mode 100755 index b185ac0..0000000 --- a/ttcn3-ggsn-test/ogs/upfd-setup.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -create_tun() { - name="$1" - if ! grep "$name" /proc/net/dev > /dev/null; then - ip tuntap add name $name mode tun - fi -} - -add_addr() { - name="$1" - addr="$2" - ip addr del "$addr" dev "$name" 2> /dev/null - ip addr add "$addr" dev "$name" -} - -create_tun "ogstun4" -create_tun "ogstun6" -create_tun "ogstun46" - -add_addr "ogstun4" "176.16.16.1/20" -add_addr "ogstun6" "2001:780:44:2000:0:0:0:1/56" -add_addr "ogstun46" "176.16.32.1/20" -add_addr "ogstun46" "2001:780:44:2100:0:0:0:1/56" - -ip link set ogstun4 up -ip link set ogstun6 up -ip link set ogstun46 up diff --git a/ttcn3-ggsn-test/ogs/upfd.sh b/ttcn3-ggsn-test/ogs/upfd.sh deleted file mode 100755 index 9089701..0000000 --- a/ttcn3-ggsn-test/ogs/upfd.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -set -e -set -x -/data/upfd-setup.sh -upfd_bin="$(command -v open5gs-upfd)" -# so_bindtodevice cfg requires CAP_NET_RAW: -setcap cap_net_raw+ep "$upfd_bin" -su - osmocom -c "$upfd_bin $*" diff --git a/ttcn3-ggsn-test/osmo-ggsn-kernel/fragment.config b/ttcn3-ggsn-test/osmo-ggsn-kernel/fragment.config deleted file mode 100644 index b6e2071..0000000 --- a/ttcn3-ggsn-test/osmo-ggsn-kernel/fragment.config +++ /dev/null @@ -1,275 +0,0 @@ -# CONFIG_ACPI_BGRT is not set -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_SHA1=y -# CONFIG_EFI_STUB is not set -CONFIG_FAILOVER=y -CONFIG_FDDI=y -CONFIG_GTP=y -CONFIG_HAMRADIO=y -CONFIG_HYPERVISOR_GUEST=y -CONFIG_INPUT_MOUSEDEV=y -CONFIG_IP_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_SET=y -CONFIG_LEGACY_VSYSCALL_EMULATE=y -# CONFIG_LEGACY_VSYSCALL_XONLY is not set -CONFIG_LIBCRC32C=y -CONFIG_MICROCODE_OLD_INTERFACE=y -CONFIG_NETFILTER_ADVANCED=y -CONFIG_NETFILTER_NETLINK_GLUE_CT=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_NAT=y -CONFIG_NETFILTER_XT_TARGET_LOG=y -CONFIG_NETFILTER_XT_TARGET_MASQUERADE=y -CONFIG_NET_9P=y -CONFIG_NET_FAILOVER=y -CONFIG_NF_LOG_COMMON=y -CONFIG_NF_LOG_IPV4=y -CONFIG_NF_LOG_IPV6=y -CONFIG_OVERLAY_FS=y -CONFIG_PAGE_REPORTING=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_PCIEAER=y -# CONFIG_R8169 is not set -# CONFIG_RANDOMIZE_BASE is not set -CONFIG_RAS=y -# CONFIG_RCU_TRACE is not set -# CONFIG_REALTEK_PHY is not set -CONFIG_SND_HDA_PREALLOC_SIZE=64 -CONFIG_SND_OSSEMUL=y -# CONFIG_STRICT_DEVMEM is not set -CONFIG_UEVENT_HELPER=y -# CONFIG_USB is not set -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_PCI=y -CONFIG_9P_FS=y -CONFIG_9P_FS_POSIX_ACL=y -CONFIG_9P_FS_SECURITY=y -# CONFIG_ACORN_PARTITION is not set -# CONFIG_ACPI_EXTLOG is not set -# CONFIG_ACRN_GUEST is not set -# CONFIG_AIX_PARTITION is not set -CONFIG_AMIGA_PARTITION=y -CONFIG_ARCH_CPUIDLE_HALTPOLL=y -# CONFIG_ATARI_PARTITION is not set -# CONFIG_AX25 is not set -CONFIG_BALLOON_COMPACTION=y -CONFIG_BLK_MQ_VIRTIO=y -CONFIG_BSD_DISKLABEL=y -# CONFIG_CMDLINE_PARTITION is not set -# CONFIG_CPU_IDLE_GOV_HALTPOLL is not set -CONFIG_CRYPTO_DEV_VIRTIO=y -CONFIG_CRYPTO_ENGINE=y -CONFIG_CRYPTO_LIB_DES=y -# CONFIG_DEFXX is not set -# CONFIG_DRM_VIRTIO_GPU is not set -CONFIG_EDAC=y -# CONFIG_EDAC_AMD64 is not set -# CONFIG_EDAC_DEBUG is not set -CONFIG_EDAC_DECODE_MCE=y -# CONFIG_EDAC_E752X is not set -# CONFIG_EDAC_I10NM is not set -# CONFIG_EDAC_I3000 is not set -# CONFIG_EDAC_I3200 is not set -# CONFIG_EDAC_I5000 is not set -# CONFIG_EDAC_I5100 is not set -# CONFIG_EDAC_I5400 is not set -# CONFIG_EDAC_I7300 is not set -# CONFIG_EDAC_I7CORE is not set -# CONFIG_EDAC_I82975X is not set -# CONFIG_EDAC_IE31200 is not set -# CONFIG_EDAC_IGEN6 is not set -CONFIG_EDAC_LEGACY_SYSFS=y -# CONFIG_EDAC_PND2 is not set -# CONFIG_EDAC_SBRIDGE is not set -# CONFIG_EDAC_SKX is not set -# CONFIG_EDAC_X38 is not set -CONFIG_HALTPOLL_CPUIDLE=y -# CONFIG_HW_RANDOM_VIRTIO is not set -# CONFIG_HYPERV is not set -# CONFIG_INPUT_MOUSEDEV_PSAUX is not set -CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 -CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 -# CONFIG_IP6_NF_MATCH_AH is not set -# CONFIG_IP6_NF_MATCH_EUI64 is not set -# CONFIG_IP6_NF_MATCH_FRAG is not set -# CONFIG_IP6_NF_MATCH_HL is not set -# CONFIG_IP6_NF_MATCH_MH is not set -# CONFIG_IP6_NF_MATCH_OPTS is not set -# CONFIG_IP6_NF_MATCH_RPFILTER is not set -# CONFIG_IP6_NF_MATCH_RT is not set -# CONFIG_IP6_NF_MATCH_SRH is not set -CONFIG_IP6_NF_NAT=y -# CONFIG_IP6_NF_SECURITY is not set -# CONFIG_IP6_NF_TARGET_HL is not set -CONFIG_IP6_NF_TARGET_MASQUERADE=y -# CONFIG_IP6_NF_TARGET_NPT is not set -# CONFIG_IP6_NF_TARGET_SYNPROXY is not set -# CONFIG_IP_NF_ARPTABLES is not set -# CONFIG_IP_NF_MATCH_AH is not set -# CONFIG_IP_NF_MATCH_ECN is not set -# CONFIG_IP_NF_MATCH_RPFILTER is not set -# CONFIG_IP_NF_MATCH_TTL is not set -# CONFIG_IP_NF_SECURITY is not set -# CONFIG_IP_NF_TARGET_CLUSTERIP is not set -# CONFIG_IP_NF_TARGET_ECN is not set -# CONFIG_IP_NF_TARGET_NETMAP is not set -# CONFIG_IP_NF_TARGET_REDIRECT is not set -# CONFIG_IP_NF_TARGET_SYNPROXY is not set -# CONFIG_IP_NF_TARGET_TTL is not set -# CONFIG_IP_SET_BITMAP_IP is not set -# CONFIG_IP_SET_BITMAP_IPMAC is not set -# CONFIG_IP_SET_BITMAP_PORT is not set -# CONFIG_IP_SET_HASH_IP is not set -# CONFIG_IP_SET_HASH_IPMAC is not set -# CONFIG_IP_SET_HASH_IPMARK is not set -# CONFIG_IP_SET_HASH_IPPORT is not set -# CONFIG_IP_SET_HASH_IPPORTIP is not set -# CONFIG_IP_SET_HASH_IPPORTNET is not set -# CONFIG_IP_SET_HASH_MAC is not set -# CONFIG_IP_SET_HASH_NET is not set -# CONFIG_IP_SET_HASH_NETIFACE is not set -# CONFIG_IP_SET_HASH_NETNET is not set -# CONFIG_IP_SET_HASH_NETPORT is not set -# CONFIG_IP_SET_HASH_NETPORTNET is not set -# CONFIG_IP_SET_LIST_SET is not set -CONFIG_IP_SET_MAX=256 -# CONFIG_JAILHOUSE_GUEST is not set -CONFIG_KARMA_PARTITION=y -CONFIG_KVM_GUEST=y -# CONFIG_LDM_PARTITION is not set -CONFIG_MAC_PARTITION=y -CONFIG_MEMORY_BALLOON=y -CONFIG_MINIX_SUBPARTITION=y -CONFIG_MMU_GATHER_RCU_TABLE_FREE=y -CONFIG_MMU_GATHER_TABLE_FREE=y -# CONFIG_MOUSE_PS2_VMMOUSE is not set -# CONFIG_NETFILTER_NETLINK_ACCT is not set -# CONFIG_NETFILTER_NETLINK_OSF is not set -# CONFIG_NETFILTER_NETLINK_QUEUE is not set -CONFIG_NETFILTER_XT_CONNMARK=y -# CONFIG_NETFILTER_XT_MATCH_BPF is not set -# CONFIG_NETFILTER_XT_MATCH_CGROUP is not set -# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set -# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set -# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set -# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set -# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set -# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set -# CONFIG_NETFILTER_XT_MATCH_CPU is not set -# CONFIG_NETFILTER_XT_MATCH_DCCP is not set -# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set -# CONFIG_NETFILTER_XT_MATCH_DSCP is not set -# CONFIG_NETFILTER_XT_MATCH_ECN is not set -# CONFIG_NETFILTER_XT_MATCH_ESP is not set -# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set -# CONFIG_NETFILTER_XT_MATCH_HELPER is not set -# CONFIG_NETFILTER_XT_MATCH_HL is not set -# CONFIG_NETFILTER_XT_MATCH_IPCOMP is not set -# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set -# CONFIG_NETFILTER_XT_MATCH_L2TP is not set -# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set -# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set -# CONFIG_NETFILTER_XT_MATCH_MAC is not set -CONFIG_NETFILTER_XT_MATCH_MARK=y -# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set -# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set -# CONFIG_NETFILTER_XT_MATCH_OSF is not set -# CONFIG_NETFILTER_XT_MATCH_OWNER is not set -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set -# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set -# CONFIG_NETFILTER_XT_MATCH_REALM is not set -# CONFIG_NETFILTER_XT_MATCH_RECENT is not set -# CONFIG_NETFILTER_XT_MATCH_SCTP is not set -# CONFIG_NETFILTER_XT_MATCH_SOCKET is not set -# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set -# CONFIG_NETFILTER_XT_MATCH_STRING is not set -# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set -# CONFIG_NETFILTER_XT_MATCH_TIME is not set -# CONFIG_NETFILTER_XT_MATCH_U32 is not set -# CONFIG_NETFILTER_XT_SET is not set -# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set -# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set -# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set -# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set -# CONFIG_NETFILTER_XT_TARGET_DSCP is not set -# CONFIG_NETFILTER_XT_TARGET_HL is not set -# CONFIG_NETFILTER_XT_TARGET_HMARK is not set -# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set -# CONFIG_NETFILTER_XT_TARGET_LED is not set -# CONFIG_NETFILTER_XT_TARGET_MARK is not set -# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set -# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set -# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set -# CONFIG_NETFILTER_XT_TARGET_TEE is not set -# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set -# CONFIG_NET_9P_DEBUG is not set -CONFIG_NET_9P_VIRTIO=y -# CONFIG_NET_ACT_CONNMARK is not set -# CONFIG_NET_ACT_CTINFO is not set -# CONFIG_NET_EMATCH_IPSET is not set -CONFIG_NET_UDP_TUNNEL=y -# CONFIG_NF_CONNTRACK_AMANDA is not set -# CONFIG_NF_CONNTRACK_EVENTS is not set -# CONFIG_NF_CONNTRACK_H323 is not set -CONFIG_NF_CONNTRACK_MARK=y -# CONFIG_NF_CONNTRACK_PPTP is not set -# CONFIG_NF_CONNTRACK_SANE is not set -# CONFIG_NF_CONNTRACK_SNMP is not set -# CONFIG_NF_CONNTRACK_TFTP is not set -# CONFIG_NF_CONNTRACK_TIMEOUT is not set -# CONFIG_NF_CONNTRACK_TIMESTAMP is not set -# CONFIG_NF_CONNTRACK_ZONES is not set -CONFIG_NF_CT_PROTO_DCCP=y -CONFIG_NF_CT_PROTO_SCTP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_OSF_PARTITION=y -# CONFIG_OVERLAY_FS_INDEX is not set -# CONFIG_OVERLAY_FS_METACOPY is not set -CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y -CONFIG_OVERLAY_FS_REDIRECT_DIR=y -# CONFIG_OVERLAY_FS_XINO_AUTO is not set -CONFIG_PARAVIRT=y -CONFIG_PARAVIRT_CLOCK=y -# CONFIG_PARAVIRT_DEBUG is not set -# CONFIG_PARAVIRT_SPINLOCKS is not set -# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set -# CONFIG_PCIEAER_INJECT is not set -# CONFIG_PCIE_DPC is not set -# CONFIG_PCIE_ECRC is not set -CONFIG_PTP_1588_CLOCK_KVM=y -# CONFIG_PTP_1588_CLOCK_VMW is not set -# CONFIG_PVH is not set -CONFIG_SGI_PARTITION=y -# CONFIG_SKFP is not set -CONFIG_SND_MIXER_OSS=y -CONFIG_SND_PCM_OSS=y -CONFIG_SND_PCM_OSS_PLUGINS=y -CONFIG_SND_SEQUENCER_OSS=y -CONFIG_SND_SEQ_MIDI_EVENT=y -CONFIG_SOLARIS_X86_PARTITION=y -CONFIG_SOUND_OSS_CORE=y -CONFIG_SOUND_OSS_CORE_PRECLAIM=y -CONFIG_SUN_PARTITION=y -# CONFIG_SYSV68_PARTITION is not set -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -# CONFIG_ULTRIX_PARTITION is not set -CONFIG_UNIXWARE_DISKLABEL=y -CONFIG_VIRTIO=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_BLK=y -CONFIG_VIRTIO_INPUT=y -# CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set -CONFIG_VIRTIO_NET=y -CONFIG_VIRTIO_PCI_LEGACY=y -CONFIG_X86_HV_CALLBACK_VECTOR=y -# CONFIG_X86_X2APIC is not set -# CONFIG_XEN is not set - -CONFIG_DYNAMIC_DEBUG=y - -# For libgtpnl's qemu tests -CONFIG_NAMESPACES=y -CONFIG_NET_NS=y -CONFIG_VETH=y diff --git a/ttcn3-ggsn-test/osmo-ggsn-kernel/initrd-ggsn.sh b/ttcn3-ggsn-test/osmo-ggsn-kernel/initrd-ggsn.sh deleted file mode 100644 index c554f8a..0000000 --- a/ttcn3-ggsn-test/osmo-ggsn-kernel/initrd-ggsn.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# Sourced by scripts/kernel-test/initrd-build.sh - -initrd_add_mod \ - gtp \ - tun - -initrd_add_bin \ - osmo-ggsn - -initrd_add_file \ - /data/osmo-ggsn.cfg - -# Enable dynamic_debug, if it is compiled into the kernel -initrd_add_cmd \ - "mount -t debugfs none /sys/kernel/debug || true" \ - "(cat /sys/kernel/debug/dynamic_debug/control | grep gtp) || true" \ - "echo -n 'module gtp +p' > /sys/kernel/debug/dynamic_debug/control || true" - -initrd_add_cmd \ - "ip addr add 172.18.3.201/24 brd 172.18.3.255 dev eth0" \ - "ip route add default via 172.18.3.1 dev eth0" \ - "osmo-ggsn -c /data/osmo-ggsn.cfg" diff --git a/ttcn3-ggsn-test/osmo-ggsn-kernel/v4_only/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn-kernel/v4_only/osmo-ggsn.cfg deleted file mode 100644 index f2fdfab..0000000 --- a/ttcn3-ggsn-test/osmo-ggsn-kernel/v4_only/osmo-ggsn.cfg +++ /dev/null @@ -1,41 +0,0 @@ -! -! OpenGGSN (0.94.1-adac) configuration saved from vty -!! -! -log gsmtap 172.18.3.202 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print level 1 - logging print category 1 - logging print category-hex 0 - logging print file basename last - logging print extended-timestamp 1 - logging level set-all info -! -stats interval 5 -! -line vty - no login - bind 0.0.0.0 -! -ggsn ggsn0 - gtp state-dir /tmp - gtp bind-ip 172.18.3.201 - timer gtp T3 1 - timer gtp T1003 2 - timer gtp X3 2 - apn internet - gtpu-mode kernel-gtp - tun-device tun4 - type-support v4 - ip prefix dynamic 176.16.16.0/20 - ip dns 0 172.18.3.201 - ip dns 1 8.8.8.8 - ip ifconfig 176.16.16.0/20 - no shutdown - default-apn internet - no shutdown ggsn diff --git a/ttcn3-ggsn-test/osmo-ggsn-kernel/v4v6_only/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn-kernel/v4v6_only/osmo-ggsn.cfg deleted file mode 100644 index c605691..0000000 --- a/ttcn3-ggsn-test/osmo-ggsn-kernel/v4v6_only/osmo-ggsn.cfg +++ /dev/null @@ -1,45 +0,0 @@ -! -! OpenGGSN (0.94.1-adac) configuration saved from vty -!! -! -log gsmtap 172.18.3.202 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print level 1 - logging print category 1 - logging print category-hex 0 - logging print file basename last - logging print extended-timestamp 1 - logging level set-all info -! -stats interval 5 -! -line vty - no login - bind 0.0.0.0 -! -ggsn ggsn0 - gtp state-dir /tmp - gtp bind-ip 172.18.3.201 - timer gtp T3 1 - timer gtp T1003 2 - timer gtp X3 2 - apn inet46 - gtpu-mode kernel-gtp - tun-device tun46 - type-support v4v6 - ip prefix dynamic 176.16.16.0/20 - ip dns 0 172.18.3.201 - ip dns 1 8.8.8.8 - ip ifconfig 176.16.16.0/20 - ipv6 prefix dynamic 2001:780:44:2100:0:0:0:0/56 - ipv6 dns 0 fd02:db8:3::201 - ipv6 dns 1 2001:4860:4860::8844 - ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56 - no shutdown - default-apn inet46 - no shutdown ggsn diff --git a/ttcn3-ggsn-test/osmo-ggsn-kernel/v6_only/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn-kernel/v6_only/osmo-ggsn.cfg deleted file mode 100644 index a54bcdf..0000000 --- a/ttcn3-ggsn-test/osmo-ggsn-kernel/v6_only/osmo-ggsn.cfg +++ /dev/null @@ -1,41 +0,0 @@ -! -! OpenGGSN (0.94.1-adac) configuration saved from vty -!! -! -log gsmtap 172.18.3.202 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print level 1 - logging print category 1 - logging print category-hex 0 - logging print file basename last - logging print extended-timestamp 1 - logging level set-all info -! -stats interval 5 -! -line vty - no login - bind 0.0.0.0 -! -ggsn ggsn0 - gtp state-dir /tmp - gtp bind-ip 172.18.3.201 - timer gtp T3 1 - timer gtp T1003 2 - timer gtp X3 2 - apn inet6 - gtpu-mode kernel-gtp - tun-device tun6 - type-support v6 - ipv6 prefix dynamic 2001:780:44:2100:0:0:0:0/56 - ipv6 dns 0 fd02:db8:3::201 - ipv6 dns 1 2001:4860:4860::8844 - ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56 - no shutdown - default-apn inet6 - no shutdown ggsn diff --git a/ttcn3-ggsn-test/osmo-ggsn/all/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn/all/osmo-ggsn.cfg deleted file mode 100644 index eb1558e..0000000 --- a/ttcn3-ggsn-test/osmo-ggsn/all/osmo-ggsn.cfg +++ /dev/null @@ -1,63 +0,0 @@ -! -! OpenGGSN (0.94.1-adac) configuration saved from vty -!! -! -log gsmtap 172.18.3.202 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print level 1 - logging print category 1 - logging print category-hex 0 - logging print file basename last - logging print extended-timestamp 1 - logging level set-all info -! -stats interval 5 -! -line vty - no login - bind 0.0.0.0 -! -ggsn ggsn0 - gtp state-dir /tmp - gtp bind-ip 172.18.3.201 - timer gtp T3 1 - timer gtp T1003 2 - timer gtp X3 2 - apn internet - gtpu-mode tun - tun-device tun4 - type-support v4 - ip prefix dynamic 176.16.16.0/20 - ip dns 0 172.18.3.201 - ip dns 1 8.8.8.8 - ip ifconfig 176.16.16.0/20 - no shutdown - apn inet6 - gtpu-mode tun - tun-device tun6 - type-support v6 - ipv6 prefix dynamic 2001:780:44:2000:0:0:0:0/56 - ipv6 dns 0 fd02:db8:3::201 - ipv6 dns 1 2001:4860:4860::8844 - ipv6 ifconfig 2001:780:44:2000:0:0:0:0/56 - no shutdown - apn inet46 - gtpu-mode tun - tun-device tun46 - type-support v4v6 - ip prefix dynamic 176.16.32.0/20 - ip dns 0 172.18.3.201 - ip dns 1 8.8.8.8 - ip ifconfig 176.16.32.0/20 - ipv6 prefix dynamic 2001:780:44:2100:0:0:0:0/56 - ipv6 dns 0 fd02:db8:3::201 - ipv6 dns 1 2001:4860:4860::8844 - ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56 - no shutdown - default-apn internet - no shutdown ggsn diff --git a/ttcn3-ggsn-test/osmo-ggsn/v4_only/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn/v4_only/osmo-ggsn.cfg deleted file mode 100644 index 7a94b59..0000000 --- a/ttcn3-ggsn-test/osmo-ggsn/v4_only/osmo-ggsn.cfg +++ /dev/null @@ -1,41 +0,0 @@ -! -! OpenGGSN (0.94.1-adac) configuration saved from vty -!! -! -log gsmtap 172.18.3.202 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print level 1 - logging print category 1 - logging print category-hex 0 - logging print file basename last - logging print extended-timestamp 1 - logging level set-all info -! -stats interval 5 -! -line vty - no login - bind 0.0.0.0 -! -ggsn ggsn0 - gtp state-dir /tmp - gtp bind-ip 172.18.3.201 - timer gtp T3 1 - timer gtp T1003 2 - timer gtp X3 2 - apn internet - gtpu-mode tun - tun-device tun4 - type-support v4 - ip prefix dynamic 176.16.16.0/20 - ip dns 0 172.18.3.201 - ip dns 1 8.8.8.8 - ip ifconfig 176.16.16.0/20 - no shutdown - default-apn internet - no shutdown ggsn diff --git a/ttcn3-ggsn-test/osmo-ggsn/v4v6_only/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn/v4v6_only/osmo-ggsn.cfg deleted file mode 100644 index f63b0d5..0000000 --- a/ttcn3-ggsn-test/osmo-ggsn/v4v6_only/osmo-ggsn.cfg +++ /dev/null @@ -1,45 +0,0 @@ -! -! OpenGGSN (0.94.1-adac) configuration saved from vty -!! -! -log gsmtap 172.18.3.202 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print level 1 - logging print category 1 - logging print category-hex 0 - logging print file basename last - logging print extended-timestamp 1 - logging level set-all info -! -stats interval 5 -! -line vty - no login - bind 0.0.0.0 -! -ggsn ggsn0 - gtp state-dir /tmp - gtp bind-ip 172.18.3.201 - timer gtp T3 1 - timer gtp T1003 2 - timer gtp X3 2 - apn inet46 - gtpu-mode tun - tun-device tun46 - type-support v4v6 - ip prefix dynamic 176.16.32.0/20 - ip dns 0 172.18.3.201 - ip dns 1 8.8.8.8 - ip ifconfig 176.16.32.0/20 - ipv6 prefix dynamic 2001:780:44:2100:0:0:0:0/56 - ipv6 dns 0 fd02:db8:3::201 - ipv6 dns 1 2001:4860:4860::8844 - ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56 - no shutdown - default-apn inet46 - no shutdown ggsn diff --git a/ttcn3-ggsn-test/osmo-ggsn/v6_only/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn/v6_only/osmo-ggsn.cfg deleted file mode 100644 index bca3f57..0000000 --- a/ttcn3-ggsn-test/osmo-ggsn/v6_only/osmo-ggsn.cfg +++ /dev/null @@ -1,41 +0,0 @@ -! -! OpenGGSN (0.94.1-adac) configuration saved from vty -!! -! -log gsmtap 172.18.3.202 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print level 1 - logging print category 1 - logging print category-hex 0 - logging print file basename last - logging print extended-timestamp 1 - logging level set-all info -! -stats interval 5 -! -line vty - no login - bind 0.0.0.0 -! -ggsn ggsn0 - gtp state-dir /tmp - gtp bind-ip 172.18.3.201 - timer gtp T3 1 - timer gtp T1003 2 - timer gtp X3 2 - apn inet6 - gtpu-mode tun - tun-device tun6 - type-support v6 - ipv6 prefix dynamic 2001:780:44:2000:0:0:0:0/56 - ipv6 dns 0 fd02:db8:3::201 - ipv6 dns 1 2001:4860:4860::8844 - ipv6 ifconfig 2001:780:44:2000:0:0:0:0/56 - no shutdown - default-apn inet6 - no shutdown ggsn diff --git a/ttcn3-ggsn-test/ttcn3/all/GGSN_Tests.cfg b/ttcn3-ggsn-test/ttcn3/all/GGSN_Tests.cfg deleted file mode 100644 index f715d9f..0000000 --- a/ttcn3-ggsn-test/ttcn3/all/GGSN_Tests.cfg +++ /dev/null @@ -1,30 +0,0 @@ -[ORDERED_INCLUDE] -"/osmo-ttcn3-hacks/Common.cfg" -"/osmo-ttcn3-hacks/ggsn_tests/GGSN_Tests.default" - -[LOGGING] -*.JUnitLogger.testsuite_name := "GGSN_Tests" - -[TESTPORT_PARAMETERS] -*.GGSNVTY.CTRL_HOSTNAME := "172.18.3.201" - -[MODULE_PARAMETERS] -# our Own IP address -GGSN_Tests.m_bind_ip_gtpc := "172.18.3.202" -GGSN_Tests.m_bind_ip_gtpu := "172.18.3.202" -# GGSN IP address -GGSN_Tests.m_ggsn_ip_gtpc := "172.18.3.201" -GGSN_Tests.m_ggsn_ip_gtpu := "172.18.3.201" -# GGSN announced DNS address -GGSN_Tests.m_ggsn_ip4_dns1 := "172.18.3.201" -GGSN_Tests.m_ggsn_ip6_dns1 := "fd02:db8:3::201" - -# local T3-RESPONSE timeout, seconds: -GGSN_Tests.mp_t3_response := 1 -# local N3-REQUESTS counter: -GGSN_Tests.mp_n3_requests := 2 - -GGSN_Tests.m_ggsn_conf := GGSN_CONF_ALL - -[EXECUTE] -GGSN_Tests.control diff --git a/ttcn3-ggsn-test/ttcn3/v4_only/GGSN_Tests.cfg b/ttcn3-ggsn-test/ttcn3/v4_only/GGSN_Tests.cfg deleted file mode 100644 index fc21c72..0000000 --- a/ttcn3-ggsn-test/ttcn3/v4_only/GGSN_Tests.cfg +++ /dev/null @@ -1,30 +0,0 @@ -[ORDERED_INCLUDE] -"/osmo-ttcn3-hacks/Common.cfg" -"/osmo-ttcn3-hacks/ggsn_tests/GGSN_Tests.default" - -[LOGGING] -*.JUnitLogger.testsuite_name := "GGSN_Tests" - -[TESTPORT_PARAMETERS] -*.GGSNVTY.CTRL_HOSTNAME := "172.18.3.201" - -[MODULE_PARAMETERS] -# our Own IP address -GGSN_Tests.m_bind_ip_gtpc := "172.18.3.202" -GGSN_Tests.m_bind_ip_gtpu := "172.18.3.202" -# GGSN IP address -GGSN_Tests.m_ggsn_ip_gtpc := "172.18.3.201" -GGSN_Tests.m_ggsn_ip_gtpu := "172.18.3.201" -# GGSN announced DNS address -GGSN_Tests.m_ggsn_ip4_dns1 := "172.18.3.201" -GGSN_Tests.m_ggsn_ip6_dns1 := "fd02:db8:3::201" - -# local T3-RESPONSE timeout, seconds: -GGSN_Tests.mp_t3_response := 1 -# local N3-REQUESTS counter: -GGSN_Tests.mp_n3_requests := 2 - -GGSN_Tests.m_ggsn_conf := GGSN_CONF_V4_ONLY - -[EXECUTE] -GGSN_Tests.control diff --git a/ttcn3-ggsn-test/ttcn3/v4v6_only/GGSN_Tests.cfg b/ttcn3-ggsn-test/ttcn3/v4v6_only/GGSN_Tests.cfg deleted file mode 100644 index c2c8b4a..0000000 --- a/ttcn3-ggsn-test/ttcn3/v4v6_only/GGSN_Tests.cfg +++ /dev/null @@ -1,30 +0,0 @@ -[ORDERED_INCLUDE] -"/osmo-ttcn3-hacks/Common.cfg" -"/osmo-ttcn3-hacks/ggsn_tests/GGSN_Tests.default" - -[LOGGING] -*.JUnitLogger.testsuite_name := "GGSN_Tests" - -[TESTPORT_PARAMETERS] -*.GGSNVTY.CTRL_HOSTNAME := "172.18.3.201" - -[MODULE_PARAMETERS] -# our Own IP address -GGSN_Tests.m_bind_ip_gtpc := "172.18.3.202" -GGSN_Tests.m_bind_ip_gtpu := "172.18.3.202" -# GGSN IP address -GGSN_Tests.m_ggsn_ip_gtpc := "172.18.3.201" -GGSN_Tests.m_ggsn_ip_gtpu := "172.18.3.201" -# GGSN announced DNS address -GGSN_Tests.m_ggsn_ip4_dns1 := "172.18.3.201" -GGSN_Tests.m_ggsn_ip6_dns1 := "fd02:db8:3::201" - -# local T3-RESPONSE timeout, seconds: -GGSN_Tests.mp_t3_response := 1 -# local N3-REQUESTS counter: -GGSN_Tests.mp_n3_requests := 2 - -GGSN_Tests.m_ggsn_conf := GGSN_CONF_V4V6_ONLY - -[EXECUTE] -GGSN_Tests.control diff --git a/ttcn3-ggsn-test/ttcn3/v6_only/GGSN_Tests.cfg b/ttcn3-ggsn-test/ttcn3/v6_only/GGSN_Tests.cfg deleted file mode 100644 index 7666438..0000000 --- a/ttcn3-ggsn-test/ttcn3/v6_only/GGSN_Tests.cfg +++ /dev/null @@ -1,30 +0,0 @@ -[ORDERED_INCLUDE] -"/osmo-ttcn3-hacks/Common.cfg" -"/osmo-ttcn3-hacks/ggsn_tests/GGSN_Tests.default" - -[LOGGING] -*.JUnitLogger.testsuite_name := "GGSN_Tests" - -[TESTPORT_PARAMETERS] -*.GGSNVTY.CTRL_HOSTNAME := "172.18.3.201" - -[MODULE_PARAMETERS] -# our Own IP address -GGSN_Tests.m_bind_ip_gtpc := "172.18.3.202" -GGSN_Tests.m_bind_ip_gtpu := "172.18.3.202" -# GGSN IP address -GGSN_Tests.m_ggsn_ip_gtpc := "172.18.3.201" -GGSN_Tests.m_ggsn_ip_gtpu := "172.18.3.201" -# GGSN announced DNS address -GGSN_Tests.m_ggsn_ip4_dns1 := "172.18.3.201" -GGSN_Tests.m_ggsn_ip6_dns1 := "fd02:db8:3::201" - -# local T3-RESPONSE timeout, seconds: -GGSN_Tests.mp_t3_response := 1 -# local N3-REQUESTS counter: -GGSN_Tests.mp_n3_requests := 2 - -GGSN_Tests.m_ggsn_conf := GGSN_CONF_V6_ONLY - -[EXECUTE] -GGSN_Tests.control diff --git a/ttcn3-hnbgw-test/Dockerfile b/ttcn3-hnbgw-test/Dockerfile deleted file mode 100644 index 3b4e930..0000000 --- a/ttcn3-hnbgw-test/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -ARG REGISTRY -ARG USER -FROM $REGISTRY/$USER/debian-bookworm-titan -ARG OSMO_TTCN3_BRANCH="master" - -ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-ttcn3-hacks/+/$OSMO_TTCN3_BR... /tmp/commit -RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" hnbgw - -VOLUME /data - -COPY HNBGW_Tests.cfg /data/HNBGW_Tests.cfg - -CMD ttcn3-docker-run hnbgw HNBGW_Tests diff --git a/ttcn3-hnbgw-test/HNBGW_Tests.cfg b/ttcn3-hnbgw-test/HNBGW_Tests.cfg deleted file mode 100644 index a23f3c1..0000000 --- a/ttcn3-hnbgw-test/HNBGW_Tests.cfg +++ /dev/null @@ -1,120 +0,0 @@ -[ORDERED_INCLUDE] -# Common configuration, shared between test suites -"/osmo-ttcn3-hacks/Common.cfg" -# testsuite specific configuration, not expected to change -"/osmo-ttcn3-hacks/hnbgw/HNBGW_Tests.default" - -# Local configuration below - -[LOGGING] - -[TESTPORT_PARAMETERS] -*.HNBGWVTY.CTRL_HOSTNAME := "172.18.35.20" -*.STATSVTY.CTRL_HOSTNAME := "172.18.35.20" - -[MODULE_PARAMETERS] -HNBGW_Tests.mp_hnodeb_ip := "172.18.35.203"; -HNBGW_Tests.mp_hnbgw_ip := "172.18.35.20"; -HNBGW_Tests.mp_mgw_ip := "172.18.35.203"; -HNBGW_Tests.mp_local_statsd_ip := "172.18.35.203"; -HNBGW_Tests.mp_cn_cfg := { - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23905, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 188, /* 0.23.4 first MSC emulation */ - own_ssn := 142, - peer_pc := 189, /* 0.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 1 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23907, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 2, /* 0.0.2 second MSC emulation */ - own_ssn := 142, - peer_pc := 189, /* 0.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 3 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23909, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 3, /* 0.0.3 third MSC emulation */ - own_ssn := 142, - peer_pc := 189, /* 0.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 5 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23911, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 3, /* 0.0.3 third MSC emulation */ - own_pc := 4, /* 0.0.4 fourth MSC emulation */ - own_ssn := 142, - peer_pc := 189, /* 0.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 7 - }, - - /* SGSNs (NUM_SGSN entries) */ - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { /* local */ 23906, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 185, /* 0.23.1 first SGSN emulation */ - own_ssn := 142, - peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 2 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { /* local */ 23908, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 10, /* 0.1.2 second SGSN emulation */ - own_ssn := 142, - peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 4 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { /* local */ 23910, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 11, /* 0.1.3 third SGSN emulation */ - own_ssn := 142, - peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 6 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { /* local */ 23912, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 12, /* 0.1.4 fourth SGSN emulation */ - own_ssn := 142, - peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 8 - } -}; -HNBGW_Tests.mp_validate_talloc_asn1 := true; -# keep in sync with osmo-hnbgw.cfg "timer hnbgw x31": -HNBGW_Tests.mp_hnbgw_timer_x31 := 5; - -[MAIN_CONTROLLER] - -[EXECUTE] -HNBGW_Tests.control diff --git a/ttcn3-hnbgw-test/Makefile b/ttcn3-hnbgw-test/Makefile deleted file mode 100644 index 1fcab4f..0000000 --- a/ttcn3-hnbgw-test/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -RUN_ARGS?=-it --sysctl net.ipv6.conf.all.disable_ipv6=0 --network sigtran --ip 172.18.35.203 -v ggsn-test-vol:/data - -include ../make/Makefile diff --git a/ttcn3-hnbgw-test/jenkins.sh b/ttcn3-hnbgw-test/jenkins.sh deleted file mode 100755 index d886378..0000000 --- a/ttcn3-hnbgw-test/jenkins.sh +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh - -. ../jenkins-common.sh -IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}" -docker_images_require \ - "osmo-stp-$IMAGE_SUFFIX" \ - "osmo-hnbgw-$IMAGE_SUFFIX" \ - "ttcn3-hnbgw-test" - -set_clean_up_trap -set -e - -VOL_BASE_DIR_PFCP="$VOL_BASE_DIR/with-pfcp" -clean_up() { - # append ':with-pfcp' to the classnames, - # e.g. "classname='HNBGW_Tests'" => "classname='HNBGW_Tests:with-pfcp'" - # so the with-pfcp test cases would not interfere without pfcp ones in Jenkins - sed -i "s/classname='([^']+)'/classname='\1:with-pfcp'/g" \ - $VOL_BASE_DIR_PFCP/hnbgw-tester/junit-xml-with-pfcp-*.log -} - -network_create - -run_tests() { - base_dir="$1" - tests_cfg="$2" - stp_cfg="$3" - hnbgw_cfg="$4" - - mkdir $base_dir/hnbgw-tester - mkdir $base_dir/hnbgw-tester/unix - cp "$tests_cfg" $base_dir/hnbgw-tester/ - write_mp_osmo_repo "$base_dir/hnbgw-tester/HNBGW_Tests.cfg" - - mkdir $base_dir/stp - cp "$stp_cfg" $base_dir/stp/osmo-stp.cfg - - mkdir $base_dir/hnbgw - mkdir $base_dir/hnbgw/unix - cp "$hnbgw_cfg" $base_dir/hnbgw/osmo-hnbgw.cfg - - mkdir $base_dir/unix - - network_replace_subnet_in_configs - - echo Starting container with STP - docker run --rm \ - $(docker_network_params $SUBNET 200) \ - --ulimit core=-1 \ - -v $base_dir/stp:/data \ - --name ${BUILD_TAG}-stp -d \ - $DOCKER_ARGS \ - $REPO_USER/osmo-stp-$IMAGE_SUFFIX - - echo Starting container with HNBGW - docker run --rm \ - $(docker_network_params $SUBNET 20) \ - --ulimit core=-1 \ - -v $base_dir/hnbgw:/data \ - -v $base_dir/unix:/data/unix \ - --name ${BUILD_TAG}-hnbgw -d \ - $DOCKER_ARGS \ - $REPO_USER/osmo-hnbgw-$IMAGE_SUFFIX - - echo Starting container with HNBGW testsuite - docker run --rm \ - $(docker_network_params $SUBNET 203) \ - --ulimit core=-1 \ - -e "TTCN3_PCAP_PATH=/data" \ - -e "OSMO_SUT_HOST=$SUB4_PREFIX.$SUBNET.20" \ - -e "OSMO_SUT_PORT=4261" \ - -v $base_dir/hnbgw-tester:/data \ - -v $base_dir/unix:/data/unix \ - --name ${BUILD_TAG}-ttcn3-hnbgw-test \ - $DOCKER_ARGS \ - $REPO_USER/ttcn3-hnbgw-test - - echo Stopping containers - docker_kill_wait ${BUILD_TAG}-hnbgw - docker_kill_wait ${BUILD_TAG}-stp -} - -echo Testing without PFCP -run_tests "$VOL_BASE_DIR" "HNBGW_Tests.cfg" "osmo-stp.cfg" "osmo-hnbgw.cfg" - -echo Testing with PFCP -mkdir "$VOL_BASE_DIR_PFCP" -run_tests "$VOL_BASE_DIR_PFCP" "with-pfcp/HNBGW_Tests.cfg" "osmo-stp.cfg" "with-pfcp/osmo-hnbgw.cfg" diff --git a/ttcn3-hnbgw-test/osmo-hnbgw.cfg b/ttcn3-hnbgw-test/osmo-hnbgw.cfg deleted file mode 100644 index fd74b51..0000000 --- a/ttcn3-hnbgw-test/osmo-hnbgw.cfg +++ /dev/null @@ -1,147 +0,0 @@ -! -! OsmoHNBGW (1.1.0) configuration saved from vty -!! -! -log gsmtap 172.18.35.203 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print category-hex 0 - logging print category 1 - logging print level 1 - logging print thread-id 0 - logging print extended-timestamp 1 - logging print file basename last - logging level set-all debug -! -line vty - no login - bind 172.18.35.20 -ctrl - bind 172.18.35.20 -! - -stats interval 0 -stats reporter statsd - prefix TTCN3 - level subscriber - remote-ip 172.18.35.203 - remote-port 8125 - flush-period 1 - mtu 1024 - enable - -cs7 instance 0 - asp asp-clnt-msc-0 2905 2905 m3ua - local-ip 172.18.35.20 - remote-ip 172.18.35.200 - role asp - sctp-role client - point-code 0.23.5 - sccp-address msc-naught - routing-indicator PC - point-code 0.23.4 - - sccp-address msc-one - routing-indicator PC - point-code 0.0.2 - - sccp-address msc-two - routing-indicator PC - point-code 0.0.3 - - sccp-address msc-three - routing-indicator PC - point-code 0.0.4 - - sccp-address sgsn-naught - routing-indicator PC - point-code 0.23.1 - - sccp-address sgsn-one - routing-indicator PC - point-code 0.1.2 - - sccp-address sgsn-two - routing-indicator PC - point-code 0.1.3 - - sccp-address sgsn-three - routing-indicator PC - point-code 0.1.4 - -hnbgw - log-prefix hnb-id - iuh - local-ip 172.18.35.20 - local-port 29169 - hnbap-allow-tmsi 1 - mgw 0 - mgw local-ip 172.18.35.20 - mgw remote-ip 172.18.35.203 - # don't spam RANAP RESET messages for up to eight CN links across all tests - timer hnbgw T4 60 - # reduce default X31 from 15 seconds - # https://gerrit.osmocom.org/c/osmo-hnbgw/+/34922 - timer hnbgw X31 5 - -msc 0 - remote-addr msc-naught - -msc 1 - remote-addr msc-one - -msc 2 - remote-addr msc-two - -msc 3 - remote-addr msc-three - -sgsn 0 - remote-addr sgsn-naught - -sgsn 1 - remote-addr sgsn-one - -sgsn 2 - remote-addr sgsn-two - -sgsn 3 - remote-addr sgsn-three - -hnbgw - iucs - nri bitlen 10 - # a NULL NRI that is outside the NRI ranges used by the MSCs: - nri null add 0 - # a NULL NRI that is also used by an MSC: - nri null add 1 -msc 0 - nri add 1 255 -msc 1 - nri add 256 511 -msc 2 - nri add 512 767 - # range 768-1000 is not assigned to any MSC on purpose -msc 3 - nri add 1001 1023 - -hnbgw - iups - nri bitlen 10 - # a NULL NRI that is outside the NRI ranges used by the SGSNs: - nri null add 0 - # a NULL NRI that is also used by an SGSN: - nri null add 1 -sgsn 0 - nri add 1 255 -sgsn 1 - nri add 256 511 -sgsn 2 - nri add 512 767 - # range 768-1000 is not assigned to any SGSN on purpose -sgsn 3 - nri add 1001 1023 diff --git a/ttcn3-hnbgw-test/osmo-stp.cfg b/ttcn3-hnbgw-test/osmo-stp.cfg deleted file mode 100644 index 8d94b75..0000000 --- a/ttcn3-hnbgw-test/osmo-stp.cfg +++ /dev/null @@ -1,96 +0,0 @@ -! -! OsmoSTP (0.8.1) configuration saved from vty -!! -! -log stderr - logging filter all 1 - logging color 1 - logging print category 1 - logging timestamp 1 - logging print extended-timestamp 1 - 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 debug - logging level lsccp debug - logging level lsua debug - logging level lm3ua debug - logging level lmgcp notice -! -line vty - no login -! -cs7 instance 0 - xua rkm routing-key-allocation dynamic-permitted - asp virt-msc0-0 23905 2905 m3ua - local-ip 172.18.35.200 - remote-ip 172.18.35.203 - role sg - sctp-role server - as virt-msc0 m3ua - asp virt-msc0-0 - routing-key 1 0.23.4 - - asp virt-msc1-0 23907 2905 m3ua - local-ip 172.18.35.200 - remote-ip 172.18.35.203 - role sg - sctp-role server - as virt-msc1 m3ua - asp virt-msc1-0 - routing-key 3 0.0.2 - - asp virt-msc2-0 23909 2905 m3ua - local-ip 172.18.35.200 - remote-ip 172.18.35.203 - role sg - sctp-role server - as virt-msc2 m3ua - asp virt-msc2-0 - routing-key 5 0.0.3 - - asp virt-sgsn0-0 23906 2905 m3ua - local-ip 172.18.35.200 - remote-ip 172.18.35.203 - role sg - sctp-role server - as virt-sgsn0 m3ua - asp virt-sgsn0-0 - routing-key 2 0.23.1 - - asp virt-sgsn1-0 23908 2905 m3ua - local-ip 172.18.35.200 - remote-ip 172.18.35.203 - role sg - sctp-role server - as virt-sgsn1 m3ua - asp virt-sgsn1-0 - routing-key 4 0.1.2 - - asp virt-sgsn2-0 23910 2905 m3ua - local-ip 172.18.35.200 - remote-ip 172.18.35.203 - role sg - sctp-role server - as virt-sgsn2 m3ua - asp virt-sgsn2-0 - routing-key 6 0.1.3 - - route-table system - update route 0.23.4 7.255.7 linkset virt-msc0 - update route 0.0.2 7.255.7 linkset virt-msc1 - update route 0.0.3 7.255.7 linkset virt-msc2 - update route 0.23.1 7.255.7 linkset virt-sgsn0 - update route 0.1.2 7.255.7 linkset virt-sgsn1 - update route 0.1.3 7.255.7 linkset virt-sgsn2 - listen m3ua 2905 - accept-asp-connections dynamic-permitted diff --git a/ttcn3-hnbgw-test/with-pfcp/HNBGW_Tests.cfg b/ttcn3-hnbgw-test/with-pfcp/HNBGW_Tests.cfg deleted file mode 100644 index ac6141f..0000000 --- a/ttcn3-hnbgw-test/with-pfcp/HNBGW_Tests.cfg +++ /dev/null @@ -1,125 +0,0 @@ -[ORDERED_INCLUDE] -# Common configuration, shared between test suites -"/osmo-ttcn3-hacks/Common.cfg" -# testsuite specific configuration, not expected to change -"/osmo-ttcn3-hacks/hnbgw/HNBGW_Tests.default" - -# Local configuration below - -[LOGGING] -*.JUnitLogger.filename_stem := "junit-xml-with-pfcp" - -[TESTPORT_PARAMETERS] -*.HNBGWVTY.CTRL_HOSTNAME := "172.18.35.20" -*.STATSVTY.CTRL_HOSTNAME := "172.18.35.20" - -[MODULE_PARAMETERS] -HNBGW_Tests.mp_hnodeb_ip := "172.18.35.203"; -HNBGW_Tests.mp_hnbgw_ip := "172.18.35.20"; -HNBGW_Tests.mp_mgw_ip := "172.18.35.203"; -HNBGW_Tests.mp_local_statsd_ip := "172.18.35.203"; -HNBGW_Tests.mp_cn_cfg := { - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23905, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 188, /* 0.23.4 first MSC emulation */ - own_ssn := 142, - peer_pc := 189, /* 0.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 1 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23907, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 2, /* 0.0.2 second MSC emulation */ - own_ssn := 142, - peer_pc := 189, /* 0.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 3 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23909, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 3, /* 0.0.3 third MSC emulation */ - own_ssn := 142, - peer_pc := 189, /* 0.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 5 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23911, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 3, /* 0.0.3 third MSC emulation */ - own_pc := 4, /* 0.0.4 fourth MSC emulation */ - own_ssn := 142, - peer_pc := 189, /* 0.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 7 - }, - - /* SGSNs (NUM_SGSN entries) */ - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { /* local */ 23906, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 185, /* 0.23.1 first SGSN emulation */ - own_ssn := 142, - peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 2 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { /* local */ 23908, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 10, /* 0.1.2 second SGSN emulation */ - own_ssn := 142, - peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 4 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { /* local */ 23910, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 11, /* 0.1.3 third SGSN emulation */ - own_ssn := 142, - peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 6 - }, - { - transport := RANAP_TRANSPORT_IuCS, - sccp_service_type := "mtp3_itu", - sctp_addr := { /* local */ 23912, "172.18.35.203", 2905, "172.18.35.200" }, - own_pc := 12, /* 0.1.4 fourth SGSN emulation */ - own_ssn := 142, - peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */ - peer_ssn := 142, - sio := '83'O, - rctx := 8 - } -}; - -HNBGW_Tests.mp_enable_pfcp_tests := true; -HNBGW_Tests.mp_pfcp_ip_local := "172.18.35.203"; -HNBGW_Tests.mp_pfcp_ip_remote := "172.18.35.20"; -HNBGW_Tests.mp_validate_talloc_asn1 := true; -# keep in sync with osmo-hnbgw.cfg "timer hnbgw x31": -HNBGW_Tests.mp_hnbgw_timer_x31 := 5; - -[MAIN_CONTROLLER] - -[EXECUTE] -HNBGW_Tests.control diff --git a/ttcn3-hnbgw-test/with-pfcp/osmo-hnbgw.cfg b/ttcn3-hnbgw-test/with-pfcp/osmo-hnbgw.cfg deleted file mode 100644 index 50ac7bf..0000000 --- a/ttcn3-hnbgw-test/with-pfcp/osmo-hnbgw.cfg +++ /dev/null @@ -1,153 +0,0 @@ -! -! OsmoHNBGW (1.1.0) configuration saved from vty -!! -! -log gsmtap 172.18.35.203 - logging level set-all debug - logging filter all 1 -! -log stderr - logging filter all 1 - logging color 1 - logging print category-hex 0 - logging print category 1 - logging print level 1 - logging print thread-id 0 - logging print extended-timestamp 1 - logging print file basename last - logging level set-all debug -! -line vty - no login - bind 172.18.35.20 -ctrl - bind 172.18.35.20 -! -stats interval 0 -stats reporter statsd - prefix TTCN3 - level subscriber - remote-ip 172.18.35.203 - remote-port 8125 - flush-period 1 - mtu 1024 - enable - -cs7 instance 0 - asp asp-clnt-msc-0 2905 2905 m3ua - local-ip 172.18.35.20 - remote-ip 172.18.35.200 - role asp - sctp-role client - point-code 0.23.5 - sccp-address msc-naught - routing-indicator PC - point-code 0.23.4 - - sccp-address msc-one - routing-indicator PC - point-code 0.0.2 - - sccp-address msc-two - routing-indicator PC - point-code 0.0.3 - - sccp-address msc-three - routing-indicator PC - point-code 0.0.4 - - sccp-address sgsn-naught - routing-indicator PC - point-code 0.23.1 - - sccp-address sgsn-one - routing-indicator PC - point-code 0.1.2 - - sccp-address sgsn-two - routing-indicator PC - point-code 0.1.3 - - sccp-address sgsn-three - routing-indicator PC - point-code 0.1.4 - -hnbgw - log-prefix hnb-id - iuh - local-ip 172.18.35.20 - local-port 29169 - hnbap-allow-tmsi 1 - mgw 0 - mgw local-ip 172.18.35.20 - mgw remote-ip 172.18.35.203 - # don't spam RANAP RESET messages for up to eight CN links across all tests - timer hnbgw T4 60 - pfcp - remote-addr 172.18.35.203 - local-addr 172.18.35.20 - # so far HNBGW_Tests.ttcn does not heed the port an Assoc Setup Req came from, it always responds to port 8805 - local-port 8805 - # send PFCP Assoc Setup Req more often - timer pfcp x26 5 - # reduce default X31 from 15 seconds - # https://gerrit.osmocom.org/c/osmo-hnbgw/+/34922 - timer hnbgw X31 5 - -msc 0 - remote-addr msc-naught - -msc 1 - remote-addr msc-one - -msc 2 - remote-addr msc-two - -msc 3 - remote-addr msc-three - -sgsn 0 - remote-addr sgsn-naught - -sgsn 1 - remote-addr sgsn-one - -sgsn 2 - remote-addr sgsn-two - -sgsn 3 - remote-addr sgsn-three - -hnbgw - iucs - nri bitlen 10 - # a NULL NRI that is outside the NRI ranges used by the MSCs: - nri null add 0 - # a NULL NRI that is also used by an MSC: - nri null add 1 -msc 0 - nri add 1 255 -msc 1 - nri add 256 511 -msc 2 - nri add 512 767 - # range 768-1000 is not assigned to any MSC on purpose -msc 3 - nri add 1001 1023 - -hnbgw - iups - nri bitlen 10 - # a NULL NRI that is outside the NRI ranges used by the SGSNs: - nri null add 0 - # a NULL NRI that is also used by an SGSN: - nri null add 1 -sgsn 0 - nri add 1 255 -sgsn 1 - nri add 256 511 -sgsn 2 - nri add 512 767 - # range 768-1000 is not assigned to any SGSN on purpose -sgsn 3 - nri add 1001 1023