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 | edcc8d2 | 2018-03-04 19:58:23 +0100 | [diff] [blame] | 12 | ! |
| 13 | line vty |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 14 | bind ${osmo_trx.trx_ip} |
Pau Espin Pedrol | edcc8d2 | 2018-03-04 19:58:23 +0100 | [diff] [blame] | 15 | ctrl |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 16 | bind ${osmo_trx.trx_ip} |
| 17 | trx |
| 18 | bind-ip ${osmo_trx.trx_ip} |
| 19 | remote-ip ${osmo_trx.bts_ip} |
| 20 | base-port 5700 |
| 21 | egprs disable |
Pau Espin Pedrol | 94eab26 | 2018-09-17 20:25:55 +0200 | [diff] [blame] | 22 | %if osmo_trx.get('multi_arfcn', False): |
| 23 | multi-arfcn enable |
| 24 | %else: |
| 25 | multi-arfcn disable |
| 26 | %endif |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 27 | tx-sps 4 |
| 28 | rx-sps 4 |
| 29 | clock-ref ${osmo_trx.clock_reference} |
| 30 | rt-prio 18 |
| 31 | %for chan in osmo_trx.channels: |
| 32 | chan ${loop.index} |
| 33 | % if chan.get('tx_path', False): |
| 34 | tx-path ${chan.tx_path} |
| 35 | % endif |
| 36 | % if chan.get('rx_path', False): |
| 37 | rx-path ${chan.rx_path} |
| 38 | %endif |
| 39 | %endfor |