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.orgsrs_andre has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19204 ) Change subject: amarisoft_{mme,enb}: make sure mcc/mnc are zero padded ...................................................................... amarisoft_{mme,enb}: make sure mcc/mnc are zero padded same as for srsEPC this is also required for Amarisoft MME and eNB to support, i.e. 001/01 Note that the 3 digit MNC isn't covered by this. Change-Id: I80a84e01ec9530c285634452d7c18c17bdd595ce --- M src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl M src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl 2 files changed, 2 insertions(+), 2 deletions(-) Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl b/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl index 7896ecb..64d16f9 100644 --- a/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl +++ b/src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl @@ -93,7 +93,7 @@ cell_default: { /* Broadcasted PLMN identities */ plmn_list: [ - "${enb.mcc}${enb.mnc}", + "${'{0:03}'.format(int(enb.mcc))}${'{0:02}'.format(int(enb.mnc))}", ], % if int(enb.get('transmission_mode')) == 1: diff --git a/src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl b/src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl index fb3ec98..3c83bed 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: 2 Gerrit-Owner: srs_andre <andre at softwareradiosystems.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-Reviewer: srs_andre <andre at softwareradiosystems.com> Gerrit-CC: laforge <laforge at osmocom.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200721/f55678b5/attachment.htm>