aboutsummaryrefslogtreecommitdiffstats
path: root/example/defaults.conf
AgeCommit message (Collapse)AuthorFilesLines
2020-04-10Move example/ and ttcn3/ to sysmocom/ and sysmocom/ttcn3Pau Espin Pedrol1-142/+0
This content is mostly specific to sysmocom's setup (thought it can still be re-used by other people if willing to). symlinks in ttcn3/ pointing to example/ are redone to point to sysmocom/. Change-Id: I364e0859c0851b9167907a4d948b659a0f6a19fb
2020-04-07enb: add measurement modifier to scenario filesAndre Puschmann1-0/+13
this commit adds basic support for configuring measurements in the eNB config. It currently support A1, A2, and A3 events. By default UE measurements are turned off and need to be enabled by configuring an event with: +mod-enb-meas-event@{name},{report_type},{value},{hysterisis},{time to trigger} For example one can update the a2 and a3 event with: +mod-enb-meas-event@a2,rsrq,-40,2,480+mod-enb-meas-event@a3,rsrp,6,1,512 Change-Id: Ia7657be2396886840570bc41645450a268b4cfff
2020-04-06epc: Replace rlc_drb_mode with qci attributePau Espin Pedrol1-1/+2
Change-Id: I21b7d7009f9b0df8ec4f59189a65cfc26f164f04
2020-04-01iperf3: add config to adjust the duration of the iperf runAndre Puschmann1-0/+3
the time is passed as a string param and is then converted into seconds when literals "h" or "m" are found. So it would accept 2m and would convert it to 120s, for example. Example: +cfg-iperf3-time@15+ Change-Id: Iff28816f83670751e9e91de31ec59b1b0ad8fc0d
2020-04-01Make amarisoft license server optionalPau Espin Pedrol1-3/+2
* Since license_server_addr logic is generic among all amarisoft software, let's move it to its own config category "amarisoft", which all amarisoft classes (amarisoft_{enb,epc}.py as of now) will import during configure(). * The license server is disabled by default (value 0.0.0.0) since the usual case is to have a license in the local system. * the license server can be enabled using scenario cfg-amarisoft-license@A.B.C.D where A.B.C.D is the address to use. Change-Id: Id5456ad9497e91370857b80ff9a389111d3611ff
2020-03-31Introduce support for AmarisoftEPCPau Espin Pedrol1-1/+6
* A new abstract generic base class EPC is created * srsEPC and AmarisoftEPC inherit from that class * options are loaded from defaults.conf in cascade. First generic "epc", afterwards the specific enb type. * A new scenario is added to select the EPC type to use. srsEPC is the default unless stated by an scenario. * AmarisoftEPC delegates setup of the tun IP address to an "ifup" script. As a result, since we run without root permissions (ony with CAP_NET_ADMIN), the ifup script itself is unablet o set the IP address. To solve this, we introduce a new osmo-gsm-tester helper script which must be installed in the slave node which can be called through sudo to increase privileges to do so. With this commit, I can already get srsUE<->amarisoftENB<->amarisoftEPC to pass ping and iperf3 4g tests. Change-Id: Ia50ea6a74b63b2d688c8d683aea11416ad40a6d3
2020-03-31Introduce initial Amarisoft ENB supportPau Espin Pedrol1-3/+10
* object class expects the amarisoft software to be placed in directory provided by env var AMARISOFT_PATH_ENB. On local runs, it will run the software from there. On remote runs it will copy over that directory to the slave. * Configuration provided works with 6 PRBs, but probably won't work for other values (yet). * ZMQ support not yet available, only UHD. One can select the Amarisoft ENB by declaring it in resources.conf: """ - label: AmarisoftENB-B200 type: amarisoftenb rf_dev_type: uhd rf_dev_args: "type=b200,serial=317B9FE,recv_frame_size=9232,send_frame_size=9232" remote_user: jenkins addr: 10.12.1.206 """ And running: """ $ export AMARISOFT_PATH_ENB=/path/to/binaries $ osmo-gsm-tester.py ... -s 4g:amarisoftenb-rftype@uhd+srsue-rftype@UHD+mod-enb-nprb@6 -t ping """ Change-Id: I1ddf4962ea6438ad977382ab201b724028ca46b3
2020-03-24defaults.conf: set num_carriers default valueAndre Puschmann1-0/+1
Change-Id: Ibe94fada0a40c499dd516408756c4ef7988ccec5
2020-03-24srs_enb: add num_cells param to srsENBAndre Puschmann1-0/+1
this is needed to support the upcoming multi-cell feature in srsENB. It's required for carrier aggregation (CA) but can also be used for (currently) two independent 4G cells. This commit adds baseline support for the parameter. Upcoming commits will add hooks to configure the cell's EARFCN, etc. Change-Id: I6d1658bf820163aee03b64b0f4ac68046c243f37
2020-03-23srs_ue: add scenario for airplane mode simulation in srsUEAndre Puschmann1-0/+2
Change-Id: I5db2ff325ce4b4236c1ceec0831dd7420d52dedb
2020-03-16srs{ue,enb,epc}: Disable pcap by default, allow enabling by paramPau Espin Pedrol1-0/+5
Take the change to fix several small things and support recording pcap in srsENB. pcap generation can be enabled with scenario cfg-srs-enable-pcap. Change-Id: Ia096a9be7efb2123f95115c751e2402fb4fec935
2020-02-27Introduce LTE Transmission Mode and RLC DRB mode paramsPau Espin Pedrol1-0/+2
Change-Id: I38f247f266ba736cdbb6f36ba5673b8fd46a8d67
2020-02-27srs_enb: Make num_prb a config parameterPau Espin Pedrol1-0/+1
Change-Id: I336e71f53556596050cf3eb55a7810a009dbf7a8
2020-02-13Initial srsLTE supportPau Espin Pedrol1-0/+8
2 tests (iperf3, ping) working against a full srs{UE,ENB,EPC} network using ZeroMQ backend for RF (so no real RF support yet, that will come next). Related: OS##4295, OS#4296 Change-Id: I290c0d79258a9f94f00c7ff2e1c6c5579c0e32f4
2019-03-27Integrate osmo-{bts,pcu}-oc2gPau Espin Pedrol1-0/+5
Change-Id: I446e27039f75e63c2870d751c190a4fd76947000
2018-12-13ms_driver: Add a virtual bts and make use of itHolger Hans Peter Freyther1-0/+3
It's very close to the osmo-bts-trx but without osmo-trx. Modify the suite to make use of this BTS. Change-Id: I9f5a2501eb4473ccf2287c902ee207c6a45a1bc5
2018-10-31Add support to enable EGPRSPau Espin Pedrol1-0/+1
Change-Id: I682f0c1b4cb97b704d646f18f54e748baaefd677
2018-10-29defaults.conf: Set valid default codec_list matching avail TS typesPau Espin Pedrol1-1/+1
By default, all channels are TCH/F, and as a result we cannot run half rate codecs on it. Since recent versions of osmo-bsc, it checks this kind of misconfigurations and answers with an Assignment Failure: .... 20181029162133430 DMSC <0007> codec_pref.c:445 codec-support/trx config of BTS 0 does not intersect with codec-list of MSC 0 20181029162133430 DMSC <0007> osmo_bsc_main.c:887 Configuration contains mutually exclusive codec settings -- check configuration! .... 20181029162255253 DMSC <0007> osmo_bsc_bssap.c:859 Rx MSC DT1 BSSMAP ASSIGNMENT REQ 20181029162255254 DMSC <0007> osmo_bsc_bssap.c:718 No supported audio type found for channel_type = { ch_indctr=0x1, ch_rate_type=0xa, perm_spch=[ 42 21 11 01 25 05 ] Change-Id: Ie6b37839fe363b5d1ba64c267d751221434cdedb
2018-10-04defaults.conf: Add SDCCH8 ts in TRX1 cfgPau Espin Pedrol1-1/+1
This way we can test too if SDCH8 channels are allocated and used correctly in TRX1 in multiTRX setups. Change-Id: I9d08f3d019a28cf775d70d941c5a60a7e7ca20a9
2018-09-18osmo-trx: Add multi_arfcn supportPau Espin Pedrol1-1/+1
2nd TRX arfcn is changed in defaults.conf because multi_arfcn requires them to be alocated in steps of 4 starting from TRX0. It is not enabled by default yet on B200 (it must use it to support several TRX) because current host running osmo-gsm-tester is not performant enough and cannot keep up with timers due to multi-arfcn CPU overhead. Change-Id: I096df82ad1f4cbb41dfbd6a78466a845f34be385
2018-09-18osmo-bts-trx: Add multiTRX supportPau Espin Pedrol1-0/+3
Support is limited to 1 osmo-trx with 1 phy and multiple instances. Change-Id: If2bda5ec7ac9fa3fe6bc5d71f323c3ccc2a70158
2018-08-29osmo-bts-trx: Big refactor and cleanup of osmo-trx related codePau Espin Pedrol1-0/+5
* This commit is a preparation for future commits to add support for different osmo-trx devices and backends like osmo-trx-lms. * Drop deprecated osmo-trx-* cmd line params and use VTY cfg to set them. * As number of osmo-trx related osmo-gsm-tester attributes grow, group them togther in an "osmo_trx" dictionary. Change-Id: I77d29413c9e3b600b796627ba366f80c3281b7e1
2018-08-29osmo-bsc: Parametrize codec-list VTY cfgPau Espin Pedrol1-0/+2
Change-Id: I1678aba43e8d399ecad192cbc416698373e3c0a0
2018-08-23Add testsuite + scenarios to test nanoBTS multiTRXPau Espin Pedrol1-2/+13
Currently only 2 nanoBTS in the 900 band are attached together as a multiTRX setup. We thus set num_trx to 2 and set channel allocator descending to force the BTS to use the 2nd TRX when allocating channels. Change-Id: I12e1bcb047c4efac5693cf725739e0ce2e0532ee
2018-08-22Add channel_allocator cfg attr to bts resourcesPau Espin Pedrol1-0/+1
Change-Id: I682809d4aeb91a36e3a35fc481e8d40d0b084fa0
2018-07-27nanobts: Support multiTRXPau Espin Pedrol1-0/+3
num_trx is left for now by default to 1, but it has been tested to work properly (current tests pass and both trx are configured) with num_trx=2. Change-Id: Ib3962f824a804e2aa582601475a8514c6cb0d8e7
2018-05-08bts: Allow setting amount of TRX and timeslot in cfg and from test at runtimePau Espin Pedrol1-0/+17
The num_trx attribute for a given BTS states the number of TRX to be used by that BTS. If more than num_trx are configured in trx_list in the cfg file, then only up to num_trx are taken into account. If a num_trx value higher than max_trx is specified throuygh config file or at runtime by the test, an exception is raised explaining the issue. The num/max_trx attributes are overlayed along the config levels (generic -> bsc_bts -> specific bts-type -> specific resource object). This way we can specify a long list of trx+timeslot config in the generic config (bsc_bts), and tune for each model and specific BTS which is the desired default number of TRX, as well as the maximum supported per type. Change-Id: I7f46eaf7a16f03268653299c93600c0443f691ac
2018-03-27nanobts: Add support to run nanobts on the 900 bandPau Espin Pedrol1-4/+0
Change-Id: I13b494630ea835f4bed38ccc77f6a4d5e18326af
2018-03-15Introduce ip.access nanobts supportPau Espin Pedrol1-0/+4
Change-Id: Ibaea025b3a503dfe897d36701234445de6d49f82
2018-02-14templates: osmo-msc: Remove unused option auth policyPau Espin Pedrol1-1/+0
Commit osmo-msc 098aa71e83a86200a18088927b4753909f5ed518 removes this option from default configuration as it is really not used in osmo-msc, it comes from osmo-nitb times. Change-Id: I928379ebabfc776f33b9f345d92a7a4a533fe25f
2017-11-29osmo-bsc: Remove authentication cmd from configPau Espin Pedrol1-1/+0
authentication is firmly VLR land and must go away from bsc. That option is a leftover from nitb. It will be removed at some point. Change-Id: I3bb4189b33173245116018e437e113c6c1226639
2017-11-29osmo-bsc: Remove 'auth policy' cmd from configPau Espin Pedrol1-1/+0
As of osmo-bsc ad47f7108aff5438bd2c6f7c0e898f4aa3b66fbe, this command has been dropped and is no longer recognized. Change-Id: Id97074195f045e6872a1a7030671a06259c9ec31
2017-11-23defaults.conf: Add PDCH channels to test GPRSPau Espin Pedrol1-2/+2
Change-Id: I8c90e2ef14a3556b62240e335ea3147df1467657
2017-11-08Use unique incrementing value for BTS LACPau Espin Pedrol1-1/+0
Change-Id: I9f864bac05e39ec2fc305f774194799c3d8fe1b0
2017-11-06Change example config to use only 1 TRX for osmo-bts-octphy BTS.Pau Espin Pedrol1-40/+0
Our current Octasic license has multi-trx support disabled and the board rejects the configuration. Change-Id: Id2c415deb85187feb42fb6d24cc86273eb722936
2017-11-06Add support for osmo-bts-octphyPau Espin Pedrol1-0/+40
Specific parts for this class: - Runs osmo-bts-octphy binary, that requires CAP_NET_RAW capability because it uses an AF_PACKET socket. - As a consequence, it must use the previously added APIs to set the capability and modify the RPATH of the binary before launching it. These APIs require extra host setup and installed dependencies that will be documented soon in osmo-gsm-tester manual. - A num_trx() helper method is added because the binary requires that parameter. - A allocate_phy_instances() is added to help build/fill the conf dictionary to be used in the tmpl to be able to easily set up trx, phy and insances. A config to use a osmo-bts-octphy at full power is used (4 trx) is added in this commit to show how can it be configured. However our current license only has support to use 1 TRX, and so next commit drops most configurations to simplify the setup to use only 1 TRX. Change-Id: Ia350964fa539083bb68d439cad0caa8fdf85d297
2017-09-16Use own format to specify encryption algorithmPau Espin Pedrol1-3/+3
... instead of using the one from from osmo vty directly. This way we avoid having multiple word attribute value and we can skip using quotes in the conf files. Change-Id: I5265cc9990dd5e99dba1f6262b3a8c597a3e958d
2017-09-16nominal_power and max_power_red attrs can now be set per resourcePau Espin Pedrol1-1/+2
Before this commit, only max_power_red was specified and it could only be used as a defaults and could not be set per object. Together with nominal_power, it can be useful to be able to set them to different values for different objects, as for example different osmo-bts-trx objects can require different values. Change-Id: I472742e98052cc39686d38c945be76d7f50eeebd
2017-08-23Add support for authentication VTY param in msc and bscPau Espin Pedrol1-0/+2
Change-Id: Ie1eb76149d4b006631050f8a1e532fbdbdad6a7f
2017-05-29MSC+BSC: add test api to run OsmoMSC and OsmoBSC with AoIPNeels Hofmeyr1-2/+20
Change-Id: I5842e8f1cba8e8e6bedfc08540efcafe207159cb
2017-05-29rename more items from nitb to bscNeels Hofmeyr1-1/+1
A NITB is a BSC + MSC, and if a BTS talks to a NITB, it talks to the BSC part of the NITB. Hence it makes more sense to name certain things 'bsc' instead of 'nitb', to prepare for a separate BSC process appearing soon. Change-Id: I6a0343b9243b166d4053cc44f523543f1245d772
2017-05-08defaults.conf: use only TCH/F instead of dynamic channelsNeels Hofmeyr1-6/+6
Let's opt for the oldest/simplest case by default. Change-Id: I89d634cc51e13bdf6ec157ffb64baa80a469f4c8
2017-05-04put the example suite in /example, not /selftest/real_suiteNeels Hofmeyr1-0/+26
Also drop the env file and tweak the README.txt Change-Id: Ieea274dfd6756498b760c18a5852398cfa396b50