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 %}