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): Extend the functionality of the is_deployed flag to shutdown BGP peerings. #3916

Merged

Conversation

laxmikantchintakindi
Copy link
Contributor

@laxmikantchintakindi laxmikantchintakindi commented Apr 26, 2024

Change Summary

Having BGP peers in a state other than active, causes monitoring issues, and breaks CVP tests. If hosts are intentionally not deployed, then the BGP peerings should be shutdown.

Related Issue(s)

Fixes #3604

Component(s) name

arista.avd.eos_designs

Proposed changes

Add dict element shutdown: true to neighbors if peer_is_deployed is false.

How to test

Set is_deployed to false for router and check the bgp configuration on the peers.

Checklist

User 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)

@github-actions github-actions bot added state: CI Updated CI scenario have been updated in the PR role: eos_designs issue related to eos_designs role labels Apr 26, 2024
@laxmikantchintakindi laxmikantchintakindi marked this pull request as ready for review April 29, 2024 09:38
@laxmikantchintakindi laxmikantchintakindi marked this pull request as draft April 29, 2024 12:14
@laxmikantchintakindi laxmikantchintakindi marked this pull request as ready for review April 29, 2024 19:24
@laxmikantchintakindi laxmikantchintakindi marked this pull request as draft April 30, 2024 05:52
@laxmikantchintakindi laxmikantchintakindi marked this pull request as ready for review April 30, 2024 06:40
…a_fragments/shutdown_bgp_towards_undeployed_peers.schema.yml

Co-authored-by: Shivani-gslab <145646625+Shivani-gslab@users.noreply.github.com>
@laxmikantchintakindi laxmikantchintakindi marked this pull request as draft May 2, 2024 04:45
@laxmikantchintakindi laxmikantchintakindi marked this pull request as ready for review May 2, 2024 12:59
@laxmikantchintakindi laxmikantchintakindi marked this pull request as draft May 3, 2024 11:25
@Shivani-gslab Shivani-gslab marked this pull request as ready for review May 8, 2024 13:31
Copy link
Contributor

@MaheshGSLAB MaheshGSLAB left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ClausHolbechArista ClausHolbechArista left a comment

Choose a reason for hiding this comment

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

LGTM

@ClausHolbechArista ClausHolbechArista merged commit b07f357 into aristanetworks:devel May 10, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Feat(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
Projects
None yet
5 participants