use of org.ovirt.engine.core.common.vdscommands.gluster.GlusterVolumeProfileInfoVDSParameters in project ovirt-engine by oVirt.
the class GetGlusterVolumeProfileInfoQuery method executeQueryCommand.
@Override
protected void executeQueryCommand() {
VDSReturnValue returnValue = runVdsCommand(VDSCommandType.GetGlusterVolumeProfileInfo, new GlusterVolumeProfileInfoVDSParameters(getParameters().getClusterId(), getUpServerId(getParameters().getClusterId()), getGlusterVolumeName(getParameters().getVolumeId()), getParameters().isNfs()));
GlusterVolumeProfileInfo profileInfo = (GlusterVolumeProfileInfo) returnValue.getReturnValue();
if (!getParameters().isNfs()) {
populateBrickNames(profileInfo);
}
getQueryReturnValue().setReturnValue(profileInfo);
}
Aggregations