bird: tune radv intervals and lifetimes

This commit is contained in:
Astro 2017-01-20 03:15:15 +01:00
parent b790bbf076
commit 412308a466
1 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,13 @@ protocol device {
protocol radv {
{%- for iface, conf in radv_ifaces.items() %}
interface "{{ iface }}" {
min ra interval 3;
max ra interval 10;
{%- set subnet6 = pillar['subnets-inet6'][iface] %}
prefix {{ subnet6 }} {
preferred lifetime 20;
valid lifetime 60;
};
{%- if conf.get('rdnss') %}
{%- for value in conf['rdnss'] %}
{%- set host = value.split('.')[0] %}