{% extends 'generic/object.html' %} {% load render_table from django_tables2 %} {% block content %} {% spaceless %}
{# Left column #}
Service CoreLink
Name {{ object.name }}
Status {% badge object.get_status_display bg_color=object.get_status_color %}
Active {% if object.active %} ✓ {% else %} ✗ {% endif %}
Tenant {{ object.tenant|linkify|default:"—" }}
Monitored {% if object.monitored %}Yes{% else %}No{% endif %}
Service Start {{ object.service_start|date:"Y-m-d H:i"|default:"—" }}
Service End {{ object.service_end|date:"Y-m-d H:i"|default:"—" }}
RT Tickets {{ object.rt|default:"—" }}
{% if object.core_trunks.all %}
Core Trunks
{% for trunk in object.core_trunks.all %} {% endfor %}
Trunk
{{ trunk|linkify }}
{% endif %} {% include 'inc/panels/custom_fields.html' %} {% include 'inc/panels/comments.html' %}
{# Right column #}
L2
LLDP Enabled {% if object.lldp_enable %}Yes{% else %}No{% endif %}
Flowspec Enabled {% if object.flowspec_enable %}Yes{% else %}No{% endif %}
Routing
ISIS Enabled {% if object.routing_isis_enabled %}Yes{% else %}No{% endif %}
ISIS Instance {{ object.routing_isis_instance|default:"—" }}
ISIS BFD {% if object.routing_isis_bfd %}Yes{% else %}No{% endif %}
OSPF Enabled {% if object.routing_ospf_enable %}Yes{% else %}No{% endif %}
OSPF Area {{ object.routing_ospf_area|default:"—" }}
{% if object.linked_segments.all %}
Linked Segments
{% for seg in object.linked_segments.all %} {% endfor %}
Segment
{{ seg|linkify }}
{% endif %} {% include 'inc/panels/tags.html' %}
{% endspaceless %}
Endpoints ({{ endpoint_count }}) {% if perms.netbox_cesnet_services_plugin.add_serviceendpoint and endpoint_count < 2 %} Add Endpoint {% endif %}
{% if endpoint_count %}
{% render_table endpoints_table 'inc/table.html' %}
{% else %}
No endpoints. A Core Link needs endpoints A and B before it can be activated.
{% endif %}
{% endblock content %}