summaryrefslogtreecommitdiff
path: root/data/templates/frr/static_mcast.frr.j2
blob: 491d4b54a10f7d5b4bac890cd49e5187765cb547 (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 %}
!