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 L2 uplink description #4532

Conversation

ClausHolbechArista
Copy link
Contributor

@ClausHolbechArista ClausHolbechArista commented Oct 1, 2024

Change Summary

Change L2 uplink description

Change Summary

Component(s) name

arista.avd.eos_designs

Proposed changes

  • Adding new default descriptions for L2 uplinks (port-channels and members)
  • Add templating support for all
  • Add keys with templates:
    • underlay_l2_ethernet_description
    • underlay_l2_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

github-actions bot commented Oct 1, 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-4532
# Activate the virtual environment
source test-avd-pr-4532/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/ClausHolbechArista/avd.git@refactor/eos_designs/l2-uplink-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/l2-uplink-descriptions --force
# Optional: Install AVD examples
cd test-avd-pr-4532
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 Oct 1, 2024
@ClausHolbechArista ClausHolbechArista force-pushed the refactor/eos_designs/l2-uplink-descriptions branch from ff19a1b to a703d70 Compare October 1, 2024 06:06
@ClausHolbechArista ClausHolbechArista marked this pull request as ready for review October 1, 2024 06:07
@ClausHolbechArista ClausHolbechArista added this to the v5.0.0 milestone Oct 1, 2024
Copy link

github-actions bot commented Oct 1, 2024

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

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

@gmuloc gmuloc left a comment

Choose a reason for hiding this comment

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

LGTM after CI complete (pre-commit needs to re run as I just fixed a typo in the schema)

@gmuloc gmuloc requested a review from a team October 1, 2024 13:53
@gmuloc gmuloc added the one approval This PR has one approval and is only missing one more. label Oct 1, 2024
@github-actions github-actions bot removed the state: conflict PR with conflict label Oct 1, 2024
Copy link

github-actions bot commented Oct 1, 2024

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

Copy link

sonarcloud bot commented Oct 1, 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 reverting back to 4.x syntax in local inventory.

@carlbuchmann carlbuchmann merged commit e287ff1 into aristanetworks:devel Oct 1, 2024
40 checks passed
@ClausHolbechArista ClausHolbechArista deleted the refactor/eos_designs/l2-uplink-descriptions branch October 23, 2024 05:58
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: 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.

3 participants