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

Feat(eos_designs): Enforce unicity of region IDs and per-region site IDs for CV Pathfinder #4121

Merged

Conversation

gmuloc
Copy link
Contributor

@gmuloc gmuloc commented Jun 17, 2024

Change Summary

Leverage unique_keys introduced in #3725 as planned

Component(s) name

arista.avd.eos_designs

Proposed changes

CF schema fragment changes

How to test

Tested locally by triggering conflicting scenario (unique_keys work as expected)

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)

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-4121
# Activate the virtual environment
source test-avd-pr-4121/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/gmuloc/avd.git@unique-id-regions-and-sites#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/gmuloc/avd.git#/ansible_collections/arista/avd/,unique-id-regions-and-sites --force
# Optional: Install AVD examples
cd test-avd-pr-4121
ansible-playbook arista.avd.install_examples

@github-actions github-actions bot added the role: eos_designs issue related to eos_designs role label Jun 17, 2024
@gmuloc gmuloc added this to the v4.9.0 milestone Jun 17, 2024
@ClausHolbechArista ClausHolbechArista requested a review from a team June 17, 2024 12:40
@ClausHolbechArista ClausHolbechArista added the one approval This PR has one approval and is only missing one more. label Jun 17, 2024
@gmuloc gmuloc requested review from ayushmittal-arista and a team June 17, 2024 13:13
@github-actions github-actions bot added the state: conflict PR with conflict label Jun 18, 2024
Copy link

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

Copy link

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

@github-actions github-actions bot added state: conflict PR with conflict and removed state: conflict PR with conflict labels Jun 18, 2024
Copy link

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

Copy link

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

@github-actions github-actions bot added state: conflict PR with conflict and removed state: conflict PR with conflict role: eos_designs issue related to eos_designs role labels Jun 19, 2024
Copy link

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

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.

Functionality testing successful.
I don't see any documentation being updated, and I would have expected to see -> id: <int; 1-10000; required; unique>

@carlbuchmann
Copy link
Member

Functionality testing successful. I don't see any documentation being updated, and I would have expected to see -> id: <int; 1-10000; required; unique>

This is captured in the description.

@carlbuchmann carlbuchmann self-requested a review June 19, 2024 20:23
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 lab!

@ClausHolbechArista ClausHolbechArista merged commit 9f5fa9f into aristanetworks:devel Jun 20, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPIC - AVD AutoVPN/WAN one approval This PR has one approval and is only missing one more. rn: Feat(eos_designs)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants