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

Fix(eos_designs): Raise again on conflicting ethernet interfaces under point-to-point services #5058

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from

Conversation

gmuloc
Copy link
Contributor

@gmuloc gmuloc commented Feb 18, 2025

Change Summary

This was missed in #4976

Component(s) name

arista.avd.eos_designs

Proposed changes

Add back the check historically implemented in append_if_not_duplicate(ignore_same_dict=False) which does not exist in new classes

How to test

molecule should catch it - no more structured_config for negative unit tests

Checklist

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)

@gmuloc gmuloc requested review from a team as code owners February 18, 2025 14:17
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-5058
# Activate the virtual environment
source test-avd-pr-5058/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/gmuloc/avd.git@fix-network-service-ethernet-interfaces#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/gmuloc/avd.git#/ansible_collections/arista/avd/,fix-network-service-ethernet-interfaces --force
# Optional: Install AVD examples
cd test-avd-pr-5058
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 Feb 18, 2025
@ClausHolbechArista ClausHolbechArista changed the title Fix: Raise again on conflicting ethernet interfaces under point-to-point Fix(eos_designs): Raise again on conflicting ethernet interfaces under point-to-point Feb 18, 2025
@ClausHolbechArista ClausHolbechArista changed the title Fix(eos_designs): Raise again on conflicting ethernet interfaces under point-to-point Fix(eos_designs): Raise again on conflicting ethernet interfaces under point-to-point services Feb 18, 2025
@ClausHolbechArista ClausHolbechArista requested a review from a team February 19, 2025 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: CI Updated CI scenario have been updated in the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants