mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #661: Display relevant IP addressing when viewing a circuit
This commit is contained in:
@ -131,6 +131,21 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>IP Addressing</td>
|
||||||
|
<td>
|
||||||
|
{% if circuit.interface %}
|
||||||
|
{% for ip in circuit.interface.ip_addresses.all %}
|
||||||
|
{% if not forloop.first %}<br />{% endif %}
|
||||||
|
<a href="{% url 'ipam:ipaddress' pk=ip.pk %}">{{ ip }}</a> ({{ ip.vrf|default:"Global" }})
|
||||||
|
{% empty %}
|
||||||
|
<span class="text-muted">None</span>
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
<span class="text-muted">N/A</span>
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Cross-Connect</td>
|
<td>Cross-Connect</td>
|
||||||
<td>
|
<td>
|
||||||
|
Reference in New Issue
Block a user