Change in osmo-gsm-tester[master]: amarisoft_mme: make sure mcc/mnc are zero padded

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
Thu Jul 9 13:56:02 UTC 2020


srs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19204 )


Change subject: amarisoft_mme: make sure mcc/mnc are zero padded
......................................................................

amarisoft_mme: make sure mcc/mnc are zero padded

same as for srsEPC this is also required for Amarisoft MME to support, i.e. 001/01

Change-Id: I80a84e01ec9530c285634452d7c18c17bdd595ce
---
M src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl b/src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
index 5fcc74a..da681da 100644
--- a/src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
@@ -39,7 +39,7 @@
 
   s1ap_bind_addr: "${epc.run_addr}",
 
-  plmn: "${epc.mcc}${epc.mnc}",
+  plmn: "${'{0:03}'.format(int(epc.mcc))}${'{0:02}'.format(int(epc.mnc))}",
   mme_group_id: 32769,
   mme_code: 1,
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19204
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: I80a84e01ec9530c285634452d7c18c17bdd595ce
Gerrit-Change-Number: 19204
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/20200709/92f8bb30/attachment.htm>


More information about the gerrit-log mailing list