Search in sources :

Example 1 with ListMountPointsCommand

use of com.emc.aix.command.ListMountPointsCommand in project coprhd-controller by CoprHD.

the class FindMountPointsForVolumes method executeTask.

@Override
public Void executeTask() throws Exception {
    ListMountPointsCommand command = new ListMountPointsCommand();
    Map<String, MountPoint> results = executeCommand(command, SHORT_TIMEOUT);
    for (VolumeSpec volume : volumes) {
        volume.mountPoint = AixUtils.getMountPoint(hostId, results, volume.viprVolume);
    }
    return null;
}
Also used : ListMountPointsCommand(com.emc.aix.command.ListMountPointsCommand) MountPoint(com.emc.aix.model.MountPoint) VolumeSpec(com.emc.sa.service.aix.UnmountBlockVolumeHelper.VolumeSpec)

Aggregations

ListMountPointsCommand (com.emc.aix.command.ListMountPointsCommand)1 MountPoint (com.emc.aix.model.MountPoint)1 VolumeSpec (com.emc.sa.service.aix.UnmountBlockVolumeHelper.VolumeSpec)1