aristanetworks / avd

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

Refactor(plugins): Move jinja filter code for arista.avd.range_expand to PyAVD #4138

Closed laxmikantchintakindi closed 1 week ago

laxmikantchintakindi commented 1 week ago

Change Summary

Move jinja filter code for arista.avd.range_expand to PyAVD

Related Issue(s)

Fixes #4137

Component(s) name

arista.avd.range_expand

Proposed changes

Moving the code and unit tests for arista.avd.range_expand filter to PyAVD

How to test

Checklist

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

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 week ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] commented 1 week ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 week ago

Conflicts have been resolved. A maintainer will review the pull request shortly.