{% extends 'peering/internetexchange/_base.html' %} {% load helpers %} {% block subcontent %}
Endpoint
{% if instance.ixapi_endpoint.version != 1 %} {% endif %}
IX-API {{ instance.ixapi_endpoint | as_link }}
Status {{ instance.ixapi_endpoint.get_health | title }}
Network service
{% if ixapi_service.network_features %} {% endif %}
Service ID {{ ixapi_service.id }}
Product {{ ixapi_service.product.name }}
Name {{ ixapi_service.name }}
Metro area {{ ixapi_service.metro_area }}
Features Show
{% for config in ixapi_service.network_service_configs %}
{{ config.id }} - {{ config.state | title }} {% if config.connection %} Configured {% else %} {% if perms.peering.change_internetexchange and perms.net.add_connection %} Setup {% endif %} {% endif %}
Outer VLAN {{ config.outer_vlan | render_none }}
Inner VLAN {{ config.inner_vlan | render_none }}
IP address{{ config.ips | pluralize:"es" }} {{ config.ips | join:" - " }}
MAC address{{ config.macs | pluralize:"es" }} {{ config.macs | join:" - " | render_none }}
{% endfor %}
{% if ixapi_service.network_features %} {% endif %} {% endblock %} {% block javascript %} {% endblock %}