Feat(eos_cli_config_gen): Add support for disabling ipv4 unicast as the default mode for BGP
Enhancement summary
Add support for ip4v_unicast_default key under bgp.
bgp:
ip4v_unicast_default: < true | false | default -> true >
to control rendering:
router bgp 1
no bgp default ipv4-unicast
!
end
Which component of AVD is impacted
eos_cli_config_gen
Use case example
please detail your use case
Describe the solution you would like
Render the cli from a distinct key in the model.
Describe alternatives you have considered
This is currently supported with the the addition of a cli line under the bgp_defaults key.
Additional context
No response
Contributing Guide
- [X] I agree to follow this project's Code of Conduct
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days
This can be achieved with bgp_defaults
Add the command directly under this hood. Meanwhile I will add the feature.
Thanks!
Yes! I do that today to render the config, and it works great! The reason a key is valuable is that I don't have to walk the list to understand the intent of the configuration when trying to validate the configs.
Note that implementing this would need to add some modification in some of the BGP overlay logic where we explicitly disable some peer-groups in ipv4 address family which will be useless with this turned on.
This issue is stale because it has been open 90 days with no activity. The issue will be reviewed by a maintainer and may be closed
Closing this request because this is achieved through bgp_defaults key.
Will be addressed by https://github.com/aristanetworks/ansible-avd/pull/2799