public void addPortToAlreadyAllocatedContext(StoragePort port,StorageHADomain haDomain,StorageSystem.Type arrayType,String switchName){
  String engine=getEngine(port,haDomain,arrayType);
  if (engine != null) {
    _alreadyAllocatedEngines.add(engine);
  }
  String directorType=getDirectorType(arrayType,haDomain);
  if (directorType != null) {
    _alreadyAllocatedDirectorTypes.add(directorType);
  }
  String director=getDirector(port,haDomain);
  if (director != null) {
    _alreadyAllocatedDirectors.add(director);
  }
  String cpu=getCpu(port,haDomain,arrayType);
  if (cpu != null) {
    _alreadyAllocatedCpus.add(cpu);
  }
  if (switchName != null) {
    _alreadyAllocatedSwitches.add(switchName);
  }
}

public void addPortToAlreadyAllocatedContext ( StoragePort port , StorageHADomain haDomain , StorageSystem . Type arrayType , String switchName ) { String engine = getEngine ( port , haDomain , arrayType ) ; if ( engine != null ) { _alreadyAllocatedEngines . add ( engine ) ; } String directorType = getDirectorType ( arrayType , haDomain ) ; if ( directorType != null ) { _alreadyAllocatedDirectorTypes . add ( directorType ) ; } String director = getDirector ( port , haDomain ) ; if ( director != null ) { _alreadyAllocatedDirectors . add ( director ) ; } String cpu = getCpu ( port , haDomain , arrayType ) ; if ( cpu != null ) { _alreadyAllocatedCpus . add ( cpu ) ; } if ( switchName != null ) { _alreadyAllocatedSwitches . add ( switchName ) ; } }
allocates existing ports to the already allocated context ( only ) . these ports may be from different networks and are not necessarily part of the pool of ports we can allocate from .
