{% extends "bootstrap.html" %} {% block title %}{{super()}} :: {{ router.hostname }}{% endblock %} {% block head %}{{super()}} {% endblock %} {% block content %}

Router: {{ router.hostname }}

System
{%- if router.description %} {%- endif %} {%- if router.position and router.position.comment %} {%- endif %} {%- if router.hood %} {%- endif %} {%- if router.user %} {%- endif %}
Hostname {%- if router.netmon_id %} {{ router.hostname }} {%- else %} {{ router.hostname }} {%- endif %}
Status{{ router.status }}
Created {{ router.created|utc2local|format_dt }}
Last contact {{ router.last_contact|utc2local|format_dt }} ({{ router.last_contact|format_dt_ago }}){{- "" -}}
Description{{ router.description }}
Position{{ router.position.comment }}
Hood{{ router.hood }}
User{{ router.user.nickname }}
Hardware{{ router.hardware.name }} ({{ router.hardware.chipset }})
WAN Uplink
Clients{{ router.system.clients }}
{%- if router.software is defined %}
Software
Operating System{{ router.software.os }}
Kernel{{ router.software.kernel }}
Firmware{{ router.software.firmware }} ({{ router.software.firmware_rev }})
B.A.T.M.A.N. adv{{ router.software.batman_adv }}
Nodewatcher{{ router.software.nodewatcher }}
{%- if not router.neighbours|length > 0 %}
{%- endif %} {%- else %}
{%- endif %}
Events
{%- for event in router.events[-5:] %} {%- endfor %}
{{ event.time|utc2local|format_dt|nbsp|safe }} {{ event.type }} {{ event.comment }}
{%- if router.neighbours|length > 0 %}
Neighbours
{%- for neighbour in router.neighbours %} {%- endfor %}
Hostname MAC Address Quality Interface
{{ neighbour.hostname }} {{ neighbour.mac }} {{ neighbour.quality }} {{ neighbour.net_if }}
{# hack for graph vertical align #} {%- if router.neighbours|length < 3 %} {%- for n in range(3- router.neighbours|length) %}
{%- endfor %} {%- endif %}
{%- endif %}
Network Interfaces
    {# make sure that br-mesh is on top of the list #} {%- for netif in router.netifs if netif.name == 'br-mesh' %}
  • {{ netif.name }}
    {{ netif.mac }}

    {%- if netif.ipv6_fe80_addr -%} {{ netif.ipv6_fe80_addr }} {%- else -%} {{ netif.mac|mac2fe80 }} {%- endif -%}
    {%- if netif.traffic.rx is defined %}
    {{ netif.traffic.rx|humanize_bytes }}/s {{ netif.traffic.tx|humanize_bytes }}/s
    {%- endif %}

  • {%- endfor %} {%- for netif in router.netifs if netif.name != 'br-mesh' %}
  • {{ netif.name }}
    {{ netif.mac }}

    {%- if netif.ipv6_fe80_addr -%} {{ netif.ipv6_fe80_addr }} {%- else -%} {{ netif.mac|mac2fe80 }} {%- endif -%}
    {%- if netif.traffic.rx is defined %}
    {{ netif.traffic.rx|humanize_bytes }}/s {{ netif.traffic.tx|humanize_bytes }}/s
    {%- endif %}

  • {%- endfor %}
Clients
Memory
Processes
{% endblock %}