From aa6278dd8f693e6f5c74cdb4413be26983b846cb Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Fri, 26 Jul 2019 09:05:53 +0200 Subject: [PATCH] pcu: add configs for running without docker Base on docker-playground.git's ttcn3-pcu-test/*.cfg files, change IPs to 127.0.0.1, log to stderr, adjust pcu-socket path. Change-Id: Iff3e5e6cf0c608680c8c5f9f83e8bc1032274ea9 --- pcu/PCU_Tests_SNS.cfg | 24 ++++++ pcu/osmo-bsc.cfg | 194 ++++++++++++++++++++++++++++++++++++++++++ pcu/osmo-bts.cfg | 83 ++++++++++++++++++ pcu/osmo-pcu-sns.cfg | 23 +++++ pcu/osmo-pcu.cfg | 22 +++++ 5 files changed, 346 insertions(+) create mode 100644 pcu/PCU_Tests_SNS.cfg create mode 100644 pcu/osmo-bsc.cfg create mode 100644 pcu/osmo-bts.cfg create mode 100644 pcu/osmo-pcu-sns.cfg create mode 100644 pcu/osmo-pcu.cfg diff --git a/pcu/PCU_Tests_SNS.cfg b/pcu/PCU_Tests_SNS.cfg new file mode 100644 index 000000000..1419e1eb2 --- /dev/null +++ b/pcu/PCU_Tests_SNS.cfg @@ -0,0 +1,24 @@ +[ORDERED_INCLUDE] +# Common configuration, shared between test suites +"../Common.cfg" +# testsuite specific configuration, not expected to change +"./PCU_Tests.default" + +[LOGGING] + +[MODULE_PARAMETERS] +PCU_Tests.mp_nsconfig := { + local_ip := "127.0.0.1", + local_udp_port := 23000, + remote_ip := "127.0.0.1", + remote_udp_port := 22000, + nsvci := 1234, + nsei := 1234 +} + +[TESTPORT_PARAMETERS] + +[MAIN_CONTROLLER] + +[EXECUTE] +PCU_Tests_RAW_SNS.control diff --git a/pcu/osmo-bsc.cfg b/pcu/osmo-bsc.cfg new file mode 100644 index 000000000..c56195570 --- /dev/null +++ b/pcu/osmo-bsc.cfg @@ -0,0 +1,194 @@ +! +! OsmoBSC (1.1.2.236-5f22) configuration saved from vty +!! +password foo +! +log gsmtap 127.0.0.1 + logging level set-all debug +! + +log stderr + logging color 1 + logging filter all 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 debug + #~ logging level hodec info + #~ logging level ho info + #~ logging level nm info + #~ logging level meas info + #~ logging level lmi info + #~ logging level linp notice + #~ logging level lss7 notice + #~ logging level lsccp notice + #~ logging level lsua notice + #~ logging level lm3ua notice + +stats interval 5 +! +line vty + no login + bind 127.0.0.1 +! +e1_input + e1_line 0 driver ipa + e1_line 0 port 0 + no e1_line 0 keepalive + ipa bind 127.0.0.1 +cs7 instance 0 + point-code 0.23.3 + asp asp-clnt-msc-0 2905 0 m3ua + as as-clnt-msc-0 m3ua + asp asp-clnt-msc-0 + routing-key 2 0.23.3 +network + network country code 262 + mobile network code 42 + encryption a5 0 + neci 1 + paging any use tch 0 + handover 0 + handover1 window rxlev averaging 10 + handover1 window rxqual averaging 1 + handover1 window rxlev neighbor averaging 10 + handover1 power budget interval 6 + handover1 power budget hysteresis 3 + handover1 maximum distance 9999 + periodic location update 30 + bts 0 + type sysmobts + band DCS1800 + cell_identity 20960 + location_area_code 13135 + dtx uplink force + dtx downlink + base_station_id_code 63 + ms max power 15 + cell reselection hysteresis 4 + rxlev access min 0 + radio-link-timeout 32 + channel allocator ascending + rach tx integer 9 + rach max transmission 7 + channel-descrption attach 1 + channel-descrption bs-pa-mfrms 5 + channel-descrption bs-ag-blks-res 1 + early-classmark-sending forbidden + early-classmark-sending-3g allowed + ip.access unit_id 1234 0 + ip.access rsl-ip 127.0.0.1 + oml ip.access stream_id 255 line 0 + neighbor-list mode manual-si5 + neighbor-list add arfcn 100 + neighbor-list add arfcn 200 + si5 neighbor-list add arfcn 10 + si5 neighbor-list add arfcn 20 + codec-support fr + gprs mode gprs + gprs 11bit_rach_support_for_egprs 0 + gprs routing area 0 + gprs network-control-order nc0 + gprs cell bvci 1234 + gprs cell timer blocking-timer 3 + gprs cell timer blocking-retries 3 + gprs cell timer unblocking-retries 3 + gprs cell timer reset-timer 3 + gprs cell timer reset-retries 3 + gprs cell timer suspend-timer 10 + gprs cell timer suspend-retries 3 + gprs cell timer resume-timer 10 + gprs cell timer resume-retries 3 + gprs cell timer capability-update-timer 10 + gprs cell timer capability-update-retries 3 + gprs nsei 1234 + gprs ns timer tns-block 3 + gprs ns timer tns-block-retries 3 + gprs ns timer tns-reset 3 + gprs ns timer tns-reset-retries 3 + gprs ns timer tns-test 30 + gprs ns timer tns-alive 3 + gprs ns timer tns-alive-retries 10 + gprs nsvc 0 nsvci 1234 + gprs nsvc 0 local udp port 22000 + gprs nsvc 0 remote udp port 23000 + gprs nsvc 0 remote ip 127.0.0.1 + no force-combined-si + trx 0 + rf_locked 0 + arfcn 871 + nominal power 23 + max_power_red 20 + rsl e1 tei 0 + timeslot 0 + phys_chan_config CCCH+SDCCH4 + hopping enabled 0 + timeslot 1 + phys_chan_config TCH/H + hopping enabled 0 + timeslot 2 + phys_chan_config TCH/H + hopping enabled 0 + timeslot 3 + phys_chan_config TCH/H + hopping enabled 0 + timeslot 4 + phys_chan_config TCH/H + 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 + #~ timeslot 1 + #~ phys_chan_config TCH/F + #~ hopping enabled 0 + #~ timeslot 2 + #~ phys_chan_config TCH/F + #~ hopping enabled 0 + #~ timeslot 3 + #~ phys_chan_config TCH/F_PDCH + #~ hopping enabled 0 + #~ timeslot 4 + #~ phys_chan_config TCH/F_TCH/H_PDCH + #~ hopping enabled 0 + #~ timeslot 5 + #~ phys_chan_config TCH/H + #~ hopping enabled 0 + #~ timeslot 6 + #~ phys_chan_config SDCCH8 + #~ hopping enabled 0 + #~ timeslot 7 + #~ phys_chan_config PDCH + #~ hopping enabled 0 +msc 0 + core-location-area-code 666 + core-cell-identity 333 + ip.access rtp-base 4000 + timeout-ping 12 + timeout-pong 14 + no timeout-ping advanced + no bsc-welcome-text + no bsc-msc-lost-text + no bsc-grace-text + codec-list fr1 fr2 fr3 + type normal + allow-emergency allow + amr-config 12_2k forbidden + amr-config 10_2k forbidden + amr-config 7_95k forbidden + amr-config 7_40k forbidden + amr-config 6_70k forbidden + amr-config 5_90k allowed + amr-config 5_15k forbidden + amr-config 4_75k forbidden +bsc + mid-call-timeout 0 + no missing-msc-text + access-list-name bsc-list diff --git a/pcu/osmo-bts.cfg b/pcu/osmo-bts.cfg new file mode 100644 index 000000000..7f36f87eb --- /dev/null +++ b/pcu/osmo-bts.cfg @@ -0,0 +1,83 @@ +! +! OsmoBTS (0.4.0.446-e0fb) configuration saved from vty +!! +! +log gsmtap 127.0.0.1 + logging level set-all debug +! +log stderr + logging filter all 1 + logging color 1 + logging print category 1 + logging timestamp 1 + logging print extended-timestamp 1 + logging level rsl info + logging level oml info + logging level rll notice + logging level rr notice + logging level meas info + logging level pag info + logging level l1c info + logging level l1p notice + logging level dsp info + logging level pcu debug + logging level ho notice + logging level trx info + logging level loop notice + logging level abis notice + logging level rtp notice + logging level sum notice + logging level lglobal notice + logging level llapd notice + logging level linp notice + logging level lmux notice + logging level lmi notice + logging level lmib debug + 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 +! +line vty + no login + bind 127.0.0.1 +! +e1_input + e1_line 0 driver ipa + e1_line 0 port 0 + no e1_line 0 keepalive +phy 0 + !virtual-um ms-multicast-group 239.193.23.1 + !virtual-um bts-multicast-group 239.193.23.2 + instance 0 +bts 0 + band DCS1800 + ipa unit-id 1234 0 + oml remote-ip 127.0.0.1 + rtp jitter-buffer 100 + paging queue-size 200 + paging lifetime 0 + uplink-power-target -75 + gsmtap-sapi rach + gsmtap-sapi agch + gsmtap-sapi bcch + gsmtap-sapi pch + gsmtap-sapi sdcch + gsmtap-sapi sacch + min-qual-rach 50 + min-qual-norm -5 + pcu-socket /tmp/pcu_bts + trx 0 + power-ramp max-initial 0 mdBm + power-ramp step-size 2000 mdB + power-ramp step-interval 1 + ms-power-control dsp + phy 0 instance 0 +ctrl + bind 127.0.0.1 diff --git a/pcu/osmo-pcu-sns.cfg b/pcu/osmo-pcu-sns.cfg new file mode 100644 index 000000000..c2cd58ac6 --- /dev/null +++ b/pcu/osmo-pcu-sns.cfg @@ -0,0 +1,23 @@ +log gsmtap 127.0.0.1 + logging level set-all debug + +log stderr + logging filter all 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 debug + +line vty + no login + bind 127.0.0.1 +pcu + flow-control-interval 10 + cs 2 + alloc-algorithm dynamic + alpha 0 + gamma 0 + pcu-socket /tmp/pcu_bts + gb-dialect ip-sns diff --git a/pcu/osmo-pcu.cfg b/pcu/osmo-pcu.cfg new file mode 100644 index 000000000..d6213b51a --- /dev/null +++ b/pcu/osmo-pcu.cfg @@ -0,0 +1,22 @@ +log gsmtap 127.0.0.1 + logging level set-all debug + +log stderr + logging filter all 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 debug + +line vty + no login + bind 127.0.0.1 +pcu + flow-control-interval 10 + cs 2 + alloc-algorithm dynamic + alpha 0 + gamma 0 + pcu-socket /tmp/pcu_bts