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

evpn_ethernet_segment configuration for esi and rt for port-channels #1702

Closed
1 task done
philippebureau opened this issue Apr 8, 2022 · 2 comments · Fixed by #1780
Closed
1 task done

evpn_ethernet_segment configuration for esi and rt for port-channels #1702

philippebureau opened this issue Apr 8, 2022 · 2 comments · Fixed by #1780
Labels
data model change Change to existing data model role: eos_cli_config_gen issue related to eos_cli_config_gen role

Comments

@philippebureau
Copy link
Contributor

Issue Summary

evpn segment esi and rt configuration are at the port-channel root configuration indentation and not under evpn_ethernet_segment where it should be.

image

https://www.avd.sh/en/latest/roles/eos_cli_config_gen/index.html#port-channel-interfaces

The configuration is generated properly for EOS but the structure of the configuration does not make sense

For ethernet interface configuration, the configuration structure is correct
image

Also both structure should use the same syntax. it is currently esi & rt for port-channels and identifier & route_target for ethernet

Which component(s) of AVD impacted

eos_cli_config_gen

How do you run AVD ?

Ansible CLI (with virtual-env or native python)

Steps to reproduce

No response

Relevant log output

No response

Contributing Guide

  • I agree to follow this project's Code of Conduct
@philippebureau philippebureau added the type: bug Something isn't working label Apr 8, 2022
@ClausHolbechArista
Copy link
Contributor

Agreed. The esi and rt vars are historic, and was added before the evpn_ethernet_segment keys was there. We cannot do breaking changes to the data-models outside of major releases, so we can not remove the old keys before AVD 4.0.
I would not consider this a bug, but an enhancement to the datamodel, to make it simpler to consume.
For now we can add new keys under evpn_ethernet_segment, and default back to the old keys, to avoid breaking changes. Then we can deprecate the old keys in 4.0.

@carlbuchmann carlbuchmann added data model change Change to existing data model role: eos_cli_config_gen issue related to eos_cli_config_gen role and removed type: bug Something isn't working labels Apr 11, 2022
@philippebureau
Copy link
Contributor Author

Makes total sense. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data model change Change to existing data model role: eos_cli_config_gen issue related to eos_cli_config_gen role
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants