use of com.emc.storageos.xtremio.restapi.model.response.XtremIOLunMapsInfo in project coprhd-controller by CoprHD.
the class XtremIOV1Client method getLunMaps.
@Override
public List<XtremIOObjectInfo> getLunMaps(String clusterName) throws Exception {
ClientResponse response = get(XtremIOConstants.XTREMIO_LUNMAPS_URI);
XtremIOLunMapsInfo lunMapLinks = getResponseObject(XtremIOLunMapsInfo.class, response);
return Arrays.asList(lunMapLinks.getLunMapInfo());
}
use of com.emc.storageos.xtremio.restapi.model.response.XtremIOLunMapsInfo in project coprhd-controller by CoprHD.
the class XtremIOV2Client method getXtremIOLunMapLinks.
@Override
public List<XtremIOObjectInfo> getXtremIOLunMapLinks(String clusterName) throws Exception {
String uriString = XtremIOConstants.XTREMIO_V2_LUNMAPS_STR.concat(XtremIOConstants.getInputClusterString(clusterName));
ClientResponse response = get(URI.create(uriString));
XtremIOLunMapsInfo lunMapLinks = getResponseObject(XtremIOLunMapsInfo.class, response);
return Arrays.asList(lunMapLinks.getLunMapInfo());
}
Aggregations