newdevice: Added support for Edgerouter devices #4936

This commit is contained in:
laf
2016-11-04 21:35:08 +00:00
parent 99e5970357
commit a70d7f7e7d
3 changed files with 4 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
$items = array(
'EdgeOS',
'EdgeRouter Lite',
'EdgeRouter',
);
if (starts_with($sysDescr, $items)) {

View File

@@ -471,6 +471,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
{
$this->checkOS('edgeos');
$this->checkOS('edgeos', 'edgeos-erl');
$this->checkOS('edgeos', 'edgeos-er');
}
public function testEdgeswitch()

View File

@@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|EdgeRouter
1.3.6.1.2.1.1.2.0|6|.1.3.6.1.4.1.41112.1.5