-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cut(eos_designs): Remove automatic conversion of dict-of-dicts to lists #4321
Cut(eos_designs): Remove automatic conversion of dict-of-dicts to lists #4321
Conversation
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-4321
# Activate the virtual environment
source test-avd-pr-4321/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/ClausHolbechArista/avd.git@cut/eos_designs/convert-dicts#subdirectory=python-avd" --force
# Point Ansible collections path to the Python virtual environment
export ANSIBLE_COLLECTIONS_PATH=$VIRTUAL_ENV/ansible_collections
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/ClausHolbechArista/avd.git#/ansible_collections/arista/avd/,cut/eos_designs/convert-dicts --force
# Optional: Install AVD examples
cd test-avd-pr-4321
ansible-playbook arista.avd.install_examples |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
5ca175d
to
bc9cddf
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
bc9cddf
to
dbb5c65
Compare
...ions/arista/avd/molecule/eos_designs_deprecated_vars/inventory/host_vars/host2/node_type.yml
Show resolved
Hide resolved
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
dbb5c65
to
e8d2850
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Change Summary
Remove automatic conversion of dict-of-dicts to lists
Component(s) name
arista.avd.eos_designs
arista.avd.dhcp_provisioner
Proposed changes
convert_types: [ dict ]
from schemaconvert_dicts()
calls from Python code| arista.avd.convert_dicts
from eos_designs fabric documentation templates since it is reading eos_designs models.| arista.avd.convert_dicts
from dhcp_provisioner template since it is reading eos_designs models.How to test
Molecule scenarios should only use the new models so no impact.
Deprecated vars tests are being cleaned up.
Manually tested deprecated vars after cleaning up schema:
Checklist
User Checklist
Repository Checklist