Change in osmo-gsm-tester[master]: srsue.conf.tmpl: fix the configuration of UE params for carrier aggre...

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/.

srs_andre gerrit-no-reply at lists.osmocom.org
Mon Apr 6 13:15:33 UTC 2020


srs_andre has uploaded this change for review. ( 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 checked as a string to match

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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/35/17735/1

diff --git a/src/osmo_gsm_tester/resource.py b/src/osmo_gsm_tester/resource.py
index c69617c..bedca16 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.INT,
         '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..8f6468a 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 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 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: 1
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200406/fd26aa44/attachment.htm>


More information about the gerrit-log mailing list