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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17735 ) Change subject: srsue.conf.tmpl: fix the configuration of UE params for carrier aggregation ...................................................................... srsue.conf.tmpl: fix the configuration of UE params for carrier aggregation the num_carriers is parsed as a string in the conf dict and therefore needs to converted to int before matching also changed the num_carriers to be of type UINT Change-Id: I1386812d32e1181ba666720bbb875bf9bbce0f51 --- M src/osmo_gsm_tester/resource.py M src/osmo_gsm_tester/templates/srsue.conf.tmpl 2 files changed, 3 insertions(+), 3 deletions(-) Approvals: pespin: Looks good to me, approved; Verified diff --git a/src/osmo_gsm_tester/resource.py b/src/osmo_gsm_tester/resource.py index ad8f4b2..bff8282 100644 --- a/src/osmo_gsm_tester/resource.py +++ b/src/osmo_gsm_tester/resource.py @@ -109,7 +109,7 @@ 'modem[].features[]': schema.MODEM_FEATURE, 'modem[].rf_dev_type': schema.STR, 'modem[].rf_dev_args': schema.STR, - 'modem[].num_carriers': schema.STR, + 'modem[].num_carriers': schema.UINT, 'modem[].additional_args': schema.STR, 'modem[].airplane_t_on_ms': schema.INT, 'modem[].airplane_t_off_ms': schema.INT, diff --git a/src/osmo_gsm_tester/templates/srsue.conf.tmpl b/src/osmo_gsm_tester/templates/srsue.conf.tmpl index 90925b3..d97b00c 100644 --- a/src/osmo_gsm_tester/templates/srsue.conf.tmpl +++ b/src/osmo_gsm_tester/templates/srsue.conf.tmpl @@ -31,7 +31,7 @@ # Default is auto (yes for UHD, no for rest) ##################################################################### [rf] -% if ue.num_carriers == 2: +% if int(ue.num_carriers) == 2: dl_earfcn = 2850,3050 % else: dl_earfcn = 2850 @@ -143,7 +143,7 @@ # mbms_service_port: Port of the MBMS service ##################################################################### [rrc] -% if ue.num_carriers == 2: +% if int(ue.num_carriers) == 2: ue_category = 7 release = 10 % else: -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17735 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Change-Id: I1386812d32e1181ba666720bbb875bf9bbce0f51 Gerrit-Change-Number: 17735 Gerrit-PatchSet: 3 Gerrit-Owner: srs_andre <andre at softwareradiosystems.com> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-Reviewer: srs_andre <andre at softwareradiosystems.com> Gerrit-CC: Jenkins Builder Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200406/feba8436/attachment.htm>