← Back to team overview

openstack team mailing list archive

Re: RFC - dynamically loading virt drivers

 

On 05/17/2012 06:38 PM, Vishvananda Ishaya wrote:
The main issue with changing this is breaking existing installs.

So I guess this would be my strategy:

a) remove get_connection from the drivers (and just have it construct the 'connection' class directly)

I'm starting down this path, but a lot of the drivers do substantial amount of FLAG handling in get_connection before they create the driver objects.

Do you want to move that FLAGS handling into the object constructor, or keep having some factory layer to manipulate the flags before we construct the driver?

	-Sean

--
Sean Dague
IBM Linux Technology Center
email: sdague@xxxxxxxxxxxxxxxxxx
alt-email: sldague@xxxxxxxxxx



References