Commit Graph

15 Commits

Author SHA1 Message Date
Oliver Gorwits
2c88544158 implement cache and offline mode 2014-06-09 21:21:26 +01:00
Eric A. Miller
074f2e7c8f Fix ignore Net-SNMP configuration file snmp.conf option in t/test_class.pl and t/util/test_class_mocked.pl 2013-10-15 22:26:51 -04:00
Eric A. Miller
3577fa1e42 update test_class.pl utility to allow ignore of snmp.conf and test summarize more standard class methods 2013-10-07 23:24:38 -04:00
Jeroen van Ingen
cd9c637ba5 test_class.pl script: also test devices without layers / sysServices
The test_class.pl script refused to test devices that don't implement
sysServices. Since SNMP::Info has been modified to check connectivity
by testing sysDescr as well, test_class.pl should follow that behaviour.
2011-09-09 17:14:01 +02:00
Max Baker
f0539d51ff update test_class.pl to add mib dirs, relative path, and more debug info 2009-03-09 19:12:55 +00:00
Bill Fenner
7ad7d1e338 Add -n for no bulkwalk.
Allow -x to be specified multiple times to go with Info.pm's new
 Debug=2 output.
2007-02-15 23:11:43 +00:00
Bill Fenner
523deb988a If the result is a ref to an array, print the array.
(Have to be careful about becoming Data::Dumper...)
2006-11-03 16:53:10 +00:00
Bill Fenner
cec6e00384 in test_fn(), call test_global() if we get something back from the
method that's not a hash.  This enables "-p foo" on the command line
 for a foo that's not a hash.
2006-10-12 17:53:45 +00:00
Bill Fenner
aa8c86ddcd Add debug option, -x or --debug 2006-04-15 01:20:40 +00:00
Bill Fenner
75e7b0c6b0 Print the result of device_type().
If you ask for a dump with -p, and it's not in the list of things we're
 already grabbing, grab it at the end.
2006-03-28 22:02:00 +00:00
Max Baker
bc53167731 *** empty log message *** 2005-01-28 08:56:27 +00:00
Max Baker
51b09605df added dump 2004-09-27 14:48:42 +00:00
Max Baker
c44fc3ddbe added v_name and v_port tests 2003-08-04 21:49:43 +00:00
Max Baker
39e618f761 escaped all control characters, not just line feed 2003-07-02 19:24:49 +00:00
Max Baker
4f1ac32865 *** empty log message *** 2003-06-30 18:27:13 +00:00