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

prefix_lists are rendered at the wrong level by eos_desings role #3348

Closed
1 task done
tosha25 opened this issue Nov 15, 2023 · 1 comment · Fixed by #3358
Closed
1 task done

prefix_lists are rendered at the wrong level by eos_desings role #3348

tosha25 opened this issue Nov 15, 2023 · 1 comment · Fixed by #3358
Assignees
Labels
state: accepted Issue is part of the development roadmap type: bug Something isn't working

Comments

@tosha25
Copy link

tosha25 commented Nov 15, 2023

Issue Summary

AVD would render prefix-lists directly under specific VRF configuration stanza when they are specified inside network services -> bgp_peers settings. Arista EOS does not accept prefix-lists for all address families. Instead, prefix-lists need to be specified under specific address family such as ipv4 or ipv6 unicast. The screenshot below shows where AVD would render prefix-lists with red arrows pointing to the wrong location, and green arrow pointing where it is supposed to be.

image

Which component(s) of AVD impacted

eos_designs

How do you run AVD ?

Ansible CLI (with virtual-env or native python)

Steps to reproduce

This is an example of YML settings, which should reproduce the problem. This should be inside network settings for a VRF:

---
VGPDMZz11003_VRF:
  name: VGPDMZz11003
  # vrf_id: 3
  description: DMZ_VRF
  vrf_vni: 11003
  bgp_peers:
    - ip_address: 214.70.15.100
      peer_group: SDWAN-VP01-VP02
      remote_as: 4200066012
      route_map_out: ndpn-velo-vp-out
      prefix_list_out: DO-NOT-ADV-HOST-ROUTES
      nodes: [ EST1-BL-0001, EST1-BL-0002 ]
    - ip_address: 214.70.15.101
      peer_group: SDWAN-VP01-VP02
      remote_as: 4200066013
      route_map_out: ndpn-velo-vp-out
      prefix_list_out: DO-NOT-ADV-HOST-ROUTES
      nodes: [ EST1-BL-0001, EST1-BL-0002 ]

Relevant log output

There will not be any indication from AVD if there is anything wrong with the generated configuration. However, you will see messages on the devices or CVP server that it can't accept prefix-list statements at all address families level if you attempt to paste configuration to a device, or apply it via CVP.

Contributing Guide

  • I agree to follow this project's Code of Conduct
@tosha25 tosha25 added the type: bug Something isn't working label Nov 15, 2023
@ClausHolbechArista ClausHolbechArista self-assigned this Nov 17, 2023
@ClausHolbechArista
Copy link
Contributor

@tosha25 thank you for reporting this. I will look into getting this fixed asap.

@ClausHolbechArista ClausHolbechArista added state: in-progress Currently work in progress state: accepted Issue is part of the development roadmap and removed state: in-progress Currently work in progress labels Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: accepted Issue is part of the development roadmap type: bug Something isn't working
Projects
None yet
2 participants