blob: a2af69a2d379f40880f46a83ecbc0d8d41048a9d [file] [log] [blame]
Pau Espin Pedrolda2e31f2020-03-31 13:45:01 +02001/* ltemme configuration file
2 * version 2018-10-18
3 * Copyright (C) 2015-2018 Amarisoft
4 */
5{
6
7 license_server: {
8 server_addr: "${epc.license_server_addr}",
9 name: "amarisoft",
10 },
11
12 /* Log filter: syntax: layer.field=value[,...]
13
14 Possible layers are nas, ip, s1ap, gtpu and all. The 'all' layer
15 is used to address all the layers at the same time.
16
17 field values:
18
19 - 'level': the log level of each layer can be set to 'none',
20 'error', 'info' or 'debug'. Use 'debug' to log all the messages.
21
22 - 'max_size': set the maximum size of the hex dump. 0 means no
23 hex dump. -1 means no limit.
24 */
25 //log_options: "all.level=debug,all.max_size=32",
26 log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,s1ap.level=debug,s1ap.max_size=1",
27 log_filename: "${epc.log_filename}",
28
29 /* Enable remote API and Web interface */
30 com_addr: "${epc.run_addr}:9000",
31
32 /* bind address for GTP-U. Normally = address of the PC, here bound
33 on local interface to be able to run ltemme on the same PC as
34 lteenb. By default, the S1AP SCTP connection is bound on the same
35 address. */
36 gtp_addr: "${epc.run_addr}",
37
38 s1ap_bind_addr: "${epc.run_addr}",
39
40 plmn: "${epc.mcc}${epc.mnc}",
41 mme_group_id: 32769,
42 mme_code: 1,
43
44 /* network name and network short name sent in the EMM information
45 message to the UE */
46 network_name: "Amarisoft Network",
47 network_short_name: "Amarisoft",
48
49 /* Control Plane Cellular IoT EPS optimization support */
50 cp_ciot_opt: true,
51
52 /* Public Data Networks. The first one is the default. */
53 pdn_list: [
54 {
55 /* Some UE requires a specific PDN for data access */
56 pdn_type: "ipv4",
57 access_point_name: "internet",
58 first_ip_addr: "192.168.4.2",
59 last_ip_addr: "192.168.4.254",
60 ip_addr_shift: 2,
61 dns_addr: "8.8.8.8", /* Google DNS address */
62 erabs: [
63 {
64 qci: 9,
65 priority_level: 15,
66 pre_emption_capability: "shall_not_trigger_pre_emption",
67 pre_emption_vulnerability: "not_pre_emptable",
68 },
69 ],
70 },
71 ],
72 /* Setup script for the network interface.
73 If no script is given, no network interface is created.
74 Script is called for each PDN with following parameters:
75 1) Interface name
76 2) PDN index
77 3) Access Point Name
78 4) IP version: 'ipv4' or 'ipv6'
79 5) IP address: first IP address for ipv4 and link local address for IPv6
80 6) First IP address
81 7) Last IP address
82 */
83 tun_setup_script: "${epc.ifup_filename}",
84
85 /* If true, inter-UE routing is done inside the MME (hence no IP
86 packet is output to the virtual network interface in case of
87 inter-UE communication). Otherwise, it is done by the Linux IP
88 layer. */
89 ue_to_ue_forwarding: false,
90
91 /* NAS ciphering algorithm preference. EEA0 is always the last. */
92 nas_cipher_algo_pref: [ ],
93 /* NAS integrity algorithm preference. EIA0 is always the last. */
94 nas_integ_algo_pref: [ 2, 1 ],
95
96 /* user data base */
97 ue_db: [
98%for sub in epc.hss.subscribers:
99 {
100 sim_algo: "${sub.auth_algo}", /* USIM authentication algorithm: xor, milenage or tuak */
101 imsi: "${sub.imsi}", /* Anritsu Test USIM */
102 amf: 0x9001, /* Authentication Management Field */
103 sqn: "000000000000", /* Sequence Number */
104 K: "${sub.ki}", /* Anritsu Test USIM */
105 /* if true, allow several UEs to have the same IMSI (useful
106 with test SIM cards). They are distinguished with their
107 IMEI. default = false. */
108 multi_sim: true,
109 },
110%endfor
111 /* Add new entries for each IMSI/K */
112 ],
113
114 /* persistent user database */
115 //ue_db_filename: "lte_ue.db",
116}