-
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
Fix(eos_validate_state): Fix the VerifyLLDPNeighbors test to skip in case validate_state is set to False #4679
Fix(eos_validate_state): Fix the VerifyLLDPNeighbors test to skip in case validate_state is set to False #4679
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-4679
# Activate the virtual environment
source test-avd-pr-4679/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@issue-4675-bug#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/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,issue-4675-bug --force
# Optional: Install AVD examples
cd test-avd-pr-4679
ansible-playbook arista.avd.install_examples |
@bjmeuer can you please test this fix? Thanks! |
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.
@MaheshGSLAB probably need to update some doc /schema description for the key as well
@ClausHolbechArista |
@gmuloc Updated the same. |
Quality Gate passedIssues Measures |
Change Summary
Fix the VerifyLLDPNeighbors test to skip in case validate_state is set to False.
Related Issue(s)
Partial fix of #4675. Addressing the bug.
Component(s) name
arista.avd.eos_validate_state
Proposed changes
Added the logic to skip the VerifyLLDPNeighbors in case validate_state is set to False.
How to test
Set validate_state as false in connected endpoint and it should skip the VerifyLLDPNeighbors tests for those interfaces.
Checklist
User Checklist
Repository Checklist