-
Notifications
You must be signed in to change notification settings - Fork 212
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_validate_state): ANTA New action plugin to generate the reports #3352
Feat(eos_validate_state): ANTA New action plugin to generate the reports #3352
Conversation
...ections/arista/avd/molecule/eos_validate_state/intended/test_catalogs/dc1-leaf1a-catalog.yml
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/action/eos_validate_state_reports.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/action/eos_validate_state_runner.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/action/eos_validate_state_reports.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/action/eos_validate_state_reports.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/action/eos_validate_state_reports.py
Outdated
Show resolved
Hide resolved
Conflicts have been resolved. A maintainer will review the pull request shortly. |
ansible_collections/arista/avd/plugins/modules/eos_validate_state_reports.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/plugin_utils/eos_validate_state_utils/contants.py
Outdated
Show resolved
Hide resolved
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
To summarize most of @JulioPDX's comments in the PR - the auto generated doc for module where we are using |
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 - validated in lab
Change Summary
New action plugin to generate the reports from the ANTA test results.
Related Issue(s)
#3304
Component(s) name
arista.avd.eos_validate_state
ANTA ModeProposed changes
eos_validate_state_reports.py
is the action plugin.The current
eos_validate_state_runner
will now save the results into a JSON file per host in thetest_results_dir
directory. The report plugin will load all results from all play hosts, process them and gather statistics.ResultsManager
class is responsible of storing the results and statistics and will be consumed byCSVReport
andMDReport
classes to generate the CSV and MD reports.only_failed_tests
can still be used to only write the failed tests in the reports.validation_report_csv
andvalidation_report_md
can be set to false to avoid report generation and only run the tests.How to test
Checklist
User Checklist
Repository Checklist