diff --git a/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/driver/ScaleIOPrimaryDataStoreDriver.java b/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/driver/ScaleIOPrimaryDataStoreDriver.java index f7128876d7d..60bad6683a4 100644 --- a/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/driver/ScaleIOPrimaryDataStoreDriver.java +++ b/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/driver/ScaleIOPrimaryDataStoreDriver.java @@ -39,6 +39,7 @@ import org.apache.cloudstack.engine.subsystem.api.storage.VolumeInfo; import org.apache.cloudstack.engine.subsystem.api.storage.VolumeService; import org.apache.cloudstack.framework.async.AsyncCompletionCallback; import org.apache.cloudstack.framework.config.ConfigKey; +import org.apache.cloudstack.framework.config.Configurable; import org.apache.cloudstack.framework.config.dao.ConfigurationDao; import org.apache.cloudstack.resourcedetail.DiskOfferingDetailVO; import org.apache.cloudstack.resourcedetail.dao.DiskOfferingDetailsDao; @@ -109,7 +110,7 @@ import com.cloud.vm.VirtualMachineManager; import com.cloud.vm.dao.VMInstanceDao; import com.google.common.base.Preconditions; -public class ScaleIOPrimaryDataStoreDriver implements PrimaryDataStoreDriver { +public class ScaleIOPrimaryDataStoreDriver implements PrimaryDataStoreDriver, Configurable { private static final Logger LOGGER = Logger.getLogger(ScaleIOPrimaryDataStoreDriver.class); static ConfigKey ConnectOnDemand = new ConfigKey<>("Storage", @@ -1519,4 +1520,14 @@ public class ScaleIOPrimaryDataStoreDriver implements PrimaryDataStoreDriver { public boolean zoneWideVolumesAvailableWithoutClusterMotion() { return true; } + + @Override + public String getConfigComponentName() { + return ScaleIOPrimaryDataStoreDriver.class.getSimpleName(); + } + + @Override + public ConfigKey[] getConfigKeys() { + return new ConfigKey[]{ConnectOnDemand}; + } }