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
This commit is contained in:
parent
03fab0922e
commit
5c4c052d81
|
@ -93,7 +93,7 @@
|
||||||
cell_default: {
|
cell_default: {
|
||||||
/* Broadcasted PLMN identities */
|
/* Broadcasted PLMN identities */
|
||||||
plmn_list: [
|
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:
|
% if int(enb.get('transmission_mode')) == 1:
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
s1ap_bind_addr: "${epc.run_addr}",
|
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_group_id: 32769,
|
||||||
mme_code: 1,
|
mme_code: 1,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue