-
Notifications
You must be signed in to change notification settings - Fork 220
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
Fix(eos_designs): Add redistribute connected under BGP for VRF default if no underlay #4522
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-4522
# Activate the virtual environment
source test-avd-pr-4522/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/ClausHolbechArista/avd.git@fix/eos_designs/redistribute-connected-in-bgp-vrf-default-from-network-services#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/,fix/eos_designs/redistribute-connected-in-bgp-vrf-default-from-network-services --force
# Optional: Install AVD examples
cd test-avd-pr-4522
ansible-playbook arista.avd.install_examples |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…gp-vrf-default-from-network-services
Conflicts have been resolved. A maintainer will review the pull request shortly. |
…gp-vrf-default-from-network-services
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
@carlbuchmann I don't think this will apply to 4.x since we did not support the corner case we hit here. It is part of the new BGP behavior when not using overlays. |
…gp-vrf-default-from-network-services
python-avd/pyavd/_eos_designs/structured_config/network_services/router_bgp.py
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/structured_config/network_services/router_bgp.py
Outdated
Show resolved
Hide resolved
…es/router_bgp.py Co-authored-by: Guillaume Mulocher <gmulocher@arista.com>
Quality Gate passedIssues Measures |
Change Summary
Add redistribute connected under BGP for VRF default if no underlay
Component(s) name
arista.avd.eos_designs
Proposed changes
In the corner case where we build BGP config for VRF default as part of network services (but not for underlay/overlay), we were missing "redistribute connected".
There will be a PR later to provide control for redistribute connected.
How to test
Existing molecule exposed the issue and show the fix.
Checklist
User Checklist
Repository Checklist