{% extends load_base %} {% load i18n %} {% load gui_utils %} {% block javascript %} {% endblock %} {% block base_content %} {% if can_edit %} {% endif %}
{% trans "Networks" %} › {{ net.alias }}
{% if can_edit %} {% else %} {% endif %} {% if is_staff %}{% with ip_network=net.ip_network %}{% url 'dc_subnet_ip_list' ip_network.network_address ip_network.prefixlen net.vlan_id as subnet_url %} {% endwith %}{% endif %} {% if net.dhcp_passthrough %} {% endif %}
{% trans "Alias" %}: {% if can_edit %}{{ net.alias }}{% else %}{{ net.alias }}{% endif %}
{% trans "Name" %}:{{ net.name }}
{% trans "Network" %}:{{ net.network }}
{% trans "Netmask" %}:{{ net.netmask }}
{% trans "Gateway" %}:{{ net.gateway }}
{% trans "VLAN ID" %}:{{ net.vlan_id }}
{% trans "First host address" %}:{{ netinfo.min }}
{% trans "Last host address" %}:{{ netinfo.max }}
{% trans "Usable / Registered / Free IPs" %}: {{ netinfo.hosts }} / {{ total }} / {{ free }}
{% trans "Total / Free IPs" %}: {{ total }} / {{ free }}
{% trans "Description" %}:{{ net.desc }}
{% blocktrans with ip_network=ip_network vlan_id=net.vlan_id count counter=networks %} This subnet ({{ ip_network }}) with this VLAN ID ({{ vlan_id }}) is used by {{ networks }} network. {% plural %} This subnet ({{ ip_network }}) with this VLAN ID ({{ vlan_id }}) is used by {{ networks }} networks. {% endblocktrans %}
{% trans "IP addresses for this network are managed by an external service" %}.
{{ request.dc.alias }} {% trans "Networks" %} › {{ net.alias }} › {% trans "IP addresses" %}
{% if can_edit %} {% endif %} {% if ips %} {% if can_edit %} {% endif %} {% if all %}{% endif %} {% endif %} {% for ip in ips %}{% with vm=ip.vm is_node_address=ip.is_node_address %} {% if can_edit %} {% if is_node_address %} {% else %} {% endif %}{% else %} {% endif %} {% if vm %} {% if all %}{% endif %} {% else %} {% if all %}{% endif %} {# other IPs have no DC relation #} {% endif %} {% endwith %}{% endfor %}
{% if used %} {% trans "Used IPs" %} {% else %} {% trans "Used IPs" %} {% endif %} {% include "gui/dc/dc_all_toggle.html" %}
{% trans "IP address" %} {% trans "Usage" %} {% trans "Server" %} {% trans "Hostname" %}{% trans "Datacenter" %}{% trans "MAC address" %} {% trans "Note" %}
{{ ip.ip }}
{{ ip.ip }} {{ ip.ip }}{{ ip.get_usage_display }} {% if all %}{% else %}{% endif %} {{ vm.alias }} {{ vm.hostname }} {{ vm.dc.alias }} {% if is_node_address %}{{ ip.hostname }}{% endif %}{{ ip.mac }} {{ ip.api_note|wordwrap:44 }}
{% if can_edit %}
{% blocktrans count len=pager.paginator.count %}Selected 0 of {{ len }} IP address{% plural %}Selected 0 of {{ len }} IP addresses{% endblocktrans %}
{% if ips and pager.paginator.num_pages > 1 %}
{% paginator %}
{% endif %} {% else %} {% trans "Total" %}: {{ pager.paginator.count }}  {% endif %}
{% endblock %}