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.encrypt and arista.avd.decrypt to PyAVD #4135

Closed MaheshGSLAB closed 1 week ago

MaheshGSLAB commented 1 week ago

Change Summary

Move jinja filter code for arista.avd.encrypt and arista.avd.decrypt to PyAVD

Related Issue(s)

Fixes #

Component(s) name

arista.avd.<role-name>

Proposed changes

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

How to test

Run the molecules or CI will catch the changes

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