generate_route_target¶
Note
Always use the FQCN (Fully Qualified Collection Name) arista.avd.generate_route_target when using this plugin.
Transforms short_esi 0303\:0202\:0101 to route-target format 03\:03\:02\:02\:01\:01
Synopsis¶
Removes \: and inserts new \: for each two characters.
Parameters¶
| Argument | Type | Required | Default | Value Restrictions | Description |
|---|---|---|---|---|---|
| _input | string | True | None | Short ESI value as per AVD definition in eos_designs. |
Examples¶
Return Values¶
| Name | Type | Description |
|---|---|---|
| _value | string | String based on route-target format like 03\:03\:02\:02\:01\:01 |
Authors¶
- Arista Ansible Team (@aristanetworks)