Closed mmaaloul closed 9 months ago
Thanks @mmaaloul for raising this issue. We will treat this as a bug fix since the order does matter:
From EOS documentation: You can enter this command up to four times to identify multiple TACACS servers. The controller tries to connect to each server in the order in which they are configured.
Enhancement summary
AFAIK, EOS is not sorting tacacs server IPs in config: they are listed according the order they are configured with. On the other hand, AVD is sorting (use of arista.avd.natural_sort filter). This creates an unnecessary diff when I use CVPRAC function "validate_configlets_for_device"
Which component of AVD is impacted
eos_cli_config_gen
Use case example
1/ Running config:
2/ AVD generated config:
3/ The validation of AVD generated config against the running one using CVPRAC "validate_configlets_for_device":
As interpreted by my code:
Describe the solution you would like
Remove the sorting filter in tacacs-servers.j2 template from the following line:
It will be up to the customer to define the order...
Describe alternatives you have considered
No response
Additional context
No response
Contributing Guide