summaryrefslogtreecommitdiff
path: root/data/templates/frr-mcast/static_mcast.frr.tmpl
blob: 86d619ab051b3d2e6cacee1905bbf73f0018bbf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
!
{% for route_gr in old_mroute -%}
{% for nh in old_mroute[route_gr] -%}
{% if old_mroute[route_gr][nh] -%}
no ip mroute {{ route_gr }} {{ nh }} {{ old_mroute[route_gr][nh] }}
{% else -%}
no ip mroute {{ route_gr }} {{ nh }}
{% endif -%}
{% endfor -%}
{% endfor -%}
{% for route_gr in mroute -%}
{% for nh in mroute[route_gr] -%}
{% if mroute[route_gr][nh] -%}
ip mroute {{ route_gr }} {{ nh }} {{ mroute[route_gr][nh] }}
{% else -%}
ip mroute {{ route_gr }} {{ nh }}
{% endif -%}
{% endfor -%}
{% endfor -%}
!