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): Duplicate neighbor_interfaces in rfc5549 design when multiple uplinks to the same Spine #3054

Merged
merged 9 commits into from
Jul 24, 2023

Conversation

gmuloc
Copy link
Contributor

@gmuloc gmuloc commented Jul 21, 2023

Change Summary

The change is to make sure that the facts do not return multiple time the same peer in the 'avd_topology_peers'

Related Issue(s)

Fixes #3053

Component(s) name

arista.avd.eos_designs

Proposed changes

In the facts module, when generating the uplink_peers, used to render the 'avd_topology_peers' variable used in eos_designs modules, make sure that each peer name is unique.

How to test

First commit breaks in molecule
Second commit fixes

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 July 21, 2023 07:09
@github-actions github-actions bot added the state: CI Updated CI scenario have been updated in the PR label Jul 21, 2023
Copy link
Contributor

@bjmeuer bjmeuer left a comment

Choose a reason for hiding this comment

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

This works for my AVD setup with multiple uplinks and rfc5549

@ClausHolbechArista ClausHolbechArista added this to the v4.2.0 milestone Jul 24, 2023
@carlbuchmann carlbuchmann self-requested a review July 24, 2023 23:44
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

@carlbuchmann carlbuchmann merged commit eb7782a into aristanetworks:devel Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Fix(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.

Duplicate BGP neighbor interfaces with rfc5549 and multiple uplinks
4 participants