{% extends 'base.html' %} {% block content %}

Link {{ link.name }} ({{ link.link_id.link_uuid.uuid }})


UUID: {{ link.link_id.link_uuid.uuid }}
Name: {{ link.name }}
{% for endpoint in link.link_endpoint_ids %} {% endfor %}
Endpoint UUID Name Device Endpoint Type
{{ endpoint.endpoint_uuid.uuid }} {{ endpoints_data.get(endpoint.endpoint_uuid.uuid, (endpoint.endpoint_uuid.uuid, ''))[0] }} {{ device_names.get(endpoint.device_id.device_uuid.uuid, endpoint.device_id.device_uuid.uuid) }} {{ endpoints_data.get(endpoint.endpoint_uuid.uuid, ('', '-'))[1] }}
Optical Link Detail: {% for field_descriptor, field_value in link.optical_details.ListFields() %} {% if field_descriptor.name != "c_slots" and field_descriptor.name != "s_slots" and field_descriptor.name != "l_slots" %} {%endif%} {% endfor %} {%if c_slots %} {%endif%} {%if l_slots %} {%endif%} {%if s_slots %} {%endif%}
Key Value
{{ field_descriptor.name }} {{ field_value }}
c_slots {{ c_slots }}
l_slots {{ l_slots }}
s_slots {{ s_slots }}
{% endblock %}