{% extends load_base %} {% load i18n %} {% load gui_utils %} {% block javascript %} {% endblock %} {% block base_content %}
{% trans "Subnet" %}
{% trans "Network" %}:{{ ip_network.network_address }}
{% trans "Netmask" %}:{{ ip_network.netmask }}
{% trans "VLAN ID" %}:{{ vlan_id }}
{% trans "First host address" %}:{{ netinfo.min }}
{% trans "Last host address" %}:{{ netinfo.max }}
{% trans "Usable / Registered / Free IPs" %}: {{ netinfo.hosts }} / {{ total }} / {{ free }}
{% blocktrans count counter=num_networks %}This subnet with this VLAN ID is used by {{ num_networks }} network.{% plural %}This subnet with this VLAN ID is used by {{ num_networks }} networks.{% endblocktrans %}
{% trans "Subnet" %} › {% trans "IP addresses" %}
{% for ip in ips %}{% with hostnames=ip.additional_vm_hostnames %} {% if ip.vm %} {% elif hostnames %} {% else %} {# other IPs have no DC relation #} {% endif %} {% endwith %}{% endfor %}
{% trans "IP address" %} {% trans "Usage" %} {% trans "Server" %} {% trans "Hostname" %} {% trans "Datacenter" %} {% trans "MAC address" %} {% trans "NIC ID" %} {% trans "Network" %} {% trans "Note" %}
{{ ip.ip }} {{ ip.get_usage_display }}  {{ ip.vm.alias }} {{ ip.vm.hostname }}  {{ ip.vm.dc.alias }} {% for vm in ip.vms.all %} {{ vm.alias }}{% if not forloop.last %}, {% endif %}{% endfor %} {% for hostname in hostnames %}{{ hostname }}{% if not forloop.last %}, {% endif %}{% endfor %}  {{ ip.vms.all.0.dc.alias }} {% if is_node_address %}{{ ip.hostname }}{% endif %} {{ ip.mac }} {% if ip.nic_id %}{{ ip.nic_id }}{% endif %}  {{ ip.subnet }} {{ ip.note|wordwrap:44 }}
{% trans "Total" %}: {{ pager.paginator.count }}  {% if ips and pager.paginator.num_pages > 1 %}
{% paginator %}
{% endif %}
{% endblock %}