...
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. Aseparate feature that would be useful to this would be if the storage plugin on the mgmt server could dynamically register a StoragePoolType.
...
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 {
...
}
A separate feature that would be useful to this feature would be if the storage plugin architecutre allowed for dynamically registering a StoragePoolType.