-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
JunOS routing templates is generating inconsistent prefix list names wrt usage in policy.
I think this has never been raised as error in integration tests because there the af top level host var always contains both ipv4 and ipv6.
Prefix lists are generated for all the topology address families (af var),
| {% for pf_af in af %} |
while policy-statement blindly tries to always use both
| {% for match_af in ['ipv4', 'ipv6'] %} |
and this results in a configuration error in case only a single AF is enabled.
i.e.,
module_stderr: 'b''error: Policy error: ag_aggregate-ipv6 route-filter-list referenced (in term seq10_ipv6) but not defined\nerror: configuration check-out failed'''
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working