| commit | 42b49c17c211f5121a2c0782f28f8e33b9fa508f | [log] [tgz] |
|---|---|---|
| author | James Feist <james.feist@linux.intel.com> | Tue Oct 29 15:18:43 2019 -0700 |
| committer | James Feist <james.feist@linux.intel.com> | Wed Oct 30 09:24:53 2019 -0700 |
| tree | bc09eeabb59925bbada27db111b84982efd8bbc6 | |
| parent | 8675a91ba6951cb9338a138cab73a7b792158804 [diff] |
Update status in Redfish
Create associations when failed to change the
status to Warning.
Tested:
{
"@odata.context": "/redfish/v1/$metadata#Drive.Drive",
"@odata.id": "/redfish/v1/Systems/system/Storage/1/Drive/Drive_1",
"@odata.type": "#Drive.v1_7_0.Drive",
"Status": {
"Health": "Warning",
"HealthRollup": "Warning",
"State": "Enabled"
}
}
Change-Id: I3e5f87dc1253e8f24396a924e79d5474b0e5754a
Signed-off-by: James Feist <james.feist@linux.intel.com>