2023-08-09 08:37:28 -04:00
|
|
|
[Match]
|
2023-08-10 07:29:39 -04:00
|
|
|
Name={{ item.name | regex_replace('^[0-9]*-', '') | regex_replace('\.network', '') }}
|
2023-08-09 08:37:28 -04:00
|
|
|
|
|
|
|
[Link]
|
2023-08-10 07:29:39 -04:00
|
|
|
ARP={{ item.arp | default(true) }}
|
2023-08-09 08:37:28 -04:00
|
|
|
|
|
|
|
[Network]
|
2023-08-10 07:29:39 -04:00
|
|
|
DHCP={{ item.dhcp | default(true) }}
|
|
|
|
LinkLocalAddressing=False
|
|
|
|
LLDP={{ item.lldp | default(true) }}
|
|
|
|
{% if item.vlans is defined -%}
|
|
|
|
{% for vlan in item.vlans -%}
|
|
|
|
VLAN={{ item.vlan }}
|
|
|
|
{% endfor -%}
|
|
|
|
{% endif -%}
|