From 4fbc5aa7ba8da274fbaa6bd5ef33a4b7fe27d11c Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 31 Oct 2016 11:36:05 -0400 Subject: [PATCH] Closes #661: Display relevant IP addressing when viewing a circuit --- netbox/templates/circuits/circuit.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/netbox/templates/circuits/circuit.html b/netbox/templates/circuits/circuit.html index 46f37c44fa7..5b9f8381f6d 100644 --- a/netbox/templates/circuits/circuit.html +++ b/netbox/templates/circuits/circuit.html @@ -131,6 +131,21 @@

{{ circuit.provider }} - {{ circuit.cid }}

{% endif %} + + IP Addressing + + {% if circuit.interface %} + {% for ip in circuit.interface.ip_addresses.all %} + {% if not forloop.first %}
{% endif %} + {{ ip }} ({{ ip.vrf|default:"Global" }}) + {% empty %} + None + {% endfor %} + {% else %} + N/A + {% endif %} + + Cross-Connect