rp- commented on a change in pull request #4994:
URL: https://github.com/apache/cloudstack/pull/4994#discussion_r626596844



##########
File path: 
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStoragePool.java
##########
@@ -0,0 +1,195 @@
+package com.cloud.hypervisor.kvm.storage;
+
+import java.util.List;
+import java.util.Map;
+
+import com.cloud.storage.Storage;
+import org.apache.cloudstack.utils.qemu.QemuImg;
+
+public class LinstorStoragePool implements KVMStoragePool {
+    private final String _uuid;
+    private final String _sourceHost;
+    private final int _sourcePort;
+    private final Storage.StoragePoolType _storagePoolType;
+    private final StorageAdaptor _storageAdaptor;
+    private final String _resourceGroup;
+
+    public LinstorStoragePool(
+            String uuid,
+            String host,
+            int port,
+            String resourceGroup,
+            Storage.StoragePoolType storagePoolType,
+            StorageAdaptor storageAdaptor) {
+        _uuid = uuid;
+        _sourceHost = host;
+        _sourcePort = port;
+        _storagePoolType = storagePoolType;
+        _storageAdaptor = storageAdaptor;
+        _resourceGroup = resourceGroup;
+    }
+
+    @Override
+    public KVMPhysicalDisk createPhysicalDisk(
+        String name,
+        QemuImg.PhysicalDiskFormat format,
+        Storage.ProvisioningType provisioningType,
+        long size)

Review comment:
       Do you have an exact formatting guideline somewhere?
   I tried to bring them a bit more in line now




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to