Skip to content
New issue

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

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

Already on GitHub? # to your account

PCI: fill the proto #63

Merged
merged 1 commit into from
Feb 17, 2023
Merged

PCI: fill the proto #63

merged 1 commit into from
Feb 17, 2023

Conversation

glimchb
Copy link
Member

@glimchb glimchb commented Feb 17, 2023

Signed-off-by: Boris Glimcher Boris.Glimcher@emc.com

@glimchb glimchb linked an issue Feb 17, 2023 that may be closed by this pull request
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
@glimchb glimchb marked this pull request as ready for review February 17, 2023 23:41
@glimchb glimchb requested a review from a team as a code owner February 17, 2023 23:41
@codecov
Copy link

codecov bot commented Feb 17, 2023

Codecov Report

Merging #63 (01a9892) into main (fb59398) will increase coverage by 1.35%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
+ Coverage   60.71%   62.06%   +1.35%     
==========================================
  Files           1        1              
  Lines          56       58       +2     
==========================================
+ Hits           34       36       +2     
  Misses         15       15              
  Partials        7        7              
Impacted Files Coverage Δ
pkg/inventory/inventory.go 62.06% <100.00%> (+1.35%) ⬆️

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

from this CI job this is how it looks like:

opi-smbios-test_1    | connecting to opi-smbios-server:50051
opi-smbios-test_1    | {
opi-smbios-test_1    |  "bios": {
opi-smbios-test_1    |   "vendor": "American Megatrends Inc.",
opi-smbios-test_1    |   "version": "090008",
opi-smbios-test_1    |   "date": "12/07/2018"
opi-smbios-test_1    |  },
opi-smbios-test_1    |  "system": {
opi-smbios-test_1    |   "family": "unknown",
opi-smbios-test_1    |   "name": "Virtual Machine",
opi-smbios-test_1    |   "vendor": "Microsoft Corporation",
opi-smbios-test_1    |   "serialNumber": "0000-0011-0972-2080-1880-1477-11",
opi-smbios-test_1    |   "uuid": "863f019a-2412-ff46-9691-0e51c154df13",
opi-smbios-test_1    |   "sku": "unknown",
opi-smbios-test_1    |   "version": "7.0"
opi-smbios-test_1    |  },
opi-smbios-test_1    |  "baseboard": {
opi-smbios-test_1    |   "assetTag": "unknown",
opi-smbios-test_1    |   "serialNumber": "0000-0010-8494-6872-1610-9401-79",
opi-smbios-test_1    |   "vendor": "Microsoft Corporation",
opi-smbios-test_1    |   "version": "7.0",
opi-smbios-test_1    |   "product": "Virtual Machine"
opi-smbios-test_1    |  },
opi-smbios-test_1    |  "chassis": {
opi-smbios-test_1    |   "assetTag": "7783-7084-3265-9085-8269-3286-77",
opi-smbios-test_1    |   "serialNumber": "0705-0166-0454-9331-4969-7542-59",
opi-smbios-test_1    |   "type": "3",
opi-smbios-test_1    |   "typeDescription": "Desktop",
opi-smbios-test_1    |   "vendor": "Microsoft Corporation",
opi-smbios-test_1    |   "version": "7.0"
opi-smbios-test_1    |  },
opi-smbios-test_1    |  "processor": {
opi-smbios-test_1    |   "totalCores": 2,
opi-smbios-test_1    |   "totalThreads": 2
opi-smbios-test_1    |  },
opi-smbios-test_1    |  "memory": {
opi-smbios-test_1    |   "totalPhysicalBytes": "7516192768",
opi-smbios-test_1    |   "totalUsableBytes": "7281278976"
opi-smbios-test_1    |  },
opi-smbios-test_1    |  "pci": [
opi-smbios-test_1    |   {
opi-smbios-test_1    |    "address": "0000:00:00.0",
opi-smbios-test_1    |    "vendor": "Intel Corporation",
opi-smbios-test_1    |    "product": "440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled)",
opi-smbios-test_1    |    "revision": "0x03",
opi-smbios-test_1    |    "subsystem": "unknown",
opi-smbios-test_1    |    "class": "Bridge",
opi-smbios-test_1    |    "subclass": "Host bridge"
opi-smbios-test_1    |   },
opi-smbios-test_1    |   {
opi-smbios-test_1    |    "address": "0000:00:07.0",
opi-smbios-test_1    |    "vendor": "Intel Corporation",
opi-smbios-test_1    |    "product": "8[23](https://github.com/opiproject/opi-smbios-bridge/actions/runs/4208453832/jobs/7304480909#step:7:24)71AB/EB/MB PIIX4 ISA",
opi-smbios-test_1    |    "revision": "0x01",
opi-smbios-test_1    |    "subsystem": "unknown",
opi-smbios-test_1    |    "class": "Bridge",
opi-smbios-test_1    |    "subclass": "ISA bridge"
opi-smbios-test_1    |   },
opi-smbios-test_1    |   {
opi-smbios-test_1    |    "driver": "ata_piix",
opi-smbios-test_1    |    "address": "0000:00:07.1",
opi-smbios-test_1    |    "vendor": "Intel Corporation",
opi-smbios-test_1    |    "product": "82371AB/EB/MB PIIX4 IDE",
opi-smbios-test_1    |    "revision": "0x01",
opi-smbios-test_1    |    "subsystem": "unknown",
opi-smbios-test_1    |    "class": "Mass storage controller",
opi-smbios-test_1    |    "subclass": "IDE interface"
opi-smbios-test_1    |   },
opi-smbios-test_1    |   {
opi-smbios-test_1    |    "address": "0000:00:07.3",
opi-smbios-test_1    |    "vendor": "Intel Corporation",
opi-smbios-test_1    |    "product": "82[37](https://github.com/opiproject/opi-smbios-bridge/actions/runs/4208453832/jobs/7304480909#step:7:38)1AB/EB/MB PIIX4 ACPI",
opi-smbios-test_1    |    "revision": "0x02",
opi-smbios-test_1    |    "subsystem": "unknown",
opi-smbios-test_1    |    "class": "Bridge",
opi-smbios-test_1    |    "subclass": "Bridge"
opi-smbios-test_1    |   },
opi-smbios-test_1    |   {
opi-smbios-test_1    |    "driver": "hyperv_drm",
opi-smbios-test_1    |    "address": "0000:00:08.0",
opi-smbios-test_1    |    "vendor": "Microsoft Corporation",
opi-smbios-test_1    |    "product": "Hyper-V virtual VGA",
opi-smbios-test_1    |    "revision": "0x00",
opi-smbios-test_1    |    "subsystem": "unknown",
opi-smbios-test_1    |    "class": "Display controller",
opi-smbios-test_1    |    "subclass": "VGA compatible controller"
opi-smbios-test_1    |   }
opi-smbios-test_1    |  ]
opi-smbios-test_1    | }
opi-smbios-test_1    | Rpc succeeded with OK status

@glimchb glimchb merged commit eaa3fd5 into opiproject:main Feb 17, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add PCIe info
1 participant