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

Feat(eos_cli_config_gen): Support of route-target route-map for BGP VRFs #3222

Merged
merged 3 commits into from Oct 10, 2023

Conversation

mmaaloul
Copy link
Contributor

Change Summary

Adding the ability to configure, at BGP/VRF level, a route-map for import/export from/to VPN or EVPN table

Related Issue(s)

Fixes #3127

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

1/ Changed the router-bgp schema fragment
2/ Changed the associated Jinja2 template
PS: No change to template documentation as there is no section for VRF route-targets

How to test

1/ Modified molecule eos_cli_config_gen inventory host_vars "router-bgp-v4-v6-evpn.yml" by adding import + export route-map
2/ Confirmed the generated eos configuration is OK

User Checklist

  • N/A

Repository Checklist

  • [x ] My code has been rebased from devel before I start
  • [ x] I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • [ x] I have updated molecule CI testing accordingly. (check the box if not applicable)

@mmaaloul mmaaloul requested review from a team as code owners October 10, 2023 09:08
@github-actions github-actions bot added role: eos_cli_config_gen issue related to eos_cli_config_gen role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated labels Oct 10, 2023
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.

Thank you for this long overdue enhancement. You only cover VRFs. If it is not too much to ask, could you please check if the same is supported on EOS for VLANs and vlan-aware-bundles. If so, we should add it now to be consistent.
Note that for vlans and vlan-aware-bundles you also need to update the device documentation template. Just add the route-map to the list of exported/imported RTs like route-map <name>

@mmaaloul
Copy link
Contributor Author

As per my check, route-target route-map is only meant for VRFs, not for MAC-VRFs

@ClausHolbechArista ClausHolbechArista changed the title Feat(eos_cli_config_gen): Support of route-target route-map Feat(eos_cli_config_gen): Support of route-target route-map for BGP VRFs Oct 10, 2023
@ClausHolbechArista
Copy link
Contributor

As per my check, route-target route-map is only meant for VRFs, not for MAC-VRFs

Thank you for checking.

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. Thanks again for this contribution.

@ClausHolbechArista ClausHolbechArista requested a review from a team October 10, 2023 12:37
@gmuloc gmuloc merged commit aea312f into aristanetworks:devel Oct 10, 2023
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Feat(eos_cli_config_gen) role: eos_cli_config_gen issue related to eos_cli_config_gen role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support of route-target route-map
3 participants