{% extends 'generic/object.html' %} {% load i18n %} {% load helpers %} {% load buttons %} {% block content %}

{% trans "General" %}

{% trans "Service ID" %} {{ object | linkify }}
{% trans "Type" %} {{ object.get_type_display }}
{% trans "Tenant" %} {{ object.tenant | linkify }}
{% trans "Status" %} {% badge object.get_status_display bg_color=object.get_status_color %}
{% trans "Tags" %} {% for tag in object.tags.all %}{{ tag | linkify }}
{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}

{% trans "Devices & Interfaces" %}

{% for device in object.devices.all %} {% empty %} {% endfor %}
{% if forloop.first %}{% trans "Device" %}{% endif %} {{ device|linkify }} {% with related_ifaces=object.interfaces.all|dictsort:"name" %} {% for iface in related_ifaces %} {% if iface.device == device %} {{ iface|linkify }}{% if not forloop.last %}
{% endif %} {% endif %} {% empty %}None{% endfor %} {% endwith %}
{% trans "Device" %} None
Assign devices Assign interfaces
{% trans "Cables" %} {% for cable in object.cables.all %}{{ cable|linkify }}
{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}
Assign

{% trans "Network" %}

{% trans "VLANs" %} {% for vlan in object.vlans.all %}{{ vlan | linkify }}
{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}
Assign
{% trans "Prefixes" %} {% for prefix in object.prefixes.all %}{{ prefix | linkify }}
{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}
Assign
{% trans "ASNs" %} {% for asn in object.asns.all %}{{ asn | linkify }}
{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}
Assign

{% trans "VPNs" %}

{% trans "VRFs" %} {% for vrf in object.vrf.all %}{{ vrf | linkify }}
{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}
Assign
{% trans "RTs" %} {% for rt in object.route_targets.all %}{{ rt | linkify }}
{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}
Assign
{% trans "L2VPNs" %} {% for l2vpn in object.l2vpns.all %}{{ l2vpn | linkify }}
{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}
Assign
{% trans "Tunnels" %} {% for tunnel in object.tunnels.all %}{{ tunnel | linkify }}
{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}
Assign

{% trans "Virtualization" %}

{% trans "VMs" %} {% for vm in object.virtual_machines.all %}{{ vm | linkify }}
{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}
Assign
{% endblock %}