A class for performing SNMP V2 queries on MRV devices

Specifically written for the LX-40xx series console servers
see
see
copyright Copyright (c) 2013, Open Source Solutions Limited, Dublin, Ireland
author Barry O'Donovan

 Methods

Get the SNMP instance

getSNMP() : \OSS_SNMP\SNMP

Returns

\OSS_SNMP\SNMPInstance of the SNMP object

Returns the hardware model

model() : string

Returns

stringThe hardware model

Returns the operating system image name

osImage() : string

Returns

stringThe operating system image name

Set the SNMP instance

setSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB

Parameters

$snmp

\OSS_SNMP\SNMP

the SNMP instance

Returns

\OSS_SNMP\MIBAn instance of this class for fluent interfaces

 Properties

 

Instance for the SNMP object

$_snmp 

Default

null

 Constants

 

OID_MRV_MODEL

OID_MRV_MODEL = '.1.3.6.1.4.1.33.100.1.1.12.0' 
 

OID_MRV_OS_IMAGE

OID_MRV_OS_IMAGE = '.1.3.6.1.4.1.33.100.1.1.1.0'