{% extends 'generic/object.html' %} {% load helpers %} {% block content %}
{% if error %}
{{ error }}
{% elif no_ips %}
VitalQIP IPAM
{{ message }}
{% else %}
VitalQIP IPAM
{{ found_count }}/{{ total_count }} IPs found
{% if qip_addresses %}
{% for addr in qip_addresses %} {% endfor %}
IP Address Object Name Domain Object Class Subnet Config Type
{{ addr.netbox_ip }} {% if addr.cached %} {% endif %} {{ addr.qip_data.objectName|default:"-" }} {{ addr.qip_data.domainName|default:"-" }} {{ addr.qip_data.objectClass|default:"-" }} {% if addr.qip_data.subnetAddr %} {{ addr.qip_data.subnetAddr }} {% else %} - {% endif %} {% if addr.qip_data.dynamicConfig == "Static" %} Static {% elif addr.qip_data.dynamicConfig == "DHCP" %} DHCP {% elif addr.qip_data.dynamicConfig %} {{ addr.qip_data.dynamicConfig }} {% else %} - {% endif %}
{% else %}
None of the {{ total_count }} IP address(es) assigned to this {% if is_vm %}VM{% else %}device{% endif %} were found in VitalQIP.
{% endif %} {% if truncated %}
Showing first 5 of {{ total_count }} IPs. Additional IPs not queried to improve load time.
{% endif %}
{% endif %}
{% endblock %}