{% load helpers %}
{% if not termination and perms.circuits.add_circuittermination %} Add {% endif %} {% if termination and perms.circuits.change_circuittermination %} Edit Swap {% endif %} {% if termination and perms.circuits.delete_circuittermination %} Delete {% endif %}
Termination - {{ side }} Side
{% if termination %}
Site {% if termination.site.region %} {{ termination.site.region }} {% endif %} {{ termination.site }}
Termination {% if termination.cable %} {% if perms.dcim.delete_cable %} {% endif %} {{ termination.cable }} {% if termination.connected_endpoint %} to {{ termination.connected_endpoint.device }} {{ termination.connected_endpoint }} {% endif %} {% else %} {% if perms.dcim.add_cable %} {% endif %} Not defined {% endif %}
Speed {% if termination.upstream_speed %} {{ termination.port_speed|humanize_speed }}   {{ termination.upstream_speed|humanize_speed }} {% else %} {{ termination.port_speed|humanize_speed }} {% endif %}
IP Addressing {% if termination.connected_endpoint %} {% for ip in termination.connected_endpoint.ip_addresses.all %} {% if not forloop.first %}
{% endif %} {{ ip }} ({{ ip.vrf|default:"Global" }}) {% empty %} None {% endfor %} {% else %} {% endif %}
Cross-Connect {{ termination.xconnect_id|placeholder }}
Patch Panel/Port {{ termination.pp_info|placeholder }}
Description {{ termination.description|placeholder }}
{% else %}
None
{% endif %}