fix: swos os discovery

This commit is contained in:
Tony Murray
2016-09-19 13:43:17 -05:00
parent b8d085202d
commit a7e9976f8f
2 changed files with 13 additions and 5 deletions

View File

@@ -187,6 +187,16 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
$this->checkOS('sophos', 'Linux g63c0044');
}
public function testSwos()
{
$mockSnmp = array(
'SNMPv2-MIB::sysName.0' => 'MicroTik'
);
$this->checkOS('swos', 'RB250GS', '', $mockSnmp);
$this->checkOS('swos', 'RB260GS', '', $mockSnmp);
$this->checkOS('swos', 'RB260GSP', '', $mockSnmp);
}
public function testUnifi()
{
$mockSnmp = array(