use of com.emc.storageos.xtremio.restapi.model.response.XtremIOLunMap in project coprhd-controller by CoprHD.
the class XtremIOV1Client method getXtremIOLunMaps.
@Override
public List<XtremIOLunMap> getXtremIOLunMaps(String clusterName) throws Exception {
ClientResponse response = get(XtremIOConstants.XTREMIO_LUNMAPS_URI);
XtremIOLunMapsInfo lunMapLinks = getResponseObject(XtremIOLunMapsInfo.class, response);
log.info("Returned LunMaps Links size : {}", lunMapLinks.getLunMapInfo().length);
List<XtremIOLunMap> lunMapList = getXtremIOLunMapsForLinks(Arrays.asList(lunMapLinks.getLunMapInfo()), clusterName);
return lunMapList;
}
Aggregations