blob: 55e285abcba3d7c5f6465460d51b5895e93523ef [file] [log] [blame]
Pau Espin Pedroledcc8d22018-03-04 19:58:23 +01001!
Pau Espin Pedrol0d455042018-08-27 17:07:41 +02002! OsmoTRX example configuration
Pau Espin Pedroledcc8d22018-03-04 19:58:23 +01003!
4log stderr
5 logging filter all 1
6 logging color 1
7 logging print category 1
8 logging timestamp 1
Pau Espin Pedrol0d455042018-08-27 17:07:41 +02009 logging print file basename
Pau Espin Pedroledcc8d22018-03-04 19:58:23 +010010 logging print extended-timestamp 1
Pau Espin Pedrol1b11c592018-10-03 14:33:41 +020011 logging level set-all info
Pau Espin Pedrol1b99ad62020-09-18 13:28:20 +020012 logging level ctr notice
13 logging level trxddl notice
14 logging level trxdul notice
Pau Espin Pedroledcc8d22018-03-04 19:58:23 +010015!
16line vty
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020017 bind ${osmo_trx.trx_ip}
Pau Espin Pedroledcc8d22018-03-04 19:58:23 +010018ctrl
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020019 bind ${osmo_trx.trx_ip}
20trx
21 bind-ip ${osmo_trx.trx_ip}
22 remote-ip ${osmo_trx.bts_ip}
23 base-port 5700
Pau Espin Pedrol4f23ab52018-10-29 11:30:00 +010024 egprs ${osmo_trx.egprs}
Pau Espin Pedrol94eab262018-09-17 20:25:55 +020025%if osmo_trx.get('multi_arfcn', False):
26 multi-arfcn enable
27%else:
28 multi-arfcn disable
29%endif
Pau Espin Pedrol8cfa10f2018-11-06 12:05:19 +010030%if osmo_trx.get('dev_args', False):
31 dev-args ${osmo_trx.dev_args}
32%endif
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020033 tx-sps 4
34 rx-sps 4
35 clock-ref ${osmo_trx.clock_reference}
36 rt-prio 18
37%for chan in osmo_trx.channels:
38 chan ${loop.index}
39% if chan.get('tx_path', False):
40 tx-path ${chan.tx_path}
41% endif
42% if chan.get('rx_path', False):
43 rx-path ${chan.rx_path}
44 %endif
45%endfor