code: def _aix_iqn():
      '''
      Return iSCSI IQN from an AIX host.
      '''
      ret = []
  
      aix_cmd = 'lsattr -E -l iscsi0 | grep initiator_name'
  
      aix_ret = salt.modules.cmdmod.run(aix_cmd)
      if aix_ret[0].isalpha():
          try:
              ret.append(aix_ret.split()[1].rstrip())
          except IndexError:
              pass
      return ref _aix_iqn():
      '''
      Return iSCSI IQN from an AIX host.
      '''
      ret = []
  
      aix_cmd = 'lsattr -E -l iscsi0 | grep initiator_name'
  
      aix_ret = salt.modules.cmdmod.run(aix_cmd)
      if aix_ret[0].isalpha():
          try:
              ret.append(aix_ret.split()[1].rstrip())
          except IndexError:
              pass
      return ret
docs: Return iSCSI IQN from an AIX host.