Search in sources :

Example 1 with GlusterVolumeProfileInfoVDSParameters

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);
}
Also used : GlusterVolumeProfileInfoVDSParameters(org.ovirt.engine.core.common.vdscommands.gluster.GlusterVolumeProfileInfoVDSParameters) GlusterVolumeProfileInfo(org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeProfileInfo) VDSReturnValue(org.ovirt.engine.core.common.vdscommands.VDSReturnValue)

Aggregations

GlusterVolumeProfileInfo (org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeProfileInfo)1 VDSReturnValue (org.ovirt.engine.core.common.vdscommands.VDSReturnValue)1 GlusterVolumeProfileInfoVDSParameters (org.ovirt.engine.core.common.vdscommands.gluster.GlusterVolumeProfileInfoVDSParameters)1