code: def __parse_drac(output):
      '''
      Parse Dell DRAC output
      '''
      drac = {}
      section = ''
  
      for i in output.splitlines():
          if i.strip().endswith(':') and '=' not in i:
              section = i[0:-1]
              drac[section] = {}
          if i.rstrip() and '=' in i:
              if section in drac:
                  drac[section].update(dict(
                      [[prop.strip() for prop in i.split('=')]]
                  ))
              else:
                  section = i.strip()
                  if section not in drac and section:
                      drac[section] = {}
  
      return draf __parse_drac(output):
      '''
      Parse Dell DRAC output
      '''
      drac = {}
      section = ''
  
      for i in output.splitlines():
          if i.strip().endswith(':') and '=' not in i:
              section = i[0:-1]
              drac[section] = {}
          if i.rstrip() and '=' in i:
              if section in drac:
                  drac[section].update(dict(
                      [[prop.strip() for prop in i.split('=')]]
                  ))
              else:
                  section = i.strip()
                  if section not in drac and section:
                      drac[section] = {}
  
      return drac
docs: Parse Dell DRAC output