-
Notifications
You must be signed in to change notification settings - Fork 236
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
Refactor(eos_validate_state): Keep only ANTA mode in eos_validate_state #4286
Refactor(eos_validate_state): Keep only ANTA mode in eos_validate_state #4286
Conversation
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-4286
# Activate the virtual environment
source test-avd-pr-4286/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/gmuloc/avd.git@remove-legacy-validate-state#subdirectory=python-avd" --force
# Point Ansible collections path to the Python virtual environment
export ANSIBLE_COLLECTIONS_PATH=$VIRTUAL_ENV/ansible_collections
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/gmuloc/avd.git#/ansible_collections/arista/avd/,remove-legacy-validate-state --force
# Optional: Install AVD examples
cd test-avd-pr-4286
ansible-playbook arista.avd.install_examples |
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. |
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, ran validate role on lab without setting use_anta: true
ansible_collections/arista/avd/roles/eos_validate_state/tasks/main.yml
Outdated
Show resolved
Hide resolved
...lections/arista/avd/molecule/eos_validate_state/reports/test_results/dc2-spine2-results.json
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. |
Co-authored-by: Claus Holbech <holbech@arista.com>
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. |
|
Change Summary
This PR removes the legacy Ansible mode for eos_validate_state and promotes the ANTA mode to be the only one
Component(s) name
arista.avd.eos_validate_state
Proposed changes
How to test
molecule test still works
Checklist
User Checklist
Repository Checklist