{% 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 | render_none }}
Network service
{% if ixapi_service.network_features %} {% endif %}
Service ID {{ ixapi_service.id }}
Product {% if ixapi_service.product_offering %} {{ ixapi_service.product_offering.name }} {% elif ixapi_service.product %} {{ ixapi_service.product.name }} {% else %} {% endif %}
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 %}
{% if config.outer_vlan %} {% endif %} {% if config.inner_vlan %} {% endif %} {% for ip in config.ips %} {% endfor %}
Outer VLAN {{ config.outer_vlan }}
Inner VLAN {{ config.inner_vlan }}
IPv{{ ip.version }} address {{ ip }}
MAC address{{ config.macs | pluralize:"es" }} {{ config.macs | join:" - " | render_none }}
{% endfor %}
{% if ixapi_service.network_features %} {% endif %} {% endblock %}