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
+3-22Lines changed: 3 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,6 @@ public DataStore initialize(Map<String, Object> dsInfos) {
86
86
if (dsInfos == null) {
87
87
thrownewCloudRuntimeException("Datastore info map is null, cannot create primary storage");
88
88
}
89
-
Stringurl = (String) dsInfos.get("url");
90
89
LongzoneId = (Long) dsInfos.get("zoneId");
91
90
LongpodId = (Long) dsInfos.get("podId");
92
91
LongclusterId = (Long) dsInfos.get("clusterId");
@@ -156,23 +155,9 @@ public DataStore initialize(Map<String, Object> dsInfos) {
156
155
Constants.PASSWORD,
157
156
Constants.SVM_NAME,
158
157
Constants.PROTOCOL,
159
-
Constants.MANAGEMENT_LIF,
160
-
Constants.IS_DISAGGREGATED
158
+
Constants.STORAGE_IP
161
159
);
162
160
163
-
// Parse key=value pairs from URL into details (skip empty segments)
164
-
if (url != null && !url.isEmpty()) {
165
-
for (Stringsegment : url.split(Constants.SEMICOLON)) {
Copy file name to clipboardExpand all lines: plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/provider/OntapPrimaryDatastoreProvider.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ public HypervisorHostListener getHostListener() {
Copy file name to clipboardExpand all lines: plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/provider/StorageProviderFactory.java
+8-14Lines changed: 8 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -38,21 +38,15 @@ public static StorageStrategy getStrategy(OntapStorage ontapStorage) {
38
38
s_logger.info("Initializing StorageProviderFactory with protocol: " + protocol);
Copy file name to clipboardExpand all lines: plugins/storage/volume/ontap/src/test/java/org/apache/cloudstack/storage/lifecycle/OntapPrimaryDatastoreLifecycleTest.java
0 commit comments