Added support for Quanta switches with vxworks

This commit is contained in:
laf
2015-11-20 04:00:06 +00:00
parent f511e04dea
commit 91409ef149
5 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.4413')) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.4413') && !stristr($sysDescr, 'vxworks')) {
$os = 'edgeswitch';
}
}
+6
View File
@@ -0,0 +1,6 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.4413') && stristr($sysDescr, 'vxworks')) {
$os = 'quanta';
}
}