{% 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 "Pool name" %} [{% for net in networks %} {% ifequal net pool %} {{ net }} {% else %} {{ net }} {% endifequal %} {% endfor %} ]
{% trans "Device pool" %} {{ device }}
{% trans "State" %}
{% csrf_token %} {% ifequal state 0 %} {% else %} {% endifequal %}
{% trans "Autostart" %}
{% csrf_token %} {% ifequal autostart 0 %} {% else %} {% endifequal %}

{% trans "IPv4 configuration" %}


{% if ipv4_dhcp_range_start and ipv4_dhcp_range_end %} {% endif %}
{% 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 %}
{% trans "Start" %} {{ ipv4_dhcp_range_start }}
{% trans "End" %} {{ ipv4_dhcp_range_end }}
{% if fixed_address %}

{% trans "Fixed Address" %}


{% for fix in fixed_address %} {% endfor %}
{% trans "Address" %} {% trans "MAC" %}
{{ fix.host }} {{ fix.mac }}
{% endif %} {% endif %} {% include 'sidebar_close.html' %} {% endblock %} {% block script %} {% endblock %}