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

endpoint_port_channel in interface_descriptions templates #5115

Open
1 task done
PieterL75 opened this issue Feb 27, 2025 · 0 comments
Open
1 task done

endpoint_port_channel in interface_descriptions templates #5115

PieterL75 opened this issue Feb 27, 2025 · 0 comments
Labels
type: enhancement New feature or request

Comments

@PieterL75
Copy link

Enhancement summary

I want to use the endpoint_port_channel variable from the adapters / endpoint_ports / port-channels in my interface J2 templates.
https://avd.arista.com/5.2/ansible_collections/arista/avd/roles/eos_designs/docs/input-variables.html#context-for-interface_descriptions-templates
shows that this variable is not there.

connected_endpoints_port_channel_interfaces:
{{ peer }}
{{ adapter_port_channel_id }}
{{ adapter_port_channel_description }}
{{ adapter_description }}
All group/hostvars

It should be in the AVD string formatter, but that is not something I can use for this.

Which component of AVD is impacted

eos_designs

Use case example

Use the endpoints/adapters/endpoint_ports/port-channels/endpoint_port_channel variable in the type/interface_descriptions/jinja2 templates

Describe the solution you would like

Expose that varialbe in the jinja2 engine

Describe alternatives you have considered

No response

Additional context

No response

Contributing Guide

  • I agree to follow this project's Code of Conduct
@PieterL75 PieterL75 added the type: enhancement New feature or request label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant