code: def _parse_fmdump(output):
      '''
      Parses fmdump output
      '''
      result = []
      output = output.split("\n")
  
      # extract header
      header = [field for field in output[0].lower().split(" ") if field]
      del output[0]
  
      # parse entries
      for entry in output:
          entry = [item for item in entry.split(" ") if item]
          entry = ['{0} {1} {2}'.format(entry[0], entry[1], entry[2])] + entry[3:]
  
          # prepare faults
          fault = OrderedDict()
          for field in header:
              fault[field] = entry[header.index(field)]
  
          result.append(fault)
  
      return resulf _parse_fmdump(output):
      '''
      Parses fmdump output
      '''
      result = []
      output = output.split("\n")
  
      # extract header
      header = [field for field in output[0].lower().split(" ") if field]
      del output[0]
  
      # parse entries
      for entry in output:
          entry = [item for item in entry.split(" ") if item]
          entry = ['{0} {1} {2}'.format(entry[0], entry[1], entry[2])] + entry[3:]
  
          # prepare faults
          fault = OrderedDict()
          for field in header:
              fault[field] = entry[header.index(field)]
  
          result.append(fault)
  
      return result
docs: Parses fmdump output