mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* newdevice: Updated zxr10 device support #4380 * Space :(
This commit is contained in:
committed by
Tony Murray
parent
7ff35ca6ef
commit
66bc0a7826
@@ -4,4 +4,7 @@ if (!$os) {
|
||||
if (preg_match('/^ZXR10/', $sysDescr)) {
|
||||
$os = 'zxr10';
|
||||
}
|
||||
if (str_contains($sysDescr, "ZTE Ethernet Switch")) {
|
||||
$os = 'zxr10';
|
||||
}
|
||||
}
|
||||
|
@@ -182,4 +182,9 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
|
||||
);
|
||||
$this->checkOS('unifi', 'Linux', '.1.3.6.1.4.1.10002.1', $mockSnmp);
|
||||
}
|
||||
|
||||
public function testZxr10()
|
||||
{
|
||||
$this->checkOS('zxr10', 'ZTE Ethernet Switch ZXR10 5250-52TM-H, Version: V2.05.11B23');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user