roles/rhel-network: Add static route support
This commit is contained in:
6
roles/rhel-network/templates/route6.j2
Normal file
6
roles/rhel-network/templates/route6.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
{% extends "route-base.j2" %}
|
||||
{% block routes %}
|
||||
{% for route in item.routes|d([]) if ':' in route.prefix %}
|
||||
{{ ip_route(route, item.ifname) }}
|
||||
{% endfor %}
|
||||
{% endblock routes %}
|
||||
Reference in New Issue
Block a user