1 2 3 4 5 6 7 8 9 10
! {% if vrf is vyos_defined and route_map is vyos_defined %} vrf {{ vrf }} ipv6 protocol {{ protocol }} route-map {{ route_map }} exit-vrf ! {% elif route_map is vyos_defined %} ipv6 protocol {{ protocol }} route-map {{ route_map }} {% endif %} !