dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
335 stars 163 forks source link

[FEATURE]: Add support for encrypting virtual disk for iDRAC FW < 6.00.00.00 #433

Closed anupamaloke closed 1 year ago

anupamaloke commented 2 years ago

Describe the solution you'd like redfish_storage_volume and/or idrac_redfish_storage_controller module should support encyrpting of volumes even for firmware version < 6.00.00.00

With FW version 6.00.00.00, support has been added to encrypt the VD using by passing in encrypted: True in the body of the standard POST operation itself. However, the iDRAC 9 with FW version < 6.00.00.00 requires two steps for encrypting the virtual drive while creating or modifying the virtual drive:

  1. Create the virtual drive using standard POST HTTP call to Redfish URI
  2. Encrypt the VD by using the OEM extension /redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellRaidService/Actions/DellRaidService.LockVirtualDisk .

Describe alternatives you've considered Using ansible.builtin.uri module to make a direct REST API call.

Additional context Describe any relevant context or add any relevant screenshots about the feature request.

Community Note

anupamaloke commented 1 year ago

Closed by #451