Changes between Version 42 and Version 43 of Internal/InventoryV3


Ignore:
Timestamp:
Jan 21, 2011, 2:04:10 AM (14 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/InventoryV3

    v42 v43  
    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.
    403403
    404 === 1/20/2011 ==
     404=== 1/20/2011 ===
    405405
    406406I'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.
    407407
    408 The 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.
     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. Had to modify the storage types in motherboard, to be bigints so I could store the converted numbers, and then pull them out the same way.