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).
113 lines
2.2 KiB
JSON
113 lines
2.2 KiB
JSON
{
|
|
"@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
|
|
"@odata.id": "/redfish/v1/Systems/1",
|
|
"@odata.type": "#ComputerSystem.v1_3_0.ComputerSystem",
|
|
"Actions": {
|
|
"#ComputerSystem.Reset": {
|
|
"ResetType@Redfish.AllowableValues": [
|
|
"On",
|
|
"ForceOff",
|
|
"GracefulShutdown",
|
|
"GracefulRestart",
|
|
"ForceRestart",
|
|
"Nmi",
|
|
"ForceOn"
|
|
],
|
|
"target": "/redfish/v1/Systems/1/Actions/ComputerSystem.Reset"
|
|
}
|
|
},
|
|
"BiosVersion": "3.1c",
|
|
"Boot": {
|
|
"BootSourceOverrideEnabled": "Disabled",
|
|
"BootSourceOverrideTarget": "None",
|
|
"BootSourceOverrideTarget@Redfish.AllowableValues": [
|
|
"None",
|
|
"Pxe",
|
|
"Hdd",
|
|
"Diags",
|
|
"CD/DVD",
|
|
"BiosSetup",
|
|
"FloppyRemovableMedia",
|
|
"UsbKey",
|
|
"UsbHdd",
|
|
"UsbFloppy",
|
|
"UsbCd",
|
|
"UefiUsbKey",
|
|
"UefiCd",
|
|
"UefiHdd",
|
|
"UefiUsbHdd",
|
|
"UefiUsbCd"
|
|
]
|
|
},
|
|
"Description": "Description of server",
|
|
"EthernetInterfaces": {
|
|
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces"
|
|
},
|
|
"Id": "1",
|
|
"IndicatorLED": "Off",
|
|
"Links": {
|
|
"Chassis": [
|
|
{
|
|
"@odata.id": "/redfish/v1/Chassis/1"
|
|
}
|
|
],
|
|
"ManagedBy": [
|
|
{
|
|
"@odata.id": "/redfish/v1/Managers/1"
|
|
}
|
|
],
|
|
"Oem": {}
|
|
},
|
|
"LogServices": {
|
|
"@odata.id": "/redfish/v1/Systems/1/LogServices"
|
|
},
|
|
"Manufacturer": "Supermicro",
|
|
"Memory": {
|
|
"@odata.id": "/redfish/v1/Systems/1/Memory"
|
|
},
|
|
"MemorySummary": {
|
|
"Status": {
|
|
"Health": "OK",
|
|
"State": "Enabled"
|
|
},
|
|
"TotalSystemMemoryGiB": 128
|
|
},
|
|
"Model": "Super Server",
|
|
"Name": "System",
|
|
"Oem": {
|
|
"Supermicro": {
|
|
"@odata.type": "#SmcSystemExtensions.v1_0_0.System",
|
|
"SmcNodeManager": {
|
|
"@odata.id": "/redfish/v1/Systems/1/SmcNodeManager"
|
|
}
|
|
}
|
|
},
|
|
"PartNumber": "X10DRL-i",
|
|
"PowerState": "On",
|
|
"ProcessorSummary": {
|
|
"Count": 2,
|
|
"Model": "Intel(R) Xeon(R) processor",
|
|
"Status": {
|
|
"Health": "OK",
|
|
"State": "Enabled"
|
|
}
|
|
},
|
|
"Processors": {
|
|
"@odata.id": "/redfish/v1/Systems/1/Processors"
|
|
},
|
|
"SKU": "Default string",
|
|
"SerialNumber": "ZM000S000001",
|
|
"SimpleStorage": {
|
|
"@odata.id": "/redfish/v1/Systems/1/SimpleStorage"
|
|
},
|
|
"Status": {
|
|
"Health": "Critical",
|
|
"State": "Enabled"
|
|
},
|
|
"Storage": {
|
|
"@odata.id": "/redfish/v1/Systems/1/Storage"
|
|
},
|
|
"SystemType": "Physical",
|
|
"UUID": "00000000-0000-0000-0000-00005E00534C"
|
|
}
|