-
Couldn't load subscription status.
- Fork 257
Feat(eos_designs): Make as_path_acl default mode for evpn_prevent_readvertise_to_server #5992
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
base: devel
Are you sure you want to change the base?
Feat(eos_designs): Make as_path_acl default mode for evpn_prevent_readvertise_to_server #5992
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-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 |
| ! | ||
| 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 |
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.
Regex needs to be addressed to escape . with \ in case of asdot ASN format
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
1 similar comment
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
for more information, see https://pre-commit.ci
eb4cc48 to
3a8a678
Compare
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
|



! Needs 5965 to be merged first !
Change Summary
Make
as_path_acl(as-path access-list-basedroute-map) the default option to suppress advertisements of the EVPN BGP Routes which contain an AS of the destination peer in their AS PATH attributeRelated Issue(s)
Fixes #5692
Component(s) name
arista.avd.eos_designsProposed changes
Make
as_path_aclthe default optionHow to test
eos_designs_unit_testsmolecule scenarioChecklist
User Checklist
Repository Checklist