use of com.emc.storageos.vnxe.models.HostLunModifyParam in project coprhd-controller by CoprHD.
the class VNXeApiClient method modifyHostLunHlu.
/**
* Modify host lun HLU
*
* @param hostId Host Id
* @param hostLunId HostLun Id
* @param hlu The new hlu value
*/
public void modifyHostLunHlu(String hostId, String hostLunId, int hlu) {
HostRequest req = new HostRequest(_khClient, hostId);
ModifyHostLUNsParam param = new ModifyHostLUNsParam();
HostLunModifyParam hostLunParam = new HostLunModifyParam();
hostLunParam.setHlu(hlu);
VNXeBase hostLun = new VNXeBase(hostLunId);
hostLunParam.setHostLun(hostLun);
List<HostLunModifyParam> parmList = new ArrayList<HostLunModifyParam>();
parmList.add(hostLunParam);
param.setHostLunModifyList(parmList);
req.modifyHostLun(param);
}
Aggregations