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

Support PCI/PCIe Net Device #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gtossk2
Copy link
Contributor

@gtossk2 gtossk2 commented Jan 11, 2024

Add a PCI/PCIe type device to discover interface name by vendor, device, subsystem vendor and subsystem device id.
Tested on mockup system with below dmidecode output. Fix issue #6

dmidecode output :

/ # dmidecode -t 42
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x000F, DMI type 42, 122 bytes
Management Controller Host Interface
        Host Interface Type: Network
        Device Type: PCI/PCIe
        VendorID: 0x10ec
        DeviceID: 0x8168
        SubVendorID: 0x7470
        SubDeviceID: 0x3468
        Protocol ID: 04 (Redfish over IP)
                Service UUID: b70e5a79-c6d6-4267-b02e-9108c989e287
                Host IP Assignment Type: Static
                Host IP Address Format: IPv4
                IPv4 Address: 192.168.20.5
                IPv4 Mask: 255.255.255.0
                Redfish Service IP Discovery Type: Static
                Redfish Service IP Address Format: IPv4
                IPv4 Redfish Service Address: 192.168.20.1
                IPv4 Redfish Service Mask: 255.255.255.0
                Redfish Service Port: 443
                Redfish Service Vlan: 0
                Redfish Service Hostname: 192.168.20.1

Add a PCI/PCIe type device to discover interface name by vendor, device,
subsystem vendor and subsystem device id.

Signed-off-by: John Chung <[email protected]>
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.

1 participant