cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laszlo Hornyak <>
Subject Re: HypervisorType - possible feature idea
Date Thu, 24 Apr 2014 21:17:44 GMT
Hi Sam,

I think it would take a big lot of work but the direction is nice.
A lot of classes would have to be modified to be plugable, and possibly the
Hypervisor interface would grow big to support all these cases.

There are 1097 references to HypervisorType according to eclipse.

On Thu, Apr 24, 2014 at 10:57 PM, Sam Schmit <> wrote:

> Hello everyone,
> I've recently started working with Cloudstack, and was going through the
> codebase and had a question about a possible feature for future versions -
> making the HypervisorType more dynamic.  Right now, it seems there are
> several places where specific types are referenced.  I would like to make
> it more dynamic - have hypervisors be a pluggable type so that any
> hypervisor can be added using the Cloudstack plugin architecture.
> I've taken a look at the existing code, and it seems as though the enum is
> used not just by the hypervisor's "discoverer" class, but also by other
> classes/methods to say which hypervisors they work with or are looking for.
> Is there a reason it's done this way, instead of generating a dynamic list
> of hypervisors that are supported at run-time?  Have there been attempts to
> make this change in the past?  Has anyone begun work on this feature
> already?  Anyone have thoughts on where the easy/difficult areas for such
> an undertaking would reside?
> Thanks for any thoughts on this, and I look forward to working with
> everyone in the near future.
> Sam Schmit



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message