Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PCI device information #62

Merged
merged 1 commit into from
Feb 17, 2023
Merged

Add PCI device information #62

merged 1 commit into from
Feb 17, 2023

Conversation

glimchb
Copy link
Member

@glimchb glimchb commented Feb 17, 2023

Signed-off-by: Boris Glimcher [email protected]

Signed-off-by: Boris Glimcher <[email protected]>
@codecov
Copy link

codecov bot commented Feb 17, 2023

Codecov Report

Merging #62 (e2fe144) into main (8d413e9) will increase coverage by 0.29%.
The diff coverage is 62.50%.

@@            Coverage Diff             @@
##             main      #62      +/-   ##
==========================================
+ Coverage   60.41%   60.71%   +0.29%     
==========================================
  Files           1        1              
  Lines          48       56       +8     
==========================================
+ Hits           29       34       +5     
- Misses         13       15       +2     
- Partials        6        7       +1     
Impacted Files Coverage Δ
pkg/inventory/inventory.go 60.71% <62.50%> (+0.29%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@glimchb
Copy link
Member Author

glimchb commented Feb 17, 2023

example from this CI run:

opi-smbios-server_1  | 2023/02/17 20:53:53 plugin serevr is &{{}}
opi-smbios-server_1  | 2023/02/17 20:53:53 server listening at [::]:50051
opi-smbios-server_1  | 2023/02/17 20:54:23 InventoryGet: Received from client: 
opi-smbios-server_1  | cpu (1 physical package, 2 cores, 2 hardware threads)
opi-smbios-server_1  | memory (7GB physical, 7GB usable)
opi-smbios-server_1  | chassis type=Desktop vendor=Microsoft Corporation serial=1420-5858-2120-5159-2654-2018-83 version=7.0
opi-smbios-server_1  | bios vendor=American Megatrends Inc. version=090008 date=12/07/2018
opi-smbios-server_1  | WARNING: Unable to read board_asset_tag: open /sys/class/dmi/id/board_asset_tag: no such file or directory
opi-smbios-server_1  | baseboard vendor=Microsoft Corporation serial=0000-0012-2333-3138-2154-6693-57 version=7.0 product=Virtual Machine
opi-smbios-server_1  | WARNING: Unable to read product_family: open /sys/class/dmi/id/product_family: no such file or directory
opi-smbios-server_1  | WARNING: Unable to read product_sku: open /sys/class/dmi/id/product_sku: no such file or directory
opi-smbios-server_1  | product family=unknown name=Virtual Machine vendor=Microsoft Corporation serial=0000-0000-3397-5089-8288-7734-09 uuid=a409b704-9f54-21[49](https://github.com/opiproject/opi-smbios-bridge/actions/runs/4207453968/jobs/7302265590#step:7:50)-a9c5-8613bcf7ad2d sku=unknown version=7.0
opi-smbios-server_1  | PCI=0000:00:00.0 -> driver: '' class: 'Bridge' vendor: 'Intel Corporation' product: '440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled)'
opi-smbios-server_1  | PCI=0000:00:07.0 -> driver: '' class: 'Bridge' vendor: 'Intel Corporation' product: '82371AB/EB/MB PIIX4 ISA'
opi-smbios-server_1  | PCI=0000:00:07.1 -> driver: 'ata_piix' class: 'Mass storage controller' vendor: 'Intel Corporation' product: '82371AB/EB/MB PIIX4 IDE'
opi-smbios-server_1  | PCI=0000:00:07.3 -> driver: '' class: 'Bridge' vendor: 'Intel Corporation' product: '82371AB/EB/MB PIIX4 ACPI'
opi-smbios-server_1  | PCI=0000:00:08.0 -> driver: 'hyperv_drm' class: 'Display controller' vendor: 'Microsoft Corporation' product: 'Hyper-V virtual VGA'

@glimchb glimchb marked this pull request as ready for review February 17, 2023 21:14
@glimchb glimchb requested a review from a team as a code owner February 17, 2023 21:14
@glimchb glimchb merged commit 7ffebed into opiproject:main Feb 17, 2023
@glimchb glimchb linked an issue Feb 17, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add PCIe info
1 participant