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

[UNKNOWN]: Request error: No network adapter or interface data returned for API URL '/redfish/v1/Systems/***/NetworkInterfaces' #147

Open
lgmu opened this issue Jan 8, 2025 · 1 comment

Comments

@lgmu
Copy link

lgmu commented Jan 8, 2025

Hi!

happy new year! We have a problem with a Cisco BE6H-M5-K9, this does not seem to have any built-in network adapters but instead PCIe ones.

This results in
[UNKNOWN]: Request error: No network adapter or interface data returned for API URL '/redfish/v1/Systems/***/NetworkInterfaces'

https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/c/sw/api/4_1/b_Cisco_IMC_REST_API_guide_4_1/b_Cisco_IMC_api_3x60_chapter_010.html#Cisco_Reference.dita_4ba53264-f0ca-4152-bcbb-15b8a195c221

When you follow this guide, you end up with something like this:

"PCIeDevices":  [{
                        "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/1"
                }, {
                        "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/MRAID"
                }, {
                        "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/L"
                }],
        "Model":        "BE6H-M5-K9",
        "PCIeFunctions":        [{
                        "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/1/PCIeFunctions/0"
                }, {
                        "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/MRAID/PCIeFunctions/0"
                }, {
                        "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/L/PCIeFunctions/0"
                }],
                
...

{
        "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/1",
        "@odata.type":  "#PCIeDevice.v1_4_0.PCIeDevice",
        "@odata.context":       "/redfish/v1/$metadata#PCIeDevice.PCIeDevice",
        "PCIeFunctions":        {
                "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/1/PCIeFunctions"
        },
        "Links":        {
                "Chassis":      [{
                                "@odata.id":    "/redfish/v1/Chassis/1"
                        }],
                "PCIeFunctions":        [{
                                "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/1/PCIeFunctions/0"
                        }],
                "[email protected]":    1
        },
        "Name": "Intel i350 Quad Port 1Gb Adapter",
        "Description":  "This gives information of PCIeDevices on the system",
        "Id":   "1"
}

...

{
        "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/1/PCIeFunctions/0",
        "@odata.type":  "#PCIeFunction.v1_2_3.PCIeFunction",
        "@odata.context":       "/redfish/v1/$metadata#PCIeFunction.PCIeFunction",
        "Links":        {
                "PCIeDevice":   {
                        "@odata.id":    "/redfish/v1/Systems/***/PCIeDevices/1"
                },
                "EthernetInterfaces":   [{
                                "@odata.id":    "/redfish/v1/Systems/***/EthernetInterfaces/1.3"
                        }, {
                                "@odata.id":    "/redfish/v1/Systems/***/EthernetInterfaces/1.4"
                        }, {
                                "@odata.id":    "/redfish/v1/Systems/***/EthernetInterfaces/1.1"
                        }, {
                                "@odata.id":    "/redfish/v1/Systems/***/EthernetInterfaces/1.2"
                        }],
                "[email protected]":       4,
                "StorageControllers":   [],
                "Drives":       [],
                "[email protected]":       0,
                "[email protected]":   0,
                "NetworkDeviceFunctions":       [],
                "[email protected]":   0
        },
        "SubsystemId":  "0x00b9",
        "SubsystemVendorId":    "0x1137",
        "Description":  "This gives information of PCIeFunctions on the system",
        "Id":   "1",
        "Name": "Intel i350 Quad Port 1Gb Adapter",
        "DeviceId":     "0x1521",
        "VendorId":     "0x8086"
}

But this does not contain any status/health information at all so I'm not sure how to work with this, do you have any ideas?

Thanks!

@bb-Ricardo
Copy link
Owner

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

No branches or pull requests

2 participants