Details
Description
Attached patch will improve hardware detection for Huawei VRP devices.
I've removed the following as it's quite specific for AR devices and deprecated in newer versions, while the value from the sysDescr will give a more accurate description of the model.
$hardware = trim(snmp_get($device, ".1.3.6.1.4.1.2011.2.33.20.1.1.1.3.0", "-OQv"),'"');
|
Supported Huawei devices: S switches, CloudEngine switches and AR routers