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

L2 leaf uplinks with LAG without MLAG #543

Closed
ksator opened this issue Dec 27, 2020 · 0 comments · Fixed by #544
Closed

L2 leaf uplinks with LAG without MLAG #543

ksator opened this issue Dec 27, 2020 · 0 comments · Fixed by #544
Assignees
Labels
role: eos_l3ls_evpn issue related to eos_l3ls_evpn role type: bug Something isn't working

Comments

@ksator
Copy link
Contributor

ksator commented Dec 27, 2020

Issue Type

  • Bug Report

Summary

Currently L2 leaves are always deployed by 2 with mlag.

Role or Module Name

role eos_l3ls_evpn

root cause is https://github.com/aristanetworks/ansible-avd/blob/devel/ansible_collections/arista/avd/roles/eos_l3ls_evpn/templates/evpn-fabric-l2leaf-yml.j2#L261

this template always uses mlag https://github.com/aristanetworks/ansible-avd/blob/devel/ansible_collections/arista/avd/roles/eos_l3ls_evpn/templates/l3leaf_l2leafs_uplinks/l2leaf-port-channel-uplinks.j2

Steps to reproduce

l2leaf:
  defaults:
    platform: vEOS-LAB
    # Parent L3 switches (list)
    parent_l3leafs: [ DC1-LEAF1A, DC1-LEAF1B ]
    # Uplink interfaces (list), interface located on L2 Leaf,
    uplink_interfaces: [ Ethernet1, Ethernet2 ]
    mlag: false
    # MLAG interfaces (list)
    # mlag_interfaces: [ Ethernet7, Ethernet8 ]
  node_groups:
    DC1_L2LEAF1:
      parent_l3leafs: [ DC1-LEAF1A, DC1-LEAF1B ]
      nodes:
        DC1-L2LEAF1A:
          id: 5
          mgmt_ip: 10.73.1.117/24
          l3leaf_interfaces: [ Ethernet3, Ethernet3 ]
    DC1_L2LEAF2:
      parent_l3leafs: [ DC1-LEAF1A, DC1-LEAF1B ]
      filter:
        tenants: [ Tenant_A ]
        tags: [ app, web ]
      nodes:
        DC1-L2LEAF2A:
          id: 7
          mgmt_ip: 10.73.1.118/24
          l3leaf_interfaces: [ Ethernet4, Ethernet4 ]

Expected results

interface Port-Channel1
   description DC1-LEAF1A_Po3
   switchport trunk allowed vlan 110-112,120-121,140-141,150,310-311,350,400-402
   switchport mode trunk

Actual results

interface Port-Channel1
   description DC1-LEAF1A_Po3
   switchport trunk allowed vlan 110-112,120-121,140-141,150,310-311,350,400-402
   switchport mode trunk
   mlag 1
!
@ksator ksator self-assigned this Dec 27, 2020
@ksator ksator added role: eos_l3ls_evpn issue related to eos_l3ls_evpn role type: bug Something isn't working labels Dec 27, 2020
@ksator ksator linked a pull request Dec 28, 2020 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
role: eos_l3ls_evpn issue related to eos_l3ls_evpn role type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant