{% include 'header.html' %}
{{ subnet.name }} ({{ subnet.cidr }})
{% if utilization %}
Utilisation
Used:
{{ utilization.percent }}%
Assigned:
{{ utilization.assigned }}
DHCP:
{{ utilization.dhcp }}
Available:
{{ utilization.available }}
Total:
{{ utilization.total }}
{% endif %} {% if subnet.vlan_id or subnet.vlan_description or subnet.vlan_notes %}
VLAN
{% if subnet.vlan_id %}
ID:
{{ subnet.vlan_id }}
{% endif %} {% if subnet.vlan_description %}
Description:
{{ subnet.vlan_description }}
{% endif %} {% if subnet.vlan_notes %}
Notes:
{{ subnet.vlan_notes }}
{% endif %}
{% endif %} {% if custom_fields %}
Custom Fields
{% if can_edit_subnet %}
{% for field in custom_fields %}
{{ field.name }} {% if field.required %}
*
{% endif %}
{% if field.field_type == 'textarea' %}
{{ field.current_value or field.default_value or '' }}
{% elif field.field_type == 'boolean' %}
Yes
{% elif field.field_type == 'select' %} {% set options = [] %} {% if field.validation_rules and field.validation_rules.select_options %} {% set options = field.validation_rules.select_options %} {% endif %}
{% if not field.required %}
-- None --
{% endif %} {% for option in options %}
{{ option }}
{% endfor %}
{% elif field.field_type == 'date' %}
{% elif field.field_type == 'datetime' %}
{% elif field.field_type == 'number' %}
{% elif field.field_type == 'decimal' %}
{% elif field.field_type == 'ip_address' %}
{% elif field.field_type == 'email' %}
{% elif field.field_type == 'url' %}
{% else %}
{% endif %}
{% endfor %}
{% else %}
{% for field in custom_fields %}
{{ field.name }}
{{ field.current_value or field.default_value or '-' }}
{% endfor %}
{% endif %}
{% endif %}
Define
DHCP Pool
Show Descriptions
IP Address
Hostname
Description
{% for ip in ip_addresses %}
{{ ip[1] }}
{% if ip[2] == 'DHCP' %}
DHCP
{% elif ip[2] and ip[3] %}
{{ ip[2] }}
{% elif ip[2] %} {{ ip[2] }} {% else %} {{ '' }} {% endif %}
{% set device_desc = ip[4] if ip[4] else '' %} {% set ip_notes = ip[5] if ip|length > 5 and ip[5] else '' %} {% if ip_notes_enabled %} {% set combined_desc = '' %} {% if device_desc %} {% set combined_desc = device_desc %} {% endif %} {% if ip_notes %} {% if combined_desc %} {% set combined_desc = combined_desc + '\n' + ip_notes %} {% else %} {% set combined_desc = ip_notes %} {% endif %} {% endif %} {% if can_edit_subnet %}
{{ combined_desc }}
{% else %}
{{ combined_desc }}
{% endif %} {% else %} {# IP notes disabled - show only device description, read-only #}
{{ device_desc }}
{% endif %}
{% endfor %}
IP History:
×
Loading...
{% if can_edit_subnet %} {% endif %}