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.