public List<LunInfo> listLuns(String lunPath){
  if (log.isDebugEnabled()) {
    log.debug("List LUNs.");
  }
  boolean listAll=false;
  if (lunPath == null || lunPath.isEmpty()) {
    listAll=true;
  }
  Lun lun=new Lun(server.getNaServer(),lunPath);
  return lun.listLUNs(listAll);
}

public List < LunInfo > listLuns ( String lunPath ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "List LUNs." ) ; } boolean listAll = false ; if ( lunPath == null || lunPath . isEmpty ( ) ) { listAll = true ; } Lun lun = new Lun ( server . getNaServer ( ) , lunPath ) ; return lun . listLUNs ( listAll ) ; }
list all luns on the device . if a lun path is specified , only the specified lun is returned
