Changes between Version 41 and Version 42 of Internal/InventoryV3


Ignore:
Timestamp:
Jan 21, 2011, 1:53:03 AM (14 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/InventoryV3

    v41 v42  
    401401     for uniformity. Really insert could be done properly with 2 array, instead of a hash (thats the way it's used internally any way), but the interface is less cryptic
    402402     and the hash processing is done with maps and zips (on the keys array) so it not much diffrent. In the update method I actually use the hash structure.
     403
     404=== 1/20/2011 ==
     405
     406I've done away with the syspath method for getting vendor information. Instead I used lshw -numeric. I've corrected how the cpu's get enumerated and counted. On the quad core cpu the fold count was 20 (massive duplication), I filter by looking for a size attribute (orignally serial number, but that isn't consisten across platforms). I had to add some unit conversions to be able to push data into the mysql table, but right now it busted. I'll need to rethink how it's getting stored/converted.
     407
     408The update method in network has an error, it's comparing inventory ids, and incorrectly updating if those don't match. I'll need to drop them out of the set of things to compare.