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.status_render to PyAVD #4142

Closed Shivani-gslab closed 1 week ago

Shivani-gslab commented 1 week ago

Change Summary

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

Related Issue(s)

Fixes #

Component(s) name

Filter

Proposed changes

Move jinja filter code and tests for arista.avd.status_render 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-4142
# Activate the virtual environment
source test-avd-pr-4142/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/Shivani-gslab/avd.git@markdown_rendering#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/Shivani-gslab/avd.git#/ansible_collections/arista/avd/,markdown_rendering --force
# Optional: Install AVD examples
cd test-avd-pr-4142
ansible-playbook arista.avd.install_examples