use of org.ovirt.engine.core.common.vdscommands.CreateVGVDSCommandParameters in project ovirt-engine by oVirt.
the class AddSANStorageDomainCommand method createVG.
private String createVG() {
VDSReturnValue returnValue = runVdsCommand(VDSCommandType.CreateVG, new CreateVGVDSCommandParameters(getVds().getId(), getStorageDomain().getId(), getParameters().getLunIds(), getParameters().isForce()));
String volumeGroupId = (String) ((returnValue.getReturnValue() instanceof String) ? returnValue.getReturnValue() : null);
return volumeGroupId;
}
Aggregations