Skip to content

[BUG] JunOS inconsistency in routing policy and prefix lists #2612

@ssasso

Description

@ssasso

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),

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'''

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions