Last active
August 29, 2015 14:02
-
-
Save amitsaha/6bcd84a03ffc01b6fcf9 to your computer and use it in GitHub Desktop.
Compare lshw and smolt's results in beaker-system-scan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone git://git.beaker-project.org/beaker-system-scan | |
pushd beaker-system-scan | |
git checkout master | |
python setup.py install | |
smolt=`beaker-system-scan -d -j 2> /dev/null` | |
# fetch lshw patch | |
git fetch http://gerrit.beaker-project.org/beaker-system-scan refs/changes/39/3139/5 && git checkout FETCH_HEAD | |
git checkout -b lshw | |
python setup.py install | |
lshw=`beaker-system-scan -d -j 2> /dev/null` | |
popd | |
./compare.py "$smolt" "$lshw" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import itertools | |
import sys | |
import json | |
smolt = json.loads(sys.argv[1]) | |
lshw = json.loads(sys.argv[2]) | |
with open('comparison.html', 'w') as f: | |
# Legacy | |
f.write('<h1>Legacy data</h1>') | |
f.write('<table>') | |
f.write('<tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr>') | |
for k, s in smolt['legacy'].iteritems(): | |
l = lshw['legacy'][k] | |
if s!=l: | |
bgcolor = "red" | |
else: | |
bgcolor = "yellow" | |
f.write('<tr bgcolor=%s> <td> %s </td> <td>%s </td> <td>%s</td></tr>' % (bgcolor, k, s, l)) | |
f.write('</table>') | |
# CPU | |
f.write('<h1>CPU</h1>') | |
f.write('<table>') | |
f.write('<tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr>') | |
for k, s in smolt['Data']['Cpu'].iteritems(): | |
l = lshw['Data']['Cpu'][k] | |
if s!=l: | |
bgcolor = "red" | |
else: | |
bgcolor = "yellow" | |
f.write('<tr bgcolor=%s> <td> %s </td> <td>%s </td> <td>%s</td></tr>' % (bgcolor, k, s, l)) | |
f.write('</table>') | |
# Arch, Memory, model, vendor | |
for feature in ['Arch', 'memory', 'model', 'vendor']: | |
f.write('<h1>%s</h1>' % feature) | |
f.write('<table>') | |
f.write('<tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr>') | |
s = smolt['Data'][feature] | |
l = lshw['Data'][feature] | |
if s!=l: | |
bgcolor = "red" | |
else: | |
bgcolor = "yellow" | |
f.write('<tr bgcolor=%s> <td> %s </td> <td>%s </td> <td>%s</td></tr>' % (bgcolor, feature, s, l)) | |
f.write('</table>') | |
# numa nodes | |
f.write('<h1>NUMA</h1>') | |
f.write('<table>') | |
f.write('<tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr>') | |
for k, s in smolt['Data']['Numa'].iteritems(): | |
l = lshw['Data']['Numa'][k] | |
if s!=l: | |
bgcolor = "red" | |
else: | |
bgcolor = "yellow" | |
f.write('<tr bgcolor=%s> <td> %s </td> <td>%s </td> <td>%s</td></tr>' % (bgcolor, k, s, l)) | |
f.write('</table>') | |
# Devices | |
f.write('<h1>Devices</h1>') | |
f.write('<table>') | |
f.write('<tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr>') | |
smolt_devs = smolt['Data']['Devices'] | |
lshw_devs = lshw['Data']['Devices'] | |
if len(smolt_devs) != len(lshw_devs): | |
f.write('<font color="red"><p>Unequal number of devices</p></font>') | |
for s, l in itertools.izip_longest(smolt_devs, lshw_devs, fillvalue = []): | |
if s != l: | |
bgcolor = "red" | |
else: | |
bgcolor = "yellow" | |
f.write('<tr bgcolor=%s> <td> %s </td> <td>%s </td> <td>%s</td></tr>' % (bgcolor, 'Device', s, l)) | |
f.write('</table>') | |
# Disks | |
f.write('<h1>Disks</h1>') | |
f.write('<table>') | |
f.write('<tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr>') | |
libparted_disks = smolt['Data']['Disk']['Disks'] | |
lshw_disks = lshw['Data']['Disk']['Disks'] | |
if len(libparted_disks) != len(lshw_disks): | |
f.write('<font color="red"><p>Unequal number of disks</p></font>') | |
for s, l in itertools.izip_longest(libparted_disks, lshw_disks, fillvalue=[]): | |
if s!=l: | |
bgcolor = "red" | |
else: | |
bgcolor = "yellow" | |
f.write('<tr bgcolor=%s> <td> %s </td> <td>%s </td> <td>%s</td></tr>' % (bgcolor, 'Disk', s, l)) | |
f.write('</table>') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Legacy data</h1><table><tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr><tr bgcolor=yellow> <td> NR_IB </td> <td>0 </td> <td>0</td></tr><tr bgcolor=yellow> <td> NETWORK </td> <td>sh: /usr/libexec/beaker-system-scan/getdriver.sh: No such file or directory </td> <td>sh: /usr/libexec/beaker-system-scan/getdriver.sh: No such file or directory</td></tr><tr bgcolor=red> <td> CPUFLAGS </td> <td>['fpu', 'de', 'pse', 'tsc', 'msr', 'pae', 'mce', 'cx8', 'apic', 'sep', 'mtrr', 'pge', 'mca', 'cmov', 'pse36', 'clflush', 'mmx', 'fxsr', 'sse', 'sse2', 'syscall', 'nx', 'lm', 'up', 'rep_good', 'unfair_spinlock', 'pni', 'cx16', 'popcnt', 'hypervisor', 'lahf_lm'] </td> <td>['fpu', 'fpu_exception', 'wp', 'de', 'pse', 'tsc', 'msr', 'pae', 'mce', 'cx8', 'apic', 'sep', 'mtrr', 'pge', 'mca', 'cmov', 'pse36', 'clflush', 'mmx', 'fxsr', 'sse', 'sse2', 'syscall', 'nx', 'x86-64', 'up', 'rep_good', 'unfair_spinlock', 'pni', 'cx16', 'popcnt', 'hypervisor', 'lahf_lm']</td></tr><tr bgcolor=red> <td> USBID </td> <td>[] </td> <td>['1D6B:1']</td></tr><tr bgcolor=yellow> <td> NR_ETH </td> <td>1 </td> <td>1</td></tr><tr bgcolor=red> <td> MODEL </td> <td>Bochs </td> <td>None</td></tr><tr bgcolor=red> <td> DISK </td> <td>[10240] </td> <td>[]</td></tr><tr bgcolor=red> <td> ARCH </td> <td>x86_64 </td> <td>x86-64</td></tr><tr bgcolor=yellow> <td> VIRT_IOMMU </td> <td>False </td> <td>False</td></tr><tr bgcolor=yellow> <td> CPUFAMILY </td> <td>6 </td> <td>6</td></tr><tr bgcolor=yellow> <td> CPUMODEL </td> <td>QEMU Virtual CPU version 1.6.2 </td> <td>QEMU Virtual CPU version 1.6.2</td></tr><tr bgcolor=red> <td> DISKSPACE </td> <td>10240 </td> <td>0</td></tr><tr bgcolor=yellow> <td> BOOTDISK </td> <td>[] </td> <td>[]</td></tr><tr bgcolor=yellow> <td> CPUMODELNUMBER </td> <td>2 </td> <td>2</td></tr><tr bgcolor=red> <td> FORMFACTOR </td> <td>unknown </td> <td>Unknown</td></tr><tr bgcolor=red> <td> VENDOR </td> <td>Bochs </td> <td>None</td></tr><tr bgcolor=red> <td> CPUVENDOR </td> <td>GenuineIntel </td> <td>Intel Corp.</td></tr><tr bgcolor=yellow> <td> NETBOOT_METHOD </td> <td>pxe </td> <td>pxe</td></tr><tr bgcolor=yellow> <td> MODULE </td> <td>['ipv6', 'microcode', 'virtio_balloon', 'virtio_net', 'ext4', 'jbd2', 'mbcache', 'virtio_blk', 'virtio_pci', 'virtio_ring', 'virtio', 'pata_acpi', 'ata_generic', 'ata_piix', 'dm_mirror', 'dm_region_hash', 'dm_log', 'dm_mod'] </td> <td>['ipv6', 'microcode', 'virtio_balloon', 'virtio_net', 'ext4', 'jbd2', 'mbcache', 'virtio_blk', 'virtio_pci', 'virtio_ring', 'virtio', 'pata_acpi', 'ata_generic', 'ata_piix', 'dm_mirror', 'dm_region_hash', 'dm_log', 'dm_mod']</td></tr><tr bgcolor=yellow> <td> PROCESSORS </td> <td>1 </td> <td>1</td></tr><tr bgcolor=yellow> <td> HVM </td> <td>False </td> <td>False</td></tr><tr bgcolor=yellow> <td> DISK_MULTIPATH </td> <td>False </td> <td>False</td></tr><tr bgcolor=red> <td> PCIID </td> <td>['1013:00b8', '1af4:1000', '1af4:1001', '1af4:1002', '8086:7010', '8086:1237', '8086:7020', '8086:7000'] </td> <td>['8086:1237', '8086:7000', '8086:7010', '8086:7020', '1013:B8', '1AF4:1000', '1AF4:1001', '1AF4:1002']</td></tr><tr bgcolor=red> <td> NR_DISKS </td> <td>1 </td> <td>0</td></tr></table><h1>CPU</h1><table><tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr><tr bgcolor=red> <td> vendor </td> <td>GenuineIntel </td> <td>Intel Corp.</td></tr><tr bgcolor=yellow> <td> modelName </td> <td>QEMU Virtual CPU version 1.6.2 </td> <td>QEMU Virtual CPU version 1.6.2</td></tr><tr bgcolor=yellow> <td> stepping </td> <td>3 </td> <td>3</td></tr><tr bgcolor=yellow> <td> processors </td> <td>1 </td> <td>1</td></tr><tr bgcolor=yellow> <td> family </td> <td>6 </td> <td>6</td></tr><tr bgcolor=yellow> <td> cores </td> <td>1 </td> <td>1</td></tr><tr bgcolor=yellow> <td> model </td> <td>2 </td> <td>2</td></tr><tr bgcolor=yellow> <td> speed </td> <td>2893.424 </td> <td>2893.424</td></tr><tr bgcolor=yellow> <td> sockets </td> <td>1 </td> <td>1</td></tr><tr bgcolor=red> <td> CpuFlags </td> <td>['fpu', 'de', 'pse', 'tsc', 'msr', 'pae', 'mce', 'cx8', 'apic', 'sep', 'mtrr', 'pge', 'mca', 'cmov', 'pse36', 'clflush', 'mmx', 'fxsr', 'sse', 'sse2', 'syscall', 'nx', 'lm', 'up', 'rep_good', 'unfair_spinlock', 'pni', 'cx16', 'popcnt', 'hypervisor', 'lahf_lm'] </td> <td>['fpu', 'fpu_exception', 'wp', 'de', 'pse', 'tsc', 'msr', 'pae', 'mce', 'cx8', 'apic', 'sep', 'mtrr', 'pge', 'mca', 'cmov', 'pse36', 'clflush', 'mmx', 'fxsr', 'sse', 'sse2', 'syscall', 'nx', 'x86-64', 'up', 'rep_good', 'unfair_spinlock', 'pni', 'cx16', 'popcnt', 'hypervisor', 'lahf_lm']</td></tr></table><h1>Arch</h1><table><tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr><tr bgcolor=red> <td> Arch </td> <td>['x86_64'] </td> <td>['x86-64']</td></tr></table><h1>memory</h1><table><tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr><tr bgcolor=red> <td> memory </td> <td>1877 </td> <td>2048</td></tr></table><h1>model</h1><table><tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr><tr bgcolor=red> <td> model </td> <td>Bochs </td> <td>None</td></tr></table><h1>vendor</h1><table><tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr><tr bgcolor=red> <td> vendor </td> <td>Bochs </td> <td>None</td></tr></table><h1>NUMA</h1><table><tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr><tr bgcolor=yellow> <td> nodes </td> <td>1 </td> <td>1</td></tr></table><h1>Devices</h1><table><tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr><font color="red"><p>Unequal number of devices</p></font><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Platform Device (i8042)', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'platform', 'driver': 'i8042', 'deviceID': '0000'} </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Bochs', 'subsysDeviceID': '0000', 'type': 'beaker-test-vm2', 'bus': 'Unknown', 'driver': None, 'deviceID': '0000'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Platform Device (pcspkr)', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'platform', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Motherboard', 'subsysDeviceID': '0000', 'type': 'core', 'bus': 'Unknown', 'driver': None, 'deviceID': '0000'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Platform Device (rtc_cmos)', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'platform', 'driver': 'rtc_cmos', 'deviceID': '0000'} </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'BIOS', 'subsysDeviceID': '0000', 'type': 'firmware', 'bus': 'Unknown', 'driver': 'Unknown', 'deviceID': '0000'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Macintosh mouse button emulation', 'subsysDeviceID': '0000', 'type': 'MOUSE', 'bus': 'input', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'QEMU Virtual CPU version 1.6.2', 'subsysDeviceID': '0000', 'type': 'cpu', 'bus': 'cpu', 'driver': 'Unknown', 'deviceID': '0000'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '1013', 'subsysVendorID': '1af4', 'description': 'GD 5446', 'subsysDeviceID': '1100', 'type': 'VIDEO', 'bus': 'pci', 'driver': 'Unknown', 'deviceID': '00b8'} </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'System Memory', 'subsysDeviceID': '0000', 'type': 'memory', 'bus': 'Unknown', 'driver': 'Unknown', 'deviceID': '0000'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'ImExPS/2 Generic Explorer Mouse', 'subsysDeviceID': '0000', 'type': 'MOUSE', 'bus': 'input', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'DIMM RAM', 'subsysDeviceID': '0000', 'type': 'bank', 'bus': 'Unknown', 'driver': 'Unknown', 'deviceID': '0000'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'SCSI Host Adapter', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'scsi_host', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>{'vendorID': '8086', 'subsysVendorID': '0000', 'description': '440FX - 82441FX PMC [Natoma]', 'subsysDeviceID': '0000', 'type': 'pci', 'bus': 'pci', 'driver': None, 'deviceID': '1237'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '1af4', 'subsysVendorID': '1af4', 'description': 'Virtio network device', 'subsysDeviceID': '0001', 'type': 'NETWORK', 'bus': 'pci', 'driver': 'virtio-pci', 'deviceID': '1000'} </td> <td>{'vendorID': '8086', 'subsysVendorID': '0000', 'description': '82371SB PIIX3 ISA [Natoma/Triton II]', 'subsysDeviceID': '0000', 'type': 'isa', 'bus': 'pci', 'driver': 'Unknown', 'deviceID': '7000'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '1af4', 'subsysVendorID': '1af4', 'description': 'Virtio block device', 'subsysDeviceID': '0002', 'type': 'SCSI', 'bus': 'pci', 'driver': 'virtio-pci', 'deviceID': '1001'} </td> <td>{'vendorID': '8086', 'subsysVendorID': '0000', 'description': '82371SB PIIX3 IDE [Natoma/Triton II]', 'subsysDeviceID': '0000', 'type': 'ide', 'bus': 'pci', 'driver': None, 'deviceID': '7010'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '1af4', 'subsysVendorID': '1af4', 'description': 'Virtio memory balloon', 'subsysDeviceID': '0005', 'type': 'OTHER', 'bus': 'pci', 'driver': 'virtio-pci', 'deviceID': '1002'} </td> <td>{'vendorID': '8086', 'subsysVendorID': '0000', 'description': '82371SB PIIX3 USB [Natoma/Triton II]', 'subsysDeviceID': '0000', 'type': 'usb', 'bus': 'pci', 'driver': None, 'deviceID': '7020'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Platform Device (vesafb.0)', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'platform', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>{'vendorID': '1D6B', 'subsysVendorID': '0000', 'description': 'UHCI Host Controller', 'subsysDeviceID': '0000', 'type': 'usbhost', 'bus': 'usb', 'driver': None, 'deviceID': '1'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Platform Device (serial8250)', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'platform', 'driver': 'serial8250', 'deviceID': '0000'} </td> <td>{'vendorID': '1013', 'subsysVendorID': '0000', 'description': 'GD 5446', 'subsysDeviceID': '0000', 'type': 'display', 'bus': 'pci', 'driver': 'Unknown', 'deviceID': 'B8'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '8086', 'subsysVendorID': '1af4', 'description': '82371SB PIIX3 IDE [Natoma/Triton II]', 'subsysDeviceID': '1100', 'type': 'IDE', 'bus': 'pci', 'driver': 'ata_piix', 'deviceID': '7010'} </td> <td>{'vendorID': '1AF4', 'subsysVendorID': '0000', 'description': 'Virtio network device', 'subsysDeviceID': '0000', 'type': 'network', 'bus': 'pci', 'driver': None, 'deviceID': '1000'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '8086', 'subsysVendorID': '1af4', 'description': '440FX - 82441FX PMC [Natoma]', 'subsysDeviceID': '1100', 'type': 'OTHER', 'bus': 'pci', 'driver': 'Unknown', 'deviceID': '1237'} </td> <td>{'vendorID': '1AF4', 'subsysVendorID': '0000', 'description': 'Virtio block device', 'subsysDeviceID': '0000', 'type': 'scsi', 'bus': 'pci', 'driver': None, 'deviceID': '1001'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'i8042 KBD port', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'serio', 'driver': 'atkbd', 'deviceID': '0000'} </td> <td>{'vendorID': '1AF4', 'subsysVendorID': '0000', 'description': 'Virtio memory balloon', 'subsysDeviceID': '0000', 'type': 'generic', 'bus': 'pci', 'driver': None, 'deviceID': '1002'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'SCSI Host Adapter', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'scsi_host', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Ethernet interface', 'subsysDeviceID': '0000', 'type': 'network', 'bus': 'Unknown', 'driver': None, 'deviceID': '0000'}</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'AT Translated Set 2 keyboard', 'subsysDeviceID': '0000', 'type': 'KEYBOARD', 'bus': 'input', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>[]</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Networking Interface', 'subsysDeviceID': '0000', 'type': 'NETWORK', 'bus': 'net', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>[]</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'i8042 AUX port', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'serio', 'driver': 'psmouse', 'deviceID': '0000'} </td> <td>[]</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'VirtIO Device (virtio0)', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'virtio', 'driver': 'virtio_net', 'deviceID': '0000'} </td> <td>[]</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Loopback device Interface', 'subsysDeviceID': '0000', 'type': 'NETWORK', 'bus': 'net', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>[]</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Platform Device (microcode)', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'platform', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>[]</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '8086', 'subsysVendorID': '1af4', 'description': '82371SB PIIX3 USB [Natoma/Triton II]', 'subsysDeviceID': '1100', 'type': 'USB', 'bus': 'pci', 'driver': 'uhci_hcd', 'deviceID': '7020'} </td> <td>[]</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '8086', 'subsysVendorID': '1af4', 'description': '82371SB PIIX3 ISA [Natoma/Triton II]', 'subsysDeviceID': '1100', 'type': 'OTHER', 'bus': 'pci', 'driver': 'Unknown', 'deviceID': '7000'} </td> <td>[]</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'VirtIO Device (virtio1)', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'virtio', 'driver': 'virtio_blk', 'deviceID': '0000'} </td> <td>[]</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'Platform Device (Fixed MDIO bus.0)', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'platform', 'driver': 'Unknown', 'deviceID': '0000'} </td> <td>[]</td></tr><tr bgcolor=red> <td> Device </td> <td>{'vendorID': '0000', 'subsysVendorID': '0000', 'description': 'VirtIO Device (virtio2)', 'subsysDeviceID': '0000', 'type': 'None', 'bus': 'virtio', 'driver': 'virtio_balloon', 'deviceID': '0000'} </td> <td>[]</td></tr></table><h1>Disks</h1><table><tr> <td> Feature </td> <td> smolt </td> <td>lshw</td></tr><tr bgcolor=yellow> <td> Disk </td> <td>{'sector_size': 512, 'model': 'Virtio Block Device', 'phys_sector_size': 512, 'size': '10737418240'} </td> <td>{'sector_size': 512, 'model': 'Virtio Block Device', 'phys_sector_size': 512, 'size': '10737418240'}</td></tr></table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment