-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat(eos_cli_config_gen): Add support for setting the ASN notation #3678
Feat(eos_cli_config_gen): Add support for setting the ASN notation #3678
Conversation
..._collections/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/router-bgp-asdot.yml
Outdated
Show resolved
Hide resolved
Will re-use an existing test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you are adding a default value in the docs, you get this wide update of every molecule device doc. If you instead had an if arista.avd.defined
check before printing it, you could remove almost all the molecule updates.
I am good either way, so will approve.
Notice you will have to update molecule (again and again) every time we merge a PR, until this one is merged.
then lets merge quickly 😜 |
Change Summary
Add support for selecting ASN Notation
Related Issue(s)
Fixes #1832
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
This adds the following key to the
router_bgp
dict:as_notation: <asdot | asplain>
EOS by default is in asplain, and the documentation is updated to include either way (default, or explicitly set)
How to test
Created molecule test case
router-bgp-asdot
Checklist
User Checklist
Repository Checklist