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)!: Do not render EVPN address-family on MPLS devices unless overlay_address_families includes evpn #4390

Conversation

ClausHolbechArista
Copy link
Contributor

@ClausHolbechArista ClausHolbechArista commented Aug 26, 2024

Change Summary

Do not render EVPN address-family on MPLS devices unless overlay_address_families includes evpn

Related Issue(s)

Fixes #4176

Component(s) name

arista.avd.eos_designs

Proposed changes

Check if overlay is EVPN + MPLS before configuring EVPN address family on MPLS nodes.

How to test

Existing example exposed the issue on both RR and PE.

Tested manually by adding overlay_address_families: [evpn, vpn-ipv4] on the RR and it added back the EVPN address family.

Checklist

User Checklist

  • N/A

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)

…unless `overlay_address_families` includes `evpn`
@ClausHolbechArista ClausHolbechArista requested review from a team as code owners August 26, 2024 10:49
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-4390
# Activate the virtual environment
source test-avd-pr-4390/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/ClausHolbechArista/avd.git@fix(eos_designs)--Fix-BGP-address-families-for-MPLS-RR#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)--Fix-BGP-address-families-for-MPLS-RR --force
# Optional: Install AVD examples
cd test-avd-pr-4390
ansible-playbook arista.avd.install_examples

@github-actions github-actions bot added the state: CI Updated CI scenario have been updated in the PR label Aug 26, 2024
@gmuloc gmuloc added the one approval This PR has one approval and is only missing one more. label Aug 27, 2024
@gmuloc gmuloc requested a review from a team August 27, 2024 07:51
@dgonzalez85
Copy link

Tested and all good now we do not render in RRs and the PEs the EVPN address family

Copy link

@ClausHolbechArista ClausHolbechArista merged commit ddb0a4b into aristanetworks:devel Aug 28, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
one approval This PR has one approval and is only missing one more. rn: Fix(eos_designs)! state: CI Updated CI scenario have been updated in the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MPLS ISIS-LDP configuration enables EVPN address family
3 participants