Skip to content
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)!: Remove eBGP LAN outbound route-map for WAN #4107

Merged
merged 3 commits into from
Jun 14, 2024

Conversation

gmuloc
Copy link
Contributor

@gmuloc gmuloc commented Jun 12, 2024

Change Summary

The shipped eBGP LAN feature for WAN routers is not working for connected and static redistributed routes inside a VRF as the route-map would not match these routes. Similarly the routes coming from an eBGP peering in any VRF (including default) would be blocked out by the RM-BGP-UNDERLAY-PEERS-OUT route-map.

This PR is a breaking change to fix this situation.

Related Issue(s)

Discovered while working on #3720 and following review comments, separated in its own PR in order to be able to communicate with clarity about the breaking change.

Component(s) name

arista.avd.eos_design

Proposed changes

  • Removing the outbound route-map for eBGP LAN peers on WAN routers
  • Editing doc
  • Adding limitation for eBGP peering in network_services received routes in VRF default that would not be advertised to the WAN.

How to test

molecule + test on existing lab

Checklist

Repository Checklist

  • My code has been rebased from devel before I start
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • I have updated molecule CI testing accordingly. (check the box if not applicable)

@gmuloc gmuloc requested review from a team as code owners June 12, 2024 09:42
Copy link

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-4107
# Activate the virtual environment
source test-avd-pr-4107/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/gmuloc/avd.git@breaking-ebgp-wan-ha#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/gmuloc/avd.git#/ansible_collections/arista/avd/,breaking-ebgp-wan-ha --force
# Optional: Install AVD examples
cd test-avd-pr-4107
ansible-playbook arista.avd.install_examples

Copy link
Contributor

@ClausHolbechArista ClausHolbechArista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we are breaking the experimental HA behavior with this. But we have the real HA PR incoming so that is fine for me.

@ClausHolbechArista ClausHolbechArista added the one approval This PR has one approval and is only missing one more. label Jun 12, 2024
Copy link
Member

@carlbuchmann carlbuchmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add a comment in the release notes about this breaking change.

@github-actions github-actions bot added the type: documentation Improvements or additions to documentation label Jun 14, 2024
Copy link
Contributor

@ClausHolbechArista ClausHolbechArista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two minor comments to the release-notes

Co-authored-by: Claus Holbech <holbech@arista.com>
Copy link

sonarcloud bot commented Jun 14, 2024

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@gmuloc gmuloc requested a review from carlbuchmann June 14, 2024 09:40
Copy link
Member

@carlbuchmann carlbuchmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@carlbuchmann carlbuchmann merged commit ac52d78 into aristanetworks:devel Jun 14, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPIC - AVD AutoVPN/WAN one approval This PR has one approval and is only missing one more. rn: Fix(eos_designs)! role: eos_designs issue related to eos_designs role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants