21 lines
446 B
Text
21 lines
446 B
Text
% for interface, config in sorted(interfaces.items()):
|
|
interface ${interface}
|
|
{
|
|
AdvSendAdvert on;
|
|
MinRtrAdvInterval 10;
|
|
MaxRtrAdvInterval 30;
|
|
MinDelayBetweenRAs 10;
|
|
prefix ${config.get('prefix', '::/64')}
|
|
{
|
|
AdvOnLink on;
|
|
AdvAutonomous on;
|
|
AdvRouterAddr on;
|
|
};
|
|
% if 'rdnss' in config:
|
|
RDNSS ${' '.join(sorted(config['rdnss']))}
|
|
{
|
|
AdvRDNSSLifetime 900;
|
|
};
|
|
% endif
|
|
};
|
|
% endfor
|