Files
librenms-librenms/includes/definitions
519fc00367 Change ESXi port naming to be stable (#14639)
* Change ESXi port naming to be stable

Currently every time discovery runs against ESXi, the port names change generating a lot of log spam.

This is because ESXi uses this as the ifDescr:
```Device vmnic1000202 at 01:00.0 nmlx4_en```

The poller parses this, and extracts the interface name, whereas discovery does not, causing the interface names to flip every 6 hours.
https://github.com/librenms/librenms/blob/22.10.0/includes/polling/ports.inc.php#L578-L580

This change gives the discovery process the same behaviour, so the naming is now stable.

* Try to fix test data with a squash

* vcsa test data

* Synthesise VCSA ifName, use it in place of ifDescr

* Refresh test data

* Update ports.inc.php

---------

Co-authored-by: Tony Murray <[email protected]>
2023-04-16 12:58:38 -05:00
..
2022-01-16 18:27:27 +01:00
2022-01-29 21:10:45 -06:00
2022-01-29 21:10:45 -06:00
2020-06-25 14:50:40 -05:00
2021-09-01 19:01:41 -05:00
2021-06-21 10:13:40 +02:00
2021-09-01 19:01:41 -05:00
2022-08-10 09:07:31 -05:00
2020-11-23 15:35:35 -06:00
2022-01-10 08:30:18 -06:00
2021-10-06 07:50:16 -05:00
2021-05-31 00:15:24 +02:00
2023-03-04 19:00:31 +01:00
2021-08-01 22:00:21 -05:00
2020-11-23 15:35:35 -06:00
2021-08-06 01:36:05 -05:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2020-09-23 18:23:57 +02:00
2020-11-23 15:35:35 -06:00
2021-06-21 10:13:40 +02:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2022-11-24 17:34:27 +01:00
2021-06-12 00:05:22 +02:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2022-10-06 20:24:37 +02:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2021-08-03 22:35:49 +02:00
2021-09-15 17:44:36 +02:00
2021-01-21 03:53:01 +01:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2021-08-06 01:36:05 -05:00
2023-04-07 13:01:30 -05:00
2020-11-23 15:35:35 -06:00
2022-08-12 19:50:08 +02:00
2020-11-23 15:35:35 -06:00
2021-05-13 13:29:07 -05:00
2022-01-09 18:55:02 -06:00
2021-02-02 16:12:41 +01:00
2020-11-23 15:35:35 -06:00
2021-07-16 11:12:50 +02:00
2022-04-15 08:08:00 -05:00
2022-02-24 23:51:35 +01:00
2022-01-29 14:52:05 +01:00
2022-03-17 15:18:52 +01:00
2020-11-23 15:35:35 -06:00
2020-11-23 15:35:35 -06:00
2022-04-07 20:49:03 -05:00