use of com.emc.storageos.vnxe.models.VNXeCommandResult in project coprhd-controller by CoprHD.
the class ApiClientTest method removeLunsFromLunGroup.
// @Test
public void removeLunsFromLunGroup() {
List<String> luns = new ArrayList<String>();
luns.add("sv_1");
VNXeCommandResult result = apiClient.removeLunsFromLunGroup("res_26", luns);
System.out.println(result.getSuccess());
}
use of com.emc.storageos.vnxe.models.VNXeCommandResult in project coprhd-controller by CoprHD.
the class DeleteStorageResourceRequestTest method deleteLun.
@Test
public void deleteLun() {
DeleteStorageResourceRequest req = new DeleteStorageResourceRequest(_client);
VNXeCommandResult response = null;
response = req.deleteLunSync("sv_48", true);
// System.out.println(response.getId());
}
use of com.emc.storageos.vnxe.models.VNXeCommandResult in project coprhd-controller by CoprHD.
the class HostListRequestTest method createHostTest.
@Test
public void createHostTest() {
HostListRequest req = new HostListRequest(_client);
HostCreateParam parm = new HostCreateParam();
parm.setName("test-host-1");
parm.setType(HostTypeEnum.HOSTMANUAL.getValue());
VNXeCommandResult result = req.createHost(parm);
String id = result.getId();
System.out.println(id);
}
Aggregations