use of com.emc.sa.service.vipr.file.tasks.DiscoverUnmanagedFilesystems in project coprhd-controller by CoprHD.
the class DiscoverUnmanagedFilesystemsService method execute.
@Override
public void execute() throws Exception {
List<URI> uris = uris(storageSystems);
List<StorageSystemRestRep> systemRestReps = execute(new GetStorageSystems(uris));
for (StorageSystemRestRep storageSystem : systemRestReps) {
logInfo("discover.unmanaged.filesystem.service.discovering", storageSystem.getName());
execute(new DiscoverUnmanagedFilesystems(storageSystem.getId().toString()));
int postCount = countUnmanagedFileSystems(storageSystem.getId().toString());
logInfo("discover.unmanaged.filesystem.service.discovered", postCount, storageSystem.getName());
}
}
Aggregations