blob: 2768f6f2e7d0dd88789013bdf587ac93a15c998e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
### Autogenerated by service-router-advert.py ###
{% for i in interfaces -%}
interface {{ i.name }} {
IgnoreIfMissing on;
AdvDefaultPreference {{ i.default_preference }};
AdvManagedFlag {{ i.managed_flag }};
MaxRtrAdvInterval {{ i.interval_max }};
{% if i.interval_min %}
MinRtrAdvInterval {{ i.interval_min }};
{% endif %}
AdvReachableTime {{ i.reachable_time }};
AdvIntervalOpt {{ i.send_advert }};
AdvSendAdvert {{ i.send_advert }};
{% if i.default_lifetime %}
AdvDefaultLifetime {{ i.default_lifetime }};
{% endif %}
{% if i.link_mtu %}
AdvLinkMTU {{ i.link_mtu }};
{% endif %}
AdvOtherConfigFlag {{ i.other_config_flag }};
AdvRetransTimer {{ i.retrans_timer }};
AdvCurHopLimit {{ i.hop_limit }};
{% for p in i.prefixes %}
prefix {{ p.prefix }} {
AdvAutonomous {{ p.autonomous_flag }};
AdvValidLifetime {{ p.valid_lifetime }};
AdvOnLink {{ p.on_link }};
AdvPreferredLifetime {{ p.preferred_lifetime }};
};
{% endfor %}
{% if i.name_server %}
RDNSS {{ i.name_server | join(" ") }} {
};
{% endif %}
};
{% endfor -%}
|