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,51 @@
{
"@odata.context": "/redfish/v1/$metadata#Chassis.Chassis",
"@odata.id": "/redfish/v1/Chassis/1",
"@odata.type": "#Chassis.v1_4_0.Chassis",
"AssetTag": "",
"ChassisType": "RackMount",
"Id": "1",
"IndicatorLED": "Off",
"Links": {
"ComputerSystems": [
{
"@odata.id": "/redfish/v1/Systems/1"
}
],
"ManagedBy": [
{
"@odata.id": "/redfish/v1/Managers/1"
}
]
},
"Manufacturer": "Supermicro",
"Model": "X10DRL-i",
"Name": "Computer System Chassis",
"Oem": {
"Supermicro": {
"@odata.type": "#SmcChassisExtensions.v1_0_0.Chassis",
"BoardID": "0x831",
"BoardSerialNumber": "ZM000S000001",
"GUID": "43303031-4D53-0CC4-7A72-6F1300000000"
}
},
"PartNumber": "",
"PhysicalSecurity": {
"IntrusionSensor": "Normal",
"IntrusionSensorNumber": 170,
"IntrusionSensorReArm": "Manual"
},
"Power": {
"@odata.id": "/redfish/v1/Chassis/1/Power"
},
"SKU": "",
"SerialNumber": "",
"Status": {
"Health": "OK",
"HealthRollup": "OK",
"State": "Enabled"
},
"Thermal": {
"@odata.id": "/redfish/v1/Chassis/1/Thermal"
}
}