Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion netsim/ansible/templates/routing/_route_policy_junos.j2
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ policy-options {
{# if entry contains a prefix, we must add different (term) entries for ipv4 and ipv6 #}
{# as per juniper documentation: Prefixes specified in a from statement must be either all IPv4 addresses or all IPv6 addresses. #}
{% if 'prefix' in p_entry.match|default({}) %}
{% for match_af in ['ipv4', 'ipv6'] %}
{% for match_af in af if match_af in ['ipv4', 'ipv6'] %}
term seq{{seq}}_{{match_af}} {
{{ common_route_map_entry(p_entry,match_af) }}
{{ common_route_map_action(p_entry) }}
Expand Down