aristanetworks / avd

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

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

Closed Vibhu-gslab closed 3 months ago

Vibhu-gslab commented 3 months ago

Change Summary

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

Related Issue(s)

Fixes #4100

Component(s) name

Filter

Proposed changes

How to test

Checklist

User Checklist

Repository Checklist

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

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

github-actions[bot] commented 3 months ago

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

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud