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): Configure evpn_ebgp_gateway_multihop for ipvpn_gateway EBGP peers #3205

Conversation

ClausHolbechArista
Copy link
Contributor

Change Summary

Configure evpn_ebgp_gateway_multihop for ipvpn_gateway EBGP peers

Related Issue(s)

Fixes #3181

Component(s) name

arista.avd.eos_designs

Proposed changes

  • Detect if an ipvpn_gateway peer is EBGP and set ebgp-multihop to value of evpn_ebgp_gateway_multihop.
  • Remove invalid check for ipvpn_gateway.local_as from regular MPLS peerings.
  • Remove wrongfully committed test file from molecule.
  • Add test coverage for both IBGP and EBGP cases for ipvpn_gateway.

How to test

Added new testcase and also validated updates to existing.

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)

@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 Oct 5, 2023
@ClausHolbechArista
Copy link
Contributor Author

@dgonzalez85 could you please test this one?

@dgonzalez85
Copy link

@dgonzalez85 could you please test this one?

hey @ClausHolbechArista. I am having issues, just double checking in case im missing something:

Im using your branch and i see your commit:

commit 7683416f2635aeeaecc88dfd5a7058d37abf8f6f (HEAD -> fix/eos_designs/ebgp-multihop-for-ipvpn-gateway, origin/fix/eos_designs/ebgp-multihop-for-ipvpn-gateway)
Author: Claus Holbech <holbech@arista.com>
Date:   Thu Oct 5 10:18:06 2023 +0200

    Fix(eos_designs): Configure evpn_ebgp_gateway_multihop for ipvpn_gateway for ebgp peers.

In the fabric file i set this:

evpn_ebgp_gateway_multihop: 5

But i still do not see the multihop set:

   neighbor IPVPN-GATEWAY-PEERS peer group
   neighbor IPVPN-GATEWAY-PEERS update-source Loopback0
   neighbor IPVPN-GATEWAY-PEERS bfd
   neighbor IPVPN-GATEWAY-PEERS send-community
   neighbor IPVPN-GATEWAY-PEERS maximum-routes 0

@ClausHolbechArista
Copy link
Contributor Author

But i still do not see the multihop set:

   neighbor IPVPN-GATEWAY-PEERS peer group
   neighbor IPVPN-GATEWAY-PEERS update-source Loopback0
   neighbor IPVPN-GATEWAY-PEERS bfd
   neighbor IPVPN-GATEWAY-PEERS send-community
   neighbor IPVPN-GATEWAY-PEERS maximum-routes 0

Check under the neighbor. We cannot set it on the peer group, since you could have a mix of IBGP and EBGP.

Copy link
Contributor

@emilarista emilarista left a comment

Choose a reason for hiding this comment

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

Tested feature and reviewed code, LGTM!

@dgonzalez85
Copy link

But i still do not see the multihop set:

   neighbor IPVPN-GATEWAY-PEERS peer group
   neighbor IPVPN-GATEWAY-PEERS update-source Loopback0
   neighbor IPVPN-GATEWAY-PEERS bfd
   neighbor IPVPN-GATEWAY-PEERS send-community
   neighbor IPVPN-GATEWAY-PEERS maximum-routes 0

Check under the neighbor. We cannot set it on the peer group, since you could have a mix of IBGP and EBGP.

no luck, i still do not see it there. happy to show you my example over a call if you have time. otherwise if other folks say its working, thats fine, might be something wrong in my example test!

@ClausHolbechArista ClausHolbechArista added this to the v4.4.0 milestone Oct 6, 2023
Copy link

@dgonzalez85 dgonzalez85 left a comment

Choose a reason for hiding this comment

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

Tested and looking good

@ClausHolbechArista ClausHolbechArista merged commit 5b79a7a into aristanetworks:devel Oct 6, 2023
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Fix(eos_designs) role: eos_designs issue related to eos_designs role state: CI Updated CI scenario have been updated in the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ebgp multihop not set for IPVPN
3 participants