Skip to content

Conversation

@alexeygorbunov
Copy link
Contributor

@alexeygorbunov alexeygorbunov commented Oct 9, 2025

! Needs 5965 to be merged first !

Change Summary

Make as_path_acl (as-path access-list-based route-map) the default option to suppress advertisements of the EVPN BGP Routes which contain an AS of the destination peer in their AS PATH attribute

Related Issue(s)

Fixes #5692

Component(s) name

arista.avd.eos_designs

Proposed changes

Make as_path_acl the default option

How to test

eos_designs_unit_tests molecule scenario

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)

@github-actions
Copy link

github-actions bot commented Oct 9, 2025

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-5992
# Activate the virtual environment
source test-avd-pr-5992/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/alexeygorbunov/avd.git@avd-issue-5962-make-as-path-acl-default#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/alexeygorbunov/avd.git#/ansible_collections/arista/avd/,avd-issue-5962-make-as-path-acl-default --force
# Optional: Install AVD examples
cd test-avd-pr-5992
ansible-playbook arista.avd.install_examples

@github-actions github-actions bot added state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated role: eos_designs issue related to eos_designs role labels Oct 9, 2025
@alexeygorbunov alexeygorbunov changed the title Feat(eos_designs): Make as_path_acl default mode for evpn_prevent_readvertise_to_server Feat(eos_designs): WIP! Make as_path_acl default mode for evpn_prevent_readvertise_to_server Oct 9, 2025
!
ip as-path access-list AS65101 permit _65101_ any
ip as-path access-list AS65110.100 permit _65110.100_ any
ip as-path access-list AS65111.100 permit _65111.100_ any
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Regex needs to be addressed to escape . with \ in case of asdot ASN format

@github-actions github-actions bot added the state: conflict PR with conflict label Oct 15, 2025
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

1 similar comment
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@alexeygorbunov alexeygorbunov force-pushed the avd-issue-5962-make-as-path-acl-default branch from eb4cc48 to 3a8a678 Compare October 29, 2025 23:54
@github-actions
Copy link

Conflicts have been resolved. A maintainer will review the pull request shortly.

@github-actions github-actions bot removed the state: conflict PR with conflict label Oct 29, 2025
@alexeygorbunov alexeygorbunov changed the title Feat(eos_designs): WIP! Make as_path_acl default mode for evpn_prevent_readvertise_to_server Feat(eos_designs): Make as_path_acl default mode for evpn_prevent_readvertise_to_server Oct 29, 2025
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

role: eos_designs issue related to eos_designs role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants