Add BTS models to vars
Make this data available to shell scripts
This commit is contained in:
parent
2ebb792b69
commit
1b23f4e558
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ declare -a BTS_MASTER
|
||||||
<% @bts.each_with_index do |bts, index| -%>
|
<% @bts.each_with_index do |bts, index| -%>
|
||||||
BTS[<%= index %>]=<%= bts["ip"] %>
|
BTS[<%= index %>]=<%= bts["ip"] %>
|
||||||
LAC[<%= index %>]=<%= bts["lac"] %>
|
LAC[<%= index %>]=<%= bts["lac"] %>
|
||||||
|
MODEL[<%= index %>]=<%= bts["model"] %>
|
||||||
<% if bts ["model"] == '2050M' -%>
|
<% if bts ["model"] == '2050M' -%>
|
||||||
BTS_MASTER[<%= index %>]=<%= bts["ip"] %>
|
BTS_MASTER[<%= index %>]=<%= bts["ip"] %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue