{% comment %}
Re2o est un logiciel d'administration développé initiallement au rezometz. Il
se veut agnostique au réseau considéré, de manière à être installable en
quelques clics.
Copyright © 2018 Hugo Levy-Falk
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}
{% load i18n %}
{% load acl %}
{% load logs_extra %}
{% trans "General policy for VLAN setting" %} |
{{ radiusoptions.radius_general_policy }} |
{% blocktrans %}This setting defines the VLAN policy after acceptance by RADIUS: either on the IP range's VLAN of the machine, or a VLAN preset in "VLAN for machines accepted by RADIUS".{% endblocktrans %} |
{% trans "VLAN for machines accepted by RADIUS" %} |
{% blocktrans with vlan_decision_ok=radiusoptions.vlan_decision_ok %}VLAN {{ vlan_decision_ok }}{% endblocktrans %} |
{% trans "Attributes" %}
{% for attribute in radiusoptions.ok_attributes.all %}
- {{attribute}}
{% endfor %}
|
{% trans "Situation" %} |
{% trans "Behaviour" %} |
{% trans "Attributes" %} |
{% trans "Unknown machine" %} |
{% if radiusoptions.unknown_machine == 'REJECT' %}
{% trans "Reject" %}
{% else %}
{% blocktrans with unknown_machine_vlan=radiusoptions.unknown_machine_vlan %}VLAN {{ unknown_machine_vlan }}{% endblocktrans %}
{% endif %}
|
{% for attribute in radiusoptions.unknown_machine_attributes.all %}
- {{attribute}}
{% endfor %}
|
{% trans "Unknown port" %} |
{% if radiusoptions.unknown_port == 'REJECT' %}
{% trans "Reject" %}
{% else %}
{% blocktrans with unknown_port_vlan=radiusoptions.unknown_port_vlan %}VLAN {{ unknown_port_vlan }}{% endblocktrans %}
{% endif %}
|
{% for attribute in radiusoptions.unknown_port_attributes.all %}
- {{attribute}}
{% endfor %}
|
{% trans "Unknown room" %} |
{% if radiusoptions.unknown_room == 'REJECT' %}
{% trans "Reject" %}
{% else %}
{% blocktrans with unknown_room_vlan=radiusoptions.unknown_room_vlan %}VLAN {{ unknown_room_vlan }}{% endblocktrans %}
{% endif %}
|
{% for attribute in radiusoptions.unknown_room_attributes.all %}
- {{attribute}}
{% endfor %}
|
{% trans "Non member" %} |
{% if radiusoptions.non_member == 'REJECT' %}
{% trans "Reject" %}
{% else %}
{% blocktrans with non_member_vlan=radiusoptions.non_member_vlan %}VLAN {{ non_member_vlan }}{% endblocktrans %}
{% endif %}
|
{% for attribute in radiusoptions.non_member_attributes.all %}
- {{attribute}}
{% endfor %}
|
{% trans "Banned user" %} |
{% if radiusoptions.banned == 'REJECT' %}
{% trans "Reject" %}
{% else %}
{% blocktrans with banned_vlan=radiusoptions.banned_vlan %}VLAN {{ banned_vlan }}{% endblocktrans %}
{% endif %}
|
{% for attribute in radiusoptions.banned_attributes.all %}
- {{attribute}}
{% endfor %}
|