This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/8058 Check physical channel configs Change-Id: I5894678e0d6f306173cc550dd6806a7d6f8a4c11 --- M src/osmo_gsm_tester/resource.py M src/osmo_gsm_tester/schema.py 2 files changed, 9 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/58/8058/1 diff --git a/src/osmo_gsm_tester/resource.py b/src/osmo_gsm_tester/resource.py index 689f976..4b9e1ff 100644 --- a/src/osmo_gsm_tester/resource.py +++ b/src/osmo_gsm_tester/resource.py @@ -64,6 +64,7 @@ 'bts[].trx_list[].net_device': schema.STR, 'bts[].trx_list[].nominal_power': schema.UINT, 'bts[].trx_list[].max_power_red': schema.UINT, + 'bts[].trx_list[].timeslot_list[].phys_chan_config': schema.PHY_CHAN, 'arfcn[].arfcn': schema.INT, 'arfcn[].band': schema.BAND, 'modem[].label': schema.STR, diff --git a/src/osmo_gsm_tester/schema.py b/src/osmo_gsm_tester/schema.py index 487521a..1473ad7 100644 --- a/src/osmo_gsm_tester/schema.py +++ b/src/osmo_gsm_tester/schema.py @@ -99,6 +99,12 @@ return raise ValueError('Unknown Modem Feature: %r' % val) +def phy_channel_config(val): + if val in ('CCCH', 'CCCH+SDCCH4', 'TCH/F', 'TCH/H', 'SDCCH8', 'PDCH', + 'TCH/F_PDCH', 'CCCH+SDCCH4+CBCH', 'SDCCH8+CBCH','TCH/F_TCH/H_PDCH'): + return + raise ValueError('Unknown Physical channel config: %r' % val) + INT = 'int' STR = 'str' UINT = 'uint' @@ -113,6 +119,7 @@ TIMES='times' CIPHER = 'cipher' MODEM_FEATURE = 'modem_feature' +PHY_CHAN = 'chan' SCHEMA_TYPES = { INT: int, @@ -129,6 +136,7 @@ TIMES: times, CIPHER: cipher, MODEM_FEATURE: modem_feature, + PHY_CHAN: phy_channel_config, } def validate(config, schema): -- To view, visit https://gerrit.osmocom.org/8058 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5894678e0d6f306173cc550dd6806a7d6f8a4c11 Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>