fix: read a Supermicro X10 with only the OOB license over Redfish (0.3.1)

First run against real hardware over Redfish: an X10DRL-i (BMC 3.91) with
SFT-OOB-LIC. Its Redfish tree is recorded under
tests/fixtures/supermicro-x10drl-i-3.91/redfish, scrubbed.

- A resource refused for want of a further license (403 OemLicenseNotPassed)
  no longer fails the getter. Storage then falls back to SimpleStorage. The
  firmware list falls back to the BMC and BIOS versions when UpdateService
  is withheld.
- get_device_warnings reports bmc_license_partial with the licenses and the
  withheld parts (drives, firmware inventory).
- A placeholder system model ("Super Server") is replaced by the board
  (PartNumber, else the chassis model).
This commit is contained in:
Christian Manivong committed 2026-10-17 09:32:09 +02:00
1 parent 6c60f7ac60
commit adf152ee12
78 files changed
+3237 -24

No files matched your search

@@ -0,0 +1,15 @@
{
"@odata.context": "/redfish/v1/$metadata#EthernetInterface.EthernetInterface",
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/1",
"@odata.type": "#EthernetInterface.v1_0_0.EthernetInterface",
"Description": "OnBoard #1",
"FQDN": "",
"Id": "1",
"MACAddress": "00:00:5e:00:53:4c",
"Name": "OnBoard LAN 1",
"SpeedMbps": 0,
"Status": {
"Health": "OK",
"State": "Disabled"
}
}
@@ -0,0 +1,15 @@
{
"@odata.context": "/redfish/v1/$metadata#EthernetInterface.EthernetInterface",
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/2",
"@odata.type": "#EthernetInterface.v1_0_0.EthernetInterface",
"Description": "OnBoard #2",
"FQDN": "",
"Id": "2",
"MACAddress": "00:00:5e:00:53:4d",
"Name": "OnBoard LAN 2",
"SpeedMbps": 0,
"Status": {
"Health": "OK",
"State": "Disabled"
}
}
@@ -0,0 +1,16 @@
{
"@odata.context": "/redfish/v1/$metadata#EthernetInterfaceCollection.EthernetInterfaceCollection",
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces",
"@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
"Description": "Simple Network Collection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/1"
},
{
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/2"
}
],
"Members@odata.count": 2,
"Name": "Ethernet Network Interface Collection"
}