summaryrefslogtreecommitdiff
path: root/include/vm_websocket.hpp
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2019-10-22 02:10:49 +0300
committerJames Feist <james.feist@linux.intel.com>2019-10-24 02:18:58 +0300
commit22984074fa0ec13967fe95b93282de2294411c6b (patch)
tree54020d0215697049c9694b08a1f2c3cdeaf00d03 /include/vm_websocket.hpp
parenta25aeccf45933dbccfd68c633d0ae13ddd3e1962 (diff)
downloadbmcweb-22984074fa0ec13967fe95b93282de2294411c6b.tar.xz
Add Rebuilding to Drives
When the xyz.openbmc_project.Drive.State has rebuilding set true, make the state Updating. Tested: { "@odata.context": "/redfish/v1/$metadata#Drive.Drive", "@odata.id": "/redfish/v1/Systems/system/Storage/1/Drive/Drive_1", "@odata.type": "#Drive.v1_2_0.Drive", "Id": "Drive_1", "Manufacturer": "INTEL", "Model": "P4800X", "Name": "Drive_1", "PartNumber": "INTEL SSDPE21K375GA", "SerialNumber": "PHKE722600NL375AGN", "Status": { "Health": "OK", "HealthRollup": "OK", "State": "Updating" } } Change-Id: I401e5a8c416d969831cebde8b5b0723f41c3e1c7 Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'include/vm_websocket.hpp')
0 files changed, 0 insertions, 0 deletions