aristanetworks / avd

Arista Validated Designs
https://avd.arista.com
Apache License 2.0
251 stars 186 forks source link

Feat(eos_validate_state): Add support for ANTA v1.0.0 #4123

Closed carl-baillargeon closed 1 week ago

carl-baillargeon commented 1 week ago

Change Summary

Add support for ANTA v.1.0.0 and update the documentation.

Component(s) name

arista.avd.eos_validate_state ANTA Mode

Proposed changes

How to test

ansible-playbook playbooks/fabric-validate.yml -e use_anta=true

Checklist

Repository Checklist

github-actions[bot] commented 1 week ago

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-4123
# Activate the virtual environment
source test-avd-pr-4123/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/carl-baillargeon/avd.git@feat/anta_v1.0.0#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/carl-baillargeon/avd.git#/ansible_collections/arista/avd/,feat/anta_v1.0.0 --force
# Optional: Install AVD examples
cd test-avd-pr-4123
ansible-playbook arista.avd.install_examples