use of com.emc.storageos.model.storagesystem.type.StorageSystemTypeRestRep in project coprhd-controller by CoprHD.
the class StorageSystemTypes method getProvidersWithOnlyMDM.
public static List<StringOption> getProvidersWithOnlyMDM() {
String alltypes = "all";
List<StringOption> allproviders = new ArrayList<StringOption>();
StorageSystemTypeList storagetypelist = StorageSystemTypeUtils.getAllStorageSystemTypes(alltypes);
for (StorageSystemTypeRestRep storagetypeRest : storagetypelist.getStorageSystemTypes()) {
if (storagetypeRest.getIsOnlyMDM()) {
allproviders.add(new StringOption(storagetypeRest.getStorageTypeName(), storagetypeRest.getStorageTypeDispName()));
}
}
return allproviders;
}
use of com.emc.storageos.model.storagesystem.type.StorageSystemTypeRestRep in project coprhd-controller by CoprHD.
the class StorageSystems method buildSouthBoundTypeMap.
private static void buildSouthBoundTypeMap() {
nonNativeSystemProviderMap.clear();
Map<String, StorageSystemTypeRestRep> typeMap = StorageSystemTypes.buildTypeMap();
for (StorageSystemTypeRestRep type : typeMap.values()) {
if (type.isNative() || type.getManagedBy() == null) {
continue;
}
nonNativeSystemProviderMap.put(type.getStorageTypeName(), typeMap.get(type.getManagedBy()).getStorageTypeName());
}
}
Aggregations