aristanetworks / avd

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

Refactor(plugins): Move jinja test code for arista.avd.contains to PyAVD #4131

Closed gmuloc closed 1 week ago

gmuloc commented 1 week ago

Change Summary

cf title

Component(s) name

plugins pyavd

Proposed changes

How to test

Molecule pass

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