Search in sources :

Example 1 with HostInitiatorModifyParam

use of com.emc.storageos.vnxe.models.HostInitiatorModifyParam in project coprhd-controller by CoprHD.

the class VNXeApiClient method setInitiatorHost.

/**
 * Modify initiator's parent host
 *
 * @param initiatorId initiator Id
 * @param hostId host Id
 */
public void setInitiatorHost(String initiatorId, String hostId) {
    HostInitiatorModifyParam initModifyParam = new HostInitiatorModifyParam();
    VNXeBase host = new VNXeBase(hostId);
    initModifyParam.setHost(host);
    HostInitiatorRequest req = new HostInitiatorRequest(_khClient);
    req.modifyHostInitiator(initModifyParam, initiatorId);
}
Also used : VNXeBase(com.emc.storageos.vnxe.models.VNXeBase) HostInitiatorModifyParam(com.emc.storageos.vnxe.models.HostInitiatorModifyParam) DeleteHostInitiatorRequest(com.emc.storageos.vnxe.requests.DeleteHostInitiatorRequest) HostInitiatorRequest(com.emc.storageos.vnxe.requests.HostInitiatorRequest)

Aggregations

HostInitiatorModifyParam (com.emc.storageos.vnxe.models.HostInitiatorModifyParam)1 VNXeBase (com.emc.storageos.vnxe.models.VNXeBase)1 DeleteHostInitiatorRequest (com.emc.storageos.vnxe.requests.DeleteHostInitiatorRequest)1 HostInitiatorRequest (com.emc.storageos.vnxe.requests.HostInitiatorRequest)1