{% extends "base.html" %}
{% load i18n %}
{% block title %}{% trans "Network Pool" %}{% endblock %}
{% block content %}
{% include 'sidebar.html' %}
{% if errors %}
{% for error in errors %}
{{ error }}
{% endfor %}
{% endif %}
{% if device %}
{% trans "Network name" %} |
[{% for net in networks %}
{% ifequal net pool %}
{{ net }}
{% else %}
{{ net }}
{% endifequal %}
{% endfor %} ]
|
{% trans "Device" %} |
{{ device }} |
{% trans "State" %} |
|
{% trans "Autostart" %} |
|
{% trans "IPv4 configuration" %}
{% trans "IPv4 Forwarding" %} |
{% ifequal ipv4_forward.0 'nat' %}
{% trans "NAT" %}
{% endifequal %}
{% ifequal ipv4_forward.0 'route' %}
{% trans "ROUTE" %}
{% endifequal %}
{% ifequal ipv4_forward.0 'bridge' %}
{% trans "BRIDGE" %}
{% endifequal %}
{% if not ipv4_forward.0 %}
{% trans "ISOLATE" %}
{% endif %}
|
{% trans "Network" %} |
{{ ipv4_network }} |
{% trans "DHCP" %} |
{% if ipv4_dhcp_range_start and ipv4_dhcp_range_end %}
{% trans "ON" %}
{% else %}
{% trans "OFF" %}
{% endif %}
|
{% if ipv4_dhcp_range_start and ipv4_dhcp_range_end %}
{% trans "Start" %} |
{{ ipv4_dhcp_range_start }} |
{% trans "End" %} |
{{ ipv4_dhcp_range_end }} |
{% endif %}
{% if fixed_address %}
{% trans "Fixed Address" %}
{% trans "Address" %} |
{% trans "MAC" %} |
{% for fix in fixed_address %}
{{ fix.host }} |
{{ fix.mac }} |
{% endfor %}
{% endif %}
{% endif %}
{% include 'sidebar_close.html' %}
{% endblock %}
{% block script %}
{% endblock %}