use of com.vmware.vim25.HostConfigFault in project coprhd-controller by CoprHD.
the class HostStorageAPI method attachScsiLun.
/**
* Attaches the lun.
*/
public void attachScsiLun(HostScsiDisk disk) {
try {
HostStorageSystem storageSystem = getStorageSystem();
storageSystem.attachScsiLun(disk.getUuid());
} catch (HostConfigFault e) {
throw new VMWareException(e);
} catch (RuntimeFault e) {
throw new VMWareException(e);
} catch (RemoteException e) {
throw new VMWareException(e);
}
}
use of com.vmware.vim25.HostConfigFault in project coprhd-controller by CoprHD.
the class HostStorageAPI method detachScsiLun.
/**
* Detaches the lun.
*/
public void detachScsiLun(HostScsiDisk disk) {
try {
HostStorageSystem storageSystem = getStorageSystem();
storageSystem.detachScsiLun(disk.getUuid());
} catch (HostConfigFault e) {
throw new VMWareException(e);
} catch (RuntimeFault e) {
throw new VMWareException(e);
} catch (RemoteException e) {
throw new VMWareException(e);
}
}
Aggregations