newdevice: Added additional detection for Cisco WAP 321 #5172 (#5248)

This commit is contained in:
Neil Lathwood
2016-12-28 23:07:30 +00:00
committed by Søren Rosiak
parent c8a77fb73e
commit 2fa4a0b792
3 changed files with 7 additions and 0 deletions

View File

@@ -3,3 +3,7 @@
if (str_contains($sysDescr, 'Cisco Small Business WAP')) {
$os = 'ciscowap';
}
if (starts_with($sysObjectId, '.1.3.6.1.4.1.9.6.1.32.321.1')) {
$os = 'ciscowap';
}

View File

@@ -349,6 +349,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
public function testCiscowap()
{
$this->checkOS('ciscowap');
$this->checkOS('ciscowap', 'ciscowap-wap321');
}
public function testCiscowlc()

View File

@@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|Linux 2.6.21.5-lvl7-dev, Cisco Systems, Inc WAP321 (WAP321-E-K9), Version 1.0.6.2 Mon Jun 29 03:48:37 EDT 2015
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.9.6.1.32.321.1