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 -%}
|
2023-08-14 08:27:29 -04:00
|
|
|
VLAN=vlan{{ vlan }}
|
|
|
|
{% endfor -%}
|
|
|
|
|
|
|
|
[BridgeVLAN]
|
|
|
|
{% for vlan in item.vlans -%}
|
2023-08-12 06:19:07 -04:00
|
|
|
VLAN={{ vlan }}
|
2023-08-10 07:29:39 -04:00
|
|
|
{% endfor -%}
|
|
|
|
{% endif -%}
|