* 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;}
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)
* 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
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
* 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.
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.
* 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
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
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.
* use PULSESECURE-PSG-MIB in layer7::neoteris, also add model() function & remove neoteris fixup from layer7. tests updated.
* will need new mibs release
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
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.
* 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)'
* 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 :)
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.
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.
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.