For example in the cldemo-config-mlag sample topology, the leaf switch has three separate LAGs (peerlink, server1, server2) but the device returns the same ActorOperKey for all LAGs.
The cause seems to be that in /usr/share/snmp/ieee8023_lag_pp.py the code is looking for attributes "actor_key" and "actor_port_key" which do not exist in the JSON output of /usr/share/snmp/showprocnetbonding.
A solution is to use the following:
- for dot3adAggActorOperKey use attribute "ifindex"
- for dot3adAggPortActorOperKey use attribute "masterifindex"