11 lines
243 B
Django/Jinja
11 lines
243 B
Django/Jinja
[Match]
|
|
Name={{ item.name | regex_replace('^[0-9]*-', '') | regex_replace('\.netdev', '') }}
|
|
|
|
[Link]
|
|
ARP={{ item.arp | default(false) }}
|
|
|
|
[Network]
|
|
DHCP={{ item.dhcp | default(false) }}
|
|
LinkLocalAddressing=false
|
|
LLDP=true
|
|
VLAN={{ item.vlan }} |