SNMP::Info::Layer2::Orinoco - SNMP Interface to Orinoco Series Access Points
Eric Miller (eric@jeneric.org)
# Let SNMP::Info determine the correct subclass for you.
my $orinoco = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly on to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $orinoco->class(); print "SNMP::Info determined this device to fall under subclass : $class\n";
Provides abstraction to the configuration information obtainable from a Orinoco Access Point through SNMP.
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $orinoco = new SNMP::Info::Layer2::Orinoco(...);
See SNMP::Info::Bridge for its own MIB requirements.
These are methods that return scalar value from SNMP
vendor()model()os()os_ver()os_bin()serial()
See documentation in SNMP::Info for details.
See documentation in SNMP::Info::Bridge for details.
These are methods that return tables of information in the form of a reference to a hash.
interfaces()i_ignore()
See documentation in SNMP::Info for details.
See documentation in SNMP::Info::Bridge for details.