DM-
SV01 Server ● BMC User Manual ● Rev. 2.1
77
Function
Detailed Inventory - storage devices
Operation
GET
URI
https://<BMC_IP>/redfish/v1/Systems/system/Storage/1/Drives/<nvme>
Payload
none
Header
X-Auth-
Token: “<token>”
Expected
response
200 OK
Reply
Please, see the example below.
As an example, the excerpt below shows the data provided by the redfish when using the GET request
to retrieve information about the storage device named as “nvme0” (onboard M.2 nvme disk). The
redfish provides detailed information about the storage device, such as manufacturer, model, serial
number, etc.
{
"@odata.id": "/redfish/v1/Systems/system/Storage/1/Drives/nvme0",
"@odata.type": "#Drive.v1_7_0.Drive",
"Id": "nvme0",
"Links": {
"Chassis": {
"@odata.id": "/redfish/v1/Chassis/chassis"
}
},
"Manufacturer": "VID 126F SSVID 126F",
"Model": "FLEXXON M.2 ",
"Name": "nvme0",
"PartNumber": "",
"SerialNumber": "F210630OS14600092",
"Status": {
"Health": "OK",
"HealthRollup": "OK",
"State": "Enabled"
}
}
Once the operation is successful, it returns the response “200 OK” and the inventory information is
retrieved.
If the storage device is not present in the system, the field "State” is shown as “Disabled” and no
inventory information is retrieved.