-
Notifications
You must be signed in to change notification settings - Fork 231
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
Refactor(eos_cli_config_gen): Improved redistribute data models under router_bgp #4550
Refactor(eos_cli_config_gen): Improved redistribute data models under router_bgp #4550
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-4550
# Activate the virtual environment
source test-avd-pr-4550/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@redistribute-cli-gen#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/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,redistribute-cli-gen --force
# Optional: Install AVD examples
cd test-avd-pr-4550
ansible-playbook arista.avd.install_examples |
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.
Please update the porting-guide as well.
...sta/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-vrf-address-families.md
Outdated
Show resolved
Hide resolved
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2
Outdated
Show resolved
Hide resolved
..._collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-evpn.md
Outdated
Show resolved
Hide resolved
...sta/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-vrf-address-families.md
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2
Outdated
Show resolved
Hide resolved
...sta/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-vrf-address-families.md
Show resolved
Hide resolved
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
requested changes have been implemented.
Quality Gate passedIssues Measures |
Change Summary
Changed the redistribute routes data model from list of dict(redistribute_routes) to dict of dict(redistribute).
Related Issue(s)
Fixes #
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
Deprecating old redistribute_routes data model and adding new dict of dict redistribute data model
How to test
Run the molecule
Checklist
User Checklist
Repository Checklist