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.
This commit is contained in:
nick n
2019-02-02 00:59:57 +01:00
committed by GitHub
parent cc95604bd9
commit 8e3f10673e
2 changed files with 111 additions and 8 deletions

View File

@@ -2,7 +2,14 @@ Version 3.65 ()
[ENHANCEMENTS]
* Add two more HP 2930F models
* Add two more HP 2930F models (JeroenvIS)
* #296 expand CiscoAgg to also include LACP based aggregated links
and staticly aggregated links. (inphobia)
[BUG FIXES]
* #295 make CiscoAgg return ifindex like expected instead of
bp_index (inphobia)
Version 3.64 (2018-12-30)