Changes between Version 3 and Version 4 of Internal/InventoryV3


Ignore:
Timestamp:
Sep 29, 2009, 9:38:19 PM (15 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/InventoryV3

    v3 v4  
    4747
    4848I may have discovered the cause of the device / vendor discrepancy. Joe seems to be looking at /sys/class/net/devincename/device... perhaps this points to a different device id. I'll have to check it out. 
     49
     50That being said I have a working protoype:
     51{{{
     52ssugrim@external2:~/scripts$ ruby gatherer.rb
     53ssugrim@external2:~/scripts$ more /tmp/external2.xml
     54<external2>
     55 <ip_adds>
     56  <10.50.0.12 iface='eth1' host='external2.orbit-lab.org'/>
     57  <127.0.0.1 iface='' host=''/>
     58 </ip_adds>
     59 <motherboard mem_size='1048512' disk_size='156301488' cpu_num='4'/>
     60 <Devices>
     61  <pci>
     62   <eth0 device='1229' bus_add='01:03.0' mac='00:e0:81:26:70:16' str='Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)' vendor='8086'/>
     63   <eth1 device='1010' bus_add='04:01.0' mac='00:e0:81:26:76:9c' str='Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)' vendor='8086'/>
     64   <eth2 device='1010' bus_add='04:01.1' mac='00:e0:81:26:76:9d' str='Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)' vendor='8086'/>
     65  </pci>
     66  <usb>
     67   <0 device='0001' bus_add='001:001' str='Linux Foundation 1.1 root hub' vendor='1d6b'/>
     68  </usb>
     69 </Devices>
     70</external2>
     71ssugrim@external2:~/scripts$
     72}}}