Ticket #3585 (closed defect: Fixed)

Opened 5 months ago

Last modified 4 months ago

Utils.unsigned doing bad conversions in InterfaceMap

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

Description

The unsigned() call on the interface speed done in InterfaceMap is converting the speed of 10Gbps interfaces to 1410065408.

>>> from Products.ZenUtils.Utils import unsigned
>>> unsigned(10000000000.0)
1410065408

Change History

Changed 5 months ago by cluther

(In [9903]) * Refs #3585: Fix Utils.unsigned so it won't return invalid values.

Changed 5 months ago by cluther

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

(In [9907]) * Fixes #3585: Fix Utils.unsigned so it won't return invalid values.

Changed 5 months ago by bbibeault

  • keywords zenoss-2.2.4-accepted added; zenoss-2.2.4-proposed removed
  • reviewed changed from 0 to 1

Changed 5 months ago by ian

(In [9988]) Refs #3585: Backporting r9907 to the zenoss-2.2.x branch

Changed 5 months ago by ian

  • 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
Note: See TracTickets for help on using tickets.