docs: def list_slotnames(host=None,
                     admin_username=None,
                     admin_password=None):
      '''
      List the names of all slots in the chassis.
  
      host
          The chassis host.
  
      admin_username
          The username used to access the chassis.
  
      admin_password
          The password used to access the chassis.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call --local dracr.list_slotnames host=111.222.333.444
              admin_username=root admin_password=secret
  
      '''
      slotraw = __execute_ret('getslotname',
                              host=host, admin_username=admin_username,
                              admin_password=admin_password)
  
      if slotraw['retcode'] != 0:
          return slotraw
      slots = {}
      stripheader = True
      for l in slotraw['stdout'].splitlines():
          if l.startswith('<'):
              stripheader = False
              continue
          if stripheader:
              continue
          fields = l.split()
          slots[fields[0]] = {}
          slots[fields[0]]['slot'] = fields[0]
          if len(fields) > 1:
              slots[fields[0]]['slotname'] = fields[1]
          else:
              slots[fields[0]]['slotname'] = ''
          if len(fields) > 2:
              slots[fields[0]]['hostname'] = fields[2]
          else:
              slots[fields[0]]['hostname'] = ''
  
      return slots