Skip to content

generate_lacp_id

Note

Always use the FQCN (Fully Qualified Collection Name) arista.avd.generate_lacp_id when using this plugin.

Transforms short_esi 0303:0202:0101 to LACP ID format 0303.0202.0101

Synopsis

Replaces : with .

Parameters

Argument Type Required Default Value Restrictions Description
_input string True None Short ESI value as per AVD definition in eos_designs.

Examples

---
lacp_id: "{{ short_esi | arista.avd.generate_lacp_id }}"

Return Values

Name Type Description
_value string String based on LACP ID format like 0303.0202.0101

Authors

  • Arista Ansible Team (@aristanetworks)