|
|
|
|
|
|
|
|
for code convention reasons. Unfortunately 'routes' is also used in **kwargs when calling ip.build_routes |
|
|
for code convention reasons. Unfortunately 'routes' is also used in **kwargs when calling ip.build_routes |
|
|
in salt.states.network #} |
|
|
in salt.states.network #} |
|
|
{% for r in datamap.routes|default([]) %} |
|
|
{% for r in datamap.routes|default([]) %} |
|
|
{{ r.name }}: |
|
|
|
|
|
|
|
|
routes_{{ r.name }}: |
|
|
network.routes: |
|
|
network.routes: |
|
|
|
|
|
- name: {{ r.name }} |
|
|
- routes: |
|
|
- routes: |
|
|
{% for n in r.networks %} |
|
|
{% for n in r.networks %} |
|
|
- name: {{ n.name }} |
|
|
- name: {{ n.name }} |