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

Include optional prefix entry for vvtep under leaf to redistribute #580

Merged
merged 1 commit into from
Jan 5, 2021
Merged

Conversation

onurgashi
Copy link
Contributor

Change Summary

Make sure we redistribute the Lo1 secondary IP for VVTEP.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Documentation content changes
  • Other (please describe):

Related Issue(s)

Fixes #564

Component(s) name

leaf-prefix-lists.j2

      20:
        action: "permit {{ vtep_loopback_network_summary }} eq 32"
{%     if vtep_vvtep_ip is defined and vtep_vvtep_ip is not none and leaf.evpn_services_l2_only == false %}
      30:
        action: "permit {{ vtep_vvtep_ip }}"
{%     endif %}

Proposed changes

How to test

Test case in virtual env

node_groups:
    DC1_LEAF1:
      evpn_services_l2_only: true
      bgp_as: 65101
      nodes:
        DC1-LEAF1A:
          id: 1
    DC1_LEAF2:
      bgp_as: 65102
      nodes:
        DC1-LEAF2A:
          id: 3

Results with and without:

LEAF1A

interface Loopback1
   description VTEP_VXLAN_Tunnel_Source
   no shutdown
   ip address 192.168.254.3/32

ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY
   seq 10 permit 192.168.255.0/24 eq 32
   seq 20 permit 192.168.254.0/24 eq 32
LEAF2A

interface Loopback1
   description VTEP_VXLAN_Tunnel_Source
   no shutdown
   ip address 192.168.254.5/32
   ip address 1.1.1.1/32 secondary

ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY
   seq 10 permit 192.168.255.0/24 eq 32
   seq 20 permit 192.168.254.0/24 eq 32
   seq 30 permit 1.1.1.1/32

Checklist:

  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed (pre-commit, make linting and make sanity-lint).
  • I have updated molecule CI testing accordingly

@onurgashi onurgashi added type: bug Something isn't working role: eos_l3ls_evpn issue related to eos_l3ls_evpn role labels Jan 4, 2021
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 8f246ec into aristanetworks:devel Jan 5, 2021
@onurgashi onurgashi mentioned this pull request Jan 6, 2021
@titom73 titom73 added this to the v2.0.0rc1 milestone Jan 21, 2021
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 this pull request may close these issues.

Include vvtep range for redistribution on l3leaf
3 participants