Testing VyOS support

This commit is contained in:
Paul Gear
2014-11-22 17:47:32 +10:00
parent 62532e652f
commit 198cf9ac08
5 changed files with 30 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
<?php
list($features, $version) = explode("-", trim(str_replace("VyOS", "", snmp_get($device, "SNMPv2-MIB::sysDescr.0", "-Oqv", "SNMPv2-MIB"))), 2);
?>