Unmodified files from DMTF Redfish-Publications (public-rackmount1, public-localstorage, public-telemetry), only those the tests use, each set with DMTF's BSD-3-Clause license and a COMMANDS.txt naming the source commit and request paths. conftest.py loads them by request path and serves a mockup over mocked HTTP, with a SessionService that hands out a token, for the transport tests.
133 lines
3.6 KiB
JSON
133 lines
3.6 KiB
JSON
{
|
|
"@odata.type": "#ComputerSystem.v1_29_0.ComputerSystem",
|
|
"Id": "1",
|
|
"Name": "My Computer System",
|
|
"SystemType": "Physical",
|
|
"AssetTag": "free form asset tag",
|
|
"Manufacturer": "Manufacturer Name",
|
|
"Model": "Model Name",
|
|
"SKU": "",
|
|
"SerialNumber": "2M220100SL",
|
|
"PartNumber": "",
|
|
"Description": "Description of server",
|
|
"UUID": "00000000-0000-0000-0000-000000000000",
|
|
"HostName": "web-srv344",
|
|
"Status": {
|
|
"State": "Enabled",
|
|
"Health": "OK",
|
|
"HealthRollup": "OK"
|
|
},
|
|
"IndicatorLED": "Off",
|
|
"PowerState": "On",
|
|
"Boot": {
|
|
"BootSourceOverrideEnabled": "Once",
|
|
"BootSourceOverrideMode": "UEFI",
|
|
"BootSourceOverrideTarget": "Pxe",
|
|
"BootSourceOverrideTarget@Redfish.AllowableValues": [
|
|
"None",
|
|
"Pxe",
|
|
"Floppy",
|
|
"Cd",
|
|
"Usb",
|
|
"Hdd",
|
|
"BiosSetup",
|
|
"Utilities",
|
|
"Diags",
|
|
"UefiTarget",
|
|
"SDCard",
|
|
"UefiHttp",
|
|
"UefiBootNext"
|
|
],
|
|
"UefiTargetBootSourceOverride": ""
|
|
},
|
|
"BiosVersion": "P79 v1.00 (09/20/2013)",
|
|
"ProcessorSummary": {
|
|
"Count": 8,
|
|
"LogicalProcessorCount": 256,
|
|
"Model": "Multi-Core Intel(R) Xeon(R) processor 7xxx Series",
|
|
"Status": {
|
|
"State": "Enabled",
|
|
"Health": "OK",
|
|
"HealthRollup": "OK"
|
|
}
|
|
},
|
|
"MemorySummary": {
|
|
"TotalSystemMemoryGiB": 16,
|
|
"MemoryMirroring": "System",
|
|
"Status": {
|
|
"State": "Enabled",
|
|
"Health": "OK",
|
|
"HealthRollup": "OK"
|
|
}
|
|
},
|
|
"TrustedModules": [
|
|
{
|
|
"Status": {
|
|
"State": "Enabled",
|
|
"Health": "OK"
|
|
},
|
|
"InterfaceType": "TPM2_0",
|
|
"FirmwareVersion": "3.1",
|
|
"FirmwareVersion2": "1",
|
|
"InterfaceTypeSelection": "None"
|
|
}
|
|
],
|
|
"HostWatchdogTimer": {
|
|
"FunctionEnabled": true,
|
|
"WarningAction": "DiagnosticInterrupt",
|
|
"WarningAction@Redfish.AllowableValues": [
|
|
"DiagnosticInterrupt",
|
|
"SMI",
|
|
"None"
|
|
],
|
|
"TimeoutAction": "ResetSystem",
|
|
"TimeoutAction@Redfish.AllowableValues": [
|
|
"ResetSystem",
|
|
"PowerCycle",
|
|
"PowerDown",
|
|
"None"
|
|
],
|
|
"Status": {
|
|
"State": "StandbyOffline"
|
|
}
|
|
},
|
|
"Processors": {
|
|
"@odata.id": "/redfish/v1/Systems/1/Processors"
|
|
},
|
|
"Memory": {
|
|
"@odata.id": "/redfish/v1/Systems/1/Memory"
|
|
},
|
|
"Links": {
|
|
"Chassis": [
|
|
{
|
|
"@odata.id": "/redfish/v1/Chassis/1"
|
|
}
|
|
],
|
|
"ManagedBy": [
|
|
{
|
|
"@odata.id": "/redfish/v1/Managers/1"
|
|
}
|
|
]
|
|
},
|
|
"Actions": {
|
|
"#ComputerSystem.Reset": {
|
|
"target": "/redfish/v1/Systems/1/Actions/ComputerSystem.Reset",
|
|
"@Redfish.ActionInfo": "/redfish/v1/Systems/1/ResetActionInfo"
|
|
}
|
|
},
|
|
"Oem": {
|
|
"Contoso": {
|
|
"@odata.type": "#Contoso.ComputerSystem",
|
|
"ProductionLocation": {
|
|
"FacilityName": "PacWest Production Facility",
|
|
"Country": "USA"
|
|
}
|
|
},
|
|
"Chipwise": {
|
|
"@odata.type": "#Chipwise.ComputerSystem",
|
|
"Style": "Executive"
|
|
}
|
|
},
|
|
"@odata.id": "/redfish/v1/Systems/1",
|
|
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
|
|
} |