This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Dynamic Storage Adaptor for KVM
Skip to end of metadata
Go to start of metadata

Bug Reference



KVM storage adaptors (the agent-side code for a storage plugin) should be detected at runtime, rather than relying on source code modifications to add new adaptors. 

Architecture and Design description

A new annotation "StorageAdaptorInfo" will allow the storage developer to identify a new StorageAdaptor implementation. Then the jar can just be placed in the classpath and we can find it via reflection. The StorageAdaptorInfo annotation can house the properties required for the adaptor:


@StorageAdaptorInfo( storagePoolType=StoragePoolType.XYZ )
public class MyStorageAdaptor implements StorageAdaptor {





separate feature that would be useful to this feature would be if the storage plugin architecutre allowed for dynamically registering a StoragePoolType.