25 lines
671 B
Django/Jinja
25 lines
671 B
Django/Jinja
[Match]
|
|
Name=dn42{{ item['remotename'] }}
|
|
|
|
[Network]
|
|
DHCP=false
|
|
IPv6AcceptRA=false
|
|
IPv4Forwarding=true
|
|
IPv6Forwarding=true
|
|
KeepConfiguration=true
|
|
IPv4ReversePathFilter=no
|
|
Description=DN42 peering with AS{{ item.asn }} @ {% if item.remotehost is defined %}{{ item.remotehost }}[{{ item.remoteip }}]:{{ item.remoteport }}{% else %}[{{ item.remoteip }}]:{{ item.remoteport }}{% endif %}
|
|
|
|
[Address]
|
|
{% if item['llv6'] is defined %}
|
|
Address={{ item['llv6'] }}/128
|
|
{% else %}
|
|
Address={{ llv6 }}/128
|
|
{% endif %}
|
|
Peer={{ item['remote_llv6'] }}/128
|
|
|
|
[Address]
|
|
Address={{ unicastv4 }}/32
|
|
{% if item['remote_unicastv4'] is defined %}
|
|
Peer={{ item['remote_unicastv4'] }}
|
|
{% endif %}
|