summaryrefslogtreecommitdiff
path: root/data/templates/frr/policy.frr.j2
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2022-06-04 16:03:15 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2022-06-04 16:03:15 +0000
commit8ab854a6f6d44fe79b517722f5f45f37dd142408 (patch)
tree73c17fa33c52f3b91c954056ddd49462ed2af21f /data/templates/frr/policy.frr.j2
parentb9a26085b49397eb73e7110872b5c07015c911b4 (diff)
downloadvyos-1x-8ab854a6f6d44fe79b517722f5f45f37dd142408.tar.gz
vyos-1x-8ab854a6f6d44fe79b517722f5f45f37dd142408.zip
Policy: T3976-T4449-nexthop: add - match ipv6 nexthop type - as available for ipv4
Diffstat (limited to 'data/templates/frr/policy.frr.j2')
-rw-r--r--data/templates/frr/policy.frr.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/policy.frr.j2 b/data/templates/frr/policy.frr.j2
index 40ec0bb1e..33df17770 100644
--- a/data/templates/frr/policy.frr.j2
+++ b/data/templates/frr/policy.frr.j2
@@ -227,6 +227,9 @@ route-map {{ route_map }} {{ rule_config.action }} {{ rule }}
{% if rule_config.match.ipv6.nexthop.prefix_list is vyos_defined %}
match ipv6 next-hop prefix-list {{ rule_config.match.ipv6.nexthop.prefix_list }}
{% endif %}
+{% if rule_config.match.ipv6.nexthop.type is vyos_defined %}
+ match ipv6 next-hop type {{ rule_config.match.ipv6.nexthop.type }}
+{% endif %}
{% if rule_config.match.large_community.large_community_list is vyos_defined %}
match large-community {{ rule_config.match.large_community.large_community_list }}
{% endif %}