From dc186a57cd0d76a4862de94ea0eaea85022a9d45 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 46f37c44f..5b9f8381f 100644 --- a/netbox/templates/circuits/circuit.html +++ b/netbox/templates/circuits/circuit.html @@ -131,6 +131,21 @@ {% 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