diff options
author | John Edward Broadbent <jebr@google.com> | 2022-06-09 00:35:21 +0300 |
---|---|---|
committer | Ed Tanous <edtanous@google.com> | 2023-05-20 00:41:16 +0300 |
commit | e5029d880f8232d20e6dcac36728594f88ac0466 (patch) | |
tree | 55f2d4cb6136decd544ff95536556e7436ae1d03 /Redfish.md | |
parent | 1ee2db7fc901dd14cabe2b57c453ddb6483ec285 (diff) | |
download | bmcweb-e5029d880f8232d20e6dcac36728594f88ac0466.tar.xz |
redfish: Add EncryptionStatus to Drive
This change takes the locked, and EncryptionStatus properties from
Drives interfaces, and creates the redfish property EncryptionStatus.
Tested:
$ wget -qO- \
http://localhost:80/redfish/v1/Chassis/AgoraV2/Drives/mmcblk0
{
"@odata.context": "/redfish/v1/$metadata#Drive.Drive",
"@odata.id": "/redfish/v1/Chassis/Drives/mmcblk0",
"@odata.type": "#Drive.v1_7_0.Drive",
"CapacityBytes": 15634268160,
"EncryptionStatus": "Unencrypted",
"Id": "mmcblk0",
"Links": {
"Chassis": "Enabled"
},
"Name": "mmcblk0",
"Status": {
"State": "Enabled"
}
}
Running the redfish Validator did not show any errors from this change.
Change-Id: Ic7b58614466535b3fd6b8c097050d3e9c8de8203
Signed-off-by: John Edward Broadbent <jebr@google.com>
Signed-off-by: Ed Tanous <edtanous@google.com>
Diffstat (limited to 'Redfish.md')
-rw-r--r-- | Redfish.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Redfish.md b/Redfish.md index 1cdce980aa..aa5ab895de 100644 --- a/Redfish.md +++ b/Redfish.md @@ -904,6 +904,7 @@ other. #### Storage - CapacityBytes +- EncryptionStatus - Links - Status |