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

Feat(eos_cli_config_gen): Add route_map_in/out for router_bgp.address_family_evpn.neighbors[] #4625

Merged

Conversation

laxmikantchintakindi
Copy link
Contributor

@laxmikantchintakindi laxmikantchintakindi commented Oct 22, 2024

Change Summary

Add route_map_in/out for router_bgp.address_family_evpn.neighbors[]

Related Issue(s)

Fixes #4458

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Add support for route-map in or out per bgp neighbor under router_bgp.address_family_evpn:

router_bgp:

  address_family_evpn:
    neighbors:
      - ip_address: <str; required; unique>
        activate: <bool>

        # Inbound route-map name.
        route_map_in: <str>

        # Outbound route-map name.
        route_map_out: <str>

How to test

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 github-actions bot added role: eos_cli_config_gen issue related to eos_cli_config_gen role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated labels Oct 22, 2024
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-4625
# Activate the virtual environment
source test-avd-pr-4625/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/laxmikantchintakindi/avd.git@feat/route-map-af-evpn#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/laxmikantchintakindi/avd.git#/ansible_collections/arista/avd/,feat/route-map-af-evpn --force
# Optional: Install AVD examples
cd test-avd-pr-4625
ansible-playbook arista.avd.install_examples

Copy link

sonarcloud bot commented Oct 22, 2024

@Shivani-gslab Shivani-gslab marked this pull request as ready for review October 23, 2024 11:37
@Shivani-gslab Shivani-gslab requested review from a team as code owners October 23, 2024 11:37
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.

Blocking until 5.0 is out

@ClausHolbechArista ClausHolbechArista dismissed their stale review October 28, 2024 08:12

5.0 is out so this can be reviewed and merged

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

sonarcloud bot commented Oct 29, 2024

@gmuloc gmuloc merged commit a4783f5 into aristanetworks:devel Oct 29, 2024
45 checks passed
@kmueller68
Copy link
Contributor

Thank you very much for implementing it. 👍

gmuloc pushed a commit to gmuloc/avd that referenced this pull request Oct 29, 2024
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: Feat(eos_cli_config_gen) role: eos_cli_config_gen issue related to eos_cli_config_gen 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.

Feat (eos_cli_config_gen): Add support for route-map in|out under router bgp address-family evpn
6 participants