docs: def _get_vm_device_status(self,  device='FLOPPY'):
          """Returns the given virtual media device status and device URI
  
          :param  device: virtual media device to be queried
          :returns json format virtual media device status and its URI
          :raises: IloError, on an error from iLO.
          :raises: IloCommandNotSupportedError, if the command is not supported
                   on the server.
          """
          valid_devices = {'FLOPPY': 'floppy',
                           'CDROM': 'cd'}
  
          # Check if the input is valid
          if device not in valid_devices:
                  raise exception.IloInvalidInputError(
                      "Invalid device. Valid devices: FLOPPY or CDROM.")
  
          manager, uri = self._get_ilo_details()
          try:
              vmedia_uri = manager['links']['VirtualMedia']['href']
          except KeyError:
              msg = ('"VirtualMedia" section in Manager/links does not exist')
              raise exception.IloCommandNotSupportedError(msg)
  
          for status, hds, vmed, memberuri in self._get_collection(vmedia_uri):
              status, headers, response = self._rest_get(memberuri)
              if status != 200:
                  msg = self._get_extended_error(response)
                  raise exception.IloError(msg)
  
              if (valid_devices[device] in
                 [item.lower() for item in response['MediaTypes']]):
                  vm_device_uri = response['links']['self']['href']
                  return response, vm_device_uri
  
          # Requested device not found
          msg = ('Virtualmedia device "' + device + '" is not'
                 ' found on this system.')
          raise exception.IloError(msg)