Feat(eos_cli_config_gen): Avoid rendering duplicated CoPP ACLs for VRF default
#4717
Open
1 task done
Labels
type: enhancement
New feature or request
Enhancement summary
EOS
treats all lines with "missing VRF" andvrf default
the same way, with later command (without VRF or withvrf default
) overwriting all earlier-entered commands for the same IP version:Example:
We should only render one CoPP ACL per IP version for default VRF
Which component of AVD is impacted
eos_cli_config_gen
Use case example
N/A
Describe the solution you would like
One of the solutions may be to make
vrf
attribute of theipv4_access_groups[]
oripv6_access_groups[]
a mandatory requirement. Ifvrf
is not set - J2 should skip this item. If it's set todefault
- schema is already enforcing that only one item per IPv4 and IPv6 can have this value (effectively enforcing single ACL per IP version in Designed Config)Example:
Describe alternatives you have considered
N/A
Additional context
N/A
Contributing Guide
The text was updated successfully, but these errors were encountered: