Gestion de la clef radius dans la conf des switchs

This commit is contained in:
chirac 2018-07-11 01:20:55 +02:00
parent aca5269405
commit 1490d59eba

View file

@ -107,7 +107,7 @@ radius-server dead-time 2
{%- for server in additionals.radius_servers %} {%- for server in additionals.radius_servers %}
{%- for interface in server.interface %} {%- for interface in server.interface %}
{%- if switch.subnet.0.vlan_id == interface.vlan_id %} {%- if switch.subnet.0.vlan_id == interface.vlan_id %}
radius-server host {{ interface.ipv4 }} key "plop" radius-server host {{ interface.ipv4 }} key "{{ switch.get_radius_key_value }}"
radius-server host {{ interface.ipv4 }} dyn-authorization radius-server host {{ interface.ipv4 }} dyn-authorization
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}