Skip to content

Commit

Permalink
Update quota_template.json.j2
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyPirogov authored Jan 23, 2018
1 parent 2c2a599 commit ba982bb
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions templates/quota_template.json.j2
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"hosts": {
"{{ grid_router_host_list }}": {
"{{ grid_router_region }}": {
"{{ grid_router_host_name }}": {
"port": {{ grid_router_port }},
"count": {{ grid_router_browser_count }}
}
}
}
"hosts": {
"{{ grid_router_host_list }}": {
{% for region in grid_router_regions -%}
"{{ region.name }}": {
{% for host in region.hosts -%}
"{{ host.name }}": {
"port": {{ host.port }},
"count": {{ host.browser_count }}
}{%- if not loop.last -%},{%- endif -%}
{%- endfor %}
}
{%- endfor %}
}
},
"quota": {
"selenoid": {
Expand Down

0 comments on commit ba982bb

Please sign in to comment.