use of com.emc.storageos.model.storagesystem.type.StorageSystemTypeList in project coprhd-controller by CoprHD.
the class StorageProviderTypes method getProvidersWithMDM.
public static List<StringOption> getProvidersWithMDM() {
List<StringOption> allproviders = new ArrayList<StringOption>();
StorageSystemTypeList storagetypelist = StorageSystemTypeUtils.getAllStorageSystemTypes(ALL_TYPE);
for (StorageSystemTypeRestRep storagetypeRest : storagetypelist.getStorageSystemTypes()) {
if (storagetypeRest.getIsDefaultMDM()) {
allproviders.add(new StringOption(storagetypeRest.getStorageTypeName(), storagetypeRest.getStorageTypeDispName()));
}
}
return allproviders;
}
use of com.emc.storageos.model.storagesystem.type.StorageSystemTypeList in project coprhd-controller by CoprHD.
the class StorageProviderTypes method getProvidersWithoutSSL.
public static List<StringOption> getProvidersWithoutSSL() {
List<StringOption> allproviders = new ArrayList<StringOption>();
StorageSystemTypeList storagetypelist = StorageSystemTypeUtils.getAllStorageSystemTypes(ALL_TYPE);
for (StorageSystemTypeRestRep storagetypeRest : storagetypelist.getStorageSystemTypes()) {
if (!storagetypeRest.getIsDefaultSsl()) {
allproviders.add(new StringOption(storagetypeRest.getStorageTypeName(), storagetypeRest.getStorageTypeDispName()));
}
}
return allproviders;
}
use of com.emc.storageos.model.storagesystem.type.StorageSystemTypeList in project coprhd-controller by CoprHD.
the class StorageProviderTypes method getProvidersWithOnlyMDM.
public static List<StringOption> getProvidersWithOnlyMDM() {
List<StringOption> allproviders = new ArrayList<StringOption>();
StorageSystemTypeList storagetypelist = StorageSystemTypeUtils.getAllStorageSystemTypes(ALL_TYPE);
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.StorageSystemTypeList in project coprhd-controller by CoprHD.
the class StorageProviderTypes method getStoragePortMap.
public static List<EnumOption> getStoragePortMap() {
List<EnumOption> StorageProviderPortMap = new ArrayList<EnumOption>();
StorageSystemTypeList storagetypelist = StorageSystemTypeUtils.getAllStorageSystemTypes(ALL_TYPE);
for (StorageSystemTypeRestRep storagetypeRest : storagetypelist.getStorageSystemTypes()) {
StorageProviderPortMap.add(new EnumOption(storagetypeRest.getStorageTypeName(), storagetypeRest.getNonSslPort()));
StorageProviderPortMap.add(new EnumOption(storagetypeRest.getStorageTypeName() + "_useSSL", storagetypeRest.getSslPort()));
}
return StorageProviderPortMap;
}
use of com.emc.storageos.model.storagesystem.type.StorageSystemTypeList in project coprhd-controller by CoprHD.
the class StorageProviderTypes method getProviderOption.
public static List<StringOption> getProviderOption() {
List<StringOption> allproviders = new ArrayList<StringOption>();
StorageSystemTypeList storagetypelist = StorageSystemTypeUtils.getAllStorageSystemTypes(ALL_TYPE);
for (StorageSystemTypeRestRep storagetypeRest : storagetypelist.getStorageSystemTypes()) {
if (storagetypeRest.getIsSmiProvider()) {
if (!StringUtils.equals(SCALEIO, storagetypeRest.getStorageTypeName())) {
allproviders.add(new StringOption(storagetypeRest.getStorageTypeName(), storagetypeRest.getStorageTypeDispName()));
}
}
}
return allproviders;
}
Aggregations