use of com.emc.storageos.model.varray.VirtualArrayConnectivityList in project coprhd-controller by CoprHD.
the class VirtualArrayService method getConnectivity.
/**
* Gets information about VirtualArrays that are connected to the passed in VirtualArray that support some kind of protection
*
* @param varray
* @return rest response
*/
private VirtualArrayConnectivityList getConnectivity(VirtualArray varray) {
Set<VirtualArrayConnectivityRestRep> connections = AbstractBlockServiceApiImpl.getVirtualArrayConnectivity(_dbClient, varray.getId());
VirtualArrayConnectivityList connectivityList = new VirtualArrayConnectivityList();
connectivityList.setConnections(new ArrayList<VirtualArrayConnectivityRestRep>());
connectivityList.getConnections().addAll(connections);
return connectivityList;
}
Aggregations