-
Notifications
You must be signed in to change notification settings - Fork 219
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): Enable or disable specific snmp-server traps #1294
Conversation
This also fixes #1231 Can I also enable all but disable specific traps? |
@c-po, as per your description in #1231, there are some breaking changes. So I made up this model. Please check this molecule example: https://github.com/aristanetworks/ansible-avd/pull/1294/files#diff-503d0c73eb3ff86d35c8d52d8d880568c8ba3779505cda381363abbc83dfa8c6 When we say enable all it will enable everything by default and can't disable specific traps. So the keyword The molecule example will give you a better idea. |
ansible_collections/arista/avd/roles/eos_cli_config_gen/README.md
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/eos_cli_config_gen/README.md
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/eos_cli_config_gen/README.md
Outdated
Show resolved
Hide resolved
5dfd514
to
0df8739
Compare
This new model should enable/disable any traps or all traps. |
...ble_collections/arista/avd/roles/eos_cli_config_gen/templates/documentation/snmp-settings.j2
Outdated
Show resolved
Hide resolved
24f3883
to
197c4e3
Compare
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.
Check changes to protect wrong use and we can discuss about SNMP trap as a whole.
ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/eos/snmp-settings.j2
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/eos/snmp-settings.j2
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/eos/snmp-settings.j2
Show resolved
Hide resolved
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.
LGTM
Change Summary
This feature supports to enable specific snmp-server traps
Related Issue(s)
Fixes #1152
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
Old data model:
New model:
How to test
New molecule test snmp-server-traps was added.
Repository Checklist