{% extends "bootstrap.html" %} {% block title %}{{super()}} :: Gateways{% endblock %} {% block head %}{{super()}} {% endblock %} {% block content %}
Gateways (selected / others)
{%- for gw, value in gws.items() %} {%- endfor %}
Gateway On Off Unk. Sum

{{ value["name"] }}

{{ value["selected"]["online"] or 0 }} / {{ value["others"]["online"] or 0 }} {{ value["selected"]["offline"] or 0 }} / {{ value["others"]["offline"] or 0 }} {{ value["selected"]["unknown"] or 0 }} / {{ value["others"]["unknown"] or 0 }} {{ value["selected"]|sumdict if value["selected"] else 0 }} / {{ value["others"]|sumdict if value["others"] else 0 }}
DHCP ranges
{%- for ip in dhcp %} {%- endfor %}
Gateway VPN batX Range
{{ ip["name"] }} {{ ip["vpnif"] }} {{ ip["batif"] }} {{ ip["dhcpstart"] }} - {{ ip["dhcpend"] }}
IPv4 List
{%- for ip in ipv4 %} {%- if ip["mac"] %} {%- else %} {%- endif %} {%- endfor %}
Gateway VPN batX IPv4 Stat
{{ ip["name"] }} {{ ip["vpnif"] }} {{ ip["batif"] }} {{ ip["ipv4"] }}Stats 
IPv6 List
{%- for ip in ipv6 %} {%- if ip["mac"] %} {%- else %} {%- endif %} {%- endfor %}
Gateway VPN batX IPv6 Stat
{{ ip["name"] }} {{ ip["vpnif"] }} {{ ip["batif"] }} {{ ip["ipv6"]|longip }}Stats 
{% endblock %}