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.
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"@odata.type": "#Drive.v1_22_0.Drive",
|
|
"Id": "3F5A8C54207B7233",
|
|
"Name": "Drive Sample",
|
|
"IndicatorLED": "Lit",
|
|
"Model": "C123",
|
|
"Revision": "100A",
|
|
"Status": {
|
|
"State": "Enabled",
|
|
"Health": "OK"
|
|
},
|
|
"CapacityBytes": 899527000064,
|
|
"FailurePredicted": false,
|
|
"Protocol": "SAS",
|
|
"MediaType": "HDD",
|
|
"Manufacturer": "Contoso",
|
|
"SerialNumber": "1234569",
|
|
"PartNumber": "C123-1111",
|
|
"Identifiers": [
|
|
{
|
|
"DurableNameFormat": "NAA",
|
|
"DurableName": "3F5A8C54207B7233"
|
|
}
|
|
],
|
|
"HotspareType": "None",
|
|
"EncryptionAbility": "SelfEncryptingDrive",
|
|
"EncryptionStatus": "Unlocked",
|
|
"RotationSpeedRPM": 15000,
|
|
"BlockSizeBytes": 512,
|
|
"CapableSpeedGbs": 12,
|
|
"NegotiatedSpeedGbs": 12,
|
|
"Links": {
|
|
"Volumes": [
|
|
{
|
|
"@odata.id": "/redfish/v1/Systems/437XR1138R2/Storage/1/Volumes/1"
|
|
}
|
|
]
|
|
},
|
|
"Actions": {
|
|
"#Drive.SecureErase": {
|
|
"target": "/redfish/v1/Chassis/1U/Drives/3F5A8C54207B7233/Actions/Drive.SecureErase"
|
|
}
|
|
},
|
|
"@odata.id": "/redfish/v1/Chassis/1U/Drives/3F5A8C54207B7233",
|
|
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
|
|
} |