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_designs): Changed the redistribute_routes data model #4544

Merged

Conversation

MaheshGSLAB
Copy link
Contributor

Change Summary

Changed the redistribute_routes data model. Eerier it was list of redistribute protocols and now its dict or redistribute protocols

Related Issue(s)

Fixes #

Component(s) name

arista.avd.eos_designs

Proposed changes

Changed the redistribute_routes data model to new one(redistribute).

How to test

Run molecule and see the changes in structure config.

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 self-assigned this Oct 3, 2024
Copy link

github-actions bot commented Oct 3, 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-4544
# Activate the virtual environment
source test-avd-pr-4544/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@redistribute_eos_designs#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_eos_designs --force
# Optional: Install AVD examples
cd test-avd-pr-4544
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 Oct 3, 2024
@gmuloc gmuloc added this to the v5.0.0 milestone Oct 3, 2024
@github-actions github-actions bot added the state: conflict PR with conflict label Oct 10, 2024
Copy link

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 10, 2024
Copy link

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

@MaheshGSLAB MaheshGSLAB changed the title Refactor(eos_designs): Changed the redistribute_routes data model(WIP) Refactor(eos_designs): Changed the redistribute_routes data model Oct 10, 2024
@laxmikantchintakindi

This comment was marked as resolved.

@MaheshGSLAB MaheshGSLAB marked this pull request as ready for review October 10, 2024 12:59
@MaheshGSLAB MaheshGSLAB requested review from a team as code owners October 10, 2024 12:59
Copy link
Contributor

@Vibhu-gslab Vibhu-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!

Copy link

sonarcloud bot commented Oct 11, 2024

@ClausHolbechArista ClausHolbechArista merged commit 2345a90 into aristanetworks:devel Oct 11, 2024
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Refactor(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.

5 participants