You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/lifecycle/OntapPrimaryDatastoreLifecycle.java
//TODO: Use the return value to decide if we should proceed with pool creation
111
-
112
109
if (isValid) {
113
110
// String volumeName = storagePoolName + "_vol"; //TODO: Figure out a better naming convention
114
111
storageProviderManager.createVolume(storagePoolName, Integer.parseInt((details.get("size")))); // TODO: size should be in bytes, so see if conversion is needed
115
-
// TODO: The volume name should be stored against the StoragePool name/id in the DB
Copy file name to clipboardExpand all lines: plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/provider/StorageProviderManager.java
if (protocol.equalsIgnoreCase(Storage.StoragePoolType.NetworkFilesystem.name())) {// TODO: Cloudstack protocol list is different than ONTAP supported protocols, so figure out the proper mapping
63
+
if (protocol.equalsIgnoreCase(Storage.StoragePoolType.NetworkFilesystem.name())) {
} elseif (protocol.equalsIgnoreCase(Storage.StoragePoolType.Iscsi.name())) {// TODO: Cloudstack protocol list is different than ONTAP supported protocols, so figure out the proper mapping
0 commit comments