Add BTS models to vars

Make this data available to shell scripts
This commit is contained in:
Keith Whyte 2023-01-26 00:45:44 +01:00
parent 2ebb792b69
commit 1b23f4e558

View file

@ -20,6 +20,7 @@ declare -a BTS_MASTER
<% @bts.each_with_index do |bts, index| -%>
BTS[<%= index %>]=<%= bts["ip"] %>
LAC[<%= index %>]=<%= bts["lac"] %>
MODEL[<%= index %>]=<%= bts["model"] %>
<% if bts ["model"] == '2050M' -%>
BTS_MASTER[<%= index %>]=<%= bts["ip"] %>
<% end -%>