Pau Espin Pedrol | edcc8d2 | 2018-03-04 19:58:23 +0100 | [diff] [blame] | 1 | ! |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 2 | ! OsmoTRX example configuration |
Pau Espin Pedrol | edcc8d2 | 2018-03-04 19:58:23 +0100 | [diff] [blame] | 3 | ! |
| 4 | log stderr |
| 5 | logging filter all 1 |
| 6 | logging color 1 |
| 7 | logging print category 1 |
| 8 | logging timestamp 1 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 9 | logging print file basename |
Pau Espin Pedrol | edcc8d2 | 2018-03-04 19:58:23 +0100 | [diff] [blame] | 10 | logging print extended-timestamp 1 |
Pau Espin Pedrol | 1b11c59 | 2018-10-03 14:33:41 +0200 | [diff] [blame] | 11 | logging level set-all info |
Pau Espin Pedrol | 1b99ad6 | 2020-09-18 13:28:20 +0200 | [diff] [blame] | 12 | logging level ctr notice |
| 13 | logging level trxddl notice |
| 14 | logging level trxdul notice |
Pau Espin Pedrol | edcc8d2 | 2018-03-04 19:58:23 +0100 | [diff] [blame] | 15 | ! |
| 16 | line vty |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 17 | bind ${osmo_trx.trx_ip} |
Pau Espin Pedrol | edcc8d2 | 2018-03-04 19:58:23 +0100 | [diff] [blame] | 18 | ctrl |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 19 | bind ${osmo_trx.trx_ip} |
| 20 | trx |
| 21 | bind-ip ${osmo_trx.trx_ip} |
| 22 | remote-ip ${osmo_trx.bts_ip} |
| 23 | base-port 5700 |
Pau Espin Pedrol | 4f23ab5 | 2018-10-29 11:30:00 +0100 | [diff] [blame] | 24 | egprs ${osmo_trx.egprs} |
Pau Espin Pedrol | 94eab26 | 2018-09-17 20:25:55 +0200 | [diff] [blame] | 25 | %if osmo_trx.get('multi_arfcn', False): |
| 26 | multi-arfcn enable |
| 27 | %else: |
| 28 | multi-arfcn disable |
| 29 | %endif |
Pau Espin Pedrol | 8cfa10f | 2018-11-06 12:05:19 +0100 | [diff] [blame] | 30 | %if osmo_trx.get('dev_args', False): |
| 31 | dev-args ${osmo_trx.dev_args} |
| 32 | %endif |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 33 | 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 |