Closed Shivani-gslab closed 2 weeks 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-4099
# Activate the virtual environment
source test-avd-pr-4099/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/Shivani-gslab/avd.git@list_compress_filter_to_pyavd#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/Shivani-gslab/avd.git#/ansible_collections/arista/avd/,list_compress_filter_to_pyavd --force
# Optional: Install AVD examples
cd test-avd-pr-4099
ansible-playbook arista.avd.install_examples
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Change Summary
Move jinja filter code for arista.avd.list_compress to PyAVD
Related Issue(s)
Fixes #4098
Component(s) name
arista.avd.list_compress
Proposed changes
Moving the code and unit tests for arista.avd.list_compress filter to PyAVD
How to test
CI should catch things.
Checklist
Repository Checklist