{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% load render_table from django_tables2 %} {% block content %}
L2VPN Attributes
Name
{{ object.name|placeholder }}
Slug {{ object.slug|placeholder }}
Identifier {{ object.identifier|placeholder }}
Type {{ object.get_type_display }}
Description {{ object.description|placeholder }}
Tenant {{ object.tenant|placeholder }}
{% include 'inc/panels/contacts.html' %} {% plugin_left_page object %}
{% include 'inc/panels/tags.html' with tags=object.tags.all url='circuits:circuit_list' %} {% include 'inc/panels/custom_fields.html' %} {% plugin_right_page object %}
{% include 'inc/panel_table.html' with table=import_targets_table heading="Import Route Targets" %}
{% include 'inc/panel_table.html' with table=export_targets_table heading="Export Route Targets" %}
L2VPN Terminations
{% with terminations=object.terminations.all %} {% if terminations.exists %} {% for termination in terminations %} {% endfor %}
Termination Type Termination
{{ termination.assigned_object|meta:"verbose_name" }} {{ termination.assigned_object|linkify }} {% if perms.ipam.change_l2vpntermination %} {% endif %} {% if perms.ipam.delete_l2vpntermination %} {% endif %}
{% else %}
None
{% endif %} {% endwith %}
{% if perms.ipam.add_l2vpntermination %} {% endif %}
{% plugin_full_width_page object %}
{% endblock %}