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)!: Change L3 P2P descriptions for uplinks and p2p_links #4520

Conversation

ClausHolbechArista
Copy link
Contributor

@ClausHolbechArista ClausHolbechArista commented Sep 26, 2024

Change Summary

Change L3 P2P descriptions for uplinks and p2p_links

Component(s) name

arista.avd.eos_designs

Proposed changes

  • Adding new default descriptions for MLAG SVIs and VLANs
  • Add templating support for all
  • Add keys with default templates:
    • default_underlay_p2p_ethernet_description
    • default_underlay_p2p_port_channel_description
  • Updated porting guide

How to test

  • Update molecule scenarios and examples
  • Verified no changes for scenarios with custom description logic in unit tests

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)

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

@github-actions github-actions bot added type: documentation Improvements or additions to documentation 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 Sep 26, 2024
@github-actions github-actions bot added the state: conflict PR with conflict label Sep 26, 2024
Copy link

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

@ClausHolbechArista ClausHolbechArista force-pushed the refactor/eos_designs/l3-p2p-descriptions branch from 73d1388 to e5fc6cb Compare September 26, 2024 13:41
@github-actions github-actions bot removed the state: conflict PR with conflict label Sep 26, 2024
Copy link

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

@ClausHolbechArista ClausHolbechArista force-pushed the refactor/eos_designs/l3-p2p-descriptions branch from e5fc6cb to b534e2c Compare September 27, 2024 11:08
@ClausHolbechArista ClausHolbechArista marked this pull request as ready for review September 27, 2024 11:08
carlbuchmann and others added 2 commits September 30, 2024 10:26
Co-authored-by: Guillaume Mulocher <gmulocher@arista.com>
Copy link

sonarcloud bot commented Sep 30, 2024

Copy link
Member

@carlbuchmann carlbuchmann left a comment

Choose a reason for hiding this comment

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

LGTM - tested in local inventory and reverting to 4.x values.

@carlbuchmann carlbuchmann requested a review from a team September 30, 2024 15:04
Copy link
Contributor

@marcusmcpeek marcusmcpeek left a comment

Choose a reason for hiding this comment

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

LGTM - I tested changing the p2p description to something custom and also a dci interface to something custom. I also verified reverting to previous descriptions worked by following the porting guide. I did not have port-channels for uplinks in my repository, so I did not test that.

@carlbuchmann carlbuchmann merged commit e66076b into aristanetworks:devel Sep 30, 2024
40 checks passed
@ClausHolbechArista ClausHolbechArista deleted the refactor/eos_designs/l3-p2p-descriptions branch October 23, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Refactor(eos_designs)! role: eos_designs issue related to eos_designs 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.

4 participants