question: private void validatePortAssignment ( StorageSystem storageSystem , URI varray , BlockStorageScheduler blockScheduler , List < Initiator > initiators , Collection < URI > volumes , URI exportGroupURI , ExportPathParameters exportPathParameters ) { try { ExportPathParams pathParams = blockScheduler . calculateExportPathParamForVolumes ( volumes , 0 , storageSystem . getId ( ) , exportGroupURI ) ; if ( exportPathParameters != null ) { if ( exportPathParameters . getMaxPaths ( ) != null ) { pathParams . setMaxPaths ( exportPathParameters . getMaxPaths ( ) ) ; } if ( exportPathParameters . getMinPaths ( ) != null ) { pathParams . setMinPaths ( exportPathParameters . getMinPaths ( ) ) ; } if ( exportPathParameters . getPathsPerInitiator ( ) != null ) { pathParams . setPathsPerInitiator ( exportPathParameters . getPathsPerInitiator ( ) ) ; } } blockScheduler . assignStoragePorts ( storageSystem , varray , initiators , pathParams , null , volumes ) ; } catch ( ControllerException ex ) { _log . error ( ex . getLocalizedMessage ( ) ) ; throw ( ex ) ; } }
target:  Verifies that StoragePorts can be assigned for a StorageSystem given a set of Initiators. This will verify that the numPaths variable is not too low or too high to allow assignment.