Commit Graph
1742 Commits
Author SHA1 Message Date
nick nandGitHub 75a00fabe9 also added use warnings and strict
also fixed all reported errors by these, but work is still needed.

stuff like

sub thingy {
        my $thing = shift;
        my $stuff = $thing->os_ver();
        if ($stuff =~ /check/) {

-> newer perls (or perhaps just my config somehow) seems to prefer

        if ((defined $stuff) && ($stuff =~ /check/)) {

instead.

or perhaps i just don't understand autoloader magic & return type nuances.
2019-08-26 13:48:50 +02:00
nick nandGitHub 091a3692e3 mentioned doc cleanup 2019-08-26 13:26:52 +02:00
nick nandGitHub 3bcc522590 documentation overhaul (#353)
* ident
* remove $Id$ tags from rcs software which has been retired
* make an effort to sync required mib docs with actual code
* sync even more docs with what code actually does
* some whitespace nits
* fixup example to use snmpv2 for all but the most ancient devices
* remove blurb to find more specific snmp::info classes for classes
  which alrdy are as specific as they can get (eg snmp::info::layer3::vmware
  doesn't need info on to find a specific module since there ain't none)
* rename all sub {vendor} strings to lowercase vendor, if cisco, juniper
  and arista can be lowercase, so can be all the rest.
* fix tests
* spread some use warnings around
* use $ instead of @
* remove defines that are included via parent classes
* use strict + warnings
* remove alrdy included modules
* add comma after last list item
* typos
* mibs are found in our mib repo, not on the cisco site
* documentation fixes
2019-08-25 06:47:10 +02:00
LBegnaudandnick n 6c8d39d746 UBNT EdgeMax version reporting (#350)
* Clean up EdgeOS and EdgeSwitch verion reporting

* Fixes EdgeOS hotfix versioning

* Also clean up AirOS firmware
2019-08-25 06:35:23 +02:00
nick nandGitHub b6720a2b43 duplex support for ciscosb (#352) 2019-08-18 01:50:34 +02:00
nick nandGitHub 6753b795b9 use older container for perl 5.10 2019-08-17 22:39:18 +02:00
nick nandGitHub cefbcce8e3 also uses IEEE802dot3ad mibs 2019-06-19 18:01:01 +02:00
nick nandGitHub 910c5420e3 yaml withspace matters
mention markdown syntax on how to best represent withespace.
2019-06-16 05:24:25 +02:00
nick nandGitHub 02c8ed0764 update mib doc
code says we want these 6 mibs. i trust the code.
2019-06-07 22:47:33 +02:00
nick nandGitHub fda13addf0 fix travis (#341)
add hook::lexwrap to testdeps (#341)
also use #!/usr/bin/env perl instead of #!/usr/bin/perl


can't see a related change to perl5.30 that could cause this however
2019-05-30 04:54:27 +02:00
nick nandGitHub 211a06dbf1 perl 5.30
update travis
2019-05-30 04:07:32 +02:00
nick nandGitHub e886190e8e mib update
remove double defined FOUNDRY-SN-SWITCH-GROUP-MIB in code & docs
add BROCADE-PRODUCTS-MIB to docs as referenced in code
2019-05-22 02:41:51 +02:00
nick nandGitHub 8b3a1fd357 typo 2019-05-04 04:41:30 +02:00
nick nandGitHub e7adf92b59 intellij exclusion support (#336)
having a go at intellij + perl support & cygwin. working surprisingly well.

exclude it's project configuration files. also fix 3 typos found when getting this to work.
2019-05-02 05:07:53 +02:00
nick nandGitHub 7de14a2bd9 move testing targets to perl 5.10 and 5.28 2019-05-01 04:19:30 +02:00
nick nandGitHub f37225ee9a using my $b is not best practice
also update some manual statements while here
2019-05-01 04:17:58 +02:00
nick nandGitHub 52f9042ef0 test a few more perl versions
test a few common perl version, namely 5.14, 5.20 & 5.26
2019-04-30 17:10:02 +02:00
Oliver Gorwits d38ef69120 release 3.68 3.68 2019-04-28 20:01:52 +01:00
Oliver Gorwits 6341ad15f8 #330 fix redefine of port variable 2019-04-28 19:56:39 +01:00
Oliver Gorwits f3f01d5f15 Merge branch 'master' of github.com:netdisco/snmp-info 2019-04-28 19:54:58 +01:00
Oliver Gorwits 23d11551c6 #332 fix undef error when debug on $info 2019-04-28 19:54:51 +01:00
nick nandOliver Gorwits 73b63c8379 redlion cellular router (sn / ram series) support (#333) 2019-04-28 19:53:17 +01:00
Oliver Gorwits 2652998aba make the snmplabs test only run when AUTHOR_TESTING is set 2019-04-28 19:52:59 +01:00
nick nandGitHub 254bfd11a3 typo in link
seems you need to prepend a slash to reference in the current pod.
2019-04-26 20:09:38 +02:00
nick nandGitHub 2c61248016 mention CISCO-CONTEXT-MAPPING-MIB 2019-04-26 17:24:41 +02:00
nick nandGitHub 45e56b332e lowercase vendor
just like all other snmp::info modules

use "vmware" instead of "VMware"
2019-04-26 17:21:19 +02:00
nick nandGitHub 8003691e64 vendor is arista
not arista networks, inc. as it was way back in 3.06
2019-04-26 17:09:30 +02:00
nick nandGitHub 25b1801fe4 update docs for serial() 2019-04-24 19:22:48 +02:00
nick nandOliver Gorwits 737bb252a7 layer7::neoteris update for netdisco-mibs#80 (#328)
* use PULSESECURE-PSG-MIB in layer7::neoteris, also add model() function & remove neoteris fixup from layer7. tests updated.

* will need new mibs release
2019-04-24 13:21:33 +01:00
AmbroiseandOliver Gorwits 14e0aa0952 Netscaler serial number (#329)
Recover Netscaler serial number from the MIB.
2019-04-23 14:47:29 +01:00
nick nandGitHub e7d83a5918 typos 2019-04-22 00:32:35 +02:00
Oliver Gorwits bfbb2fb2ab release 3.67 3.67 2019-04-20 12:01:59 +01:00
Oliver Gorwits c8f686b7aa #294 snmp::info should show full class used 2019-04-20 11:28:48 +01:00
Oliver Gorwits 77fa064db5 #297 perl 5.28 removal of "use vars"
also adds pod for Layer3::DLink::interfaces
2019-04-20 10:32:24 +01:00
Oliver Gorwits 6b70ccfd79 #297 perl 5.28 removal of "use vars" 2019-04-20 10:20:10 +01:00
Oliver Gorwits 9b1995e90f #306 fix incorrect interfaces for d-link 2019-04-20 09:42:43 +01:00
Oliver Gorwits 75785f70c7 #321 clean interface descriptions of null and trailing space 2019-04-20 09:28:06 +01:00
Oliver Gorwits ea9ad92cc4 #320 improve duplicate interfaces() fixup
1. sorts the interfaces as they are processed to make A/B testing easier
2. adds the interface index to the original when a duplicate is seen
3. there may be other de-duplication code in vendor modules, untouched
2019-04-20 09:07:14 +01:00
Oliver Gorwits ad8762a7c4 Merge branch 'master' of github.com:netdisco/snmp-info 2019-04-20 07:47:50 +01:00
Oliver Gorwits c73bc0ca2c #325 lazy load legacy RFC1213-MIB only if needed 2019-04-20 07:46:18 +01:00
nick nandGitHub 07de5e53e3 make podchecker happy 2019-04-20 08:38:14 +02:00
Oliver Gorwits 141812bf4d add v3 Context update() tests for net-snmp 5.8+ 2019-04-20 07:36:17 +01:00
nick nandGitHub 2308826147 full fix for aerohive tests (#327)
* full fix for aerohive tests
2019-04-20 08:35:18 +02:00
Oliver Gorwits 01fa098078 support debug via env vars (same as netdisco) 2019-04-20 07:14:12 +01:00
nick nandGitHub 167cc2f3fa docsis (#326)
update meta
2019-04-20 08:02:02 +02:00
nick nandGitHub ea53f79bb8 3.66 2019-04-20 07:54:45 +02:00
pyro3dandOliver Gorwits 4b75ef1889 Add DOCSIS head end support (#317)
* Add DOCSIS CMTS support for cable modem discovery

* Remove whitespace and update pod
2019-04-20 06:46:33 +01:00
nick nandGitHub c4ce6a2062 clean up exinda and add regression test (#324)
* simplify and clean up exinda code. perhaps mac handling should be done in a munge routine

* added exinda regression tests
2019-04-16 03:10:10 +02:00
nick nandGitHub 9e4e0e3510 alphabetize
::ipv6 after ::ieee802dot3ad, not before
2019-04-15 23:08:00 +02:00
nick nandGitHub c0228965f4 explain why we overwrite layers
noticed when writing some tests
2019-04-15 23:05:09 +02:00