Ticket #3485 (closed defect: Fixed)

Opened 6 months ago

Last modified 4 weeks ago

Network Map doesn't properly deal with nested networks

Reported by: cluther Owned by: edahl
Priority: 1 - Blocker Milestone: zenoss-2.3
Component: ZenModel Version: 2.2.0
Keywords: zenoss-2.2.4-verified Cc:
Community Patch Attached: Deployed @ Customer:
Installer: Any/All Maintenance Target:
Specific ZenPack: Maintenance Status:
Documentation Note?: Not required Regression:

Description

The Network Map has a problem in the way it deals with nested subnets. It will often pick a network that isn't the most specific one available. This appears to be due to it using the IpNetwork.findNet method instead of IpNetwork.getNet.

Example Network Structure:

10.0.0.0/8

10.1.0.0/16

10.1.1.0/24

10.1.1.0/27
10.1.1.32/27

In this scenario, the network map will always show the 10.1.1.0/24 instead of the proper 10.1.1.0/27 that actually contains the devices.

Attachments

specificNetOnNetworkMap.diff (0.8 kB) - added by cluther 6 months ago.
Proposed patch

Change History

Changed 6 months ago by cluther

Proposed patch

Changed 6 months ago by cluther

  • status changed from new to closed
  • resolution set to fixed

(In [9734]) * Fixes #3485: Use most specific network match on network map. Reviewed by jstevens.

Changed 6 months ago by bwhichard

  • keywords zenoss-2.2.4-accepted added; zenoss-2.2.4-proposed removed
  • reviewed set to 1

Changed 5 months ago by jstevens

(In [9772]) refs #3485
patching r9734 to the 2.2.x branch

Changed 5 months ago by jstevens

  • keywords zenoss-2.2.4-patched added; zenoss-2.2.4-accepted removed

Changed 4 months ago by ian

  • keywords zenoss-2.2.4-verified added; zenoss-2.2.4-patched removed

Changed 4 weeks ago by bbibeault

  • installer set to Any/All
  • milestone changed from zenoss-2.3 to Blue Crab

Changed 4 weeks ago by cluther

  • milestone changed from Blue Crab to zenoss-2.3

This is already fixed in 2.2.4. Not sure why the milestone was moved to blue crab.

Note: See TracTickets for help on using tickets.