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,20 @@
{
"error": {
"@Message.ExtendedInfo": [
{
"Message": "Not licensed to perform this request. The following licenses DCMS were needed",
"MessageArgs": [
"DCMS "
],
"MessageId": "Base.v1_4_0.OemLicenseNotPassed",
"RelatedProperties": [
""
],
"Resolution": "Please activate at least one license in above message.",
"Severity": "Warning"
}
],
"Message": "A general error has occurred. See ExtendedInfo for more information.",
"code": "Base.v1_4_0.GeneralError"
}
}
@@ -0,0 +1,16 @@
{
"@odata.context": "/redfish/v1/$metadata#VirtualMediaCollection.VirtualMediaCollection",
"@odata.id": "/redfish/v1/Managers/1/VM1",
"@odata.type": "#VirtualMediaCollection.VirtualMediaCollection",
"Description": "Collection of Virtual Media for this System",
"Members@odata.count": 0,
"Name": "Virtual Media Collection",
"Oem": {
"Supermicro": {
"@odata.type": "#SmcVirtualMediaExtensions.v1_0_0.VirtualMediaCollection",
"VirtualMediaConfig": {
"@odata.id": "/redfish/v1/Managers/1/VM1/CfgCD"
}
}
}
}