100 Commits
Author SHA1 Message Date
nick nandGitHub 8e8edb48d1 if ciscosb can provide actual powerdraw surely aoscx can't trail behind that (#499) 2023-09-02 19:36:49 +01:00
nick nandGitHub 1a42221e58 fix for netdisco855 snmp-info459 perhaps (#475) 2023-02-20 15:19:13 +00:00
nick nandGitHub fbfa2ec154 i/if_ignore cleanup (#377)
* does not have an i_ignore function, don't mention it in the docs

* these interfaces don't even exist on oneaccess

remove i_ignore, mark tests as complete now

* don't see a reason for a function, so remove it:

sub i_ignore {return;}
2021-10-07 13:19:32 +01:00
nick nandGitHub 9f12bcf676 trapeze and nws deep recursion fix (#443)
* trapeze serial deep recursion

* NWSS2300 has the same problem

* same workaround as trapeze

* return empty if not found
2021-10-07 08:52:45 +01:00
nick nandGitHub 6dc369efbc add link aggregation for fortios (#437)
* lag support for fortigate

* a few more tests

* mention fortinet lag
2021-09-12 21:01:11 +02:00
nick nandGitHub dd982373a7 fix tests (#428)
* add arubacx, replace unicode backtick

* fix pod

* remove undef, is implicit in scalar context. fixes tests

* mention IEEE802_Bridge
2021-07-06 21:49:50 +02:00
nick nandGitHub b0c1c7e2a7 CiscoPower, not Power 2021-06-27 07:08:49 +02:00
nick nandGitHub 36f882d916 add bridge again
should fix netdisco#708
2021-06-18 04:36:41 +02:00
nick nandGitHub b491a6921c remove non breaking space (#424)
only changed in comments.
2021-06-17 02:57:15 +02:00
nick nandGitHub 63fedc6a41 mention ieee802_bridge in info.pm (#425)
* add ieee802_bridge to info.pm, fixes tests

* aerohive comes before airespace
2021-06-17 02:56:29 +02:00
nick nandGitHub aefd0364fb move to libera chat 2021-06-15 07:57:19 +02:00
nick nandGitHub 0b86645a63 aerohive version support higher as 9 (#421)
* allow aerohive hiveos version numbers above 9
* aerohive is now owned by extreme
2021-06-04 18:38:13 +02:00
nick nandGitHub fa206be639 libera irc 2021-05-28 02:21:31 +02:00
nick nandGitHub 350ee49293 libera irc 2021-05-28 02:21:05 +02:00
nick nandGitHub 210d4d48a7 libera irc 2021-05-28 02:16:08 +02:00
nick nandGitHub ad8224bcec aerohive, not aironet
typos
2021-05-12 05:51:02 +02:00
nick nandGitHub 9943dff277 mention #403 2021-04-29 09:20:51 +02:00
nick nandGitHub bf0b7d989f dont flip between dell and aruba
should fix #403
2021-04-29 09:18:27 +02:00
nick nandGitHub 6ec90b3b9b sort a few things 2021-04-29 07:57:20 +02:00
nick nandGitHub 2a2214a0ac ignore .vscode directory (#418) 2021-03-13 17:36:12 +01:00
nick nandGitHub b9e054093a a few things that got imported or fixed 2020-11-15 21:19:24 +01:00
nick nandGitHub 1c7320ce1e some doc cleanup in ubiquiti (#411) 2020-11-15 20:04:41 +01:00
nick nandGitHub babbbb4e57 clean scalance
a few typos
info::bridge & info::lldp get pulled in via info::layer3
use Socket could be dropped in favor of resolve_desthost(), but needs testing.

(not tested waiting for what travis says)
2020-11-14 20:13:47 +01:00
nick nandGitHub e2544129bc nxos6 lldp fixes 2020-10-28 11:56:03 +01:00
nick nandGitHub 39b5b3af9f lldp fix for nxos6 #372 (#375)
* first part of fix for #372

makes lldp stop using lldpLocPortDesc directly but maps it to a function

start framework to allow nexus.pm to overwrite that function for nx-os6

* second part of fix for #372

make nx-os 6 return lldpLocPortId for lldp_lport_desc

* munge_null and whitespace nits
2020-10-28 11:54:25 +01:00
nick nandGitHub 543072ca25 update manpage
after reading netdisco/netdisco#693 and checking the code it seems layers() does not return l2 support.

while here add required mibs and move layers() manpage to globals, not table entries
2020-01-27 22:36:16 +01:00
nick nandGitHub 39356d72b4 typo 2019-11-04 02:04:59 +01:00
nick nandGitHub e013ac3a20 whitespace nitpicking
ocd kickin in...
2019-11-03 19:06:35 +01:00
nick nandGitHub a85c7a0404 typos 2019-10-17 05:27:58 +02:00
nick nandOliver Gorwits dd96147712 use latest mibs release instead of hardcoding version tag (#367) 2019-10-15 18:27:37 +01:00
nick nandOliver Gorwits 912bf62e9b can't reach these returns (#363) 2019-10-15 18:27:06 +01:00
nick nandGitHub 9d00126c83 use mibs 4.018 2019-10-02 21:03:01 +02:00
nick nandGitHub 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 nandGitHub eb6420125e prefer checkpoint mibs (#358) 2019-10-02 20:02:52 +02:00
nick nandGitHub 762a01e619 ios- xe codename detection 2019-10-02 18:41:52 +02:00
nick nandGitHub 6d39026616 netdisco-mibs has been updated to 4.017 2019-09-26 01:17:04 +02:00
nick nandGitHub 723f8ea744 pulse secure os_ver fix 2019-09-26 01:16:08 +02:00
nick nandGitHub 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 nandGitHub 631f99f97b typo 2019-09-04 01:11:28 +02:00
nick nandGitHub 1840089789 poe power usage & mac address for ciscosb (#357) 2019-08-31 10:52:16 +02:00
nick nandGitHub 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 nandGitHub 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 nandGitHub 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 nandGitHub 68b001105d ubiquiti version cleanup 2019-08-26 13:53:14 +02:00
nick nandGitHub d459dd7f8c fix engrish
aka: typos
2019-08-26 13:50:36 +02:00
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
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
nick nandOliver Gorwits 73b63c8379 redlion cellular router (sn / ram series) support (#333) 2019-04-28 19:53:17 +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
nick nandGitHub e7d83a5918 typos 2019-04-22 00:32:35 +02:00
nick nandGitHub 07de5e53e3 make podchecker happy 2019-04-20 08:38:14 +02:00
nick nandGitHub 2308826147 full fix for aerohive tests (#327)
* full fix for aerohive tests
2019-04-20 08:35:18 +02: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
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
nick nandGitHub 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 nandGitHub 42395d49fd fix regression test for aerohive (#322) 2019-04-14 22:27:40 +02:00
nick nandGitHub 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 nandGitHub 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
nick nandGitHub b4734ea607 some files were missing eol at the end 2019-03-24 04:16:24 +01:00
nick nandGitHub 6698b049a4 whitespace
githubs online editor autoidents, remove unneeded whitespace
2019-03-24 03:07:36 +01:00
nick nandGitHub 68861fabfb get started for 3.66 2019-03-24 01:59:25 +01:00
nick nandGitHub 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
nick nandOliver Gorwits 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 nandGitHub 3b604723bd typo & 2 variables that were not defined with my (#309) 2019-02-23 22:30:04 +01:00
nick nandGitHub 605ae68f6b mention info::snmp::cdp req
req mibs would also be nice.
2019-02-10 06:58:36 +01:00
nick nandGitHub ef8afd8b65 mau means Medium Attachment Unit
mau means "Medium Attachment Unit"
2019-02-09 21:21:19 +01:00
nick nandGitHub 9365c67a6b mau means something else
it means "Medium Attachment Unit", not "Media Access Unit" according to rfc 2668
2019-02-09 21:13:02 +01:00
nick nandGitHub 8e3f10673e fix cisco aggregated port slave interface mapping
netdisco/snmp-info#295 for issue

tested on c3750x (stacked & single) & nexus 9332.

c3750x didn't show any slave interfaces for it's port channels.
nexus reported data all over the place, even making port channels slave interfaces of other port channels.

with these changes both devices report correct and complete slave interfaces:
tested on c3750x with lacp channels
tested on nexus 9332pq with lacp channels (vpc),  static aggregation, vpc peer link, fex uplink.

no regressions detected after a month of testing (we also have a bunch of ciscosb & other ios devices running , but none of those have port channels).

updated documentation, hope it makes sense.

things that didn't work before and still don't:
* mapping vpc portchannels members on both vpc cluster switches (sounds like fun)
* cisco ucs fabric interconnects (nexus 6248 on 3.2.3d) don't show port channel members, but didn't do so before either.

munge_port_ifindex() can most likely be written more elegant, but that's something for a real perl monk.
2019-02-02 00:59:57 +01:00
nick nandGitHub cc95604bd9 now lenovo devices
blade networks -> ibm -> lenovo
2019-02-01 18:50:44 +01:00
nick nandGitHub 6799312ad0 move Kentrox a few lines lower
since it's sorted alphabetically.

since i was here also mention ibmgbtor is now owned by lenovo.

and then made the layout a bit more consistent
2019-02-01 18:46:07 +01:00
nick nandGitHub 8dee0fcd12 Merge pull request #299 from inphobia/nn_ws_cleanup
massive amount of trailing whitespace cleanup

i ran this for 2 weeks, did not notice any regressions.

during those 2 weeks i went over all the diffs on 3 different occasions to make sure i did not delete a comma, quote or whatever.

ran the complete test set as well, no errors there either.

now it's finally commit time then i guess, so when the next module gets based on an existing one we have a clean layout.
2019-01-31 17:42:25 +01:00
nick nandGitHub dca78048c7 clarify what the oid references 2019-01-31 02:20:29 +01:00
nick nandGitHub 014d32cec1 device info would be handy too
for snmp::info device information always comes in handy. add it to the issue template.

basic info which helps: vendor, model & os plus an snmpwalk of the system leaf of snmpv2-mib.
2019-01-31 02:14:37 +01:00
nick nandGitHub 477d845c39 guess should add that name here too
or perhaps it will get regenerated with the nxt release process and be added then.
2019-01-31 00:55:31 +01:00
nick nandGitHub 6e5155ffbf just adding 1 more name in here
that name being mine.
2019-01-31 00:51:12 +01:00
nick nandGitHub 39679992f0 this ain't vyatta
readme & info.pm refers to this as
"Subclass for DLink devices."

so do the same here.
2019-01-31 00:32:44 +01:00
nick nandGitHub be0dbf6953 typo
_load_attr, not _load_atrr
2019-01-19 13:41:49 +01:00
nick nandJeroen van Ingen Schenau b28f81adbb Small improvements in consistency for code and manual (#298)
usage of munge_prio_mac/port was mixed up.
make manual a bit more consistent while here.
2019-01-15 10:43:47 +01:00