2024-04-28 08:59:32 +00:00
|
|
|
{% for family, family_prefixes in vrf_prefixes | groupby('family.value') %}
|
|
|
|
{% for vlan, vlan_prefixes in family_prefixes | groupby('vlan.vid') %}
|
|
|
|
set {{ vlan_prefixes[0].vlan.name }}{% if family == 6 %}/6{% endif %} {
|
|
|
|
type ipv{{ family }}_addr; flags interval
|
|
|
|
elements = { {{ vlan_prefixes | map(attribute='prefix') | join(',') }} }
|
2024-01-30 11:35:33 +00:00
|
|
|
}
|
2024-04-28 08:59:32 +00:00
|
|
|
{% endfor %}
|
2024-01-30 11:35:33 +00:00
|
|
|
|
|
|
|
{% endfor %}
|