forked from 9pfs/dn42-ansible
23 lines
433 B
Django/Jinja
23 lines
433 B
Django/Jinja
[Match]
|
|
Name=dn42{{ item['remotename'] }}
|
|
|
|
[Network]
|
|
DHCP=false
|
|
IPv6AcceptRA=false
|
|
IPv4Forwarding=true
|
|
IPv6Forwarding=true
|
|
KeepConfiguration=true
|
|
|
|
[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 %}
|