Commit Graph

1609 Commits

Author SHA1 Message Date
pyro3d
78c194faee Layer3::Ciena class (#365)
Implement Ciena class
2019-10-02 13:24:36 -07:00
nick n
9d00126c83 use mibs 4.018 2019-10-02 21:03:01 +02: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
nick n
eb6420125e prefer checkpoint mibs (#358) 2019-10-02 20:02:52 +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
nick n
762a01e619 ios- xe codename detection 2019-10-02 18:41:52 +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
6d39026616 netdisco-mibs has been updated to 4.017 2019-09-26 01:17:04 +02:00
nick n
723f8ea744 pulse secure os_ver fix 2019-09-26 01:16:08 +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
631f99f97b typo 2019-09-04 01:11:28 +02:00
nick n
1840089789 poe power usage & mac address for ciscosb (#357) 2019-08-31 10:52:16 +02:00
nick n
36029e38a7 we want info
draw more attention to the fact that we really like you to fill out everything we ask for if possible
2019-08-28 22:44:49 +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
68b001105d ubiquiti version cleanup 2019-08-26 13:53:14 +02:00
nick n
d459dd7f8c fix engrish
aka: typos
2019-08-26 13:50:36 +02:00
nick n
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 n
091a3692e3 mentioned doc cleanup 2019-08-26 13:26:52 +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
6753b795b9 use older container for perl 5.10 2019-08-17 22:39:18 +02:00
nick n
cefbcce8e3 also uses IEEE802dot3ad mibs 2019-06-19 18:01:01 +02:00
nick n
910c5420e3 yaml withspace matters
mention markdown syntax on how to best represent withespace.
2019-06-16 05:24:25 +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
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 n
211a06dbf1 perl 5.30
update travis
2019-05-30 04:07:32 +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
7de14a2bd9 move testing targets to perl 5.10 and 5.28 2019-05-01 04:19:30 +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
nick n
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 n
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 n
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 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 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