Commit Graph

237 Commits

Author SHA1 Message Date
nick n
912bf62e9b can't reach these returns (#363) 2019-10-15 18:27:06 +01:00
Christoph Handel
0791b7cccb Support Siemens Scalance Switch (#361) 2019-10-15 18:26:49 +01:00
pyro3d
78c194faee Layer3::Ciena class (#365)
Implement Ciena class
2019-10-02 13:24:36 -07:00
nick n
6fa54dd4db checkpoint cosmetic and doc changes (#366)
return lowercase vendor

update test

document changes in the manual

snmp.conf is most likely specific to ipso based devices?
2019-10-02 20:54:28 +02:00
Ambroise
51be2d5dc5 Retrieve Serial Number and device type for CheckPoint (#358)
* Retrieve Serial Number and device type for CheckPoint devices at right place in MIB

* Retrieve Serial Number and device type for CheckPoint

* Retrieve Serial Number and device type for CheckPoint

* Test not correct with cache data
2019-10-02 19:48:56 +02:00
Christoph Neuhaus
f0fb351137 detect ios-xe versions which use codenames (#359)
* Cisco is using codenames for ios-xe > 16.x
Example description:
Cisco IOS Software [Everest], Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 16.6.6, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport  Copyright (c) 1986-2019 by Cisco Systems, Inc.  Compiled Thu 11-Apr-19 02:24

* Gibraltar Codename added
2019-10-02 18:40:38 +02:00
nick n
f941f432e9 remove trailing newline from os_ver, fixes netdisco #647 (#364)
* remove trailing newline from os_ver, fixes netdisco #647

* note why the newline is in the test

* also update tests

* typo
2019-09-26 00:58:16 +02:00
nick n
1840089789 poe power usage & mac address for ciscosb (#357) 2019-08-31 10:52:16 +02:00
nick n
3abffc4d59 fix cdp_port when returned value is exactly 6 chars (#355)
* revert fix 2 of commit 78119d6, breaks devices that report a port name
6 chars long
* and remove test case for the "packed mac" special case
* and mention cdp fix in changelog

ran this for over 2 months and did not have any regressions on my gear.
2019-08-27 22:44:26 +02:00
nick n
0f01c6c07c i don't think layer2 is needed, layer3 alrdy has all the same includes (#354)
and no layer2 specific functions that are not overwritten are used.

also, os name -> lowercase
mention 1 more used mib
2019-08-26 14:37:15 +02:00
nick n
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
LBegnaud
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 n
b6720a2b43 duplex support for ciscosb (#352) 2019-08-18 01:50:34 +02:00
nick n
cefbcce8e3 also uses IEEE802dot3ad mibs 2019-06-19 18:01:01 +02:00
nick n
02c8ed0764 update mib doc
code says we want these 6 mibs. i trust the code.
2019-06-07 22:47:33 +02:00
nick n
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 n
8b3a1fd357 typo 2019-05-04 04:41:30 +02:00
nick n
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 n
f37225ee9a using my $b is not best practice
also update some manual statements while here
2019-05-01 04:17:58 +02:00
Oliver Gorwits
d38ef69120 release 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
nick n
73b63c8379 redlion cellular router (sn / ram series) support (#333) 2019-04-28 19:53:17 +01:00
nick n
2c61248016 mention CISCO-CONTEXT-MAPPING-MIB 2019-04-26 17:24:41 +02:00
nick n
45e56b332e lowercase vendor
just like all other snmp::info modules

use "vmware" instead of "VMware"
2019-04-26 17:21:19 +02:00
nick n
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 n
25b1801fe4 update docs for serial() 2019-04-24 19:22:48 +02:00
nick n
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
Ambroise
14e0aa0952 Netscaler serial number (#329)
Recover Netscaler serial number from the MIB.
2019-04-23 14:47:29 +01:00
nick n
e7d83a5918 typos 2019-04-22 00:32:35 +02:00
Oliver Gorwits
bfbb2fb2ab release 3.67 2019-04-20 12:01:59 +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
nick n
07de5e53e3 make podchecker happy 2019-04-20 08:38:14 +02:00
nick n
ea53f79bb8 3.66 2019-04-20 07:54:45 +02:00
pyro3d
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 n
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 n
c0228965f4 explain why we overwrite layers
noticed when writing some tests
2019-04-15 23:05:09 +02:00
nick n
0896bd881c lenovo / cnos os support (#323)
while it's not yet complete is already is quite functional.
things like vlan, lldp, connected nodes, etc all work
test coverage also included.

features to be added:
link aggregation master/slave (some strange difference with standard 802.3ad i think)
spanning tree will most likely work too
fan/psu status
modules / entity-mib seems to be strangly formatted
2019-04-15 22:47:03 +02:00
nick n
e08d22d51c flush cache in bp_index
netdisco/netdisco#496 has more background on the issue.

somewhere incorrect data is returned for bp_index mappings when running macsuck, but i cannot reproduce this when using snmp::info directly.

forcing i_index to reload works around the issue, performance impact is minimal.
2019-04-14 21:10:26 +02:00
nick n
f0b429039e make fortinet return a useful interface name. (#319)
* make fortinet return a useful interface name.

also fixes missing interface issue due to being unable to map the port
'interfaces - ignoring 54 (no port mapping)'
2019-04-01 19:32:40 +02:00
Oliver Gorwits
e8b4acbee6 release 3.66 2019-03-24 09:43:31 +00:00
pyro3d
d93e3ab1b6 Add IS-IS support (#316)
* Add ISIS support
* some doc fixups
mention isis-mib, use level so to not be confused with layer.
2019-03-19 06:55:38 +01:00
nick n
9c8e8fa4e0 update MRO usage
at least with my perl 5.26.1 and Data::Printer 0.40 you can't pass subroutines to p().

seems useful info for the wiki, will draft up a page nxt week.
2019-03-03 02:38:11 +01:00
Oliver Gorwits
2e2c6958d6 release 3.65 2019-02-24 15:02:38 +00:00
nick n
4ba91f9df8 update oneaccess (#310)
* update oneaccess, regretfully it seems oneos version6 is a step back when it comes to snmp support.
changes:
 * start using oneaccess mibs, not much useable data there yet however
 * return the device model
 * show os version for version 6 too. not many elegeant ways to handle all the version syntaxes used,
     so just dump what resembles a version string & be done with it
 * updated documentation

tested on:
 one420 - os V5.2R1C12
 one521 - os 6.1.rc1patch06
 one521 - os 6.1.3

some comments in the code as what works & what doesn't.

* typo

* bump required netdisco-mibs version to 4.014 (not released yet) but needed for oneaccess mibs. might as well fail at the start of the build instead of the end

* 2 tests fixed for oneaccess, 1 more to go

* last test fixed

* a few more changes

but mostly need to have a file change so i can trigger a travis build :)
2019-02-24 14:57:21 +00:00
nick n
605ae68f6b mention info::snmp::cdp req
req mibs would also be nice.
2019-02-10 06:58:36 +01:00
nick n
ef8afd8b65 mau means Medium Attachment Unit
mau means "Medium Attachment Unit"
2019-02-09 21:21:19 +01:00