However, we accept that the user specifies multiple identical devices (same (host, port) tuple) with the different names, leading to inconsistent output:
--- ANTA NRFU Run Information ---
Number of devices: 6 (6 established)
Total number of selected tests: 738
Maximum number of open file descriptors for the current ANTA process: 16384
---------------------------------
Running ANTA tests completed in: 0:00:00.322.
Cache statistics for 'spine1': 168 hits / 228 command(s) (73.68%) <<<<<<<<<<<< all commands are run on the same device
Cache statistics for 'spine2': 0 hits / 0 command(s) (0.00%)
Cache statistics for 'leaf1a': 0 hits / 0 command(s) (0.00%)
Cache statistics for 'leaf1b': 0 hits / 0 command(s) (0.00%)
Cache statistics for 'leaf2a': 0 hits / 0 command(s) (0.00%)
Cache statistics for 'leaf2b': 0 hits / 0 command(s) (0.00%)
AntaDevice equality is based on (host, port) tuple (https://github.com/aristanetworks/anta/blob/main/anta/device.py#L302).
However, we accept that the user specifies multiple identical devices (same (host, port) tuple) with the different names, leading to inconsistent output:
Inventory:
Logs: