diff options
author | fett0 <50275740+fett0@users.noreply.github.com> | 2022-05-31 01:46:07 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 06:46:07 +0200 |
commit | 0e32faf6db96262b0a6376b54be033b4b72477f2 (patch) | |
tree | fd1be7c11c2cd31330e46b65b8a20bb14a9cb6e3 /data/templates | |
parent | e771eab37de6841b4c3b9d98e8f974dacde34075 (diff) | |
download | vyos-1x-0e32faf6db96262b0a6376b54be033b4b72477f2.tar.gz vyos-1x-0e32faf6db96262b0a6376b54be033b4b72477f2.zip |
IPv6: T3976: add prefix-list and access-list option from ipv6 route-map
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/frr/policy.frr.j2 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/data/templates/frr/policy.frr.j2 b/data/templates/frr/policy.frr.j2 index 9326cdf03..40ec0bb1e 100644 --- a/data/templates/frr/policy.frr.j2 +++ b/data/templates/frr/policy.frr.j2 @@ -218,8 +218,14 @@ route-map {{ route_map }} {{ rule_config.action }} {{ rule }} {% if rule_config.match.ipv6.address.prefix_len is vyos_defined %} match ipv6 address prefix-len {{ rule_config.match.ipv6.address.prefix_len }} {% endif %} -{% if rule_config.match.ipv6.nexthop is vyos_defined %} - match ipv6 next-hop address {{ rule_config.match.ipv6.nexthop }} +{% if rule_config.match.ipv6.nexthop.address is vyos_defined %} + match ipv6 next-hop address {{ rule_config.match.ipv6.nexthop.address }} +{% endif %} +{% if rule_config.match.ipv6.nexthop.access_list is vyos_defined %} + match ipv6 next-hop {{ rule_config.match.ipv6.nexthop.access_list }} +{% endif %} +{% 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.large_community.large_community_list is vyos_defined %} match large-community {{ rule_config.match.large_community.large_community_list }} |