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

Refactor(eos_cli_config_gen): Improved redistribute data models under router_bgp #4550

Merged

Conversation

MaheshGSLAB
Copy link
Contributor

Change Summary

Changed the redistribute routes data model from list of dict(redistribute_routes) to dict of dict(redistribute).

Related Issue(s)

Fixes #

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Deprecating old redistribute_routes data model and adding new dict of dict redistribute data model

How to test

Run the molecule

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)

@MaheshGSLAB MaheshGSLAB added this to the v5.0.0 milestone Oct 4, 2024
@MaheshGSLAB MaheshGSLAB self-assigned this Oct 4, 2024
Copy link

github-actions bot commented Oct 4, 2024

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-4550
# Activate the virtual environment
source test-avd-pr-4550/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@redistribute-cli-gen#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/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,redistribute-cli-gen --force
# Optional: Install AVD examples
cd test-avd-pr-4550
ansible-playbook arista.avd.install_examples

@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 4, 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.

Please update the porting-guide as well.

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

github-actions bot commented Oct 4, 2024

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

@github-actions github-actions bot removed the state: conflict PR with conflict label Oct 7, 2024
Copy link

github-actions bot commented Oct 7, 2024

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

@MaheshGSLAB MaheshGSLAB marked this pull request as ready for review October 7, 2024 10:59
@MaheshGSLAB MaheshGSLAB requested review from a team as code owners October 7, 2024 10:59
@github-actions github-actions bot added the type: documentation Improvements or additions to documentation label Oct 8, 2024
Copy link
Contributor

@Shivani-gslab Shivani-gslab left a comment

Choose a reason for hiding this comment

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

LGTM

@ClausHolbechArista ClausHolbechArista changed the title Refactor(eos_cli_config_gen): Changed the redistribute routes data model Refactor(eos_cli_config_gen): Improved redistribute data models under router_bgp Oct 10, 2024
@ClausHolbechArista ClausHolbechArista dismissed Vibhu-gslab’s stale review October 10, 2024 08:50

requested changes have been implemented.

Copy link

@ClausHolbechArista ClausHolbechArista merged commit e8b9451 into aristanetworks:devel Oct 10, 2024
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Refactor(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 type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants