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.
48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"@odata.type": "#SimpleStorage.v1_3_2.SimpleStorage",
|
|
"Id": "1",
|
|
"Name": "Simple Storage Controller",
|
|
"Description": "System SATA",
|
|
"UefiDevicePath": "Acpi(PNP0A03,0)/Pci(1F|1)/Ata(Primary,Master)/HD(Part3, Sig00110011)",
|
|
"Status": {
|
|
"State": "Enabled",
|
|
"Health": "OK",
|
|
"HealthRollup": "Warning"
|
|
},
|
|
"Devices": [
|
|
{
|
|
"Name": "SATA Bay 1",
|
|
"Manufacturer": "Contoso",
|
|
"Model": "3000GT8",
|
|
"CapacityBytes": 8000000000000,
|
|
"Status": {
|
|
"State": "Enabled",
|
|
"Health": "OK"
|
|
}
|
|
},
|
|
{
|
|
"Name": "SATA Bay 2",
|
|
"Manufacturer": "Contoso",
|
|
"Model": "3000GT7",
|
|
"CapacityBytes": 4000000000000,
|
|
"Status": {
|
|
"State": "Enabled",
|
|
"Health": "Warning"
|
|
}
|
|
},
|
|
{
|
|
"Name": "SATA Bay 3",
|
|
"Status": {
|
|
"State": "Absent"
|
|
}
|
|
},
|
|
{
|
|
"Name": "SATA Bay 4",
|
|
"Status": {
|
|
"State": "Absent"
|
|
}
|
|
}
|
|
],
|
|
"@odata.id": "/redfish/v1/Systems/437XR1138R2/SimpleStorage/1",
|
|
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
|
|
} |