public void buildUniqueId() throws VPlexApiException {
  String name=getName();
  if (!name.contains(VPLEX_NAME_DELIM)) {
    s_logger.warn("unexpected native guid format: " + name);
    uniqueId=name;
    return;
  }
  int lastDelimIndex=name.lastIndexOf(VPLEX_NAME_DELIM);
  String suffix=name.substring(lastDelimIndex + 1);
  s_logger.info("setting unique id for {} to {}",name,suffix);
  uniqueId=suffix;
}

public void buildUniqueId ( ) throws VPlexApiException { String name = getName ( ) ; if ( ! name . contains ( VPLEX_NAME_DELIM ) ) { s_logger . warn ( "unexpected native guid format: " + name ) ; uniqueId = name ; return ; } int lastDelimIndex = name . lastIndexOf ( VPLEX_NAME_DELIM ) ; String suffix = name . substring ( lastDelimIndex + 1 ) ; s_logger . info ( "setting unique id for {} to {}" , name , suffix ) ; uniqueId = suffix ; }
creates a unique id for the storage system based on the vplex system name . if the serial number can be determined ( the information after the last " - " character ) , it will be used . otherwise , the whole nativeid from the vplex will be used .
