Change in osmo-gsm-tester[master]: ms_srs: add config scheme to select NAS log level

pespin gerrit-no-reply at lists.osmocom.org
Tue Mar 16 17:05:55 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23338 )

Change subject: ms_srs: add config scheme to select NAS log level
......................................................................

ms_srs: add config scheme to select NAS log level

we've provided only all_log_level so far but sometimes it's needed
to select the level per layer. This patch adds the ability
to do so for the NAS layer in the UE.

Change-Id: Iab2bce65e8af81f6d344849c97952e6441cb2846
---
M src/osmo_gsm_tester/obj/ms_srs.py
M src/osmo_gsm_tester/templates/srsue.conf.tmpl
M sysmocom/defaults.conf
3 files changed, 3 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, approved; Verified



diff --git a/src/osmo_gsm_tester/obj/ms_srs.py b/src/osmo_gsm_tester/obj/ms_srs.py
index aaeeca5..df83c2a 100644
--- a/src/osmo_gsm_tester/obj/ms_srs.py
+++ b/src/osmo_gsm_tester/obj/ms_srs.py
@@ -50,6 +50,7 @@
     config_schema = {
         'enable_pcap': schema.BOOL_STR,
         'log_all_level': schema.STR,
+        'log_nas_level': schema.STR
         }
     schema.register_config_schema('modem', config_schema)
 
diff --git a/src/osmo_gsm_tester/templates/srsue.conf.tmpl b/src/osmo_gsm_tester/templates/srsue.conf.tmpl
index 0939823..272ae48 100644
--- a/src/osmo_gsm_tester/templates/srsue.conf.tmpl
+++ b/src/osmo_gsm_tester/templates/srsue.conf.tmpl
@@ -109,6 +109,7 @@
 all_hex_limit = 32
 filename = ${ue.log_filename}
 file_max_size = -1
+nas_level = ${ue.log_nas_level}
 
 #####################################################################
 # USIM configuration
diff --git a/sysmocom/defaults.conf b/sysmocom/defaults.conf
index d66e030..7939d3e 100644
--- a/sysmocom/defaults.conf
+++ b/sysmocom/defaults.conf
@@ -181,6 +181,7 @@
   rx_gain: 40
   freq_offset: 0
   log_all_level: warning
+  log_nas_level: warning
 
 amarisoftue:
   tx_gain: 89

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23338
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: Iab2bce65e8af81f6d344849c97952e6441cb2846
Gerrit-Change-Number: 23338
Gerrit-PatchSet: 3
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210316/63240dc7/attachment.htm>


More information about the gerrit-log mailing list