-
Notifications
You must be signed in to change notification settings - Fork 231
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: New anta_workflow plugin using PyAVD #4196
Draft
carl-baillargeon
wants to merge
41
commits into
aristanetworks:devel
Choose a base branch
from
carl-baillargeon:feat/move_anta_to_pyavd
base: devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Feat: New anta_workflow plugin using PyAVD #4196
carl-baillargeon
wants to merge
41
commits into
aristanetworks:devel
from
carl-baillargeon:feat/move_anta_to_pyavd
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Review docs on Read the Docs To test this pull request: # Create virtual environment for this testing below the current directory
python -m venv test-avd-pr-4196
# Activate the virtual environment
source test-avd-pr-4196/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/carl-baillargeon/avd.git@feat/move_anta_to_pyavd#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/carl-baillargeon/avd.git#/ansible_collections/arista/avd/,feat/move_anta_to_pyavd --force
# Optional: Install AVD examples
cd test-avd-pr-4196
ansible-playbook arista.avd.install_examples |
carl-baillargeon
force-pushed
the
feat/move_anta_to_pyavd
branch
2 times, most recently
from
August 13, 2024 18:18
8853a02
to
da57595
Compare
carl-baillargeon
changed the title
Feat: ANTA Integration to PyAVD
Feat: New anta_workflow plugin and anta_runner role to Ansible AVD collection using PyAVD
Aug 13, 2024
carl-baillargeon
force-pushed
the
feat/move_anta_to_pyavd
branch
from
August 17, 2024 14:59
da57595
to
7b8c139
Compare
Quality Gate passedIssues Measures |
carl-baillargeon
force-pushed
the
feat/move_anta_to_pyavd
branch
from
October 26, 2024 10:54
7b8c139
to
3e78cff
Compare
carl-baillargeon
changed the title
Feat: New anta_workflow plugin and anta_runner role to Ansible AVD collection using PyAVD
Feat: New anta_workflow plugin using PyAVD
Oct 31, 2024
for more information, see https://pre-commit.ci
github-actions
bot
added
the
state: CI Updated
CI scenario have been updated in the PR
label
Nov 25, 2024
carl-baillargeon
force-pushed
the
feat/move_anta_to_pyavd
branch
from
December 28, 2024 18:11
33e7fb2
to
e14b5d5
Compare
github-actions
bot
added
role: build_output_folders
issue related to build_output_folders role
state: Documentation role Updated
labels
Dec 30, 2024
github-actions
bot
added
the
type: documentation
Improvements or additions to documentation
label
Dec 31, 2024
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
role: build_output_folders
issue related to build_output_folders role
state: CI Updated
CI scenario have been updated in the PR
state: Documentation role Updated
type: documentation
Improvements or additions to documentation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Summary
anta_workflow
Ansible action pluginget_device_anta_catalog
function in PyAVD to generate the ANTA catalogsget_fabric_data
function in PyAVD to generate the fabric mappings used to generate the catalogsRequirements
NEEDS ANTA v1.3.0
On ANTA:
On AVD:
Component(s) name
PyAVD
Proposed changes
Example playbook for anta_runner role:
Example playbook for anta_workflow plugin:
To-do list
anta.reporter.csv_reporter
andanta.reporter.md_reporter
. We should also be able to filter statuses (from plugin arguments) usingResultManager.filter()
VerifyAVTRole
4e20dbfVerifyMlagStatus
VerifyRoutingProtocolModel
4e20dbfVerifyAPIHttpsSSL
VerifySpecificIPSecConn
4e20dbfVerifyStunClient
4e20dbfVerifyNTP
4e20dbfVerifyReloadCause
4e20dbfvalidate_state: false
configuration 4e20dbfaccepted_pwr_supply_states
is not yet implemented in the AVD structured config schemaaccepted_fan_states
is not yet implemented in the AVD structured config schemaaccepted_xcvr_manufacturers
is not yet implemented in the AVD structured config schemaFabricData
to add DPS mappings 4e20dbfanta_runner
) that will run the action pluginanta_workflows
- Similar tocv_deploy
&cv_workflows
18d98beanta_workflow
plugin documentation underplugins.modules
anta_runner
roleSome tests don't require any inputs, in that case we just update PYAVD_TEST_INDEX
Phase 2: Add all ANTA tests 🥇