Virtual status of router addresses cycles back and forth, causing net type to swing back and forth between lan and link

Bug #1340576 reported by Morten Brekkevold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
High
Morten Brekkevold

Bug Description

As observed by a customer, on an HSRP-enabled subnet, the net type categorization NAV makes for the subnet swings back and forth between "lan" and "link". The correct type is of course "lan".

A code inspection of the ipdevpoll virtualrouter plugin reveals that it will set the virtual status of all router addresses based on the output of first one MIB, then do the same for all router addresses based on the output of another MIB.

The two MIBs are CISCO-HSRP-MIB and VRRP-MIB. If virtual addresses are found using HSRP first, and no results are found in VRRP after that, the VRRP results will wipe out the changes made because of the HSRP results.

The order in which the MIBs are queried is not deterministic, due to the way dictionary hashing works in Python, causing the address status and network type to swing back and forth.

Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :
Changed in nav:
status: In Progress → Fix Committed
milestone: none → 4.1.1
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.