aristanetworks / avd

Arista Validated Designs
https://avd.arista.com
Apache License 2.0
290 stars 209 forks source link

Fix(eos_designs): VLAN for iBGP peering in overlay VRFs is created when evpn_services_l2_only:true #1646

Closed UchihaItachiSama closed 2 years ago

UchihaItachiSama commented 2 years ago

Issue Summary

When using evpn_services_l2_only:true for l2only l3leaf nodes, no VRF and SVI's are created as expected.

However, l2vlan for iBGP peering is also getting created.

!
vlan 3009
   name MLAG_iBGP_Tenant_A_OP_Zone
   trunk group LEAF_PEER_L3
!

We should also be checking for network_services_l3:false under vlans.j2

Which component(s) of AVD impacted

eos_designs

How do you run AVD ?

Ansible CLI (with virtual-env or native python)

Steps to reproduce

Set `evpn_services_l2_only:true` for l2only l3leaf nodes.

Relevant log output

No response

Contributing Guide

ClausHolbechArista commented 2 years ago

@UchihaItachiSama we have a release coming up on Friday. It would be nice to get this fix included, so let me know if you need a hand to get this done before.

UchihaItachiSama commented 2 years ago

Hey Claus, sure would be happy to get some extra help on this one. I'll get started on this tomorrow morning.