2020-11-14 10:47:44 +00:00
|
|
|
% for interface, config in sorted(interfaces.items()):
|
|
|
|
interface ${interface}
|
|
|
|
{
|
|
|
|
AdvSendAdvert on;
|
2024-02-26 18:25:43 +00:00
|
|
|
MinRtrAdvInterval 60;
|
|
|
|
MaxRtrAdvInterval 300;
|
2021-04-18 09:05:10 +00:00
|
|
|
MinDelayBetweenRAs 10;
|
2020-11-14 10:47:44 +00:00
|
|
|
prefix ${config.get('prefix', '::/64')}
|
|
|
|
{
|
|
|
|
AdvOnLink on;
|
|
|
|
AdvAutonomous on;
|
|
|
|
AdvRouterAddr on;
|
|
|
|
};
|
2024-02-26 06:27:25 +00:00
|
|
|
% if config.get('rdnss'):
|
2020-11-14 10:47:44 +00:00
|
|
|
RDNSS ${' '.join(sorted(config['rdnss']))}
|
|
|
|
{
|
2024-02-26 18:25:43 +00:00
|
|
|
AdvRDNSSLifetime 900;
|
2020-11-14 10:47:44 +00:00
|
|
|
};
|
2020-12-13 13:59:10 +00:00
|
|
|
% endif
|
2020-11-14 10:47:44 +00:00
|
|
|
};
|
|
|
|
% endfor
|