Closed mmaaloul closed 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-4122
# Activate the virtual environment
source test-avd-pr-4122/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/mmaaloul/ansible-avd.git@fix_issue_3941#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/mmaaloul/ansible-avd.git#/ansible_collections/arista/avd/,fix_issue_3941 --force
# Optional: Install AVD examples
cd test-avd-pr-4122
ansible-playbook arista.avd.install_examples
This pull request has conflicts, please resolve those before we can evaluate the pull request.
We have moved a lot of things around in the code base these last few days, so I will rebase this one for you.
Conflicts have been resolved. A maintainer will review the pull request shortly.
Change Summary
Adding the support of default route originate per VRF for address families EVPN and VPN-IPV4/VPN-IPV6
Related Issue(s)
Fixes #3941
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
Changes under schema fragment
router_bgp
:vrfs
items, adding a list of dict nameddefault_route_export
address_family_evpn/peer_groups
items, adding a dict nameddefault_route
. Same foraddress_family_vpn_ipv4
andaddress_family_vpn_ipv6
How to test
Tested locally for 1 address family (evpn) using the 4 different flavours (default, using
always
, usingroute-map
and usingrcf
)Checklist
Repository Checklist