{% extends "base.html" %} {% load i18n %} {% load static %} {% load bootstrap_icons %} {% block title %}{% trans "Network filter" %} - {{ name }}{% endblock %} {% block page_heading %}{{ compute.name }} - {% trans "Network filter" %}: {{ name }}{% endblock page_heading %} {% block content %} {% include "computes/host_nav.html" with section="nwfilters" detail=True %} {% if uuid %}
| {% trans "Filter" %} | {% trans "Parameters" %} | {% trans "Actions" %} |
|---|---|---|
| {% if ref.filter in filter_names %}{{ ref.filter }} {% else %}{{ ref.filter }} {% trans "Missing" %}{% endif %} | {% for param, value in ref.parameters %} {{ param }}={{ value }} {% empty %}–{% endfor %} |
| # | {% trans "Action" %} | {% trans "Direction" %} | {% trans "Priority" %} | {% trans "Matches" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|
| {{ forloop.counter }} | {% if rule.action == "accept" %}{% trans "Accept" %} {% elif rule.action == "drop" or rule.action == "reject" %}{{ rule.action|capfirst }} {% else %}{{ rule.action|capfirst }}{% endif %} | {% if rule.direction == "in" %}{% trans "To the VM" %}{% elif rule.direction == "out" %}{% trans "From the VM" %}{% elif rule.direction == "inout" %}{% trans "Both ways" %}{% else %}{{ rule.direction }}{% endif %} | {% if rule.priority is not None %}{{ rule.priority }}{% else %}500{% endif %} |
{% for protocol in rule.protocols %}
{{ protocol.name }}{% for attribute, value in protocol.attributes %} {{ attribute }}={{ value }}{% endfor %}
{% empty %}
{% trans "Any traffic of the chain" %}
{% endfor %}
{% if rule.statematch == "false" or rule.statematch == "0" %}{% trans "Without connection tracking" %} {% endif %}
|