{% extends "base.html" %} {% load i18n %} {% load static %} {% load bootstrap_icons %} {% block title %}{% trans "Network" %} - {{ pool }}{% endblock %} {% block page_heading %}{{ compute.name }} - {% trans "Network" %}: {{ pool }}{% endblock page_heading %} {% block page_heading_extra %} {# the network's own actions: starting or stopping it, the others in a menu #}
| {% trans "Address" %} | {% trans "MAC / DUID" %} | {% trans "Name" %} | {% trans "Actions" %} |
|---|---|---|---|
| {{ host.ip }} | {{ host.mac|default:host.id|default:"–" }} | {{ host.name|default:"–" }} |
|
| {% trans "Address" %} | {% trans "MAC / DUID" %} | {% trans "Host name" %} | {% trans "VM" %} | {% trans "Ends" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|
| {{ lease.ip }} {% if lease.fixed %}{% trans "Fixed" %}{% endif %} | {{ lease.key|default:"–" }} | {{ lease.hostname|default:"–" }} | {% if lease.vm.id %} {{ lease.vm.name }} {% else %} {{ lease.vm.name|default:"–" }} {% endif %} |
{% if lease.expires %}
{% blocktrans with time=lease.expires|timeuntil %}in {{ time }}{% endblocktrans %}
{{ lease.expires|date:"Y-m-d H:i" }}
{% else %}
{% trans "Never" %}
{% endif %}
|
{# a lease kept as a fixed address: the dialog of a new one, filled in #} {% if not lease.fixed and lease.key and lease.ip_index is not None %} {% endif %} |
| {% trans "Direction" %} | {% trans "Average" %} | {% trans "Peak" %} | {% trans "Burst" %} | {% trans "Actions" %} |
|---|---|---|---|---|
| {% if direction == "inbound" %}{% trans "Inbound" %}{% else %}{% trans "Outbound" %}{% endif %} | {% if limit.average %}{{ limit.average }} KiB/s{% else %}–{% endif %} | {% if limit.peak %}{{ limit.peak }} KiB/s{% else %}–{% endif %} | {% if limit.burst %}{{ limit.burst }} KiB{% else %}–{% endif %} |
|