Role service-radvd: make more parameters configurable
This commit is contained in:
parent
a1705da9a0
commit
07a0b25a09
2 changed files with 11 additions and 3 deletions
|
@ -36,6 +36,10 @@ meshes:
|
||||||
mm: 0
|
mm: 0
|
||||||
dat: 0
|
dat: 0
|
||||||
hop_penalty: 60
|
hop_penalty: 60
|
||||||
|
radvd:
|
||||||
|
maxrtradvinterval: 900
|
||||||
|
advvalidlifetime: 864000
|
||||||
|
advpreferredlifetime: 172800
|
||||||
iface_mtu: 1350
|
iface_mtu: 1350
|
||||||
peers_mesh_repo: https://github.com/freifunk-mwu/peers-ffmz.git
|
peers_mesh_repo: https://github.com/freifunk-mwu/peers-ffmz.git
|
||||||
peers_intragate_repo: https://github.com/freifunk-mwu/ffmz-infrastructure-peers.git
|
peers_intragate_repo: https://github.com/freifunk-mwu/ffmz-infrastructure-peers.git
|
||||||
|
@ -68,6 +72,10 @@ meshes:
|
||||||
mm: 0
|
mm: 0
|
||||||
dat: 0
|
dat: 0
|
||||||
hop_penalty: 60
|
hop_penalty: 60
|
||||||
|
radvd:
|
||||||
|
maxrtradvinterval: 900
|
||||||
|
advvalidlifetime: 864000
|
||||||
|
advpreferredlifetime: 172800
|
||||||
iface_mtu: 1350
|
iface_mtu: 1350
|
||||||
peers_mesh_repo: https://github.com/freifunk-mwu/peers-ffwi.git
|
peers_mesh_repo: https://github.com/freifunk-mwu/peers-ffwi.git
|
||||||
peers_intragate_repo: https://github.com/freifunk-mwu/ffwi-infrastructure-peers.git
|
peers_intragate_repo: https://github.com/freifunk-mwu/ffwi-infrastructure-peers.git
|
||||||
|
|
|
@ -7,7 +7,7 @@ interface {{ mesh_id }}BR
|
||||||
{
|
{
|
||||||
AdvSendAdvert on;
|
AdvSendAdvert on;
|
||||||
IgnoreIfMissing on;
|
IgnoreIfMissing on;
|
||||||
MaxRtrAdvInterval 900;
|
MaxRtrAdvInterval {{ mesh_value.radvd.maxrtradvinterval }};
|
||||||
AdvLinkMTU {{ mesh_value.iface_mtu }};
|
AdvLinkMTU {{ mesh_value.iface_mtu }};
|
||||||
|
|
||||||
{% for ip_type, ip_list in mesh_value.ipv6.iteritems() %}
|
{% for ip_type, ip_list in mesh_value.ipv6.iteritems() %}
|
||||||
|
@ -29,8 +29,8 @@ interface {{ mesh_id }}BR
|
||||||
prefix {{ prefix | ipaddr('net') | ipsubnet(64, 0) | ipaddr('subnet') }}
|
prefix {{ prefix | ipaddr('net') | ipsubnet(64, 0) | ipaddr('subnet') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{
|
{
|
||||||
AdvValidLifetime 864000;
|
AdvValidLifetime {{ mesh_value.radvd.advvalidlifetime }};
|
||||||
AdvPreferredLifetime 172800;
|
AdvPreferredLifetime {{ mesh_value.radvd.advpreferredlifetime }};
|
||||||
};
|
};
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if not loop.last %}
|
{% if not loop.last %}
|
||||||
|
|
Loading…
Reference in a new issue