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,28 @@
{
"@odata.context": "/redfish/v1/$metadata#Processor.Processor",
"@odata.id": "/redfish/v1/Systems/1/Processors/1",
"@odata.type": "#Processor.v1_0_0.Processor",
"Description": "Processor",
"Id": "1",
"InstructionSet": "x86-64",
"Manufacturer": "Intel",
"MaxSpeedMHz": 4000,
"Model": "Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz",
"Name": "Processor1",
"ProcessorArchitecture": "x86",
"ProcessorId": {
"EffectiveFamily": "0x6",
"EffectiveModel": "0x3F",
"IdentificationRegisters": "0xBFEBFBFF000306F2",
"Step": "0x2",
"VendorId": "GenuineIntel"
},
"ProcessorType": "CPU",
"Socket": "CPU1",
"Status": {
"Health": "OK",
"State": "Enabled"
},
"TotalCores": 6,
"TotalThreads": 12
}
@@ -0,0 +1,28 @@
{
"@odata.context": "/redfish/v1/$metadata#Processor.Processor",
"@odata.id": "/redfish/v1/Systems/1/Processors/2",
"@odata.type": "#Processor.v1_0_0.Processor",
"Description": "Processor",
"Id": "2",
"InstructionSet": "x86-64",
"Manufacturer": "Intel",
"MaxSpeedMHz": 4000,
"Model": "Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz",
"Name": "Processor2",
"ProcessorArchitecture": "x86",
"ProcessorId": {
"EffectiveFamily": "0x6",
"EffectiveModel": "0x3F",
"IdentificationRegisters": "0xBFEBFBFF000306F2",
"Step": "0x2",
"VendorId": "GenuineIntel"
},
"ProcessorType": "CPU",
"Socket": "CPU2",
"Status": {
"Health": "OK",
"State": "Enabled"
},
"TotalCores": 6,
"TotalThreads": 12
}
@@ -0,0 +1,16 @@
{
"@odata.context": "/redfish/v1/$metadata#ProcessorCollection.ProcessorCollection",
"@odata.id": "/redfish/v1/Systems/1/Processors",
"@odata.type": "#ProcessorCollection.ProcessorCollection",
"Description": "Processors Collection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/Processors/1"
},
{
"@odata.id": "/redfish/v1/Systems/1/Processors/2"
}
],
"Members@odata.count": 2,
"Name": "Processors Collection"
}