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
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: