Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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. 

Architecture and Design description

...

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 {

    ...

}

 

Notes

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