You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% if os10_static_route is defined and os10_static_route %}
{% for staticroute in os10_static_route.routes %}
{% if staticroute.route is defined and staticroute.route %}
{% if staticroute.state is defined and staticroute.state == "absent" %}
no ip route {{ staticroute.route }} {{ staticroute.gateway }}
{% else %}
ip route {{ staticroute.route }} {{ staticroute.gateway }}
{% endif %}
{% endif %}
{% for vrfstaticroute in os10_static_route.vrf.routes %}
{% if vrfstaticroute.route is defined and vrfstaticroute.route %}
{% if vrfstaticroute.state is defined and vrfstaticroute.state == "absent" %}
no ip route vrf {{ os10_static_route.vrf.name }} {{ vrfstaticroute.route }} {{ vrfstaticroute.gateway }}
{% else %}
ip route vrf {{ os10_static_route.vrf.name }} {{ vrfstaticroute.route }} {{ vrfstaticroute.gateway }}
{% endif %}
{% endif %}
{% endfor %}
Could you please create something like this
The text was updated successfully, but these errors were encountered:
We are really wanting to have a role for static route's.
e.g.
Could you please create something like this
The text was updated successfully, but these errors were encountered: