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

Improve Jinja2 templates for super-spines to avoid error in case of unusual config #552

Closed
ankudinov opened this issue Dec 29, 2020 · 0 comments · Fixed by #655
Closed
Assignees
Labels
role: eos_l3ls_evpn issue related to eos_l3ls_evpn role type: bug Something isn't working

Comments

@ankudinov
Copy link
Contributor

Issue Type

  • Bug Report

Summary

Currently eos_l3ls_evpn is reporting error when documentation is generated for super-spines with L2 links.
While L2 links are not required on super-spines, Jinja2 template filters must be improved to verify if data is valid.

Role or Module Name

eos_l3ls_evpn
for example: https://github.com/aristanetworks/ansible-avd/blob/devel/ansible_collections/arista/avd/roles/eos_l3ls_evpn/templates/documentation/dc-p2p-links.j2

Expected results

Ignore invalid data to avoid the error or (preferred) report inconsistencies.

@ankudinov ankudinov added type: bug Something isn't working role: eos_l3ls_evpn issue related to eos_l3ls_evpn role labels Dec 29, 2020
@xaviramon xaviramon self-assigned this Jan 14, 2021
xaviramon added a commit to xaviramon/ansible-avd that referenced this issue Jan 21, 2021
@titom73 titom73 linked a pull request Jan 26, 2021 that will close this issue
13 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
2 participants