Merged changes for Zyxel ES and GS series switches under 'Zynos'.

This commit is contained in:
Dave Hope
2016-01-10 10:39:12 +00:00
parent 152c45bc36
commit 7fbdb5e440
4 changed files with 6 additions and 13 deletions

View File

@@ -0,0 +1,5 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.890') && preg_match('/^(ES|GS)/', $sysDescr))
$os = 'zynos';
}

View File

@@ -1,7 +0,0 @@
<?php
if (!$os) {
if (preg_match('/^ES-/', $sysDescr)) {
$os = 'zyxeles';
}
}

View File

@@ -1,5 +0,0 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.890.1.5.8.62') || strstr($sysObjectId, '.1.3.6.1.4.1.890.1.5.8.63'))
$os = "zyxeles";
}