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

À quoi sert cette machine {{ deploiements|length }}

{% if deploiements %} {% for deploiement in deploiements %} {% endfor %}
ApplicationEnvironnementÉtatMatrice
{{ deploiement.application|linkify }} {% include "netbox_applications/inc/reference.html" with ref=deploiement.environment %} {% include "netbox_applications/inc/reference.html" with ref=deploiement.status %} Matrice de flux
{% else %}

Cette machine n'est rattachée à aucun déploiement. En incident, « elle sert à quoi ? » restera donc sans réponse. Le rattachement se déclare depuis le déploiement concerné.

{% endif %}

Services exposés sans source déclarée {% if services_sans_source %} {{ services_sans_source|length }} {% else %} 0 {% endif %}

{% if services_sans_source %} {% for service in services_sans_source %} {% endfor %}
{{ service|linkify }}{{ service.description|placeholder }}
{% else %}
Chaque service exposé par cette machine est couvert par un flux déclaré.
{% endif %}

Qui a le droit de lui parler {{ flux|length }}

{% if flux %} {% for ligne in flux %} {% endfor %}
SourceDestinationPortsÉtatPourquoi ici
{{ ligne.0.libelle_source }} {{ ligne.0.libelle_destination }} {% if ligne.0.ports_lisibles %}{{ ligne.0.ports_lisibles }}{% else %}{{ ''|placeholder }}{% endif %} {{ ligne.0.get_status_display }} {{ ligne.1 }}
{% else %}
Aucun flux déclaré ne concerne cette machine.
{% endif %}
{% endblock %}