-
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
Feat(eos_designs): Enable evpn_gateway for pathfinder deployment #4831
base: devel
Are you sure you want to change the base?
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-4831
# Activate the virtual environment
source test-avd-pr-4831/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/aristanetworks/avd.git@evpngw_final#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/aristanetworks/avd.git#/ansible_collections/arista/avd/,evpngw_final --force
# Optional: Install AVD examples
cd test-avd-pr-4831
ansible-playbook arista.avd.install_examples |
b362187
to
6622361
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
6622361
to
7a95deb
Compare
# Enable gateway when evpn_gateway is enabled | ||
# - for ebgp | ||
# - for ibgp, currently supported only for pathfinder deployment. |
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.
can be moved to the docstring
@@ -9,7 +9,7 @@ | |||
from typing import TYPE_CHECKING | |||
|
|||
from pyavd._errors import AristaAvdError, AristaAvdInvalidInputsError | |||
from pyavd._utils import default | |||
from pyavd._utils import default, get |
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.
looks get is not needed in your change
@@ -309,6 +309,7 @@ ip extcommunity-list ECL-EVPN-SOO permit soo 192.168.255.1:0 | |||
! | |||
ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY | |||
seq 10 permit 192.168.255.0/24 eq 32 | |||
seq 20 permit 192.168.42.0/24 eq 32 |
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.
need to check this change
Change Summary
Allow configuring evpn_gateway on wan_router
Related Issue(s)
Fixes #
Component(s) name
arista.avd.eos_designs
Proposed changes
No changes to data model.
Code Changes:
We also additionally generate config on peer side of remote gateway.
How to test
molecule
Checklist
User Checklist
Repository Checklist