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 RIS it is read-only.
          :raises: IloError, on an error from iLO.
          :raises: IloCommandNotSupportedError, if the command is not supported
                   on the server.
          """
          # CONNECT is a RIBCL call. There is no such property to set in RIS.
          if boot_option == 'CONNECT':
              return
  
          boot_option_map = {'BOOT_ONCE': True,
                             'BOOT_ALWAYS': False,
                             'NO_BOOT': False
                             }
  
          if boot_option not in boot_option_map:
              msg = ('Virtualmedia boot option "' + boot_option + '" is '
                     'invalid.')
              raise exception.IloInvalidInputError(msg)
  
          response, vm_device_uri = self._get_vm_device_status(device)
  
          # Update required property
          vm_settings = {}
          vm_settings['Oem'] = (
              {'Hp': {'BootOnNextServerReset': boot_option_map[boot_option]}})
  
          # perform the patch operation
          status, headers, response = self._rest_patch(
              vm_device_uri, None, vm_settings)
  
          if status >= 300:
              msg = self._get_extended_error(response)
              raise exception.IloError(msg)