aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/templates/osmo-bts-octphy.cfg.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo_gsm_tester/templates/osmo-bts-octphy.cfg.tmpl')
-rw-r--r--src/osmo_gsm_tester/templates/osmo-bts-octphy.cfg.tmpl14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/osmo_gsm_tester/templates/osmo-bts-octphy.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-bts-octphy.cfg.tmpl
index 90d6092..bf6adf9 100644
--- a/src/osmo_gsm_tester/templates/osmo-bts-octphy.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-bts-octphy.cfg.tmpl
@@ -20,13 +20,17 @@ log stderr
line vty
no login
!
-phy 0
- octphy hw-addr ${osmo_bts_octphy.hw_addr}
- octphy net-device ${osmo_bts_octphy.net_device}
+%for trx in osmo_bts_octphy.trx_list:
+phy ${loop.index}
+ octphy hw-addr ${trx.hw_addr}
+ octphy net-device ${trx.net_device}
instance 0
+%endfor
bts 0
band ${osmo_bts_octphy.band}
ipa unit-id ${osmo_bts_octphy.ipa_unit_id} 0
oml remote-ip ${osmo_bts_octphy.oml_remote_ip}
- trx 0
- phy 0 instance 0
+%for trx in osmo_bts_octphy.trx_list:
+ trx ${loop.index}
+ phy ${loop.index} instance 0
+%endfor