summaryrefslogtreecommitdiff
path: root/data/templates/frr/vrf.frr.tmpl
blob: 299c9719ee9ce4e25eaa41dc4d201232bc5038f4 (plain)
1
2
3
4
5
6
7
8
9
{% if name is defined and name is not none %}
{%   for vrf, vrf_config in name.items() %}
vrf {{ vrf }}
{%     if vrf_config.vni is defined and vrf_config.vni is not none %}
 vni {{ vrf_config.vni }}
{%     endif %}
 exit-vrf
{%   endfor %}
{% endif %}