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.
* exinda support
* exinda support
* add exinda hint
needed to identify exinda devices.
* mentin exinda in overview and link docs
* overwrite layers to l2/3/4/7
* get uptime from exinda mib
now matches uptime reported by cli & web interface.
* single quotes preferred
* to much copy/paste
* merge 3.63
* some more functions added. also general cleanup
* Update .travis.yml
* a few fixes
* Update .travis.yml
* Update .travis.yml
* revert
* revert
no idea why this is needed, but without this change no serial is returned:
netdisco-do show -d hiveap207 -e serial
[25474] 2018-11-09 19:45:09 info App::Netdisco version 2.039031 loaded.
[25474] 2018-11-09 19:45:10 info show: [10.40.252.14]/serial started at Fri Nov 9 20:45:10 2018
undef
[25474] 2018-11-09 19:45:10 info show: finished at Fri Nov 9 20:45:10 2018
[25474] 2018-11-09 19:45:10 info show: status done: Showed serial response from 10.40.252.14
netdisco-do show -d hiveap207 -e Layer2::Aerohive::serial
[25491] 2018-11-09 19:45:15 info App::Netdisco version 2.039031 loaded.
[25491] 2018-11-09 19:45:15 info show: [10.40.252.14]/Layer2::Aerohive::serial started at Fri Nov 9 20:45:15 2018
undef
[25491] 2018-11-09 19:45:16 info show: finished at Fri Nov 9 20:45:16 2018
[25491] 2018-11-09 19:45:16 info show: status done: Showed serial response from 10.40.252.14
with the change:
netdisco-do show -d hiveap207 -e Layer2::Aerohive::serial
[23072] 2018-11-09 19:44:06 info App::Netdisco version 2.039031 loaded.
[23072] 2018-11-09 19:44:07 info show: [10.40.252.14]/Layer2::Aerohive::serial started at Fri Nov 9 20:44:07 2018
02501610110274
[23072] 2018-11-09 19:44:07 info show: finished at Fri Nov 9 20:44:07 2018
[23072] 2018-11-09 19:44:07 info show: status done: Showed serial response from 10.40.252.14
netdisco-do show -d hiveap207 -e serial
[23075] 2018-11-09 19:44:13 info App::Netdisco version 2.039031 loaded.
[23075] 2018-11-09 19:44:13 info show: [10.40.252.14]/serial started at Fri Nov 9 20:44:13 2018
02501610110274
[23075] 2018-11-09 19:44:14 info show: finished at Fri Nov 9 20:44:14 2018
[23075] 2018-11-09 19:44:14 info show: status done: Showed serial response from 10.40.252.14
it seems aerohive changed the their model names in snmp, so they no langer always begin with "hive". i have access to models 120, 121, 230 & 250. this is their sysdescr:
SNMPv2-MIB::sysDescr.0 = STRING: AP250, HiveOS 8.3r2 build-191018
SNMPv2-MIB::sysDescr.0 = STRING: AP230, HiveOS 6.5r8b build-179369
SNMPv2-MIB::sysDescr.0 = STRING: HiveAP121, HiveOS 6.5r8b build-179369
SNMPv2-MIB::sysDescr.0 = STRING: HiveAP120, HiveOS 6.5r3 Honolulu build2530
this fixes empty model names for the 230 & 250 ones while still supporting 120 & 121
Class SNMP::Info::Layer2::Aerohive (3.59) loaded from SNMP::Info 3.59.
Connected to hiveap211.
Detected Class: SNMP::Info::Layer2::Aerohive
Using Class: SNMP::Info::Layer2::Aerohive (-c to change)
Fetching base info...
vendor aerohive
model AP250
os hiveos
os_ver 8.3r2
description AP250, HiveOS 8.3r2 build-191018
contact admin@aerohive.com
Class SNMP::Info::Layer2::Aerohive (3.59) loaded from SNMP::Info 3.59.
Connected to hiveap113.
Detected Class: SNMP::Info::Layer2::Aerohive
Using Class: SNMP::Info::Layer2::Aerohive (-c to change)
Fetching base info...
vendor aerohive
model HiveAP121
os hiveos
os_ver 6.5r8b
description HiveAP121, HiveOS 6.5r8b build-179369
contact admin@aerohive.com