docs: def set_vm_status(self, device='FLOPPY',
                        boot_option='BOOT_ONCE', write_protect='YES'):
          """Sets the Virtual Media drive status
  
          It sets the boot option for virtual media device.
          Note: boot option can be set only for CD device.
  
          :param device: virual media device
          :param boot_option: boot option to set on the virtual media device
          :param write_protect: set the write protect flag on the vmedia device
                                Note: It's ignored. In Redfish it is read-only.
          :raises: IloError, on an error from iLO.
          :raises: IloInvalidInputError, if the device is not valid.
          """
          # CONNECT is a RIBCL call. There is no such property to set in Redfish.
          if boot_option == 'CONNECT':
              return
  
          self._validate_virtual_media(device)
  
          if boot_option not in BOOT_OPTION_MAP:
              msg = (self._("Virtual media boot option '%s' is invalid.")
                     % boot_option)
              LOG.debug(msg)
              raise exception.IloInvalidInputError(msg)
  
          manager = self._get_sushy_manager(PROLIANT_MANAGER_ID)
          try:
              vmedia_device = (
                  manager.virtual_media.get_member_device(
                      VIRTUAL_MEDIA_MAP[device]))
              vmedia_device.set_vm_status(BOOT_OPTION_MAP[boot_option])
          except sushy.exceptions.SushyError as e:
              msg = (self._("The Redfish controller failed to set the virtual "
                            "media status for '%(device)s'. Error %(error)s") %
                     {'device': device, 'error': str(e)})
              LOG.debug(msg)
              raise exception.IloError(msg)