-
Notifications
You must be signed in to change notification settings - Fork 228
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
Fix(eos_cli_config_gen)!: update logic in monitor_sessions to not require both source and destination #3823
Fix(eos_cli_config_gen)!: update logic in monitor_sessions to not require both source and destination #3823
Conversation
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
db61420
to
70a72a3
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
1 similar comment
Conflicts have been resolved. A maintainer will review the pull request shortly. |
As discussed on chat with @ClausHolbechArista, this PR could trigger some changes for existing deployment with only source pr destination that will suddenly start to generate config (hence a "breaking change"). I would be in favor of: |
..._collections/arista/avd/roles/eos_cli_config_gen/templates/documentation/monitor-sessions.j2
Outdated
Show resolved
Hide resolved
629171c
to
fb11dc2
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.
LGTM
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
@carlbuchmann I think this one should be marked as breaking right? ( |
Quality Gate passedIssues Measures |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
@carlbuchmann we need to add something in the release notes for the change of behavior for 5.x.x |
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.
blocking until release notes are updated and conflict resolved
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Co-authored-by: Claus Holbech <[email protected]>
Quality Gate passedIssues Measures |
Change Summary
Monitor-session templates expect both keys monitor_session.sources is arista.avd.defined and monitor_session.destinations to be defined before generating any config but this is not required in EOS, so relaxing this check and requirement.
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
Update logic and optimize tests in template.
Update indentation.
Updated eos_designs_unit test case where monitor session is configured without destination, and now we see configuration being generated.
How to test
All Molecule tests should pass!